Skip to content

CloudFront  >  Operations  >  list_public_keys

list_public_keys

Operation

list_public_keys async

list_public_keys(input: ListPublicKeysInput, plugins: list[Plugin] | None = None) -> ListPublicKeysOutput

List all public keys that have been added to CloudFront for this account.

Parameters:

Name Type Description Default
input ListPublicKeysInput

An instance of ListPublicKeysInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListPublicKeysOutput

An instance of ListPublicKeysOutput.

Input

ListPublicKeysInput dataclass

Bases: _SerdeShape

Dataclass for ListPublicKeysInput structure.

Attributes

marker class-attribute instance-attribute
marker: str | None = ...

Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).

max_items class-attribute instance-attribute
max_items: int | None = ...

The maximum number of public keys you want in the response body.

Output

ListPublicKeysOutput dataclass

Bases: _SerdeShape

Dataclass for ListPublicKeysOutput structure.

Attributes

public_key_list class-attribute instance-attribute
public_key_list: PublicKeyList | None = ...

Returns a list of all public keys that have been added to CloudFront for this account.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.