| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes
Description
Synopsis
- data RequestCancelActivityTaskFailedEventAttributes = RequestCancelActivityTaskFailedEventAttributes' {}
- newRequestCancelActivityTaskFailedEventAttributes :: Text -> RequestCancelActivityTaskFailedCause -> Integer -> RequestCancelActivityTaskFailedEventAttributes
- requestCancelActivityTaskFailedEventAttributes_activityId :: Lens' RequestCancelActivityTaskFailedEventAttributes Text
- requestCancelActivityTaskFailedEventAttributes_cause :: Lens' RequestCancelActivityTaskFailedEventAttributes RequestCancelActivityTaskFailedCause
- requestCancelActivityTaskFailedEventAttributes_decisionTaskCompletedEventId :: Lens' RequestCancelActivityTaskFailedEventAttributes Integer
Documentation
data RequestCancelActivityTaskFailedEventAttributes Source #
Provides the details of the RequestCancelActivityTaskFailed event.
See: newRequestCancelActivityTaskFailedEventAttributes smart constructor.
Constructors
| RequestCancelActivityTaskFailedEventAttributes' | |
Fields
| |
Instances
newRequestCancelActivityTaskFailedEventAttributes Source #
Arguments
Create a value of RequestCancelActivityTaskFailedEventAttributes with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activityId:RequestCancelActivityTaskFailedEventAttributes', requestCancelActivityTaskFailedEventAttributes_activityId - The activityId provided in the RequestCancelActivityTask decision that
failed.
$sel:cause:RequestCancelActivityTaskFailedEventAttributes', requestCancelActivityTaskFailedEventAttributes_cause - The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes.
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.
$sel:decisionTaskCompletedEventId:RequestCancelActivityTaskFailedEventAttributes', requestCancelActivityTaskFailedEventAttributes_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.
requestCancelActivityTaskFailedEventAttributes_activityId :: Lens' RequestCancelActivityTaskFailedEventAttributes Text Source #
The activityId provided in the RequestCancelActivityTask decision that
failed.
requestCancelActivityTaskFailedEventAttributes_cause :: Lens' RequestCancelActivityTaskFailedEventAttributes RequestCancelActivityTaskFailedCause Source #
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
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.
requestCancelActivityTaskFailedEventAttributes_decisionTaskCompletedEventId :: Lens' RequestCancelActivityTaskFailedEventAttributes Integer Source #
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.