#[non_exhaustive]pub struct GetRouteAnalysisInput { /* private fields */ }Implementations§
source§impl GetRouteAnalysisInput
impl GetRouteAnalysisInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRouteAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRouteAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetRouteAnalysis>
Examples found in repository?
src/client.rs (line 7376)
7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetRouteAnalysis,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetRouteAnalysisError>,
> {
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::GetRouteAnalysisOutput,
aws_smithy_http::result::SdkError<crate::error::GetRouteAnalysisError>,
> {
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 GetRouteAnalysisInput.
source§impl GetRouteAnalysisInput
impl GetRouteAnalysisInput
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_analysis_id(&self) -> Option<&str>
pub fn route_analysis_id(&self) -> Option<&str>
The ID of the route analysis.
Trait Implementations§
source§impl Clone for GetRouteAnalysisInput
impl Clone for GetRouteAnalysisInput
source§fn clone(&self) -> GetRouteAnalysisInput
fn clone(&self) -> GetRouteAnalysisInput
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