pub enum UpdateCloudFrontOriginAccessIdentityError {
AccessDenied(String),
IllegalUpdate(String),
InconsistentQuantities(String),
InvalidArgument(String),
InvalidIfMatchVersion(String),
MissingBody(String),
NoSuchCloudFrontOriginAccessIdentity(String),
PreconditionFailed(String),
}
Expand description
Errors returned by UpdateCloudFrontOriginAccessIdentity
Variants§
AccessDenied(String)
Access denied.
IllegalUpdate(String)
Origin and CallerReference
cannot be updated.
InconsistentQuantities(String)
The value of Quantity
and the size of Items
don't match.
InvalidArgument(String)
An argument is invalid.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid for the distribution.
MissingBody(String)
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
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 UpdateCloudFrontOriginAccessIdentityError
impl Error for UpdateCloudFrontOriginAccessIdentityError
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 UpdateCloudFrontOriginAccessIdentityError
impl PartialEq for UpdateCloudFrontOriginAccessIdentityError
Source§fn eq(&self, other: &UpdateCloudFrontOriginAccessIdentityError) -> bool
fn eq(&self, other: &UpdateCloudFrontOriginAccessIdentityError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateCloudFrontOriginAccessIdentityError
Auto Trait Implementations§
impl Freeze for UpdateCloudFrontOriginAccessIdentityError
impl RefUnwindSafe for UpdateCloudFrontOriginAccessIdentityError
impl Send for UpdateCloudFrontOriginAccessIdentityError
impl Sync for UpdateCloudFrontOriginAccessIdentityError
impl Unpin for UpdateCloudFrontOriginAccessIdentityError
impl UnwindSafe for UpdateCloudFrontOriginAccessIdentityError
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