Used by activity workers and task states using the
callback
pattern to report that the task identified by the taskToken
completed
successfully.
sfn_send_task_success(taskToken, output)
[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.
[required] The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
An empty list.
svc$send_task_success( taskToken = "string", output = "string" )