@aws-sdk/client-iot 3.211.0 → 3.213.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.
@@ -17645,10 +17645,8 @@ const serializeAws_restJson1AdditionalParameterMap = (input, context) => {
17645
17645
  if (value === null) {
17646
17646
  return acc;
17647
17647
  }
17648
- return {
17649
- ...acc,
17650
- [key]: value,
17651
- };
17648
+ acc[key] = value;
17649
+ return acc;
17652
17650
  }, {});
17653
17651
  };
17654
17652
  const serializeAws_restJson1AddThingsToThingGroupParams = (input, context) => {
@@ -17683,10 +17681,8 @@ const serializeAws_restJson1AlertTargets = (input, context) => {
17683
17681
  if (value === null) {
17684
17682
  return acc;
17685
17683
  }
17686
- return {
17687
- ...acc,
17688
- [key]: serializeAws_restJson1AlertTarget(value, context),
17689
- };
17684
+ acc[key] = serializeAws_restJson1AlertTarget(value, context);
17685
+ return acc;
17690
17686
  }, {});
17691
17687
  };
17692
17688
  const serializeAws_restJson1AssetPropertyTimestamp = (input, context) => {
@@ -17731,10 +17727,8 @@ const serializeAws_restJson1Attributes = (input, context) => {
17731
17727
  if (value === null) {
17732
17728
  return acc;
17733
17729
  }
17734
- return {
17735
- ...acc,
17736
- [key]: value,
17737
- };
17730
+ acc[key] = value;
17731
+ return acc;
17738
17732
  }, {});
17739
17733
  };
17740
17734
  const serializeAws_restJson1AttributesMap = (input, context) => {
@@ -17742,10 +17736,8 @@ const serializeAws_restJson1AttributesMap = (input, context) => {
17742
17736
  if (value === null) {
17743
17737
  return acc;
17744
17738
  }
17745
- return {
17746
- ...acc,
17747
- [key]: value,
17748
- };
17739
+ acc[key] = value;
17740
+ return acc;
17749
17741
  }, {});
17750
17742
  };
17751
17743
  const serializeAws_restJson1AuditCheckConfiguration = (input, context) => {
@@ -17758,10 +17750,8 @@ const serializeAws_restJson1AuditCheckConfigurations = (input, context) => {
17758
17750
  if (value === null) {
17759
17751
  return acc;
17760
17752
  }
17761
- return {
17762
- ...acc,
17763
- [key]: serializeAws_restJson1AuditCheckConfiguration(value, context),
17764
- };
17753
+ acc[key] = serializeAws_restJson1AuditCheckConfiguration(value, context);
17754
+ return acc;
17765
17755
  }, {});
17766
17756
  };
17767
17757
  const serializeAws_restJson1AuditCheckToActionsMapping = (input, context) => {
@@ -17769,10 +17759,8 @@ const serializeAws_restJson1AuditCheckToActionsMapping = (input, context) => {
17769
17759
  if (value === null) {
17770
17760
  return acc;
17771
17761
  }
17772
- return {
17773
- ...acc,
17774
- [key]: serializeAws_restJson1MitigationActionNameList(value, context),
17775
- };
17762
+ acc[key] = serializeAws_restJson1MitigationActionNameList(value, context);
17763
+ return acc;
17776
17764
  }, {});
17777
17765
  };
17778
17766
  const serializeAws_restJson1AuditCheckToReasonCodeFilter = (input, context) => {
@@ -17780,10 +17768,8 @@ const serializeAws_restJson1AuditCheckToReasonCodeFilter = (input, context) => {
17780
17768
  if (value === null) {
17781
17769
  return acc;
17782
17770
  }
17783
- return {
17784
- ...acc,
17785
- [key]: serializeAws_restJson1ReasonForNonComplianceCodes(value, context),
17786
- };
17771
+ acc[key] = serializeAws_restJson1ReasonForNonComplianceCodes(value, context);
17772
+ return acc;
17787
17773
  }, {});
17788
17774
  };
17789
17775
  const serializeAws_restJson1AuditMitigationActionsTaskTarget = (input, context) => {
@@ -17807,10 +17793,8 @@ const serializeAws_restJson1AuditNotificationTargetConfigurations = (input, cont
17807
17793
  if (value === null) {
17808
17794
  return acc;
17809
17795
  }
17810
- return {
17811
- ...acc,
17812
- [key]: serializeAws_restJson1AuditNotificationTarget(value, context),
17813
- };
17796
+ acc[key] = serializeAws_restJson1AuditNotificationTarget(value, context);
17797
+ return acc;
17814
17798
  }, {});
17815
17799
  };
