Skip to content

Paginators#

Index > SESV2 > Paginators

Auto-generated documentation for SESV2 type annotations stubs module types-boto3-sesv2.

ListMultiRegionEndpointsPaginator#

Type annotations and code completion for boto3.client("sesv2").get_paginator("list_multi_region_endpoints"). boto3 documentation

# ListMultiRegionEndpointsPaginator usage example

from boto3.session import Session

from types_boto3_sesv2.paginator import ListMultiRegionEndpointsPaginator

def get_list_multi_region_endpoints_paginator() -> ListMultiRegionEndpointsPaginator:
    return Session().client("sesv2").get_paginator("list_multi_region_endpoints")
# ListMultiRegionEndpointsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_sesv2.paginator import ListMultiRegionEndpointsPaginator

session = Session()

client = Session().client("sesv2")  # (1)
paginator: ListMultiRegionEndpointsPaginator = client.get_paginator("list_multi_region_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SESV2Client
  2. paginator: ListMultiRegionEndpointsPaginator
  3. item: ListMultiRegionEndpointsResponseTypeDef

paginate#

Type annotations and code completion for ListMultiRegionEndpointsPaginator.paginate method.

# paginate method definition

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

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

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