Skip to content

Waiters#

Index > DirectoryService > Waiters

Auto-generated documentation for DirectoryService type annotations stubs module mypy-boto3-ds.

HybridADUpdatedWaiter#

Type annotations and code completion for boto3.client("ds").get_waiter("hybrid_ad_updated"). boto3 documentation

# HybridADUpdatedWaiter usage example

from boto3.session import Session

from mypy_boto3_ds.waiter import HybridADUpdatedWaiter


session = Session()

client = session.client("ds")  # (1)
waiter: HybridADUpdatedWaiter = client.get_waiter("hybrid_ad_updated")  # (2)
await waiter.wait(...)
  1. client: DirectoryServiceClient
  2. waiter: HybridADUpdatedWaiter

wait#

Type annotations and code completion for HybridADUpdatedWaiter.wait method.

# wait method definition

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

kwargs: DescribeHybridADUpdateRequestWaitTypeDef = {  # (1)
    "DirectoryId": ...,
}

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