:doc:`Transfer <../../transfer>` / Client / send_workflow_step_state

************************
send_workflow_step_state
************************



.. py:method:: Transfer.Client.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 <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SendWorkflowStepState>`_  


  **Request Syntax**
  ::

    response = client.send_workflow_step_state(
        WorkflowId='string',
        ExecutionId='string',
        Token='string',
        Status='SUCCESS'|'FAILURE'
    )
    
  :type WorkflowId: string
  :param WorkflowId: **[REQUIRED]** 

    A unique identifier for the workflow.

    

  
  :type ExecutionId: string
  :param ExecutionId: **[REQUIRED]** 

    A unique identifier for the execution of a workflow.

    

  
  :type Token: string
  :param Token: **[REQUIRED]** 

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

    

  
  :type Status: string
  :param Status: **[REQUIRED]** 

    Indicates whether the specified step succeeded or failed.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Transfer.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Transfer.Client.exceptions.AccessDeniedException`

  