Skip to content

Paginators#

Index > CloudFront > Paginators

Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.

ListCloudFrontOriginAccessIdentitiesPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_cloud_front_origin_access_identities"). boto3 documentation

# ListCloudFrontOriginAccessIdentitiesPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListCloudFrontOriginAccessIdentitiesPaginator

def get_list_cloud_front_origin_access_identities_paginator() -> ListCloudFrontOriginAccessIdentitiesPaginator:
    return Session().client("cloudfront").get_paginator("list_cloud_front_origin_access_identities")
# ListCloudFrontOriginAccessIdentitiesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListCloudFrontOriginAccessIdentitiesPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListCloudFrontOriginAccessIdentitiesPaginator = client.get_paginator("list_cloud_front_origin_access_identities")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListCloudFrontOriginAccessIdentitiesPaginator
  3. item: ListCloudFrontOriginAccessIdentitiesResultTypeDef

paginate#

Type annotations and code completion for ListCloudFrontOriginAccessIdentitiesPaginator.paginate method.

# paginate method definition

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

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

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

ListDistributionsPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_distributions"). boto3 documentation

# ListDistributionsPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListDistributionsPaginator

def get_list_distributions_paginator() -> ListDistributionsPaginator:
    return Session().client("cloudfront").get_paginator("list_distributions")
# ListDistributionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListDistributionsPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListDistributionsPaginator = client.get_paginator("list_distributions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListDistributionsPaginator
  3. item: ListDistributionsResultTypeDef

paginate#

Type annotations and code completion for ListDistributionsPaginator.paginate method.

# paginate method definition

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

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

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

ListInvalidationsPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_invalidations"). boto3 documentation

# ListInvalidationsPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListInvalidationsPaginator

def get_list_invalidations_paginator() -> ListInvalidationsPaginator:
    return Session().client("cloudfront").get_paginator("list_invalidations")
# ListInvalidationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListInvalidationsPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListInvalidationsPaginator = client.get_paginator("list_invalidations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListInvalidationsPaginator
  3. item: ListInvalidationsResultTypeDef

paginate#

Type annotations and code completion for ListInvalidationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListInvalidationsRequestListInvalidationsPaginateTypeDef = {  # (1)
    "DistributionId": ...,
}

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

ListKeyValueStoresPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_key_value_stores"). boto3 documentation

# ListKeyValueStoresPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListKeyValueStoresPaginator

def get_list_key_value_stores_paginator() -> ListKeyValueStoresPaginator:
    return Session().client("cloudfront").get_paginator("list_key_value_stores")
# ListKeyValueStoresPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListKeyValueStoresPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListKeyValueStoresPaginator = client.get_paginator("list_key_value_stores")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListKeyValueStoresPaginator
  3. item: ListKeyValueStoresResultTypeDef

paginate#

Type annotations and code completion for ListKeyValueStoresPaginator.paginate method.

# paginate method definition

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

kwargs: ListKeyValueStoresRequestListKeyValueStoresPaginateTypeDef = {  # (1)
    "Status": ...,
}

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

ListPublicKeysPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_public_keys"). boto3 documentation

# ListPublicKeysPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListPublicKeysPaginator

def get_list_public_keys_paginator() -> ListPublicKeysPaginator:
    return Session().client("cloudfront").get_paginator("list_public_keys")
# ListPublicKeysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListPublicKeysPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListPublicKeysPaginator = client.get_paginator("list_public_keys")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListPublicKeysPaginator
  3. item: ListPublicKeysResultTypeDef

paginate#

Type annotations and code completion for ListPublicKeysPaginator.paginate method.

# paginate method definition

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

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

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

ListStreamingDistributionsPaginator#

Type annotations and code completion for boto3.client("cloudfront").get_paginator("list_streaming_distributions"). boto3 documentation

# ListStreamingDistributionsPaginator usage example

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListStreamingDistributionsPaginator

def get_list_streaming_distributions_paginator() -> ListStreamingDistributionsPaginator:
    return Session().client("cloudfront").get_paginator("list_streaming_distributions")
# ListStreamingDistributionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_cloudfront.paginator import ListStreamingDistributionsPaginator

session = Session()

client = Session().client("cloudfront")  # (1)
paginator: ListStreamingDistributionsPaginator = client.get_paginator("list_streaming_distributions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudFrontClient
  2. paginator: ListStreamingDistributionsPaginator
  3. item: ListStreamingDistributionsResultTypeDef

paginate#

Type annotations and code completion for ListStreamingDistributionsPaginator.paginate method.

# paginate method definition

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

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

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