Enum rusoto_cognito_idp::ForgetDeviceError [−][src]
pub enum ForgetDeviceError { InternalError(String), InvalidParameter(String), InvalidUserPoolConfiguration(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), TooManyRequests(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ForgetDevice
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.
InvalidUserPoolConfiguration(String)
This exception is thrown when the user pool configuration is invalid.
NotAuthorized(String)
This exception is thrown when a user is not authorized.
PasswordResetRequired(String)
This exception is thrown when a password reset is required.
ResourceNotFound(String)
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequests(String)
This exception is thrown when the user has made too many requests for a given operation.
UserNotConfirmed(String)
This exception is thrown when a user is not confirmed successfully.
UserNotFound(String)
This exception is thrown when a user is not found.
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 ForgetDeviceError
[src]
impl ForgetDeviceError
pub fn from_body(body: &str) -> ForgetDeviceError
[src]
pub fn from_body(body: &str) -> ForgetDeviceError
Trait Implementations
impl Debug for ForgetDeviceError
[src]
impl Debug for ForgetDeviceError
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 ForgetDeviceError
[src]
impl PartialEq for ForgetDeviceError
fn eq(&self, other: &ForgetDeviceError) -> bool
[src]
fn eq(&self, other: &ForgetDeviceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ForgetDeviceError) -> bool
[src]
fn ne(&self, other: &ForgetDeviceError) -> bool
This method tests for !=
.
impl From<Error> for ForgetDeviceError
[src]
impl From<Error> for ForgetDeviceError
fn from(err: Error) -> ForgetDeviceError
[src]
fn from(err: Error) -> ForgetDeviceError
Performs the conversion.
impl From<CredentialsError> for ForgetDeviceError
[src]
impl From<CredentialsError> for ForgetDeviceError
fn from(err: CredentialsError) -> ForgetDeviceError
[src]
fn from(err: CredentialsError) -> ForgetDeviceError
Performs the conversion.
impl From<HttpDispatchError> for ForgetDeviceError
[src]
impl From<HttpDispatchError> for ForgetDeviceError
fn from(err: HttpDispatchError) -> ForgetDeviceError
[src]
fn from(err: HttpDispatchError) -> ForgetDeviceError
Performs the conversion.
impl From<Error> for ForgetDeviceError
[src]
impl From<Error> for ForgetDeviceError
fn from(err: Error) -> ForgetDeviceError
[src]
fn from(err: Error) -> ForgetDeviceError
Performs the conversion.
impl Display for ForgetDeviceError
[src]
impl Display for ForgetDeviceError
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 ForgetDeviceError
[src]
impl Error for ForgetDeviceError
Auto Trait Implementations
impl Send for ForgetDeviceError
impl Send for ForgetDeviceError
impl Sync for ForgetDeviceError
impl Sync for ForgetDeviceError