pub enum DeleteCloudFrontOriginAccessIdentityError {
AccessDenied(String),
CloudFrontOriginAccessIdentityInUse(String),
InvalidIfMatchVersion(String),
NoSuchCloudFrontOriginAccessIdentity(String),
PreconditionFailed(String),
}Expand description
Errors returned by DeleteCloudFrontOriginAccessIdentity
Variants§
AccessDenied(String)
Access denied.
CloudFrontOriginAccessIdentityInUse(String)
The Origin Access Identity specified is already in use.
InvalidIfMatchVersion(String)
The If-Match version is missing or not valid for the distribution.
NoSuchCloudFrontOriginAccessIdentity(String)
The specified origin access identity does not exist.
PreconditionFailed(String)
The precondition given in one or more of the request header fields evaluated to false.
Implementations§
Trait Implementations§
Source§impl Error for DeleteCloudFrontOriginAccessIdentityError
impl Error for DeleteCloudFrontOriginAccessIdentityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DeleteCloudFrontOriginAccessIdentityError
impl PartialEq for DeleteCloudFrontOriginAccessIdentityError
Source§fn eq(&self, other: &DeleteCloudFrontOriginAccessIdentityError) -> bool
fn eq(&self, other: &DeleteCloudFrontOriginAccessIdentityError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteCloudFrontOriginAccessIdentityError
Auto Trait Implementations§
impl Freeze for DeleteCloudFrontOriginAccessIdentityError
impl RefUnwindSafe for DeleteCloudFrontOriginAccessIdentityError
impl Send for DeleteCloudFrontOriginAccessIdentityError
impl Sync for DeleteCloudFrontOriginAccessIdentityError
impl Unpin for DeleteCloudFrontOriginAccessIdentityError
impl UnwindSafe for DeleteCloudFrontOriginAccessIdentityError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more