Skip to content

Paginators#

Index > ACM > Paginators

Auto-generated documentation for ACM type annotations stubs module types-boto3-acm.

ListCertificatesPaginator#

Type annotations and code completion for boto3.client("acm").get_paginator("list_certificates"). boto3 documentation

# ListCertificatesPaginator usage example

from boto3.session import Session

from types_boto3_acm.paginator import ListCertificatesPaginator

def get_list_certificates_paginator() -> ListCertificatesPaginator:
    return Session().client("acm").get_paginator("list_certificates")
# ListCertificatesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_acm.paginator import ListCertificatesPaginator

session = Session()

client = Session().client("acm")  # (1)
paginator: ListCertificatesPaginator = client.get_paginator("list_certificates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ACMClient
  2. paginator: ListCertificatesPaginator
  3. item: ListCertificatesResponseTypeDef

paginate#

Type annotations and code completion for ListCertificatesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CertificateStatuses: Sequence[CertificateStatusType] = ...,  # (1)
    Includes: FiltersTypeDef = ...,  # (2)
    SortBy: SortByType = ...,  # (3)
    SortOrder: SortOrderType = ...,  # (4)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (5)
) -> PageIterator[ListCertificatesResponseTypeDef]:  # (6)
    ...
  1. See CertificateStatusType
  2. See FiltersTypeDef
  3. See SortByType
  4. See SortOrderType
  5. See PaginatorConfigTypeDef
  6. See ListCertificatesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCertificatesRequestPaginateTypeDef = {  # (1)
    "CertificateStatuses": ...,
}

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