delete_cloud_front_origin_access_identity

CloudFront.Client.delete_cloud_front_origin_access_identity(**kwargs)

Delete an origin access identity.

See also: AWS API Documentation

Request Syntax

response = client.delete_cloud_front_origin_access_identity(
    Id='string',
    IfMatch='string'
)
Parameters
  • Id (string) --

    [REQUIRED]

    The origin access identity's ID.

  • IfMatch (string) -- The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL .
Returns

None

Exceptions

  • CloudFront.Client.exceptions.AccessDenied
  • CloudFront.Client.exceptions.InvalidIfMatchVersion
  • CloudFront.Client.exceptions.NoSuchCloudFrontOriginAccessIdentity
  • CloudFront.Client.exceptions.PreconditionFailed
  • CloudFront.Client.exceptions.CloudFrontOriginAccessIdentityInUse