pub enum ScheduleKeyDeletionError {
DependencyTimeout(String),
InvalidArn(String),
KMSInternal(String),
KMSInvalidState(String),
NotFound(String),
}
Expand description
Errors returned by ScheduleKeyDeletion
Variants§
DependencyTimeout(String)
The system timed out while trying to fulfill the request. The request can be retried.
InvalidArn(String)
The request was rejected because a specified ARN, or an ARN in a key policy, is not valid.
KMSInternal(String)
The request was rejected because an internal exception occurred. The request can be retried.
KMSInvalidState(String)
The request was rejected because the state of the specified resource is not valid for this request.
For more information about how key state affects the use of a CMK, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide .
NotFound(String)
The request was rejected because the specified entity or resource could not be found.
Implementations§
Source§impl ScheduleKeyDeletionError
impl ScheduleKeyDeletionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ScheduleKeyDeletionError>
Trait Implementations§
Source§impl Debug for ScheduleKeyDeletionError
impl Debug for ScheduleKeyDeletionError
Source§impl Display for ScheduleKeyDeletionError
impl Display for ScheduleKeyDeletionError
Source§impl Error for ScheduleKeyDeletionError
impl Error for ScheduleKeyDeletionError
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 ScheduleKeyDeletionError
impl PartialEq for ScheduleKeyDeletionError
impl StructuralPartialEq for ScheduleKeyDeletionError
Auto Trait Implementations§
impl Freeze for ScheduleKeyDeletionError
impl RefUnwindSafe for ScheduleKeyDeletionError
impl Send for ScheduleKeyDeletionError
impl Sync for ScheduleKeyDeletionError
impl Unpin for ScheduleKeyDeletionError
impl UnwindSafe for ScheduleKeyDeletionError
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