Paginators#
Index > MediaStore > Paginators
Auto-generated documentation for MediaStore type annotations stubs module mypy-boto3-mediastore.
ListContainersPaginator#
Type annotations and code completion for boto3.client("mediastore").get_paginator("list_containers")
.
boto3 documentation
# ListContainersPaginator usage example
from boto3.session import Session
from mypy_boto3_mediastore.paginator import ListContainersPaginator
def get_list_containers_paginator() -> ListContainersPaginator:
return Session().client("mediastore").get_paginator("list_containers")
# ListContainersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mediastore.paginator import ListContainersPaginator
session = Session()
client = Session().client("mediastore") # (1)
paginator: ListContainersPaginator = client.get_paginator("list_containers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MediaStoreClient
- paginator: ListContainersPaginator
- item: ListContainersOutputTypeDef
paginate#
Type annotations and code completion for ListContainersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListContainersOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListContainersInputListContainersPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)