#[non_exhaustive]pub struct AwsApiGatewayV2StageDetails {Show 13 fields
pub client_certificate_id: Option<String>,
pub created_date: Option<String>,
pub description: Option<String>,
pub default_route_settings: Option<AwsApiGatewayV2RouteSettings>,
pub deployment_id: Option<String>,
pub last_updated_date: Option<String>,
pub route_settings: Option<AwsApiGatewayV2RouteSettings>,
pub stage_name: Option<String>,
pub stage_variables: Option<HashMap<String, String>>,
pub access_log_settings: Option<AwsApiGatewayAccessLogSettings>,
pub auto_deploy: bool,
pub last_deployment_status_message: Option<String>,
pub api_gateway_managed: bool,
}
Expand description
Contains information about a version 2 stage for Amazon API Gateway.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_certificate_id: Option<String>
The identifier of a client certificate for a stage. Supported only for WebSocket API calls.
created_date: Option<String>
Indicates when the stage 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>
The description of the stage.
default_route_settings: Option<AwsApiGatewayV2RouteSettings>
Default route settings for the stage.
deployment_id: Option<String>
The identifier of the deployment that the stage is associated with.
last_updated_date: Option<String>
Indicates when the stage was most recently updated.
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
.
route_settings: Option<AwsApiGatewayV2RouteSettings>
The route settings for the stage.
stage_name: Option<String>
The name of the stage.
stage_variables: Option<HashMap<String, String>>
A map that defines the stage variables for the stage.
Variable names can have alphanumeric and underscore characters.
Variable values can contain the following characters:
-
Uppercase and lowercase letters
-
Numbers
-
Special characters -._~:/?#&=,
access_log_settings: Option<AwsApiGatewayAccessLogSettings>
Information about settings for logging access for the stage.
auto_deploy: bool
Indicates whether updates to an API automatically trigger a new deployment.
last_deployment_status_message: Option<String>
The status of the last deployment of a stage. Supported only if the stage has automatic deployment enabled.
api_gateway_managed: bool
Indicates whether the stage is managed by API Gateway.
Implementations
sourceimpl AwsApiGatewayV2StageDetails
impl AwsApiGatewayV2StageDetails
sourcepub fn client_certificate_id(&self) -> Option<&str>
pub fn client_certificate_id(&self) -> Option<&str>
The identifier of a client certificate for a stage. Supported only for WebSocket API calls.
sourcepub fn created_date(&self) -> Option<&str>
pub fn created_date(&self) -> Option<&str>
Indicates when the stage 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>
The description of the stage.
sourcepub fn default_route_settings(&self) -> Option<&AwsApiGatewayV2RouteSettings>
pub fn default_route_settings(&self) -> Option<&AwsApiGatewayV2RouteSettings>
Default route settings for the stage.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The identifier of the deployment that the stage is associated with.
sourcepub fn last_updated_date(&self) -> Option<&str>
pub fn last_updated_date(&self) -> Option<&str>
Indicates when the stage was most recently updated.
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 route_settings(&self) -> Option<&AwsApiGatewayV2RouteSettings>
pub fn route_settings(&self) -> Option<&AwsApiGatewayV2RouteSettings>
The route settings for the stage.
sourcepub fn stage_name(&self) -> Option<&str>
pub fn stage_name(&self) -> Option<&str>
The name of the stage.
sourcepub fn stage_variables(&self) -> Option<&HashMap<String, String>>
pub fn stage_variables(&self) -> Option<&HashMap<String, String>>
A map that defines the stage variables for the stage.
Variable names can have alphanumeric and underscore characters.
Variable values can contain the following characters:
-
Uppercase and lowercase letters
-
Numbers
-
Special characters -._~:/?#&=,
sourcepub fn access_log_settings(&self) -> Option<&AwsApiGatewayAccessLogSettings>
pub fn access_log_settings(&self) -> Option<&AwsApiGatewayAccessLogSettings>
Information about settings for logging access for the stage.
sourcepub fn auto_deploy(&self) -> bool
pub fn auto_deploy(&self) -> bool
Indicates whether updates to an API automatically trigger a new deployment.
sourcepub fn last_deployment_status_message(&self) -> Option<&str>
pub fn last_deployment_status_message(&self) -> Option<&str>
The status of the last deployment of a stage. Supported only if the stage has automatic deployment enabled.
sourcepub fn api_gateway_managed(&self) -> bool
pub fn api_gateway_managed(&self) -> bool
Indicates whether the stage is managed by API Gateway.
sourceimpl AwsApiGatewayV2StageDetails
impl AwsApiGatewayV2StageDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayV2StageDetails
Trait Implementations
sourceimpl Clone for AwsApiGatewayV2StageDetails
impl Clone for AwsApiGatewayV2StageDetails
sourcefn clone(&self) -> AwsApiGatewayV2StageDetails
fn clone(&self) -> AwsApiGatewayV2StageDetails
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 AwsApiGatewayV2StageDetails
impl Debug for AwsApiGatewayV2StageDetails
sourceimpl PartialEq<AwsApiGatewayV2StageDetails> for AwsApiGatewayV2StageDetails
impl PartialEq<AwsApiGatewayV2StageDetails> for AwsApiGatewayV2StageDetails
sourcefn eq(&self, other: &AwsApiGatewayV2StageDetails) -> bool
fn eq(&self, other: &AwsApiGatewayV2StageDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsApiGatewayV2StageDetails) -> bool
fn ne(&self, other: &AwsApiGatewayV2StageDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsApiGatewayV2StageDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsApiGatewayV2StageDetails
impl Send for AwsApiGatewayV2StageDetails
impl Sync for AwsApiGatewayV2StageDetails
impl Unpin for AwsApiGatewayV2StageDetails
impl UnwindSafe for AwsApiGatewayV2StageDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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