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]
fn from_body(body: &str) -> CreateKeyError
Trait Implementations
impl Debug for CreateKeyError
[src]
impl PartialEq for CreateKeyError
[src]
fn eq(&self, __arg_0: &CreateKeyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateKeyError) -> bool
This method tests for !=
.
impl From<Error> for CreateKeyError
[src]
fn from(err: Error) -> CreateKeyError
Performs the conversion.
impl From<CredentialsError> for CreateKeyError
[src]
fn from(err: CredentialsError) -> CreateKeyError
Performs the conversion.
impl From<HttpDispatchError> for CreateKeyError
[src]
fn from(err: HttpDispatchError) -> CreateKeyError
Performs the conversion.
impl From<Error> for CreateKeyError
[src]
fn from(err: Error) -> CreateKeyError
Performs the conversion.