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()
- client: ElasticLoadBalancingv2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef = { # (1)
"LoadBalancerArns": ...,
}
parent.wait(**kwargs)
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()
- client: ElasticLoadBalancingv2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef = { # (1)
"LoadBalancerArns": ...,
}
parent.wait(**kwargs)
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()
- client: ElasticLoadBalancingv2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef = { # (1)
"LoadBalancerArns": ...,
}
parent.wait(**kwargs)
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()
- client: ElasticLoadBalancingv2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: DescribeTargetHealthInputTargetDeregisteredWaitTypeDef = { # (1)
"TargetGroupArn": ...,
}
parent.wait(**kwargs)
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()
- client: ElasticLoadBalancingv2Client
- 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:
...
# wait method usage example with argument unpacking
kwargs: DescribeTargetHealthInputTargetInServiceWaitTypeDef = { # (1)
"TargetGroupArn": ...,
}
parent.wait(**kwargs)