libZSservicesZSamazonka-swfZSamazonka-swf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

Description

 
Synopsis

Documentation

data RequestCancelActivityTaskFailedEventAttributes Source #

Provides the details of the RequestCancelActivityTaskFailed event.

See: newRequestCancelActivityTaskFailedEventAttributes smart constructor.

Constructors

RequestCancelActivityTaskFailedEventAttributes' 

Fields

  • activityId :: Text

    The activityId provided in the RequestCancelActivityTask decision that failed.

  • cause :: RequestCancelActivityTaskFailedCause

    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.

  • decisionTaskCompletedEventId :: Integer

    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.

Instances

Instances details
Eq RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

Read RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

Show RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

Generic RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

NFData RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

Hashable RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

FromJSON RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

type Rep RequestCancelActivityTaskFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes

type Rep RequestCancelActivityTaskFailedEventAttributes = D1 ('MetaData "RequestCancelActivityTaskFailedEventAttributes" "Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "RequestCancelActivityTaskFailedEventAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "activityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestCancelActivityTaskFailedCause) :*: S1 ('MetaSel ('Just "decisionTaskCompletedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newRequestCancelActivityTaskFailedEventAttributes Source #

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.