Skip to content

Waiters#

Index > ElasticLoadBalancingv2 > Waiters

Auto-generated documentation for ElasticLoadBalancingv2 type annotations stubs module mypy-boto3-elbv2.

LoadBalancerAvailableWaiter#

Type annotations and code completion for boto3.client("elbv2").get_waiter("load_balancer_available"). boto3 documentation

# LoadBalancerAvailableWaiter usage example

from boto3.session import Session

from mypy_boto3_elbv2.waiter import LoadBalancerAvailableWaiter


session = Session()

client = session.client("elbv2")  # (1)
waiter: LoadBalancerAvailableWaiter = client.get_waiter("load_balancer_available")  # (2)
await waiter.wait()
  1. client: ElasticLoadBalancingv2Client
  2. waiter: LoadBalancerAvailableWaiter

wait#

Type annotations and code completion for LoadBalancerAvailableWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    LoadBalancerArns: Sequence[str] = ...,
    Names: Sequence[str] = ...,
    Marker: str = ...,
    PageSize: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef = {  # (1)
    "LoadBalancerArns": ...,
}

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

LoadBalancerExistsWaiter#

Type annotations and code completion for boto3.client("elbv2").get_waiter("load_balancer_exists"). boto3 documentation

# LoadBalancerExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_elbv2.waiter import LoadBalancerExistsWaiter


session = Session()

client = session.client("elbv2")  # (1)
waiter: LoadBalancerExistsWaiter = client.get_waiter("load_balancer_exists")  # (2)
await waiter.wait()
  1. client: ElasticLoadBalancingv2Client
  2. waiter: LoadBalancerExistsWaiter

wait#

Type annotations and code completion for LoadBalancerExistsWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    LoadBalancerArns: Sequence[str] = ...,
    Names: Sequence[str] = ...,
    Marker: str = ...,
    PageSize: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef = {  # (1)
    "LoadBalancerArns": ...,
}

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

LoadBalancersDeletedWaiter#

Type annotations and code completion for boto3.client("elbv2").get_waiter("load_balancers_deleted"). boto3 documentation

# LoadBalancersDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_elbv2.waiter import LoadBalancersDeletedWaiter


session = Session()

client = session.client("elbv2")  # (1)
waiter: LoadBalancersDeletedWaiter = client.get_waiter("load_balancers_deleted")  # (2)
await waiter.wait()
  1. client: ElasticLoadBalancingv2Client
  2. waiter: LoadBalancersDeletedWaiter

wait#

Type annotations and code completion for LoadBalancersDeletedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    LoadBalancerArns: Sequence[str] = ...,
    Names: Sequence[str] = ...,
    Marker: str = ...,
    PageSize: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef = {  # (1)
    "LoadBalancerArns": ...,
}

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

TargetDeregisteredWaiter#

Type annotations and code completion for boto3.client("elbv2").get_waiter("target_deregistered"). boto3 documentation

# TargetDeregisteredWaiter usage example

from boto3.session import Session

from mypy_boto3_elbv2.waiter import TargetDeregisteredWaiter


session = Session()

client = session.client("elbv2")  # (1)
waiter: TargetDeregisteredWaiter = client.get_waiter("target_deregistered")  # (2)
await waiter.wait()
  1. client: ElasticLoadBalancingv2Client
  2. waiter: TargetDeregisteredWaiter

wait#

Type annotations and code completion for TargetDeregisteredWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    TargetGroupArn: str,
    Targets: Sequence[TargetDescriptionTypeDef] = ...,  # (1)
    Include: Sequence[DescribeTargetHealthInputIncludeEnumType] = ...,  # (2)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (3)
) -> None:
    ...
  1. See TargetDescriptionTypeDef
  2. See DescribeTargetHealthInputIncludeEnumType
  3. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeTargetHealthInputTargetDeregisteredWaitTypeDef = {  # (1)
    "TargetGroupArn": ...,
}

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

TargetInServiceWaiter#

Type annotations and code completion for boto3.client("elbv2").get_waiter("target_in_service"). boto3 documentation

# TargetInServiceWaiter usage example

from boto3.session import Session

from mypy_boto3_elbv2.waiter import TargetInServiceWaiter


session = Session()

client = session.client("elbv2")  # (1)
waiter: TargetInServiceWaiter = client.get_waiter("target_in_service")  # (2)
await waiter.wait()
  1. client: ElasticLoadBalancingv2Client
  2. waiter: TargetInServiceWaiter

wait#

Type annotations and code completion for TargetInServiceWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    TargetGroupArn: str,
    Targets: Sequence[TargetDescriptionTypeDef] = ...,  # (1)
    Include: Sequence[DescribeTargetHealthInputIncludeEnumType] = ...,  # (2)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (3)
) -> None:
    ...
  1. See TargetDescriptionTypeDef
  2. See DescribeTargetHealthInputIncludeEnumType
  3. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeTargetHealthInputTargetInServiceWaitTypeDef = {  # (1)
    "TargetGroupArn": ...,
}

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