Enum rusoto_cognito_idp::SetUserSettingsError [−][src]
pub enum SetUserSettingsError { InternalError(String), InvalidParameter(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SetUserSettings
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.
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.
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 SetUserSettingsError
[src]
impl SetUserSettingsError
pub fn from_body(body: &str) -> SetUserSettingsError
[src]
pub fn from_body(body: &str) -> SetUserSettingsError
Trait Implementations
impl Debug for SetUserSettingsError
[src]
impl Debug for SetUserSettingsError
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 SetUserSettingsError
[src]
impl PartialEq for SetUserSettingsError
fn eq(&self, other: &SetUserSettingsError) -> bool
[src]
fn eq(&self, other: &SetUserSettingsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetUserSettingsError) -> bool
[src]
fn ne(&self, other: &SetUserSettingsError) -> bool
This method tests for !=
.
impl From<Error> for SetUserSettingsError
[src]
impl From<Error> for SetUserSettingsError
fn from(err: Error) -> SetUserSettingsError
[src]
fn from(err: Error) -> SetUserSettingsError
Performs the conversion.
impl From<CredentialsError> for SetUserSettingsError
[src]
impl From<CredentialsError> for SetUserSettingsError
fn from(err: CredentialsError) -> SetUserSettingsError
[src]
fn from(err: CredentialsError) -> SetUserSettingsError
Performs the conversion.
impl From<HttpDispatchError> for SetUserSettingsError
[src]
impl From<HttpDispatchError> for SetUserSettingsError
fn from(err: HttpDispatchError) -> SetUserSettingsError
[src]
fn from(err: HttpDispatchError) -> SetUserSettingsError
Performs the conversion.
impl From<Error> for SetUserSettingsError
[src]
impl From<Error> for SetUserSettingsError
fn from(err: Error) -> SetUserSettingsError
[src]
fn from(err: Error) -> SetUserSettingsError
Performs the conversion.
impl Display for SetUserSettingsError
[src]
impl Display for SetUserSettingsError
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 SetUserSettingsError
[src]
impl Error for SetUserSettingsError
Auto Trait Implementations
impl Send for SetUserSettingsError
impl Send for SetUserSettingsError
impl Sync for SetUserSettingsError
impl Sync for SetUserSettingsError