Enum aws_sdk_workmail::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 23 variants
DirectoryInUseException(DirectoryInUseException),
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
EmailAddressInUseException(EmailAddressInUseException),
EntityAlreadyRegisteredException(EntityAlreadyRegisteredException),
EntityNotFoundException(EntityNotFoundException),
EntityStateException(EntityStateException),
InvalidConfigurationException(InvalidConfigurationException),
InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException),
InvalidParameterException(InvalidParameterException),
InvalidPasswordException(InvalidPasswordException),
LimitExceededException(LimitExceededException),
MailDomainInUseException(MailDomainInUseException),
MailDomainNotFoundException(MailDomainNotFoundException),
MailDomainStateException(MailDomainStateException),
NameAvailabilityException(NameAvailabilityException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
ReservedNameException(ReservedNameException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyTagsException(TooManyTagsException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DirectoryInUseException(DirectoryInUseException)
Tuple Fields
The directory is already in use by another WorkMail organization in the same account and Region.
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException)
Tuple Fields
The directory service doesn't recognize the credentials supplied by WorkMail.
DirectoryUnavailableException(DirectoryUnavailableException)
The directory is unavailable. It might be located in another Region or deleted.
EmailAddressInUseException(EmailAddressInUseException)
Tuple Fields
The email address that you're trying to assign is already created for a different user, group, or resource.
EntityAlreadyRegisteredException(EntityAlreadyRegisteredException)
Tuple Fields
The user, group, or resource that you're trying to register is already registered.
EntityNotFoundException(EntityNotFoundException)
Tuple Fields
The identifier supplied for the user, group, or resource does not exist in your organization.
EntityStateException(EntityStateException)
Tuple Fields
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.
InvalidConfigurationException(InvalidConfigurationException)
Tuple Fields
The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do so on its behalf.
InvalidCustomSesConfigurationException(InvalidCustomSesConfigurationException)
Tuple Fields
You SES configuration has customizations that Amazon WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to CreateReceiptRule.
InvalidParameterException(InvalidParameterException)
Tuple Fields
One or more of the input parameters don't match the service's restrictions.
InvalidPasswordException(InvalidPasswordException)
Tuple Fields
The supplied password doesn't match the minimum security constraints, such as length or use of special characters.
LimitExceededException(LimitExceededException)
Tuple Fields
The request exceeds the limit of the resource.
MailDomainInUseException(MailDomainInUseException)
Tuple Fields
The domain you're trying to change is in use by another user or organization in your account. See the error message for details.
MailDomainNotFoundException(MailDomainNotFoundException)
Tuple Fields
The domain specified is not found in your organization.
MailDomainStateException(MailDomainStateException)
Tuple Fields
After a domain has been added to the organization, it must be verified. The domain is not yet verified.
NameAvailabilityException(NameAvailabilityException)
Tuple Fields
The user, group, or resource name isn't unique in Amazon WorkMail.
OrganizationNotFoundException(OrganizationNotFoundException)
Tuple Fields
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException(OrganizationStateException)
Tuple Fields
The organization must have a valid state to perform certain operations on the organization or its members.
ReservedNameException(ReservedNameException)
Tuple Fields
This user, group, or resource name is not allowed in Amazon WorkMail.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
The resource cannot be found.
TooManyTagsException(TooManyTagsException)
Tuple Fields
The resource can have up to 50 user-applied tags.
UnsupportedOperationException(UnsupportedOperationException)
Tuple Fields
You can't perform a write operation against a read-only directory.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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