Enum aws_sdk_cognitoidentityprovider::error::VerifySoftwareTokenErrorKind [−][src]
#[non_exhaustive]
pub enum VerifySoftwareTokenErrorKind {
Show 13 variants
CodeMismatchException(CodeMismatchException),
EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException),
InternalErrorException(InternalErrorException),
InvalidParameterException(InvalidParameterException),
InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException),
NotAuthorizedException(NotAuthorizedException),
PasswordResetRequiredException(PasswordResetRequiredException),
ResourceNotFoundException(ResourceNotFoundException),
SoftwareTokenMfaNotFoundException(SoftwareTokenMfaNotFoundException),
TooManyRequestsException(TooManyRequestsException),
UserNotConfirmedException(UserNotConfirmedException),
UserNotFoundException(UserNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the VerifySoftwareToken
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
CodeMismatchException(CodeMismatchException)
Tuple Fields
This exception is thrown if the provided code does not match what the server was expecting.
EnableSoftwareTokenMfaException(EnableSoftwareTokenMfaException)
Tuple Fields
This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).
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.
InvalidUserPoolConfigurationException(InvalidUserPoolConfigurationException)
Tuple Fields
This exception is thrown when the user pool configuration is invalid.
NotAuthorizedException(NotAuthorizedException)
Tuple Fields
This exception is thrown when a user is not authorized.
PasswordResetRequiredException(PasswordResetRequiredException)
Tuple Fields
This exception is thrown when a password reset is required.
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.
TooManyRequestsException(TooManyRequestsException)
Tuple Fields
This exception is thrown when the user has made too many requests for a given operation.
UserNotConfirmedException(UserNotConfirmedException)
Tuple Fields
This exception is thrown when a user is not confirmed successfully.
UserNotFoundException(UserNotFoundException)
Tuple Fields
This exception is thrown when a user is not found.
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 VerifySoftwareTokenErrorKind
impl Send for VerifySoftwareTokenErrorKind
impl Sync for VerifySoftwareTokenErrorKind
impl Unpin for VerifySoftwareTokenErrorKind
impl !UnwindSafe for VerifySoftwareTokenErrorKind
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