pub struct AwsApiGatewayV2ApiDetails {
pub api_endpoint: Option<String>,
pub api_id: Option<String>,
pub api_key_selection_expression: Option<String>,
pub cors_configuration: Option<AwsCorsConfiguration>,
pub created_date: Option<String>,
pub description: Option<String>,
pub name: Option<String>,
pub protocol_type: Option<String>,
pub route_selection_expression: Option<String>,
pub version: Option<String>,
}
Expand description
Contains information about a version 2 API in Amazon API Gateway.
Fields
api_endpoint: Option<String>
The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
api_id: Option<String>
The identifier of the API.
api_key_selection_expression: Option<String>
An API key selection expression. Supported only for WebSocket APIs.
cors_configuration: Option<AwsCorsConfiguration>
A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.
created_date: Option<String>
Indicates when the API was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
description: Option<String>
A description of the API.
name: Option<String>
The name of the API.
protocol_type: Option<String>
The API protocol for the API.
Valid values: WEBSOCKET
| HTTP
route_selection_expression: Option<String>
The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}
. This is the default value for HTTP APIs.
For WebSocket APIs, there is no default value.
version: Option<String>
The version identifier for the API.
Trait Implementations
sourceimpl Clone for AwsApiGatewayV2ApiDetails
impl Clone for AwsApiGatewayV2ApiDetails
sourcefn clone(&self) -> AwsApiGatewayV2ApiDetails
fn clone(&self) -> AwsApiGatewayV2ApiDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsApiGatewayV2ApiDetails
impl Debug for AwsApiGatewayV2ApiDetails
sourceimpl Default for AwsApiGatewayV2ApiDetails
impl Default for AwsApiGatewayV2ApiDetails
sourcefn default() -> AwsApiGatewayV2ApiDetails
fn default() -> AwsApiGatewayV2ApiDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AwsApiGatewayV2ApiDetails
impl<'de> Deserialize<'de> for AwsApiGatewayV2ApiDetails
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AwsApiGatewayV2ApiDetails> for AwsApiGatewayV2ApiDetails
impl PartialEq<AwsApiGatewayV2ApiDetails> for AwsApiGatewayV2ApiDetails
sourcefn eq(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
fn eq(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
fn ne(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
This method tests for !=
.
sourceimpl Serialize for AwsApiGatewayV2ApiDetails
impl Serialize for AwsApiGatewayV2ApiDetails
impl StructuralPartialEq for AwsApiGatewayV2ApiDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsApiGatewayV2ApiDetails
impl Send for AwsApiGatewayV2ApiDetails
impl Sync for AwsApiGatewayV2ApiDetails
impl Unpin for AwsApiGatewayV2ApiDetails
impl UnwindSafe for AwsApiGatewayV2ApiDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more