Skip to content

/AWS1/CL_NWM=>ASSOCIATETGWCONNECTPEER()

About AssociateTransitGatewayConnectPeer

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.

You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

You cannot associate a transit gateway Connect peer with more than one device and link.

Method Signature

IMPORTING

Required arguments:

IV_GLOBALNETWORKID TYPE /AWS1/NWMGLOBALNETWORKID /AWS1/NWMGLOBALNETWORKID

The ID of the global network.

IV_TGWCONNECTPEERARN TYPE /AWS1/NWMTGWCONNECTPEERARN /AWS1/NWMTGWCONNECTPEERARN

The Amazon Resource Name (ARN) of the Connect peer.

IV_DEVICEID TYPE /AWS1/NWMDEVICEID /AWS1/NWMDEVICEID

The ID of the device.

Optional arguments:

IV_LINKID TYPE /AWS1/NWMLINKID /AWS1/NWMLINKID

The ID of the link.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NWMASSCTGWCNCTPEERRSP /AWS1/CL_NWMASSCTGWCNCTPEERRSP