Waiters#
Index > CodeDeploy > Waiters
Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.
DeploymentSuccessfulWaiter#
Type annotations and code completion for boto3.client("codedeploy").get_waiter("deployment_successful")
.
boto3 documentation
# DeploymentSuccessfulWaiter usage example
from boto3.session import Session
from mypy_boto3_codedeploy.waiter import DeploymentSuccessfulWaiter
session = Session()
client = session.client("codedeploy") # (1)
waiter: DeploymentSuccessfulWaiter = client.get_waiter("deployment_successful") # (2)
await waiter.wait()
- client: CodeDeployClient
- waiter: DeploymentSuccessfulWaiter
wait#
Type annotations and code completion for DeploymentSuccessfulWaiter.wait
method.
# wait method definition
def wait(
self,
*,
deploymentId: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: GetDeploymentInputWaitTypeDef = { # (1)
"deploymentId": ...,
}
parent.wait(**kwargs)