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

Description

 
Synopsis

Documentation

data WorkflowExecutionTerminatedEventAttributes Source #

Provides the details of the WorkflowExecutionTerminated event.

See: newWorkflowExecutionTerminatedEventAttributes smart constructor.

Constructors

WorkflowExecutionTerminatedEventAttributes' 

Fields

  • cause :: Maybe WorkflowExecutionTerminatedCause

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

  • reason :: Maybe Text

    The reason provided for the termination.

  • details :: Maybe Text

    The details provided for the termination.

  • childPolicy :: ChildPolicy

    The policy used for the child workflow executions of this workflow execution.

    The supported child policies are:

    • TERMINATE – The child executions are terminated.
    • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
    • ABANDON – No action is taken. The child executions continue to run.

Instances

Instances details
Eq WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

Read WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

Show WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

Generic WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

NFData WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

Hashable WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

FromJSON WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

type Rep WorkflowExecutionTerminatedEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes

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

newWorkflowExecutionTerminatedEventAttributes Source #

Create a value of WorkflowExecutionTerminatedEventAttributes 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:WorkflowExecutionTerminatedEventAttributes', workflowExecutionTerminatedEventAttributes_cause - If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.

$sel:reason:WorkflowExecutionTerminatedEventAttributes', workflowExecutionTerminatedEventAttributes_reason - The reason provided for the termination.

$sel:details:WorkflowExecutionTerminatedEventAttributes', workflowExecutionTerminatedEventAttributes_details - The details provided for the termination.

$sel:childPolicy:WorkflowExecutionTerminatedEventAttributes', workflowExecutionTerminatedEventAttributes_childPolicy - The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

  • TERMINATE – The child executions are terminated.
  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
  • ABANDON – No action is taken. The child executions continue to run.

workflowExecutionTerminatedEventAttributes_cause :: Lens' WorkflowExecutionTerminatedEventAttributes (Maybe WorkflowExecutionTerminatedCause) Source #

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

workflowExecutionTerminatedEventAttributes_childPolicy :: Lens' WorkflowExecutionTerminatedEventAttributes ChildPolicy Source #

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

  • TERMINATE – The child executions are terminated.
  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
  • ABANDON – No action is taken. The child executions continue to run.