SWF / Client / poll_for_decision_task
poll_for_decision_task#
- SWF.Client.poll_for_decision_task(**kwargs)#
Used by deciders to get a DecisionTask from the specified decision
taskList
. A decision task may be returned for any open workflow execution that is using the specified task list. The task includes a paginated view of the history of the workflow execution. The decider should use the workflow type and the history to determine how to properly handle the task.This action initiates a long poll, where the service holds the HTTP connection open and responds as soon a task becomes available. If no decision task is available in the specified task list before the timeout of 60 seconds expires, an empty result is returned. An empty result, in this context, means that a DecisionTask is returned, but that the value of taskToken is an empty string.
Warning
Deciders should set their client side socket timeout to at least 70 seconds (10 seconds higher than the timeout).
Warning
Because the number of workflow history events for a single workflow execution might be very large, the result returned might be split up across a number of pages. To retrieve subsequent pages, make additional calls to
PollForDecisionTask
using thenextPageToken
returned by the initial call. Note that you do not callGetWorkflowExecutionHistory
with thisnextPageToken
. Instead, callPollForDecisionTask
again.Access Control
You can use IAM policies to control this actionβs access to Amazon SWF resources as follows:
Use a
Resource
element with the domain name to limit the action to only specified domains.Use an
Action
element to allow or deny permission to call this action.Constrain the
taskList.name
parameter by using aCondition
element with theswf:taskList.name
key to allow the action to access only certain task lists.
If the caller doesnβt have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attributeβs
cause
parameter is set toOPERATION_NOT_PERMITTED
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.See also: AWS API Documentation
Request Syntax
response = client.poll_for_decision_task( domain='string', taskList={ 'name': 'string' }, identity='string', nextPageToken='string', maximumPageSize=123, reverseOrder=True|False, startAtPreviousStartedEvent=True|False )
- Parameters:
domain (string) β
[REQUIRED]
The name of the domain containing the task lists to poll.
taskList (dict) β
[REQUIRED]
Specifies the task list to poll for decision tasks.
The specified string must not contain a
:
(colon),/
(slash),|
(vertical bar), or any control characters (\u0000-\u001f
|\u007f-\u009f
). Also, it must not be the literal stringarn
.name (string) β [REQUIRED]
The name of the task list.
identity (string) β Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
nextPageToken (string) β
If
NextPageToken
is returned there are more results available. The value ofNextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a400
error: βSpecified token has exceeded its maximum lifetime
β.The configured
maximumPageSize
determines how many results can be returned in a single call.Note
The
nextPageToken
returned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken
) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageToken
doesnβt return a new decision task.maximumPageSize (integer) β
The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
reverseOrder (boolean) β When set to
true
, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestamp
of the events.startAtPreviousStartedEvent (boolean) β When set to
true
, returns the events witheventTimestamp
greater than or equal toeventTimestamp
of the most recentDecisionTaskStarted
event. By default, this parameter is set tofalse
.
- Return type:
dict
- Returns:
Response Syntax
{ 'taskToken': 'string', 'startedEventId': 123, 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'events': [ { 'eventTimestamp': datetime(2015, 1, 1), 'eventType': 'WorkflowExecutionStarted'|'WorkflowExecutionCancelRequested'|'WorkflowExecutionCompleted'|'CompleteWorkflowExecutionFailed'|'WorkflowExecutionFailed'|'FailWorkflowExecutionFailed'|'WorkflowExecutionTimedOut'|'WorkflowExecutionCanceled'|'CancelWorkflowExecutionFailed'|'WorkflowExecutionContinuedAsNew'|'ContinueAsNewWorkflowExecutionFailed'|'WorkflowExecutionTerminated'|'DecisionTaskScheduled'|'DecisionTaskStarted'|'DecisionTaskCompleted'|'DecisionTaskTimedOut'|'ActivityTaskScheduled'|'ScheduleActivityTaskFailed'|'ActivityTaskStarted'|'ActivityTaskCompleted'|'ActivityTaskFailed'|'ActivityTaskTimedOut'|'ActivityTaskCanceled'|'ActivityTaskCancelRequested'|'RequestCancelActivityTaskFailed'|'WorkflowExecutionSignaled'|'MarkerRecorded'|'RecordMarkerFailed'|'TimerStarted'|'StartTimerFailed'|'TimerFired'|'TimerCanceled'|'CancelTimerFailed'|'StartChildWorkflowExecutionInitiated'|'StartChildWorkflowExecutionFailed'|'ChildWorkflowExecutionStarted'|'ChildWorkflowExecutionCompleted'|'ChildWorkflowExecutionFailed'|'ChildWorkflowExecutionTimedOut'|'ChildWorkflowExecutionCanceled'|'ChildWorkflowExecutionTerminated'|'SignalExternalWorkflowExecutionInitiated'|'SignalExternalWorkflowExecutionFailed'|'ExternalWorkflowExecutionSignaled'|'RequestCancelExternalWorkflowExecutionInitiated'|'RequestCancelExternalWorkflowExecutionFailed'|'ExternalWorkflowExecutionCancelRequested'|'LambdaFunctionScheduled'|'LambdaFunctionStarted'|'LambdaFunctionCompleted'|'LambdaFunctionFailed'|'LambdaFunctionTimedOut'|'ScheduleLambdaFunctionFailed'|'StartLambdaFunctionFailed', 'eventId': 123, 'workflowExecutionStartedEventAttributes': { 'input': 'string', 'executionStartToCloseTimeout': 'string', 'taskStartToCloseTimeout': 'string', 'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON', 'taskList': { 'name': 'string' }, 'taskPriority': 'string', 'workflowType': { 'name': 'string', 'version': 'string' }, 'tagList': [ 'string', ], 'continuedExecutionRunId': 'string', 'parentWorkflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'parentInitiatedEventId': 123, 'lambdaRole': 'string' }, 'workflowExecutionCompletedEventAttributes': { 'result': 'string', 'decisionTaskCompletedEventId': 123 }, 'completeWorkflowExecutionFailedEventAttributes': { 'cause': 'UNHANDLED_DECISION'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'workflowExecutionFailedEventAttributes': { 'reason': 'string', 'details': 'string', 'decisionTaskCompletedEventId': 123 }, 'failWorkflowExecutionFailedEventAttributes': { 'cause': 'UNHANDLED_DECISION'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'workflowExecutionTimedOutEventAttributes': { 'timeoutType': 'START_TO_CLOSE', 'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON' }, 'workflowExecutionCanceledEventAttributes': { 'details': 'string', 'decisionTaskCompletedEventId': 123 }, 'cancelWorkflowExecutionFailedEventAttributes': { 'cause': 'UNHANDLED_DECISION'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'workflowExecutionContinuedAsNewEventAttributes': { 'input': 'string', 'decisionTaskCompletedEventId': 123, 'newExecutionRunId': 'string', 'executionStartToCloseTimeout': 'string', 'taskList': { 'name': 'string' }, 'taskPriority': 'string', 'taskStartToCloseTimeout': 'string', 'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON', 'tagList': [ 'string', ], 'workflowType': { 'name': 'string', 'version': 'string' }, 'lambdaRole': 'string' }, 'continueAsNewWorkflowExecutionFailedEventAttributes': { 'cause': 'UNHANDLED_DECISION'|'WORKFLOW_TYPE_DEPRECATED'|'WORKFLOW_TYPE_DOES_NOT_EXIST'|'DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_TASK_LIST_UNDEFINED'|'DEFAULT_CHILD_POLICY_UNDEFINED'|'CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'workflowExecutionTerminatedEventAttributes': { 'reason': 'string', 'details': 'string', 'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON', 'cause': 'CHILD_POLICY_APPLIED'|'EVENT_LIMIT_EXCEEDED'|'OPERATOR_INITIATED' }, 'workflowExecutionCancelRequestedEventAttributes': { 'externalWorkflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'externalInitiatedEventId': 123, 'cause': 'CHILD_POLICY_APPLIED' }, 'decisionTaskScheduledEventAttributes': { 'taskList': { 'name': 'string' }, 'taskPriority': 'string', 'startToCloseTimeout': 'string', 'scheduleToStartTimeout': 'string' }, 'decisionTaskStartedEventAttributes': { 'identity': 'string', 'scheduledEventId': 123 }, 'decisionTaskCompletedEventAttributes': { 'executionContext': 'string', 'scheduledEventId': 123, 'startedEventId': 123, 'taskList': { 'name': 'string' }, 'taskListScheduleToStartTimeout': 'string' }, 'decisionTaskTimedOutEventAttributes': { 'timeoutType': 'START_TO_CLOSE'|'SCHEDULE_TO_START', 'scheduledEventId': 123, 'startedEventId': 123 }, 'activityTaskScheduledEventAttributes': { 'activityType': { 'name': 'string', 'version': 'string' }, 'activityId': 'string', 'input': 'string', 'control': 'string', 'scheduleToStartTimeout': 'string', 'scheduleToCloseTimeout': 'string', 'startToCloseTimeout': 'string', 'taskList': { 'name': 'string' }, 'taskPriority': 'string', 'decisionTaskCompletedEventId': 123, 'heartbeatTimeout': 'string' }, 'activityTaskStartedEventAttributes': { 'identity': 'string', 'scheduledEventId': 123 }, 'activityTaskCompletedEventAttributes': { 'result': 'string', 'scheduledEventId': 123, 'startedEventId': 123 }, 'activityTaskFailedEventAttributes': { 'reason': 'string', 'details': 'string', 'scheduledEventId': 123, 'startedEventId': 123 }, 'activityTaskTimedOutEventAttributes': { 'timeoutType': 'START_TO_CLOSE'|'SCHEDULE_TO_START'|'SCHEDULE_TO_CLOSE'|'HEARTBEAT', 'scheduledEventId': 123, 'startedEventId': 123, 'details': 'string' }, 'activityTaskCanceledEventAttributes': { 'details': 'string', 'scheduledEventId': 123, 'startedEventId': 123, 'latestCancelRequestedEventId': 123 }, 'activityTaskCancelRequestedEventAttributes': { 'decisionTaskCompletedEventId': 123, 'activityId': 'string' }, 'workflowExecutionSignaledEventAttributes': { 'signalName': 'string', 'input': 'string', 'externalWorkflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'externalInitiatedEventId': 123 }, 'markerRecordedEventAttributes': { 'markerName': 'string', 'details': 'string', 'decisionTaskCompletedEventId': 123 }, 'recordMarkerFailedEventAttributes': { 'markerName': 'string', 'cause': 'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'timerStartedEventAttributes': { 'timerId': 'string', 'control': 'string', 'startToFireTimeout': 'string', 'decisionTaskCompletedEventId': 123 }, 'timerFiredEventAttributes': { 'timerId': 'string', 'startedEventId': 123 }, 'timerCanceledEventAttributes': { 'timerId': 'string', 'startedEventId': 123, 'decisionTaskCompletedEventId': 123 }, 'startChildWorkflowExecutionInitiatedEventAttributes': { 'workflowId': 'string', 'workflowType': { 'name': 'string', 'version': 'string' }, 'control': 'string', 'input': 'string', 'executionStartToCloseTimeout': 'string', 'taskList': { 'name': 'string' }, 'taskPriority': 'string', 'decisionTaskCompletedEventId': 123, 'childPolicy': 'TERMINATE'|'REQUEST_CANCEL'|'ABANDON', 'taskStartToCloseTimeout': 'string', 'tagList': [ 'string', ], 'lambdaRole': 'string' }, 'childWorkflowExecutionStartedEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'initiatedEventId': 123 }, 'childWorkflowExecutionCompletedEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'result': 'string', 'initiatedEventId': 123, 'startedEventId': 123 }, 'childWorkflowExecutionFailedEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'reason': 'string', 'details': 'string', 'initiatedEventId': 123, 'startedEventId': 123 }, 'childWorkflowExecutionTimedOutEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'timeoutType': 'START_TO_CLOSE', 'initiatedEventId': 123, 'startedEventId': 123 }, 'childWorkflowExecutionCanceledEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'details': 'string', 'initiatedEventId': 123, 'startedEventId': 123 }, 'childWorkflowExecutionTerminatedEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'workflowType': { 'name': 'string', 'version': 'string' }, 'initiatedEventId': 123, 'startedEventId': 123 }, 'signalExternalWorkflowExecutionInitiatedEventAttributes': { 'workflowId': 'string', 'runId': 'string', 'signalName': 'string', 'input': 'string', 'decisionTaskCompletedEventId': 123, 'control': 'string' }, 'externalWorkflowExecutionSignaledEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'initiatedEventId': 123 }, 'signalExternalWorkflowExecutionFailedEventAttributes': { 'workflowId': 'string', 'runId': 'string', 'cause': 'UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION'|'SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED'|'OPERATION_NOT_PERMITTED', 'initiatedEventId': 123, 'decisionTaskCompletedEventId': 123, 'control': 'string' }, 'externalWorkflowExecutionCancelRequestedEventAttributes': { 'workflowExecution': { 'workflowId': 'string', 'runId': 'string' }, 'initiatedEventId': 123 }, 'requestCancelExternalWorkflowExecutionInitiatedEventAttributes': { 'workflowId': 'string', 'runId': 'string', 'decisionTaskCompletedEventId': 123, 'control': 'string' }, 'requestCancelExternalWorkflowExecutionFailedEventAttributes': { 'workflowId': 'string', 'runId': 'string', 'cause': 'UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION'|'REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED'|'OPERATION_NOT_PERMITTED', 'initiatedEventId': 123, 'decisionTaskCompletedEventId': 123, 'control': 'string' }, 'scheduleActivityTaskFailedEventAttributes': { 'activityType': { 'name': 'string', 'version': 'string' }, 'activityId': 'string', 'cause': 'ACTIVITY_TYPE_DEPRECATED'|'ACTIVITY_TYPE_DOES_NOT_EXIST'|'ACTIVITY_ID_ALREADY_IN_USE'|'OPEN_ACTIVITIES_LIMIT_EXCEEDED'|'ACTIVITY_CREATION_RATE_EXCEEDED'|'DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_TASK_LIST_UNDEFINED'|'DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED'|'DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'requestCancelActivityTaskFailedEventAttributes': { 'activityId': 'string', 'cause': 'ACTIVITY_ID_UNKNOWN'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'startTimerFailedEventAttributes': { 'timerId': 'string', 'cause': 'TIMER_ID_ALREADY_IN_USE'|'OPEN_TIMERS_LIMIT_EXCEEDED'|'TIMER_CREATION_RATE_EXCEEDED'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'cancelTimerFailedEventAttributes': { 'timerId': 'string', 'cause': 'TIMER_ID_UNKNOWN'|'OPERATION_NOT_PERMITTED', 'decisionTaskCompletedEventId': 123 }, 'startChildWorkflowExecutionFailedEventAttributes': { 'workflowType': { 'name': 'string', 'version': 'string' }, 'cause': 'WORKFLOW_TYPE_DOES_NOT_EXIST'|'WORKFLOW_TYPE_DEPRECATED'|'OPEN_CHILDREN_LIMIT_EXCEEDED'|'OPEN_WORKFLOWS_LIMIT_EXCEEDED'|'CHILD_CREATION_RATE_EXCEEDED'|'WORKFLOW_ALREADY_RUNNING'|'DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_TASK_LIST_UNDEFINED'|'DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED'|'DEFAULT_CHILD_POLICY_UNDEFINED'|'OPERATION_NOT_PERMITTED', 'workflowId': 'string', 'initiatedEventId': 123, 'decisionTaskCompletedEventId': 123, 'control': 'string' }, 'lambdaFunctionScheduledEventAttributes': { 'id': 'string', 'name': 'string', 'control': 'string', 'input': 'string', 'startToCloseTimeout': 'string', 'decisionTaskCompletedEventId': 123 }, 'lambdaFunctionStartedEventAttributes': { 'scheduledEventId': 123 }, 'lambdaFunctionCompletedEventAttributes': { 'scheduledEventId': 123, 'startedEventId': 123, 'result': 'string' }, 'lambdaFunctionFailedEventAttributes': { 'scheduledEventId': 123, 'startedEventId': 123, 'reason': 'string', 'details': 'string' }, 'lambdaFunctionTimedOutEventAttributes': { 'scheduledEventId': 123, 'startedEventId': 123, 'timeoutType': 'START_TO_CLOSE' }, 'scheduleLambdaFunctionFailedEventAttributes': { 'id': 'string', 'name': 'string', 'cause': 'ID_ALREADY_IN_USE'|'OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED'|'LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED'|'LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION', 'decisionTaskCompletedEventId': 123 }, 'startLambdaFunctionFailedEventAttributes': { 'scheduledEventId': 123, 'cause': 'ASSUME_ROLE_FAILED', 'message': 'string' } }, ], 'nextPageToken': 'string', 'previousStartedEventId': 123 }
Response Structure
(dict) β
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
taskToken (string) β
The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.
startedEventId (integer) β
The ID of the
DecisionTaskStarted
event recorded in the history.workflowExecution (dict) β
The workflow execution for which this decision task was created.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the workflow execution for which this decision task was created.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
events (list) β
A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.
(dict) β
Event within a workflow execution. A history event can be one of these types:
ActivityTaskCancelRequested
β ARequestCancelActivityTask
decision was received by the system.ActivityTaskCanceled
β The activity task was successfully canceled.ActivityTaskCompleted
β An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted.ActivityTaskFailed
β An activity worker failed an activity task by calling RespondActivityTaskFailed.ActivityTaskScheduled
β An activity task was scheduled for execution.ActivityTaskStarted
β The scheduled activity task was dispatched to a worker.ActivityTaskTimedOut
β The activity task timed out.CancelTimerFailed
β Failed to process CancelTimer decision. This happens when the decision isnβt configured properly, for example no timer exists with the specified timer Id.CancelWorkflowExecutionFailed
β A request to cancel a workflow execution failed.ChildWorkflowExecutionCanceled
β A child workflow execution, started by this workflow execution, was canceled and closed.ChildWorkflowExecutionCompleted
β A child workflow execution, started by this workflow execution, completed successfully and was closed.ChildWorkflowExecutionFailed
β A child workflow execution, started by this workflow execution, failed to complete successfully and was closed.ChildWorkflowExecutionStarted
β A child workflow execution was successfully started.ChildWorkflowExecutionTerminated
β A child workflow execution, started by this workflow execution, was terminated.ChildWorkflowExecutionTimedOut
β A child workflow execution, started by this workflow execution, timed out and was closed.CompleteWorkflowExecutionFailed
β The workflow execution failed to complete.ContinueAsNewWorkflowExecutionFailed
β The workflow execution failed to complete after being continued as a new workflow execution.DecisionTaskCompleted
β The decider successfully completed a decision task by calling RespondDecisionTaskCompleted.DecisionTaskScheduled
β A decision task was scheduled for the workflow execution.DecisionTaskStarted
β The decision task was dispatched to a decider.DecisionTaskTimedOut
β The decision task timed out.ExternalWorkflowExecutionCancelRequested
β Request to cancel an external workflow execution was successfully delivered to the target execution.ExternalWorkflowExecutionSignaled
β A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution.FailWorkflowExecutionFailed
β A request to mark a workflow execution as failed, itself failed.MarkerRecorded
β A marker was recorded in the workflow history as the result of aRecordMarker
decision.RecordMarkerFailed
β ARecordMarker
decision was returned as failed.RequestCancelActivityTaskFailed
β Failed to process RequestCancelActivityTask decision. This happens when the decision isnβt configured properly.RequestCancelExternalWorkflowExecutionFailed
β Request to cancel an external workflow execution failed.RequestCancelExternalWorkflowExecutionInitiated
β A request was made to request the cancellation of an external workflow execution.ScheduleActivityTaskFailed
β Failed to process ScheduleActivityTask decision. This happens when the decision isnβt configured properly, for example the activity type specified isnβt registered.SignalExternalWorkflowExecutionFailed
β The request to signal an external workflow execution failed.SignalExternalWorkflowExecutionInitiated
β A request to signal an external workflow was made.StartActivityTaskFailed
β A scheduled activity task failed to start.StartChildWorkflowExecutionFailed
β Failed to process StartChildWorkflowExecution decision. This happens when the decision isnβt configured properly, for example the workflow type specified isnβt registered.StartChildWorkflowExecutionInitiated
β A request was made to start a child workflow execution.StartTimerFailed
β Failed to process StartTimer decision. This happens when the decision isnβt configured properly, for example a timer already exists with the specified timer Id.TimerCanceled
β A timer, previously started for this workflow execution, was successfully canceled.TimerFired
β A timer, previously started for this workflow execution, fired.TimerStarted
β A timer was started for the workflow execution due to aStartTimer
decision.WorkflowExecutionCancelRequested
β A request to cancel this workflow execution was made.WorkflowExecutionCanceled
β The workflow execution was successfully canceled and closed.WorkflowExecutionCompleted
β The workflow execution was closed due to successful completion.WorkflowExecutionContinuedAsNew
β The workflow execution was closed and a new execution of the same type was created with the same workflowId.WorkflowExecutionFailed
β The workflow execution closed due to a failure.WorkflowExecutionSignaled
β An external signal was received for the workflow execution.WorkflowExecutionStarted
β The workflow execution was started.WorkflowExecutionTerminated
β The workflow execution was terminated.WorkflowExecutionTimedOut
β The workflow execution was closed because a time out was exceeded.
eventTimestamp (datetime) β
The date and time when the event occurred.
eventType (string) β
The type of the history event.
eventId (integer) β
The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
workflowExecutionStartedEventAttributes (dict) β
If the event is of type
WorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isnβt set for other event types.input (string) β
The input provided to the workflow execution.
executionStartToCloseTimeout (string) β
The maximum duration for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to
0
. You can useNONE
to specify unlimited duration.taskStartToCloseTimeout (string) β
The maximum duration of decision tasks for this workflow type.
The duration is specified in seconds, an integer greater than or equal to
0
. You can useNONE
to specify unlimited duration.childPolicy (string) β
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly 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.
taskList (dict) β
The name of the task list for scheduling the decision tasks for this workflow execution.
name (string) β
The name of the task list.
taskPriority (string) β
The priority of the decision tasks in the workflow execution.
workflowType (dict) β
The workflow type of this execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
tagList (list) β
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
(string) β
continuedExecutionRunId (string) β
If this workflow execution was started due to a
ContinueAsNewWorkflowExecution
decision, then it contains therunId
of the previous workflow execution that was closed and continued as this execution.parentWorkflowExecution (dict) β
The source workflow execution that started this workflow execution. The member isnβt set if the workflow execution was not started by a workflow.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
parentInitiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.lambdaRole (string) β
The IAM role attached to the workflow execution.
workflowExecutionCompletedEventAttributes (dict) β
If the event is of type
WorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isnβt set for other event types.result (string) β
The result produced by the workflow execution upon successful completion.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCompleteWorkflowExecution
decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
completeWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
CompleteWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCompleteWorkflowExecution
decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
workflowExecutionFailedEventAttributes (dict) β
If the event is of type
WorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.reason (string) β
The descriptive reason provided for the failure.
details (string) β
The details of the failure.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theFailWorkflowExecution
decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
failWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
FailWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theFailWorkflowExecution
decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
workflowExecutionTimedOutEventAttributes (dict) β
If the event is of type
WorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isnβt set for other event types.timeoutType (string) β
The type of timeout that caused this event.
childPolicy (string) β
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 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.
workflowExecutionCanceledEventAttributes (dict) β
If the event is of type
WorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isnβt set for other event types.details (string) β
The details of the cancellation.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
cancelWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
CancelWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
workflowExecutionContinuedAsNewEventAttributes (dict) β
If the event is of type
WorkflowExecutionContinuedAsNew
then this member is set and provides detailed information about the event. It isnβt set for other event types.input (string) β
The input provided to the new workflow execution.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.newExecutionRunId (string) β
The
runId
of the new workflow execution.executionStartToCloseTimeout (string) β
The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to
0
. You can useNONE
to specify unlimited duration.taskList (dict) β
The task list to use for the decisions of the new (continued) workflow execution.
name (string) β
The name of the task list.
taskPriority (string) β
The priority of the task to use for the decisions of the new (continued) workflow execution.
taskStartToCloseTimeout (string) β
The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to
0
. You can useNONE
to specify unlimited duration.childPolicy (string) β
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly 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.
tagList (list) β
The list of tags associated with the new workflow execution.
(string) β
workflowType (dict) β
The workflow type of this execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
lambdaRole (string) β
The IAM role to attach to the new (continued) workflow execution.
continueAsNewWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
ContinueAsNewWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
workflowExecutionTerminatedEventAttributes (dict) β
If the event is of type
WorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isnβt set for other event types.reason (string) β
The reason provided for the termination.
details (string) β
The details provided for the termination.
childPolicy (string) β
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 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.
cause (string) β
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.
workflowExecutionCancelRequestedEventAttributes (dict) β
If the event is of type
WorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isnβt set for other event types.externalWorkflowExecution (dict) β
The external workflow execution for which the cancellation was requested.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
externalInitiatedEventId (integer) β
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to theRequestCancelExternalWorkflowExecution
decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.cause (string) β
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
decisionTaskScheduledEventAttributes (dict) β
If the event is of type
DecisionTaskScheduled
then this member is set and provides detailed information about the event. It isnβt set for other event types.taskList (dict) β
The name of the task list in which the decision task was scheduled.
name (string) β
The name of the task list.
taskPriority (string) β
A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Javaβs
Integer.MIN_VALUE
(-2147483648) toInteger.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.
startToCloseTimeout (string) β
The maximum duration for this decision task. The task is considered timed out if it doesnβt completed within this duration.
The duration is specified in seconds, an integer greater than or equal to
0
. You can useNONE
to specify unlimited duration.scheduleToStartTimeout (string) β
The maximum amount of time the decision task can wait to be assigned to a worker.
decisionTaskStartedEventAttributes (dict) β
If the event is of type
DecisionTaskStarted
then this member is set and provides detailed information about the event. It isnβt set for other event types.identity (string) β
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
scheduledEventId (integer) β
The ID of the
DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
decisionTaskCompletedEventAttributes (dict) β
If the event is of type
DecisionTaskCompleted
then this member is set and provides detailed information about the event. It isnβt set for other event types.executionContext (string) β
User defined context for the workflow execution.
scheduledEventId (integer) β
The ID of the
DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.taskList (dict) β
Represents a task list.
name (string) β
The name of the task list.
taskListScheduleToStartTimeout (string) β
The maximum amount of time the decision task can wait to be assigned to a worker.
decisionTaskTimedOutEventAttributes (dict) β
If the event is of type
DecisionTaskTimedOut
then this member is set and provides detailed information about the event. It isnβt set for other event types.timeoutType (string) β
The type of timeout that expired before the decision task could be completed.
scheduledEventId (integer) β
The ID of the
DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
activityTaskScheduledEventAttributes (dict) β
If the event is of type
ActivityTaskScheduled
then this member is set and provides detailed information about the event. It isnβt set for other event types.activityType (dict) β
The type of the activity task.
name (string) β
The name of this activity.
Note
The combination of activity type name and version must be unique within a domain.
version (string) β
The version of this activity.
Note
The combination of activity type name and version must be unique with in a domain.
activityId (string) β
The unique ID of the activity task.
input (string) β
The input provided to the activity task.
control (string) β
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isnβt sent to the activity.
scheduleToStartTimeout (string) β
The maximum amount of time the activity task can wait to be assigned to a worker.
scheduleToCloseTimeout (string) β
The maximum amount of time for this activity task.
startToCloseTimeout (string) β
The maximum amount of time a worker may take to process the activity task.
taskList (dict) β
The task list in which the activity task has been scheduled.
name (string) β
The name of the task list.
taskPriority (string) β
The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.
Valid values are integers that range from Javaβs
Integer.MIN_VALUE
(-2147483648) toInteger.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.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.heartbeatTimeout (string) β
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
activityTaskStartedEventAttributes (dict) β
If the event is of type
ActivityTaskStarted
then this member is set and provides detailed information about the event. It isnβt set for other event types.identity (string) β
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
activityTaskCompletedEventAttributes (dict) β
If the event is of type
ActivityTaskCompleted
then this member is set and provides detailed information about the event. It isnβt set for other event types.result (string) β
The results of the activity task.
scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ActivityTaskStarted
event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
activityTaskFailedEventAttributes (dict) β
If the event is of type
ActivityTaskFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.reason (string) β
The reason provided for the failure.
details (string) β
The details of the failure.
scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ActivityTaskStarted
event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
activityTaskTimedOutEventAttributes (dict) β
If the event is of type
ActivityTaskTimedOut
then this member is set and provides detailed information about the event. It isnβt set for other event types.timeoutType (string) β
The type of the timeout that caused this event.
scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ActivityTaskStarted
event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.details (string) β
Contains the content of the
details
parameter for the last call made by the activity toRecordActivityTaskHeartbeat
.
activityTaskCanceledEventAttributes (dict) β
If the event is of type
ActivityTaskCanceled
then this member is set and provides detailed information about the event. It isnβt set for other event types.details (string) β
Details of the cancellation.
scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ActivityTaskStarted
event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.latestCancelRequestedEventId (integer) β
If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
activityTaskCancelRequestedEventAttributes (dict) β
If the event is of type
ActivityTaskcancelRequested
then this member is set and provides detailed information about the event. It isnβt set for other event types.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.activityId (string) β
The unique ID of the task.
workflowExecutionSignaledEventAttributes (dict) β
If the event is of type
WorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isnβt set for other event types.signalName (string) β
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
input (string) β
The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
externalWorkflowExecution (dict) β
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
externalInitiatedEventId (integer) β
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
markerRecordedEventAttributes (dict) β
If the event is of type
MarkerRecorded
then this member is set and provides detailed information about the event. It isnβt set for other event types.markerName (string) β
The name of the marker.
details (string) β
The details of the marker.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRecordMarker
decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
recordMarkerFailedEventAttributes (dict) β
If the event is of type
DecisionTaskFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.markerName (string) β
The markerβs name.
cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRecordMarkerFailed
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
timerStartedEventAttributes (dict) β
If the event is of type
TimerStarted
then this member is set and provides detailed information about the event. It isnβt set for other event types.timerId (string) β
The unique ID of the timer that was started.
control (string) β
Data attached to the event that can be used by the decider in subsequent workflow tasks.
startToFireTimeout (string) β
The duration of time after which the timer fires.
The duration is specified in seconds, an integer greater than or equal to
0
.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
timerFiredEventAttributes (dict) β
If the event is of type
TimerFired
then this member is set and provides detailed information about the event. It isnβt set for other event types.timerId (string) β
The unique ID of the timer that fired.
startedEventId (integer) β
The ID of the
TimerStarted
event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
timerCanceledEventAttributes (dict) β
If the event is of type
TimerCanceled
then this member is set and provides detailed information about the event. It isnβt set for other event types.timerId (string) β
The unique ID of the timer that was canceled.
startedEventId (integer) β
The ID of the
TimerStarted
event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
startChildWorkflowExecutionInitiatedEventAttributes (dict) β
If the event is of type
StartChildWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowId (string) β
The
workflowId
of the child workflow execution.workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
control (string) β
Data attached to the event that can be used by the decider in subsequent decision tasks. This data isnβt sent to the activity.
input (string) β
The inputs provided to the child workflow execution.
executionStartToCloseTimeout (string) β
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 useNONE
to specify unlimited duration.taskList (dict) β
The name of the task list used for the decision tasks of the child workflow execution.
name (string) β
The name of the task list.
taskPriority (string) β
The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Javaβs
Integer.MIN_VALUE
(-2147483648) toInteger.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.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartChildWorkflowExecution
Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.childPolicy (string) β
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.
taskStartToCloseTimeout (string) β
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 useNONE
to specify unlimited duration.tagList (list) β
The list of tags to associated with the child workflow execution.
(string) β
lambdaRole (string) β
The IAM role to attach to the child workflow execution.
childWorkflowExecutionStartedEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that was started.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
childWorkflowExecutionCompletedEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that was completed.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
result (string) β
The result of the child workflow execution.
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
childWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that failed.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
reason (string) β
The reason for the failure (if provided).
details (string) β
The details of the failure (if provided).
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
childWorkflowExecutionTimedOutEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that timed out.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
timeoutType (string) β
The type of the timeout that caused the child workflow execution to time out.
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
childWorkflowExecutionCanceledEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that was canceled.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
details (string) β
Details of the cancellation (if provided).
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
childWorkflowExecutionTerminatedEventAttributes (dict) β
If the event is of type
ChildWorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The child workflow execution that was terminated.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
workflowType (dict) β
The type of the child workflow execution.
name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
initiatedEventId (integer) β
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
signalExternalWorkflowExecutionInitiatedEventAttributes (dict) β
If the event is of type
SignalExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowId (string) β
The
workflowId
of the external workflow execution.runId (string) β
The
runId
of the external workflow execution to send the signal to.signalName (string) β
The name of the signal.
input (string) β
The input provided to the signal.
decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.control (string) β
Data attached to the event that can be used by the decider in subsequent decision tasks.
externalWorkflowExecutionSignaledEventAttributes (dict) β
If the event is of type
ExternalWorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The external workflow execution that the signal was delivered to.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
initiatedEventId (integer) β
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
signalExternalWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
SignalExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowId (string) β
The
workflowId
of the external workflow execution that the signal was being delivered to.runId (string) β
The
runId
of the external workflow execution that the signal was being delivered to.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.initiatedEventId (integer) β
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflowExecution
decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theSignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.control (string) β
The data attached to the event that the decider can use in subsequent workflow tasks. This data isnβt sent to the workflow execution.
externalWorkflowExecutionCancelRequestedEventAttributes (dict) β
If the event is of type
ExternalWorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowExecution (dict) β
The external workflow execution to which the cancellation request was delivered.
workflowId (string) β
The user defined identifier associated with the workflow execution.
runId (string) β
A system-generated unique identifier for the workflow execution.
initiatedEventId (integer) β
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to theRequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
requestCancelExternalWorkflowExecutionInitiatedEventAttributes (dict) β
If the event is of type
RequestCancelExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowId (string) β
The
workflowId
of the external workflow execution to be canceled.runId (string) β
The
runId
of the external workflow execution to be canceled.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.control (string) β
Data attached to the event that can be used by the decider in subsequent workflow tasks.
requestCancelExternalWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
RequestCancelExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowId (string) β
The
workflowId
of the external workflow to which the cancel request was to be delivered.runId (string) β
The
runId
of the external workflow execution.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.initiatedEventId (integer) β
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to theRequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.control (string) β
The data attached to the event that the decider can use in subsequent workflow tasks. This data isnβt sent to the workflow execution.
scheduleActivityTaskFailedEventAttributes (dict) β
If the event is of type
ScheduleActivityTaskFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.activityType (dict) β
The activity type provided in the
ScheduleActivityTask
decision that failed.name (string) β
The name of this activity.
Note
The combination of activity type name and version must be unique within a domain.
version (string) β
The version of this activity.
Note
The combination of activity type name and version must be unique with in a domain.
activityId (string) β
The activityId provided in the
ScheduleActivityTask
decision that failed.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
requestCancelActivityTaskFailedEventAttributes (dict) β
If the event is of type
RequestCancelActivityTaskFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.activityId (string) β
The activityId provided in the
RequestCancelActivityTask
decision that failed.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
startTimerFailedEventAttributes (dict) β
If the event is of type
StartTimerFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.timerId (string) β
The timerId provided in the
StartTimer
decision that failed.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
cancelTimerFailedEventAttributes (dict) β
If the event is of type
CancelTimerFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.timerId (string) β
The timerId provided in the
CancelTimer
decision that failed.cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theCancelTimer
decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
startChildWorkflowExecutionFailedEventAttributes (dict) β
If the event is of type
StartChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isnβt set for other event types.workflowType (dict) β
The workflow type provided in the
StartChildWorkflowExecution
Decision that failed.name (string) β
The name of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
version (string) β
The version of the workflow type.
Note
The combination of workflow type name and version must be unique with in a domain.
cause (string) β
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
Note
When
cause
is set toOPERATION_NOT_PERMITTED
, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.workflowId (string) β
The
workflowId
of the child workflow execution.initiatedEventId (integer) β
When the
cause
isWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is the ID of theStartChildWorkflowExecutionInitiated
event that corresponds to theStartChildWorkflowExecution
Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.When the
cause
isnβtWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is set to0
because theStartChildWorkflowExecutionInitiated
event doesnβt exist.decisionTaskCompletedEventId (integer) β
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartChildWorkflowExecution
Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.control (string) β
The data attached to the event that the decider can use in subsequent workflow tasks. This data isnβt sent to the child workflow execution.
lambdaFunctionScheduledEventAttributes (dict) β
Provides the details of the
LambdaFunctionScheduled
event. It isnβt set for other event types.id (string) β
The unique ID of the Lambda task.
name (string) β
The name of the Lambda function.
control (string) β
Data attached to the event that the decider can use in subsequent workflow tasks. This data isnβt sent to the Lambda task.
input (string) β
The input provided to the Lambda task.
startToCloseTimeout (string) β
The maximum amount of time a worker can take to process the Lambda task.
decisionTaskCompletedEventId (integer) β
The ID of the
LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
lambdaFunctionStartedEventAttributes (dict) β
Provides the details of the
LambdaFunctionStarted
event. It isnβt set for other event types.scheduledEventId (integer) β
The ID of the
LambdaFunctionScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
lambdaFunctionCompletedEventAttributes (dict) β
Provides the details of the
LambdaFunctionCompleted
event. It isnβt set for other event types.scheduledEventId (integer) β
The ID of the
LambdaFunctionScheduled
event that was recorded when this Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
LambdaFunctionStarted
event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.result (string) β
The results of the Lambda task.
lambdaFunctionFailedEventAttributes (dict) β
Provides the details of the
LambdaFunctionFailed
event. It isnβt set for other event types.scheduledEventId (integer) β
The ID of the
LambdaFunctionScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
LambdaFunctionStarted
event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.reason (string) β
The reason provided for the failure.
details (string) β
The details of the failure.
lambdaFunctionTimedOutEventAttributes (dict) β
Provides the details of the
LambdaFunctionTimedOut
event. It isnβt set for other event types.scheduledEventId (integer) β
The ID of the
LambdaFunctionScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.startedEventId (integer) β
The ID of the
ActivityTaskStarted
event that was recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.timeoutType (string) β
The type of the timeout that caused this event.
scheduleLambdaFunctionFailedEventAttributes (dict) β
Provides the details of the
ScheduleLambdaFunctionFailed
event. It isnβt set for other event types.id (string) β
The ID provided in the
ScheduleLambdaFunction
decision that failed.name (string) β
The name of the Lambda function.
cause (string) β
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.decisionTaskCompletedEventId (integer) β
The ID of the
LambdaFunctionCompleted
event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
startLambdaFunctionFailedEventAttributes (dict) β
Provides the details of the
StartLambdaFunctionFailed
event. It isnβt set for other event types.scheduledEventId (integer) β
The ID of the
ActivityTaskScheduled
event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.cause (string) β
The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
Note
If
cause
is set toOPERATION_NOT_PERMITTED
, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.message (string) β
A description that can help diagnose the cause of the fault.
nextPageToken (string) β
If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.previousStartedEventId (integer) β
The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.
Exceptions
SWF.Client.exceptions.UnknownResourceFault
SWF.Client.exceptions.OperationNotPermittedFault
SWF.Client.exceptions.LimitExceededFault