send_workflow_step_state

send_workflow_step_state(**kwargs)

Sends a callback for asynchronous custom steps.

The ExecutionId , WorkflowId , and Token are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status.

See also: AWS API Documentation

Request Syntax

response = client.send_workflow_step_state(
    WorkflowId='string',
    ExecutionId='string',
    Token='string',
    Status='SUCCESS'|'FAILURE'
)
Parameters
  • WorkflowId (string) --

    [REQUIRED]

    A unique identifier for the workflow.

  • ExecutionId (string) --

    [REQUIRED]

    A unique identifier for the execution of a workflow.

  • Token (string) --

    [REQUIRED]

    Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.

  • Status (string) --

    [REQUIRED]

    Indicates whether the specified step succeeded or failed.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Transfer.Client.exceptions.AccessDeniedException
  • Transfer.Client.exceptions.ServiceUnavailableException
  • Transfer.Client.exceptions.InternalServiceError
  • Transfer.Client.exceptions.InvalidRequestException
  • Transfer.Client.exceptions.ResourceNotFoundException
  • Transfer.Client.exceptions.ThrottlingException