@aws-sdk/client-dynamodb 3.211.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.
@@ -3172,10 +3172,8 @@ const serializeAws_json1_0AttributeUpdates = (input, context) => {
3172
3172
  if (value === null) {
3173
3173
  return acc;
3174
3174
  }
3175
- return {
3176
- ...acc,
3177
- [key]: serializeAws_json1_0AttributeValueUpdate(value, context),
3178
- };
3175
+ acc[key] = serializeAws_json1_0AttributeValueUpdate(value, context);
3176
+ return acc;
3179
3177
  }, {});
3180
3178
  };
3181
3179
  const serializeAws_json1_0AttributeValue = (input, context) => {
@@ -3252,10 +3250,8 @@ const serializeAws_json1_0BatchGetRequestMap = (input, context) => {
3252
3250
  if (value === null) {
3253
3251
  return acc;
3254
3252
  }
3255
- return {
3256
- ...acc,
3257
- [key]: serializeAws_json1_0KeysAndAttributes(value, context),
3258
- };
3253
+ acc[key] = serializeAws_json1_0KeysAndAttributes(value, context);
3254
+ return acc;
3259
3255
  }, {});
3260
3256
  };
3261
3257
  const serializeAws_json1_0BatchStatementRequest = (input, context) => {
@@ -3283,10 +3279,8 @@ const serializeAws_json1_0BatchWriteItemRequestMap = (input, context) => {
3283
3279
  if (value === null) {
3284
3280
  return acc;
3285
3281
  }
3286
- return {
3287
- ...acc,
3288
- [key]: serializeAws_json1_0WriteRequests(value, context),
3289
- };
3282
+ acc[key] = serializeAws_json1_0WriteRequests(value, context);
3283
+ return acc;
3290
3284
  }, {});
3291
3285
  };
3292
3286
  const serializeAws_json1_0BinarySetAttributeValue = (input, context) => {
@@ -3556,10 +3550,8 @@ const serializeAws_json1_0ExpectedAttributeMap = (input, context) => {
3556
3550
  if (value === null) {
3557
3551
  return acc;
3558
3552
  }
3559
- return {
3560
- ...acc,
3561
- [key]: serializeAws_json1_0ExpectedAttributeValue(value, context),
3562
- };
3553
+ acc[key] = serializeAws_json1_0ExpectedAttributeValue(value, context);
3554
+ return acc;
3563
3555
  }, {});
3564
3556
  };
3565
3557
  const serializeAws_json1_0ExpectedAttributeValue = (input, context) => {
@@ -3590,10 +3582,8 @@ const serializeAws_json1_0ExpressionAttributeNameMap = (input, context) => {
3590
3582
  if (value === null) {
3591
3583
  return acc;
3592
3584
  }
3593
- return {
3594
- ...acc,
3595
- [key]: value,
3596
- };
3585
+ acc[key] = value;
3586
+ return acc;
3597
3587
  }, {});
3598
3588
  };
3599
3589
  const serializeAws_json1_0ExpressionAttributeValueMap = (input, context) => {
@@ -3601,10 +3591,8 @@ const serializeAws_json1_0ExpressionAttributeValueMap = (input, context) => {
3601
3591
  if (value === null) {
3602
3592
  return acc;
3603
3593
  }
3604
- return {
3605
- ...acc,
3606
- [key]: serializeAws_json1_0AttributeValue(value, context),
3607
- };
3594
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3595
+ return acc;
3608
3596
  }, {});
3609
3597
  };
3610
3598
  const serializeAws_json1_0FilterConditionMap = (input, context) => {
@@ -3612,10 +3600,8 @@ const serializeAws_json1_0FilterConditionMap = (input, context) => {
3612
3600
  if (value === null) {
3613
3601
  return acc;
3614
3602
  }
3615
- return {
3616
- ...acc,
3617
- [key]: serializeAws_json1_0Condition(value, context),
3618
- };
3603
+ acc[key] = serializeAws_json1_0Condition(value, context);
3604
+ return acc;
3619
3605
  }, {});
3620
3606
  };
