mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
A required member the request carried empty was answered as a member it never carried: `requireParam` threw the null violation for a blank value as well as for an absent one, and `validatedPolicySourceArn` handed a blank to the resolver that answers an absent `PolicySourceArn`. On this protocol an empty value is a member the request carries, so what a blank breaks is the shape declared for it, and that is the constraint AWS's validation layer reports. For nearly every member nothing moves, because the constraints read ahead of the operation already answer a blank against the minimum, the pattern or the value set its shape declares: `RoleName=` breaks its pattern, `Status=` its value set, `PolicyDocument=` both its minimum and its pattern. Of every member read through `requireParam`, only `serviceName` on `CreateServiceSpecificCredential` declares none of the three. A blank there reaches the operation now, where a service name nothing supports is `NoSuchEntity` with the name echoed as the caller sent it, which is what LocalStack's AWS-validated snapshots record for a malformed name as well as for an unsupported one. `PolicySourceArn` is the one `arnType` member this package reads by hand, the simulators answering an absent one in a sentence of their own. A blank is held to the 20 characters the member declares now, which is the answer `GetContextKeysForPrincipalPolicy` gives for the same member through the model, so the two readers of it agree on the same input. One left out keeps that sentence. `docs/services/iam.md` records the split beside the wording an absent member answers with, and four tests in the constraints class pin both halves on both members. One assertion in the service-specific credential tests pinned the old reading, a blank name said never to reach the service check, and it moves with the fix: the blank reaches it and the absent name is what the required-parameter check answers.