#[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
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.

AccountSendingPausedException(AccountSendingPausedException)

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)

Indicates that a resource could not be created because of a naming conflict.

CannotDeleteException(CannotDeleteException)

Indicates that the delete operation could not be completed.

ConfigurationSetAlreadyExistsException(ConfigurationSetAlreadyExistsException)

Indicates that the configuration set could not be created because of a naming conflict.

ConfigurationSetDoesNotExistException(ConfigurationSetDoesNotExistException)

Indicates that the configuration set does not exist.

ConfigurationSetSendingPausedException(ConfigurationSetSendingPausedException)

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)

Indicates that custom verification email template provided content is invalid.

CustomVerificationEmailTemplateAlreadyExistsException(CustomVerificationEmailTemplateAlreadyExistsException)

Indicates that a custom verification email template with the name you specified already exists.

CustomVerificationEmailTemplateDoesNotExistException(CustomVerificationEmailTemplateDoesNotExistException)

Indicates that a custom verification email template with the name you specified does not exist.

EventDestinationAlreadyExistsException(EventDestinationAlreadyExistsException)

Indicates that the event destination could not be created because of a naming conflict.

EventDestinationDoesNotExistException(EventDestinationDoesNotExistException)

Indicates that the event destination does not exist.

FromEmailAddressNotVerifiedException(FromEmailAddressNotVerifiedException)

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)

Indicates that the Amazon CloudWatch destination is invalid. See the error message for details.

InvalidConfigurationSetException(InvalidConfigurationSetException)

Indicates that the configuration set is invalid. See the error message for details.

InvalidDeliveryOptionsException(InvalidDeliveryOptionsException)

Indicates that provided delivery option is invalid.

InvalidFirehoseDestinationException(InvalidFirehoseDestinationException)

Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message for details.

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.

InvalidPolicyException(InvalidPolicyException)

Indicates that the provided policy is invalid. Check the error stack for more information about what caused the error.

InvalidRenderingParameterException(InvalidRenderingParameterException)

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)

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)

Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is invalid. See the error message for details.

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.

InvalidTemplateException(InvalidTemplateException)

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)

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)

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)

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)

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)

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)

Indicates that the account has not been granted production access.

RuleDoesNotExistException(RuleDoesNotExistException)

Indicates that the provided receipt rule does not exist.

RuleSetDoesNotExistException(RuleSetDoesNotExistException)

Indicates that the provided receipt rule set does not exist.

TemplateDoesNotExistException(TemplateDoesNotExistException)

Indicates that the Template object you specified does not exist in your Amazon SES account.

TrackingOptionsAlreadyExistsException(TrackingOptionsAlreadyExistsException)

Indicates that the configuration set you specified already contains a TrackingOptions object.

TrackingOptionsDoesNotExistException(TrackingOptionsDoesNotExistException)

Indicates that the TrackingOptions object you specified does not exist.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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