17816
17800
  const serializeAws_restJson1AuthInfo = (input, context) => {
@@ -17948,10 +17932,8 @@ const serializeAws_restJson1ClientProperties = (input, context) => {
17948
17932
  if (value === null) {
17949
17933
  return acc;
17950
17934
  }
17951
- return {
17952
- ...acc,
17953
- [key]: value,
17954
- };
17935
+ acc[key] = value;
17936
+ return acc;
17955
17937
  }, {});
17956
17938
  };
17957
17939
  const serializeAws_restJson1CloudwatchAlarmAction = (input, context) => {
@@ -18027,10 +18009,8 @@ const serializeAws_restJson1DetailsMap = (input, context) => {
18027
18009
  if (value === null) {
18028
18010
  return acc;
18029
18011
  }
18030
- return {
18031
- ...acc,
18032
- [key]: value,
18033
- };
18012
+ acc[key] = value;
18013
+ return acc;
18034
18014
  }, {});
18035
18015
  };
18036
18016
  const serializeAws_restJson1DetectMitigationActionsTaskTarget = (input, context) => {
@@ -18096,10 +18076,8 @@ const serializeAws_restJson1EventConfigurations = (input, context) => {
18096
18076
  if (value === null) {
18097
18077
  return acc;
18098
18078
  }
18099
- return {
18100
- ...acc,
18101
- [key]: serializeAws_restJson1Configuration(value, context),
18102
- };
18079
+ acc[key] = serializeAws_restJson1Configuration(value, context);
18080
+ return acc;
18103
18081
  }, {});
18104
18082
  };
18105
18083
  const serializeAws_restJson1ExponentialRolloutRate = (input, context) => {
@@ -18182,10 +18160,8 @@ const serializeAws_restJson1HttpHeaders = (input, context) => {
18182
18160
  if (value === null) {
18183
18161
  return acc;
18184
18162
  }
18185
- return {
18186
- ...acc,
18187
- [key]: value,
18188
- };
18163
+ acc[key] = value;
18164
+ return acc;
18189
18165
  }, {});
18190
18166
  };
18191
18167
  const serializeAws_restJson1HttpUrlDestinationConfiguration = (input, context) => {
@@ -18418,10 +18394,8 @@ const serializeAws_restJson1ParameterMap = (input, context) => {
18418
18394
  if (value === null) {
18419
18395
  return acc;
18420
18396
  }
18421
- return {
18422
- ...acc,
18423
- [key]: value,
18424
- };
18397
+ acc[key] = value;
18398
+ return acc;
18425
18399
  }, {});
18426
18400
  };
18427
18401
  const serializeAws_restJson1Parameters = (input, context) => {
@@ -18429,10 +18403,8 @@ const serializeAws_restJson1Parameters = (input, context) => {
18429
18403
  if (value === null) {
18430
18404
  return acc;
18431
18405
  }
18432
- return {
18433
- ...acc,
18434
- [key]: value,
18435
- };
18406
+ acc[key] = value;
18407
+ return acc;
18436
18408
  }, {});
18437
18409
  };
18438
18410
  const serializeAws_restJson1PercentList = (input, context) => {
@@ -18486,10 +18458,8 @@ const serializeAws_restJson1PublicKeyMap = (input, context) => {
18486
18458
  if (value === null) {
18487
18459
  return acc;
18488
18460
  }
18489
- return {
18490
- ...acc,
18491
- [key]: value,
18492
- };
18461
+ acc[key] = value;
18462
+ return acc;
18493
18463
  }, {});
18494
18464
  };
18495
18465
  const serializeAws_restJson1PublishFindingToSnsParams = (input, context) => {
@@ -19036,10 +19006,8 @@ const deserializeAws_restJson1AdditionalParameterMap = (output, context) => {
19036
19006
  if (value === null) {
19037
19007
  return acc;
19038
19008
  }
19039
- return {
19040
- ...acc,
19041
- [key]: (0, smithy_client_1.expectString)(value),
19042
- };
19009
+ acc[key] = (0, smithy_client_1.expectString)(value);
19010
+ return acc;
19043
19011
  }, {});
19044
19012
  };
19045
19013
  const deserializeAws_restJson1AddThingsToThingGroupParams = (output, context) => {
@@ -19078,10 +19046,8 @@ const deserializeAws_restJson1AlertTargets = (output, context) => {
19078
19046
  if (value === null) {
19079
19047
  return acc;
19080
19048
  }
19081
- return {
19082
- ...acc,
19083
- [key]: deserializeAws_restJson1AlertTarget(value, context),
19084
- };
19049
+ acc[key] = deserializeAws_restJson1AlertTarget(value, context);
19050
+ return acc;
19085
19051
  }, {});
19086
19052
  };
