Amazon Simple Workflow Service · Schema
RequestCancelActivityTaskFailedEventAttributes
Provides the details of the RequestCancelActivityTaskFailed event.
AutomationTask CoordinationWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| activityId | object | |
| cause | object | |
| decisionTaskCompletedEventId | object |
JSON Schema
{
"type": "object",
"required": [
"activityId",
"cause",
"decisionTaskCompletedEventId"
],
"properties": {
"activityId": {
"allOf": [
{
"$ref": "#/components/schemas/ActivityId"
},
{
"description": "The activityId provided in the <code>RequestCancelActivityTask</code> decision that failed."
}
]
},
"cause": {
"allOf": [
{
"$ref": "#/components/schemas/RequestCancelActivityTaskFailedCause"
},
{
"description": "<p>The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.</p> <note> <p>If <code>cause</code> is set to <code>OPERATION_NOT_PERMITTED</code>, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see <a href=\"https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html\">Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p> </note>"
}
]
},
"decisionTaskCompletedEventId": {
"allOf": [
{
"$ref": "#/components/schemas/EventId"
},
{
"description": "The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>RequestCancelActivityTask</code> decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event."
}
]
}
},
"description": "Provides the details of the <code>RequestCancelActivityTaskFailed</code> event.",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "RequestCancelActivityTaskFailedEventAttributes"
}