Paginators#
Index > CostandUsageReportService > Paginators
Auto-generated documentation for CostandUsageReportService type annotations stubs module mypy-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 mypy_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 mypy_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)
- client: CostandUsageReportServiceClient
- paginator: DescribeReportDefinitionsPaginator
- item: DescribeReportDefinitionsResponseTypeDef
paginate#
Type annotations and code completion for DescribeReportDefinitionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeReportDefinitionsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeReportDefinitionsRequestDescribeReportDefinitionsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)