Skip to content

Waiters#

Index > MediaConnect > Waiters

Auto-generated documentation for MediaConnect type annotations stubs module mypy-boto3-mediaconnect.

FlowActiveWaiter#

Type annotations and code completion for boto3.client("mediaconnect").get_waiter("flow_active"). boto3 documentation

# FlowActiveWaiter usage example

from boto3.session import Session

from mypy_boto3_mediaconnect.waiter import FlowActiveWaiter


session = Session()

client = session.client("mediaconnect")  # (1)
waiter: FlowActiveWaiter = client.get_waiter("flow_active")  # (2)
await waiter.wait()
  1. client: MediaConnectClient
  2. waiter: FlowActiveWaiter

wait#

Type annotations and code completion for FlowActiveWaiter.wait method.

# wait method definition

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

kwargs: DescribeFlowRequestFlowActiveWaitTypeDef = {  # (1)
    "FlowArn": ...,
}

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

FlowDeletedWaiter#

Type annotations and code completion for boto3.client("mediaconnect").get_waiter("flow_deleted"). boto3 documentation

# FlowDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_mediaconnect.waiter import FlowDeletedWaiter


session = Session()

client = session.client("mediaconnect")  # (1)
waiter: FlowDeletedWaiter = client.get_waiter("flow_deleted")  # (2)
await waiter.wait()
  1. client: MediaConnectClient
  2. waiter: FlowDeletedWaiter

wait#

Type annotations and code completion for FlowDeletedWaiter.wait method.

# wait method definition

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

kwargs: DescribeFlowRequestFlowDeletedWaitTypeDef = {  # (1)
    "FlowArn": ...,
}

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

FlowStandbyWaiter#

Type annotations and code completion for boto3.client("mediaconnect").get_waiter("flow_standby"). boto3 documentation

# FlowStandbyWaiter usage example

from boto3.session import Session

from mypy_boto3_mediaconnect.waiter import FlowStandbyWaiter


session = Session()

client = session.client("mediaconnect")  # (1)
waiter: FlowStandbyWaiter = client.get_waiter("flow_standby")  # (2)
await waiter.wait()
  1. client: MediaConnectClient
  2. waiter: FlowStandbyWaiter

wait#

Type annotations and code completion for FlowStandbyWaiter.wait method.

# wait method definition

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

kwargs: DescribeFlowRequestFlowStandbyWaitTypeDef = {  # (1)
    "FlowArn": ...,
}

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