#[non_exhaustive]pub struct AwsApiGatewayStageDetails {Show 16 fields
pub deployment_id: Option<String>,
pub client_certificate_id: Option<String>,
pub stage_name: Option<String>,
pub description: Option<String>,
pub cache_cluster_enabled: bool,
pub cache_cluster_size: Option<String>,
pub cache_cluster_status: Option<String>,
pub method_settings: Option<Vec<AwsApiGatewayMethodSettings>>,
pub variables: Option<HashMap<String, String>>,
pub documentation_version: Option<String>,
pub access_log_settings: Option<AwsApiGatewayAccessLogSettings>,
pub canary_settings: Option<AwsApiGatewayCanarySettings>,
pub tracing_enabled: bool,
pub created_date: Option<String>,
pub last_updated_date: Option<String>,
pub web_acl_arn: Option<String>,
}
Expand description
Provides information about a version 1 Amazon API Gateway stage.
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.deployment_id: Option<String>
The identifier of the deployment that the stage points to.
client_certificate_id: Option<String>
The identifier of the client certificate for the stage.
stage_name: Option<String>
The name of the stage.
description: Option<String>
A description of the stage.
cache_cluster_enabled: bool
Indicates whether a cache cluster is enabled for the stage.
cache_cluster_size: Option<String>
If a cache cluster is enabled, the size of the cache cluster.
cache_cluster_status: Option<String>
If a cache cluster is enabled, the status of the cache cluster.
method_settings: Option<Vec<AwsApiGatewayMethodSettings>>
Defines the method settings for the 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 -._~:/?#&=,
documentation_version: Option<String>
The version of the API documentation that is associated with the stage.
access_log_settings: Option<AwsApiGatewayAccessLogSettings>
Settings for logging access for the stage.
canary_settings: Option<AwsApiGatewayCanarySettings>
Information about settings for canary deployment in the stage.
tracing_enabled: bool
Indicates whether active tracing with X-Ray is enabled for the stage.
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
.
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
.
web_acl_arn: Option<String>
The ARN of the web ACL associated with the stage.
Implementations
sourceimpl AwsApiGatewayStageDetails
impl AwsApiGatewayStageDetails
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The identifier of the deployment that the stage points to.
sourcepub fn client_certificate_id(&self) -> Option<&str>
pub fn client_certificate_id(&self) -> Option<&str>
The identifier of the client certificate for the stage.
sourcepub fn stage_name(&self) -> Option<&str>
pub fn stage_name(&self) -> Option<&str>
The name of the stage.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the stage.
sourcepub fn cache_cluster_enabled(&self) -> bool
pub fn cache_cluster_enabled(&self) -> bool
Indicates whether a cache cluster is enabled for the stage.
sourcepub fn cache_cluster_size(&self) -> Option<&str>
pub fn cache_cluster_size(&self) -> Option<&str>
If a cache cluster is enabled, the size of the cache cluster.
sourcepub fn cache_cluster_status(&self) -> Option<&str>
pub fn cache_cluster_status(&self) -> Option<&str>
If a cache cluster is enabled, the status of the cache cluster.
sourcepub fn method_settings(&self) -> Option<&[AwsApiGatewayMethodSettings]>
pub fn method_settings(&self) -> Option<&[AwsApiGatewayMethodSettings]>
Defines the method settings for the stage.
sourcepub fn variables(&self) -> Option<&HashMap<String, String>>
pub fn 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 documentation_version(&self) -> Option<&str>
pub fn documentation_version(&self) -> Option<&str>
The version of the API documentation that is associated with the stage.
sourcepub fn access_log_settings(&self) -> Option<&AwsApiGatewayAccessLogSettings>
pub fn access_log_settings(&self) -> Option<&AwsApiGatewayAccessLogSettings>
Settings for logging access for the stage.
sourcepub fn canary_settings(&self) -> Option<&AwsApiGatewayCanarySettings>
pub fn canary_settings(&self) -> Option<&AwsApiGatewayCanarySettings>
Information about settings for canary deployment in the stage.
sourcepub fn tracing_enabled(&self) -> bool
pub fn tracing_enabled(&self) -> bool
Indicates whether active tracing with X-Ray is enabled for the stage.
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 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 web_acl_arn(&self) -> Option<&str>
pub fn web_acl_arn(&self) -> Option<&str>
The ARN of the web ACL associated with the stage.
sourceimpl AwsApiGatewayStageDetails
impl AwsApiGatewayStageDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsApiGatewayStageDetails
Trait Implementations
sourceimpl Clone for AwsApiGatewayStageDetails
impl Clone for AwsApiGatewayStageDetails
sourcefn clone(&self) -> AwsApiGatewayStageDetails
fn clone(&self) -> AwsApiGatewayStageDetails
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 AwsApiGatewayStageDetails
impl Debug for AwsApiGatewayStageDetails
sourceimpl PartialEq<AwsApiGatewayStageDetails> for AwsApiGatewayStageDetails
impl PartialEq<AwsApiGatewayStageDetails> for AwsApiGatewayStageDetails
sourcefn eq(&self, other: &AwsApiGatewayStageDetails) -> bool
fn eq(&self, other: &AwsApiGatewayStageDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsApiGatewayStageDetails) -> bool
fn ne(&self, other: &AwsApiGatewayStageDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsApiGatewayStageDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsApiGatewayStageDetails
impl Send for AwsApiGatewayStageDetails
impl Sync for AwsApiGatewayStageDetails
impl Unpin for AwsApiGatewayStageDetails
impl UnwindSafe for AwsApiGatewayStageDetails
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