⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
swf
/
View File Name :
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
`__ in the *Amazon Simple Workflow Service API Reference*