#[non_exhaustive]pub struct UpdateRouteOutput { /* private fields */ }Implementations§
source§impl UpdateRouteOutput
impl UpdateRouteOutput
sourcepub fn api_gateway_managed(&self) -> Option<bool>
pub fn api_gateway_managed(&self) -> Option<bool>
Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.
sourcepub fn api_key_required(&self) -> Option<bool>
pub fn api_key_required(&self) -> Option<bool>
Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.
sourcepub fn model_selection_expression(&self) -> Option<&str>
pub fn model_selection_expression(&self) -> Option<&str>
The model selection expression for the route. Supported only for WebSocket APIs.
sourcepub fn operation_name(&self) -> Option<&str>
pub fn operation_name(&self) -> Option<&str>
The operation name for the route.
sourcepub fn request_models(&self) -> Option<&HashMap<String, String>>
pub fn request_models(&self) -> Option<&HashMap<String, String>>
The request models for the route. Supported only for WebSocket APIs.
sourcepub fn request_parameters(
&self
) -> Option<&HashMap<String, ParameterConstraints>>
pub fn request_parameters( &self ) -> Option<&HashMap<String, ParameterConstraints>>
The request parameters for the route. Supported only for WebSocket APIs.
sourcepub fn route_response_selection_expression(&self) -> Option<&str>
pub fn route_response_selection_expression(&self) -> Option<&str>
The route response selection expression for the route. Supported only for WebSocket APIs.
source§impl UpdateRouteOutput
impl UpdateRouteOutput
sourcepub fn builder() -> UpdateRouteOutputBuilder
pub fn builder() -> UpdateRouteOutputBuilder
Creates a new builder-style object to manufacture UpdateRouteOutput.
Trait Implementations§
source§impl Clone for UpdateRouteOutput
impl Clone for UpdateRouteOutput
source§fn clone(&self) -> UpdateRouteOutput
fn clone(&self) -> UpdateRouteOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateRouteOutput
impl Debug for UpdateRouteOutput
source§impl PartialEq<UpdateRouteOutput> for UpdateRouteOutput
impl PartialEq<UpdateRouteOutput> for UpdateRouteOutput
source§fn eq(&self, other: &UpdateRouteOutput) -> bool
fn eq(&self, other: &UpdateRouteOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for UpdateRouteOutput
impl RequestId for UpdateRouteOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.