#[non_exhaustive]pub struct DescribeRouterConfigurationInput { /* private fields */ }Expand description
Provides the details about a virtual interface's router.
Implementations§
source§impl DescribeRouterConfigurationInput
impl DescribeRouterConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRouterConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRouterConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeRouterConfiguration>
Examples found in repository?
src/client.rs (line 6078)
6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeRouterConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeRouterConfigurationError>,
> {
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::DescribeRouterConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeRouterConfigurationError>,
> {
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 DescribeRouterConfigurationInput.
source§impl DescribeRouterConfigurationInput
impl DescribeRouterConfigurationInput
sourcepub fn virtual_interface_id(&self) -> Option<&str>
pub fn virtual_interface_id(&self) -> Option<&str>
The ID of the virtual interface.
sourcepub fn router_type_identifier(&self) -> Option<&str>
pub fn router_type_identifier(&self) -> Option<&str>
Identifies the router by a combination of vendor, platform, and software version. For example, CiscoSystemsInc-2900SeriesRouters-IOS124.
Trait Implementations§
source§impl Clone for DescribeRouterConfigurationInput
impl Clone for DescribeRouterConfigurationInput
source§fn clone(&self) -> DescribeRouterConfigurationInput
fn clone(&self) -> DescribeRouterConfigurationInput
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