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

The request was rejected because the SSH public key is already associated with the specified IAM user.

The request was rejected because the public key is malformed or otherwise invalid.

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

The request was rejected because the public key encoding format is unsupported or unrecognized.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl UploadSSHPublicKeyError
[src]

Trait Implementations

impl Debug for UploadSSHPublicKeyError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for UploadSSHPublicKeyError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<XmlParseError> for UploadSSHPublicKeyError
[src]

Performs the conversion.

impl From<CredentialsError> for UploadSSHPublicKeyError
[src]

Performs the conversion.

impl From<HttpDispatchError> for UploadSSHPublicKeyError
[src]

Performs the conversion.

impl From<Error> for UploadSSHPublicKeyError
[src]

Performs the conversion.

impl Display for UploadSSHPublicKeyError
[src]

Formats the value using the given formatter. Read more

impl Error for UploadSSHPublicKeyError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations