Enum rusoto_iam::EnableMFADeviceError
[−]
[src]
pub enum EnableMFADeviceError { EntityAlreadyExists(String), EntityTemporarilyUnmodifiable(String), InvalidAuthenticationCode(String), LimitExceeded(String), NoSuchEntity(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by EnableMFADevice
Variants
EntityAlreadyExists(String)
The request was rejected because it attempted to create a resource that already exists.
EntityTemporarilyUnmodifiable(String)
The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.
InvalidAuthenticationCode(String)
The request was rejected because the authentication code was not recognized. The error message describes the specific error.
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.
ServiceFailure(String)
The request processing has failed because of an unknown error, exception or failure.
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 EnableMFADeviceError
[src]
pub fn from_body(body: &str) -> EnableMFADeviceError
[src]
Trait Implementations
impl Debug for EnableMFADeviceError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for EnableMFADeviceError
[src]
fn eq(&self, __arg_0: &EnableMFADeviceError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnableMFADeviceError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for EnableMFADeviceError
[src]
fn from(err: XmlParseError) -> EnableMFADeviceError
[src]
Performs the conversion.
impl From<CredentialsError> for EnableMFADeviceError
[src]
fn from(err: CredentialsError) -> EnableMFADeviceError
[src]
Performs the conversion.
impl From<HttpDispatchError> for EnableMFADeviceError
[src]
fn from(err: HttpDispatchError) -> EnableMFADeviceError
[src]
Performs the conversion.
impl From<Error> for EnableMFADeviceError
[src]
fn from(err: Error) -> EnableMFADeviceError
[src]
Performs the conversion.
impl Display for EnableMFADeviceError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more