Skip to content

Commit 8bcca1b

Browse files
committed
feat(client-lex-runtime-v2): add http2 support
1 parent b49c1d3 commit 8bcca1b

File tree

1 file changed

+1
-1
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen

1 file changed

+1
-1
lines changed

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddHttp2Dependency.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ private static boolean isHttp2Applicable(ServiceShape service) {
5757
String serviceId = service.getTrait(ServiceTrait.class).map(ServiceTrait::getSdkId).orElse("");
5858
// TODO: Add "Kinesis" service to http2 applicable, but blocked by potential breaking change.
5959
// Reference: https://github.com/aws/aws-sdk-js-v3/issues/1206
60-
return serviceId.equals("Transcribe Streaming");
60+
return ListUtils.of("Lex Runtime V2", "Transcribe Streaming").contains(serviceId);
6161
}
6262
}

0 commit comments

Comments
 (0)