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

Description

 
Synopsis

Documentation

data WorkflowExecutionTimedOutEventAttributes Source #

Provides the details of the WorkflowExecutionTimedOut event.

See: newWorkflowExecutionTimedOutEventAttributes smart constructor.

Constructors

WorkflowExecutionTimedOutEventAttributes' 

Fields

  • timeoutType :: WorkflowExecutionTimeoutType

    The type of timeout that caused this event.

  • 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 WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

Read WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

Show WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

Generic WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

NFData WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

Hashable WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

FromJSON WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

type Rep WorkflowExecutionTimedOutEventAttributes Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

type Rep WorkflowExecutionTimedOutEventAttributes = D1 ('MetaData "WorkflowExecutionTimedOutEventAttributes" "Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes" "libZSservicesZSamazonka-swfZSamazonka-swf" 'False) (C1 ('MetaCons "WorkflowExecutionTimedOutEventAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeoutType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkflowExecutionTimeoutType) :*: S1 ('MetaSel ('Just "childPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChildPolicy)))

newWorkflowExecutionTimedOutEventAttributes Source #

Create a value of WorkflowExecutionTimedOutEventAttributes 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:timeoutType:WorkflowExecutionTimedOutEventAttributes', workflowExecutionTimedOutEventAttributes_timeoutType - The type of timeout that caused this event.

$sel:childPolicy:WorkflowExecutionTimedOutEventAttributes', workflowExecutionTimedOutEventAttributes_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.

workflowExecutionTimedOutEventAttributes_childPolicy :: Lens' WorkflowExecutionTimedOutEventAttributes 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.