Paginators#
Index > ParallelComputingService > Paginators
Auto-generated documentation for ParallelComputingService type annotations stubs module types-boto3-pcs.
ListClustersPaginator#
Type annotations and code completion for boto3.client("pcs").get_paginator("list_clusters")
.
boto3 documentation
# ListClustersPaginator usage example
from boto3.session import Session
from types_boto3_pcs.paginator import ListClustersPaginator
def get_list_clusters_paginator() -> ListClustersPaginator:
return Session().client("pcs").get_paginator("list_clusters")
# ListClustersPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pcs.paginator import ListClustersPaginator
session = Session()
client = Session().client("pcs") # (1)
paginator: ListClustersPaginator = client.get_paginator("list_clusters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ParallelComputingServiceClient
- paginator: ListClustersPaginator
- item: ListClustersResponseTypeDef
paginate#
Type annotations and code completion for ListClustersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListClustersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListClustersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListComputeNodeGroupsPaginator#
Type annotations and code completion for boto3.client("pcs").get_paginator("list_compute_node_groups")
.
boto3 documentation
# ListComputeNodeGroupsPaginator usage example
from boto3.session import Session
from types_boto3_pcs.paginator import ListComputeNodeGroupsPaginator
def get_list_compute_node_groups_paginator() -> ListComputeNodeGroupsPaginator:
return Session().client("pcs").get_paginator("list_compute_node_groups")
# ListComputeNodeGroupsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pcs.paginator import ListComputeNodeGroupsPaginator
session = Session()
client = Session().client("pcs") # (1)
paginator: ListComputeNodeGroupsPaginator = client.get_paginator("list_compute_node_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ParallelComputingServiceClient
- paginator: ListComputeNodeGroupsPaginator
- item: ListComputeNodeGroupsResponseTypeDef
paginate#
Type annotations and code completion for ListComputeNodeGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
clusterIdentifier: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListComputeNodeGroupsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListComputeNodeGroupsRequestPaginateTypeDef = { # (1)
"clusterIdentifier": ...,
}
parent.paginate(**kwargs)
ListQueuesPaginator#
Type annotations and code completion for boto3.client("pcs").get_paginator("list_queues")
.
boto3 documentation
# ListQueuesPaginator usage example
from boto3.session import Session
from types_boto3_pcs.paginator import ListQueuesPaginator
def get_list_queues_paginator() -> ListQueuesPaginator:
return Session().client("pcs").get_paginator("list_queues")
# ListQueuesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pcs.paginator import ListQueuesPaginator
session = Session()
client = Session().client("pcs") # (1)
paginator: ListQueuesPaginator = client.get_paginator("list_queues") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ParallelComputingServiceClient
- paginator: ListQueuesPaginator
- item: ListQueuesResponseTypeDef
paginate#
Type annotations and code completion for ListQueuesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
clusterIdentifier: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListQueuesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListQueuesRequestPaginateTypeDef = { # (1)
"clusterIdentifier": ...,
}
parent.paginate(**kwargs)