Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StartChildWorkflowExecutionInitiatedEventAttributes = StartChildWorkflowExecutionInitiatedEventAttributes' {
- control :: Maybe Text
- tagList :: Maybe [Text]
- taskStartToCloseTimeout :: Maybe Text
- lambdaRole :: Maybe Text
- input :: Maybe Text
- executionStartToCloseTimeout :: Maybe Text
- taskPriority :: Maybe Text
- workflowId :: Text
- workflowType :: WorkflowType
- taskList :: TaskList
- decisionTaskCompletedEventId :: Integer
- childPolicy :: ChildPolicy
- newStartChildWorkflowExecutionInitiatedEventAttributes :: Text -> WorkflowType -> TaskList -> Integer -> ChildPolicy -> StartChildWorkflowExecutionInitiatedEventAttributes
- startChildWorkflowExecutionInitiatedEventAttributes_control :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_tagList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe [Text])
- startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_input :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_taskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text)
- startChildWorkflowExecutionInitiatedEventAttributes_workflowId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Text
- startChildWorkflowExecutionInitiatedEventAttributes_workflowType :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes WorkflowType
- startChildWorkflowExecutionInitiatedEventAttributes_taskList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList
- startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Integer
- startChildWorkflowExecutionInitiatedEventAttributes_childPolicy :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy
Documentation
data StartChildWorkflowExecutionInitiatedEventAttributes Source #
Provides the details of the StartChildWorkflowExecutionInitiated
event.
See: newStartChildWorkflowExecutionInitiatedEventAttributes
smart constructor.
StartChildWorkflowExecutionInitiatedEventAttributes' | |
|
Instances
newStartChildWorkflowExecutionInitiatedEventAttributes Source #
Create a value of StartChildWorkflowExecutionInitiatedEventAttributes
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:control:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_control
- Data attached to the event that can be used by the decider in subsequent
decision tasks. This data isn't sent to the activity.
$sel:tagList:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_tagList
- The list of tags to associated with the child workflow execution.
$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout
- The maximum duration allowed for the decision tasks for this workflow
execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:lambdaRole:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole
- The IAM role to attach to the child workflow execution.
$sel:input:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_input
- The inputs provided to the child workflow execution.
$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout
- The maximum duration for the child workflow execution. If the workflow
execution isn't closed within this duration, it is timed out and
force-terminated.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
$sel:taskPriority:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskPriority
- The priority assigned for the decision tasks for this workflow
execution. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).
Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
$sel:workflowId:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_workflowId
- The workflowId
of the child workflow execution.
$sel:workflowType:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_workflowType
- The type of the child workflow execution.
$sel:taskList:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_taskList
- The name of the task list used for the decision tasks of the child
workflow execution.
$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the
decision task that resulted in the StartChildWorkflowExecution
Decision to request this child workflow execution. This information can
be useful for diagnosing problems by tracing back the cause of events.
$sel:childPolicy:StartChildWorkflowExecutionInitiatedEventAttributes'
, startChildWorkflowExecutionInitiatedEventAttributes_childPolicy
- The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the TerminateWorkflowExecution
action or due to an expired timeout.
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 aWorkflowExecutionCancelRequested
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.
startChildWorkflowExecutionInitiatedEventAttributes_control :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.
startChildWorkflowExecutionInitiatedEventAttributes_tagList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe [Text]) Source #
The list of tags to associated with the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
The IAM role to attach to the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_input :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
The inputs provided to the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal
to 0
. You can use NONE
to specify unlimited duration.
startChildWorkflowExecutionInitiatedEventAttributes_taskPriority :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Maybe Text) Source #
The priority assigned for the decision tasks for this workflow
execution. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647).
Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
startChildWorkflowExecutionInitiatedEventAttributes_workflowId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Text Source #
The workflowId
of the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_workflowType :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes WorkflowType Source #
The type of the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_taskList :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList Source #
The name of the task list used for the decision tasks of the child workflow execution.
startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Integer Source #
The ID of the DecisionTaskCompleted
event corresponding to the
decision task that resulted in the StartChildWorkflowExecution
Decision to request this child workflow execution. This information can
be useful for diagnosing problems by tracing back the cause of events.
startChildWorkflowExecutionInitiatedEventAttributes_childPolicy :: Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy Source #
The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.
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 aWorkflowExecutionCancelRequested
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.