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)
- client: CloudFrontClient
- paginator: ListCloudFrontOriginAccessIdentitiesPaginator
- item: ListCloudFrontOriginAccessIdentitiesResultTypeDef
paginate#
Type annotations and code completion for ListCloudFrontOriginAccessIdentitiesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListCloudFrontOriginAccessIdentitiesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListCloudFrontOriginAccessIdentitiesRequestListCloudFrontOriginAccessIdentitiesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudFrontClient
- paginator: ListDistributionsPaginator
- item: ListDistributionsResultTypeDef
paginate#
Type annotations and code completion for ListDistributionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDistributionsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDistributionsRequestListDistributionsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudFrontClient
- paginator: ListInvalidationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListInvalidationsRequestListInvalidationsPaginateTypeDef = { # (1)
"DistributionId": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudFrontClient
- paginator: ListKeyValueStoresPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListKeyValueStoresRequestListKeyValueStoresPaginateTypeDef = { # (1)
"Status": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudFrontClient
- paginator: ListStreamingDistributionsPaginator
- item: ListStreamingDistributionsResultTypeDef
paginate#
Type annotations and code completion for ListStreamingDistributionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListStreamingDistributionsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListStreamingDistributionsRequestListStreamingDistributionsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)