What's Changed
- dynamic: Add
DynamicSchemaIndex.loadModel(model, applySchemaRefinements: Boolean)overload. WhenapplySchemaRefinements = true, constraint traits (@length,@range,@pattern, ...) are reified into schema refinements instead of being kept just as hints, matching the behaviour of codegen-produced schemas. - aws: Resolve the SigV4 signing name and the endpoint host independently in #1596. The signing name now comes from
aws.auth#sigv4'sname, while the host keeps usingendpointPrefix, falling back toarnNamespacewhen it is absent. Both previously usedendpointPrefix, so services where the two differ were rejected with "Credential should be scoped to correct service" (#1568), and services without anendpointPrefixderived the host from the operation name, e.g.ListRegions.us-east-1.amazonaws.com(#1532). - codegen: Skip traits from the
aws.endpointsnamespace when generating hints. They have no published Scala bindings, so services carrying them (e.g. the AWS Account API, viaaws.endpoints#standardPartitionalEndpoints) generated code that did not compile. This mirrors the existing treatment ofsmithy.rules.
Full Changelog: v0.19.12...v0.19.13