Enum aws_sdk_workmail::error::CreateResourceErrorKind [−][src]
#[non_exhaustive]
pub enum CreateResourceErrorKind {
DirectoryServiceAuthenticationFailedException(DirectoryServiceAuthenticationFailedException),
DirectoryUnavailableException(DirectoryUnavailableException),
InvalidParameterException(InvalidParameterException),
NameAvailabilityException(NameAvailabilityException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
ReservedNameException(ReservedNameException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateResource
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
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
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateResourceErrorKind
impl Send for CreateResourceErrorKind
impl Sync for CreateResourceErrorKind
impl Unpin for CreateResourceErrorKind
impl !UnwindSafe for CreateResourceErrorKind
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