From 1a0388495b016669596bb5500a4ccdc8a3899d5d Mon Sep 17 00:00:00 2001 From: George Fu Date: Mon, 6 Nov 2023 12:16:42 -0500 Subject: [PATCH] fix(codegen): include NumberValue export in DocumentClient codegen (#5456) --- .../smithy/aws/typescript/codegen/AddDocumentClientPlugin.java | 1 + lib/lib-dynamodb/src/index.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddDocumentClientPlugin.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddDocumentClientPlugin.java index 2e06fdc516d2a..5a3b9ac4e87b2 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddDocumentClientPlugin.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddDocumentClientPlugin.java @@ -123,6 +123,7 @@ private void writeAdditionalFiles( writer.write("export * from './pagination';"); writer.write("export * from './$L';", DocumentClientUtils.CLIENT_NAME); writer.write("export * from './$L';", DocumentClientUtils.CLIENT_FULL_NAME); + writer.write("export { NumberValueImpl as NumberValue } from \"@aws-sdk/util-dynamodb\";"); }); } } diff --git a/lib/lib-dynamodb/src/index.ts b/lib/lib-dynamodb/src/index.ts index 8b782ea2e99c6..8ba2e47e71da1 100644 --- a/lib/lib-dynamodb/src/index.ts +++ b/lib/lib-dynamodb/src/index.ts @@ -4,5 +4,4 @@ export * from "./DynamoDBDocumentClient"; // smithy-typescript generated code export * from "./commands"; export * from "./pagination"; - export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";