Paginators#
Index > ElasticLoadBalancing > Paginators
Auto-generated documentation for ElasticLoadBalancing type annotations stubs module mypy-boto3-elb.
DescribeAccountLimitsPaginator#
Type annotations and code completion for boto3.client("elb").get_paginator("describe_account_limits")
.
boto3 documentation
# DescribeAccountLimitsPaginator usage example
from boto3.session import Session
from mypy_boto3_elb.paginator import DescribeAccountLimitsPaginator
def get_describe_account_limits_paginator() -> DescribeAccountLimitsPaginator:
return Session().client("elb").get_paginator("describe_account_limits")
# DescribeAccountLimitsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_elb.paginator import DescribeAccountLimitsPaginator
session = Session()
client = Session().client("elb") # (1)
paginator: DescribeAccountLimitsPaginator = client.get_paginator("describe_account_limits") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ElasticLoadBalancingClient
- paginator: DescribeAccountLimitsPaginator
- item: DescribeAccountLimitsOutputTypeDef
paginate#
Type annotations and code completion for DescribeAccountLimitsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeAccountLimitsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
DescribeLoadBalancersPaginator#
Type annotations and code completion for boto3.client("elb").get_paginator("describe_load_balancers")
.
boto3 documentation
# DescribeLoadBalancersPaginator usage example
from boto3.session import Session
from mypy_boto3_elb.paginator import DescribeLoadBalancersPaginator
def get_describe_load_balancers_paginator() -> DescribeLoadBalancersPaginator:
return Session().client("elb").get_paginator("describe_load_balancers")
# DescribeLoadBalancersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_elb.paginator import DescribeLoadBalancersPaginator
session = Session()
client = Session().client("elb") # (1)
paginator: DescribeLoadBalancersPaginator = client.get_paginator("describe_load_balancers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ElasticLoadBalancingClient
- paginator: DescribeLoadBalancersPaginator
- item: DescribeAccessPointsOutputTypeDef
paginate#
Type annotations and code completion for DescribeLoadBalancersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
LoadBalancerNames: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeAccessPointsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeAccessPointsInputDescribeLoadBalancersPaginateTypeDef = { # (1)
"LoadBalancerNames": ...,
}
parent.paginate(**kwargs)