AWS ses: Update SES API v2 error references and examples
Summary
Updates troubleshooting text to reference SES API v2 SendEmail/SendBulkEmail operations and errors, including AccessDeniedException and verification-related errors.
Security assessment
The change modernizes error documentation and examples for SES API v2; mentioning AccessDeniedException is illustrative and does not address a specific vulnerability or security control.
Evidence
+The following are the types of Amazon SES-specific problems that can cause Amazon SES to return an error when you try to send an email. These errors are in addition to general AWS errors like `AccessDeniedException` as specified in the [Common Errors](https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonErrors.html) topic of the _Amazon Simple Email Service API v2 Reference_.
Diff
diff --git a/ses/latest/dg/troubleshoot-error-messages.md b/ses/latest/dg/troubleshoot-error-messages.md index 8888f6f..1384752 100644 --- a//ses/latest/dg/troubleshoot-error-messages.md +++ b//ses/latest/dg/troubleshoot-error-messages.md @@ -11 +11 @@ This topic reviews the types of email sending-specific errors that you may encou - * If you call the Amazon SES API directly, the Query action will return an error. The error may be `MessageRejected` or one of the errors specified in the [Common Errors](https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonErrors.html) topic of the _Amazon Simple Email Service API Reference_. + * If you call the Amazon SES API directly, the operation returns an error. The error might be one of the errors that the [SendEmail](https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_SendEmail.html) operation in the Amazon SES API v2 returns, or one of the errors specified in the [Common Errors](https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonErrors.html) topic of the _Amazon SES API v2 Reference_. The errors that the `SendEmail` operation returns include `MessageRejected`, `SendingPausedException`, and `MailFromDomainNotVerifiedException`. @@ -24 +24 @@ When your call to Amazon SES to send an email fails, you are not billed for that -The following are the types of Amazon SES-specific problems that can cause Amazon SES to return an error when you try to send an email. These errors are in addition to general AWS errors like `MalformedQueryString` as specified in the [Common Errors](https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonErrors.html) topic of the _Amazon Simple Email Service API Reference_. +The following are the types of Amazon SES-specific problems that can cause Amazon SES to return an error when you try to send an email. These errors are in addition to general AWS errors like `AccessDeniedException` as specified in the [Common Errors](https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonErrors.html) topic of the _Amazon SES API v2 Reference_. @@ -26 +26 @@ The following are the types of Amazon SES-specific problems that can cause Amazo - * Email address is not verified. The following identities failed the check in region _region_ : _identity1_ , _identity2_ , _identity3_ —You are trying to send email from an email address or domain that you have not [verified with Amazon SES](./verify-addresses-and-domains.html). This error could apply to the "From", "Source", "Sender", or "Return-Path" address. If your account is still in [the Amazon SES sandbox](./request-production-access.html), you also must verify every recipient email address except for the recipients provided by the [Amazon SES mailbox simulator](./send-an-email-from-console.html#send-email-simulator). If Amazon SES is not able to show all of the failed identities, the error message ends with an ellipsis. + * Email address is not verified. The following identities failed the check in region _region_ : _identity1_ , _identity2_ , _identity3_ —You are trying to send email from an email address or domain that you have not [verified with Amazon SES](./verify-addresses-and-domains.html). This error could apply to the "From", "Sender", or "Return-Path" address, or to the `FromEmailAddress` that you specify in the request. If your account is still in [the Amazon SES sandbox](./request-production-access.html), you also must verify every recipient email address except for the recipients provided by the [Amazon SES mailbox simulator](./send-an-email-from-console.html#send-email-simulator). If Amazon SES is not able to show all of the failed identities, the error message ends with an ellipsis. @@ -58 +58 @@ If the error text that explains the throttling error is not related to you excee - * Server errors and timeouts—On rare occasions, a `SendEmail` or `SendRawEmail` request may time out or return a server error after the email has already been accepted for delivery. If your application retries the request, a second email with a different message ID may be sent. To reliably correlate event notifications with your sending logic, use [message tags](./monitor-using-event-publishing.html) rather than relying solely on the message ID. + * Server errors and timeouts—On rare occasions, a `SendEmail` or `SendBulkEmail` request might time out or return a server error after the email has already been accepted for delivery. If your application retries the request, a second email with a different message ID may be sent. To reliably correlate event notifications with your sending logic, use [message tags](./monitor-using-event-publishing.html) rather than relying solely on the message ID.