#[non_exhaustive]pub struct SearchLocalGatewayRoutesInput {
pub local_gateway_route_table_id: Option<String>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.local_gateway_route_table_id: Option<String>
The ID of the local gateway route table.
filters: Option<Vec<Filter>>
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-match
as 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: Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
next_token: Option<String>
The token for the next page of results.
dry_run: Option<bool>
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
.
Implementations§
source§impl SearchLocalGatewayRoutesInput
impl SearchLocalGatewayRoutesInput
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
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-match
as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route. -
type
- The route type.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
source§impl SearchLocalGatewayRoutesInput
impl SearchLocalGatewayRoutesInput
sourcepub fn builder() -> SearchLocalGatewayRoutesInputBuilder
pub fn builder() -> SearchLocalGatewayRoutesInputBuilder
Creates a new builder-style object to manufacture SearchLocalGatewayRoutesInput
.
Trait Implementations§
source§impl Clone for SearchLocalGatewayRoutesInput
impl Clone for SearchLocalGatewayRoutesInput
source§fn clone(&self) -> SearchLocalGatewayRoutesInput
fn clone(&self) -> SearchLocalGatewayRoutesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<SearchLocalGatewayRoutesInput> for SearchLocalGatewayRoutesInput
impl PartialEq<SearchLocalGatewayRoutesInput> for SearchLocalGatewayRoutesInput
source§fn eq(&self, other: &SearchLocalGatewayRoutesInput) -> bool
fn eq(&self, other: &SearchLocalGatewayRoutesInput) -> bool
self
and other
values to be equal, and is used
by ==
.