Skip to content

Waiters#

Index > CloudControlApi > Waiters

Auto-generated documentation for CloudControlApi type annotations stubs module types-boto3-cloudcontrol.

ResourceRequestSuccessWaiter#

Type annotations and code completion for boto3.client("cloudcontrol").get_waiter("resource_request_success"). boto3 documentation

# ResourceRequestSuccessWaiter usage example

from boto3.session import Session

from types_boto3_cloudcontrol.waiter import ResourceRequestSuccessWaiter


session = Session()

client = session.client("cloudcontrol")  # (1)
waiter: ResourceRequestSuccessWaiter = client.get_waiter("resource_request_success")  # (2)
await waiter.wait()
  1. client: CloudControlApiClient
  2. waiter: ResourceRequestSuccessWaiter

wait#

Type annotations and code completion for ResourceRequestSuccessWaiter.wait method.

# wait method definition

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

kwargs: GetResourceRequestStatusInputWaitTypeDef = {  # (1)
    "RequestToken": ...,
}

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