From a2e92c666e0be356170e192a24d4b81037d84659 Mon Sep 17 00:00:00 2001 From: Joseph Klix Date: Tue, 14 Nov 2023 10:21:14 -0800 Subject: [PATCH] fix usage of service_name in codegen (#2720) --- tools/scripts/legacy/generate_sdks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/legacy/generate_sdks.py b/tools/scripts/legacy/generate_sdks.py index b96344cf9a4..c0678bd3651 100644 --- a/tools/scripts/legacy/generate_sdks.py +++ b/tools/scripts/legacy/generate_sdks.py @@ -95,7 +95,7 @@ def generate_sdk(generator_path, sdk, output_dir, namespace, license_text, stand with codecs.open(sdk['filePath'], 'rb', 'utf-8') as api_definition: api_content = api_definition.read() jar_path = join(generator_path, 'target/aws-client-generator-1.0-SNAPSHOT-jar-with-dependencies.jar') - process = Popen(['java', '-jar', jar_path, '--service', sdk['serviceName'], '--version', sdk['apiVersion'], + process = Popen(['java', '-jar', jar_path, '--service', sdk['service_name'], '--version', sdk['apiVersion'], '--namespace', namespace, '--license-text', license_text, '--language-binding', 'cpp', '--arbitrary', '--standalone' if standalone else '', '--enable-virtual-operations' if enable_virtual_operations else ''],