CmdID / aws / aws networkmanager
aws networkmanager disassociate-link
Disassociates an existing device from a link. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To disassociate a link
The following disassociate-link example disassociates the specified link from device device-07f6fd08867abc123 in the specified global network.
aws networkmanager disassociate-link --global-network-id global-network-01231231231231231 --device-id device-07f6fd08867abc123 --link-id link-11112222aaaabbbb1Identify--global-network-idThe ID of the global network.--device-idThe ID of the device.--link-idThe ID of the link.Its output
{
"LinkAssociation": {
"GlobalNetworkId": "global-network-01231231231231231",
"DeviceId": "device-07f6fd08867abc123",
"LinkId": "link-11112222aaaabbbb1",
"LinkAssociationState": "DELETING"
}
}For more information, see Associate or disassociate a device link using AWS Network Manager in the Transit Gateway Network Manager Guide.
Options
--device-idThe ID of the device.--global-network-idThe ID of the global network.--link-idThe ID of the link.