docs(iam): name the one omitted member the capture covers (#7331)

docs/services/iam.md and IamValidationErrors read as if the capture that
moved IAM's required-member message settled it for every member. It settled
one: an omitted Status, answered from a real account on 2026-10-31 as "Value
at 'status' failed to satisfy constraint: Member must not be null" against
the shape the four credential operations share.

Every other omitted member this service answers, the sites checked by hand
and each required member the model walk reads, carries that form on this
service's reading rather than on a recording: the word null was never a
value AWS sent, an absent member having none to carry. The doc separates the
two and keeps that reasoning, IamValidationErrors says the capture covers
Status alone where the form is decided, and the account-properties test,
which quoted the Status capture beside an assertion on an omitted properties
map, says the reading is what carries over there.

Prose and comments only, no behavior change. Follow-up to #7265.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-02 17:31:36 -06:00
1 parent e1392c8ce9
commit 0e9f3402f2
3 files changed
+20 -9

No files matched your search

@@ -152,8 +152,9 @@ class AccountPropertiesIntegrationTest {
.body(containsString("ValidationError"))
// IAM's own form, captured from a real account on 2026-10-31 against the Status the
// four credential operations share: "1 validation error detected: Value at 'status'
// failed to satisfy constraint: Member must not be null". SNS, which quotes its
// values, carries a null where the value would go; IAM leaves it out with the rest.
// failed to satisfy constraint: Member must not be null". Nothing captured covers this
// member, so leaving the word out here is that reading carried over. SNS, which quotes
// its values, carries a null where the value would go.
.body(containsString("1 validation error detected"))
// The apostrophes around the member name come back XML-escaped, so the assertion
// stops at the parts that survive escaping.