Build fails for Legacy mode ON for custom clients, KeyError: 'serviceName' #2712
Labels
bug
This issue is a bug.
needs-review
This issue or pull request needs review from a core team member.
p3
This is a minor priority issue
Describe the bug
When building the script for generate_sdks fail with:
Generating <my_service_name> api version <my_service_version>.
Traceback (most recent call last):
The issue is because the key is defined as service_name and used as serviceName.
In tools/scripts/legacy/generate_sdks.py,
Line 76 :
Issue is in Line 98:
where the key is called using serviceName instead of service_name.
Expected Behavior
Build should not fail
Current Behavior
Build fails with KeyError
Reproduction Steps
Build custom client with -DLEGACY_BUILD=ON
Possible Solution
Rename serviceName to service_name at Line 98
or make the key names consistent (following naming/casing guidelines)
Additional Information/Context
No response
AWS CPP SDK version used
1.11.169
Compiler and Version used
Visual Studio 2022
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: