| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/awscli/examples/swf/ |
Upload File : |
Registering a Workflow Type
---------------------------
To register a Workflow type with the AWS CLI, use the ``swf register-workflow-type`` command::
aws swf register-workflow-type --domain DataFrobtzz --name "MySimpleWorkflow" --workflow-version "v1"
If successful, the command returns no result. On an error (for example, if you try to register the same workflow type
twice, or specify a domain that doesn't exist) you will get a response in JSON::
{
"message": "WorkflowType=[name=MySimpleWorkflow, version=v1]",
"__type": "com.amazonaws.swf.base.model#TypeAlreadyExistsFault"
}
The ``--domain``, ``--name`` and ``--workflow-version`` are required. You can also set the workflow description,
timeouts, and child workflow policy.
See Also
--------
- `RegisterWorkflowType <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html>` in the
*Amazon Simple Workflow Service API Reference*