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

Description

 
Synopsis

Documentation

data SignalExternalWorkflowExecutionFailedEventAttributes Source #

Provides the details of the SignalExternalWorkflowExecutionFailed event.

See: newSignalExternalWorkflowExecutionFailedEventAttributes smart constructor.

Constructors

SignalExternalWorkflowExecutionFailedEventAttributes' 

Fields

  • control :: Maybe Text

    The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

  • runId :: Maybe Text

    The runId of the external workflow execution that the signal was being delivered to.

  • workflowId :: Text

    The workflowId of the external workflow execution that the signal was being delivered to.

  • cause :: SignalExternalWorkflowExecutionFailedCause

    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.

  • initiatedEventId :: Integer

    The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

  • decisionTaskCompletedEventId :: Integer

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

Instances

Instances details
Eq SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

Read SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

Show SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

Generic SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

NFData SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

Hashable SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

FromJSON SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

type Rep SignalExternalWorkflowExecutionFailedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes

type Rep SignalExternalWorkflowExecutionFailedEventAttributes = D1 ('MetaData "SignalExternalWorkflowExecutionFailedEventAttributes" "Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "SignalExternalWorkflowExecutionFailedEventAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "control") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "runId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workflowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SignalExternalWorkflowExecutionFailedCause) :*: (S1 ('MetaSel ('Just "initiatedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "decisionTaskCompletedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))))

newSignalExternalWorkflowExecutionFailedEventAttributes Source #

Create a value of SignalExternalWorkflowExecutionFailedEventAttributes 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:control:SignalExternalWorkflowExecutionFailedEventAttributes', signalExternalWorkflowExecutionFailedEventAttributes_control - The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

$sel:runId:SignalExternalWorkflowExecutionFailedEventAttributes', signalExternalWorkflowExecutionFailedEventAttributes_runId - The runId of the external workflow execution that the signal was being delivered to.

$sel:workflowId:SignalExternalWorkflowExecutionFailedEventAttributes', signalExternalWorkflowExecutionFailedEventAttributes_workflowId - The workflowId of the external workflow execution that the signal was being delivered to.

$sel:cause:SignalExternalWorkflowExecutionFailedEventAttributes', signalExternalWorkflowExecutionFailedEventAttributes_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:initiatedEventId:SignalExternalWorkflowExecutionFailedEventAttributes', signalExternalWorkflowExecutionFailedEventAttributes_initiatedEventId - The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

signalExternalWorkflowExecutionFailedEventAttributes_control :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source #

The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

signalExternalWorkflowExecutionFailedEventAttributes_runId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Maybe Text) Source #

The runId of the external workflow execution that the signal was being delivered to.

signalExternalWorkflowExecutionFailedEventAttributes_workflowId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Text Source #

The workflowId of the external workflow execution that the signal was being delivered to.

signalExternalWorkflowExecutionFailedEventAttributes_cause :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes SignalExternalWorkflowExecutionFailedCause 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.

signalExternalWorkflowExecutionFailedEventAttributes_initiatedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer Source #

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

signalExternalWorkflowExecutionFailedEventAttributes_decisionTaskCompletedEventId :: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Integer Source #

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