Enum rusoto_cognito_idp::AdminSetUserMFAPreferenceError [−][src]
pub enum AdminSetUserMFAPreferenceError { InternalError(String), InvalidParameter(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AdminSetUserMFAPreference
Variants
InternalError(String)
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameter(String)
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorized(String)
This exception is thrown when a user is not authorized.
PasswordResetRequired(String)
This exception is thrown when a password reset is required.
ResourceNotFound(String)
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
UserNotConfirmed(String)
This exception is thrown when a user is not confirmed successfully.
UserNotFound(String)
This exception is thrown when a user is not found.
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 AdminSetUserMFAPreferenceError
[src]
impl AdminSetUserMFAPreferenceError
pub fn from_body(body: &str) -> AdminSetUserMFAPreferenceError
[src]
pub fn from_body(body: &str) -> AdminSetUserMFAPreferenceError
Trait Implementations
impl Debug for AdminSetUserMFAPreferenceError
[src]
impl Debug for AdminSetUserMFAPreferenceError
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 AdminSetUserMFAPreferenceError
[src]
impl PartialEq for AdminSetUserMFAPreferenceError
fn eq(&self, other: &AdminSetUserMFAPreferenceError) -> bool
[src]
fn eq(&self, other: &AdminSetUserMFAPreferenceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AdminSetUserMFAPreferenceError) -> bool
[src]
fn ne(&self, other: &AdminSetUserMFAPreferenceError) -> bool
This method tests for !=
.
impl From<Error> for AdminSetUserMFAPreferenceError
[src]
impl From<Error> for AdminSetUserMFAPreferenceError
fn from(err: Error) -> AdminSetUserMFAPreferenceError
[src]
fn from(err: Error) -> AdminSetUserMFAPreferenceError
Performs the conversion.
impl From<CredentialsError> for AdminSetUserMFAPreferenceError
[src]
impl From<CredentialsError> for AdminSetUserMFAPreferenceError
fn from(err: CredentialsError) -> AdminSetUserMFAPreferenceError
[src]
fn from(err: CredentialsError) -> AdminSetUserMFAPreferenceError
Performs the conversion.
impl From<HttpDispatchError> for AdminSetUserMFAPreferenceError
[src]
impl From<HttpDispatchError> for AdminSetUserMFAPreferenceError
fn from(err: HttpDispatchError) -> AdminSetUserMFAPreferenceError
[src]
fn from(err: HttpDispatchError) -> AdminSetUserMFAPreferenceError
Performs the conversion.
impl From<Error> for AdminSetUserMFAPreferenceError
[src]
impl From<Error> for AdminSetUserMFAPreferenceError
fn from(err: Error) -> AdminSetUserMFAPreferenceError
[src]
fn from(err: Error) -> AdminSetUserMFAPreferenceError
Performs the conversion.
impl Display for AdminSetUserMFAPreferenceError
[src]
impl Display for AdminSetUserMFAPreferenceError
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 AdminSetUserMFAPreferenceError
[src]
impl Error for AdminSetUserMFAPreferenceError
Auto Trait Implementations
impl Send for AdminSetUserMFAPreferenceError
impl Send for AdminSetUserMFAPreferenceError
impl Sync for AdminSetUserMFAPreferenceError
impl Sync for AdminSetUserMFAPreferenceError