@aws-sdk/client-dynamodb 3.210.0 → 3.212.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.
@@ -3061,10 +3061,8 @@ const serializeAws_json1_0AttributeUpdates = (input, context) => {
3061
3061
  if (value === null) {
3062
3062
  return acc;
3063
3063
  }
3064
- return {
3065
- ...acc,
3066
- [key]: serializeAws_json1_0AttributeValueUpdate(value, context),
3067
- };
3064
+ acc[key] = serializeAws_json1_0AttributeValueUpdate(value, context);
3065
+ return acc;
3068
3066
  }, {});
3069
3067
  };
3070
3068
  const serializeAws_json1_0AttributeValue = (input, context) => {
@@ -3141,10 +3139,8 @@ const serializeAws_json1_0BatchGetRequestMap = (input, context) => {
3141
3139
  if (value === null) {
3142
3140
  return acc;
3143
3141
  }
3144
- return {
3145
- ...acc,
3146
- [key]: serializeAws_json1_0KeysAndAttributes(value, context),
3147
- };
3142
+ acc[key] = serializeAws_json1_0KeysAndAttributes(value, context);
3143
+ return acc;
3148
3144
  }, {});
3149
3145
  };
3150
3146
  const serializeAws_json1_0BatchStatementRequest = (input, context) => {
@@ -3172,10 +3168,8 @@ const serializeAws_json1_0BatchWriteItemRequestMap = (input, context) => {
3172
3168
  if (value === null) {
3173
3169
  return acc;
3174
3170
  }
3175
- return {
3176
- ...acc,
3177
- [key]: serializeAws_json1_0WriteRequests(value, context),
3178
- };
3171
+ acc[key] = serializeAws_json1_0WriteRequests(value, context);
3172
+ return acc;
3179
3173
  }, {});
3180
3174
  };
3181
3175
  const serializeAws_json1_0BinarySetAttributeValue = (input, context) => {
@@ -3445,10 +3439,8 @@ const serializeAws_json1_0ExpectedAttributeMap = (input, context) => {
3445
3439
  if (value === null) {
3446
3440
  return acc;
3447
3441
  }
3448
- return {
3449
- ...acc,
3450
- [key]: serializeAws_json1_0ExpectedAttributeValue(value, context),
3451
- };
3442
+ acc[key] = serializeAws_json1_0ExpectedAttributeValue(value, context);
3443
+ return acc;
3452
3444
  }, {});
3453
3445
  };
3454
3446
  const serializeAws_json1_0ExpectedAttributeValue = (input, context) => {
@@ -3479,10 +3471,8 @@ const serializeAws_json1_0ExpressionAttributeNameMap = (input, context) => {
3479
3471
  if (value === null) {
3480
3472
  return acc;
3481
3473
  }
3482
- return {
3483
- ...acc,
3484
- [key]: value,
3485
- };
3474
+ acc[key] = value;
3475
+ return acc;
3486
3476
  }, {});
3487
3477
  };
3488
3478
  const serializeAws_json1_0ExpressionAttributeValueMap = (input, context) => {
@@ -3490,10 +3480,8 @@ const serializeAws_json1_0ExpressionAttributeValueMap = (input, context) => {
3490
3480
  if (value === null) {
3491
3481
  return acc;
3492
3482
  }
3493
- return {
3494
- ...acc,
3495
- [key]: serializeAws_json1_0AttributeValue(value, context),
3496
- };
3483
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3484
+ return acc;
3497
3485
  }, {});
3498
3486
  };
3499
3487
  const serializeAws_json1_0FilterConditionMap = (input, context) => {
@@ -3501,10 +3489,8 @@ const serializeAws_json1_0FilterConditionMap = (input, context) => {
3501
3489
  if (value === null) {
3502
3490
  return acc;
3503
3491
  }
3504
- return {
3505
- ...acc,
3506
- [key]: serializeAws_json1_0Condition(value, context),
3507
- };
3492
+ acc[key] = serializeAws_json1_0Condition(value, context);
3493
+ return acc;
3508
3494
  }, {});
