@depup/aws-sdk__lib-dynamodb 3.1005.0-depup.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/LICENSE +201 -0
- package/README.md +31 -0
- package/dist-cjs/index.js +836 -0
- package/dist-es/DynamoDBDocument.js +214 -0
- package/dist-es/DynamoDBDocumentClient.js +20 -0
- package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +32 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +39 -0
- package/dist-es/commands/BatchGetCommand.js +45 -0
- package/dist-es/commands/BatchWriteCommand.js +57 -0
- package/dist-es/commands/DeleteCommand.js +38 -0
- package/dist-es/commands/ExecuteStatementCommand.js +31 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +36 -0
- package/dist-es/commands/GetCommand.js +28 -0
- package/dist-es/commands/PutCommand.js +38 -0
- package/dist-es/commands/QueryCommand.js +42 -0
- package/dist-es/commands/ScanCommand.js +37 -0
- package/dist-es/commands/TransactGetCommand.js +38 -0
- package/dist-es/commands/TransactWriteCommand.js +53 -0
- package/dist-es/commands/UpdateCommand.js +43 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/commands/utils.js +80 -0
- package/dist-es/index.js +5 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/QueryPaginator.js +4 -0
- package/dist-es/pagination/ScanPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-types/DynamoDBDocument.d.ts +195 -0
- package/dist-types/DynamoDBDocumentClient.d.ts +96 -0
- package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +17 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +66 -0
- package/dist-types/commands/BatchGetCommand.d.ts +70 -0
- package/dist-types/commands/BatchWriteCommand.d.ts +94 -0
- package/dist-types/commands/DeleteCommand.d.ts +66 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +52 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +60 -0
- package/dist-types/commands/GetCommand.d.ts +48 -0
- package/dist-types/commands/PutCommand.d.ts +66 -0
- package/dist-types/commands/QueryCommand.d.ts +70 -0
- package/dist-types/commands/ScanCommand.d.ts +62 -0
- package/dist-types/commands/TransactGetCommand.d.ts +64 -0
- package/dist-types/commands/TransactWriteCommand.d.ts +92 -0
- package/dist-types/commands/UpdateCommand.d.ts +74 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/commands/utils.d.ts +33 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +13 -0
- package/dist-types/pagination/QueryPaginator.d.ts +11 -0
- package/dist-types/pagination/ScanPaginator.d.ts +11 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +221 -0
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +105 -0
- package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +92 -0
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +142 -0
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +78 -0
- package/dist-types/ts3.4/commands/GetCommand.d.ts +57 -0
- package/dist-types/ts3.4/commands/PutCommand.d.ts +93 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +80 -0
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +82 -0
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +151 -0
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +113 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/commands/utils.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +8 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +12 -0
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +9 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/package.json +87 -0
|
@@ -0,0 +1,836 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
4
|
+
var core = require('@aws-sdk/core');
|
|
5
|
+
var utilDynamodb = require('@aws-sdk/util-dynamodb');
|
|
6
|
+
var clientDynamodb = require('@aws-sdk/client-dynamodb');
|
|
7
|
+
var core$1 = require('@smithy/core');
|
|
8
|
+
|
|
9
|
+
const SELF = null;
|
|
10
|
+
const ALL_VALUES = {};
|
|
11
|
+
const ALL_MEMBERS = [];
|
|
12
|
+
const NEXT_LEVEL = "*";
|
|
13
|
+
const processObj = (obj, processFunc, keyNodes) => {
|
|
14
|
+
if (obj !== undefined) {
|
|
15
|
+
if (keyNodes == null) {
|
|
16
|
+
return processFunc(obj);
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
const keys = Object.keys(keyNodes);
|
|
20
|
+
const goToNextLevel = keys.length === 1 && keys[0] === NEXT_LEVEL;
|
|
21
|
+
const someChildren = keys.length >= 1 && !goToNextLevel;
|
|
22
|
+
const allChildren = keys.length === 0;
|
|
23
|
+
if (someChildren) {
|
|
24
|
+
return processKeysInObj(obj, processFunc, keyNodes);
|
|
25
|
+
}
|
|
26
|
+
else if (allChildren) {
|
|
27
|
+
return processAllKeysInObj(obj, processFunc, SELF);
|
|
28
|
+
}
|
|
29
|
+
else if (goToNextLevel) {
|
|
30
|
+
return Object.entries(obj ?? {}).reduce((acc, [k, v]) => {
|
|
31
|
+
if (typeof v !== "function") {
|
|
32
|
+
acc[k] = processObj(v, processFunc, keyNodes[NEXT_LEVEL]);
|
|
33
|
+
}
|
|
34
|
+
return acc;
|
|
35
|
+
}, (Array.isArray(obj) ? [] : {}));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return undefined;
|
|
40
|
+
};
|
|
41
|
+
const processKeysInObj = (obj, processFunc, keyNodes) => {
|
|
42
|
+
let accumulator;
|
|
43
|
+
if (Array.isArray(obj)) {
|
|
44
|
+
accumulator = obj.filter((item) => typeof item !== "function");
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
accumulator = {};
|
|
48
|
+
for (const [k, v] of Object.entries(obj)) {
|
|
49
|
+
if (typeof v !== "function") {
|
|
50
|
+
accumulator[k] = v;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
for (const [nodeKey, nodes] of Object.entries(keyNodes)) {
|
|
55
|
+
if (typeof obj[nodeKey] === "function") {
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
const processedValue = processObj(obj[nodeKey], processFunc, nodes);
|
|
59
|
+
if (processedValue !== undefined && typeof processedValue !== "function") {
|
|
60
|
+
accumulator[nodeKey] = processedValue;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return accumulator;
|
|
64
|
+
};
|
|
65
|
+
const processAllKeysInObj = (obj, processFunc, keyNodes) => {
|
|
66
|
+
if (Array.isArray(obj)) {
|
|
67
|
+
return obj.filter((item) => typeof item !== "function").map((item) => processObj(item, processFunc, keyNodes));
|
|
68
|
+
}
|
|
69
|
+
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
70
|
+
if (typeof value === "function") {
|
|
71
|
+
return acc;
|
|
72
|
+
}
|
|
73
|
+
const processedValue = processObj(value, processFunc, keyNodes);
|
|
74
|
+
if (processedValue !== undefined && typeof processedValue !== "function") {
|
|
75
|
+
acc[key] = processedValue;
|
|
76
|
+
}
|
|
77
|
+
return acc;
|
|
78
|
+
}, {});
|
|
79
|
+
};
|
|
80
|
+
const marshallInput = (obj, keyNodes, options) => {
|
|
81
|
+
const marshallFunc = (toMarshall) => utilDynamodb.marshall(toMarshall, options);
|
|
82
|
+
return processKeysInObj(obj, marshallFunc, keyNodes);
|
|
83
|
+
};
|
|
84
|
+
const unmarshallOutput = (obj, keyNodes, options) => {
|
|
85
|
+
const unmarshallFunc = (toMarshall) => utilDynamodb.unmarshall(toMarshall, options);
|
|
86
|
+
return processKeysInObj(obj, unmarshallFunc, keyNodes);
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
class DynamoDBDocumentClientCommand extends smithyClient.Command {
|
|
90
|
+
addMarshallingMiddleware(configuration) {
|
|
91
|
+
const { marshallOptions = {}, unmarshallOptions = {} } = configuration.translateConfig || {};
|
|
92
|
+
marshallOptions.convertTopLevelContainer = marshallOptions.convertTopLevelContainer ?? true;
|
|
93
|
+
unmarshallOptions.convertWithoutMapWrapper = unmarshallOptions.convertWithoutMapWrapper ?? true;
|
|
94
|
+
this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => {
|
|
95
|
+
core.setFeature(context, "DDB_MAPPER", "d");
|
|
96
|
+
return next({
|
|
97
|
+
...args,
|
|
98
|
+
input: marshallInput(args.input, this.inputKeyNodes, marshallOptions),
|
|
99
|
+
});
|
|
100
|
+
}, {
|
|
101
|
+
name: "DocumentMarshall",
|
|
102
|
+
relation: "before",
|
|
103
|
+
toMiddleware: "serializerMiddleware",
|
|
104
|
+
override: true,
|
|
105
|
+
});
|
|
106
|
+
this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => {
|
|
107
|
+
const deserialized = await next(args);
|
|
108
|
+
deserialized.output = unmarshallOutput(deserialized.output, this.outputKeyNodes, unmarshallOptions);
|
|
109
|
+
return deserialized;
|
|
110
|
+
}, {
|
|
111
|
+
name: "DocumentUnmarshall",
|
|
112
|
+
relation: "before",
|
|
113
|
+
toMiddleware: "deserializerMiddleware",
|
|
114
|
+
override: true,
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
120
|
+
input;
|
|
121
|
+
inputKeyNodes = {
|
|
122
|
+
'Statements': {
|
|
123
|
+
'*': {
|
|
124
|
+
'Parameters': ALL_MEMBERS,
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
outputKeyNodes = {
|
|
129
|
+
'Responses': {
|
|
130
|
+
'*': {
|
|
131
|
+
'Error': {
|
|
132
|
+
'Item': ALL_VALUES,
|
|
133
|
+
},
|
|
134
|
+
'Item': ALL_VALUES,
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
clientCommand;
|
|
139
|
+
middlewareStack;
|
|
140
|
+
constructor(input) {
|
|
141
|
+
super();
|
|
142
|
+
this.input = input;
|
|
143
|
+
this.clientCommand = new clientDynamodb.BatchExecuteStatementCommand(this.input);
|
|
144
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
145
|
+
}
|
|
146
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
147
|
+
this.addMarshallingMiddleware(configuration);
|
|
148
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
149
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
150
|
+
return async () => handler(this.clientCommand);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
class BatchGetCommand extends DynamoDBDocumentClientCommand {
|
|
155
|
+
input;
|
|
156
|
+
inputKeyNodes = {
|
|
157
|
+
'RequestItems': {
|
|
158
|
+
'*': {
|
|
159
|
+
'Keys': {
|
|
160
|
+
'*': ALL_VALUES
|
|
161
|
+
},
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
};
|
|
165
|
+
outputKeyNodes = {
|
|
166
|
+
'Responses': {
|
|
167
|
+
'*': {
|
|
168
|
+
'*': ALL_VALUES
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
'UnprocessedKeys': {
|
|
172
|
+
'*': {
|
|
173
|
+
'Keys': {
|
|
174
|
+
'*': ALL_VALUES
|
|
175
|
+
},
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
clientCommand;
|
|
180
|
+
middlewareStack;
|
|
181
|
+
constructor(input) {
|
|
182
|
+
super();
|
|
183
|
+
this.input = input;
|
|
184
|
+
this.clientCommand = new clientDynamodb.BatchGetItemCommand(this.input);
|
|
185
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
186
|
+
}
|
|
187
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
188
|
+
this.addMarshallingMiddleware(configuration);
|
|
189
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
190
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
191
|
+
return async () => handler(this.clientCommand);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
class BatchWriteCommand extends DynamoDBDocumentClientCommand {
|
|
196
|
+
input;
|
|
197
|
+
inputKeyNodes = {
|
|
198
|
+
'RequestItems': {
|
|
199
|
+
'*': {
|
|
200
|
+
'*': {
|
|
201
|
+
'PutRequest': {
|
|
202
|
+
'Item': ALL_VALUES,
|
|
203
|
+
},
|
|
204
|
+
'DeleteRequest': {
|
|
205
|
+
'Key': ALL_VALUES,
|
|
206
|
+
},
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
};
|
|
211
|
+
outputKeyNodes = {
|
|
212
|
+
'UnprocessedItems': {
|
|
213
|
+
'*': {
|
|
214
|
+
'*': {
|
|
215
|
+
'PutRequest': {
|
|
216
|
+
'Item': ALL_VALUES,
|
|
217
|
+
},
|
|
218
|
+
'DeleteRequest': {
|
|
219
|
+
'Key': ALL_VALUES,
|
|
220
|
+
},
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
'ItemCollectionMetrics': {
|
|
225
|
+
'*': {
|
|
226
|
+
'*': {
|
|
227
|
+
'ItemCollectionKey': ALL_VALUES,
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
};
|
|
232
|
+
clientCommand;
|
|
233
|
+
middlewareStack;
|
|
234
|
+
constructor(input) {
|
|
235
|
+
super();
|
|
236
|
+
this.input = input;
|
|
237
|
+
this.clientCommand = new clientDynamodb.BatchWriteItemCommand(this.input);
|
|
238
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
239
|
+
}
|
|
240
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
241
|
+
this.addMarshallingMiddleware(configuration);
|
|
242
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
243
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
244
|
+
return async () => handler(this.clientCommand);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
class DeleteCommand extends DynamoDBDocumentClientCommand {
|
|
249
|
+
input;
|
|
250
|
+
inputKeyNodes = {
|
|
251
|
+
'Key': ALL_VALUES,
|
|
252
|
+
'Expected': {
|
|
253
|
+
'*': {
|
|
254
|
+
'Value': SELF,
|
|
255
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
259
|
+
};
|
|
260
|
+
outputKeyNodes = {
|
|
261
|
+
'Attributes': ALL_VALUES,
|
|
262
|
+
'ItemCollectionMetrics': {
|
|
263
|
+
'ItemCollectionKey': ALL_VALUES,
|
|
264
|
+
},
|
|
265
|
+
};
|
|
266
|
+
clientCommand;
|
|
267
|
+
middlewareStack;
|
|
268
|
+
constructor(input) {
|
|
269
|
+
super();
|
|
270
|
+
this.input = input;
|
|
271
|
+
this.clientCommand = new clientDynamodb.DeleteItemCommand(this.input);
|
|
272
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
273
|
+
}
|
|
274
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
275
|
+
this.addMarshallingMiddleware(configuration);
|
|
276
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
277
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
278
|
+
return async () => handler(this.clientCommand);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
283
|
+
input;
|
|
284
|
+
inputKeyNodes = {
|
|
285
|
+
'Parameters': ALL_MEMBERS,
|
|
286
|
+
};
|
|
287
|
+
outputKeyNodes = {
|
|
288
|
+
'Items': {
|
|
289
|
+
'*': ALL_VALUES
|
|
290
|
+
},
|
|
291
|
+
'LastEvaluatedKey': ALL_VALUES,
|
|
292
|
+
};
|
|
293
|
+
clientCommand;
|
|
294
|
+
middlewareStack;
|
|
295
|
+
constructor(input) {
|
|
296
|
+
super();
|
|
297
|
+
this.input = input;
|
|
298
|
+
this.clientCommand = new clientDynamodb.ExecuteStatementCommand(this.input);
|
|
299
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
300
|
+
}
|
|
301
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
302
|
+
this.addMarshallingMiddleware(configuration);
|
|
303
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
304
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
305
|
+
return async () => handler(this.clientCommand);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
|
|
310
|
+
input;
|
|
311
|
+
inputKeyNodes = {
|
|
312
|
+
'TransactStatements': {
|
|
313
|
+
'*': {
|
|
314
|
+
'Parameters': ALL_MEMBERS,
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
};
|
|
318
|
+
outputKeyNodes = {
|
|
319
|
+
'Responses': {
|
|
320
|
+
'*': {
|
|
321
|
+
'Item': ALL_VALUES,
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
};
|
|
325
|
+
clientCommand;
|
|
326
|
+
middlewareStack;
|
|
327
|
+
constructor(input) {
|
|
328
|
+
super();
|
|
329
|
+
this.input = input;
|
|
330
|
+
this.clientCommand = new clientDynamodb.ExecuteTransactionCommand(this.input);
|
|
331
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
332
|
+
}
|
|
333
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
334
|
+
this.addMarshallingMiddleware(configuration);
|
|
335
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
336
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
337
|
+
return async () => handler(this.clientCommand);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
class GetCommand extends DynamoDBDocumentClientCommand {
|
|
342
|
+
input;
|
|
343
|
+
inputKeyNodes = {
|
|
344
|
+
'Key': ALL_VALUES,
|
|
345
|
+
};
|
|
346
|
+
outputKeyNodes = {
|
|
347
|
+
'Item': ALL_VALUES,
|
|
348
|
+
};
|
|
349
|
+
clientCommand;
|
|
350
|
+
middlewareStack;
|
|
351
|
+
constructor(input) {
|
|
352
|
+
super();
|
|
353
|
+
this.input = input;
|
|
354
|
+
this.clientCommand = new clientDynamodb.GetItemCommand(this.input);
|
|
355
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
356
|
+
}
|
|
357
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
358
|
+
this.addMarshallingMiddleware(configuration);
|
|
359
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
360
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
361
|
+
return async () => handler(this.clientCommand);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
class PutCommand extends DynamoDBDocumentClientCommand {
|
|
366
|
+
input;
|
|
367
|
+
inputKeyNodes = {
|
|
368
|
+
'Item': ALL_VALUES,
|
|
369
|
+
'Expected': {
|
|
370
|
+
'*': {
|
|
371
|
+
'Value': SELF,
|
|
372
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
376
|
+
};
|
|
377
|
+
outputKeyNodes = {
|
|
378
|
+
'Attributes': ALL_VALUES,
|
|
379
|
+
'ItemCollectionMetrics': {
|
|
380
|
+
'ItemCollectionKey': ALL_VALUES,
|
|
381
|
+
},
|
|
382
|
+
};
|
|
383
|
+
clientCommand;
|
|
384
|
+
middlewareStack;
|
|
385
|
+
constructor(input) {
|
|
386
|
+
super();
|
|
387
|
+
this.input = input;
|
|
388
|
+
this.clientCommand = new clientDynamodb.PutItemCommand(this.input);
|
|
389
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
390
|
+
}
|
|
391
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
392
|
+
this.addMarshallingMiddleware(configuration);
|
|
393
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
394
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
395
|
+
return async () => handler(this.clientCommand);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
class QueryCommand extends DynamoDBDocumentClientCommand {
|
|
400
|
+
input;
|
|
401
|
+
inputKeyNodes = {
|
|
402
|
+
'KeyConditions': {
|
|
403
|
+
'*': {
|
|
404
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
'QueryFilter': {
|
|
408
|
+
'*': {
|
|
409
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
'ExclusiveStartKey': ALL_VALUES,
|
|
413
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
414
|
+
};
|
|
415
|
+
outputKeyNodes = {
|
|
416
|
+
'Items': {
|
|
417
|
+
'*': ALL_VALUES
|
|
418
|
+
},
|
|
419
|
+
'LastEvaluatedKey': ALL_VALUES,
|
|
420
|
+
};
|
|
421
|
+
clientCommand;
|
|
422
|
+
middlewareStack;
|
|
423
|
+
constructor(input) {
|
|
424
|
+
super();
|
|
425
|
+
this.input = input;
|
|
426
|
+
this.clientCommand = new clientDynamodb.QueryCommand(this.input);
|
|
427
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
428
|
+
}
|
|
429
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
430
|
+
this.addMarshallingMiddleware(configuration);
|
|
431
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
432
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
433
|
+
return async () => handler(this.clientCommand);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
class ScanCommand extends DynamoDBDocumentClientCommand {
|
|
438
|
+
input;
|
|
439
|
+
inputKeyNodes = {
|
|
440
|
+
'ScanFilter': {
|
|
441
|
+
'*': {
|
|
442
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
'ExclusiveStartKey': ALL_VALUES,
|
|
446
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
447
|
+
};
|
|
448
|
+
outputKeyNodes = {
|
|
449
|
+
'Items': {
|
|
450
|
+
'*': ALL_VALUES
|
|
451
|
+
},
|
|
452
|
+
'LastEvaluatedKey': ALL_VALUES,
|
|
453
|
+
};
|
|
454
|
+
clientCommand;
|
|
455
|
+
middlewareStack;
|
|
456
|
+
constructor(input) {
|
|
457
|
+
super();
|
|
458
|
+
this.input = input;
|
|
459
|
+
this.clientCommand = new clientDynamodb.ScanCommand(this.input);
|
|
460
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
461
|
+
}
|
|
462
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
463
|
+
this.addMarshallingMiddleware(configuration);
|
|
464
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
465
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
466
|
+
return async () => handler(this.clientCommand);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
class TransactGetCommand extends DynamoDBDocumentClientCommand {
|
|
471
|
+
input;
|
|
472
|
+
inputKeyNodes = {
|
|
473
|
+
'TransactItems': {
|
|
474
|
+
'*': {
|
|
475
|
+
'Get': {
|
|
476
|
+
'Key': ALL_VALUES,
|
|
477
|
+
},
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
};
|
|
481
|
+
outputKeyNodes = {
|
|
482
|
+
'Responses': {
|
|
483
|
+
'*': {
|
|
484
|
+
'Item': ALL_VALUES,
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
};
|
|
488
|
+
clientCommand;
|
|
489
|
+
middlewareStack;
|
|
490
|
+
constructor(input) {
|
|
491
|
+
super();
|
|
492
|
+
this.input = input;
|
|
493
|
+
this.clientCommand = new clientDynamodb.TransactGetItemsCommand(this.input);
|
|
494
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
495
|
+
}
|
|
496
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
497
|
+
this.addMarshallingMiddleware(configuration);
|
|
498
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
499
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
500
|
+
return async () => handler(this.clientCommand);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
class TransactWriteCommand extends DynamoDBDocumentClientCommand {
|
|
505
|
+
input;
|
|
506
|
+
inputKeyNodes = {
|
|
507
|
+
'TransactItems': {
|
|
508
|
+
'*': {
|
|
509
|
+
'ConditionCheck': {
|
|
510
|
+
'Key': ALL_VALUES,
|
|
511
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
512
|
+
},
|
|
513
|
+
'Put': {
|
|
514
|
+
'Item': ALL_VALUES,
|
|
515
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
516
|
+
},
|
|
517
|
+
'Delete': {
|
|
518
|
+
'Key': ALL_VALUES,
|
|
519
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
520
|
+
},
|
|
521
|
+
'Update': {
|
|
522
|
+
'Key': ALL_VALUES,
|
|
523
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
524
|
+
},
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
};
|
|
528
|
+
outputKeyNodes = {
|
|
529
|
+
'ItemCollectionMetrics': {
|
|
530
|
+
'*': {
|
|
531
|
+
'*': {
|
|
532
|
+
'ItemCollectionKey': ALL_VALUES,
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
};
|
|
537
|
+
clientCommand;
|
|
538
|
+
middlewareStack;
|
|
539
|
+
constructor(input) {
|
|
540
|
+
super();
|
|
541
|
+
this.input = input;
|
|
542
|
+
this.clientCommand = new clientDynamodb.TransactWriteItemsCommand(this.input);
|
|
543
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
544
|
+
}
|
|
545
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
546
|
+
this.addMarshallingMiddleware(configuration);
|
|
547
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
548
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
549
|
+
return async () => handler(this.clientCommand);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
class UpdateCommand extends DynamoDBDocumentClientCommand {
|
|
554
|
+
input;
|
|
555
|
+
inputKeyNodes = {
|
|
556
|
+
'Key': ALL_VALUES,
|
|
557
|
+
'AttributeUpdates': {
|
|
558
|
+
'*': {
|
|
559
|
+
'Value': SELF,
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
'Expected': {
|
|
563
|
+
'*': {
|
|
564
|
+
'Value': SELF,
|
|
565
|
+
'AttributeValueList': ALL_MEMBERS,
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
'ExpressionAttributeValues': ALL_VALUES,
|
|
569
|
+
};
|
|
570
|
+
outputKeyNodes = {
|
|
571
|
+
'Attributes': ALL_VALUES,
|
|
572
|
+
'ItemCollectionMetrics': {
|
|
573
|
+
'ItemCollectionKey': ALL_VALUES,
|
|
574
|
+
},
|
|
575
|
+
};
|
|
576
|
+
clientCommand;
|
|
577
|
+
middlewareStack;
|
|
578
|
+
constructor(input) {
|
|
579
|
+
super();
|
|
580
|
+
this.input = input;
|
|
581
|
+
this.clientCommand = new clientDynamodb.UpdateItemCommand(this.input);
|
|
582
|
+
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
583
|
+
}
|
|
584
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
585
|
+
this.addMarshallingMiddleware(configuration);
|
|
586
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
587
|
+
const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
|
|
588
|
+
return async () => handler(this.clientCommand);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
class DynamoDBDocumentClient extends smithyClient.Client {
|
|
593
|
+
config;
|
|
594
|
+
constructor(client, translateConfig) {
|
|
595
|
+
super(client.config);
|
|
596
|
+
this.config = client.config;
|
|
597
|
+
this.config.translateConfig = translateConfig;
|
|
598
|
+
this.middlewareStack = client.middlewareStack;
|
|
599
|
+
if (this.config?.cacheMiddleware) {
|
|
600
|
+
throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the"
|
|
601
|
+
+ " DynamoDBDocumentClient. This option must be set to false.");
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
static from(client, translateConfig) {
|
|
605
|
+
return new DynamoDBDocumentClient(client, translateConfig);
|
|
606
|
+
}
|
|
607
|
+
destroy() {
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
const paginateQuery = core$1.createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
612
|
+
|
|
613
|
+
const paginateScan = core$1.createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
614
|
+
|
|
615
|
+
class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
616
|
+
static from(client, translateConfig) {
|
|
617
|
+
return new DynamoDBDocument(client, translateConfig);
|
|
618
|
+
}
|
|
619
|
+
batchExecuteStatement(args, optionsOrCb, cb) {
|
|
620
|
+
const command = new BatchExecuteStatementCommand(args);
|
|
621
|
+
if (typeof optionsOrCb === "function") {
|
|
622
|
+
this.send(command, optionsOrCb);
|
|
623
|
+
}
|
|
624
|
+
else if (typeof cb === "function") {
|
|
625
|
+
if (typeof optionsOrCb !== "object") {
|
|
626
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
627
|
+
}
|
|
628
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
629
|
+
}
|
|
630
|
+
else {
|
|
631
|
+
return this.send(command, optionsOrCb);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
batchGet(args, optionsOrCb, cb) {
|
|
635
|
+
const command = new BatchGetCommand(args);
|
|
636
|
+
if (typeof optionsOrCb === "function") {
|
|
637
|
+
this.send(command, optionsOrCb);
|
|
638
|
+
}
|
|
639
|
+
else if (typeof cb === "function") {
|
|
640
|
+
if (typeof optionsOrCb !== "object") {
|
|
641
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
642
|
+
}
|
|
643
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
644
|
+
}
|
|
645
|
+
else {
|
|
646
|
+
return this.send(command, optionsOrCb);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
batchWrite(args, optionsOrCb, cb) {
|
|
650
|
+
const command = new BatchWriteCommand(args);
|
|
651
|
+
if (typeof optionsOrCb === "function") {
|
|
652
|
+
this.send(command, optionsOrCb);
|
|
653
|
+
}
|
|
654
|
+
else if (typeof cb === "function") {
|
|
655
|
+
if (typeof optionsOrCb !== "object") {
|
|
656
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
657
|
+
}
|
|
658
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
659
|
+
}
|
|
660
|
+
else {
|
|
661
|
+
return this.send(command, optionsOrCb);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
delete(args, optionsOrCb, cb) {
|
|
665
|
+
const command = new DeleteCommand(args);
|
|
666
|
+
if (typeof optionsOrCb === "function") {
|
|
667
|
+
this.send(command, optionsOrCb);
|
|
668
|
+
}
|
|
669
|
+
else if (typeof cb === "function") {
|
|
670
|
+
if (typeof optionsOrCb !== "object") {
|
|
671
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
672
|
+
}
|
|
673
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
674
|
+
}
|
|
675
|
+
else {
|
|
676
|
+
return this.send(command, optionsOrCb);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
executeStatement(args, optionsOrCb, cb) {
|
|
680
|
+
const command = new ExecuteStatementCommand(args);
|
|
681
|
+
if (typeof optionsOrCb === "function") {
|
|
682
|
+
this.send(command, optionsOrCb);
|
|
683
|
+
}
|
|
684
|
+
else if (typeof cb === "function") {
|
|
685
|
+
if (typeof optionsOrCb !== "object") {
|
|
686
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
687
|
+
}
|
|
688
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
689
|
+
}
|
|
690
|
+
else {
|
|
691
|
+
return this.send(command, optionsOrCb);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
executeTransaction(args, optionsOrCb, cb) {
|
|
695
|
+
const command = new ExecuteTransactionCommand(args);
|
|
696
|
+
if (typeof optionsOrCb === "function") {
|
|
697
|
+
this.send(command, optionsOrCb);
|
|
698
|
+
}
|
|
699
|
+
else if (typeof cb === "function") {
|
|
700
|
+
if (typeof optionsOrCb !== "object") {
|
|
701
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
702
|
+
}
|
|
703
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
704
|
+
}
|
|
705
|
+
else {
|
|
706
|
+
return this.send(command, optionsOrCb);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
get(args, optionsOrCb, cb) {
|
|
710
|
+
const command = new GetCommand(args);
|
|
711
|
+
if (typeof optionsOrCb === "function") {
|
|
712
|
+
this.send(command, optionsOrCb);
|
|
713
|
+
}
|
|
714
|
+
else if (typeof cb === "function") {
|
|
715
|
+
if (typeof optionsOrCb !== "object") {
|
|
716
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
717
|
+
}
|
|
718
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
return this.send(command, optionsOrCb);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
put(args, optionsOrCb, cb) {
|
|
725
|
+
const command = new PutCommand(args);
|
|
726
|
+
if (typeof optionsOrCb === "function") {
|
|
727
|
+
this.send(command, optionsOrCb);
|
|
728
|
+
}
|
|
729
|
+
else if (typeof cb === "function") {
|
|
730
|
+
if (typeof optionsOrCb !== "object") {
|
|
731
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
732
|
+
}
|
|
733
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
734
|
+
}
|
|
735
|
+
else {
|
|
736
|
+
return this.send(command, optionsOrCb);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
query(args, optionsOrCb, cb) {
|
|
740
|
+
const command = new QueryCommand(args);
|
|
741
|
+
if (typeof optionsOrCb === "function") {
|
|
742
|
+
this.send(command, optionsOrCb);
|
|
743
|
+
}
|
|
744
|
+
else if (typeof cb === "function") {
|
|
745
|
+
if (typeof optionsOrCb !== "object") {
|
|
746
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
747
|
+
}
|
|
748
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
749
|
+
}
|
|
750
|
+
else {
|
|
751
|
+
return this.send(command, optionsOrCb);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
scan(args, optionsOrCb, cb) {
|
|
755
|
+
const command = new ScanCommand(args);
|
|
756
|
+
if (typeof optionsOrCb === "function") {
|
|
757
|
+
this.send(command, optionsOrCb);
|
|
758
|
+
}
|
|
759
|
+
else if (typeof cb === "function") {
|
|
760
|
+
if (typeof optionsOrCb !== "object") {
|
|
761
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
762
|
+
}
|
|
763
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
return this.send(command, optionsOrCb);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
transactGet(args, optionsOrCb, cb) {
|
|
770
|
+
const command = new TransactGetCommand(args);
|
|
771
|
+
if (typeof optionsOrCb === "function") {
|
|
772
|
+
this.send(command, optionsOrCb);
|
|
773
|
+
}
|
|
774
|
+
else if (typeof cb === "function") {
|
|
775
|
+
if (typeof optionsOrCb !== "object") {
|
|
776
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
|
+
}
|
|
778
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
return this.send(command, optionsOrCb);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
transactWrite(args, optionsOrCb, cb) {
|
|
785
|
+
const command = new TransactWriteCommand(args);
|
|
786
|
+
if (typeof optionsOrCb === "function") {
|
|
787
|
+
this.send(command, optionsOrCb);
|
|
788
|
+
}
|
|
789
|
+
else if (typeof cb === "function") {
|
|
790
|
+
if (typeof optionsOrCb !== "object") {
|
|
791
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
792
|
+
}
|
|
793
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
794
|
+
}
|
|
795
|
+
else {
|
|
796
|
+
return this.send(command, optionsOrCb);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
update(args, optionsOrCb, cb) {
|
|
800
|
+
const command = new UpdateCommand(args);
|
|
801
|
+
if (typeof optionsOrCb === "function") {
|
|
802
|
+
this.send(command, optionsOrCb);
|
|
803
|
+
}
|
|
804
|
+
else if (typeof cb === "function") {
|
|
805
|
+
if (typeof optionsOrCb !== "object") {
|
|
806
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
807
|
+
}
|
|
808
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
809
|
+
}
|
|
810
|
+
else {
|
|
811
|
+
return this.send(command, optionsOrCb);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
exports.$Command = smithyClient.Command;
|
|
817
|
+
exports.__Client = smithyClient.Client;
|
|
818
|
+
exports.NumberValue = utilDynamodb.NumberValueImpl;
|
|
819
|
+
exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
|
|
820
|
+
exports.BatchGetCommand = BatchGetCommand;
|
|
821
|
+
exports.BatchWriteCommand = BatchWriteCommand;
|
|
822
|
+
exports.DeleteCommand = DeleteCommand;
|
|
823
|
+
exports.DynamoDBDocument = DynamoDBDocument;
|
|
824
|
+
exports.DynamoDBDocumentClient = DynamoDBDocumentClient;
|
|
825
|
+
exports.DynamoDBDocumentClientCommand = DynamoDBDocumentClientCommand;
|
|
826
|
+
exports.ExecuteStatementCommand = ExecuteStatementCommand;
|
|
827
|
+
exports.ExecuteTransactionCommand = ExecuteTransactionCommand;
|
|
828
|
+
exports.GetCommand = GetCommand;
|
|
829
|
+
exports.PutCommand = PutCommand;
|
|
830
|
+
exports.QueryCommand = QueryCommand;
|
|
831
|
+
exports.ScanCommand = ScanCommand;
|
|
832
|
+
exports.TransactGetCommand = TransactGetCommand;
|
|
833
|
+
exports.TransactWriteCommand = TransactWriteCommand;
|
|
834
|
+
exports.UpdateCommand = UpdateCommand;
|
|
835
|
+
exports.paginateQuery = paginateQuery;
|
|
836
|
+
exports.paginateScan = paginateScan;
|