@aws-sdk/lib-dynamodb 3.972.0 → 3.975.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.
Files changed (53) hide show
  1. package/dist-cjs/index.js +155 -155
  2. package/dist-es/DynamoDBDocumentClient.js +2 -2
  3. package/dist-es/commands/BatchExecuteStatementCommand.js +11 -11
  4. package/dist-es/commands/BatchGetCommand.js +15 -15
  5. package/dist-es/commands/BatchWriteCommand.js +25 -25
  6. package/dist-es/commands/DeleteCommand.js +11 -11
  7. package/dist-es/commands/ExecuteStatementCommand.js +5 -5
  8. package/dist-es/commands/ExecuteTransactionCommand.js +9 -9
  9. package/dist-es/commands/GetCommand.js +3 -3
  10. package/dist-es/commands/PutCommand.js +11 -11
  11. package/dist-es/commands/QueryCommand.js +14 -14
  12. package/dist-es/commands/ScanCommand.js +10 -10
  13. package/dist-es/commands/TransactGetCommand.js +10 -10
  14. package/dist-es/commands/TransactWriteCommand.js +22 -22
  15. package/dist-es/commands/UpdateCommand.js +15 -15
  16. package/dist-es/commands/index.js +13 -13
  17. package/dist-es/index.js +4 -4
  18. package/dist-es/pagination/index.js +3 -3
  19. package/dist-types/DynamoDBDocument.d.ts +1 -1
  20. package/dist-types/DynamoDBDocumentClient.d.ts +2 -2
  21. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +10 -10
  22. package/dist-types/commands/BatchGetCommand.d.ts +14 -14
  23. package/dist-types/commands/BatchWriteCommand.d.ts +20 -20
  24. package/dist-types/commands/DeleteCommand.d.ts +8 -8
  25. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -6
  26. package/dist-types/commands/ExecuteTransactionCommand.d.ts +8 -8
  27. package/dist-types/commands/GetCommand.d.ts +3 -3
  28. package/dist-types/commands/PutCommand.d.ts +8 -8
  29. package/dist-types/commands/QueryCommand.d.ts +11 -11
  30. package/dist-types/commands/ScanCommand.d.ts +8 -8
  31. package/dist-types/commands/TransactGetCommand.d.ts +9 -9
  32. package/dist-types/commands/TransactWriteCommand.d.ts +16 -16
  33. package/dist-types/commands/UpdateCommand.d.ts +10 -10
  34. package/dist-types/commands/index.d.ts +13 -13
  35. package/dist-types/index.d.ts +4 -4
  36. package/dist-types/pagination/index.d.ts +3 -3
  37. package/dist-types/ts3.4/DynamoDBDocument.d.ts +1 -1
  38. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +7 -7
  39. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/PutCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ScanCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/index.d.ts +2 -2
  53. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var clientDynamodb = require('@aws-sdk/client-dynamodb');
4
3
  var smithyClient = require('@smithy/smithy-client');
5
4
  var core = require('@aws-sdk/core');
6
5
  var utilDynamodb = require('@aws-sdk/util-dynamodb');
6
+ var clientDynamodb = require('@aws-sdk/client-dynamodb');
7
7
  var core$1 = require('@smithy/core');
8
8
 
9
9
  const SELF = null;
