AWS Security ChangesHomeSearch

AWS ses: SES v2: update MailFromAttributes enum casing and error name

Service: ses · 2026-11-19 · Documentation low

File: ses/latest/APIReference-V2/API_PutEmailIdentityMailFromAttributes.md

Summary

Corrects the documented enum values from CamelCase (UseDefaultValue, RejectMessage) to API wire format (USE_DEFAULT_VALUE, REJECT_MESSAGE), renames the error to MailFromDomainNotVerifiedException, and updates state names to PENDING/FAILED/TEMPORARY_FAILURE.

Security assessment

Purely an API reference accuracy fix aligning enum literals and error/state names with the actual v2 API. No authentication, encryption, or exposure behavior is described or changed.

Evidence

+The action to take if the required MX record isn't found when you send an email. When you set this value to `USE_DEFAULT_VALUE`, the mail is sent using _amazonses.com_ as the MAIL FROM domain. When you set this value to `REJECT_MESSAGE`, the Amazon SES API v2 returns a `MailFromDomainNotVerifiedException` error, and doesn't attempt to deliver the email.

Diff

diff --git a/ses/latest/APIReference-V2/API_PutEmailIdentityMailFromAttributes.md b/ses/latest/APIReference-V2/API_PutEmailIdentityMailFromAttributes.md
index c99efaa..428a021 100644
--- a//ses/latest/APIReference-V2/API_PutEmailIdentityMailFromAttributes.md
+++ b//ses/latest/APIReference-V2/API_PutEmailIdentityMailFromAttributes.md
@@ -44 +44 @@ The request accepts the following data in JSON format.
-The action to take if the required MX record isn't found when you send an email. When you set this value to `UseDefaultValue`, the mail is sent using _amazonses.com_ as the MAIL FROM domain. When you set this value to `RejectMessage`, the Amazon SES API v2 returns a `MailFromDomainNotVerified` error, and doesn't attempt to deliver the email.
+The action to take if the required MX record isn't found when you send an email. When you set this value to `USE_DEFAULT_VALUE`, the mail is sent using _amazonses.com_ as the MAIL FROM domain. When you set this value to `REJECT_MESSAGE`, the Amazon SES API v2 returns a `MailFromDomainNotVerifiedException` error, and doesn't attempt to deliver the email.
@@ -46 +46 @@ The action to take if the required MX record isn't found when you send an email.
-These behaviors are taken when the custom MAIL FROM domain configuration is in the `Pending`, `Failed`, and `TemporaryFailure` states.
+These behaviors are taken when the custom MAIL FROM domain configuration is in the `PENDING`, `FAILED`, and `TEMPORARY_FAILURE` states.