3509
3495
  };
3510
3496
  const serializeAws_json1_0Get = (input, context) => {
@@ -3628,10 +3614,8 @@ const serializeAws_json1_0Key = (input, context) => {
3628
3614
  if (value === null) {
3629
3615
  return acc;
3630
3616
  }
3631
- return {
3632
- ...acc,
3633
- [key]: serializeAws_json1_0AttributeValue(value, context),
3634
- };
3617
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3618
+ return acc;
3635
3619
  }, {});
3636
3620
  };
3637
3621
  const serializeAws_json1_0KeyConditions = (input, context) => {
@@ -3639,10 +3623,8 @@ const serializeAws_json1_0KeyConditions = (input, context) => {
3639
3623
  if (value === null) {
3640
3624
  return acc;
3641
3625
  }
3642
- return {
3643
- ...acc,
3644
- [key]: serializeAws_json1_0Condition(value, context),
3645
- };
3626
+ acc[key] = serializeAws_json1_0Condition(value, context);
3627
+ return acc;
3646
3628
  }, {});
3647
3629
  };
3648
3630
  const serializeAws_json1_0KeyList = (input, context) => {
@@ -3766,10 +3748,8 @@ const serializeAws_json1_0MapAttributeValue = (input, context) => {
3766
3748
  if (value === null) {
3767
3749
  return acc;
3768
3750
  }
3769
- return {
3770
- ...acc,
3771
- [key]: serializeAws_json1_0AttributeValue(value, context),
3772
- };
3751
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3752
+ return acc;
3773
3753
  }, {});
3774
3754
  };
3775
3755
  const serializeAws_json1_0NonKeyAttributeNameList = (input, context) => {
@@ -3880,10 +3860,8 @@ const serializeAws_json1_0PutItemInputAttributeMap = (input, context) => {
3880
3860
  if (value === null) {
3881
3861
  return acc;
3882
3862
  }
3883
- return {
3884
- ...acc,
3885
- [key]: serializeAws_json1_0AttributeValue(value, context),
3886
- };
3863
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3864
+ return acc;
3887
3865
  }, {});
3888
3866
  };
3889
3867
  const serializeAws_json1_0PutRequest = (input, context) => {
@@ -4455,10 +4433,8 @@ const deserializeAws_json1_0AttributeMap = (output, context) => {
4455
4433
  if (value === null) {
4456
4434
  return acc;
4457
4435
  }
4458
- return {
4459
- ...acc,
4460
- [key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
4461
- };
4436
+ acc[key] = deserializeAws_json1_0AttributeValue(__expectUnion(value), context);
4437
+ return acc;
4462
4438
  }, {});
4463
4439
  };
4464
4440
  const deserializeAws_json1_0AttributeNameList = (output, context) => {
@@ -4644,10 +4620,8 @@ const deserializeAws_json1_0BatchGetRequestMap = (output, context) => {
4644
4620
  if (value === null) {
4645
4621
  return acc;
4646
4622
  }
4647
- return {
4648
- ...acc,
4649
- [key]: deserializeAws_json1_0KeysAndAttributes(value, context),
4650
- };
4623
+ acc[key] = deserializeAws_json1_0KeysAndAttributes(value, context);
4624
+ return acc;
4651
4625
  }, {});
4652
4626
  };
4653
4627
  const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
@@ -4655,10 +4629,8 @@ const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
4655
4629
  if (value === null) {
4656
4630
  return acc;
4657
4631
  }
4658
- return {
4659
- ...acc,
4660
- [key]: deserializeAws_json1_0ItemList(value, context),
4661
- };
4632
+ acc[key] = deserializeAws_json1_0ItemList(value, context);
4633
+ return acc;
4662
4634
  }, {});
4663
4635
  };
