Enum aws_sdk_workmail::error::UpdatePrimaryEmailAddressErrorKind [−][src]
#[non_exhaustive]
pub enum UpdatePrimaryEmailAddressErrorKind {
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
EmailAddressInUseException(EmailAddressInUseException),
EntityNotFoundException(EntityNotFoundException),
EntityStateException(EntityStateException),
InvalidParameterException(InvalidParameterException),
MailDomainNotFoundException(MailDomainNotFoundException),
MailDomainStateException(MailDomainStateException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the UpdatePrimaryEmailAddress
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.
EmailAddressInUseException(EmailAddressInUseException)
The email address that you're trying to assign is already created for a different user, group, or resource.
Tuple Fields of EmailAddressInUseException
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
MailDomainNotFoundException(MailDomainNotFoundException)
The domain specified is not found in your organization.
Tuple Fields of MailDomainNotFoundException
MailDomainStateException(MailDomainStateException)
After a domain has been added to the organization, it must be verified. The domain is not yet verified.
Tuple Fields of MailDomainStateException
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 UpdatePrimaryEmailAddressErrorKind
impl Sync for UpdatePrimaryEmailAddressErrorKind
impl Unpin for UpdatePrimaryEmailAddressErrorKind
impl !UnwindSafe for UpdatePrimaryEmailAddressErrorKind
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