mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 08:09:43 -05:00
IAM's constraint violations read `Value at 'roleName' failed to satisfy constraint: Member must have length greater than or equal to 1`, with no value beside the member, which is where the recorded messages point: the two IAM messages in LocalStack's AWS-validated snapshot from 2025-03-06, a 2026 capture of a `UserName` over 64 characters, and the messages the Identity Center guide lists as the ones that commonly appear in CloudTrail events. The two captures that carry the value are from 2019 and 2024, so they read as stale rather than as wrong when written. STS keeps the value, which its own 2024 capture carries and which is the same split this package already records for pattern and enum messages. It is a reading rather than a published rule, so `docs/services/iam.md` says so and names the captures behind it. A direct capture that shows IAM carrying the value again moves it back in one edit. The form is chosen in one place. `SmithyValidationErrors.Violations` writes each sentence once and carries both forms; the statics stay the quoting one, so every other service answers exactly what it answered before. `IamValidationErrors` names IAM's side of the split for the handler, the service and the service-last-accessed check, and the shared Query walk is loaded with the form of the service reading it, IAM without the value and STS with it. Two messages are left alone, neither being this question: a list checked as a whole carries the list as its value, which is what AWS does elsewhere, and a required member the request leaves out keeps `Value null at '<member>'`, which no capture covers in either form. Two checks built the message by hand rather than through a helper and so are swept here too: `GenerateOrganizationsAccessReport` and the delegation request operations each composed the quoted value inline, which is why neither shows up in a search for the literal form. Their entity path and request id now assert the whole message rather than only the error code, since asserting the code alone is what let that drift sit unnoticed. The vendored shapes file carries 52 operations now rather than 13, so the members the paging wave opted in answer in the shorter form as well, and the table sweep over every paged operation asserts it that way.