Enum rusoto_iam::ChangePasswordError [−][src]
pub enum ChangePasswordError { EntityTemporarilyUnmodifiable(String), InvalidUserType(String), LimitExceeded(String), NoSuchEntity(String), PasswordPolicyViolation(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ChangePassword
Variants
EntityTemporarilyUnmodifiable(String)
The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.
InvalidUserType(String)
The request was rejected because the type of user for the transaction was incorrect.
LimitExceeded(String)
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
PasswordPolicyViolation(String)
The request was rejected because the provided password did not meet the requirements imposed by the account password policy.
ServiceFailure(String)
The request processing has failed because of an unknown error, exception or failure.
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<XmlParseError> for ChangePasswordError
[src]
impl From<XmlParseError> for ChangePasswordError
fn from(err: XmlParseError) -> ChangePasswordError
[src]
fn from(err: XmlParseError) -> 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