logo
pub struct Stage {
Show 17 fields pub access_log_settings: Option<AccessLogSettings>, pub cache_cluster_enabled: Option<bool>, pub cache_cluster_size: Option<String>, pub cache_cluster_status: Option<String>, pub canary_settings: Option<CanarySettings>, pub client_certificate_id: Option<String>, pub created_date: Option<f64>, pub deployment_id: Option<String>, pub description: Option<String>, pub documentation_version: Option<String>, pub last_updated_date: Option<f64>, pub method_settings: Option<HashMap<String, MethodSetting>>, pub stage_name: Option<String>, pub tags: Option<HashMap<String, String>>, pub tracing_enabled: Option<bool>, pub variables: Option<HashMap<String, String>>, pub web_acl_arn: Option<String>,
}
Expand description

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Fields

access_log_settings: Option<AccessLogSettings>

Settings for logging access in this stage.

cache_cluster_enabled: Option<bool>

Specifies whether a cache cluster is enabled for the stage.

cache_cluster_size: Option<String>

The size of the cache cluster for the stage, if enabled.

cache_cluster_status: Option<String>

The status of the cache cluster for the stage, if enabled.

canary_settings: Option<CanarySettings>

Settings for the canary deployment in this stage.

client_certificate_id: Option<String>

The identifier of a client certificate for an API stage.

created_date: Option<f64>

The timestamp when the stage was created.

deployment_id: Option<String>

The identifier of the Deployment that the stage points to.

description: Option<String>

The stage's description.

documentation_version: Option<String>

The version of the associated API documentation.

last_updated_date: Option<f64>

The timestamp when the stage last updated.

method_settings: Option<HashMap<String, MethodSetting>>

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

stage_name: Option<String>

The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

tags: Option<HashMap<String, String>>

The collection of tags. Each tag element is associated with a given resource.

tracing_enabled: Option<bool>

Specifies whether active tracing with X-ray is enabled for the Stage.

variables: Option<HashMap<String, String>>

A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

web_acl_arn: Option<String>

The ARN of the WebAcl associated with the Stage.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more