https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/codestar-connections/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/codestar-connections/list-hosts.rst
**To list hosts**

The following ``list-hosts`` example retrieves a list of all hosts in your account. ::

    aws codestar-connections list-hosts

Output::

    {
        "Hosts": [
            {
                "Name": "My-Host",
                "HostArn": "arn:aws:codestar-connections:us-east-1:123456789012:host/My-Host-28aef605",
                "ProviderType": "GitHubEnterpriseServer",
                "ProviderEndpoint": "https://my-instance.test.dev",
                "Status": "AVAILABLE"
            }
        ]
    }

For more information, see `List hosts (CLI) <https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-host-list.html>`__ in the *Developer Tools console User Guide*.

https://t.me/RX1948 - 2025