Posted On: Aug 19, 2022
Smithy Interface Definition Language (IDL) 2.0 is now generally available. Smithy is Amazon’s next-generation API modeling language that is based on our experience building tens of thousands of APIs and generating SDKs. Using IDL 2.0, developers can now author Smithy models and generate code from Smithy models in a simpler, more intuitive way.
IDL 2.0 improves developer productivity by reducing the amount of nullable properties in generated code and makes your code less error prone by reducing duplication for larger API models. The release also contains numerous other features such as custom default values, resource properties to improve consistency across operations, dedicated enumeration shapes, and syntax improvements.
To learn more about this release, read our blog post, visit our Developer Guide, and check out the source code on GitHub. Already using Smithy 1.0 and ready to migrate to Smithy 2.0? Get started with the IDL 1.0 to 2.0 migration guide.