19087
19053
  const deserializeAws_restJson1Allowed = (output, context) => {
@@ -19141,10 +19107,8 @@ const deserializeAws_restJson1Attributes = (output, context) => {
19141
19107
  if (value === null) {
19142
19108
  return acc;
19143
19109
  }
19144
- return {
19145
- ...acc,
19146
- [key]: (0, smithy_client_1.expectString)(value),
19147
- };
19110
+ acc[key] = (0, smithy_client_1.expectString)(value);
19111
+ return acc;
19148
19112
  }, {});
19149
19113
  };
19150
19114
  const deserializeAws_restJson1AttributesMap = (output, context) => {
@@ -19152,10 +19116,8 @@ const deserializeAws_restJson1AttributesMap = (output, context) => {
19152
19116
  if (value === null) {
19153
19117
  return acc;
19154
19118
  }
19155
- return {
19156
- ...acc,
19157
- [key]: (0, smithy_client_1.expectString)(value),
19158
- };
19119
+ acc[key] = (0, smithy_client_1.expectString)(value);
19120
+ return acc;
19159
19121
  }, {});
19160
19122
  };
19161
19123
  const deserializeAws_restJson1AuditCheckConfiguration = (output, context) => {
@@ -19168,10 +19130,8 @@ const deserializeAws_restJson1AuditCheckConfigurations = (output, context) => {
19168
19130
  if (value === null) {
19169
19131
  return acc;
19170
19132
  }
19171
- return {
19172
- ...acc,
19173
- [key]: deserializeAws_restJson1AuditCheckConfiguration(value, context),
19174
- };
19133
+ acc[key] = deserializeAws_restJson1AuditCheckConfiguration(value, context);
19134
+ return acc;
19175
19135
  }, {});
19176
19136
  };
19177
19137
  const deserializeAws_restJson1AuditCheckDetails = (output, context) => {
@@ -19190,10 +19150,8 @@ const deserializeAws_restJson1AuditCheckToActionsMapping = (output, context) =>
19190
19150
  if (value === null) {
19191
19151
  return acc;
19192
19152
  }
19193
- return {
19194
- ...acc,
19195
- [key]: deserializeAws_restJson1MitigationActionNameList(value, context),
19196
- };
19153
+ acc[key] = deserializeAws_restJson1MitigationActionNameList(value, context);
19154
+ return acc;
19197
19155
  }, {});
19198
19156
  };
19199
19157
  const deserializeAws_restJson1AuditCheckToReasonCodeFilter = (output, context) => {
@@ -19201,10 +19159,8 @@ const deserializeAws_restJson1AuditCheckToReasonCodeFilter = (output, context) =
19201
19159
  if (value === null) {
19202
19160
  return acc;
19203
19161
  }
19204
- return {
19205
- ...acc,
19206
- [key]: deserializeAws_restJson1ReasonForNonComplianceCodes(value, context),
19207
- };
19162
+ acc[key] = deserializeAws_restJson1ReasonForNonComplianceCodes(value, context);
19163
+ return acc;
19208
19164
  }, {});
19209
19165
  };
19210
19166
  const deserializeAws_restJson1AuditDetails = (output, context) => {
@@ -19212,10 +19168,8 @@ const deserializeAws_restJson1AuditDetails = (output, context) => {
19212
19168
  if (value === null) {
19213
19169
  return acc;
19214
19170
  }
19215
- return {
19216
- ...acc,
19217
- [key]: deserializeAws_restJson1AuditCheckDetails(value, context),
19218
- };
19171
+ acc[key] = deserializeAws_restJson1AuditCheckDetails(value, context);
19172
+ return acc;
19219
19173
  }, {});
19220
19174
  };
19221
19175
  const deserializeAws_restJson1AuditFinding = (output, context) => {
@@ -19299,10 +19253,8 @@ const deserializeAws_restJson1AuditMitigationActionsTaskStatistics = (output, co
19299
19253
  if (value === null) {
19300
19254
  return acc;
19301
19255
  }
19302
- return {
19303
- ...acc,
19304
- [key]: deserializeAws_restJson1TaskStatisticsForAuditCheck(value, context),
19305
- };
19256
+ acc[key] = deserializeAws_restJson1TaskStatisticsForAuditCheck(value, context);
19257
+ return acc;
19306
19258
  }, {});
19307
19259
  };
19308
19260
  const deserializeAws_restJson1AuditMitigationActionsTaskTarget = (output, context) => {
@@ -19326,10 +19278,8 @@ const deserializeAws_restJson1AuditNotificationTargetConfigurations = (output, c
19326
19278
  if (value === null) {
19327
19279
  return acc;
19328
19280
  }
19329
- return {
19330
- ...acc,
19331
- [key]: deserializeAws_restJson1AuditNotificationTarget(value, context),
19332
- };
19281
+ acc[key] = deserializeAws_restJson1AuditNotificationTarget(value, context);
19282
+ return acc;
19333
19283
  }, {});
