[][src]Struct rusoto_apigatewayv2::Api

pub struct Api {
    pub api_endpoint: Option<String>,
    pub api_id: Option<String>,
    pub api_key_selection_expression: Option<String>,
    pub cors_configuration: Option<Cors>,
    pub created_date: Option<f64>,
    pub description: Option<String>,
    pub disable_schema_validation: Option<bool>,
    pub import_info: Option<Vec<String>>,
    pub name: String,
    pub protocol_type: String,
    pub route_selection_expression: String,
    pub tags: Option<HashMap<String, String>>,
    pub version: Option<String>,
    pub warnings: Option<Vec<String>>,
}

Represents an API.

Fields

api_endpoint: Option<String>

The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

api_id: Option<String>

The API ID.

api_key_selection_expression: Option<String>

An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

cors_configuration: Option<Cors>

A CORS configuration. Supported only for HTTP APIs.

created_date: Option<f64>

The timestamp when the API was created.

description: Option<String>

The description of the API.

disable_schema_validation: Option<bool>

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

import_info: Option<Vec<String>>

The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.

name: String

The name of the API.

protocol_type: String

The API protocol.

route_selection_expression: String

The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

tags: Option<HashMap<String, String>>

A collection of tags associated with the API.

version: Option<String>

A version identifier for the API.

warnings: Option<Vec<String>>

The warning messages reported when failonwarnings is turned on during API import.

Trait Implementations

impl Clone for Api[src]

impl Debug for Api[src]

impl Default for Api[src]

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

impl PartialEq<Api> for Api[src]

impl StructuralPartialEq for Api[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.