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

Description

 
Synopsis

Documentation

data StartTimerFailedEventAttributes Source #

Provides the details of the StartTimerFailed event.

See: newStartTimerFailedEventAttributes smart constructor.

Constructors

StartTimerFailedEventAttributes' 

Fields

  • timerId :: Text

    The timerId provided in the StartTimer decision that failed.

  • cause :: StartTimerFailedCause

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

Instances

Instances details
Eq StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

Read StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

Show StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

Generic StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

Associated Types

type Rep StartTimerFailedEventAttributes :: Type -> Type #

NFData StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

Hashable StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

FromJSON StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

type Rep StartTimerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.StartTimerFailedEventAttributes

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

newStartTimerFailedEventAttributes Source #

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

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

startTimerFailedEventAttributes_timerId :: Lens' StartTimerFailedEventAttributes Text Source #

The timerId provided in the StartTimer decision that failed.

startTimerFailedEventAttributes_cause :: Lens' StartTimerFailedEventAttributes StartTimerFailedCause 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.

startTimerFailedEventAttributes_decisionTaskCompletedEventId :: Lens' StartTimerFailedEventAttributes Integer Source #

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