CmdID

CmdID / aws / aws networkmanager

aws networkmanager get-devices

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

1 example 5 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 devices

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

aws networkmanager get-devices --global-network-id global-network-01231231231231231Identify
--global-network-idThe ID of the global network.
Its output
{
    "Devices": [
        {
            "DeviceId": "device-07f6fd08867abc123",
            "DeviceArn": "arn:aws:networkmanager::123456789012:device/global-network-01231231231231231/device-07f6fd08867abc123",
            "GlobalNetworkId": "global-network-01231231231231231",
            "Description": "NY office device",
            "Type": "office device",
            "Vendor": "anycompany",
            "Model": "abcabc",
            "SerialNumber": "1234",
            "CreatedAt": 1575554005.0,
            "State": "AVAILABLE"
        }
    ]
}

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

Options

5 in the AWS CLI reference
--device-idsOne or more device IDs.
--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-idThe ID of the site.