Skip to content

Commit 35a0cd8

Browse files
committed
allow for non-ec2 clients to use ec2 query protocol generator
1 parent 29ffec9 commit 35a0cd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/code-generation/generator/src/main/java/com/amazonaws/util/awsclientgenerator/config/ServiceGeneratorConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class ServiceGeneratorConfig {
4646
LANGUAGE_PROTOCOL_DEFAULT_MAPPING.put("cpp-rest-xml", new RestXmlCppClientGenerator());
4747
LANGUAGE_PROTOCOL_DEFAULT_MAPPING.put("cpp-query", new QueryCppClientGenerator());
4848
LANGUAGE_PROTOCOL_DEFAULT_MAPPING.put("cpp-smithy-rpc-v2-cbor", new CborCppClientGenerator());
49+
LANGUAGE_PROTOCOL_DEFAULT_MAPPING.put("cpp-ec2", new Ec2CppClientGenerator());
4950
} catch (Exception e) {
5051
e.printStackTrace();
5152
}

0 commit comments

Comments
 (0)