Skip to content

Conversation

@AllanZhengYP
Copy link
Contributor

Issue

Right now all SDK clients are generated with name specified in aws-models folder. Even though model file names are generated from the model's sdkId, mistakenly renaming these model files could result in generating new clients.

Instead clients shuold be generated irrelavant of the file name. This change generates the package name from the model directly. It has also been fixed in Go v2 SDK.

This change also:

  • Add a -n option to generate-clients script to disable generating protocol tests. It eliminating protocol test clients generation when developer wants to generate a single model.
  • New clients are now generated with version 3.0.0, previously it was 1.0.0-rc.1

Description

What does this implement/fix? Explain your changes.

Testing

How was this change tested?

Additional context

Add any other context about the PR here.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP merged commit f239221 into aws:main Jul 13, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants