Private
Server IP : 195.201.23.43  /  Your IP : 3.145.85.212
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/awscli/examples/swf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/awscli/examples/swf/list-domains.rst
Listing your Domains
--------------------

To list the SWF domains that you have registered for your account, you can use ``swf list-domains``. There is only one
required parameter: ``--registration-status``, which you can set to either ``REGISTERED`` or ``DEPRECATED``.

Here's a typical example::

    aws swf list-domains --registration-status REGISTERED

Result::

    {
      "domainInfos": [
        {
          "status": "REGISTERED",
          "name": "DataFrobotz"
        },
        {
          "status": "REGISTERED",
          "name": "erontest"
        }
      ]
    }

If you set ``--registration-status`` to ``DEPRECATED``, you will see deprecated domains (domains that can not register
new workflows or activities, but that can still be queried). For example::

    aws swf list-domains --registration-status DEPRECATED

Result::

    {
      "domainInfos": [
        {
          "status": "DEPRECATED",
          "name": "MyNeatNewDomain"
        }
      ]
    }


If you have many domains, you can set the ``--maximum-page-size`` option to limit the number of results returned. If
there are more results to return than the maximum number that you specified, you will receive a ``nextPageToken`` that
you can send to the next call to ``list-domains`` to retrieve additional entries.

Here's an example of using ``--maximum-page-size``::

    aws swf list-domains --registration-status REGISTERED --maximum-page-size 1

Result::

    {
      "domainInfos": [
        {
          "status": "REGISTERED",
          "name": "DataFrobotz"
        }
      ],
      "nextPageToken": "AAAAKgAAAAEAAAAAAAAAA2QJKNtidVgd49TTeNwYcpD+QKT2ynuEbibcQWe2QKrslMGe63gpS0MgZGpcpoKttL4OCXRFn98Xif557it+wSZUsvUDtImjDLvguyuyyFdIZtvIxIKEOPm3k2r4OjAGaFsGOuVbrKljvla7wdU7FYH3OlkNCP8b7PBj9SBkUyGoiAghET74P93AuVIIkdKGtQ=="
    }

When you make the call again, this time supplying the value of ``nextPageToken`` in the ``--next-page-token`` argument,
you'll get another page of results::

    aws swf list-domains --registration-status REGISTERED --maximum-page-size 1 --next-page-token "AAAAKgAAAAEAAAAAAAAAA2QJKNtidVgd49TTeNwYcpD+QKT2ynuEbibcQWe2QKrslMGe63gpS0MgZGpcpoKttL4OCXRFn98Xif557it+wSZUsvUDtImjDLvguyuyyFdIZtvIxIKEOPm3k2r4OjAGaFsGOuVbrKljvla7wdU7FYH3OlkNCP8b7PBj9SBkUyGoiAghET74P93AuVIIkdKGtQ=="

Result::

    {
      "domainInfos": [
        {
          "status": "REGISTERED",
          "name": "erontest"
        }
      ]
    }

When there are no further pages of results to retrieve, ``nextPageToken`` will not be returned in the results.

See Also
--------

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

Private