amazonka-swf-2.0: Amazon Simple Workflow Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Description

 
Synopsis

Documentation

data WorkflowExecutionCancelRequestedEventAttributes Source #

Provides the details of the WorkflowExecutionCancelRequested event.

See: newWorkflowExecutionCancelRequestedEventAttributes smart constructor.

Constructors

WorkflowExecutionCancelRequestedEventAttributes' 

Fields

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

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

  • externalWorkflowExecution :: Maybe WorkflowExecution

    The external workflow execution for which the cancellation was requested.

Instances

Instances details
FromJSON WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Generic 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

NFData WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Eq WorkflowExecutionCancelRequestedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes

Hashable 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" "amazonka-swf-2.0-DdTBZQl9wbxDbv1sov8BbM" 'False) (C1 ('MetaCons "WorkflowExecutionCancelRequestedEventAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowExecutionCancelRequestedCause)) :*: (S1 ('MetaSel ('Just "externalInitiatedEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "externalWorkflowExecution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowExecution)))))

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

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

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.

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.