Enum rusoto_cognito_idp::AssociateSoftwareTokenError[][src]

pub enum AssociateSoftwareTokenError {
    InternalError(String),
    InvalidParameter(String),
    NotAuthorized(String),
    ResourceNotFound(String),
    SoftwareTokenMFANotFound(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by AssociateSoftwareToken

Variants

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 a user is not authorized.

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.

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

Trait Implementations

impl Debug for AssociateSoftwareTokenError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AssociateSoftwareTokenError
[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 AssociateSoftwareTokenError
[src]

Performs the conversion.

impl From<CredentialsError> for AssociateSoftwareTokenError
[src]

Performs the conversion.

impl From<HttpDispatchError> for AssociateSoftwareTokenError
[src]

Performs the conversion.

impl From<Error> for AssociateSoftwareTokenError
[src]

Performs the conversion.

impl Display for AssociateSoftwareTokenError
[src]

Formats the value using the given formatter. Read more

impl Error for AssociateSoftwareTokenError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations