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
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl AssociateSoftwareTokenError
[src]
impl AssociateSoftwareTokenError
pub fn from_body(body: &str) -> AssociateSoftwareTokenError
[src]
pub fn from_body(body: &str) -> AssociateSoftwareTokenError
Trait Implementations
impl Debug for AssociateSoftwareTokenError
[src]
impl Debug for AssociateSoftwareTokenError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AssociateSoftwareTokenError
[src]
impl PartialEq for AssociateSoftwareTokenError
fn eq(&self, other: &AssociateSoftwareTokenError) -> bool
[src]
fn eq(&self, other: &AssociateSoftwareTokenError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AssociateSoftwareTokenError) -> bool
[src]
fn ne(&self, other: &AssociateSoftwareTokenError) -> bool
This method tests for !=
.
impl From<Error> for AssociateSoftwareTokenError
[src]
impl From<Error> for AssociateSoftwareTokenError
fn from(err: Error) -> AssociateSoftwareTokenError
[src]
fn from(err: Error) -> AssociateSoftwareTokenError
Performs the conversion.
impl From<CredentialsError> for AssociateSoftwareTokenError
[src]
impl From<CredentialsError> for AssociateSoftwareTokenError
fn from(err: CredentialsError) -> AssociateSoftwareTokenError
[src]
fn from(err: CredentialsError) -> AssociateSoftwareTokenError
Performs the conversion.
impl From<HttpDispatchError> for AssociateSoftwareTokenError
[src]
impl From<HttpDispatchError> for AssociateSoftwareTokenError
fn from(err: HttpDispatchError) -> AssociateSoftwareTokenError
[src]
fn from(err: HttpDispatchError) -> AssociateSoftwareTokenError
Performs the conversion.
impl From<Error> for AssociateSoftwareTokenError
[src]
impl From<Error> for AssociateSoftwareTokenError
fn from(err: Error) -> AssociateSoftwareTokenError
[src]
fn from(err: Error) -> AssociateSoftwareTokenError
Performs the conversion.
impl Display for AssociateSoftwareTokenError
[src]
impl Display for AssociateSoftwareTokenError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for AssociateSoftwareTokenError
[src]
impl Error for AssociateSoftwareTokenError
Auto Trait Implementations
impl Send for AssociateSoftwareTokenError
impl Send for AssociateSoftwareTokenError
impl Sync for AssociateSoftwareTokenError
impl Sync for AssociateSoftwareTokenError