Enum rusoto_kms::CreateKeyError [−][src]
pub enum CreateKeyError { DependencyTimeout(String), InvalidArn(String), KMSInternal(String), LimitExceeded(String), MalformedPolicyDocument(String), Tag(String), UnsupportedOperation(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateKey
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 was not valid.
KMSInternal(String)
The request was rejected because an internal exception occurred. The request can be retried.
LimitExceeded(String)
The request was rejected because a limit was exceeded. For more information, see Limits in the AWS Key Management Service Developer Guide.
MalformedPolicyDocument(String)
The request was rejected because the specified policy is not syntactically or semantically correct.
Tag(String)
The request was rejected because one or more tags are not valid.
UnsupportedOperation(String)
The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl CreateKeyError
[src]
impl CreateKeyError
pub fn from_body(body: &str) -> CreateKeyError
[src]
pub fn from_body(body: &str) -> CreateKeyError
Trait Implementations
impl Debug for CreateKeyError
[src]
impl Debug for CreateKeyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CreateKeyError
[src]
impl PartialEq for CreateKeyError
fn eq(&self, other: &CreateKeyError) -> bool
[src]
fn eq(&self, other: &CreateKeyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateKeyError) -> bool
[src]
fn ne(&self, other: &CreateKeyError) -> bool
This method tests for !=
.
impl From<Error> for CreateKeyError
[src]
impl From<Error> for CreateKeyError
fn from(err: Error) -> CreateKeyError
[src]
fn from(err: Error) -> CreateKeyError
Performs the conversion.
impl From<CredentialsError> for CreateKeyError
[src]
impl From<CredentialsError> for CreateKeyError
fn from(err: CredentialsError) -> CreateKeyError
[src]
fn from(err: CredentialsError) -> CreateKeyError
Performs the conversion.
impl From<HttpDispatchError> for CreateKeyError
[src]
impl From<HttpDispatchError> for CreateKeyError
fn from(err: HttpDispatchError) -> CreateKeyError
[src]
fn from(err: HttpDispatchError) -> CreateKeyError
Performs the conversion.
impl From<Error> for CreateKeyError
[src]
impl From<Error> for CreateKeyError
fn from(err: Error) -> CreateKeyError
[src]
fn from(err: Error) -> CreateKeyError
Performs the conversion.
impl Display for CreateKeyError
[src]
impl Display for CreateKeyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for CreateKeyError
[src]
impl Error for CreateKeyError
Auto Trait Implementations
impl Send for CreateKeyError
impl Send for CreateKeyError
impl Sync for CreateKeyError
impl Sync for CreateKeyError