Skip to content

Waiters#

Index > Schemas > Waiters

Auto-generated documentation for Schemas type annotations stubs module mypy-boto3-schemas.

CodeBindingExistsWaiter#

Type annotations and code completion for boto3.client("schemas").get_waiter("code_binding_exists"). boto3 documentation

# CodeBindingExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_schemas.waiter import CodeBindingExistsWaiter


session = Session()

client = session.client("schemas")  # (1)
waiter: CodeBindingExistsWaiter = client.get_waiter("code_binding_exists")  # (2)
await waiter.wait()
  1. client: SchemasClient
  2. waiter: CodeBindingExistsWaiter

wait#

Type annotations and code completion for CodeBindingExistsWaiter.wait method.

# wait method definition

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

kwargs: DescribeCodeBindingRequestWaitTypeDef = {  # (1)
    "Language": ...,
    "RegistryName": ...,
    "SchemaName": ...,
}

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