Enum rusoto_iam::UploadSSHPublicKeyError
[−]
[src]
pub enum UploadSSHPublicKeyError { DuplicateSSHPublicKey(String), InvalidPublicKey(String), LimitExceeded(String), NoSuchEntity(String), UnrecognizedPublicKeyEncoding(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UploadSSHPublicKey
Variants
DuplicateSSHPublicKey(String)
The request was rejected because the SSH public key is already associated with the specified IAM user.
InvalidPublicKey(String)
The request was rejected because the public key is malformed or otherwise invalid.
LimitExceeded(String)
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
UnrecognizedPublicKeyEncoding(String)
The request was rejected because the public key encoding format is unsupported or unrecognized.
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 UploadSSHPublicKeyError
[src]
fn from_body(body: &str) -> UploadSSHPublicKeyError
Trait Implementations
impl Debug for UploadSSHPublicKeyError
[src]
impl PartialEq for UploadSSHPublicKeyError
[src]
fn eq(&self, __arg_0: &UploadSSHPublicKeyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UploadSSHPublicKeyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for UploadSSHPublicKeyError
[src]
fn from(err: XmlParseError) -> UploadSSHPublicKeyError
Performs the conversion.
impl From<CredentialsError> for UploadSSHPublicKeyError
[src]
fn from(err: CredentialsError) -> UploadSSHPublicKeyError
Performs the conversion.
impl From<HttpDispatchError> for UploadSSHPublicKeyError
[src]
fn from(err: HttpDispatchError) -> UploadSSHPublicKeyError
Performs the conversion.