Skip to content

Paginators#

Index > PaymentCryptographyControlPlane > Paginators

Auto-generated documentation for PaymentCryptographyControlPlane type annotations stubs module mypy-boto3-payment-cryptography.

ListAliasesPaginator#

Type annotations and code completion for boto3.client("payment-cryptography").get_paginator("list_aliases"). boto3 documentation

# ListAliasesPaginator usage example

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListAliasesPaginator

def get_list_aliases_paginator() -> ListAliasesPaginator:
    return Session().client("payment-cryptography").get_paginator("list_aliases")
# ListAliasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListAliasesPaginator

session = Session()

client = Session().client("payment-cryptography")  # (1)
paginator: ListAliasesPaginator = client.get_paginator("list_aliases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PaymentCryptographyControlPlaneClient
  2. paginator: ListAliasesPaginator
  3. item: ListAliasesOutputTypeDef

paginate#

Type annotations and code completion for ListAliasesPaginator.paginate method.

# paginate method definition

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

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

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

ListKeysPaginator#

Type annotations and code completion for boto3.client("payment-cryptography").get_paginator("list_keys"). boto3 documentation

# ListKeysPaginator usage example

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListKeysPaginator

def get_list_keys_paginator() -> ListKeysPaginator:
    return Session().client("payment-cryptography").get_paginator("list_keys")
# ListKeysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListKeysPaginator

session = Session()

client = Session().client("payment-cryptography")  # (1)
paginator: ListKeysPaginator = client.get_paginator("list_keys")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PaymentCryptographyControlPlaneClient
  2. paginator: ListKeysPaginator
  3. item: ListKeysOutputTypeDef

paginate#

Type annotations and code completion for ListKeysPaginator.paginate method.

# paginate method definition

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

kwargs: ListKeysInputListKeysPaginateTypeDef = {  # (1)
    "KeyState": ...,
}

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

ListTagsForResourcePaginator#

Type annotations and code completion for boto3.client("payment-cryptography").get_paginator("list_tags_for_resource"). boto3 documentation

# ListTagsForResourcePaginator usage example

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListTagsForResourcePaginator

def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
    return Session().client("payment-cryptography").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_payment_cryptography.paginator import ListTagsForResourcePaginator

session = Session()

client = Session().client("payment-cryptography")  # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PaymentCryptographyControlPlaneClient
  2. paginator: ListTagsForResourcePaginator
  3. item: ListTagsForResourceOutputTypeDef

paginate#

Type annotations and code completion for ListTagsForResourcePaginator.paginate method.

# paginate method definition

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

kwargs: ListTagsForResourceInputListTagsForResourcePaginateTypeDef = {  # (1)
    "ResourceArn": ...,
}

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