pub enum DeleteGroupError {
DirectoryServiceAuthenticationFailed(String),
DirectoryUnavailable(String),
EntityState(String),
InvalidParameter(String),
OrganizationNotFound(String),
OrganizationState(String),
UnsupportedOperation(String),
}Expand description
Errors returned by DeleteGroup
Variants§
DirectoryServiceAuthenticationFailed(String)
The directory service doesn't recognize the credentials supplied by WorkMail.
The directory on which you are trying to perform operations isn't available.
EntityState(String)
You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
InvalidParameter(String)
One or more of the input parameters don't match the service's restrictions.
OrganizationNotFound(String)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationState(String)
The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its members.
UnsupportedOperation(String)
You can't perform a write operation against a read-only directory.
Implementations§
Source§impl DeleteGroupError
impl DeleteGroupError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteGroupError>
Trait Implementations§
Source§impl Debug for DeleteGroupError
impl Debug for DeleteGroupError
Source§impl Display for DeleteGroupError
impl Display for DeleteGroupError
Source§impl Error for DeleteGroupError
impl Error for DeleteGroupError
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 DeleteGroupError
impl PartialEq for DeleteGroupError
impl StructuralPartialEq for DeleteGroupError
Auto Trait Implementations§
impl Freeze for DeleteGroupError
impl RefUnwindSafe for DeleteGroupError
impl Send for DeleteGroupError
impl Sync for DeleteGroupError
impl Unpin for DeleteGroupError
impl UnwindSafe for DeleteGroupError
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