SFN / Client / send_task_success
send_task_success#
- SFN.Client.send_task_success(**kwargs)#
Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the
taskToken
completed successfully.See also: AWS API Documentation
Request Syntax
response = client.send_task_success( taskToken='string', output='string' )
- Parameters:
taskToken (string) –
[REQUIRED]
The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
output (string) –
[REQUIRED]
The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions