Smithy now generates standalone types for consistent event-driven communication
AWS announces that Smithy, its Interface Definition Language, can now generate standalone types for any chosen shape, extending beyond operation inputs and outputs. This new capability, facilitated by "shape closures," simplifies event publishing by allowing services and consumers to share consistent data definitions. Developers can leverage this to reduce manual serialization code, prevent breaking changes in event payloads, and improve overall reliability in event-driven architectures. The feature is available in smithy-java 1.5.1 and smithy-typescript 0.52.0, with support for more languages planned.
Features (1) ›
- Generate standalone types using Smithy shape closures
Smithy now supports generating types for arbitrary shapes defined in a model, not just those associated with service operations. This is achieved through "shape closures," a named set of shapes declared explicitly in the model, enabling developers to publish a single artifact with generated types and serialization for event payloads, ensuring consistency across services and their consumers.
https://aws.amazon.com/blogs/developer/generate-standalone-types-with-smithy/
Related releases
- AWS Enhances CloudFront Dynamic Image Transformation with Four New Features AWS What's New ·
- AWS CloudFormation now supports contract tests v2 for resource types AWS What's New ·
- AWS Builder ID enhances security with recovery options and multi-factor authentication AWS What's New ·
- Amazon RDS for MariaDB Now Supports New MariaDB Minor Versions AWS What's New ·
- Amazon MWAA Serverless now available in AWS GovCloud (US) AWS What's New ·
- AWS Recognized as a Leader in Gartner's 2026 Strategic Cloud Platform Services Magic Quadrant AWS Big Data Blog ·