Enum aws_sdk_workmail::error::GetMailDomainErrorKind [−][src]
#[non_exhaustive]
pub enum GetMailDomainErrorKind {
InvalidParameterException(InvalidParameterException),
MailDomainNotFoundException(MailDomainNotFoundException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetMailDomain
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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
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
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetMailDomainErrorKind
impl Send for GetMailDomainErrorKind
impl Sync for GetMailDomainErrorKind
impl Unpin for GetMailDomainErrorKind
impl !UnwindSafe for GetMailDomainErrorKind
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