Skip to content

Paginators#

Index > Keyspaces > 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)
  1. client: KeyspacesClient
  2. paginator: ListKeyspacesPaginator
  3. item: ListKeyspacesResponseTypeDef

paginate#

Type annotations and code completion for ListKeyspacesPaginator.paginate method.

# paginate method definition

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

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

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

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)
  1. client: KeyspacesClient
  2. paginator: ListTablesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTablesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTablesRequestPaginateTypeDef = {  # (1)
    "keyspaceName": ...,
}

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

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)
  1. client: KeyspacesClient
  2. paginator: ListTagsForResourcePaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTagsForResourceResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTagsForResourceRequestPaginateTypeDef = {  # (1)
    "resourceArn": ...,
}

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

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)
  1. client: KeyspacesClient
  2. paginator: ListTypesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTypesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTypesRequestPaginateTypeDef = {  # (1)
    "keyspaceName": ...,
}

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