{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-schema/amazon-step-functions-send-task-failure-input-schema.json", "title": "SendTaskFailureInput", "description": "SendTaskFailureInput schema from Amazon Step Functions API", "type": "object", "properties": { "taskToken": { "allOf": [ { "$ref": "#/components/schemas/TaskToken" }, { "description": "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." } ] }, "error": { "allOf": [ { "$ref": "#/components/schemas/SensitiveError" }, { "description": "The error code of the failure." } ] }, "cause": { "allOf": [ { "$ref": "#/components/schemas/SensitiveCause" }, { "description": "A more detailed explanation of the cause of the failure." } ] } }, "required": [ "taskToken" ] }