pub enum UpdateUserError {
DeactivatingLastSystemUser(String),
EntityNotExists(String),
FailedDependency(String),
IllegalUserState(String),
InvalidArgument(String),
ServiceUnavailable(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by UpdateUser
Variants§
DeactivatingLastSystemUser(String)
The last user in the organization is being deactivated.
EntityNotExists(String)
The resource does not exist.
FailedDependency(String)
The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
IllegalUserState(String)
The user is undergoing transfer of ownership.
InvalidArgument(String)
The pagination marker or limit fields are not valid.
One or more of the dependencies is unavailable.
The operation is not permitted.
The caller does not have access to perform the action on the resource.
Implementations§
Source§impl UpdateUserError
impl UpdateUserError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<UpdateUserError>
Trait Implementations§
Source§impl Debug for UpdateUserError
impl Debug for UpdateUserError
Source§impl Display for UpdateUserError
impl Display for UpdateUserError
Source§impl Error for UpdateUserError
impl Error for UpdateUserError
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 UpdateUserError
impl PartialEq for UpdateUserError
impl StructuralPartialEq for UpdateUserError
Auto Trait Implementations§
impl Freeze for UpdateUserError
impl RefUnwindSafe for UpdateUserError
impl Send for UpdateUserError
impl Sync for UpdateUserError
impl Unpin for UpdateUserError
impl UnwindSafe for UpdateUserError
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