#[non_exhaustive]pub struct GetNetworkRoutesInput { /* private fields */ }Implementations§
source§impl GetNetworkRoutesInput
impl GetNetworkRoutesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkRoutes, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkRoutes, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetNetworkRoutes>
Examples found in repository?
src/client.rs (line 6857)
6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetNetworkRoutes,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetNetworkRoutesError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GetNetworkRoutesOutput,
aws_smithy_http::result::SdkError<crate::error::GetNetworkRoutesError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetNetworkRoutesInput.
source§impl GetNetworkRoutesInput
impl GetNetworkRoutesInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn route_table_identifier(&self) -> Option<&RouteTableIdentifier>
pub fn route_table_identifier(&self) -> Option<&RouteTableIdentifier>
The ID of the route table.
sourcepub fn exact_cidr_matches(&self) -> Option<&[String]>
pub fn exact_cidr_matches(&self) -> Option<&[String]>
An exact CIDR block.
sourcepub fn longest_prefix_matches(&self) -> Option<&[String]>
pub fn longest_prefix_matches(&self) -> Option<&[String]>
The most specific route that matches the traffic (longest prefix match).
sourcepub fn subnet_of_matches(&self) -> Option<&[String]>
pub fn subnet_of_matches(&self) -> Option<&[String]>
The routes with a subnet that match the specified CIDR filter.
sourcepub fn supernet_of_matches(&self) -> Option<&[String]>
pub fn supernet_of_matches(&self) -> Option<&[String]>
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.
sourcepub fn prefix_list_ids(&self) -> Option<&[String]>
pub fn prefix_list_ids(&self) -> Option<&[String]>
The IDs of the prefix lists.
sourcepub fn states(&self) -> Option<&[RouteState]>
pub fn states(&self) -> Option<&[RouteState]>
The route states.
Trait Implementations§
source§impl Clone for GetNetworkRoutesInput
impl Clone for GetNetworkRoutesInput
source§fn clone(&self) -> GetNetworkRoutesInput
fn clone(&self) -> GetNetworkRoutesInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more