v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1426173136.4 KB

Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a> pattern to report that the task identified by the <code>taskToken</code> completed successfully.

post/#X-Amz-Target=AWSStepFunctions.SendTaskSuccess

Headers

X-Amz-Target'AWSStepFunctions.SendTaskSuccess' required

Request body

taskTokenstring required

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html">context object</a> when a workflow enters a task state. See <a>GetActivityTaskOutput$taskToken</a>.

outputstring password required

The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

Response

Success

SendTaskSuccessOutput required