pub enum GetCloudFrontOriginAccessIdentityConfigError {
AccessDenied(String),
NoSuchCloudFrontOriginAccessIdentity(String),
}
Expand description
Errors returned by GetCloudFrontOriginAccessIdentityConfig
Variants§
AccessDenied(String)
Access denied.
NoSuchCloudFrontOriginAccessIdentity(String)
The specified origin access identity does not exist.
Implementations§
Trait Implementations§
Source§impl Error for GetCloudFrontOriginAccessIdentityConfigError
impl Error for GetCloudFrontOriginAccessIdentityConfigError
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 GetCloudFrontOriginAccessIdentityConfigError
impl PartialEq for GetCloudFrontOriginAccessIdentityConfigError
Source§fn eq(&self, other: &GetCloudFrontOriginAccessIdentityConfigError) -> bool
fn eq(&self, other: &GetCloudFrontOriginAccessIdentityConfigError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetCloudFrontOriginAccessIdentityConfigError
Auto Trait Implementations§
impl Freeze for GetCloudFrontOriginAccessIdentityConfigError
impl RefUnwindSafe for GetCloudFrontOriginAccessIdentityConfigError
impl Send for GetCloudFrontOriginAccessIdentityConfigError
impl Sync for GetCloudFrontOriginAccessIdentityConfigError
impl Unpin for GetCloudFrontOriginAccessIdentityConfigError
impl UnwindSafe for GetCloudFrontOriginAccessIdentityConfigError
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