Paginators#
Index > CustomerProfiles > Paginators
Auto-generated documentation for CustomerProfiles type annotations stubs module mypy-boto3-customer-profiles.
ListEventStreamsPaginator#
Type annotations and code completion for boto3.client("customer-profiles").get_paginator("list_event_streams")
.
boto3 documentation
# ListEventStreamsPaginator usage example
from boto3.session import Session
from mypy_boto3_customer_profiles.paginator import ListEventStreamsPaginator
def get_list_event_streams_paginator() -> ListEventStreamsPaginator:
return Session().client("customer-profiles").get_paginator("list_event_streams")
# ListEventStreamsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_customer_profiles.paginator import ListEventStreamsPaginator
session = Session()
client = Session().client("customer-profiles") # (1)
paginator: ListEventStreamsPaginator = client.get_paginator("list_event_streams") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CustomerProfilesClient
- paginator: ListEventStreamsPaginator
- item: ListEventStreamsResponseTypeDef
paginate#
Type annotations and code completion for ListEventStreamsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
DomainName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListEventStreamsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEventStreamsRequestListEventStreamsPaginateTypeDef = { # (1)
"DomainName": ...,
}
parent.paginate(**kwargs)