#[non_exhaustive]pub struct AwsApiGatewayV2ApiDetails { /* private fields */ }
Expand description
Contains information about a version 2 API in Amazon API Gateway.
Implementations§
source§impl AwsApiGatewayV2ApiDetails
impl AwsApiGatewayV2ApiDetails
sourcepub fn api_endpoint(&self) -> Option<&str>
pub fn api_endpoint(&self) -> Option<&str>
The URI of the API.
Uses the format
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
sourcepub fn api_key_selection_expression(&self) -> Option<&str>
pub fn api_key_selection_expression(&self) -> Option<&str>
An API key selection expression. Supported only for WebSocket APIs.
sourcepub fn created_date(&self) -> Option<&str>
pub fn created_date(&self) -> Option<&str>
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
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the API.
sourcepub fn protocol_type(&self) -> Option<&str>
pub fn protocol_type(&self) -> Option<&str>
The API protocol for the API.
Valid values: WEBSOCKET
| HTTP
sourcepub fn route_selection_expression(&self) -> Option<&str>
pub fn route_selection_expression(&self) -> Option<&str>
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.
sourcepub fn cors_configuration(&self) -> Option<&AwsCorsConfiguration>
pub fn cors_configuration(&self) -> Option<&AwsCorsConfiguration>
A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.
source§impl AwsApiGatewayV2ApiDetails
impl AwsApiGatewayV2ApiDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayV2ApiDetails
.
Trait Implementations§
source§impl Clone for AwsApiGatewayV2ApiDetails
impl Clone for AwsApiGatewayV2ApiDetails
source§fn clone(&self) -> AwsApiGatewayV2ApiDetails
fn clone(&self) -> AwsApiGatewayV2ApiDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsApiGatewayV2ApiDetails
impl Debug for AwsApiGatewayV2ApiDetails
source§impl PartialEq<AwsApiGatewayV2ApiDetails> for AwsApiGatewayV2ApiDetails
impl PartialEq<AwsApiGatewayV2ApiDetails> for AwsApiGatewayV2ApiDetails
source§fn eq(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
fn eq(&self, other: &AwsApiGatewayV2ApiDetails) -> bool
self
and other
values to be equal, and is used
by ==
.