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

Description

 
Synopsis

Documentation

data CancelWorkflowExecutionFailedEventAttributes Source #

Provides the details of the CancelWorkflowExecutionFailed event.

See: newCancelWorkflowExecutionFailedEventAttributes smart constructor.

Constructors

CancelWorkflowExecutionFailedEventAttributes' 

Fields

  • cause :: CancelWorkflowExecutionFailedCause

    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 CancelWorkflowExecution 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 CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

Read CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

Show CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

Generic CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

NFData CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

Hashable CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

FromJSON CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

type Rep CancelWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes

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

newCancelWorkflowExecutionFailedEventAttributes Source #

Create a value of CancelWorkflowExecutionFailedEventAttributes 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:CancelWorkflowExecutionFailedEventAttributes', cancelWorkflowExecutionFailedEventAttributes_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:CancelWorkflowExecutionFailedEventAttributes', cancelWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution 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.

cancelWorkflowExecutionFailedEventAttributes_cause :: Lens' CancelWorkflowExecutionFailedEventAttributes CancelWorkflowExecutionFailedCause 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.

cancelWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' CancelWorkflowExecutionFailedEventAttributes Integer Source #

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