CloudFront / Paginator / ListPublicKeys
ListPublicKeys#
- class CloudFront.Paginator.ListPublicKeys#
paginator = client.get_paginator('list_public_keys')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
CloudFront.Client.list_public_keys()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'PublicKeyList': { 'NextMarker': 'string', 'MaxItems': 123, 'Quantity': 123, 'Items': [ { 'Id': 'string', 'Name': 'string', 'CreatedTime': datetime(2015, 1, 1), 'EncodedKey': 'string', 'Comment': 'string' }, ] }, 'NextToken': 'string' }
Response Structure
(dict) –
PublicKeyList (dict) –
Returns a list of all public keys that have been added to CloudFront for this account.
NextMarker (string) –
If there are more elements to be listed, this element is present and contains the value that you can use for the
Marker
request parameter to continue listing your public keys where you left off.MaxItems (integer) –
The maximum number of public keys you want in the response.
Quantity (integer) –
The number of public keys in the list.
Items (list) –
A list of public keys.
(dict) –
Contains information about a public key.
Id (string) –
The identifier of the public key.
Name (string) –
A name to help identify the public key.
CreatedTime (datetime) –
The date and time when the public key was uploaded.
EncodedKey (string) –
The public key.
Comment (string) –
A comment to describe the public key. The comment cannot be longer than 128 characters.
NextToken (string) –
A token to resume pagination.