Skip to content

Paginators#

Index > Artifact > Paginators

Auto-generated documentation for Artifact type annotations stubs module types-boto3-artifact.

ListCustomerAgreementsPaginator#

Type annotations and code completion for boto3.client("artifact").get_paginator("list_customer_agreements"). boto3 documentation

# ListCustomerAgreementsPaginator usage example

from boto3.session import Session

from types_boto3_artifact.paginator import ListCustomerAgreementsPaginator

def get_list_customer_agreements_paginator() -> ListCustomerAgreementsPaginator:
    return Session().client("artifact").get_paginator("list_customer_agreements")
# ListCustomerAgreementsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_artifact.paginator import ListCustomerAgreementsPaginator

session = Session()

client = Session().client("artifact")  # (1)
paginator: ListCustomerAgreementsPaginator = client.get_paginator("list_customer_agreements")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ArtifactClient
  2. paginator: ListCustomerAgreementsPaginator
  3. item: ListCustomerAgreementsResponseTypeDef

paginate#

Type annotations and code completion for ListCustomerAgreementsPaginator.paginate method.

# paginate method definition

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

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

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

ListReportsPaginator#

Type annotations and code completion for boto3.client("artifact").get_paginator("list_reports"). boto3 documentation

# ListReportsPaginator usage example

from boto3.session import Session

from types_boto3_artifact.paginator import ListReportsPaginator

def get_list_reports_paginator() -> ListReportsPaginator:
    return Session().client("artifact").get_paginator("list_reports")
# ListReportsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_artifact.paginator import ListReportsPaginator

session = Session()

client = Session().client("artifact")  # (1)
paginator: ListReportsPaginator = client.get_paginator("list_reports")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ArtifactClient
  2. paginator: ListReportsPaginator
  3. item: ListReportsResponseTypeDef

paginate#

Type annotations and code completion for ListReportsPaginator.paginate method.

# paginate method definition

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

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

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