Paginators#
Index > DocDBElastic > Paginators
Auto-generated documentation for DocDBElastic type annotations stubs module mypy-boto3-docdb-elastic.
ListClusterSnapshotsPaginator#
Type annotations and code completion for boto3.client("docdb-elastic").get_paginator("list_cluster_snapshots")
.
boto3 documentation
# ListClusterSnapshotsPaginator usage example
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListClusterSnapshotsPaginator
def get_list_cluster_snapshots_paginator() -> ListClusterSnapshotsPaginator:
return Session().client("docdb-elastic").get_paginator("list_cluster_snapshots")
# ListClusterSnapshotsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListClusterSnapshotsPaginator
session = Session()
client = Session().client("docdb-elastic") # (1)
paginator: ListClusterSnapshotsPaginator = client.get_paginator("list_cluster_snapshots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DocDBElasticClient
- paginator: ListClusterSnapshotsPaginator
- item: ListClusterSnapshotsOutputTypeDef
paginate#
Type annotations and code completion for ListClusterSnapshotsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
clusterArn: str = ...,
snapshotType: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListClusterSnapshotsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListClusterSnapshotsInputPaginateTypeDef = { # (1)
"clusterArn": ...,
}
parent.paginate(**kwargs)
ListClustersPaginator#
Type annotations and code completion for boto3.client("docdb-elastic").get_paginator("list_clusters")
.
boto3 documentation
# ListClustersPaginator usage example
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListClustersPaginator
def get_list_clusters_paginator() -> ListClustersPaginator:
return Session().client("docdb-elastic").get_paginator("list_clusters")
# ListClustersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListClustersPaginator
session = Session()
client = Session().client("docdb-elastic") # (1)
paginator: ListClustersPaginator = client.get_paginator("list_clusters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DocDBElasticClient
- 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: ListClustersInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListPendingMaintenanceActionsPaginator#
Type annotations and code completion for boto3.client("docdb-elastic").get_paginator("list_pending_maintenance_actions")
.
boto3 documentation
# ListPendingMaintenanceActionsPaginator usage example
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListPendingMaintenanceActionsPaginator
def get_list_pending_maintenance_actions_paginator() -> ListPendingMaintenanceActionsPaginator:
return Session().client("docdb-elastic").get_paginator("list_pending_maintenance_actions")
# ListPendingMaintenanceActionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_docdb_elastic.paginator import ListPendingMaintenanceActionsPaginator
session = Session()
client = Session().client("docdb-elastic") # (1)
paginator: ListPendingMaintenanceActionsPaginator = client.get_paginator("list_pending_maintenance_actions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DocDBElasticClient
- paginator: ListPendingMaintenanceActionsPaginator
- item: ListPendingMaintenanceActionsOutputTypeDef
paginate#
Type annotations and code completion for ListPendingMaintenanceActionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPendingMaintenanceActionsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPendingMaintenanceActionsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)