Skip to content

Waiters

Index > CodeDeploy > Waiters

Auto-generated documentation for CodeDeploy type annotations stubs module types-aiobotocore-codedeploy.

DeploymentSuccessfulWaiter

Type annotations and code completion for session.client("codedeploy").get_waiter("deployment_successful"). boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_codedeploy.waiter import DeploymentSuccessfulWaiter

session = get_session()
async with session.client("codedeploy") as client:  # (1)
    waiter: DeploymentSuccessfulWaiter = client.get_waiter("deployment_successful")  # (2)
    await waiter.wait()
  1. client: CodeDeployClient
  2. waiter: DeploymentSuccessfulWaiter

wait

Type annotations and code completion for DeploymentSuccessfulWaiter.wait method.

Method definition
await def wait(
    self,
    *,
    deploymentId: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetDeploymentInputDeploymentSuccessfulWaitTypeDef = {  # (1)
    "deploymentId": ...,
}

parent.wait(**kwargs)
  1. See GetDeploymentInputDeploymentSuccessfulWaitTypeDef