View a markdown version of this page

GetTransitGatewayPolicyTableEntries - Amazon Elastic Compute Cloud

GetTransitGatewayPolicyTableEntries

Returns a list of transit gateway policy table entries.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

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.

Type: Boolean

Required: No

Filter.N

One or more filters. The possible values are:

  • policy-rule-number - The rule number for the transit gateway policy table entry.

  • target-route-table-id - The ID of the target route table.

  • policy-rule.source-ip - The source CIDR block for the policy rule.

  • policy-rule.destination-ip - The destination CIDR block for the policy rule.

  • policy-rule.source-port - The source port or port range for the policy rule.

  • policy-rule.destination-port - The destination port or port range for the policy rule.

  • policy-rule.protocol - The protocol for the policy rule.

  • policy-rule.meta-data.key - The metadata key for the policy rule.

  • policy-rule.meta-data.value - The metadata value for the policy rule.

Type: Array of Filter objects

Required: No

MaxResults

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

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 1000.

Required: No

NextToken

The token for the next page of results.

Type: String

Required: No

TransitGatewayPolicyTableId

The ID of the transit gateway policy table.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

transitGatewayPolicyTableEntries

The entries for the transit gateway policy table.

Type: Array of TransitGatewayPolicyTableEntry objects

Errors

For information about the errors that are common to all actions, see Common Error Types.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: