Enum aws_sdk_cognitoidentityprovider::error::AssociateSoftwareTokenErrorKind [−][src]
#[non_exhaustive]
pub enum AssociateSoftwareTokenErrorKind {
ConcurrentModificationException(ConcurrentModificationException),
InternalErrorException(InternalErrorException),
InvalidParameterException(InvalidParameterException),
NotAuthorizedException(NotAuthorizedException),
ResourceNotFoundException(ResourceNotFoundException),
SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the AssociateSoftwareToken
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConcurrentModificationException(ConcurrentModificationException)
Tuple Fields
This exception is thrown if two or more modifications are happening concurrently.
InternalErrorException(InternalErrorException)
Tuple Fields
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameterException(InvalidParameterException)
Tuple Fields
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException(NotAuthorizedException)
Tuple Fields
This exception is thrown when a user is not authorized.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException)
Tuple Fields
This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AssociateSoftwareTokenErrorKind
impl Send for AssociateSoftwareTokenErrorKind
impl Sync for AssociateSoftwareTokenErrorKind
impl Unpin for AssociateSoftwareTokenErrorKind
impl !UnwindSafe for AssociateSoftwareTokenErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more