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.CancelTimerFailedEventAttributes

Description

 
Synopsis

Documentation

data CancelTimerFailedEventAttributes Source #

Provides the details of the CancelTimerFailed event.

See: newCancelTimerFailedEventAttributes smart constructor.

Constructors

CancelTimerFailedEventAttributes' 

Fields

  • timerId :: Text

    The timerId provided in the CancelTimer decision that failed.

  • cause :: CancelTimerFailedCause

    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 CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Instances

Instances details
Eq CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

Read CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

Show CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

Generic CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

Associated Types

type Rep CancelTimerFailedEventAttributes :: Type -> Type #

NFData CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

Hashable CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

FromJSON CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

type Rep CancelTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelTimerFailedEventAttributes

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

newCancelTimerFailedEventAttributes Source #

Create a value of CancelTimerFailedEventAttributes 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:timerId:CancelTimerFailedEventAttributes', cancelTimerFailedEventAttributes_timerId - The timerId provided in the CancelTimer decision that failed.

$sel:cause:CancelTimerFailedEventAttributes', cancelTimerFailedEventAttributes_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:CancelTimerFailedEventAttributes', cancelTimerFailedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

cancelTimerFailedEventAttributes_timerId :: Lens' CancelTimerFailedEventAttributes Text Source #

The timerId provided in the CancelTimer decision that failed.

cancelTimerFailedEventAttributes_cause :: Lens' CancelTimerFailedEventAttributes CancelTimerFailedCause 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.

cancelTimerFailedEventAttributes_decisionTaskCompletedEventId :: Lens' CancelTimerFailedEventAttributes Integer Source #

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.