| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.ContinueDeployment
Description
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.)
Synopsis
- data ContinueDeployment = ContinueDeployment' {}
- newContinueDeployment :: ContinueDeployment
- continueDeployment_deploymentId :: Lens' ContinueDeployment (Maybe Text)
- continueDeployment_deploymentWaitType :: Lens' ContinueDeployment (Maybe DeploymentWaitType)
- data ContinueDeploymentResponse = ContinueDeploymentResponse' {
- newContinueDeploymentResponse :: ContinueDeploymentResponse
Creating a Request
data ContinueDeployment Source #
See: newContinueDeployment smart constructor.
Constructors
| ContinueDeployment' | |
Fields
| |
Instances
newContinueDeployment :: ContinueDeployment Source #
Create a value of ContinueDeployment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ContinueDeployment, continueDeployment_deploymentId - The unique ID of a blue/green deployment for which you want to start
rerouting traffic to the replacement environment.
$sel:deploymentWaitType:ContinueDeployment', continueDeployment_deploymentWaitType - 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.
Request Lenses
continueDeployment_deploymentId :: Lens' ContinueDeployment (Maybe Text) Source #
The unique ID of a blue/green deployment for which you want to start rerouting traffic to the replacement environment.
continueDeployment_deploymentWaitType :: Lens' ContinueDeployment (Maybe DeploymentWaitType) Source #
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.
Destructuring the Response
data ContinueDeploymentResponse Source #
See: newContinueDeploymentResponse smart constructor.
Constructors
| ContinueDeploymentResponse' | |
Instances
newContinueDeploymentResponse :: ContinueDeploymentResponse Source #
Create a value of ContinueDeploymentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.