Struct aws_sdk_networkmanager::client::fluent_builders::GetNetworkRoutes [−][src]
pub struct GetNetworkRoutes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetNetworkRoutes
.
Gets the network routes of the specified global network.
Implementations
impl<C, M, R> GetNetworkRoutes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetNetworkRoutes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError>> where
R::Policy: SmithyRetryPolicy<GetNetworkRoutesInputOperationOutputAlias, GetNetworkRoutesOutput, GetNetworkRoutesError, GetNetworkRoutesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetNetworkRoutesOutput, SdkError<GetNetworkRoutesError>> where
R::Policy: SmithyRetryPolicy<GetNetworkRoutesInputOperationOutputAlias, GetNetworkRoutesOutput, GetNetworkRoutesError, GetNetworkRoutesInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the global network.
The ID of the global network.
The ID of the route table.
The ID of the route table.
Appends an item to ExactCidrMatches
.
To override the contents of this collection use set_exact_cidr_matches
.
An exact CIDR block.
An exact CIDR block.
Appends an item to LongestPrefixMatches
.
To override the contents of this collection use set_longest_prefix_matches
.
The most specific route that matches the traffic (longest prefix match).
The most specific route that matches the traffic (longest prefix match).
Appends an item to SubnetOfMatches
.
To override the contents of this collection use set_subnet_of_matches
.
The routes with a subnet that match the specified CIDR filter.
The routes with a subnet that match the specified CIDR filter.
Appends an item to SupernetOfMatches
.
To override the contents of this collection use set_supernet_of_matches
.
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
Appends an item to PrefixListIds
.
To override the contents of this collection use set_prefix_list_ids
.
The IDs of the prefix lists.
The IDs of the prefix lists.
Appends an item to States
.
To override the contents of this collection use set_states
.
The route states.
The route states.
Appends an item to Types
.
To override the contents of this collection use set_types
.
The route types.
Adds a key-value pair to DestinationFilters
.
To override the contents of this collection use set_destination_filters
.
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetNetworkRoutes<C, M, R>
impl<C, M, R> Send for GetNetworkRoutes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetNetworkRoutes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetNetworkRoutes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetNetworkRoutes<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more