Paginators#
Index > UserNotificationsContacts > Paginators
Auto-generated documentation for UserNotificationsContacts type annotations stubs module mypy-boto3-notificationscontacts.
ListEmailContactsPaginator#
Type annotations and code completion for boto3.client("notificationscontacts").get_paginator("list_email_contacts")
.
boto3 documentation
# ListEmailContactsPaginator usage example
from boto3.session import Session
from mypy_boto3_notificationscontacts.paginator import ListEmailContactsPaginator
def get_list_email_contacts_paginator() -> ListEmailContactsPaginator:
return Session().client("notificationscontacts").get_paginator("list_email_contacts")
# ListEmailContactsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_notificationscontacts.paginator import ListEmailContactsPaginator
session = Session()
client = Session().client("notificationscontacts") # (1)
paginator: ListEmailContactsPaginator = client.get_paginator("list_email_contacts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: UserNotificationsContactsClient
- paginator: ListEmailContactsPaginator
- item: ListEmailContactsResponseTypeDef
paginate#
Type annotations and code completion for ListEmailContactsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListEmailContactsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEmailContactsRequestListEmailContactsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)