Struct aws_sdk_apigatewayv2::client::fluent_builders::UpdateRouteResponse [−][src]
pub struct UpdateRouteResponse<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateRouteResponse
.
Updates a RouteResponse.
Implementations
impl<C, M, R> UpdateRouteResponse<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateRouteResponse<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateRouteResponseOutput, SdkError<UpdateRouteResponseError>> where
R::Policy: SmithyRetryPolicy<UpdateRouteResponseInputOperationOutputAlias, UpdateRouteResponseOutput, UpdateRouteResponseError, UpdateRouteResponseInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateRouteResponseOutput, SdkError<UpdateRouteResponseError>> where
R::Policy: SmithyRetryPolicy<UpdateRouteResponseInputOperationOutputAlias, UpdateRouteResponseOutput, UpdateRouteResponseError, UpdateRouteResponseInputOperationRetryAlias>,
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, which can be set when configuring the client.
The API identifier.
The model selection expression for the route response. Supported only for WebSocket APIs.
The model selection expression for the route response. Supported only for WebSocket APIs.
Adds a key-value pair to ResponseModels
.
To override the contents of this collection use set_response_models
.
The response models for the route response.
The response models for the route response.
Adds a key-value pair to ResponseParameters
.
To override the contents of this collection use set_response_parameters
.
The route response parameters.
pub fn set_response_parameters(
self,
input: Option<HashMap<String, ParameterConstraints>>
) -> Self
pub fn set_response_parameters(
self,
input: Option<HashMap<String, ParameterConstraints>>
) -> Self
The route response parameters.
The route ID.
The route response ID.
The route response ID.
The route response key.
The route response key.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateRouteResponse<C, M, R>
impl<C, M, R> Send for UpdateRouteResponse<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateRouteResponse<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateRouteResponse<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateRouteResponse<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more