Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data WorkflowExecutionInfo = WorkflowExecutionInfo' {}
- newWorkflowExecutionInfo :: WorkflowExecution -> WorkflowType -> UTCTime -> ExecutionStatus -> WorkflowExecutionInfo
- workflowExecutionInfo_cancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool)
- workflowExecutionInfo_closeStatus :: Lens' WorkflowExecutionInfo (Maybe CloseStatus)
- workflowExecutionInfo_closeTimestamp :: Lens' WorkflowExecutionInfo (Maybe UTCTime)
- workflowExecutionInfo_parent :: Lens' WorkflowExecutionInfo (Maybe WorkflowExecution)
- workflowExecutionInfo_tagList :: Lens' WorkflowExecutionInfo (Maybe [Text])
- workflowExecutionInfo_execution :: Lens' WorkflowExecutionInfo WorkflowExecution
- workflowExecutionInfo_workflowType :: Lens' WorkflowExecutionInfo WorkflowType
- workflowExecutionInfo_startTimestamp :: Lens' WorkflowExecutionInfo UTCTime
- workflowExecutionInfo_executionStatus :: Lens' WorkflowExecutionInfo ExecutionStatus
Documentation
data WorkflowExecutionInfo Source #
Contains information about a workflow execution.
See: newWorkflowExecutionInfo
smart constructor.
WorkflowExecutionInfo' | |
|
Instances
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:cancelRequested:WorkflowExecutionInfo'
, workflowExecutionInfo_cancelRequested
- Set to true if a cancellation is requested for this workflow execution.
$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: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: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_cancelRequested :: Lens' WorkflowExecutionInfo (Maybe Bool) Source #
Set to true if a cancellation is requested for this workflow execution.
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_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_execution :: Lens' WorkflowExecutionInfo WorkflowExecution Source #
The workflow execution this information is about.
workflowExecutionInfo_workflowType :: Lens' WorkflowExecutionInfo WorkflowType Source #
The type of the workflow execution.
workflowExecutionInfo_startTimestamp :: Lens' WorkflowExecutionInfo UTCTime Source #
The time when the execution was started.
workflowExecutionInfo_executionStatus :: Lens' WorkflowExecutionInfo ExecutionStatus Source #
The current status of the execution.