CmdID / aws / aws stepfunctions
aws stepfunctions send-task-failure
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 failed. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--causeA more detailed explanation of the cause of the failure.--errorThe error code of the failure.--task-tokenThe token that represents this task.