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

Description

 
Synopsis

Documentation

data WorkflowExecutionFailedEventAttributes Source #

Provides the details of the WorkflowExecutionFailed event.

See: newWorkflowExecutionFailedEventAttributes smart constructor.

Constructors

WorkflowExecutionFailedEventAttributes' 

Fields

  • reason :: Maybe Text

    The descriptive reason provided for the failure.

  • details :: Maybe Text

    The details of the failure.

  • decisionTaskCompletedEventId :: Integer

    The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail 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 WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

Read WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

Show WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

Generic WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

NFData WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

Hashable WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

FromJSON WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

type Rep WorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes

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

newWorkflowExecutionFailedEventAttributes Source #

Create a value of WorkflowExecutionFailedEventAttributes 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:reason:WorkflowExecutionFailedEventAttributes', workflowExecutionFailedEventAttributes_reason - The descriptive reason provided for the failure.

$sel:details:WorkflowExecutionFailedEventAttributes', workflowExecutionFailedEventAttributes_details - The details of the failure.

$sel:decisionTaskCompletedEventId:WorkflowExecutionFailedEventAttributes', workflowExecutionFailedEventAttributes_decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflowExecutionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' WorkflowExecutionFailedEventAttributes Integer Source #

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