Paginators#
Index > MediaStoreData > Paginators
Auto-generated documentation for MediaStoreData type annotations stubs module mypy-boto3-mediastore-data.
ListItemsPaginator#
Type annotations and code completion for boto3.client("mediastore-data").get_paginator("list_items")
.
boto3 documentation
# ListItemsPaginator usage example
from boto3.session import Session
from mypy_boto3_mediastore_data.paginator import ListItemsPaginator
def get_list_items_paginator() -> ListItemsPaginator:
return Session().client("mediastore-data").get_paginator("list_items")
# ListItemsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mediastore_data.paginator import ListItemsPaginator
session = Session()
client = Session().client("mediastore-data") # (1)
paginator: ListItemsPaginator = client.get_paginator("list_items") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MediaStoreDataClient
- paginator: ListItemsPaginator
- item: ListItemsResponseTypeDef
paginate#
Type annotations and code completion for ListItemsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Path: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListItemsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListItemsRequestPaginateTypeDef = { # (1)
"Path": ...,
}
parent.paginate(**kwargs)