Paginators#
Index > KeyspacesStreams > Paginators
Auto-generated documentation for KeyspacesStreams type annotations stubs module types-boto3-keyspacesstreams.
GetStreamPaginator#
Type annotations and code completion for boto3.client("keyspacesstreams").get_paginator("get_stream").
 boto3 documentation
# GetStreamPaginator usage example
from boto3.session import Session
from types_boto3_keyspacesstreams.paginator import GetStreamPaginator
def get_get_stream_paginator() -> GetStreamPaginator:
    return Session().client("keyspacesstreams").get_paginator("get_stream")# GetStreamPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspacesstreams.paginator import GetStreamPaginator
session = Session()
client = Session().client("keyspacesstreams")  # (1)
paginator: GetStreamPaginator = client.get_paginator("get_stream")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: KeyspacesStreamsClient
- paginator: GetStreamPaginator
- item: PageIterator[GetStreamOutputTypeDef]
paginate#
Type annotations and code completion for GetStreamPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    streamArn: str,
    shardFilter: ShardFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> botocore.paginate.PageIterator[GetStreamOutputTypeDef]:  # (3)
    ...- See ShardFilterTypeDef
- See PaginatorConfigTypeDef
- See PageIterator[GetStreamOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: GetStreamInputPaginateTypeDef = {  # (1)
    "streamArn": ...,
}
parent.paginate(**kwargs)ListStreamsPaginator#
Type annotations and code completion for boto3.client("keyspacesstreams").get_paginator("list_streams").
 boto3 documentation
# ListStreamsPaginator usage example
from boto3.session import Session
from types_boto3_keyspacesstreams.paginator import ListStreamsPaginator
def get_list_streams_paginator() -> ListStreamsPaginator:
    return Session().client("keyspacesstreams").get_paginator("list_streams")# ListStreamsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_keyspacesstreams.paginator import ListStreamsPaginator
session = Session()
client = Session().client("keyspacesstreams")  # (1)
paginator: ListStreamsPaginator = client.get_paginator("list_streams")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: KeyspacesStreamsClient
- paginator: ListStreamsPaginator
- item: PageIterator[ListStreamsOutputTypeDef]
paginate#
Type annotations and code completion for ListStreamsPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    keyspaceName: str = ...,
    tableName: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> botocore.paginate.PageIterator[ListStreamsOutputTypeDef]:  # (2)
    ...- See PaginatorConfigTypeDef
- See PageIterator[ListStreamsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListStreamsInputPaginateTypeDef = {  # (1)
    "keyspaceName": ...,
}
parent.paginate(**kwargs)