Paginators#
Auto-generated documentation for FreeTier type annotations stubs module mypy-boto3-freetier.
GetFreeTierUsagePaginator#
Type annotations and code completion for boto3.client("freetier").get_paginator("get_free_tier_usage")
.
boto3 documentation
# GetFreeTierUsagePaginator usage example
from boto3.session import Session
from mypy_boto3_freetier.paginator import GetFreeTierUsagePaginator
def get_get_free_tier_usage_paginator() -> GetFreeTierUsagePaginator:
return Session().client("freetier").get_paginator("get_free_tier_usage")
# GetFreeTierUsagePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_freetier.paginator import GetFreeTierUsagePaginator
session = Session()
client = Session().client("freetier") # (1)
paginator: GetFreeTierUsagePaginator = client.get_paginator("get_free_tier_usage") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: FreeTierClient
- paginator: GetFreeTierUsagePaginator
- item: GetFreeTierUsageResponseTypeDef
paginate#
Type annotations and code completion for GetFreeTierUsagePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filter: ExpressionPaginatorTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetFreeTierUsageResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetFreeTierUsageRequestGetFreeTierUsagePaginateTypeDef = { # (1)
"filter": ...,
}
parent.paginate(**kwargs)