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