4664
4636
  const deserializeAws_json1_0BatchStatementError = (output, context) => {
@@ -4692,10 +4664,8 @@ const deserializeAws_json1_0BatchWriteItemRequestMap = (output, context) => {
4692
4664
  if (value === null) {
4693
4665
  return acc;
4694
4666
  }
4695
- return {
4696
- ...acc,
4697
- [key]: deserializeAws_json1_0WriteRequests(value, context),
4698
- };
4667
+ acc[key] = deserializeAws_json1_0WriteRequests(value, context);
4668
+ return acc;
4699
4669
  }, {});
4700
4670
  };
4701
4671
  const deserializeAws_json1_0BillingModeSummary = (output, context) => {
@@ -5082,10 +5052,8 @@ const deserializeAws_json1_0ExpressionAttributeNameMap = (output, context) => {
5082
5052
  if (value === null) {
5083
5053
  return acc;
5084
5054
  }
5085
- return {
5086
- ...acc,
5087
- [key]: __expectString(value),
5088
- };
5055
+ acc[key] = __expectString(value);
5056
+ return acc;
5089
5057
  }, {});
5090
5058
  };
5091
5059
  const deserializeAws_json1_0FailureException = (output, context) => {
@@ -5317,10 +5285,8 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) =>
5317
5285
  if (value === null) {
5318
5286
  return acc;
5319
5287
  }
5320
- return {
5321
- ...acc,
5322
- [key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
5323
- };
5288
+ acc[key] = deserializeAws_json1_0AttributeValue(__expectUnion(value), context);
5289
+ return acc;
5324
5290
  }, {});
5325
5291
  };
5326
5292
  const deserializeAws_json1_0ItemCollectionMetrics = (output, context) => {
@@ -5349,10 +5315,8 @@ const deserializeAws_json1_0ItemCollectionMetricsPerTable = (output, context) =>
5349
5315
  if (value === null) {
5350
5316
  return acc;
5351
5317
  }
5352
- return {
5353
- ...acc,
5354
- [key]: deserializeAws_json1_0ItemCollectionMetricsMultiple(value, context),
5355
- };
5318
+ acc[key] = deserializeAws_json1_0ItemCollectionMetricsMultiple(value, context);
5319
+ return acc;
5356
5320
  }, {});
5357
5321
  };
5358
5322
  const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output, context) => {
@@ -5403,10 +5367,8 @@ const deserializeAws_json1_0Key = (output, context) => {
5403
5367
  if (value === null) {
5404
5368
  return acc;
5405
5369
  }
5406
- return {
5407
- ...acc,
5408
- [key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
5409
- };
5370
+ acc[key] = deserializeAws_json1_0AttributeValue(__expectUnion(value), context);
5371
+ return acc;
5410
5372
  }, {});
5411
5373
  };
5412
5374
  const deserializeAws_json1_0KeyList = (output, context) => {
@@ -5585,10 +5547,8 @@ const deserializeAws_json1_0MapAttributeValue = (output, context) => {
5585
5547
  if (value === null) {
5586
5548
  return acc;
5587
5549
  }
5588
- return {
5589
- ...acc,
5590
- [key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
5591
- };
5550
+ acc[key] = deserializeAws_json1_0AttributeValue(__expectUnion(value), context);
5551
+ return acc;
5592
5552
  }, {});
5593
5553
  };
5594
5554
  const deserializeAws_json1_0NonKeyAttributeNameList = (output, context) => {
@@ -5682,10 +5642,8 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
5682
5642
  if (value === null) {
5683
5643
  return acc;
5684
5644
  }
5685
- return {
5686
- ...acc,
5687
- [key]: deserializeAws_json1_0AttributeValue(__expectUnion(value), context),
5688
- };
5645
+ acc[key] = deserializeAws_json1_0AttributeValue(__expectUnion(value), context);
5646
+ return acc;
5689
5647
  }, {});
5690
5648
  };
