Skip to content

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()
  1. client: CodeDeployClient
  2. waiter: DeploymentSuccessfulWaiter

wait#

Type annotations and code completion for DeploymentSuccessfulWaiter.wait method.

# wait method definition

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