Delete an origin access identity.
| C# |
public DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity()
The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
| Exception | Condition |
|---|---|
| AccessDeniedException |
Access denied.
|
| CloudFrontOriginAccessIdentityInUseException | |
| InvalidIfMatchVersionException |
The If-Match version is missing or not valid for the distribution.
|
| NoSuchCloudFrontOriginAccessIdentityException |
The specified origin access identity does not exist.
|
| PreconditionFailedException |
The precondition given in one or more of the request-header fields evaluated to false.
|