Write Action
swf.call
ActionAmazon Web Servicesconnection required
Calls the AWS swf API (SigV4).
Run one of 28 write actions on SWF.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Simple Workflow Service
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
action Which write action to run. | string | Yes | — | one of "CountClosedWorkflowExecutions", "CountOpenWorkflowExecutions", "CountPendingActivityTasks", "CountPendingDecisionTasks", "DeleteActivityType", "DeleteWorkflowType", "DeprecateActivityType", "DeprecateDomain", "DeprecateWorkflowType", "PollForActivityTask", "PollForDecisionTask", "RecordActivityTaskHeartbeat", "RegisterActivityType", "RegisterDomain", "RegisterWorkflowType", "RequestCancelWorkflowExecution", "RespondActivityTaskCanceled", "RespondActivityTaskCompleted", "RespondActivityTaskFailed", "RespondDecisionTaskCompleted", "SignalWorkflowExecution", "StartWorkflowExecution", "TagResource", "TerminateWorkflowExecution", "UndeprecateActivityType", "UndeprecateDomain", "UndeprecateWorkflowType", "UntagResource" | — |
request The action's input, as AWS documents it. | object | No | — | — | — |
Output
One shape.
result
The AWS response for the operation you named, as returned.
Extra keys beyond the ones listed can appear.
{}Notes
- This performs a real change in the account. Dry runs stub it, like every other external node.
Related Amazon Simple Workflow Service nodes
See Write Action run in a workflow.
In a technical demo we add the Amazon Simple Workflow Service connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.