Skip to content

Waiters#

Index > AppConfig > Waiters

Auto-generated documentation for AppConfig type annotations stubs module mypy-boto3-appconfig.

DeploymentCompleteWaiter#

Type annotations and code completion for boto3.client("appconfig").get_waiter("deployment_complete"). boto3 documentation

# DeploymentCompleteWaiter usage example

from boto3.session import Session

from mypy_boto3_appconfig.waiter import DeploymentCompleteWaiter


session = Session()

client = session.client("appconfig")  # (1)
waiter: DeploymentCompleteWaiter = client.get_waiter("deployment_complete")  # (2)
await waiter.wait(...)
  1. client: AppConfigClient
  2. waiter: DeploymentCompleteWaiter

wait#

Type annotations and code completion for DeploymentCompleteWaiter.wait method.

# wait method definition

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

kwargs: GetDeploymentRequestWaitTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
    "DeploymentNumber": ...,
}

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

EnvironmentReadyForDeploymentWaiter#

Type annotations and code completion for boto3.client("appconfig").get_waiter("environment_ready_for_deployment"). boto3 documentation

# EnvironmentReadyForDeploymentWaiter usage example

from boto3.session import Session

from mypy_boto3_appconfig.waiter import EnvironmentReadyForDeploymentWaiter


session = Session()

client = session.client("appconfig")  # (1)
waiter: EnvironmentReadyForDeploymentWaiter = client.get_waiter("environment_ready_for_deployment")  # (2)
await waiter.wait(...)
  1. client: AppConfigClient
  2. waiter: EnvironmentReadyForDeploymentWaiter

wait#

Type annotations and code completion for EnvironmentReadyForDeploymentWaiter.wait method.

# wait method definition

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

kwargs: GetEnvironmentRequestWaitTypeDef = {  # (1)
    "ApplicationId": ...,
    "EnvironmentId": ...,
}

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