Enum aws_sdk_workmail::error::PutRetentionPolicyErrorKind [−][src]
#[non_exhaustive]
pub enum PutRetentionPolicyErrorKind {
InvalidParameterException(InvalidParameterException),
LimitExceededException(LimitExceededException),
OrganizationNotFoundException(OrganizationNotFoundException),
OrganizationStateException(OrganizationStateException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutRetentionPolicy
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)
Tuple Fields
One or more of the input parameters don't match the service's restrictions.
LimitExceededException(LimitExceededException)
Tuple Fields
The request exceeds the limit of the resource.
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.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutRetentionPolicyErrorKind
impl Send for PutRetentionPolicyErrorKind
impl Sync for PutRetentionPolicyErrorKind
impl Unpin for PutRetentionPolicyErrorKind
impl !UnwindSafe for PutRetentionPolicyErrorKind
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