#[non_exhaustive]pub struct UpdateRouteResponseInput { /* private fields */ }Expand description
Updates a RouteResponse.
Implementations§
source§impl UpdateRouteResponseInput
impl UpdateRouteResponseInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRouteResponse, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRouteResponse, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRouteResponse>
Examples found in repository?
src/client.rs (line 9589)
9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateRouteResponse,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateRouteResponseError>,
> {
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::UpdateRouteResponseOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateRouteResponseError>,
> {
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 UpdateRouteResponseInput.
source§impl UpdateRouteResponseInput
impl UpdateRouteResponseInput
sourcepub fn model_selection_expression(&self) -> Option<&str>
pub fn model_selection_expression(&self) -> Option<&str>
The model selection expression for the route response. Supported only for WebSocket APIs.
sourcepub fn response_models(&self) -> Option<&HashMap<String, String>>
pub fn response_models(&self) -> Option<&HashMap<String, String>>
The response models for the route response.
sourcepub fn response_parameters(
&self
) -> Option<&HashMap<String, ParameterConstraints>>
pub fn response_parameters(
&self
) -> Option<&HashMap<String, ParameterConstraints>>
The route response parameters.
sourcepub fn route_response_id(&self) -> Option<&str>
pub fn route_response_id(&self) -> Option<&str>
The route response ID.
sourcepub fn route_response_key(&self) -> Option<&str>
pub fn route_response_key(&self) -> Option<&str>
The route response key.
Trait Implementations§
source§impl Clone for UpdateRouteResponseInput
impl Clone for UpdateRouteResponseInput
source§fn clone(&self) -> UpdateRouteResponseInput
fn clone(&self) -> UpdateRouteResponseInput
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