#[non_exhaustive]pub struct GetRouteResponsesInput { /* private fields */ }Implementations§
source§impl GetRouteResponsesInput
impl GetRouteResponsesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRouteResponses, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRouteResponses, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetRouteResponses>
Examples found in repository?
src/client.rs (line 6789)
6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetRouteResponses,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetRouteResponsesError>,
> {
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::GetRouteResponsesOutput,
aws_smithy_http::result::SdkError<crate::error::GetRouteResponsesError>,
> {
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 GetRouteResponsesInput.
source§impl GetRouteResponsesInput
impl GetRouteResponsesInput
sourcepub fn max_results(&self) -> Option<&str>
pub fn max_results(&self) -> Option<&str>
The maximum number of elements to be returned for this resource.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next page of elements from this collection. Not valid for the last element of the collection.
Trait Implementations§
source§impl Clone for GetRouteResponsesInput
impl Clone for GetRouteResponsesInput
source§fn clone(&self) -> GetRouteResponsesInput
fn clone(&self) -> GetRouteResponsesInput
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