pub enum CreateLoginProfileError {
EntityAlreadyExists(String),
LimitExceeded(String),
NoSuchEntity(String),
PasswordPolicyViolation(String),
ServiceFailure(String),
}Expand description
Errors returned by CreateLoginProfile
Variants§
EntityAlreadyExists(String)
The request was rejected because it attempted to create a resource that already exists.
LimitExceeded(String)
The request was rejected because it attempted to create resources beyond the current AWS account limitations. The error message describes the limit exceeded.
NoSuchEntity(String)
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
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.
Implementations§
Source§impl CreateLoginProfileError
impl CreateLoginProfileError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateLoginProfileError>
Trait Implementations§
Source§impl Debug for CreateLoginProfileError
impl Debug for CreateLoginProfileError
Source§impl Display for CreateLoginProfileError
impl Display for CreateLoginProfileError
Source§impl Error for CreateLoginProfileError
impl Error for CreateLoginProfileError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CreateLoginProfileError
impl PartialEq for CreateLoginProfileError
impl StructuralPartialEq for CreateLoginProfileError
Auto Trait Implementations§
impl Freeze for CreateLoginProfileError
impl RefUnwindSafe for CreateLoginProfileError
impl Send for CreateLoginProfileError
impl Sync for CreateLoginProfileError
impl Unpin for CreateLoginProfileError
impl UnsafeUnpin for CreateLoginProfileError
impl UnwindSafe for CreateLoginProfileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more