[][src]Enum rusoto_cognito_idp::AssociateSoftwareTokenError

pub enum AssociateSoftwareTokenError {
    InternalError(String),
    InvalidParameter(String),
    NotAuthorized(String),
    ResourceNotFound(String),
    SoftwareTokenMFANotFound(String),
}

Errors returned by AssociateSoftwareToken

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.

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.

Implementations

impl AssociateSoftwareTokenError[src]

Trait Implementations

impl Debug for AssociateSoftwareTokenError[src]

impl Display for AssociateSoftwareTokenError[src]

impl Error for AssociateSoftwareTokenError[src]

impl PartialEq<AssociateSoftwareTokenError> for AssociateSoftwareTokenError[src]

impl StructuralPartialEq for AssociateSoftwareTokenError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.