Class: Aws::EC2::Types::SearchTransitGatewayRoutesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SearchTransitGatewayRoutesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass SearchTransitGatewayRoutesRequest data as a hash:
{
transit_gateway_route_table_id: "String", # required
filters: [ # required
{
name: "String",
values: ["String"],
},
],
max_results: 1,
dry_run: false,
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#max_results ⇒ Integer
The maximum number of routes to return.
-
#transit_gateway_route_table_id ⇒ String
The ID of the transit gateway route table.
Instance Attribute Details
#dry_run ⇒ Boolean
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`.
33098 33099 33100 33101 33102 33103 33104 |
# File 'lib/aws-sdk-ec2/types.rb', line 33098 class SearchTransitGatewayRoutesRequest < Struct.new( :transit_gateway_route_table_id, :filters, :max_results, :dry_run) include Aws::Structure end |
#filters ⇒ Array<Types::Filter>
One or more filters. The possible values are:
-
‘transit-gateway-route-destination-cidr-block` - The CIDR range.
-
‘transit-gateway-route-state` - The state of the route (`active` | `blackhole`).
-
‘transit-gateway-route-transit-gateway-attachment-id` - The ID of the attachment.
-
‘transit-gateway-route-type` - The route type (`static` | `propagated`).
33098 33099 33100 33101 33102 33103 33104 |
# File 'lib/aws-sdk-ec2/types.rb', line 33098 class SearchTransitGatewayRoutesRequest < Struct.new( :transit_gateway_route_table_id, :filters, :max_results, :dry_run) include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of routes to return.
33098 33099 33100 33101 33102 33103 33104 |
# File 'lib/aws-sdk-ec2/types.rb', line 33098 class SearchTransitGatewayRoutesRequest < Struct.new( :transit_gateway_route_table_id, :filters, :max_results, :dry_run) include Aws::Structure end |
#transit_gateway_route_table_id ⇒ String
The ID of the transit gateway route table.
33098 33099 33100 33101 33102 33103 33104 |
# File 'lib/aws-sdk-ec2/types.rb', line 33098 class SearchTransitGatewayRoutesRequest < Struct.new( :transit_gateway_route_table_id, :filters, :max_results, :dry_run) include Aws::Structure end |