[][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 PartialEq<CreateRouteRequest> for CreateRouteRequest[src]

impl Default for CreateRouteRequest[src]

impl Clone for CreateRouteRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for CreateRouteRequest[src]

impl Serialize for CreateRouteRequest[src]

Auto Trait Implementations

impl Send for CreateRouteRequest

impl Sync for CreateRouteRequest

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> Erased for T

impl<T> Same for T

type Output = T

Should always be Self