mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 15:21:05 -05:00
Two members were held back from the vendored shapes because this service was read as answering them in a wording of its own. Captures from a real account, posted on issue #6042, answer both, and neither reading holds. `statusType` is shared by `UpdateAccessKey`, `UpdateSigningCertificate`, `UpdateSSHPublicKey` and `UpdateServiceSpecificCredential`. One hand-written check answered all four, naming neither the offending value nor the permitted set, which is what a 2025 recording of one of them carries. AWS names the set, `Member must satisfy enum value set: [Expired, Active, Inactive]`, and answers an omitted status as the required member it is rather than as a value outside the set, which one check reading a null as a bad value could not tell apart. Both are the model's own wording, so all four read it through the Query front door and the check comes out. The set is listed in the order AWS lists it, which is not the order botocore declares. The values are the model's and the generator holds them to it: only their order is read from the capture. `AWSServiceName` on `CreateServiceLinkedRole` answered `InvalidInput` with a sentence about its own bounds, where AWS answers a constraint violation naming the declared pattern. A principal that satisfies the pattern and names no service AWS has is still `InvalidInput`, so the layering the capture leaves in place is the shape first and then whether the service exists. The required-member message loses the word that stood where the value would go. IAM names a member and leaves its value out everywhere, and the one message carrying `Value null at` did so for want of a capture either way; the capture answers `Value at 'status'`. The form moves in the one object that decides it, so the eight refusals this package writes by hand move with the walk, and the services that do quote their values keep the word. The message quotes the pattern AWS quotes, which is not the one the shape declares. botocore aliases that member to the shape it gives a group name, `[\w+=,.@-]+` at 1 to 128 characters, where AWS's message gives `[\w+=.@-]*`: the comma is gone and a `*` stands where the minimum is 1. Only the message is in hand rather than the shape, so the generator records AWS's text beside the model's and one object decides which text any violation quotes, the way the enum order is read from the capture while the values stay the model's. A comma is still admitted and an empty principal still refused, and an empty one now breaks the minimum and the pattern at once, as every other string member here does. The comma is what a second capture would settle, and the difference is recorded in `docs/services/iam.md`.