logo
pub struct CreateStageRequest {
    pub access_log_settings: Option<AccessLogSettings>,
    pub api_id: String,
    pub auto_deploy: Option<bool>,
    pub client_certificate_id: Option<String>,
    pub default_route_settings: Option<RouteSettings>,
    pub deployment_id: Option<String>,
    pub description: Option<String>,
    pub route_settings: Option<HashMap<String, RouteSettings>>,
    pub stage_name: String,
    pub stage_variables: Option<HashMap<String, String>>,
    pub tags: Option<HashMap<String, String>>,
}
Expand description

Creates a new Stage resource to represent a stage.

Fields

access_log_settings: Option<AccessLogSettings>

Settings for logging access in this stage.

api_id: String

The API identifier.

auto_deploy: Option<bool>

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

client_certificate_id: Option<String>

The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.

default_route_settings: Option<RouteSettings>

The default route settings for the stage.

deployment_id: Option<String>

The deployment identifier of the API stage.

description: Option<String>

The description for the API stage.

route_settings: Option<HashMap<String, RouteSettings>>

Route settings for the stage, by routeKey.

stage_name: String

The name of the stage.

stage_variables: Option<HashMap<String, String>>

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

tags: Option<HashMap<String, String>>

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

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

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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