Enum aws_sdk_workmail::error::DisassociateMemberFromGroupErrorKind [−][src]
#[non_exhaustive]
pub enum DisassociateMemberFromGroupErrorKind {
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
EntityNotFoundException(EntityNotFoundException),
EntityStateException(EntityStateException),
InvalidParameterException(InvalidParameterException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the DisassociateMemberFromGroup
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException)
The directory service doesn't recognize the credentials supplied by WorkMail.
Tuple Fields of DirectoryServiceAuthenticationFailedException
The directory is unavailable. It might be located in another Region or deleted.
EntityNotFoundException(EntityNotFoundException)
The identifier supplied for the user, group, or resource does not exist in your organization.
Tuple Fields of EntityNotFoundException
EntityStateException(EntityStateException)
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.
Tuple Fields of EntityStateException
InvalidParameterException(InvalidParameterException)
One or more of the input parameters don't match the service's restrictions.
Tuple Fields of InvalidParameterException
OrganizationNotFoundException(OrganizationNotFoundException)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
Tuple Fields of OrganizationNotFoundException
OrganizationStateException(OrganizationStateException)
The organization must have a valid state to perform certain operations on the organization or its members.
Tuple Fields of OrganizationStateException
UnsupportedOperationException(UnsupportedOperationException)
You can't perform a write operation against a read-only directory.
Tuple Fields of UnsupportedOperationException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl Send for DisassociateMemberFromGroupErrorKind
impl Sync for DisassociateMemberFromGroupErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more