Files
floci/src/test/java
Kenshin Okinaka 24d989cb07 refactor(ses): build not-null violations with SmithyValidationErrors (#6746)
The "Value at '<path>' failed to satisfy constraint: Member must not be
null" violation was still written by hand in 26 places across the SES
services and controllers. They now call
SmithyValidationErrors.notNullWithoutValue(path), keeping each site's
badRequest or validationError factory.

The length checks on websiteURL, additionalContactEmailAddresses and
certificateArn, which tested a lower and an upper bound side by side,
now go through SmithyValidationErrors.sizeOutOfRange.

The message text is unchanged, and the private wrappers stay because
their enum and other constraint callers still use them.
2026-10-27 12:03:18 -04:00
..