Expand description
Model-derived input validation for Amazon SageMaker operations.
Every SageMaker input member is carried in the awsJson1.1 request body, so
the rules generated from the Smithy model (see src/generated.rs) record,
per top-level input member, whether it is @required and its @length /
@range / @enum constraints. This validator enforces exactly those,
rejecting a violating request with SageMaker’s ValidationException.
@pattern is intentionally not enforced (it is not part of the constraint
set exercised here and enforcing it would reject otherwise-valid inputs).
Constants§
- VALIDATION_
ERROR - SageMaker’s canonical input-validation error. The model does not enumerate a
ValidationExceptionshape on most operations, but the live API returns it for malformed input, and it is registered as a service-wide common error in the conformance probe.