Struct aws_sdk_codedeploy::client::fluent_builders::ContinueDeployment [−][src]
pub struct ContinueDeployment<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ContinueDeployment
.
For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
Implementations
impl<C, M, R> ContinueDeployment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ContinueDeployment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ContinueDeploymentOutput, SdkError<ContinueDeploymentError>> where
R::Policy: SmithyRetryPolicy<ContinueDeploymentInputOperationOutputAlias, ContinueDeploymentOutput, ContinueDeploymentError, ContinueDeploymentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ContinueDeploymentOutput, SdkError<ContinueDeploymentError>> where
R::Policy: SmithyRetryPolicy<ContinueDeploymentInputOperationOutputAlias, ContinueDeploymentOutput, ContinueDeploymentError, ContinueDeploymentInputOperationRetryAlias>,
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.
The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.
The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.
The status of the deployment's waiting period. READY_WAIT
indicates that
the deployment is ready to start shifting traffic. TERMINATION_WAIT
indicates that the traffic is shifted, but the original target is not terminated.
The status of the deployment's waiting period. READY_WAIT
indicates that
the deployment is ready to start shifting traffic. TERMINATION_WAIT
indicates that the traffic is shifted, but the original target is not terminated.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ContinueDeployment<C, M, R>
impl<C, M, R> Send for ContinueDeployment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ContinueDeployment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ContinueDeployment<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ContinueDeployment<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