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

Description

 
Synopsis

Documentation

data CompleteWorkflowExecutionFailedEventAttributes Source #

Provides the details of the CompleteWorkflowExecutionFailed event.

See: newCompleteWorkflowExecutionFailedEventAttributes smart constructor.

Constructors

CompleteWorkflowExecutionFailedEventAttributes' 

Fields

  • cause :: CompleteWorkflowExecutionFailedCause

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

Instances

Instances details
Eq CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

Read CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

Show CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

Generic CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

NFData CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

Hashable CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

FromJSON CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

type Rep CompleteWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes

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

newCompleteWorkflowExecutionFailedEventAttributes Source #

Create a value of CompleteWorkflowExecutionFailedEventAttributes 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:cause:CompleteWorkflowExecutionFailedEventAttributes', completeWorkflowExecutionFailedEventAttributes_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:CompleteWorkflowExecutionFailedEventAttributes', completeWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

completeWorkflowExecutionFailedEventAttributes_cause :: Lens' CompleteWorkflowExecutionFailedEventAttributes CompleteWorkflowExecutionFailedCause 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.

completeWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' CompleteWorkflowExecutionFailedEventAttributes Integer Source #

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