Skip to content

Waiters#

Index > ElasticTranscoder > Waiters

Auto-generated documentation for ElasticTranscoder type annotations stubs module mypy-boto3-elastictranscoder.

JobCompleteWaiter#

Type annotations and code completion for boto3.client("elastictranscoder").get_waiter("job_complete"). boto3 documentation

# JobCompleteWaiter usage example

from boto3.session import Session

from mypy_boto3_elastictranscoder.waiter import JobCompleteWaiter


session = Session()

client = session.client("elastictranscoder")  # (1)
waiter: JobCompleteWaiter = client.get_waiter("job_complete")  # (2)
await waiter.wait()
  1. client: ElasticTranscoderClient
  2. waiter: JobCompleteWaiter

wait#

Type annotations and code completion for JobCompleteWaiter.wait method.

# wait method definition

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

kwargs: ReadJobRequestJobCompleteWaitTypeDef = {  # (1)
    "Id": ...,
}

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