Enum rusoto_cognito_idp::ChangePasswordError [−][src]
pub enum ChangePasswordError { InternalError(String), InvalidParameter(String), InvalidPassword(String), LimitExceeded(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), TooManyRequests(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ChangePassword
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.
InvalidPassword(String)
This exception is thrown when the Amazon Cognito service encounters an invalid password.
LimitExceeded(String)
This exception is thrown when a user exceeds the limit for a requested AWS resource.
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 ChangePasswordError
[src]
impl ChangePasswordError
pub fn from_body(body: &str) -> ChangePasswordError
[src]
pub fn from_body(body: &str) -> ChangePasswordError
Trait Implementations
impl Debug for ChangePasswordError
[src]
impl Debug for ChangePasswordError
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 ChangePasswordError
[src]
impl PartialEq for ChangePasswordError
fn eq(&self, other: &ChangePasswordError) -> bool
[src]
fn eq(&self, other: &ChangePasswordError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChangePasswordError) -> bool
[src]
fn ne(&self, other: &ChangePasswordError) -> bool
This method tests for !=
.
impl From<Error> for ChangePasswordError
[src]
impl From<Error> for ChangePasswordError
fn from(err: Error) -> ChangePasswordError
[src]
fn from(err: Error) -> ChangePasswordError
Performs the conversion.
impl From<CredentialsError> for ChangePasswordError
[src]
impl From<CredentialsError> for ChangePasswordError
fn from(err: CredentialsError) -> ChangePasswordError
[src]
fn from(err: CredentialsError) -> ChangePasswordError
Performs the conversion.
impl From<HttpDispatchError> for ChangePasswordError
[src]
impl From<HttpDispatchError> for ChangePasswordError
fn from(err: HttpDispatchError) -> ChangePasswordError
[src]
fn from(err: HttpDispatchError) -> ChangePasswordError
Performs the conversion.
impl From<Error> for ChangePasswordError
[src]
impl From<Error> for ChangePasswordError
fn from(err: Error) -> ChangePasswordError
[src]
fn from(err: Error) -> ChangePasswordError
Performs the conversion.
impl Display for ChangePasswordError
[src]
impl Display for ChangePasswordError
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 ChangePasswordError
[src]
impl Error for ChangePasswordError
Auto Trait Implementations
impl Send for ChangePasswordError
impl Send for ChangePasswordError
impl Sync for ChangePasswordError
impl Sync for ChangePasswordError