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