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

@@ -14,8 +14,10 @@ import io.github.hectorvent.floci.core.common.SmithyValidationErrors;
* whole carries the list. A required member the request leaves out used to read
* {@code Value null at '<member>'} for want of a capture either way; one arrived on 2026-10-31,
* answering an omitted {@code Status} as {@code Value at 'status' failed to satisfy constraint:
* Member must not be null}, so the word {@code null} comes out with every other value this service
* leaves out and {@link #notNull} is where that is decided.
* Member must not be null}. That capture covers {@code Status} alone. Dropping the word for every
* other member this service leaves out is Floci's reading of it rather than a recorded answer, on
* the grounds that an absent member has no value to carry, and {@link #notNull} is where that is
* decided, so a capture that ever splits the two moves one place.
*/
final class IamValidationErrors {
@@ -29,7 +31,8 @@ final class IamValidationErrors {
/**
* The 400 {@code ValidationError} for a required member the request leaves out, named with no
* value and no {@code null} beside it. Captured from a real account on 2026-10-31 against the
* {@code Status} the four credential operations share.
* {@code Status} the four credential operations share, and read here as the form every other
* omitted member takes, which nothing captured covers.
*/
static AwsException notNull(String path) {
return SmithyValidationErrors.validationError(MESSAGES.notNull(path));