#[non_exhaustive]
pub enum CreateReceiptRuleErrorKind {
AlreadyExistsException(AlreadyExistsException),
InvalidLambdaFunctionException(InvalidLambdaFunctionException),
InvalidS3ConfigurationException(InvalidS3ConfigurationException),
InvalidSnsTopicException(InvalidSnsTopicException),
LimitExceededException(LimitExceededException),
RuleDoesNotExistException(RuleDoesNotExistException),
RuleSetDoesNotExistException(RuleSetDoesNotExistException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateReceiptRule
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AlreadyExistsException(AlreadyExistsException)
Indicates that a resource could not be created because of a naming conflict.
InvalidLambdaFunctionException(InvalidLambdaFunctionException)
Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
InvalidS3ConfigurationException(InvalidS3ConfigurationException)
Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
InvalidSnsTopicException(InvalidSnsTopicException)
Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES could not publish to the topic, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
LimitExceededException(LimitExceededException)
Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.
RuleDoesNotExistException(RuleDoesNotExistException)
Indicates that the provided receipt rule does not exist.
RuleSetDoesNotExistException(RuleSetDoesNotExistException)
Indicates that the provided receipt rule set does not exist.
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 CreateReceiptRuleErrorKind
impl Send for CreateReceiptRuleErrorKind
impl Sync for CreateReceiptRuleErrorKind
impl Unpin for CreateReceiptRuleErrorKind
impl !UnwindSafe for CreateReceiptRuleErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more