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

Description

 
Synopsis

Documentation

data WorkflowExecutionCancelRequestedEventAttributes Source #

Provides the details of the WorkflowExecutionCancelRequested event.

See: newWorkflowExecutionCancelRequestedEventAttributes smart constructor.

Constructors

WorkflowExecutionCancelRequestedEventAttributes' 

Fields

  • externalWorkflowExecution :: Maybe WorkflowExecution

    The external workflow execution for which the cancellation was requested.

  • externalInitiatedEventId :: Maybe Integer

    The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

  • cause :: Maybe WorkflowExecutionCancelRequestedCause

    If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

Instances

Instances details
Eq WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Read WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Show WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Generic WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

NFData WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Hashable WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

FromJSON WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

type Rep WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

type Rep WorkflowExecutionCancelRequestedEventAttributes = D1 ('MetaData "WorkflowExecutionCancelRequestedEventAttributes" "Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "WorkflowExecutionCancelRequestedEventAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "externalWorkflowExecution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowExecution)) :*: (S1 ('MetaSel ('Just "externalInitiatedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowExecutionCancelRequestedCause)))))

newWorkflowExecutionCancelRequestedEventAttributes :: WorkflowExecutionCancelRequestedEventAttributes Source #

Create a value of WorkflowExecutionCancelRequestedEventAttributes 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:externalWorkflowExecution:WorkflowExecutionCancelRequestedEventAttributes', workflowExecutionCancelRequestedEventAttributes_externalWorkflowExecution - The external workflow execution for which the cancellation was requested.

$sel:externalInitiatedEventId:WorkflowExecutionCancelRequestedEventAttributes', workflowExecutionCancelRequestedEventAttributes_externalInitiatedEventId - The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

$sel:cause:WorkflowExecutionCancelRequestedEventAttributes', workflowExecutionCancelRequestedEventAttributes_cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

workflowExecutionCancelRequestedEventAttributes_externalInitiatedEventId :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe Integer) Source #

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

workflowExecutionCancelRequestedEventAttributes_cause :: Lens' WorkflowExecutionCancelRequestedEventAttributes (Maybe WorkflowExecutionCancelRequestedCause) Source #

If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.