19334
19284
  };
19335
19285
  const deserializeAws_restJson1AuditSuppression = (output, context) => {
@@ -19682,10 +19632,8 @@ const deserializeAws_restJson1ClientProperties = (output, context) => {
19682
19632
  if (value === null) {
19683
19633
  return acc;
19684
19634
  }
19685
- return {
19686
- ...acc,
19687
- [key]: (0, smithy_client_1.expectString)(value),
19688
- };
19635
+ acc[key] = (0, smithy_client_1.expectString)(value);
19636
+ return acc;
19689
19637
  }, {});
19690
19638
  };
19691
19639
  const deserializeAws_restJson1CloudwatchAlarmAction = (output, context) => {
@@ -19765,10 +19713,8 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
19765
19713
  if (value === null) {
19766
19714
  return acc;
19767
19715
  }
19768
- return {
19769
- ...acc,
19770
- [key]: (0, smithy_client_1.expectString)(value),
19771
- };
19716
+ acc[key] = (0, smithy_client_1.expectString)(value);
19717
+ return acc;
19772
19718
  }, {});
19773
19719
  };
19774
19720
  const deserializeAws_restJson1DetectMitigationActionExecution = (output, context) => {
@@ -19987,10 +19933,8 @@ const deserializeAws_restJson1EventConfigurations = (output, context) => {
19987
19933
  if (value === null) {
19988
19934
  return acc;
19989
19935
  }
19990
- return {
19991
- ...acc,
19992
- [key]: deserializeAws_restJson1Configuration(value, context),
19993
- };
19936
+ acc[key] = deserializeAws_restJson1Configuration(value, context);
19937
+ return acc;
19994
19938
  }, {});
19995
19939
  };
19996
19940
  const deserializeAws_restJson1ExplicitDeny = (output, context) => {
@@ -20739,10 +20683,8 @@ const deserializeAws_restJson1ParameterMap = (output, context) => {
20739
20683
  if (value === null) {
20740
20684
  return acc;
20741
20685
  }
20742
- return {
20743
- ...acc,
20744
- [key]: (0, smithy_client_1.expectString)(value),
20745
- };
20686
+ acc[key] = (0, smithy_client_1.expectString)(value);
20687
+ return acc;
20746
20688
  }, {});
20747
20689
  };
20748
20690
  const deserializeAws_restJson1Percentiles = (output, context) => {
@@ -20932,10 +20874,8 @@ const deserializeAws_restJson1PublicKeyMap = (output, context) => {
20932
20874
  if (value === null) {
20933
20875
  return acc;
20934
20876
  }
20935
- return {
20936
- ...acc,
20937
- [key]: (0, smithy_client_1.expectString)(value),
20938
- };
20877
+ acc[key] = (0, smithy_client_1.expectString)(value);
20878
+ return acc;
20939
20879
  }, {});
20940
20880
  };
20941
20881
  const deserializeAws_restJson1PublishFindingToSnsParams = (output, context) => {
@@ -21031,10 +20971,8 @@ const deserializeAws_restJson1ResourceArns = (output, context) => {
21031
20971
  if (value === null) {
21032
20972
  return acc;
21033
20973
  }
21034
- return {
21035
- ...acc,
21036
- [key]: (0, smithy_client_1.expectString)(value),
21037
- };
20974
+ acc[key] = (0, smithy_client_1.expectString)(value);
20975
+ return acc;
21038
20976
  }, {});
21039
20977
  };
21040
20978
  const deserializeAws_restJson1ResourceIdentifier = (output, context) => {
@@ -21392,10 +21330,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
21392
21330
  if (value === null) {
21393
21331
  return acc;
21394
21332
  }
21395
- return {
21396
- ...acc,
21397
- [key]: (0, smithy_client_1.expectString)(value),
21398
- };
21333
+ acc[key] = (0, smithy_client_1.expectString)(value);
21334
+ return acc;
21399
21335
  }, {});
21400
21336
  };
21401
21337
  const deserializeAws_restJson1SubnetIdList = (output, context) => {
@@ -17157,10 +17157,8 @@ const serializeAws_restJson1AdditionalParameterMap = (input, context) => {
17157
17157
  if (value === null) {
17158
17158
  return acc;
17159
17159
  }
17160
- return {
17161
- ...acc,
17162
- [key]: value,
17163
- };
17160
+ acc[key] = value;
17161
+ return acc;
17164
17162
  }, {});
17165
17163
  };
