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

Description

 
Synopsis

Documentation

data RecordMarkerFailedEventAttributes Source #

Provides the details of the RecordMarkerFailed event.

See: newRecordMarkerFailedEventAttributes smart constructor.

Constructors

RecordMarkerFailedEventAttributes' 

Fields

  • markerName :: Text

    The marker's name.

  • cause :: RecordMarkerFailedCause

    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 RecordMarkerFailed 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 RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

Read RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

Show RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

Generic RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

Associated Types

type Rep RecordMarkerFailedEventAttributes :: Type -> Type #

NFData RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

Hashable RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

FromJSON RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

type Rep RecordMarkerFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.RecordMarkerFailedEventAttributes

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

newRecordMarkerFailedEventAttributes Source #

Create a value of RecordMarkerFailedEventAttributes 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:markerName:RecordMarkerFailedEventAttributes', recordMarkerFailedEventAttributes_markerName - The marker's name.

$sel:cause:RecordMarkerFailedEventAttributes', recordMarkerFailedEventAttributes_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:RecordMarkerFailedEventAttributes', recordMarkerFailedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarkerFailed 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.

recordMarkerFailedEventAttributes_cause :: Lens' RecordMarkerFailedEventAttributes RecordMarkerFailedCause 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.

recordMarkerFailedEventAttributes_decisionTaskCompletedEventId :: Lens' RecordMarkerFailedEventAttributes Integer Source #

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