RequestCancelActivityTaskFailedEventAttributes - Amazon Simple Workflow Service

RequestCancelActivityTaskFailedEventAttributes

Provides the details of the RequestCancelActivityTaskFailed event.

Contents

activityId

The activityId provided in the RequestCancelActivityTask decision that failed.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

cause

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

Note

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

Type: String

Valid Values: ACTIVITY_ID_UNKNOWN | OPERATION_NOT_PERMITTED

Required: Yes

decisionTaskCompletedEventId

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask 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.

Type: Long

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: