http://networkmanager.{region}.amazonaws.com/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations<p>Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device. </p> <p>You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.</p> <p>You cannot associate a transit gateway Connect peer with more than one device and link. </p>
The ID of the global network.
The ID of the link.
The ID of the device.
The Amazon Resource Name (ARN) of the Connect peer.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://networkmanager.{region}.amazonaws.com/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://networkmanager.{region}.amazonaws.com/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations<p>Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device. </p> <p>You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.</p> <p>You cannot associate a transit gateway Connect peer with more than one device and link. </p>
The ID of the global network.
The ID of the link.
The ID of the device.
The Amazon Resource Name (ARN) of the Connect peer.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://networkmanager.{region}.amazonaws.com/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}