Paginators#
Index > EndUserMessagingSocial > Paginators
Auto-generated documentation for EndUserMessagingSocial type annotations stubs module mypy-boto3-socialmessaging.
ListLinkedWhatsAppBusinessAccountsPaginator#
Type annotations and code completion for boto3.client("socialmessaging").get_paginator("list_linked_whatsapp_business_accounts")
.
boto3 documentation
# ListLinkedWhatsAppBusinessAccountsPaginator usage example
from boto3.session import Session
from mypy_boto3_socialmessaging.paginator import ListLinkedWhatsAppBusinessAccountsPaginator
def get_list_linked_whatsapp_business_accounts_paginator() -> ListLinkedWhatsAppBusinessAccountsPaginator:
return Session().client("socialmessaging").get_paginator("list_linked_whatsapp_business_accounts")
# ListLinkedWhatsAppBusinessAccountsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_socialmessaging.paginator import ListLinkedWhatsAppBusinessAccountsPaginator
session = Session()
client = Session().client("socialmessaging") # (1)
paginator: ListLinkedWhatsAppBusinessAccountsPaginator = client.get_paginator("list_linked_whatsapp_business_accounts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: EndUserMessagingSocialClient
- paginator: ListLinkedWhatsAppBusinessAccountsPaginator
- item: ListLinkedWhatsAppBusinessAccountsOutputTypeDef
paginate#
Type annotations and code completion for ListLinkedWhatsAppBusinessAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListLinkedWhatsAppBusinessAccountsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListLinkedWhatsAppBusinessAccountsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)