Skip to content

Paginators#

Index > DocDBElastic > Paginators

Auto-generated documentation for DocDBElastic type annotations stubs module types-aiobotocore-docdb-elastic.

ListClusterSnapshotsPaginator#

Type annotations and code completion for session.create_client("docdb-elastic").get_paginator("list_cluster_snapshots"). boto3 documentation

# ListClusterSnapshotsPaginator usage example

from aiobotocore.session import get_session

from types_aiobotocore_docdb_elastic.paginator import ListClusterSnapshotsPaginator

session = get_session()
async with session.create_client("docdb-elastic") as client:  # (1)
    paginator: ListClusterSnapshotsPaginator = client.get_paginator("list_cluster_snapshots")  # (2)
    async for item in paginator.paginate(...):
        item: ListClusterSnapshotsOutputTypeDef
        print(item)  # (3)
  1. client: DocDBElasticClient
  2. paginator: ListClusterSnapshotsPaginator
  3. item: ListClusterSnapshotsOutputTypeDef

paginate#

Type annotations and code completion for ListClusterSnapshotsPaginator.paginate method.

# paginate method definition

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

kwargs: ListClusterSnapshotsInputListClusterSnapshotsPaginateTypeDef = {  # (1)
    "clusterArn": ...,
}

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

ListClustersPaginator#

Type annotations and code completion for session.create_client("docdb-elastic").get_paginator("list_clusters"). boto3 documentation

# ListClustersPaginator usage example

from aiobotocore.session import get_session

from types_aiobotocore_docdb_elastic.paginator import ListClustersPaginator

session = get_session()
async with session.create_client("docdb-elastic") as client:  # (1)
    paginator: ListClustersPaginator = client.get_paginator("list_clusters")  # (2)
    async for item in paginator.paginate(...):
        item: ListClustersOutputTypeDef
        print(item)  # (3)
  1. client: DocDBElasticClient
  2. paginator: ListClustersPaginator
  3. item: ListClustersOutputTypeDef

paginate#

Type annotations and code completion for ListClustersPaginator.paginate method.

# paginate method definition

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

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

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