pub enum UpdatePublicKeyError {
AccessDenied(String),
CannotChangeImmutablePublicKeyFields(String),
IllegalUpdate(String),
InvalidArgument(String),
InvalidIfMatchVersion(String),
NoSuchPublicKey(String),
PreconditionFailed(String),
}
Expand description
Errors returned by UpdatePublicKey
Variants§
AccessDenied(String)
Access denied.
CannotChangeImmutablePublicKeyFields(String)
You can't change the value of a public key.
IllegalUpdate(String)
Origin and CallerReference
cannot be updated.
InvalidArgument(String)
An argument is invalid.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid for the distribution.
NoSuchPublicKey(String)
The specified public key doesn't exist.
PreconditionFailed(String)
The precondition given in one or more of the request header fields evaluated to false
.
Implementations§
Source§impl UpdatePublicKeyError
impl UpdatePublicKeyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdatePublicKeyError>
Trait Implementations§
Source§impl Debug for UpdatePublicKeyError
impl Debug for UpdatePublicKeyError
Source§impl Display for UpdatePublicKeyError
impl Display for UpdatePublicKeyError
Source§impl Error for UpdatePublicKeyError
impl Error for UpdatePublicKeyError
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 UpdatePublicKeyError
impl PartialEq for UpdatePublicKeyError
impl StructuralPartialEq for UpdatePublicKeyError
Auto Trait Implementations§
impl Freeze for UpdatePublicKeyError
impl RefUnwindSafe for UpdatePublicKeyError
impl Send for UpdatePublicKeyError
impl Sync for UpdatePublicKeyError
impl Unpin for UpdatePublicKeyError
impl UnwindSafe for UpdatePublicKeyError
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