pub struct CreateStage<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description

Fluent builder constructing a request to CreateStage.

Creates a Stage for an API.

Implementations

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

Settings for logging access in this stage.

Settings for logging access in this stage.

The API identifier.

The API identifier.

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

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

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

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

The default route settings for the stage.

The default route settings for the stage.

The deployment identifier of the API stage.

The deployment identifier of the API stage.

The description for the API stage.

The description for the API stage.

Adds a key-value pair to RouteSettings.

To override the contents of this collection use set_route_settings.

Route settings for the stage, by routeKey.

Route settings for the stage, by routeKey.

The name of the stage.

The name of the stage.

Adds a key-value pair to StageVariables.

To override the contents of this collection use set_stage_variables.

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-._~:/?#&=,]+.

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-._~:/?#&=,]+.

Adds a key-value pair to Tags.

To override the contents of this collection use set_tags.

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

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

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

Performs the conversion.

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

Performs the conversion.

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