pub enum ActivateUserError {
EntityNotExists(String),
FailedDependency(String),
ServiceUnavailable(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by ActivateUser
Variants§
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.
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 ActivateUserError
impl ActivateUserError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ActivateUserError>
Trait Implementations§
Source§impl Debug for ActivateUserError
impl Debug for ActivateUserError
Source§impl Display for ActivateUserError
impl Display for ActivateUserError
Source§impl Error for ActivateUserError
impl Error for ActivateUserError
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 ActivateUserError
impl PartialEq for ActivateUserError
impl StructuralPartialEq for ActivateUserError
Auto Trait Implementations§
impl Freeze for ActivateUserError
impl RefUnwindSafe for ActivateUserError
impl Send for ActivateUserError
impl Sync for ActivateUserError
impl Unpin for ActivateUserError
impl UnwindSafe for ActivateUserError
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