continue_deployment
(**kwargs)¶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.)
See also: AWS API Documentation
Request Syntax
response = client.continue_deployment(
deploymentId='string',
deploymentWaitType='READY_WAIT'|'TERMINATION_WAIT'
)
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.None
Exceptions
CodeDeploy.Client.exceptions.DeploymentIdRequiredException
CodeDeploy.Client.exceptions.DeploymentDoesNotExistException
CodeDeploy.Client.exceptions.DeploymentAlreadyCompletedException
CodeDeploy.Client.exceptions.InvalidDeploymentIdException
CodeDeploy.Client.exceptions.DeploymentIsNotInReadyStateException
CodeDeploy.Client.exceptions.UnsupportedActionForDeploymentTypeException
CodeDeploy.Client.exceptions.InvalidDeploymentWaitTypeException
CodeDeploy.Client.exceptions.InvalidDeploymentStatusException