Skip to content

Paginators#

Index > ApplicationCostProfiler > Paginators

Auto-generated documentation for ApplicationCostProfiler type annotations stubs module mypy-boto3-applicationcostprofiler.

ListReportDefinitionsPaginator#

Type annotations and code completion for boto3.client("applicationcostprofiler").get_paginator("list_report_definitions"). boto3 documentation

# ListReportDefinitionsPaginator usage example

from boto3.session import Session

from mypy_boto3_applicationcostprofiler.paginator import ListReportDefinitionsPaginator

def get_list_report_definitions_paginator() -> ListReportDefinitionsPaginator:
    return Session().client("applicationcostprofiler").get_paginator("list_report_definitions")
# ListReportDefinitionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_applicationcostprofiler.paginator import ListReportDefinitionsPaginator

session = Session()

client = Session().client("applicationcostprofiler")  # (1)
paginator: ListReportDefinitionsPaginator = client.get_paginator("list_report_definitions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ApplicationCostProfilerClient
  2. paginator: ListReportDefinitionsPaginator
  3. item: ListReportDefinitionsResultTypeDef

paginate#

Type annotations and code completion for ListReportDefinitionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListReportDefinitionsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListReportDefinitionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListReportDefinitionsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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