search_local_gateway_routes
¶
search_local_gateway_routes(
*,
config_overrides: Optional[EC2ClientConfig] = None,
local_gateway_route_table_id: Optional[LocalGatewayRoutetableId] = None,
filters: Optional[FilterList] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> SearchLocalGatewayRoutesResult
Searches for routes in the specified local gateway route table.
Parameters:
-
local_gateway_route_table_id(Optional[LocalGatewayRoutetableId], default:None) –The ID of the local gateway route table.
-
filters(Optional[FilterList], default:None) –One or more filters.
-
prefix-list-id- The ID of the prefix list. -
route-search.exact-match- The exact match of the specified filter. -
route-search.longest-prefix-match- The longest prefix that matches the route. -
route-search.subnet-of-match- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specifysupernet-of-matchas 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state- The state of the route. -
type- The route type.
-
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[String], default:None) –The token for the next page of results.
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
59021 59022 59023 59024 59025 59026 59027 59028 59029 59030 59031 59032 59033 59034 59035 59036 59037 59038 59039 59040 59041 59042 59043 59044 59045 59046 59047 59048 59049 59050 59051 59052 59053 59054 59055 59056 59057 59058 59059 59060 59061 59062 59063 59064 59065 59066 59067 59068 59069 59070 59071 59072 59073 59074 59075 59076 59077 59078 59079 59080 59081 | |