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.AccessDenied
CloudFront.Client.exceptions.PublicKeyInUse
CloudFront.Client.exceptions.InvalidIfMatchVersion
CloudFront.Client.exceptions.NoSuchPublicKey
CloudFront.Client.exceptions.PreconditionFailed