#[non_exhaustive]pub struct UpdateRouteResponseInput {
pub api_id: Option<String>,
pub model_selection_expression: Option<String>,
pub response_models: Option<HashMap<String, String>>,
pub response_parameters: Option<HashMap<String, ParameterConstraints>>,
pub route_id: Option<String>,
pub route_response_id: Option<String>,
pub route_response_key: Option<String>,
}Expand description
Updates a RouteResponse.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.api_id: Option<String>The API identifier.
model_selection_expression: Option<String>The model selection expression for the route response. Supported only for WebSocket APIs.
response_models: Option<HashMap<String, String>>The response models for the route response.
response_parameters: Option<HashMap<String, ParameterConstraints>>The route response parameters.
route_id: Option<String>The route ID.
route_response_id: Option<String>The route response ID.
route_response_key: Option<String>The route response key.
Implementations§
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.
source§impl UpdateRouteResponseInput
impl UpdateRouteResponseInput
sourcepub fn builder() -> UpdateRouteResponseInputBuilder
pub fn builder() -> UpdateRouteResponseInputBuilder
Creates a new builder-style object to manufacture UpdateRouteResponseInput.
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 moresource§impl Debug for UpdateRouteResponseInput
impl Debug for UpdateRouteResponseInput
source§impl PartialEq for UpdateRouteResponseInput
impl PartialEq for UpdateRouteResponseInput
source§fn eq(&self, other: &UpdateRouteResponseInput) -> bool
fn eq(&self, other: &UpdateRouteResponseInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRouteResponseInput
Auto Trait Implementations§
impl Freeze for UpdateRouteResponseInput
impl RefUnwindSafe for UpdateRouteResponseInput
impl Send for UpdateRouteResponseInput
impl Sync for UpdateRouteResponseInput
impl Unpin for UpdateRouteResponseInput
impl UnwindSafe for UpdateRouteResponseInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.