CmdID

CmdID / aws / aws networkmanager

aws networkmanager get-link-associations

Gets the link associations for a device or a link. 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 link associations

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

aws networkmanager get-link-associations --global-network-id global-network-01231231231231231Identify
--global-network-idThe ID of the global network.
Its output
{
    "LinkAssociations": [
        {
            "GlobalNetworkId": "global-network-01231231231231231",
            "DeviceId": "device-07f6fd08867abc123",
            "LinkId": "link-11112222aaaabbbb1",
            "LinkAssociationState": "AVAILABLE"
        }
    ]
}

For more information, see Associate or disassociate a device link using AWS Network Manager in the AWS Global Networks for Transit Gateways User Guide.

Options

5 in the AWS CLI reference
--device-idThe ID of the device.
--global-network-idThe ID of the global network.
--link-idThe ID of the link.
--max-resultsThe maximum number of results to return.
--next-tokenThe token for the next page of results.