AWS SDK for .NET Documentation
DeleteCloudFrontOriginAccessIdentity Method
AmazonAmazon.CloudFrontAmazonCloudFrontDeleteCloudFrontOriginAccessIdentity()()()() Did this page help you?   Yes   No    Tell us about it...
Delete an origin access identity.
Declaration Syntax
C#
DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity()
Return Value
The response from the DeleteCloudFrontOriginAccessIdentity service method, as returned by CloudFront.
Exceptions
ExceptionCondition
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.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)