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.create_client("codedeploy").get_waiter("deployment_successful"). boto3 documentation

# DeploymentSuccessfulWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_codedeploy.waiter import DeploymentSuccessfulWaiter

session = get_session()
async with session.create_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.

# wait method definition

await def wait(
    self,
    *,
    deploymentId: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetDeploymentInputDeploymentSuccessfulWaitTypeDef = {  # (1)
    "deploymentId": ...,
}

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