Skip to content

Waiters#

Index > LocationService > Waiters

Auto-generated documentation for LocationService type annotations stubs module mypy-boto3-location.

JobCompletedWaiter#

Type annotations and code completion for boto3.client("location").get_waiter("job_completed"). boto3 documentation

# JobCompletedWaiter usage example

from boto3.session import Session

from mypy_boto3_location.waiter import JobCompletedWaiter


session = Session()

client = session.client("location")  # (1)
waiter: JobCompletedWaiter = client.get_waiter("job_completed")  # (2)
await waiter.wait(...)
  1. client: LocationServiceClient
  2. waiter: JobCompletedWaiter

wait#

Type annotations and code completion for JobCompletedWaiter.wait method.

# wait method definition

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

kwargs: GetJobRequestWaitTypeDef = {  # (1)
    "JobId": ...,
}

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