3621
3607
  const serializeAws_json1_0Get = (input, context) => {
@@ -3739,10 +3725,8 @@ const serializeAws_json1_0Key = (input, context) => {
3739
3725
  if (value === null) {
3740
3726
  return acc;
3741
3727
  }
3742
- return {
3743
- ...acc,
3744
- [key]: serializeAws_json1_0AttributeValue(value, context),
3745
- };
3728
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3729
+ return acc;
3746
3730
  }, {});
3747
3731
  };
3748
3732
  const serializeAws_json1_0KeyConditions = (input, context) => {
@@ -3750,10 +3734,8 @@ const serializeAws_json1_0KeyConditions = (input, context) => {
3750
3734
  if (value === null) {
3751
3735
  return acc;
3752
3736
  }
3753
- return {
3754
- ...acc,
3755
- [key]: serializeAws_json1_0Condition(value, context),
3756
- };
3737
+ acc[key] = serializeAws_json1_0Condition(value, context);
3738
+ return acc;
3757
3739
  }, {});
3758
3740
  };
3759
3741
  const serializeAws_json1_0KeyList = (input, context) => {
@@ -3877,10 +3859,8 @@ const serializeAws_json1_0MapAttributeValue = (input, context) => {
3877
3859
  if (value === null) {
3878
3860
  return acc;
3879
3861
  }
3880
- return {
3881
- ...acc,
3882
- [key]: serializeAws_json1_0AttributeValue(value, context),
3883
- };
3862
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3863
+ return acc;
3884
3864
  }, {});
3885
3865
  };
3886
3866
  const serializeAws_json1_0NonKeyAttributeNameList = (input, context) => {
@@ -3991,10 +3971,8 @@ const serializeAws_json1_0PutItemInputAttributeMap = (input, context) => {
3991
3971
  if (value === null) {
3992
3972
  return acc;
3993
3973
  }
3994
- return {
3995
- ...acc,
3996
- [key]: serializeAws_json1_0AttributeValue(value, context),
3997
- };
3974
+ acc[key] = serializeAws_json1_0AttributeValue(value, context);
3975
+ return acc;
3998
3976
  }, {});
3999
3977
  };
4000
3978
  const serializeAws_json1_0PutRequest = (input, context) => {
@@ -4566,10 +4544,8 @@ const deserializeAws_json1_0AttributeMap = (output, context) => {
4566
4544
  if (value === null) {
4567
4545
  return acc;
4568
4546
  }
4569
- return {
4570
- ...acc,
4571
- [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
4572
- };
4547
+ acc[key] = deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context);
4548
+ return acc;
4573
4549
  }, {});
4574
4550
  };
4575
4551
  const deserializeAws_json1_0AttributeNameList = (output, context) => {
@@ -4755,10 +4731,8 @@ const deserializeAws_json1_0BatchGetRequestMap = (output, context) => {
4755
4731
  if (value === null) {
4756
4732
  return acc;
4757
4733
  }
4758
- return {
4759
- ...acc,
4760
- [key]: deserializeAws_json1_0KeysAndAttributes(value, context),
4761
- };
4734
+ acc[key] = deserializeAws_json1_0KeysAndAttributes(value, context);
4735
+ return acc;
4762
4736
  }, {});
4763
4737
  };
4764
4738
  const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
@@ -4766,10 +4740,8 @@ const deserializeAws_json1_0BatchGetResponseMap = (output, context) => {
4766
4740
  if (value === null) {
4767
4741
  return acc;
4768
4742
  }
4769
- return {
4770
- ...acc,
4771
- [key]: deserializeAws_json1_0ItemList(value, context),
4772
- };
4743
+ acc[key] = deserializeAws_json1_0ItemList(value, context);
4744
+ return acc;
4773
4745
  }, {});
4774
4746
  };
4775
4747
  const deserializeAws_json1_0BatchStatementError = (output, context) => {
@@ -4803,10 +4775,8 @@ const deserializeAws_json1_0BatchWriteItemRequestMap = (output, context) => {
4803
4775
  if (value === null) {
4804
4776
  return acc;
4805
4777
  }
4806
- return {
4807
- ...acc,
4808
- [key]: deserializeAws_json1_0WriteRequests(value, context),
4809
- };
4778
+ acc[key] = deserializeAws_json1_0WriteRequests(value, context);
4779
+ return acc;
4810
4780
  }, {});
