Created
September 25, 2023 01:37
-
-
Save syall/24a78b829f45490bd765f95d1a854ad0 to your computer and use it in GitHub Desktop.
Building `aws-models` in `aws-sdk-js-v3` with the Smithy CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Smithy CLI must be the latest release to match the version range `[1.0,2.0)` | |
smithy --version | |
# Assumes `codegen/sdk-codegen/smithy-build.json` exists | |
cd codegen/sdk-codegen/ | |
# Filter out warnings and notes | |
smithy build --severity ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// codegen/sdk-codegen/smithy-build.json | |
{ | |
"version": "1.0", | |
"sources": ["aws-models"], | |
"maven": { | |
"dependencies": [ | |
"software.amazon.smithy:smithy-rules-engine:[1.0,2.0)", | |
"software.amazon.smithy:smithy-waiters:[1.0,2.0)", | |
"software.amazon.smithy:smithy-aws-traits:[1.0,2.0)", | |
"software.amazon.smithy:smithy-aws-cloudformation-traits:[1.0,2.0)", | |
"software.amazon.smithy:smithy-aws-iam-traits:[1.0,2.0)" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment