Skip to content

Paginators#

Index > S3Tables > Paginators

Auto-generated documentation for S3Tables type annotations stubs module mypy-boto3-s3tables.

ListNamespacesPaginator#

Type annotations and code completion for boto3.client("s3tables").get_paginator("list_namespaces"). boto3 documentation

# ListNamespacesPaginator usage example

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListNamespacesPaginator

def get_list_namespaces_paginator() -> ListNamespacesPaginator:
    return Session().client("s3tables").get_paginator("list_namespaces")
# ListNamespacesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListNamespacesPaginator

session = Session()

client = Session().client("s3tables")  # (1)
paginator: ListNamespacesPaginator = client.get_paginator("list_namespaces")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3TablesClient
  2. paginator: ListNamespacesPaginator
  3. item: ListNamespacesResponseTypeDef

paginate#

Type annotations and code completion for ListNamespacesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    tableBucketARN: str,
    prefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListNamespacesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListNamespacesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListNamespacesRequestListNamespacesPaginateTypeDef = {  # (1)
    "tableBucketARN": ...,
}

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

ListTableBucketsPaginator#

Type annotations and code completion for boto3.client("s3tables").get_paginator("list_table_buckets"). boto3 documentation

# ListTableBucketsPaginator usage example

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListTableBucketsPaginator

def get_list_table_buckets_paginator() -> ListTableBucketsPaginator:
    return Session().client("s3tables").get_paginator("list_table_buckets")
# ListTableBucketsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListTableBucketsPaginator

session = Session()

client = Session().client("s3tables")  # (1)
paginator: ListTableBucketsPaginator = client.get_paginator("list_table_buckets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3TablesClient
  2. paginator: ListTableBucketsPaginator
  3. item: ListTableBucketsResponseTypeDef

paginate#

Type annotations and code completion for ListTableBucketsPaginator.paginate method.

# paginate method definition

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

kwargs: ListTableBucketsRequestListTableBucketsPaginateTypeDef = {  # (1)
    "prefix": ...,
}

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

ListTablesPaginator#

Type annotations and code completion for boto3.client("s3tables").get_paginator("list_tables"). boto3 documentation

# ListTablesPaginator usage example

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListTablesPaginator

def get_list_tables_paginator() -> ListTablesPaginator:
    return Session().client("s3tables").get_paginator("list_tables")
# ListTablesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3tables.paginator import ListTablesPaginator

session = Session()

client = Session().client("s3tables")  # (1)
paginator: ListTablesPaginator = client.get_paginator("list_tables")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3TablesClient
  2. paginator: ListTablesPaginator
  3. item: ListTablesResponseTypeDef

paginate#

Type annotations and code completion for ListTablesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    tableBucketARN: str,
    namespace: str = ...,
    prefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListTablesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTablesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTablesRequestListTablesPaginateTypeDef = {  # (1)
    "tableBucketARN": ...,
}

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