Skip to main content

Module validation

Module validation 

Source
Expand description

Model-derived input validation for AWS AppConfig.

AWS rejects requests that violate the Smithy model’s top-level constraints (@required, @length, @range, @enum) with BadRequestException before the operation runs. This module encodes those constraints per operation so out-of-range / omitted / bad-enum inputs are rejected exactly as the real service does. The rule table is generated from aws-models/appconfig.json.

Enums§

Rule
A single input-constraint rule from the Smithy model.
Src
Where a constrained input member is bound on the wire.

Functions§

validate
Validate an operation’s input against the model constraints. labels are the decoded path labels in URI order (see label_fields).