Enum aws_sdk_ses::Error
source ·
[−]#[non_exhaustive]
pub enum Error {
Show 35 variants
AccountSendingPausedException(AccountSendingPausedException),
AlreadyExistsException(AlreadyExistsException),
CannotDeleteException(CannotDeleteException),
ConfigurationSetAlreadyExistsException(ConfigurationSetAlreadyExistsException),
ConfigurationSetDoesNotExistException(ConfigurationSetDoesNotExistException),
ConfigurationSetSendingPausedException(ConfigurationSetSendingPausedException),
CustomVerificationEmailInvalidContentException(CustomVerificationEmailInvalidContentException),
CustomVerificationEmailTemplateAlreadyExistsException(CustomVerificationEmailTemplateAlreadyExistsException),
CustomVerificationEmailTemplateDoesNotExistException(CustomVerificationEmailTemplateDoesNotExistException),
EventDestinationAlreadyExistsException(EventDestinationAlreadyExistsException),
EventDestinationDoesNotExistException(EventDestinationDoesNotExistException),
FromEmailAddressNotVerifiedException(FromEmailAddressNotVerifiedException),
InvalidCloudWatchDestinationException(InvalidCloudWatchDestinationException),
InvalidConfigurationSetException(InvalidConfigurationSetException),
InvalidDeliveryOptionsException(InvalidDeliveryOptionsException),
InvalidFirehoseDestinationException(InvalidFirehoseDestinationException),
InvalidLambdaFunctionException(InvalidLambdaFunctionException),
InvalidPolicyException(InvalidPolicyException),
InvalidRenderingParameterException(InvalidRenderingParameterException),
InvalidS3ConfigurationException(InvalidS3ConfigurationException),
InvalidSnsDestinationException(InvalidSnsDestinationException),
InvalidSnsTopicException(InvalidSnsTopicException),
InvalidTemplateException(InvalidTemplateException),
InvalidTrackingOptionsException(InvalidTrackingOptionsException),
LimitExceededException(LimitExceededException),
MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException),
MessageRejected(MessageRejected),
MissingRenderingAttributeException(MissingRenderingAttributeException),
ProductionAccessNotGrantedException(ProductionAccessNotGrantedException),
RuleDoesNotExistException(RuleDoesNotExistException),
RuleSetDoesNotExistException(RuleSetDoesNotExistException),
TemplateDoesNotExistException(TemplateDoesNotExistException),
TrackingOptionsAlreadyExistsException(TrackingOptionsAlreadyExistsException),
TrackingOptionsDoesNotExistException(TrackingOptionsDoesNotExistException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccountSendingPausedException(AccountSendingPausedException)
Tuple Fields
Indicates that email sending is disabled for your entire Amazon SES account.
You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled
.
AlreadyExistsException(AlreadyExistsException)
Tuple Fields
Indicates that a resource could not be created because of a naming conflict.
CannotDeleteException(CannotDeleteException)
Tuple Fields
Indicates that the delete operation could not be completed.
ConfigurationSetAlreadyExistsException(ConfigurationSetAlreadyExistsException)
Tuple Fields
Indicates that the configuration set could not be created because of a naming conflict.
ConfigurationSetDoesNotExistException(ConfigurationSetDoesNotExistException)
Tuple Fields
Indicates that the configuration set does not exist.
ConfigurationSetSendingPausedException(ConfigurationSetSendingPausedException)
Tuple Fields
Indicates that email sending is disabled for the configuration set.
You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
.
CustomVerificationEmailInvalidContentException(CustomVerificationEmailInvalidContentException)
Tuple Fields
Indicates that custom verification email template provided content is invalid.
CustomVerificationEmailTemplateAlreadyExistsException(CustomVerificationEmailTemplateAlreadyExistsException)
Tuple Fields
Indicates that a custom verification email template with the name you specified already exists.
CustomVerificationEmailTemplateDoesNotExistException(CustomVerificationEmailTemplateDoesNotExistException)
Tuple Fields
Indicates that a custom verification email template with the name you specified does not exist.
EventDestinationAlreadyExistsException(EventDestinationAlreadyExistsException)
Tuple Fields
Indicates that the event destination could not be created because of a naming conflict.
EventDestinationDoesNotExistException(EventDestinationDoesNotExistException)
Tuple Fields
Indicates that the event destination does not exist.
FromEmailAddressNotVerifiedException(FromEmailAddressNotVerifiedException)
Tuple Fields
Indicates that the sender address specified for a custom verification email is not verified, and is therefore not eligible to send the custom verification email.
InvalidCloudWatchDestinationException(InvalidCloudWatchDestinationException)
Tuple Fields
Indicates that the Amazon CloudWatch destination is invalid. See the error message for details.
InvalidConfigurationSetException(InvalidConfigurationSetException)
Tuple Fields
Indicates that the configuration set is invalid. See the error message for details.
InvalidDeliveryOptionsException(InvalidDeliveryOptionsException)
Tuple Fields
Indicates that provided delivery option is invalid.
InvalidFirehoseDestinationException(InvalidFirehoseDestinationException)
Tuple Fields
Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message for details.
InvalidLambdaFunctionException(InvalidLambdaFunctionException)
Tuple Fields
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.
InvalidPolicyException(InvalidPolicyException)
Tuple Fields
Indicates that the provided policy is invalid. Check the error stack for more information about what caused the error.
InvalidRenderingParameterException(InvalidRenderingParameterException)
Tuple Fields
Indicates that one or more of the replacement values you provided is invalid. This error may occur when the TemplateData object contains invalid JSON.
InvalidS3ConfigurationException(InvalidS3ConfigurationException)
Tuple Fields
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.
InvalidSnsDestinationException(InvalidSnsDestinationException)
Tuple Fields
Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is invalid. See the error message for details.
InvalidSnsTopicException(InvalidSnsTopicException)
Tuple Fields
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.
InvalidTemplateException(InvalidTemplateException)
Tuple Fields
Indicates that the template that you specified could not be rendered. This issue may occur when a template refers to a partial that does not exist.
InvalidTrackingOptionsException(InvalidTrackingOptionsException)
Tuple Fields
Indicates that the custom domain to be used for open and click tracking redirects is invalid. This error appears most often in the following situations:
-
When the tracking domain you specified is not verified in Amazon SES.
-
When the tracking domain you specified is not a valid domain or subdomain.
LimitExceededException(LimitExceededException)
Tuple Fields
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.
MailFromDomainNotVerifiedException(MailFromDomainNotVerifiedException)
Tuple Fields
Indicates that the message could not be sent because Amazon SES could not read the MX record required to use the specified MAIL FROM domain. For information about editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer Guide.
MessageRejected(MessageRejected)
Tuple Fields
Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.
MissingRenderingAttributeException(MissingRenderingAttributeException)
Tuple Fields
Indicates that one or more of the replacement values for the specified template was not specified. Ensure that the TemplateData object contains references to all of the replacement tags in the specified template.
ProductionAccessNotGrantedException(ProductionAccessNotGrantedException)
Tuple Fields
Indicates that the account has not been granted production access.
RuleDoesNotExistException(RuleDoesNotExistException)
Tuple Fields
Indicates that the provided receipt rule does not exist.
RuleSetDoesNotExistException(RuleSetDoesNotExistException)
Tuple Fields
Indicates that the provided receipt rule set does not exist.
TemplateDoesNotExistException(TemplateDoesNotExistException)
Tuple Fields
Indicates that the Template object you specified does not exist in your Amazon SES account.
TrackingOptionsAlreadyExistsException(TrackingOptionsAlreadyExistsException)
Tuple Fields
Indicates that the configuration set you specified already contains a TrackingOptions object.
TrackingOptionsDoesNotExistException(TrackingOptionsDoesNotExistException)
Tuple Fields
Indicates that the TrackingOptions object you specified does not exist.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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