17166
17164
  const serializeAws_restJson1AddThingsToThingGroupParams = (input, context) => {
@@ -17195,10 +17193,8 @@ const serializeAws_restJson1AlertTargets = (input, context) => {
17195
17193
  if (value === null) {
17196
17194
  return acc;
17197
17195
  }
17198
- return {
17199
- ...acc,
17200
- [key]: serializeAws_restJson1AlertTarget(value, context),
17201
- };
17196
+ acc[key] = serializeAws_restJson1AlertTarget(value, context);
17197
+ return acc;
17202
17198
  }, {});
17203
17199
  };
17204
17200
  const serializeAws_restJson1AssetPropertyTimestamp = (input, context) => {
@@ -17243,10 +17239,8 @@ const serializeAws_restJson1Attributes = (input, context) => {
17243
17239
  if (value === null) {
17244
17240
  return acc;
17245
17241
  }
17246
- return {
17247
- ...acc,
17248
- [key]: value,
17249
- };
17242
+ acc[key] = value;
17243
+ return acc;
17250
17244
  }, {});
17251
17245
  };
17252
17246
  const serializeAws_restJson1AttributesMap = (input, context) => {
@@ -17254,10 +17248,8 @@ const serializeAws_restJson1AttributesMap = (input, context) => {
17254
17248
  if (value === null) {
17255
17249
  return acc;
17256
17250
  }
17257
- return {
17258
- ...acc,
17259
- [key]: value,
17260
- };
17251
+ acc[key] = value;
17252
+ return acc;
17261
17253
  }, {});
17262
17254
  };
17263
17255
  const serializeAws_restJson1AuditCheckConfiguration = (input, context) => {
@@ -17270,10 +17262,8 @@ const serializeAws_restJson1AuditCheckConfigurations = (input, context) => {
17270
17262
  if (value === null) {
17271
17263
  return acc;
17272
17264
  }
17273
- return {
17274
- ...acc,
17275
- [key]: serializeAws_restJson1AuditCheckConfiguration(value, context),
17276
- };
17265
+ acc[key] = serializeAws_restJson1AuditCheckConfiguration(value, context);
17266
+ return acc;
17277
17267
  }, {});
17278
17268
  };
17279
17269
  const serializeAws_restJson1AuditCheckToActionsMapping = (input, context) => {
@@ -17281,10 +17271,8 @@ const serializeAws_restJson1AuditCheckToActionsMapping = (input, context) => {
17281
17271
  if (value === null) {
17282
17272
  return acc;
17283
17273
  }
17284
- return {
17285
- ...acc,
17286
- [key]: serializeAws_restJson1MitigationActionNameList(value, context),
17287
- };
17274
+ acc[key] = serializeAws_restJson1MitigationActionNameList(value, context);
17275
+ return acc;
17288
17276
  }, {});
17289
17277
  };
17290
17278
  const serializeAws_restJson1AuditCheckToReasonCodeFilter = (input, context) => {
@@ -17292,10 +17280,8 @@ const serializeAws_restJson1AuditCheckToReasonCodeFilter = (input, context) => {
17292
17280
  if (value === null) {
17293
17281
  return acc;
17294
17282
  }
17295
- return {
17296
- ...acc,
17297
- [key]: serializeAws_restJson1ReasonForNonComplianceCodes(value, context),
17298
- };
17283
+ acc[key] = serializeAws_restJson1ReasonForNonComplianceCodes(value, context);
17284
+ return acc;
17299
17285
  }, {});
17300
17286
  };
17301
17287
  const serializeAws_restJson1AuditMitigationActionsTaskTarget = (input, context) => {
@@ -17319,10 +17305,8 @@ const serializeAws_restJson1AuditNotificationTargetConfigurations = (input, cont
17319
17305
  if (value === null) {
17320
17306
  return acc;
17321
17307
  }
17322
- return {
17323
- ...acc,
17324
- [key]: serializeAws_restJson1AuditNotificationTarget(value, context),
17325
- };
17308
+ acc[key] = serializeAws_restJson1AuditNotificationTarget(value, context);
17309
+ return acc;
17326
17310
  }, {});
17327
17311
  };
17328
17312
  const serializeAws_restJson1AuthInfo = (input, context) => {
@@ -17460,10 +17444,8 @@ const serializeAws_restJson1ClientProperties = (input, context) => {
17460
17444
  if (value === null) {
17461
17445
  return acc;
17462
17446
  }
17463
- return {
17464
- ...acc,
17465
- [key]: value,
17466
- };
17447
+ acc[key] = value;
17448
+ return acc;
17467
17449
  }, {});
17468
17450
  };
17469
17451
  const serializeAws_restJson1CloudwatchAlarmAction = (input, context) => {
@@ -17539,10 +17521,8 @@ const serializeAws_restJson1DetailsMap = (input, context) => {
17539
17521
  if (value === null) {
17540
17522
  return acc;
17541
17523
  }
17542
- return {
17543
- ...acc,
17544
- [key]: value,
17545
- };
17524
+ acc[key] = value;
17525
+ return acc;
17546
17526
  }, {});
