Files
floci/src/main/java/io
Kenshin Okinaka f9bd725b51 fix(ses): check v2 metrics, import, export and account bodies against the service model (#5900)
* fix(ses): check v2 metrics, import, export and account bodies against the service model

BatchGetMetricData, CreateImportJob, CreateExportJob,
PutAccountSuppressionAttributes and PutAccountVdmAttributes now check their
body against the vendored SES v2 shapes before their own validation, as the
send and configuration set operations do. A member of the wrong JSON type,
nested ones included, is a SerializationException with the deserializer's
message. BatchGetMetricData keeps its Virtual Deliverability Manager gate
ahead of the check.

The type checks the walk makes unreachable are removed from the metrics,
import and account handlers and from the export service; null list
elements are still rejected where they were before.

* docs(ses): describe what the export filter validation still checks

* style(ses): drop the AwsException import the filter check no longer uses
2026-10-17 20:39:50 -04:00
..