delete_public_key(**kwargs)¶Remove a public key you previously added to CloudFront.
See also: AWS API Documentation
Request Syntax
response = client.delete_public_key(
Id='string',
IfMatch='string'
)
[REQUIRED]
The ID of the public key you want to remove from CloudFront.
ETag header that you received when retrieving the public key identity to delete. For example: E2QWRUHAPOMQZL .None
Exceptions
CloudFront.Client.exceptions.AccessDeniedCloudFront.Client.exceptions.PublicKeyInUseCloudFront.Client.exceptions.InvalidIfMatchVersionCloudFront.Client.exceptions.NoSuchPublicKeyCloudFront.Client.exceptions.PreconditionFailed