@@ -119,20 +119,20 @@ class DynamoDBDocumentClientCommand extends smithyClient.Command {
119
119
  class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
120
120
  input;
121
121
  inputKeyNodes = {
122
- Statements: {
123
- "*": {
124
- Parameters: ALL_MEMBERS,
125
- },
122
+ 'Statements': {
123
+ '*': {
124
+ 'Parameters': ALL_MEMBERS,
125
+ }
126
126
  },
127
127
  };
128
128
  outputKeyNodes = {
129
- Responses: {
130
- "*": {
131
- Error: {
132
- Item: ALL_VALUES,
129
+ 'Responses': {
130
+ '*': {
131
+ 'Error': {
132
+ 'Item': ALL_VALUES,
133
133
  },
134
- Item: ALL_VALUES,
135
- },
134
+ 'Item': ALL_VALUES,
135
+ }
136
136
  },
137
137
  };
138
138
  clientCommand;
@@ -154,26 +154,26 @@ class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
154
154
  class BatchGetCommand extends DynamoDBDocumentClientCommand {
155
155
  input;
156
156
  inputKeyNodes = {
157
- RequestItems: {
158
- "*": {
159
- Keys: {
160
- "*": ALL_VALUES,
157
+ 'RequestItems': {
158
+ '*': {
159
+ 'Keys': {
160
+ '*': ALL_VALUES
161
161
  },
162
- },
162
+ }
163
163
  },
164
164
  };
165
165
  outputKeyNodes = {
166
- Responses: {
167
- "*": {
168
- "*": ALL_VALUES,
169
- },
166
+ 'Responses': {
167
+ '*': {
168
+ '*': ALL_VALUES
169
+ }
170
170
  },
171
- UnprocessedKeys: {
172
- "*": {
173
- Keys: {
174
- "*": ALL_VALUES,
171
+ 'UnprocessedKeys': {
172
+ '*': {
173
+ 'Keys': {
174
+ '*': ALL_VALUES
175
175
  },
176
- },
176
+ }
177
177
  },
178
178
  };
179
179
  clientCommand;
@@ -195,38 +195,38 @@ class BatchGetCommand extends DynamoDBDocumentClientCommand {
195
195
  class BatchWriteCommand extends DynamoDBDocumentClientCommand {
196
196
  input;
197
197
  inputKeyNodes = {
198
- RequestItems: {
199
- "*": {
200
- "*": {
201
- PutRequest: {
202
- Item: ALL_VALUES,
198
+ 'RequestItems': {
199
+ '*': {
200
+ '*': {
201
+ 'PutRequest': {
202
+ 'Item': ALL_VALUES,
203
203
  },
204
- DeleteRequest: {
205
- Key: ALL_VALUES,
204
+ 'DeleteRequest': {
205
+ 'Key': ALL_VALUES,
206
206
  },
207
- },
208
- },
207
+ }
208
+ }
209
209
  },
210
210
  };
211
211
  outputKeyNodes = {
212
- UnprocessedItems: {
213
- "*": {
214
- "*": {
215
- PutRequest: {
216
- Item: ALL_VALUES,
212
+ 'UnprocessedItems': {
213
+ '*': {
214
+ '*': {
215
+ 'PutRequest': {
216
+ 'Item': ALL_VALUES,
217
217
  },
218
- DeleteRequest: {
219
- Key: ALL_VALUES,
218
+ 'DeleteRequest': {
219
+ 'Key': ALL_VALUES,
220
220
  },
221
- },
222
- },
221
+ }
222
+ }
223
223
  },
224
- ItemCollectionMetrics: {
225
- "*": {
226
- "*": {
227
- ItemCollectionKey: ALL_VALUES,
228
- },
229
- },
224
+ 'ItemCollectionMetrics': {
225
+ '*': {
226
+ '*': {
227
+ 'ItemCollectionKey': ALL_VALUES,
228
+ }
229
+ }
230
230
  },
231
231
  };
232
232
  clientCommand;
@@ -248,19 +248,19 @@ class BatchWriteCommand extends DynamoDBDocumentClientCommand {
248
248
  class DeleteCommand extends DynamoDBDocumentClientCommand {
249
249
  input;
250
250
  inputKeyNodes = {
251
- Key: ALL_VALUES,
252
- Expected: {
253
- "*": {
254
- Value: SELF,
255
- AttributeValueList: ALL_MEMBERS,
256
- },
251
+ 'Key': ALL_VALUES,
252
+ 'Expected': {
253
+ '*': {
254
+ 'Value': SELF,
255
+ 'AttributeValueList': ALL_MEMBERS,
256
+ }
257
257
  },
258
- ExpressionAttributeValues: ALL_VALUES,
258
+ 'ExpressionAttributeValues': ALL_VALUES,
259
259
  };
260
260
  outputKeyNodes = {
261
- Attributes: ALL_VALUES,
262
- ItemCollectionMetrics: {
263
- ItemCollectionKey: ALL_VALUES,
261
+ 'Attributes': ALL_VALUES,
262
+ 'ItemCollectionMetrics': {
263
+ 'ItemCollectionKey': ALL_VALUES,
264
264
  },
265
265
  };
266
266
  clientCommand;
@@ -282,13 +282,13 @@ class DeleteCommand extends DynamoDBDocumentClientCommand {
282
282
  class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
283
283
  input;
284
284
  inputKeyNodes = {
285
- Parameters: ALL_MEMBERS,
285
+ 'Parameters': ALL_MEMBERS,
286
286
  };
287
287
  outputKeyNodes = {
288
- Items: {
289
- "*": ALL_VALUES,
288
+ 'Items': {
289
+ '*': ALL_VALUES
290
290
  },
291
- LastEvaluatedKey: ALL_VALUES,
291
+ 'LastEvaluatedKey': ALL_VALUES,
292
292
  };
293
293
  clientCommand;
294
294
  middlewareStack;
@@ -309,17 +309,17 @@ class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
309
309
  class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
310
310
  input;
311
311
  inputKeyNodes = {
312
- TransactStatements: {
313
- "*": {
314
- Parameters: ALL_MEMBERS,
315
- },
312
+ 'TransactStatements': {
313
+ '*': {
314
+ 'Parameters': ALL_MEMBERS,
315
+ }
316
316
  },
317
317
  };
318
318
  outputKeyNodes = {
319
- Responses: {
320
- "*": {
321
- Item: ALL_VALUES,
322
- },
319
+ 'Responses': {
320
+ '*': {
321
+ 'Item': ALL_VALUES,
322
+ }
323
323
  },
324
324
  };
325
325
  clientCommand;
@@ -341,10 +341,10 @@ class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
341
341
  class GetCommand extends DynamoDBDocumentClientCommand {
342
342
  input;
343
343
  inputKeyNodes = {
344
- Key: ALL_VALUES,
344
+ 'Key': ALL_VALUES,
345
345
  };
346
346
  outputKeyNodes = {
347
- Item: ALL_VALUES,
347
+ 'Item': ALL_VALUES,
348
348
  };
349
349
  clientCommand;
350
350
  middlewareStack;
@@ -365,19 +365,19 @@ class GetCommand extends DynamoDBDocumentClientCommand {
365
365
  class PutCommand extends DynamoDBDocumentClientCommand {
366
366
  input;
367
367
  inputKeyNodes = {
368
- Item: ALL_VALUES,
369
- Expected: {
370
- "*": {
371
- Value: SELF,
372
- AttributeValueList: ALL_MEMBERS,
373
- },
368
+ 'Item': ALL_VALUES,
369
+ 'Expected': {
370
+ '*': {
371
+ 'Value': SELF,
372
+ 'AttributeValueList': ALL_MEMBERS,
373
+ }
374
374
  },
375
- ExpressionAttributeValues: ALL_VALUES,
375
+ 'ExpressionAttributeValues': ALL_VALUES,
376
376
  };
377
377
  outputKeyNodes = {
378
- Attributes: ALL_VALUES,
379
- ItemCollectionMetrics: {
380
- ItemCollectionKey: ALL_VALUES,
378
+ 'Attributes': ALL_VALUES,
379
+ 'ItemCollectionMetrics': {
380
+ 'ItemCollectionKey': ALL_VALUES,
381
381
  },
382
382
  };
383
383
  clientCommand;
@@ -399,24 +399,24 @@ class PutCommand extends DynamoDBDocumentClientCommand {
399
399
  class QueryCommand extends DynamoDBDocumentClientCommand {
400
400
  input;
401
401
  inputKeyNodes = {
402
- KeyConditions: {
403
- "*": {
404
- AttributeValueList: ALL_MEMBERS,
405
- },
402
+ 'KeyConditions': {
403
+ '*': {
404
+ 'AttributeValueList': ALL_MEMBERS,
405
+ }
406
406
  },
407
- QueryFilter: {
408
- "*": {
409
- AttributeValueList: ALL_MEMBERS,
410
- },
407
+ 'QueryFilter': {
408
+ '*': {
409
+ 'AttributeValueList': ALL_MEMBERS,
410
+ }
411
411
  },
412
- ExclusiveStartKey: ALL_VALUES,
413
- ExpressionAttributeValues: ALL_VALUES,
412
+ 'ExclusiveStartKey': ALL_VALUES,
413
+ 'ExpressionAttributeValues': ALL_VALUES,
414
414
  };
415
415
  outputKeyNodes = {
416
- Items: {
417
- "*": ALL_VALUES,
416
+ 'Items': {
417
+ '*': ALL_VALUES
418
418
  },
419
- LastEvaluatedKey: ALL_VALUES,
419
+ 'LastEvaluatedKey': ALL_VALUES,
420
420
  };
421
421
  clientCommand;
422
422
  middlewareStack;
@@ -437,19 +437,19 @@ class QueryCommand extends DynamoDBDocumentClientCommand {
437
437
  class ScanCommand extends DynamoDBDocumentClientCommand {
438
438
  input;
439
439
  inputKeyNodes = {
440
- ScanFilter: {
441
- "*": {
442
- AttributeValueList: ALL_MEMBERS,
443
- },
440
+ 'ScanFilter': {
441
+ '*': {
442
+ 'AttributeValueList': ALL_MEMBERS,
443
+ }
444
444
  },
445
- ExclusiveStartKey: ALL_VALUES,
446
- ExpressionAttributeValues: ALL_VALUES,
445
+ 'ExclusiveStartKey': ALL_VALUES,
446
+ 'ExpressionAttributeValues': ALL_VALUES,
447
447
  };
448
448
  outputKeyNodes = {
449
- Items: {
450
- "*": ALL_VALUES,
449
+ 'Items': {
450
+ '*': ALL_VALUES
451
451
  },
452
- LastEvaluatedKey: ALL_VALUES,
452
+ 'LastEvaluatedKey': ALL_VALUES,
453
453
  };
454
454
  clientCommand;
455
455
  middlewareStack;
@@ -470,19 +470,19 @@ class ScanCommand extends DynamoDBDocumentClientCommand {
470
470
  class TransactGetCommand extends DynamoDBDocumentClientCommand {
471
471
  input;
472
472
  inputKeyNodes = {
473
- TransactItems: {
474
- "*": {
475
- Get: {
476
- Key: ALL_VALUES,
473
+ 'TransactItems': {
474
+ '*': {
475
+ 'Get': {
476
+ 'Key': ALL_VALUES,
477
477
  },
478
- },
478
+ }
479
479
  },
480
480
  };
481
481
  outputKeyNodes = {
482
- Responses: {
483
- "*": {
484
- Item: ALL_VALUES,
485
- },
482
+ 'Responses': {
483
+ '*': {
484
+ 'Item': ALL_VALUES,
485
+ }
486
486
  },
487
487
  };
488
488
  clientCommand;
@@ -504,34 +504,34 @@ class TransactGetCommand extends DynamoDBDocumentClientCommand {
504
504
  class TransactWriteCommand extends DynamoDBDocumentClientCommand {
505
505
  input;
506
506
  inputKeyNodes = {
507
- TransactItems: {
508
- "*": {
509
- ConditionCheck: {
510
- Key: ALL_VALUES,
511
- ExpressionAttributeValues: ALL_VALUES,
507
+ 'TransactItems': {
508
+ '*': {
509
+ 'ConditionCheck': {
510
+ 'Key': ALL_VALUES,
511
+ 'ExpressionAttributeValues': ALL_VALUES,
512
512
  },
513
- Put: {
514
- Item: ALL_VALUES,
515
- ExpressionAttributeValues: ALL_VALUES,
513
+ 'Put': {
514
+ 'Item': ALL_VALUES,
515
+ 'ExpressionAttributeValues': ALL_VALUES,
516
516
  },
517
- Delete: {
518
- Key: ALL_VALUES,
519
- ExpressionAttributeValues: ALL_VALUES,
517
+ 'Delete': {
518
+ 'Key': ALL_VALUES,
519
+ 'ExpressionAttributeValues': ALL_VALUES,
520
520
  },
521
- Update: {
522
- Key: ALL_VALUES,
523
- ExpressionAttributeValues: ALL_VALUES,
521
+ 'Update': {
522
+ 'Key': ALL_VALUES,
523
+ 'ExpressionAttributeValues': ALL_VALUES,
524
524
  },
525
- },
525
+ }
526
526
  },
527
527
  };
528
528
  outputKeyNodes = {
529
- ItemCollectionMetrics: {
530
- "*": {
531
- "*": {
532
- ItemCollectionKey: ALL_VALUES,
533
- },
534
- },
529
+ 'ItemCollectionMetrics': {
530
+ '*': {
531
+ '*': {
532
+ 'ItemCollectionKey': ALL_VALUES,
533
+ }
534
+ }
535
535
  },
536
536
  };
537
537
  clientCommand;
@@ -553,24 +553,24 @@ class TransactWriteCommand extends DynamoDBDocumentClientCommand {
553
553
  class UpdateCommand extends DynamoDBDocumentClientCommand {
554
554
  input;
555
555
  inputKeyNodes = {
556
- Key: ALL_VALUES,
557
- AttributeUpdates: {
558
- "*": {
559
- Value: SELF,
560
- },
556
+ 'Key': ALL_VALUES,
557
+ 'AttributeUpdates': {
558
+ '*': {
559
+ 'Value': SELF,
560
+ }
561
561
  },
562
- Expected: {
563
- "*": {
564
- Value: SELF,
565
- AttributeValueList: ALL_MEMBERS,
566
- },
562
+ 'Expected': {
563
+ '*': {
564
+ 'Value': SELF,
565
+ 'AttributeValueList': ALL_MEMBERS,
566
+ }
567
567
  },
568
- ExpressionAttributeValues: ALL_VALUES,
568
+ 'ExpressionAttributeValues': ALL_VALUES,
569
569
  };
570
570
  outputKeyNodes = {
571
- Attributes: ALL_VALUES,
572
- ItemCollectionMetrics: {
573
- ItemCollectionKey: ALL_VALUES,
571
+ 'Attributes': ALL_VALUES,
572
+ 'ItemCollectionMetrics': {
573
+ 'ItemCollectionKey': ALL_VALUES,
574
574
  },
575
575
  };
576
576
  clientCommand;
@@ -597,8 +597,8 @@ class DynamoDBDocumentClient extends smithyClient.Client {
597
597
  this.config.translateConfig = translateConfig;
598
598
  this.middlewareStack = client.middlewareStack;
599
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.");
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
602
  }
603
603
  }
604
604
  static from(client, translateConfig) {
@@ -608,6 +608,10 @@ class DynamoDBDocumentClient extends smithyClient.Client {
608
608
  }
609
609
  }
610
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
+
611
615
  class DynamoDBDocument extends DynamoDBDocumentClient {
612
616
  static from(client, translateConfig) {
613
617
  return new DynamoDBDocument(client, translateConfig);
@@ -809,10 +813,6 @@ class DynamoDBDocument extends DynamoDBDocumentClient {
809
813
  }
810
814
  }
811
815
 
812
- const paginateQuery = core$1.createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
813
-
814
- const paginateScan = core$1.createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
815
-
816
816
  Object.defineProperty(exports, "$Command", {
817
817
  enumerable: true,
818
818
  get: function () { return smithyClient.Command; }
@@ -8,8 +8,8 @@ export class DynamoDBDocumentClient extends __Client {
8
8
  this.config.translateConfig = translateConfig;
9
9
  this.middlewareStack = client.middlewareStack;
10
10
  if (this.config?.cacheMiddleware) {
11
- throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the" +
12
- " DynamoDBDocumentClient. This option must be set to false.");
11
+ throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the"
12
+ + " DynamoDBDocumentClient. This option must be set to false.");
13
13
  }
14
14
  }
15
15
  static from(client, translateConfig) {
@@ -1,25 +1,25 @@
1
- import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- Statements: {
10
- "*": {
11
- Parameters: ALL_MEMBERS,
12
- },
9
+ 'Statements': {
10
+ '*': {
11
+ 'Parameters': ALL_MEMBERS,
12
+ }
13
13
  },
14
14
  };
15
15
  outputKeyNodes = {
16
- Responses: {
17
- "*": {
18
- Error: {
19
- Item: ALL_VALUES,
16
+ 'Responses': {
17
+ '*': {
18
+ 'Error': {
19
+ 'Item': ALL_VALUES,
20
20
  },
21
- Item: ALL_VALUES,
22
- },
21
+ 'Item': ALL_VALUES,
22
+ }
23
23
  },
24
24
  };
25
25
  clientCommand;
@@ -1,31 +1,31 @@
1
- import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchGetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- RequestItems: {
10
- "*": {
11
- Keys: {
12
- "*": ALL_VALUES,
9
+ 'RequestItems': {
10
+ '*': {
11
+ 'Keys': {
12
+ '*': ALL_VALUES
13
13
  },
14
- },
14
+ }
15
15
  },
16
16
  };
17
17
  outputKeyNodes = {
18
- Responses: {
19
- "*": {
20
- "*": ALL_VALUES,
21
- },
18
+ 'Responses': {
19
+ '*': {
20
+ '*': ALL_VALUES
21
+ }
22
22
  },
23
- UnprocessedKeys: {
24
- "*": {
25
- Keys: {
26
- "*": ALL_VALUES,
23
+ 'UnprocessedKeys': {
24
+ '*': {
25
+ 'Keys': {
26
+ '*': ALL_VALUES
27
27
  },
28
- },
28
+ }
29
29
  },
30
30
  };
31
31
  clientCommand;
@@ -1,43 +1,43 @@
1
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- RequestItems: {
10
- "*": {
11
- "*": {
12
- PutRequest: {
13
- Item: ALL_VALUES,
9
+ 'RequestItems': {
10
+ '*': {
11
+ '*': {
12
+ 'PutRequest': {
13
+ 'Item': ALL_VALUES,
14
14
  },
15
- DeleteRequest: {
16
- Key: ALL_VALUES,
15
+ 'DeleteRequest': {
16
+ 'Key': ALL_VALUES,
17
17
  },
18
- },
19
- },
18
+ }
19
+ }
20
20
  },
21
21
  };
22
22
  outputKeyNodes = {
23
- UnprocessedItems: {
24
- "*": {
25
- "*": {
26
- PutRequest: {
27
- Item: ALL_VALUES,
23
+ 'UnprocessedItems': {
24
+ '*': {
25
+ '*': {
26
+ 'PutRequest': {
27
+ 'Item': ALL_VALUES,
28
28
  },
29
- DeleteRequest: {
30
- Key: ALL_VALUES,
29
+ 'DeleteRequest': {
30
+ 'Key': ALL_VALUES,
31
31
  },
32
- },
33
- },
32
+ }
33
+ }
34
34
  },
35
- ItemCollectionMetrics: {
36
- "*": {
37
- "*": {
38
- ItemCollectionKey: ALL_VALUES,
39
- },
40
- },
35
+ 'ItemCollectionMetrics': {
36
+ '*': {
37
+ '*': {
38
+ 'ItemCollectionKey': ALL_VALUES,
39
+ }
40
+ }
41
41
  },
42
42
  };
43
43
  clientCommand;