[][src]Struct rusoto_apigatewayv2::UpdateRouteResponse

pub struct UpdateRouteResponse {
    pub api_key_required: Option<bool>,
    pub authorization_scopes: Option<Vec<String>>,
    pub authorization_type: Option<String>,
    pub authorizer_id: Option<String>,
    pub model_selection_expression: Option<String>,
    pub operation_name: Option<String>,
    pub request_models: Option<HashMap<String, String>>,
    pub request_parameters: Option<HashMap<String, ParameterConstraints>>,
    pub route_id: Option<String>,
    pub route_key: Option<String>,
    pub route_response_selection_expression: Option<String>,
    pub target: Option<String>,
}

Fields

api_key_required: Option<bool>

Specifies whether an API key is required for this route.

authorization_scopes: Option<Vec<String>>

A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS 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.

authorization_type: Option<String>

The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer

authorizer_id: Option<String>

The identifier of the Authorizer resource to be associated with this route, if the authorizationType is CUSTOM . The authorizer identifier is generated by API Gateway when you created the authorizer.

model_selection_expression: Option<String>

The model selection expression for the route.

operation_name: Option<String>

The operation name for the route.

request_models: Option<HashMap<String, String>>

The request models for the route.

request_parameters: Option<HashMap<String, ParameterConstraints>>

The request parameters for the route.

route_id: Option<String>

The route ID.

route_key: Option<String>

The route key for the route.

route_response_selection_expression: Option<String>

The route response selection expression for the route.

target: Option<String>

The target for the route.

Trait Implementations

impl PartialEq<UpdateRouteResponse> for UpdateRouteResponse[src]

impl Default for UpdateRouteResponse[src]

impl Clone for UpdateRouteResponse[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateRouteResponse[src]

impl<'de> Deserialize<'de> for UpdateRouteResponse[src]

Auto Trait Implementations

impl Send for UpdateRouteResponse

impl Sync for UpdateRouteResponse

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self