PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
swf
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*
[-] list-activity-types.rst
[edit]
[-] register-workflow-type.rst
[edit]
[-] deprecate-domain.rst
[edit]
[-] list-workflow-types.rst
[edit]
[+]
..
[-] register-domain.rst
[edit]
[-] describe-domain.rst
[edit]
[-] list-domains.rst
[edit]
[-] count-closed-workflow-executions.rst
[edit]
[-] count-open-workflow-executions.rst
[edit]