skip_wait_time_for_instance_termination
async
¶
skip_wait_time_for_instance_termination(
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
deployment_id: Optional[DeploymentId] = None,
) -> None
In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
Parameters:
-
deployment_id(Optional[DeploymentId], default:None) –The unique ID of a blue/green deployment for which you want to skip the instance termination wait time.
Raises:
-
DeploymentAlreadyCompletedException–The deployment is already complete.
-
DeploymentDoesNotExistException–The deployment with the user or Amazon Web Services account does not exist.
-
DeploymentIdRequiredException–At least one deployment ID must be specified.
-
DeploymentNotStartedException–The specified deployment has not started.
-
InvalidDeploymentIdException–At least one of the deployment IDs was specified in an invalid format.
-
UnsupportedActionForDeploymentTypeException–A call was submitted that is not supported for the specified deployment type.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/async_code_deploy.py
3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 | |