#[non_exhaustive]
pub enum CreateReceiptRuleErrorKind {
AlreadyExistsException(AlreadyExistsException),
InvalidLambdaFunctionException(InvalidLambdaFunctionException),
InvalidS3ConfigurationException(InvalidS3ConfigurationException),
InvalidSnsTopicException(InvalidSnsTopicException),
LimitExceededException(LimitExceededException),
RuleDoesNotExistException(RuleDoesNotExistException),
RuleSetDoesNotExistException(RuleSetDoesNotExistException),
Unhandled(Unhandled),
}
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(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.