Skip to content

Waiters#

Index > Interconnect > Waiters

Auto-generated documentation for Interconnect type annotations stubs module mypy-boto3-interconnect.

ConnectionAvailableWaiter#

Type annotations and code completion for boto3.client("interconnect").get_waiter("connection_available"). boto3 documentation

# ConnectionAvailableWaiter usage example

from boto3.session import Session

from mypy_boto3_interconnect.waiter import ConnectionAvailableWaiter


session = Session()

client = session.client("interconnect")  # (1)
waiter: ConnectionAvailableWaiter = client.get_waiter("connection_available")  # (2)
await waiter.wait(...)
  1. client: InterconnectClient
  2. waiter: ConnectionAvailableWaiter

wait#

Type annotations and code completion for ConnectionAvailableWaiter.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: GetConnectionRequestWaitTypeDef = {  # (1)
    "identifier": ...,
}

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

ConnectionDeletedWaiter#

Type annotations and code completion for boto3.client("interconnect").get_waiter("connection_deleted"). boto3 documentation

# ConnectionDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_interconnect.waiter import ConnectionDeletedWaiter


session = Session()

client = session.client("interconnect")  # (1)
waiter: ConnectionDeletedWaiter = client.get_waiter("connection_deleted")  # (2)
await waiter.wait(...)
  1. client: InterconnectClient
  2. waiter: ConnectionDeletedWaiter

wait#

Type annotations and code completion for ConnectionDeletedWaiter.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: GetConnectionRequestWaitExtraTypeDef = {  # (1)
    "identifier": ...,
}

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