Paginators#
Index > RePostPrivate > Paginators
Auto-generated documentation for RePostPrivate type annotations stubs module types-boto3-repostspace.
ListChannelsPaginator#
Type annotations and code completion for boto3.client("repostspace").get_paginator("list_channels").
 boto3 documentation
# ListChannelsPaginator usage example
from boto3.session import Session
from types_boto3_repostspace.paginator import ListChannelsPaginator
def get_list_channels_paginator() -> ListChannelsPaginator:
    return Session().client("repostspace").get_paginator("list_channels")# ListChannelsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_repostspace.paginator import ListChannelsPaginator
session = Session()
client = Session().client("repostspace")  # (1)
paginator: ListChannelsPaginator = client.get_paginator("list_channels")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: RePostPrivateClient
- paginator: ListChannelsPaginator
- item: PageIterator[ListChannelsOutputTypeDef]
paginate#
Type annotations and code completion for ListChannelsPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    spaceId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> botocore.paginate.PageIterator[ListChannelsOutputTypeDef]:  # (2)
    ...- See PaginatorConfigTypeDef
- See PageIterator[ListChannelsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListChannelsInputPaginateTypeDef = {  # (1)
    "spaceId": ...,
}
parent.paginate(**kwargs)ListSpacesPaginator#
Type annotations and code completion for boto3.client("repostspace").get_paginator("list_spaces").
 boto3 documentation
# ListSpacesPaginator usage example
from boto3.session import Session
from types_boto3_repostspace.paginator import ListSpacesPaginator
def get_list_spaces_paginator() -> ListSpacesPaginator:
    return Session().client("repostspace").get_paginator("list_spaces")# ListSpacesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_repostspace.paginator import ListSpacesPaginator
session = Session()
client = Session().client("repostspace")  # (1)
paginator: ListSpacesPaginator = client.get_paginator("list_spaces")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: RePostPrivateClient
- paginator: ListSpacesPaginator
- item: PageIterator[ListSpacesOutputTypeDef]
paginate#
Type annotations and code completion for ListSpacesPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> botocore.paginate.PageIterator[ListSpacesOutputTypeDef]:  # (2)
    ...- See PaginatorConfigTypeDef
- See PageIterator[ListSpacesOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListSpacesInputPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}
parent.paginate(**kwargs)