#[non_exhaustive]pub struct AwsApiGatewayRestApiDetails { /* private fields */ }
Expand description
Contains information about a REST API in version 1 of Amazon API Gateway.
Implementations§
source§impl AwsApiGatewayRestApiDetails
impl AwsApiGatewayRestApiDetails
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the REST API.
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 binary_media_types(&self) -> Option<&[String]>
pub fn binary_media_types(&self) -> Option<&[String]>
The list of binary media types supported by the REST API.
sourcepub fn minimum_compression_size(&self) -> i32
pub fn minimum_compression_size(&self) -> i32
The minimum size in bytes of a payload before compression is enabled.
If null
, then compression is disabled.
If 0, then all payloads are compressed.
sourcepub fn api_key_source(&self) -> Option<&str>
pub fn api_key_source(&self) -> Option<&str>
The source of the API key for metering requests according to a usage plan.
HEADER
indicates whether to read the API key from the X-API-Key header of a request.
AUTHORIZER
indicates whether to read the API key from the UsageIdentifierKey
from a custom authorizer.
sourcepub fn endpoint_configuration(
&self
) -> Option<&AwsApiGatewayEndpointConfiguration>
pub fn endpoint_configuration(
&self
) -> Option<&AwsApiGatewayEndpointConfiguration>
The endpoint configuration of the REST API.
source§impl AwsApiGatewayRestApiDetails
impl AwsApiGatewayRestApiDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayRestApiDetails
.
Trait Implementations§
source§impl Clone for AwsApiGatewayRestApiDetails
impl Clone for AwsApiGatewayRestApiDetails
source§fn clone(&self) -> AwsApiGatewayRestApiDetails
fn clone(&self) -> AwsApiGatewayRestApiDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsApiGatewayRestApiDetails
impl Debug for AwsApiGatewayRestApiDetails
source§impl PartialEq<AwsApiGatewayRestApiDetails> for AwsApiGatewayRestApiDetails
impl PartialEq<AwsApiGatewayRestApiDetails> for AwsApiGatewayRestApiDetails
source§fn eq(&self, other: &AwsApiGatewayRestApiDetails) -> bool
fn eq(&self, other: &AwsApiGatewayRestApiDetails) -> bool
self
and other
values to be equal, and is used
by ==
.