Enum rusoto_cognito_idp::VerifySoftwareTokenError [−][src]
pub enum VerifySoftwareTokenError { CodeMismatch(String), EnableSoftwareTokenMFA(String), InternalError(String), InvalidParameter(String), InvalidUserPoolConfiguration(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), SoftwareTokenMFANotFound(String), TooManyRequests(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by VerifySoftwareToken
Variants
CodeMismatch(String)
This exception is thrown if the provided code does not match what the server was expecting.
EnableSoftwareTokenMFA(String)
This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).
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.
InvalidUserPoolConfiguration(String)
This exception is thrown when the user pool configuration is invalid.
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.
SoftwareTokenMFANotFound(String)
This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
TooManyRequests(String)
This exception is thrown when the user has made too many requests for a given operation.
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 VerifySoftwareTokenError
[src]
impl VerifySoftwareTokenError
pub fn from_body(body: &str) -> VerifySoftwareTokenError
[src]
pub fn from_body(body: &str) -> VerifySoftwareTokenError
Trait Implementations
impl Debug for VerifySoftwareTokenError
[src]
impl Debug for VerifySoftwareTokenError
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 VerifySoftwareTokenError
[src]
impl PartialEq for VerifySoftwareTokenError
fn eq(&self, other: &VerifySoftwareTokenError) -> bool
[src]
fn eq(&self, other: &VerifySoftwareTokenError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VerifySoftwareTokenError) -> bool
[src]
fn ne(&self, other: &VerifySoftwareTokenError) -> bool
This method tests for !=
.
impl From<Error> for VerifySoftwareTokenError
[src]
impl From<Error> for VerifySoftwareTokenError
fn from(err: Error) -> VerifySoftwareTokenError
[src]
fn from(err: Error) -> VerifySoftwareTokenError
Performs the conversion.
impl From<CredentialsError> for VerifySoftwareTokenError
[src]
impl From<CredentialsError> for VerifySoftwareTokenError
fn from(err: CredentialsError) -> VerifySoftwareTokenError
[src]
fn from(err: CredentialsError) -> VerifySoftwareTokenError
Performs the conversion.
impl From<HttpDispatchError> for VerifySoftwareTokenError
[src]
impl From<HttpDispatchError> for VerifySoftwareTokenError
fn from(err: HttpDispatchError) -> VerifySoftwareTokenError
[src]
fn from(err: HttpDispatchError) -> VerifySoftwareTokenError
Performs the conversion.
impl From<Error> for VerifySoftwareTokenError
[src]
impl From<Error> for VerifySoftwareTokenError
fn from(err: Error) -> VerifySoftwareTokenError
[src]
fn from(err: Error) -> VerifySoftwareTokenError
Performs the conversion.
impl Display for VerifySoftwareTokenError
[src]
impl Display for VerifySoftwareTokenError
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 VerifySoftwareTokenError
[src]
impl Error for VerifySoftwareTokenError
Auto Trait Implementations
impl Send for VerifySoftwareTokenError
impl Send for VerifySoftwareTokenError
impl Sync for VerifySoftwareTokenError
impl Sync for VerifySoftwareTokenError