[][src]Struct rusoto_apigatewayv2::CreateRouteRequest

pub struct CreateRouteRequest {
    pub api_id: String,
    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_key: String,
    pub route_response_selection_expression: Option<String>,
    pub target: Option<String>,
}

Fields

api_id: String

The API identifier.

api_key_required: Option<bool>

Specifies whether an API key is required for the route.

authorization_scopes: Option<Vec<String>>

The authorization scopes supported by this route.

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_key: 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 Clone for CreateRouteRequest[src]

impl Default for CreateRouteRequest[src]

impl PartialEq<CreateRouteRequest> for CreateRouteRequest[src]

impl Debug for CreateRouteRequest[src]

impl Serialize for CreateRouteRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self