17547
17527
  };
17548
17528
  const serializeAws_restJson1DetectMitigationActionsTaskTarget = (input, context) => {
@@ -17608,10 +17588,8 @@ const serializeAws_restJson1EventConfigurations = (input, context) => {
17608
17588
  if (value === null) {
17609
17589
  return acc;
17610
17590
  }
17611
- return {
17612
- ...acc,
17613
- [key]: serializeAws_restJson1Configuration(value, context),
17614
- };
17591
+ acc[key] = serializeAws_restJson1Configuration(value, context);
17592
+ return acc;
17615
17593
  }, {});
17616
17594
  };
17617
17595
  const serializeAws_restJson1ExponentialRolloutRate = (input, context) => {
@@ -17694,10 +17672,8 @@ const serializeAws_restJson1HttpHeaders = (input, context) => {
17694
17672
  if (value === null) {
17695
17673
  return acc;
17696
17674
  }
17697
- return {
17698
- ...acc,
17699
- [key]: value,
17700
- };
17675
+ acc[key] = value;
17676
+ return acc;
17701
17677
  }, {});
17702
17678
  };
17703
17679
  const serializeAws_restJson1HttpUrlDestinationConfiguration = (input, context) => {
@@ -17930,10 +17906,8 @@ const serializeAws_restJson1ParameterMap = (input, context) => {
17930
17906
  if (value === null) {
17931
17907
  return acc;
17932
17908
  }
17933
- return {
17934
- ...acc,
17935
- [key]: value,
17936
- };
17909
+ acc[key] = value;
17910
+ return acc;
17937
17911
  }, {});
17938
17912
  };
17939
17913
  const serializeAws_restJson1Parameters = (input, context) => {
@@ -17941,10 +17915,8 @@ const serializeAws_restJson1Parameters = (input, context) => {
17941
17915
  if (value === null) {
17942
17916
  return acc;
17943
17917
  }
17944
- return {
17945
- ...acc,
17946
- [key]: value,
17947
- };
17918
+ acc[key] = value;
17919
+ return acc;
17948
17920
  }, {});
17949
17921
  };
17950
17922
  const serializeAws_restJson1PercentList = (input, context) => {
@@ -17998,10 +17970,8 @@ const serializeAws_restJson1PublicKeyMap = (input, context) => {
17998
17970
  if (value === null) {
17999
17971
  return acc;
18000
17972
  }
18001
- return {
18002
- ...acc,
18003
- [key]: value,
18004
- };
17973
+ acc[key] = value;
17974
+ return acc;
18005
17975
  }, {});
18006
17976
  };
18007
17977
  const serializeAws_restJson1PublishFindingToSnsParams = (input, context) => {
@@ -18548,10 +18518,8 @@ const deserializeAws_restJson1AdditionalParameterMap = (output, context) => {
18548
18518
  if (value === null) {
18549
18519
  return acc;
18550
18520
  }
18551
- return {
18552
- ...acc,
18553
- [key]: __expectString(value),
18554
- };
18521
+ acc[key] = __expectString(value);
18522
+ return acc;
18555
18523
  }, {});
18556
18524
  };
18557
18525
  const deserializeAws_restJson1AddThingsToThingGroupParams = (output, context) => {
@@ -18590,10 +18558,8 @@ const deserializeAws_restJson1AlertTargets = (output, context) => {
18590
18558
  if (value === null) {
18591
18559
  return acc;
18592
18560
  }
18593
- return {
18594
- ...acc,
18595
- [key]: deserializeAws_restJson1AlertTarget(value, context),
18596
- };
18561
+ acc[key] = deserializeAws_restJson1AlertTarget(value, context);
18562
+ return acc;
18597
18563
  }, {});
18598
18564
  };
18599
18565
  const deserializeAws_restJson1Allowed = (output, context) => {
@@ -18653,10 +18619,8 @@ const deserializeAws_restJson1Attributes = (output, context) => {
18653
18619
  if (value === null) {
18654
18620
  return acc;
18655
18621
  }
18656
- return {
18657
- ...acc,
18658
- [key]: __expectString(value),
18659
- };
18622
+ acc[key] = __expectString(value);
18623
+ return acc;
18660
18624
  }, {});
18661
18625
  };
18662
18626
  const deserializeAws_restJson1AttributesMap = (output, context) => {
@@ -18664,10 +18628,8 @@ const deserializeAws_restJson1AttributesMap = (output, context) => {
18664
18628
  if (value === null) {
18665
18629
  return acc;
18666
18630
  }
18667
- return {
18668
- ...acc,
18669
- [key]: __expectString(value),
18670
- };
18631
+ acc[key] = __expectString(value);
18632
+ return acc;
18671
18633
  }, {});
