Skip to content

Paginators#

Index > FreeTier > Paginators

Auto-generated documentation for FreeTier type annotations stubs module types-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 types_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 types_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)
  1. client: FreeTierClient
  2. paginator: GetFreeTierUsagePaginator
  3. 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)
    ...
  1. See ExpressionPaginatorTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetFreeTierUsageResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetFreeTierUsageRequestPaginateTypeDef = {  # (1)
    "filter": ...,
}

parent.paginate(**kwargs)
  1. See GetFreeTierUsageRequestPaginateTypeDef