CmdID

CmdID / aws / aws networkmanager

aws networkmanager get-sites

Gets information about one or more of your sites in a global network. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get your sites

The following get-sites example gets the sites in the specified global network.

aws networkmanager get-sites --global-network-id global-network-01231231231231231Identify
--global-network-idThe ID of the global network.
Its output
{
    "Sites": [
        {
            "SiteId": "site-444555aaabbb11223",
            "SiteArn": "arn:aws:networkmanager::123456789012:site/global-network-01231231231231231/site-444555aaabbb11223",
            "GlobalNetworkId": "global-network-01231231231231231",
            "Description": "NY head office",
            "Location": {
                "Latitude": "40.7128",
                "Longitude": "-74.0060"
            },
            "CreatedAt": 1575554528.0,
            "State": "AVAILABLE"
        }
    ]
}

For more information, see Sites and links in AWS Global Networks for Transit Gateways in the AWS Global Networks for Transit Gateways User Guide.

Options

4 in the AWS CLI reference
--global-network-idThe ID of the global network.
--max-resultsThe maximum number of results to return.
--next-tokenThe token for the next page of results.
--site-idsOne or more site IDs.