4811
4781
  };
4812
4782
  const deserializeAws_json1_0BillingModeSummary = (output, context) => {
@@ -5193,10 +5163,8 @@ const deserializeAws_json1_0ExpressionAttributeNameMap = (output, context) => {
5193
5163
  if (value === null) {
5194
5164
  return acc;
5195
5165
  }
5196
- return {
5197
- ...acc,
5198
- [key]: (0, smithy_client_1.expectString)(value),
5199
- };
5166
+ acc[key] = (0, smithy_client_1.expectString)(value);
5167
+ return acc;
5200
5168
  }, {});
5201
5169
  };
5202
5170
  const deserializeAws_json1_0FailureException = (output, context) => {
@@ -5428,10 +5396,8 @@ const deserializeAws_json1_0ItemCollectionKeyAttributeMap = (output, context) =>
5428
5396
  if (value === null) {
5429
5397
  return acc;
5430
5398
  }
5431
- return {
5432
- ...acc,
5433
- [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5434
- };
5399
+ acc[key] = deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context);
5400
+ return acc;
5435
5401
  }, {});
5436
5402
  };
5437
5403
  const deserializeAws_json1_0ItemCollectionMetrics = (output, context) => {
@@ -5460,10 +5426,8 @@ const deserializeAws_json1_0ItemCollectionMetricsPerTable = (output, context) =>
5460
5426
  if (value === null) {
5461
5427
  return acc;
5462
5428
  }
5463
- return {
5464
- ...acc,
5465
- [key]: deserializeAws_json1_0ItemCollectionMetricsMultiple(value, context),
5466
- };
5429
+ acc[key] = deserializeAws_json1_0ItemCollectionMetricsMultiple(value, context);
5430
+ return acc;
5467
5431
  }, {});
5468
5432
  };
5469
5433
  const deserializeAws_json1_0ItemCollectionSizeEstimateRange = (output, context) => {
@@ -5514,10 +5478,8 @@ const deserializeAws_json1_0Key = (output, context) => {
5514
5478
  if (value === null) {
5515
5479
  return acc;
5516
5480
  }
5517
- return {
5518
- ...acc,
5519
- [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5520
- };
5481
+ acc[key] = deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context);
5482
+ return acc;
5521
5483
  }, {});
5522
5484
  };
5523
5485
  const deserializeAws_json1_0KeyList = (output, context) => {
@@ -5696,10 +5658,8 @@ const deserializeAws_json1_0MapAttributeValue = (output, context) => {
5696
5658
  if (value === null) {
5697
5659
  return acc;
5698
5660
  }
5699
- return {
5700
- ...acc,
5701
- [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5702
- };
5661
+ acc[key] = deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context);
5662
+ return acc;
5703
5663
  }, {});
5704
5664
  };
5705
5665
  const deserializeAws_json1_0NonKeyAttributeNameList = (output, context) => {
@@ -5793,10 +5753,8 @@ const deserializeAws_json1_0PutItemInputAttributeMap = (output, context) => {
5793
5753
  if (value === null) {
5794
5754
  return acc;
5795
5755
  }
5796
- return {
5797
- ...acc,
5798
- [key]: deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context),
5799
- };
5756
+ acc[key] = deserializeAws_json1_0AttributeValue((0, smithy_client_1.expectUnion)(value), context);
5757
+ return acc;
5800
5758
  }, {});
5801
5759
  };
5802
5760
  const deserializeAws_json1_0PutItemOutput = (output, context) => {
@@ -6073,10 +6031,8 @@ const deserializeAws_json1_0SecondaryIndexesCapacityMap = (output, context) => {
6073
6031
  if (value === null) {
6074
6032
  return acc;
6075
6033
  }
6076
- return {
6077
- ...acc,
6078
- [key]: deserializeAws_json1_0Capacity(value, context),
6079
- };
6034
+ acc[key] = deserializeAws_json1_0Capacity(value, context);
6035
+ return acc;
6080
6036
  }, {});
6081
6037
  };
6082
6038
  const deserializeAws_json1_0SourceTableDetails = (output, context) => {