Amazon Step Functions · Schema
SendTaskFailureInput
SendTaskFailureInput schema from Amazon Step Functions API
OrchestrationServerlessState MachineWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| taskToken | object | |
| error | object | |
| cause | object |
JSON Schema
{
"$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 <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>."
}
]
},
"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"
]
}