Skip to content

/AWS1/CL_EC2=>GETTGWPREFIXLISTREFERENCES()

About GetTransitGatewayPrefixListReferences

Gets information about the prefix list references in a specified transit gateway route table.

Method Signature

IMPORTING

Required arguments:

IV_TGWROUTETABLEID TYPE /AWS1/EC2TGWROUTETABLEID /AWS1/EC2TGWROUTETABLEID

The ID of the transit gateway route table.

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

One or more filters. The possible values are:

  • attachment.resource-id - The ID of the resource for the attachment.

  • attachment.resource-type - The type of resource for the attachment. Valid values are vpc | vpn | direct-connect-gateway | peering.

  • attachment.transit-gateway-attachment-id - The ID of the attachment.

  • is-blackhole - Whether traffic matching the route is blocked (true | false).

  • prefix-list-id - The ID of the prefix list.

  • prefix-list-owner-id - The ID of the owner of the prefix list.

  • state - The state of the prefix list reference (pending | available | modifying | deleting).

IV_MAXRESULTS TYPE /AWS1/EC2TGWMAXRESULTS /AWS1/EC2TGWMAXRESULTS

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token for the next page of results.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETTGWPREFIXLSTR01 /AWS1/CL_EC2GETTGWPREFIXLSTR01