18672
18634
  };
18673
18635
  const deserializeAws_restJson1AuditCheckConfiguration = (output, context) => {
@@ -18680,10 +18642,8 @@ const deserializeAws_restJson1AuditCheckConfigurations = (output, context) => {
18680
18642
  if (value === null) {
18681
18643
  return acc;
18682
18644
  }
18683
- return {
18684
- ...acc,
18685
- [key]: deserializeAws_restJson1AuditCheckConfiguration(value, context),
18686
- };
18645
+ acc[key] = deserializeAws_restJson1AuditCheckConfiguration(value, context);
18646
+ return acc;
18687
18647
  }, {});
18688
18648
  };
18689
18649
  const deserializeAws_restJson1AuditCheckDetails = (output, context) => {
@@ -18702,10 +18662,8 @@ const deserializeAws_restJson1AuditCheckToActionsMapping = (output, context) =>
18702
18662
  if (value === null) {
18703
18663
  return acc;
18704
18664
  }
18705
- return {
18706
- ...acc,
18707
- [key]: deserializeAws_restJson1MitigationActionNameList(value, context),
18708
- };
18665
+ acc[key] = deserializeAws_restJson1MitigationActionNameList(value, context);
18666
+ return acc;
18709
18667
  }, {});
18710
18668
  };
18711
18669
  const deserializeAws_restJson1AuditCheckToReasonCodeFilter = (output, context) => {
@@ -18713,10 +18671,8 @@ const deserializeAws_restJson1AuditCheckToReasonCodeFilter = (output, context) =
18713
18671
  if (value === null) {
18714
18672
  return acc;
18715
18673
  }
18716
- return {
18717
- ...acc,
18718
- [key]: deserializeAws_restJson1ReasonForNonComplianceCodes(value, context),
18719
- };
18674
+ acc[key] = deserializeAws_restJson1ReasonForNonComplianceCodes(value, context);
18675
+ return acc;
18720
18676
  }, {});
18721
18677
  };
18722
18678
  const deserializeAws_restJson1AuditDetails = (output, context) => {
@@ -18724,10 +18680,8 @@ const deserializeAws_restJson1AuditDetails = (output, context) => {
18724
18680
  if (value === null) {
18725
18681
  return acc;
18726
18682
  }
18727
- return {
18728
- ...acc,
18729
- [key]: deserializeAws_restJson1AuditCheckDetails(value, context),
18730
- };
18683
+ acc[key] = deserializeAws_restJson1AuditCheckDetails(value, context);
18684
+ return acc;
18731
18685
  }, {});
18732
18686
  };
18733
18687
  const deserializeAws_restJson1AuditFinding = (output, context) => {
@@ -18811,10 +18765,8 @@ const deserializeAws_restJson1AuditMitigationActionsTaskStatistics = (output, co
18811
18765
  if (value === null) {
18812
18766
  return acc;
18813
18767
  }
18814
- return {
18815
- ...acc,
18816
- [key]: deserializeAws_restJson1TaskStatisticsForAuditCheck(value, context),
18817
- };
18768
+ acc[key] = deserializeAws_restJson1TaskStatisticsForAuditCheck(value, context);
18769
+ return acc;
18818
18770
  }, {});
18819
18771
  };
18820
18772
  const deserializeAws_restJson1AuditMitigationActionsTaskTarget = (output, context) => {
@@ -18838,10 +18790,8 @@ const deserializeAws_restJson1AuditNotificationTargetConfigurations = (output, c
18838
18790
  if (value === null) {
18839
18791
  return acc;
18840
18792
  }
18841
- return {
18842
- ...acc,
18843
- [key]: deserializeAws_restJson1AuditNotificationTarget(value, context),
18844
- };
18793
+ acc[key] = deserializeAws_restJson1AuditNotificationTarget(value, context);
18794
+ return acc;
18845
18795
  }, {});
18846
18796
  };
18847
18797
  const deserializeAws_restJson1AuditSuppression = (output, context) => {
@@ -19194,10 +19144,8 @@ const deserializeAws_restJson1ClientProperties = (output, context) => {
19194
19144
  if (value === null) {
19195
19145
  return acc;
19196
19146
  }
19197
- return {
19198
- ...acc,
19199
- [key]: __expectString(value),
19200
- };
19147
+ acc[key] = __expectString(value);
19148
+ return acc;
19201
19149
  }, {});
19202
19150
  };
19203
19151
  const deserializeAws_restJson1CloudwatchAlarmAction = (output, context) => {
@@ -19277,10 +19225,8 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
19277
19225
  if (value === null) {
19278
19226
  return acc;
19279
19227
  }
19280
- return {
19281
- ...acc,
19282
- [key]: __expectString(value),
19283
- };
19228
+ acc[key] = __expectString(value);
19229
+ return acc;
19284
19230
  }, {});
