[][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 created_date: Option<f64>,
    pub description: Option<String>,
    pub disable_schema_validation: Option<bool>,
    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. See API Key Selection Expressions.

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.

name: String

The name of the API.

protocol_type: String

The API protocol: Currently only WEBSOCKET is supported.

route_selection_expression: String

The route selection expression for the API.

tags: Option<HashMap<String, String>>

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters..

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 Default for Api[src]

impl PartialEq<Api> for Api[src]

impl Debug for Api[src]

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

Auto Trait Implementations

impl Send for Api

impl Sync for Api

impl Unpin for Api

impl UnwindSafe for Api

impl RefUnwindSafe for Api

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self