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()
- client: Mediapackagev2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: GetHarvestJobRequestWaitTypeDef = { # (1)
"ChannelGroupName": ...,
"ChannelName": ...,
"OriginEndpointName": ...,
"HarvestJobName": ...,
}
parent.wait(**kwargs)