19285
19231
  };
19286
19232
  const deserializeAws_restJson1DetectMitigationActionExecution = (output, context) => {
@@ -19499,10 +19445,8 @@ const deserializeAws_restJson1EventConfigurations = (output, context) => {
19499
19445
  if (value === null) {
19500
19446
  return acc;
19501
19447
  }
19502
- return {
19503
- ...acc,
19504
- [key]: deserializeAws_restJson1Configuration(value, context),
19505
- };
19448
+ acc[key] = deserializeAws_restJson1Configuration(value, context);
19449
+ return acc;
19506
19450
  }, {});
19507
19451
  };
19508
19452
  const deserializeAws_restJson1ExplicitDeny = (output, context) => {
@@ -20251,10 +20195,8 @@ const deserializeAws_restJson1ParameterMap = (output, context) => {
20251
20195
  if (value === null) {
20252
20196
  return acc;
20253
20197
  }
20254
- return {
20255
- ...acc,
20256
- [key]: __expectString(value),
20257
- };
20198
+ acc[key] = __expectString(value);
20199
+ return acc;
20258
20200
  }, {});
20259
20201
  };
20260
20202
  const deserializeAws_restJson1Percentiles = (output, context) => {
@@ -20444,10 +20386,8 @@ const deserializeAws_restJson1PublicKeyMap = (output, context) => {
20444
20386
  if (value === null) {
20445
20387
  return acc;
20446
20388
  }
20447
- return {
20448
- ...acc,
20449
- [key]: __expectString(value),
20450
- };
20389
+ acc[key] = __expectString(value);
20390
+ return acc;
20451
20391
  }, {});
20452
20392
  };
20453
20393
  const deserializeAws_restJson1PublishFindingToSnsParams = (output, context) => {
@@ -20543,10 +20483,8 @@ const deserializeAws_restJson1ResourceArns = (output, context) => {
20543
20483
  if (value === null) {
20544
20484
  return acc;
20545
20485
  }
20546
- return {
20547
- ...acc,
20548
- [key]: __expectString(value),
20549
- };
20486
+ acc[key] = __expectString(value);
20487
+ return acc;
20550
20488
  }, {});
20551
20489
  };
20552
20490
  const deserializeAws_restJson1ResourceIdentifier = (output, context) => {
@@ -20904,10 +20842,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
20904
20842
  if (value === null) {
20905
20843
  return acc;
20906
20844
  }
20907
- return {
20908
- ...acc,
20909
- [key]: __expectString(value),
20910
- };
20845
+ acc[key] = __expectString(value);
20846
+ return acc;
20911
20847
  }, {});
20912
20848
  };
20913
20849
  const deserializeAws_restJson1SubnetIdList = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
3
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
4
- "version": "3.211.0",
4
+ "version": "3.213.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,36 +19,36 @@
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.211.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.211.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-host-header": "3.208.0",
31
- "@aws-sdk/middleware-logger": "3.208.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.209.0",
34
- "@aws-sdk/middleware-serde": "3.208.0",
35
- "@aws-sdk/middleware-signing": "3.208.0",
36
- "@aws-sdk/middleware-stack": "3.208.0",
37
- "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.209.0",
39
- "@aws-sdk/node-http-handler": "3.208.0",
40
- "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.209.0",
42
- "@aws-sdk/types": "3.208.0",
43
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.213.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-host-header": "3.212.0",
31
+ "@aws-sdk/middleware-logger": "3.212.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
+ "@aws-sdk/middleware-retry": "3.212.0",
34
+ "@aws-sdk/middleware-serde": "3.212.0",
35
+ "@aws-sdk/middleware-signing": "3.212.0",
36
+ "@aws-sdk/middleware-stack": "3.212.0",
37
+ "@aws-sdk/middleware-user-agent": "3.212.0",
38
+ "@aws-sdk/node-config-provider": "3.212.0",
39
+ "@aws-sdk/node-http-handler": "3.212.0",
40
+ "@aws-sdk/protocol-http": "3.212.0",
41
+ "@aws-sdk/smithy-client": "3.212.0",
42
+ "@aws-sdk/types": "3.212.0",
43
+ "@aws-sdk/url-parser": "3.212.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
- "@aws-sdk/util-endpoints": "3.211.0",
50
- "@aws-sdk/util-user-agent-browser": "3.208.0",
51
- "@aws-sdk/util-user-agent-node": "3.209.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
+ "@aws-sdk/util-endpoints": "3.212.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
51
+ "@aws-sdk/util-user-agent-node": "3.212.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1",