Paginators#
Index > AuroraDSQL > Paginators
Auto-generated documentation for AuroraDSQL type annotations stubs module mypy-boto3-dsql.
ListClustersPaginator#
Type annotations and code completion for boto3.client("dsql").get_paginator("list_clusters")
.
boto3 documentation
# ListClustersPaginator usage example
from boto3.session import Session
from mypy_boto3_dsql.paginator import ListClustersPaginator
def get_list_clusters_paginator() -> ListClustersPaginator:
return Session().client("dsql").get_paginator("list_clusters")
# ListClustersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_dsql.paginator import ListClustersPaginator
session = Session()
client = Session().client("dsql") # (1)
paginator: ListClustersPaginator = client.get_paginator("list_clusters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AuroraDSQLClient
- paginator: ListClustersPaginator
- item: ListClustersOutputTypeDef
paginate#
Type annotations and code completion for ListClustersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListClustersOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListClustersInputListClustersPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)