This section provides an overview of Amazon SWF actions.
Action Categories
The Amazon SWF actions can be grouped into the following major categories.
Actions related to Activities
Actions related to Deciders
Actions related to Workflow Executions
Actions related to Administration
Actions related to Visibility
Actions related to Activities
The following are actions that are performed by activity workers:
PollForActivityTask
RespondActivityTaskCompleted
RespondActivityTaskFailed
RespondActivityTaskCanceled
RecordActivityTaskHeartbeat
Activity workers use the PollForActivityTask to get new activity tasks. After a worker receives an activity task from Amazon SWF, it performs the task and responds using RespondActivityTaskCompleted if successful or RespondActivityTaskFailed if unsuccessful.
Actions related to Deciders
The following are actions that are performed by deciders:
PollForDecisionTask
RespondDecisionTaskCompleted
Deciders use PollForDecisionTask to get decision tasks. After a decider receives a decision task from Amazon SWF, it examines its workflow execution history and decides what to do next. It calls RespondDecisionTaskCompletedto complete the decision task and provide zero or more next decisions.
Actions related to Workflow Executions
The following actions operate on a workflow execution:
RequestCancelWorkflowExecution
StartWorkflowExecution
SignalWorkflowExecution
TerminateWorkflowExecution
Actions related to Administration
Although you can perform administrative tasks from the Amazon SWF console, you can use the actions in this section to automate functions or build your own administrative tools.
Activity Management
RegisterActivityType
DeprecateActivityType
Workflow Management
RegisterWorkflowType
DeprecateWorkflowType
Domain Management
RegisterDomain
DeprecateDomain
Workflow Execution Management
RequestCancelWorkflowExecution
TerminateWorkflowExecution
Visibility Actions
Although you can perform visibility actions from the Amazon SWF console, you can use the actions in this section to build your own console or administrative tools.
Activity Visibility
ListActivityTypes
DescribeActivity
Workflow Visibility
ListWorkflowTypes
DescribeWorkflowType
Workflow Execution Visibility
DescribeWorkflowExecution
ListOpenWorkflowExecutions
ListClosedWorkflowExecutions
CountOpenWorkflowExecutions
CountClosedWorkflowExecutions
GetWorkflowExecutionHistory
Domain Visibility
ListDomains
DescribeDomain
Task List Visibility
CountPendingActivityTasks
CountPendingDecisionTasks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|