Skip to content

/AWS1/CL_GAC=>LISTCUSTROUTINGPORTMAPSBYDST()

About ListCustomRoutingPortMappingsByDestination

List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.

Method Signature

IMPORTING

Required arguments:

IV_ENDPOINTID TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The ID for the virtual private cloud (VPC) subnet.

IV_DESTINATIONADDRESS TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The endpoint IP address in a virtual private cloud (VPC) subnet for which you want to receive back port mappings.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/GACPORTMAPSMAXRESULTS /AWS1/GACPORTMAPSMAXRESULTS

The number of destination port mappings that you want to return with this call. The default value is 10.

IV_NEXTTOKEN TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The token for the next set of results. You receive this token from a previous call.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GACLSTCUSTROUTINGPO03 /AWS1/CL_GACLSTCUSTROUTINGPO03