Skip to content

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)
  1. client: EndUserMessagingSocialClient
  2. paginator: ListLinkedWhatsAppBusinessAccountsPaginator
  3. item: ListLinkedWhatsAppBusinessAccountsOutputTypeDef

paginate#

Type annotations and code completion for ListLinkedWhatsAppBusinessAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListLinkedWhatsAppBusinessAccountsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListLinkedWhatsAppBusinessAccountsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListLinkedWhatsAppBusinessAccountsInputListLinkedWhatsAppBusinessAccountsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListLinkedWhatsAppBusinessAccountsInputListLinkedWhatsAppBusinessAccountsPaginateTypeDef