mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
The Organizations handler read each member with asText, asInt or path, so a Tags that isn't a list was read as no tags, a number where a string belongs as its text, and a string MaxResults as a number. Vendor botocore's Organizations request shapes with tools/aws/regen_organizations_shapes.py, kept in sync by make aws-data-check. Once the switch in handle finds a served operation, walk the request against that operation's input shape with RequestShapeCheck before the operation reads it, as Rekognition's handler does. An operation Floci doesn't serve still answers UnknownOperationException, whatever its body. A mismatch is a SerializationException worded as DynamoDB's deserializer words it. Organizations' own error and wording haven't been measured. The tag checks parseTags already makes still run: a null member counts as absent in the walk, so a null or missing Key or Value and a repeated key keep their InvalidInputException.