Struct aws_sdk_apigatewayv2::client::fluent_builders::CreateStage
source · [−]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
impl<C, M, R> CreateStage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateStage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CreateStageOutput, SdkError<CreateStageError>> where
R::Policy: SmithyRetryPolicy<CreateStageInputOperationOutputAlias, CreateStageOutput, CreateStageError, CreateStageInputOperationRetryAlias>,
pub async fn send(self) -> Result<CreateStageOutput, SdkError<CreateStageError>> where
R::Policy: SmithyRetryPolicy<CreateStageInputOperationOutputAlias, CreateStageOutput, CreateStageError, CreateStageInputOperationRetryAlias>,
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateStage<C, M, R>
impl<C, M, R> Unpin for CreateStage<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateStage<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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