Paginators#
Index > BillingandCostManagementDashboards > Paginators
Auto-generated documentation for BillingandCostManagementDashboards type annotations stubs module mypy-boto3-bcm-dashboards.
ListDashboardsPaginator#
Type annotations and code completion for boto3.client("bcm-dashboards").get_paginator("list_dashboards")
.
boto3 documentation
# ListDashboardsPaginator usage example
from boto3.session import Session
from mypy_boto3_bcm_dashboards.paginator import ListDashboardsPaginator
def get_list_dashboards_paginator() -> ListDashboardsPaginator:
return Session().client("bcm-dashboards").get_paginator("list_dashboards")
# ListDashboardsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_bcm_dashboards.paginator import ListDashboardsPaginator
session = Session()
client = Session().client("bcm-dashboards") # (1)
paginator: ListDashboardsPaginator = client.get_paginator("list_dashboards") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: BillingandCostManagementDashboardsClient
- paginator: ListDashboardsPaginator
- item:
PageIterator[ListDashboardsResponseTypeDef]
paginate#
Type annotations and code completion for ListDashboardsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListDashboardsResponseTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListDashboardsResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListDashboardsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)