@aws-sdk/client-dynamodb 3.1101.0 → 3.1103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist-cjs/index.js +329 -146
- package/dist-es/DynamoDB.js +2 -0
- package/dist-es/commandBuilder.js +5 -1
- package/dist-es/commands/SearchVectorsCommand.js +4 -0
- package/dist-es/commands/TransactGetItemsCommand.js +2 -2
- package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/bdd.js +136 -108
- package/dist-es/endpoint/endpointResolver.js +1 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-es/schemas/schemas_0.js +153 -32
- package/dist-types/DynamoDB.d.ts +7 -0
- package/dist-types/DynamoDBClient.d.ts +3 -2
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +6 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +12 -7
- package/dist-types/commands/CreateTableCommand.d.ts +49 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +22 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +6 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +27 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +22 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +22 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +27 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +10 -1
- package/dist-types/commands/GetItemCommand.d.ts +6 -0
- package/dist-types/commands/ImportTableCommand.d.ts +44 -0
- package/dist-types/commands/PutItemCommand.d.ts +6 -0
- package/dist-types/commands/QueryCommand.d.ts +6 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +49 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +49 -0
- package/dist-types/commands/ScanCommand.d.ts +6 -0
- package/dist-types/commands/SearchVectorsCommand.d.ts +295 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +10 -1
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +10 -1
- package/dist-types/commands/UpdateItemCommand.d.ts +6 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/errors.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +631 -4
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +17 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +6 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
- package/dist-types/ts3.4/commands/SearchVectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +84 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +4 -4
package/dist-es/DynamoDB.js
CHANGED
|
@@ -43,6 +43,7 @@ import { QueryCommand } from "./commands/QueryCommand";
|
|
|
43
43
|
import { RestoreTableFromBackupCommand, } from "./commands/RestoreTableFromBackupCommand";
|
|
44
44
|
import { RestoreTableToPointInTimeCommand, } from "./commands/RestoreTableToPointInTimeCommand";
|
|
45
45
|
import { ScanCommand } from "./commands/ScanCommand";
|
|
46
|
+
import { SearchVectorsCommand, } from "./commands/SearchVectorsCommand";
|
|
46
47
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
47
48
|
import { TransactGetItemsCommand, } from "./commands/TransactGetItemsCommand";
|
|
48
49
|
import { TransactWriteItemsCommand, } from "./commands/TransactWriteItemsCommand";
|
|
@@ -114,6 +115,7 @@ const commands = {
|
|
|
114
115
|
RestoreTableFromBackupCommand,
|
|
115
116
|
RestoreTableToPointInTimeCommand,
|
|
116
117
|
ScanCommand,
|
|
118
|
+
SearchVectorsCommand,
|
|
117
119
|
TagResourceCommand,
|
|
118
120
|
TransactGetItemsCommand,
|
|
119
121
|
TransactWriteItemsCommand,
|
|
@@ -34,9 +34,13 @@ export const _ep10 = {
|
|
|
34
34
|
ResourceArn: { type: "contextParams", name: "TargetTableName" },
|
|
35
35
|
};
|
|
36
36
|
export const _ep11 = {
|
|
37
|
-
|
|
37
|
+
IsSearchOperation: { type: "staticContextParams", value: true },
|
|
38
|
+
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
38
39
|
};
|
|
39
40
|
export const _ep12 = {
|
|
41
|
+
ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
|
|
42
|
+
};
|
|
43
|
+
export const _ep13 = {
|
|
40
44
|
ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
|
|
41
45
|
};
|
|
42
46
|
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ep12, _mw0, command } from "../commandBuilder";
|
|
2
2
|
import { TransactGetItems$ } from "../schemas/schemas_0";
|
|
3
|
-
export class TransactGetItemsCommand extends command(
|
|
3
|
+
export class TransactGetItemsCommand extends command(_ep12, _mw0, "TransactGetItems", TransactGetItems$) {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ep13, _mw0, command } from "../commandBuilder";
|
|
2
2
|
import { TransactWriteItems$ } from "../schemas/schemas_0";
|
|
3
|
-
export class TransactWriteItemsCommand extends command(
|
|
3
|
+
export class TransactWriteItemsCommand extends command(_ep13, _mw0, "TransactWriteItems", TransactWriteItems$) {
|
|
4
4
|
}
|
|
@@ -42,6 +42,7 @@ export * from "./QueryCommand";
|
|
|
42
42
|
export * from "./RestoreTableFromBackupCommand";
|
|
43
43
|
export * from "./RestoreTableToPointInTimeCommand";
|
|
44
44
|
export * from "./ScanCommand";
|
|
45
|
+
export * from "./SearchVectorsCommand";
|
|
45
46
|
export * from "./TagResourceCommand";
|
|
46
47
|
export * from "./TransactGetItemsCommand";
|
|
47
48
|
export * from "./TransactWriteItemsCommand";
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,64 +1,77 @@
|
|
|
1
1
|
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
-
const
|
|
3
|
-
const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "
|
|
2
|
+
const L = "ref", M = "argv";
|
|
3
|
+
const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_2" }, "region"] }, B = { [L]: "ParsedArn_ssa_2" }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
|
|
4
4
|
const _data = {
|
|
5
5
|
conditions: [
|
|
6
|
-
[d,
|
|
7
|
-
[d,
|
|
8
|
-
[e, [{ [
|
|
9
|
-
["
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[e, [{ [
|
|
13
|
-
[
|
|
14
|
-
[g, [
|
|
15
|
-
[
|
|
16
|
-
[g, [
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[g, [w, "required"]],
|
|
6
|
+
[d, I],
|
|
7
|
+
[d, J],
|
|
8
|
+
[e, [{ [L]: "UseFIPS" }, b]],
|
|
9
|
+
[e, [{ [L]: "UseDualStack" }, b]],
|
|
10
|
+
["aws.partition", I, f],
|
|
11
|
+
[g, [v, "local"]],
|
|
12
|
+
[e, [{ fn: h, [M]: [w, "supportsFIPS"] }, b]],
|
|
13
|
+
["parseURL", J, i],
|
|
14
|
+
[g, ["dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
|
|
15
|
+
[e, [{ fn: h, [M]: [w, "supportsDualStack"] }, b]],
|
|
16
|
+
[g, ["search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
|
|
17
|
+
[d, [y]],
|
|
18
|
+
[g, [z, "aws"]],
|
|
19
|
+
[g, [y, "disabled"]],
|
|
20
|
+
[d, K],
|
|
21
|
+
[j, K, k(2)],
|
|
22
|
+
[g, [A, v]],
|
|
23
|
+
[g, [{ fn: h, [M]: [B, l] }, m]],
|
|
24
|
+
[n, [A, c]],
|
|
25
|
+
[n, [{ fn: h, [M]: [B, o] }, c]],
|
|
26
|
+
[d, [C]],
|
|
27
|
+
[h, [C, "[0]"], p],
|
|
28
|
+
[j, [{ [L]: p }], k(1)],
|
|
29
|
+
[g, [D, v]],
|
|
30
|
+
[g, [{ fn: h, [M]: [E, l] }, m]],
|
|
31
|
+
[n, [{ fn: h, [M]: [E, o] }, c]],
|
|
33
32
|
[n, [D, c]],
|
|
34
|
-
[
|
|
33
|
+
[d, [F]],
|
|
34
|
+
[g, [y, "required"]],
|
|
35
|
+
[n, [F, c]],
|
|
36
|
+
[g, [z, "aws-us-gov"]],
|
|
37
|
+
[e, [{ fn: "coalesce", [M]: [{ [L]: "IsSearchOperation" }, c] }, b]]
|
|
35
38
|
],
|
|
36
39
|
results: [
|
|
37
40
|
[a],
|
|
38
41
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
39
42
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
40
43
|
[a, "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html"],
|
|
41
|
-
["{Endpoint}",
|
|
44
|
+
["{Endpoint}", G],
|
|
42
45
|
[a, "Invalid Configuration: FIPS and local endpoint are not supported"],
|
|
43
46
|
[a, "Invalid Configuration: Dualstack and local endpoint are not supported"],
|
|
44
|
-
["http://localhost:8000", { authSchemes: [{ name: "sigv4", signingName: m
|
|
47
|
+
["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: m }] }],
|
|
45
48
|
[a, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"],
|
|
46
|
-
["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
49
|
+
["https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
|
|
50
|
+
["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
|
|
47
51
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
48
|
-
["https://dynamodb.{Region}.{PartitionResult#dnsSuffix}",
|
|
49
|
-
["https://dynamodb
|
|
52
|
+
["https://search-dynamodb.{Region}.{PartitionResult#dnsSuffix}", G],
|
|
53
|
+
["https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", G],
|
|
54
|
+
["https://search-dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
|
|
55
|
+
["https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
|
|
50
56
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
51
|
-
[q(2),
|
|
52
|
-
[
|
|
53
|
-
[
|
|
57
|
+
[q(2), H],
|
|
58
|
+
[s(2), H],
|
|
59
|
+
[q(1), H],
|
|
60
|
+
[s(1), H],
|
|
61
|
+
["https://{AccountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
|
|
62
|
+
["https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
|
|
54
63
|
[a, "Credentials-sourced account ID parameter is invalid"],
|
|
55
64
|
[a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
|
|
56
65
|
[a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
|
|
57
|
-
[
|
|
66
|
+
["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
|
|
67
|
+
["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
|
|
58
68
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
69
|
+
[t(2), H],
|
|
70
|
+
[u(2), H],
|
|
71
|
+
[t(1), H],
|
|
72
|
+
[u(1), H],
|
|
73
|
+
["https://{AccountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", H],
|
|
74
|
+
["https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", H],
|
|
62
75
|
[a, "Invalid Configuration: Missing Region"]
|
|
63
76
|
]
|
|
64
77
|
};
|
|
@@ -66,71 +79,86 @@ const root = 2;
|
|
|
66
79
|
const r = 100_000_000;
|
|
67
80
|
const nodes = new Int32Array([
|
|
68
81
|
-1, 1, -1,
|
|
69
|
-
0,
|
|
70
|
-
1, 4, r +
|
|
71
|
-
2, r + 1,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
27,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
28, r +
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
82
|
+
0, 6, 3,
|
|
83
|
+
1, 4, r + 35,
|
|
84
|
+
2, r + 1, 5,
|
|
85
|
+
3, r + 2, r + 4,
|
|
86
|
+
1, 77, 7,
|
|
87
|
+
2, 61, 8,
|
|
88
|
+
3, 34, 9,
|
|
89
|
+
4, 10, r + 35,
|
|
90
|
+
5, r + 7, 11,
|
|
91
|
+
11, 12, 69,
|
|
92
|
+
12, 14, 13,
|
|
93
|
+
28, r + 25, 69,
|
|
94
|
+
13, 33, 15,
|
|
95
|
+
14, 16, 21,
|
|
96
|
+
15, 17, 21,
|
|
97
|
+
16, 18, 21,
|
|
98
|
+
17, 19, 21,
|
|
99
|
+
18, 20, 21,
|
|
100
|
+
19, 32, 21,
|
|
101
|
+
20, 22, 28,
|
|
102
|
+
21, 23, 28,
|
|
103
|
+
22, 24, 28,
|
|
104
|
+
23, 25, 28,
|
|
105
|
+
24, 26, 28,
|
|
106
|
+
25, 27, 28,
|
|
107
|
+
26, 31, 28,
|
|
108
|
+
27, 29, 33,
|
|
109
|
+
29, 30, r + 23,
|
|
110
|
+
31, r + 33, r + 34,
|
|
111
|
+
31, r + 31, r + 32,
|
|
112
|
+
31, r + 29, r + 30,
|
|
113
|
+
28, r + 24, 69,
|
|
114
|
+
4, 35, r + 35,
|
|
115
|
+
5, r + 6, 36,
|
|
116
|
+
9, 37, r + 28,
|
|
117
|
+
11, 38, 60,
|
|
118
|
+
12, 40, 39,
|
|
119
|
+
28, r + 25, 60,
|
|
120
|
+
13, 59, 41,
|
|
121
|
+
14, 42, 47,
|
|
122
|
+
15, 43, 47,
|
|
123
|
+
16, 44, 47,
|
|
124
|
+
17, 45, 47,
|
|
125
|
+
18, 46, 47,
|
|
126
|
+
19, 58, 47,
|
|
127
|
+
20, 48, 54,
|
|
128
|
+
21, 49, 54,
|
|
129
|
+
22, 50, 54,
|
|
130
|
+
23, 51, 54,
|
|
131
|
+
24, 52, 54,
|
|
132
|
+
25, 53, 54,
|
|
133
|
+
26, 57, 54,
|
|
134
|
+
27, 55, 59,
|
|
135
|
+
29, 56, r + 23,
|
|
136
|
+
31, r + 21, r + 22,
|
|
137
|
+
31, r + 19, r + 20,
|
|
138
|
+
31, r + 17, r + 18,
|
|
139
|
+
28, r + 24, 60,
|
|
140
|
+
31, r + 26, r + 27,
|
|
141
|
+
3, 70, 62,
|
|
142
|
+
4, 63, r + 35,
|
|
143
|
+
5, r + 5, 64,
|
|
144
|
+
6, 65, r + 16,
|
|
145
|
+
11, 66, 67,
|
|
146
|
+
28, r + 8, 67,
|
|
147
|
+
30, 69, 68,
|
|
148
|
+
31, r + 14, r + 15,
|
|
149
|
+
31, r + 12, r + 13,
|
|
150
|
+
4, 71, r + 35,
|
|
151
|
+
5, r + 5, 72,
|
|
152
|
+
6, 73, r + 11,
|
|
153
|
+
9, 74, r + 11,
|
|
154
|
+
11, 75, 76,
|
|
155
|
+
28, r + 8, 76,
|
|
156
|
+
31, r + 9, r + 10,
|
|
157
|
+
2, r + 1, 78,
|
|
158
|
+
3, r + 2, 79,
|
|
159
|
+
4, 80, r + 4,
|
|
160
|
+
7, 81, r + 4,
|
|
161
|
+
8, r + 3, 82,
|
|
162
|
+
10, r + 3, r + 4,
|
|
135
163
|
]);
|
|
136
164
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/dist-es/models/enums.js
CHANGED
|
@@ -58,6 +58,15 @@ export const TimeToLiveStatus = {
|
|
|
58
58
|
ENABLED: "ENABLED",
|
|
59
59
|
ENABLING: "ENABLING",
|
|
60
60
|
};
|
|
61
|
+
export const VectorDistanceFunction = {
|
|
62
|
+
COSINE: "COSINE",
|
|
63
|
+
DOT_PRODUCT: "DOT_PRODUCT",
|
|
64
|
+
EUCLIDEAN: "EUCLIDEAN",
|
|
65
|
+
};
|
|
66
|
+
export const SearchSchemaElementType = {
|
|
67
|
+
HASH: "HASH",
|
|
68
|
+
INLINE_FILTER: "INLINE_FILTER",
|
|
69
|
+
};
|
|
61
70
|
export const BackupTypeFilter = {
|
|
62
71
|
ALL: "ALL",
|
|
63
72
|
AWS_BACKUP: "AWS_BACKUP",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import {
|
|
3
|
+
import { DynamoDBJsonCodec2 } from "@aws-sdk/dynamodb-codec";
|
|
4
4
|
import { Sha256 } from "@smithy/core/checksum";
|
|
5
5
|
import { NoOpLogger } from "@smithy/core/client";
|
|
6
6
|
import { parseUrl } from "@smithy/core/protocols";
|
|
@@ -32,7 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
32
|
xmlNamespace: "http://dynamodb.amazonaws.com/doc/2012-08-10/",
|
|
33
33
|
version: "2012-08-10",
|
|
34
34
|
serviceTarget: "DynamoDB_20120810",
|
|
35
|
-
jsonCodec: new
|
|
35
|
+
jsonCodec: new DynamoDBJsonCodec2(),
|
|
36
36
|
},
|
|
37
37
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
38
38
|
sha256: config?.sha256 ?? Sha256,
|