Waiters#
Index > ElasticLoadBalancing > Waiters
Auto-generated documentation for ElasticLoadBalancing type annotations stubs module mypy-boto3-elb.
AnyInstanceInServiceWaiter#
Type annotations and code completion for boto3.client("elb").get_waiter("any_instance_in_service")
.
boto3 documentation
# AnyInstanceInServiceWaiter usage example
from boto3.session import Session
from mypy_boto3_elb.waiter import AnyInstanceInServiceWaiter
session = Session()
client = session.client("elb") # (1)
waiter: AnyInstanceInServiceWaiter = client.get_waiter("any_instance_in_service") # (2)
await waiter.wait()
- client: ElasticLoadBalancingClient
- waiter: AnyInstanceInServiceWaiter
wait#
Type annotations and code completion for AnyInstanceInServiceWaiter.wait
method.
# wait method definition
def wait(
self,
*,
LoadBalancerName: str,
Instances: Sequence[InstanceTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See InstanceTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeEndPointStateInputAnyInstanceInServiceWaitTypeDef = { # (1)
"LoadBalancerName": ...,
}
parent.wait(**kwargs)
InstanceDeregisteredWaiter#
Type annotations and code completion for boto3.client("elb").get_waiter("instance_deregistered")
.
boto3 documentation
# InstanceDeregisteredWaiter usage example
from boto3.session import Session
from mypy_boto3_elb.waiter import InstanceDeregisteredWaiter
session = Session()
client = session.client("elb") # (1)
waiter: InstanceDeregisteredWaiter = client.get_waiter("instance_deregistered") # (2)
await waiter.wait()
- client: ElasticLoadBalancingClient
- waiter: InstanceDeregisteredWaiter
wait#
Type annotations and code completion for InstanceDeregisteredWaiter.wait
method.
# wait method definition
def wait(
self,
*,
LoadBalancerName: str,
Instances: Sequence[InstanceTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See InstanceTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeEndPointStateInputInstanceDeregisteredWaitTypeDef = { # (1)
"LoadBalancerName": ...,
}
parent.wait(**kwargs)
InstanceInServiceWaiter#
Type annotations and code completion for boto3.client("elb").get_waiter("instance_in_service")
.
boto3 documentation
# InstanceInServiceWaiter usage example
from boto3.session import Session
from mypy_boto3_elb.waiter import InstanceInServiceWaiter
session = Session()
client = session.client("elb") # (1)
waiter: InstanceInServiceWaiter = client.get_waiter("instance_in_service") # (2)
await waiter.wait()
- client: ElasticLoadBalancingClient
- waiter: InstanceInServiceWaiter
wait#
Type annotations and code completion for InstanceInServiceWaiter.wait
method.
# wait method definition
def wait(
self,
*,
LoadBalancerName: str,
Instances: Sequence[InstanceTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See InstanceTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeEndPointStateInputInstanceInServiceWaitTypeDef = { # (1)
"LoadBalancerName": ...,
}
parent.wait(**kwargs)