{
"type": "object",
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-structure/amazon-step-functions-send-task-failure-input-structure.json",
"name": "SendTaskFailureInput",
"description": "SendTaskFailureInput schema from Amazon Step Functions API",
"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"
]
}