Struct aws_sdk_kms::error::IncorrectKeyMaterialException
source · #[non_exhaustive]pub struct IncorrectKeyMaterialException { /* private fields */ }
Expand description
The request was rejected because the key material in the request is, expired, invalid, or is not the same key material that was previously imported into this KMS key.
Implementations§
source§impl IncorrectKeyMaterialException
impl IncorrectKeyMaterialException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IncorrectKeyMaterialException
.
Trait Implementations§
source§impl Clone for IncorrectKeyMaterialException
impl Clone for IncorrectKeyMaterialException
source§fn clone(&self) -> IncorrectKeyMaterialException
fn clone(&self) -> IncorrectKeyMaterialException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Error for IncorrectKeyMaterialException
impl Error for IncorrectKeyMaterialException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()