5691
5649
  const deserializeAws_json1_0PutItemOutput = (output, context) => {
@@ -5962,10 +5920,8 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
5962
5920
  if (value === null) {
5963
5921
  return acc;
5964
5922
  }
5965
- return {
5966
- ...acc,
5967
- [key]: deserializeAws_json1_0Capacity(value, context),
5968
- };
5923
+ acc[key] = deserializeAws_json1_0Capacity(value, context);
5924
+ return acc;
5969
5925
  }, {});
5970
5926
  };
5971
5927
  const deserializeAws_json1_0SourceTableDetails = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.210.0",
4
+ "version": "3.212.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,40 +19,40 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.210.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.210.0",
25
- "@aws-sdk/fetch-http-handler": "3.208.0",
26
- "@aws-sdk/hash-node": "3.208.0",
27
- "@aws-sdk/invalid-dependency": "3.208.0",
28
- "@aws-sdk/middleware-content-length": "3.208.0",
29
- "@aws-sdk/middleware-endpoint": "3.208.0",
30
- "@aws-sdk/middleware-endpoint-discovery": "3.209.0",
31
- "@aws-sdk/middleware-host-header": "3.208.0",
32
- "@aws-sdk/middleware-logger": "3.208.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
34
- "@aws-sdk/middleware-retry": "3.209.0",
35
- "@aws-sdk/middleware-serde": "3.208.0",
36
- "@aws-sdk/middleware-signing": "3.208.0",
37
- "@aws-sdk/middleware-stack": "3.208.0",
38
- "@aws-sdk/middleware-user-agent": "3.208.0",
39
- "@aws-sdk/node-config-provider": "3.209.0",
40
- "@aws-sdk/node-http-handler": "3.208.0",
41
- "@aws-sdk/protocol-http": "3.208.0",
42
- "@aws-sdk/smithy-client": "3.209.0",
43
- "@aws-sdk/types": "3.208.0",
44
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.212.0",
23
+ "@aws-sdk/config-resolver": "3.212.0",
24
+ "@aws-sdk/credential-provider-node": "3.212.0",
25
+ "@aws-sdk/fetch-http-handler": "3.212.0",
26
+ "@aws-sdk/hash-node": "3.212.0",
27
+ "@aws-sdk/invalid-dependency": "3.212.0",
28
+ "@aws-sdk/middleware-content-length": "3.212.0",
29
+ "@aws-sdk/middleware-endpoint": "3.212.0",
30
+ "@aws-sdk/middleware-endpoint-discovery": "3.212.0",
31
+ "@aws-sdk/middleware-host-header": "3.212.0",
32
+ "@aws-sdk/middleware-logger": "3.212.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
34
+ "@aws-sdk/middleware-retry": "3.212.0",
35
+ "@aws-sdk/middleware-serde": "3.212.0",
36
+ "@aws-sdk/middleware-signing": "3.212.0",
37
+ "@aws-sdk/middleware-stack": "3.212.0",
38
+ "@aws-sdk/middleware-user-agent": "3.212.0",
39
+ "@aws-sdk/node-config-provider": "3.212.0",
40
+ "@aws-sdk/node-http-handler": "3.212.0",
41
+ "@aws-sdk/protocol-http": "3.212.0",
42
+ "@aws-sdk/smithy-client": "3.212.0",
43
+ "@aws-sdk/types": "3.212.0",
44
+ "@aws-sdk/url-parser": "3.212.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
50
- "@aws-sdk/util-endpoints": "3.210.0",
51
- "@aws-sdk/util-user-agent-browser": "3.208.0",
52
- "@aws-sdk/util-user-agent-node": "3.209.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
50
+ "@aws-sdk/util-endpoints": "3.212.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
52
+ "@aws-sdk/util-user-agent-node": "3.212.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
54
  "@aws-sdk/util-utf8-node": "3.208.0",
55
- "@aws-sdk/util-waiter": "3.208.0",
55
+ "@aws-sdk/util-waiter": "3.212.0",
56
56
  "tslib": "^2.3.1",
57
57
  "uuid": "^8.3.2"
58
58
  },