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

Description

 
Synopsis

Documentation

data WorkflowExecutionInfo Source #

Contains information about a workflow execution.

See: newWorkflowExecutionInfo smart constructor.

Constructors

WorkflowExecutionInfo' 

Fields

  • parent :: Maybe WorkflowExecution

    If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

  • tagList :: Maybe [Text]

    The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

  • closeStatus :: Maybe CloseStatus

    If the execution status is closed then this specifies how the execution was closed:

    • COMPLETED – the execution was successfully completed.
    • CANCELED – the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
    • TERMINATED – the execution was force terminated.
    • FAILED – the execution failed to complete.
    • TIMED_OUT – the execution did not complete in the alloted time and was automatically timed out.
    • CONTINUED_AS_NEW – the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
  • closeTimestamp :: Maybe POSIX

    The time when the workflow execution was closed. Set only if the execution status is CLOSED.

  • cancelRequested :: Maybe Bool

    Set to true if a cancellation is requested for this workflow execution.

  • execution :: WorkflowExecution

    The workflow execution this information is about.

  • workflowType :: WorkflowType

    The type of the workflow execution.

  • startTimestamp :: POSIX

    The time when the execution was started.

  • executionStatus :: ExecutionStatus

    The current status of the execution.

Instances

Instances details
Eq WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

Read WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

Show WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

Generic WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

Associated Types

type Rep WorkflowExecutionInfo :: Type -> Type #

NFData WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

Methods

rnf :: WorkflowExecutionInfo -> () #

Hashable WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

FromJSON WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

type Rep WorkflowExecutionInfo Source # 
Instance details

Defined in Amazonka.SWF.Types.WorkflowExecutionInfo

newWorkflowExecutionInfo Source #

Create a value of WorkflowExecutionInfo 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:parent:WorkflowExecutionInfo', workflowExecutionInfo_parent - If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

$sel:tagList:WorkflowExecutionInfo', workflowExecutionInfo_tagList - The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

$sel:closeStatus:WorkflowExecutionInfo', workflowExecutionInfo_closeStatus - If the execution status is closed then this specifies how the execution was closed:

  • COMPLETED – the execution was successfully completed.
  • CANCELED – the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
  • TERMINATED – the execution was force terminated.
  • FAILED – the execution failed to complete.
  • TIMED_OUT – the execution did not complete in the alloted time and was automatically timed out.
  • CONTINUED_AS_NEW – the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

$sel:closeTimestamp:WorkflowExecutionInfo', workflowExecutionInfo_closeTimestamp - The time when the workflow execution was closed. Set only if the execution status is CLOSED.

$sel:cancelRequested:WorkflowExecutionInfo', workflowExecutionInfo_cancelRequested - Set to true if a cancellation is requested for this workflow execution.

$sel:execution:WorkflowExecutionInfo', workflowExecutionInfo_execution - The workflow execution this information is about.

$sel:workflowType:WorkflowExecutionInfo', workflowExecutionInfo_workflowType - The type of the workflow execution.

$sel:startTimestamp:WorkflowExecutionInfo', workflowExecutionInfo_startTimestamp - The time when the execution was started.

$sel:executionStatus:WorkflowExecutionInfo', workflowExecutionInfo_executionStatus - The current status of the execution.

workflowExecutionInfo_parent :: Lens' WorkflowExecutionInfo (Maybe WorkflowExecution) Source #

If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

workflowExecutionInfo_tagList :: Lens' WorkflowExecutionInfo (Maybe [Text]) Source #

The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

workflowExecutionInfo_closeStatus :: Lens' WorkflowExecutionInfo (Maybe CloseStatus) Source #

If the execution status is closed then this specifies how the execution was closed:

  • COMPLETED – the execution was successfully completed.
  • CANCELED – the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
  • TERMINATED – the execution was force terminated.
  • FAILED – the execution failed to complete.
  • TIMED_OUT – the execution did not complete in the alloted time and was automatically timed out.
  • CONTINUED_AS_NEW – the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

workflowExecutionInfo_closeTimestamp :: Lens' WorkflowExecutionInfo (Maybe UTCTime) Source #

The time when the workflow execution was closed. Set only if the execution status is CLOSED.

workflowExecutionInfo_cancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool) Source #

Set to true if a cancellation is requested for this workflow execution.

workflowExecutionInfo_execution :: Lens' WorkflowExecutionInfo WorkflowExecution Source #

The workflow execution this information is about.