Skip to content

Paginators#

Index > CostandUsageReportService > Paginators

Auto-generated documentation for CostandUsageReportService type annotations stubs module types-boto3-cur.

DescribeReportDefinitionsPaginator#

Type annotations and code completion for boto3.client("cur").get_paginator("describe_report_definitions"). boto3 documentation

# DescribeReportDefinitionsPaginator usage example

from boto3.session import Session

from types_boto3_cur.paginator import DescribeReportDefinitionsPaginator

def get_describe_report_definitions_paginator() -> DescribeReportDefinitionsPaginator:
    return Session().client("cur").get_paginator("describe_report_definitions")
# DescribeReportDefinitionsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_cur.paginator import DescribeReportDefinitionsPaginator

session = Session()

client = Session().client("cur")  # (1)
paginator: DescribeReportDefinitionsPaginator = client.get_paginator("describe_report_definitions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CostandUsageReportServiceClient
  2. paginator: DescribeReportDefinitionsPaginator
  3. item: DescribeReportDefinitionsResponseTypeDef

paginate#

Type annotations and code completion for DescribeReportDefinitionsPaginator.paginate method.

# paginate method definition

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

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

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