Skip to content

Waiters#

Index > Mediapackagev2 > Waiters

Auto-generated documentation for Mediapackagev2 type annotations stubs module mypy-boto3-mediapackagev2.

HarvestJobFinishedWaiter#

Type annotations and code completion for boto3.client("mediapackagev2").get_waiter("harvest_job_finished"). boto3 documentation

# HarvestJobFinishedWaiter usage example

from boto3.session import Session

from mypy_boto3_mediapackagev2.waiter import HarvestJobFinishedWaiter


session = Session()

client = session.client("mediapackagev2")  # (1)
waiter: HarvestJobFinishedWaiter = client.get_waiter("harvest_job_finished")  # (2)
await waiter.wait()
  1. client: Mediapackagev2Client
  2. waiter: HarvestJobFinishedWaiter

wait#

Type annotations and code completion for HarvestJobFinishedWaiter.wait method.

# wait method definition

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

kwargs: GetHarvestJobRequestWaitTypeDef = {  # (1)
    "ChannelGroupName": ...,
    "ChannelName": ...,
    "OriginEndpointName": ...,
    "HarvestJobName": ...,
}

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