Paginators#
Index > Ivsrealtime > Paginators
Auto-generated documentation for Ivsrealtime type annotations stubs module mypy-boto3-ivs-realtime.
ListPublicKeysPaginator#
Type annotations and code completion for boto3.client("ivs-realtime").get_paginator("list_public_keys")
.
boto3 documentation
# ListPublicKeysPaginator usage example
from boto3.session import Session
from mypy_boto3_ivs_realtime.paginator import ListPublicKeysPaginator
def get_list_public_keys_paginator() -> ListPublicKeysPaginator:
return Session().client("ivs-realtime").get_paginator("list_public_keys")
# ListPublicKeysPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ivs_realtime.paginator import ListPublicKeysPaginator
session = Session()
client = Session().client("ivs-realtime") # (1)
paginator: ListPublicKeysPaginator = client.get_paginator("list_public_keys") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IvsrealtimeClient
- paginator: ListPublicKeysPaginator
- item: ListPublicKeysResponseTypeDef
paginate#
Type annotations and code completion for ListPublicKeysPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListPublicKeysResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPublicKeysRequestListPublicKeysPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)