Skip to content

Waiters#

Index > AuroraDSQL > Waiters

Auto-generated documentation for AuroraDSQL type annotations stubs module mypy-boto3-dsql.

ClusterActiveWaiter#

Type annotations and code completion for boto3.client("dsql").get_waiter("cluster_active"). boto3 documentation

# ClusterActiveWaiter usage example

from boto3.session import Session

from mypy_boto3_dsql.waiter import ClusterActiveWaiter


session = Session()

client = session.client("dsql")  # (1)
waiter: ClusterActiveWaiter = client.get_waiter("cluster_active")  # (2)
await waiter.wait()
  1. client: AuroraDSQLClient
  2. waiter: ClusterActiveWaiter

wait#

Type annotations and code completion for ClusterActiveWaiter.wait method.

# wait method definition

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

kwargs: GetClusterInputClusterActiveWaitTypeDef = {  # (1)
    "identifier": ...,
}

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

ClusterNotExistsWaiter#

Type annotations and code completion for boto3.client("dsql").get_waiter("cluster_not_exists"). boto3 documentation

# ClusterNotExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_dsql.waiter import ClusterNotExistsWaiter


session = Session()

client = session.client("dsql")  # (1)
waiter: ClusterNotExistsWaiter = client.get_waiter("cluster_not_exists")  # (2)
await waiter.wait()
  1. client: AuroraDSQLClient
  2. waiter: ClusterNotExistsWaiter

wait#

Type annotations and code completion for ClusterNotExistsWaiter.wait method.

# wait method definition

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

kwargs: GetClusterInputClusterNotExistsWaitTypeDef = {  # (1)
    "identifier": ...,
}

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