Enum aws_sdk_workmail::error::CreateUserErrorKind [−][src]
#[non_exhaustive]
pub enum CreateUserErrorKind {
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
InvalidParameterException(InvalidParameterException),
InvalidPasswordException(InvalidPasswordException),
NameAvailabilityException(NameAvailabilityException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
ReservedNameException(ReservedNameException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateUser
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.
InvalidParameterException(InvalidParameterException)
One or more of the input parameters don't match the service's restrictions.
Tuple Fields of InvalidParameterException
InvalidPasswordException(InvalidPasswordException)
The supplied password doesn't match the minimum security constraints, such as length or use of special characters.
Tuple Fields of InvalidPasswordException
NameAvailabilityException(NameAvailabilityException)
The user, group, or resource name isn't unique in Amazon WorkMail.
Tuple Fields of NameAvailabilityException
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
ReservedNameException(ReservedNameException)
This user, group, or resource name is not allowed in Amazon WorkMail.
Tuple Fields of ReservedNameException
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 !RefUnwindSafe for CreateUserErrorKind
impl Send for CreateUserErrorKind
impl Sync for CreateUserErrorKind
impl Unpin for CreateUserErrorKind
impl !UnwindSafe for CreateUserErrorKind
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