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

Description

 
Synopsis

Documentation

data ContinueAsNewWorkflowExecutionFailedEventAttributes Source #

Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

See: newContinueAsNewWorkflowExecutionFailedEventAttributes smart constructor.

Constructors

ContinueAsNewWorkflowExecutionFailedEventAttributes' 

Fields

  • cause :: ContinueAsNewWorkflowExecutionFailedCause

    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 ContinueAsNewWorkflowExecution decision that started 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 ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

Read ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

Show ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

Generic ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

NFData ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

Hashable ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

FromJSON ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

type Rep ContinueAsNewWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes

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

newContinueAsNewWorkflowExecutionFailedEventAttributes Source #

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

continueAsNewWorkflowExecutionFailedEventAttributes_cause :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes ContinueAsNewWorkflowExecutionFailedCause 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.

continueAsNewWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' ContinueAsNewWorkflowExecutionFailedEventAttributes Integer Source #

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