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

This exception is thrown if the provided code does not match what the server was expecting.

This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).

This exception is thrown when Amazon Cognito encounters an internal error.

This exception is thrown when the Amazon Cognito service encounters an invalid parameter.

This exception is thrown when the user pool configuration is invalid.

This exception is thrown when a user is not authorized.

This exception is thrown when a password reset is required.

This exception is thrown when the Amazon Cognito service cannot find the requested resource.

This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.

This exception is thrown when the user has made too many requests for a given operation.

This exception is thrown when a user is not confirmed successfully.

This exception is thrown when a user is not found.

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 VerifySoftwareTokenError
[src]

Trait Implementations

impl Debug for VerifySoftwareTokenError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for VerifySoftwareTokenError
[src]

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

This method tests for !=.

impl From<Error> for VerifySoftwareTokenError
[src]

Performs the conversion.

impl From<CredentialsError> for VerifySoftwareTokenError
[src]

Performs the conversion.

impl From<HttpDispatchError> for VerifySoftwareTokenError
[src]

Performs the conversion.

impl From<Error> for VerifySoftwareTokenError
[src]

Performs the conversion.

impl Display for VerifySoftwareTokenError
[src]

Formats the value using the given formatter. Read more

impl Error for VerifySoftwareTokenError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations