Paginators#
Auto-generated documentation for Keyspaces type annotations stubs module types-boto3-keyspaces.
ListKeyspacesPaginator#
Type annotations and code completion for boto3.client("keyspaces").get_paginator("list_keyspaces")
.
boto3 documentation
# ListKeyspacesPaginator usage example
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListKeyspacesPaginator
def get_list_keyspaces_paginator() -> ListKeyspacesPaginator:
return Session().client("keyspaces").get_paginator("list_keyspaces")
# ListKeyspacesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListKeyspacesPaginator
session = Session()
client = Session().client("keyspaces") # (1)
paginator: ListKeyspacesPaginator = client.get_paginator("list_keyspaces") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: KeyspacesClient
- paginator: ListKeyspacesPaginator
- item: ListKeyspacesResponseTypeDef
paginate#
Type annotations and code completion for ListKeyspacesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListKeyspacesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListKeyspacesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListTablesPaginator#
Type annotations and code completion for boto3.client("keyspaces").get_paginator("list_tables")
.
boto3 documentation
# ListTablesPaginator usage example
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTablesPaginator
def get_list_tables_paginator() -> ListTablesPaginator:
return Session().client("keyspaces").get_paginator("list_tables")
# ListTablesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTablesPaginator
session = Session()
client = Session().client("keyspaces") # (1)
paginator: ListTablesPaginator = client.get_paginator("list_tables") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: KeyspacesClient
- paginator: ListTablesPaginator
- item: ListTablesResponseTypeDef
paginate#
Type annotations and code completion for ListTablesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
keyspaceName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTablesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTablesRequestPaginateTypeDef = { # (1)
"keyspaceName": ...,
}
parent.paginate(**kwargs)
ListTagsForResourcePaginator#
Type annotations and code completion for boto3.client("keyspaces").get_paginator("list_tags_for_resource")
.
boto3 documentation
# ListTagsForResourcePaginator usage example
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTagsForResourcePaginator
def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
return Session().client("keyspaces").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTagsForResourcePaginator
session = Session()
client = Session().client("keyspaces") # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: KeyspacesClient
- paginator: ListTagsForResourcePaginator
- item: ListTagsForResourceResponseTypeDef
paginate#
Type annotations and code completion for ListTagsForResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceArn: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTagsForResourceResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceRequestPaginateTypeDef = { # (1)
"resourceArn": ...,
}
parent.paginate(**kwargs)
ListTypesPaginator#
Type annotations and code completion for boto3.client("keyspaces").get_paginator("list_types")
.
boto3 documentation
# ListTypesPaginator usage example
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTypesPaginator
def get_list_types_paginator() -> ListTypesPaginator:
return Session().client("keyspaces").get_paginator("list_types")
# ListTypesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspaces.paginator import ListTypesPaginator
session = Session()
client = Session().client("keyspaces") # (1)
paginator: ListTypesPaginator = client.get_paginator("list_types") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: KeyspacesClient
- paginator: ListTypesPaginator
- item: ListTypesResponseTypeDef
paginate#
Type annotations and code completion for ListTypesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
keyspaceName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTypesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTypesRequestPaginateTypeDef = { # (1)
"keyspaceName": ...,
}
parent.paginate(**kwargs)