-
Notifications
You must be signed in to change notification settings - Fork 910
Remove C2j models from SDK JARs #3022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Transferred to Java SDK v2 repo. Reducing size is also interesting for Lambda use cases. Will bring this up to the team. |
Feature request added to the backlog. |
This has been fixed with #3030 |
|
Hi, the https://github.com/zio/zio-aws project was depending on these resources embedded in the JARs. Would you consider publishing them separately (maybe bundled in a single JAR)? If not we will have to pull them directly from this repo as part of the code generation process. |
We don't currently have a great alternative other than pulling directly from this repo, and we even intend to remove that in the future in favor of smithy models. I've reached out to our modeling team internally so that we can find a solution long-term to make models available for you, but it might take some time to get aligned on internally. I'm sorry that this broke your use-case. |
…d15716a4b Pull request: release <- staging/a73efa5b-699d-4b5d-8559-a57d15716a4b
Describe the feature
C2j model files are currently included in service client JARs. These can be pretty hefty (in the case of EC2, around 2.5mb altogether). They do not seem to be providing any value once clients are generated and can be fetched from source. For clients this adds quite a bit of needless overhead to deployable artifacts or shipped software.
Is your Feature Request related to a problem?
The AWS SDK dependencies within the AWS Toolkit for Jetbrains represent the largest chunk of our overall footprint (which is ~50MB). We are trying to reduce this to make it faster to distribute the Toolkit to clients and across remote machines. This change would be a good first step to trimming some fat.
Proposed Solution
Remove C2j model JSON files from generated client JARs.
Describe alternatives you've considered
No response
Acknowledge
AWS Java SDK version used
2.17.76
JDK version used
N/A
Operating System and version
N/A
The text was updated successfully, but these errors were encountered: