Skip to content

Waiters#

Index > Neptune > Waiters

Auto-generated documentation for Neptune type annotations stubs module mypy-boto3-neptune.

DBInstanceAvailableWaiter#

Type annotations and code completion for boto3.client("neptune").get_waiter("db_instance_available"). boto3 documentation

# DBInstanceAvailableWaiter usage example

from boto3.session import Session

from mypy_boto3_neptune.waiter import DBInstanceAvailableWaiter


session = Session()

client = session.client("neptune")  # (1)
waiter: DBInstanceAvailableWaiter = client.get_waiter("db_instance_available")  # (2)
await waiter.wait()
  1. client: NeptuneClient
  2. waiter: DBInstanceAvailableWaiter

wait#

Type annotations and code completion for DBInstanceAvailableWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    DBInstanceIdentifier: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxRecords: int = ...,
    Marker: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeDBInstancesMessageDBInstanceAvailableWaitTypeDef = {  # (1)
    "DBInstanceIdentifier": ...,
}

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

DBInstanceDeletedWaiter#

Type annotations and code completion for boto3.client("neptune").get_waiter("db_instance_deleted"). boto3 documentation

# DBInstanceDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_neptune.waiter import DBInstanceDeletedWaiter


session = Session()

client = session.client("neptune")  # (1)
waiter: DBInstanceDeletedWaiter = client.get_waiter("db_instance_deleted")  # (2)
await waiter.wait()
  1. client: NeptuneClient
  2. waiter: DBInstanceDeletedWaiter

wait#

Type annotations and code completion for DBInstanceDeletedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    DBInstanceIdentifier: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxRecords: int = ...,
    Marker: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeDBInstancesMessageDBInstanceDeletedWaitTypeDef = {  # (1)
    "DBInstanceIdentifier": ...,
}

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