@aws-sdk/client-iotdeviceadvisor 3.121.0 → 3.127.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iotdeviceadvisor
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -13,11 +13,10 @@ const serializeAws_restJson1CreateSuiteDefinitionCommand = async (input, context
13
13
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteDefinitions";
14
14
  let body;
15
15
  body = JSON.stringify({
16
- ...(input.suiteDefinitionConfiguration !== undefined &&
17
- input.suiteDefinitionConfiguration !== null && {
16
+ ...(input.suiteDefinitionConfiguration != null && {
18
17
  suiteDefinitionConfiguration: serializeAws_restJson1SuiteDefinitionConfiguration(input.suiteDefinitionConfiguration, context),
19
18
  }),
20
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
19
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
21
20
  });
22
21
  return new protocol_http_1.HttpRequest({
23
22
  protocol,
@@ -270,13 +269,11 @@ const serializeAws_restJson1StartSuiteRunCommand = async (input, context) => {
270
269
  }
271
270
  let body;
272
271
  body = JSON.stringify({
273
- ...(input.suiteDefinitionVersion !== undefined &&
274
- input.suiteDefinitionVersion !== null && { suiteDefinitionVersion: input.suiteDefinitionVersion }),
275
- ...(input.suiteRunConfiguration !== undefined &&
276
- input.suiteRunConfiguration !== null && {
272
+ ...(input.suiteDefinitionVersion != null && { suiteDefinitionVersion: input.suiteDefinitionVersion }),
273
+ ...(input.suiteRunConfiguration != null && {
277
274
  suiteRunConfiguration: serializeAws_restJson1SuiteRunConfiguration(input.suiteRunConfiguration, context),
278
275
  }),
279
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
276
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
280
277
  });
281
278
  return new protocol_http_1.HttpRequest({
282
279
  protocol,
@@ -344,7 +341,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
344
341
  }
345
342
  let body;
346
343
  body = JSON.stringify({
347
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
344
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
348
345
  });
349
346
  return new protocol_http_1.HttpRequest({
350
347
  protocol,
@@ -405,8 +402,7 @@ const serializeAws_restJson1UpdateSuiteDefinitionCommand = async (input, context
405
402
  }
406
403
  let body;
407
404
  body = JSON.stringify({
408
- ...(input.suiteDefinitionConfiguration !== undefined &&
409
- input.suiteDefinitionConfiguration !== null && {
405
+ ...(input.suiteDefinitionConfiguration != null && {
410
406
  suiteDefinitionConfiguration: serializeAws_restJson1SuiteDefinitionConfiguration(input.suiteDefinitionConfiguration, context),
411
407
  }),
412
408
  });
@@ -1172,9 +1168,8 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1172
1168
  };
1173
1169
  const serializeAws_restJson1DeviceUnderTest = (input, context) => {
1174
1170
  return {
1175
- ...(input.certificateArn !== undefined &&
1176
- input.certificateArn !== null && { certificateArn: input.certificateArn }),
1177
- ...(input.thingArn !== undefined && input.thingArn !== null && { thingArn: input.thingArn }),
1171
+ ...(input.certificateArn != null && { certificateArn: input.certificateArn }),
1172
+ ...(input.thingArn != null && { thingArn: input.thingArn }),
1178
1173
  };
1179
1174
  };
1180
1175
  const serializeAws_restJson1DeviceUnderTestList = (input, context) => {
@@ -1199,26 +1194,20 @@ const serializeAws_restJson1SelectedTestList = (input, context) => {
1199
1194
  };
1200
1195
  const serializeAws_restJson1SuiteDefinitionConfiguration = (input, context) => {
1201
1196
  return {
1202
- ...(input.devicePermissionRoleArn !== undefined &&
1203
- input.devicePermissionRoleArn !== null && { devicePermissionRoleArn: input.devicePermissionRoleArn }),
1204
- ...(input.devices !== undefined &&
1205
- input.devices !== null && { devices: serializeAws_restJson1DeviceUnderTestList(input.devices, context) }),
1206
- ...(input.intendedForQualification !== undefined &&
1207
- input.intendedForQualification !== null && { intendedForQualification: input.intendedForQualification }),
1208
- ...(input.rootGroup !== undefined && input.rootGroup !== null && { rootGroup: input.rootGroup }),
1209
- ...(input.suiteDefinitionName !== undefined &&
1210
- input.suiteDefinitionName !== null && { suiteDefinitionName: input.suiteDefinitionName }),
1197
+ ...(input.devicePermissionRoleArn != null && { devicePermissionRoleArn: input.devicePermissionRoleArn }),
1198
+ ...(input.devices != null && { devices: serializeAws_restJson1DeviceUnderTestList(input.devices, context) }),
1199
+ ...(input.intendedForQualification != null && { intendedForQualification: input.intendedForQualification }),
1200
+ ...(input.rootGroup != null && { rootGroup: input.rootGroup }),
1201
+ ...(input.suiteDefinitionName != null && { suiteDefinitionName: input.suiteDefinitionName }),
1211
1202
  };
1212
1203
  };
1213
1204
  const serializeAws_restJson1SuiteRunConfiguration = (input, context) => {
1214
1205
  return {
1215
- ...(input.parallelRun !== undefined && input.parallelRun !== null && { parallelRun: input.parallelRun }),
1216
- ...(input.primaryDevice !== undefined &&
1217
- input.primaryDevice !== null && {
1206
+ ...(input.parallelRun != null && { parallelRun: input.parallelRun }),
1207
+ ...(input.primaryDevice != null && {
1218
1208
  primaryDevice: serializeAws_restJson1DeviceUnderTest(input.primaryDevice, context),
1219
1209
  }),
1220
- ...(input.selectedTestList !== undefined &&
1221
- input.selectedTestList !== null && {
1210
+ ...(input.selectedTestList != null && {
1222
1211
  selectedTestList: serializeAws_restJson1SelectedTestList(input.selectedTestList, context),
1223
1212
  }),
1224
1213
  };
@@ -1255,9 +1244,7 @@ const deserializeAws_restJson1GroupResult = (output, context) => {
1255
1244
  return {
1256
1245
  groupId: (0, smithy_client_1.expectString)(output.groupId),
1257
1246
  groupName: (0, smithy_client_1.expectString)(output.groupName),
1258
- tests: output.tests !== undefined && output.tests !== null
1259
- ? deserializeAws_restJson1TestCaseRuns(output.tests, context)
1260
- : undefined,
1247
+ tests: output.tests != null ? deserializeAws_restJson1TestCaseRuns(output.tests, context) : undefined,
1261
1248
  };
1262
1249
  };
1263
1250
  const deserializeAws_restJson1GroupResultList = (output, context) => {
@@ -1285,9 +1272,7 @@ const deserializeAws_restJson1SelectedTestList = (output, context) => {
1285
1272
  const deserializeAws_restJson1SuiteDefinitionConfiguration = (output, context) => {
1286
1273
  return {
1287
1274
  devicePermissionRoleArn: (0, smithy_client_1.expectString)(output.devicePermissionRoleArn),
1288
- devices: output.devices !== undefined && output.devices !== null
1289
- ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context)
1290
- : undefined,
1275
+ devices: output.devices != null ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context) : undefined,
1291
1276
  intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
1292
1277
  rootGroup: (0, smithy_client_1.expectString)(output.rootGroup),
1293
1278
  suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
@@ -1295,10 +1280,8 @@ const deserializeAws_restJson1SuiteDefinitionConfiguration = (output, context) =
1295
1280
  };
1296
1281
  const deserializeAws_restJson1SuiteDefinitionInformation = (output, context) => {
1297
1282
  return {
1298
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1299
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1300
- : undefined,
1301
- defaultDevices: output.defaultDevices !== undefined && output.defaultDevices !== null
1283
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1284
+ defaultDevices: output.defaultDevices != null
1302
1285
  ? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
1303
1286
  : undefined,
1304
1287
  intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
@@ -1320,27 +1303,19 @@ const deserializeAws_restJson1SuiteDefinitionInformationList = (output, context)
1320
1303
  const deserializeAws_restJson1SuiteRunConfiguration = (output, context) => {
1321
1304
  return {
1322
1305
  parallelRun: (0, smithy_client_1.expectBoolean)(output.parallelRun),
1323
- primaryDevice: output.primaryDevice !== undefined && output.primaryDevice !== null
1324
- ? deserializeAws_restJson1DeviceUnderTest(output.primaryDevice, context)
1325
- : undefined,
1326
- selectedTestList: output.selectedTestList !== undefined && output.selectedTestList !== null
1306
+ primaryDevice: output.primaryDevice != null ? deserializeAws_restJson1DeviceUnderTest(output.primaryDevice, context) : undefined,
1307
+ selectedTestList: output.selectedTestList != null
1327
1308
  ? deserializeAws_restJson1SelectedTestList(output.selectedTestList, context)
1328
1309
  : undefined,
1329
1310
  };
1330
1311
  };
1331
1312
  const deserializeAws_restJson1SuiteRunInformation = (output, context) => {
1332
1313
  return {
1333
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1334
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1335
- : undefined,
1336
- endAt: output.endAt !== undefined && output.endAt !== null
1337
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endAt)))
1338
- : undefined,
1314
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1315
+ endAt: output.endAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endAt))) : undefined,
1339
1316
  failed: (0, smithy_client_1.expectInt32)(output.failed),
1340
1317
  passed: (0, smithy_client_1.expectInt32)(output.passed),
1341
- startedAt: output.startedAt !== undefined && output.startedAt !== null
1342
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
1343
- : undefined,
1318
+ startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt))) : undefined,
1344
1319
  status: (0, smithy_client_1.expectString)(output.status),
1345
1320
  suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
1346
1321
  suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
@@ -1372,14 +1347,10 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1372
1347
  };
1373
1348
  const deserializeAws_restJson1TestCaseRun = (output, context) => {
1374
1349
  return {
1375
- endTime: output.endTime !== undefined && output.endTime !== null
1376
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
1377
- : undefined,
1350
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
1378
1351
  failure: (0, smithy_client_1.expectString)(output.failure),
1379
1352
  logUrl: (0, smithy_client_1.expectString)(output.logUrl),
1380
- startTime: output.startTime !== undefined && output.startTime !== null
1381
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
1382
- : undefined,
1353
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
1383
1354
  status: (0, smithy_client_1.expectString)(output.status),
1384
1355
  testCaseDefinitionId: (0, smithy_client_1.expectString)(output.testCaseDefinitionId),
1385
1356
  testCaseDefinitionName: (0, smithy_client_1.expectString)(output.testCaseDefinitionName),
@@ -1400,9 +1371,7 @@ const deserializeAws_restJson1TestCaseRuns = (output, context) => {
1400
1371
  };
1401
1372
  const deserializeAws_restJson1TestResult = (output, context) => {
1402
1373
  return {
1403
- groups: output.groups !== undefined && output.groups !== null
1404
- ? deserializeAws_restJson1GroupResultList(output.groups, context)
1405
- : undefined,
1374
+ groups: output.groups != null ? deserializeAws_restJson1GroupResultList(output.groups, context) : undefined,
1406
1375
  };
1407
1376
  };
1408
1377
  const deserializeMetadata = (output) => {
@@ -14,10 +14,9 @@ export var serializeAws_restJson1CreateSuiteDefinitionCommand = function (input,
14
14
  "content-type": "application/json",
15
15
  };
16
16
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/suiteDefinitions";
17
- body = JSON.stringify(__assign(__assign({}, (input.suiteDefinitionConfiguration !== undefined &&
18
- input.suiteDefinitionConfiguration !== null && {
17
+ body = JSON.stringify(__assign(__assign({}, (input.suiteDefinitionConfiguration != null && {
19
18
  suiteDefinitionConfiguration: serializeAws_restJson1SuiteDefinitionConfiguration(input.suiteDefinitionConfiguration, context),
20
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
19
+ })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
21
20
  return [2, new __HttpRequest({
22
21
  protocol: protocol,
23
22
  hostname: hostname,
@@ -300,11 +299,9 @@ export var serializeAws_restJson1StartSuiteRunCommand = function (input, context
300
299
  else {
301
300
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
302
301
  }
303
- body = JSON.stringify(__assign(__assign(__assign({}, (input.suiteDefinitionVersion !== undefined &&
304
- input.suiteDefinitionVersion !== null && { suiteDefinitionVersion: input.suiteDefinitionVersion })), (input.suiteRunConfiguration !== undefined &&
305
- input.suiteRunConfiguration !== null && {
302
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.suiteDefinitionVersion != null && { suiteDefinitionVersion: input.suiteDefinitionVersion })), (input.suiteRunConfiguration != null && {
306
303
  suiteRunConfiguration: serializeAws_restJson1SuiteRunConfiguration(input.suiteRunConfiguration, context),
307
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
304
+ })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
308
305
  return [2, new __HttpRequest({
309
306
  protocol: protocol,
310
307
  hostname: hostname,
@@ -380,7 +377,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
380
377
  else {
381
378
  throw new Error("No value provided for input HTTP label: resourceArn.");
382
379
  }
383
- body = JSON.stringify(__assign({}, (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
380
+ body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
384
381
  return [2, new __HttpRequest({
385
382
  protocol: protocol,
386
383
  hostname: hostname,
@@ -447,8 +444,7 @@ export var serializeAws_restJson1UpdateSuiteDefinitionCommand = function (input,
447
444
  else {
448
445
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
449
446
  }
450
- body = JSON.stringify(__assign({}, (input.suiteDefinitionConfiguration !== undefined &&
451
- input.suiteDefinitionConfiguration !== null && {
447
+ body = JSON.stringify(__assign({}, (input.suiteDefinitionConfiguration != null && {
452
448
  suiteDefinitionConfiguration: serializeAws_restJson1SuiteDefinitionConfiguration(input.suiteDefinitionConfiguration, context),
453
449
  })));
454
450
  return [2, new __HttpRequest({
@@ -1494,8 +1490,7 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
1494
1490
  });
1495
1491
  }); };
1496
1492
  var serializeAws_restJson1DeviceUnderTest = function (input, context) {
1497
- return __assign(__assign({}, (input.certificateArn !== undefined &&
1498
- input.certificateArn !== null && { certificateArn: input.certificateArn })), (input.thingArn !== undefined && input.thingArn !== null && { thingArn: input.thingArn }));
1493
+ return __assign(__assign({}, (input.certificateArn != null && { certificateArn: input.certificateArn })), (input.thingArn != null && { thingArn: input.thingArn }));
1499
1494
  };
1500
1495
  var serializeAws_restJson1DeviceUnderTestList = function (input, context) {
1501
1496
  return input
@@ -1518,18 +1513,12 @@ var serializeAws_restJson1SelectedTestList = function (input, context) {
1518
1513
  });
1519
1514
  };
1520
1515
  var serializeAws_restJson1SuiteDefinitionConfiguration = function (input, context) {
1521
- return __assign(__assign(__assign(__assign(__assign({}, (input.devicePermissionRoleArn !== undefined &&
1522
- input.devicePermissionRoleArn !== null && { devicePermissionRoleArn: input.devicePermissionRoleArn })), (input.devices !== undefined &&
1523
- input.devices !== null && { devices: serializeAws_restJson1DeviceUnderTestList(input.devices, context) })), (input.intendedForQualification !== undefined &&
1524
- input.intendedForQualification !== null && { intendedForQualification: input.intendedForQualification })), (input.rootGroup !== undefined && input.rootGroup !== null && { rootGroup: input.rootGroup })), (input.suiteDefinitionName !== undefined &&
1525
- input.suiteDefinitionName !== null && { suiteDefinitionName: input.suiteDefinitionName }));
1516
+ return __assign(__assign(__assign(__assign(__assign({}, (input.devicePermissionRoleArn != null && { devicePermissionRoleArn: input.devicePermissionRoleArn })), (input.devices != null && { devices: serializeAws_restJson1DeviceUnderTestList(input.devices, context) })), (input.intendedForQualification != null && { intendedForQualification: input.intendedForQualification })), (input.rootGroup != null && { rootGroup: input.rootGroup })), (input.suiteDefinitionName != null && { suiteDefinitionName: input.suiteDefinitionName }));
1526
1517
  };
1527
1518
  var serializeAws_restJson1SuiteRunConfiguration = function (input, context) {
1528
- return __assign(__assign(__assign({}, (input.parallelRun !== undefined && input.parallelRun !== null && { parallelRun: input.parallelRun })), (input.primaryDevice !== undefined &&
1529
- input.primaryDevice !== null && {
1519
+ return __assign(__assign(__assign({}, (input.parallelRun != null && { parallelRun: input.parallelRun })), (input.primaryDevice != null && {
1530
1520
  primaryDevice: serializeAws_restJson1DeviceUnderTest(input.primaryDevice, context),
1531
- })), (input.selectedTestList !== undefined &&
1532
- input.selectedTestList !== null && {
1521
+ })), (input.selectedTestList != null && {
1533
1522
  selectedTestList: serializeAws_restJson1SelectedTestList(input.selectedTestList, context),
1534
1523
  }));
1535
1524
  };
@@ -1564,9 +1553,7 @@ var deserializeAws_restJson1GroupResult = function (output, context) {
1564
1553
  return {
1565
1554
  groupId: __expectString(output.groupId),
1566
1555
  groupName: __expectString(output.groupName),
1567
- tests: output.tests !== undefined && output.tests !== null
1568
- ? deserializeAws_restJson1TestCaseRuns(output.tests, context)
1569
- : undefined,
1556
+ tests: output.tests != null ? deserializeAws_restJson1TestCaseRuns(output.tests, context) : undefined,
1570
1557
  };
1571
1558
  };
1572
1559
  var deserializeAws_restJson1GroupResultList = function (output, context) {
@@ -1594,9 +1581,7 @@ var deserializeAws_restJson1SelectedTestList = function (output, context) {
1594
1581
  var deserializeAws_restJson1SuiteDefinitionConfiguration = function (output, context) {
1595
1582
  return {
1596
1583
  devicePermissionRoleArn: __expectString(output.devicePermissionRoleArn),
1597
- devices: output.devices !== undefined && output.devices !== null
1598
- ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context)
1599
- : undefined,
1584
+ devices: output.devices != null ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context) : undefined,
1600
1585
  intendedForQualification: __expectBoolean(output.intendedForQualification),
1601
1586
  rootGroup: __expectString(output.rootGroup),
1602
1587
  suiteDefinitionName: __expectString(output.suiteDefinitionName),
@@ -1604,10 +1589,8 @@ var deserializeAws_restJson1SuiteDefinitionConfiguration = function (output, con
1604
1589
  };
1605
1590
  var deserializeAws_restJson1SuiteDefinitionInformation = function (output, context) {
1606
1591
  return {
1607
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1608
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
1609
- : undefined,
1610
- defaultDevices: output.defaultDevices !== undefined && output.defaultDevices !== null
1592
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
1593
+ defaultDevices: output.defaultDevices != null
1611
1594
  ? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
1612
1595
  : undefined,
1613
1596
  intendedForQualification: __expectBoolean(output.intendedForQualification),
@@ -1629,27 +1612,19 @@ var deserializeAws_restJson1SuiteDefinitionInformationList = function (output, c
1629
1612
  var deserializeAws_restJson1SuiteRunConfiguration = function (output, context) {
1630
1613
  return {
1631
1614
  parallelRun: __expectBoolean(output.parallelRun),
1632
- primaryDevice: output.primaryDevice !== undefined && output.primaryDevice !== null
1633
- ? deserializeAws_restJson1DeviceUnderTest(output.primaryDevice, context)
1634
- : undefined,
1635
- selectedTestList: output.selectedTestList !== undefined && output.selectedTestList !== null
1615
+ primaryDevice: output.primaryDevice != null ? deserializeAws_restJson1DeviceUnderTest(output.primaryDevice, context) : undefined,
1616
+ selectedTestList: output.selectedTestList != null
1636
1617
  ? deserializeAws_restJson1SelectedTestList(output.selectedTestList, context)
1637
1618
  : undefined,
1638
1619
  };
1639
1620
  };
1640
1621
  var deserializeAws_restJson1SuiteRunInformation = function (output, context) {
1641
1622
  return {
1642
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1643
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
1644
- : undefined,
1645
- endAt: output.endAt !== undefined && output.endAt !== null
1646
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endAt)))
1647
- : undefined,
1623
+ createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
1624
+ endAt: output.endAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endAt))) : undefined,
1648
1625
  failed: __expectInt32(output.failed),
1649
1626
  passed: __expectInt32(output.passed),
1650
- startedAt: output.startedAt !== undefined && output.startedAt !== null
1651
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
1652
- : undefined,
1627
+ startedAt: output.startedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt))) : undefined,
1653
1628
  status: __expectString(output.status),
1654
1629
  suiteDefinitionId: __expectString(output.suiteDefinitionId),
1655
1630
  suiteDefinitionName: __expectString(output.suiteDefinitionName),
@@ -1680,14 +1655,10 @@ var deserializeAws_restJson1TagMap = function (output, context) {
1680
1655
  };
1681
1656
  var deserializeAws_restJson1TestCaseRun = function (output, context) {
1682
1657
  return {
1683
- endTime: output.endTime !== undefined && output.endTime !== null
1684
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
1685
- : undefined,
1658
+ endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
1686
1659
  failure: __expectString(output.failure),
1687
1660
  logUrl: __expectString(output.logUrl),
1688
- startTime: output.startTime !== undefined && output.startTime !== null
1689
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
1690
- : undefined,
1661
+ startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
1691
1662
  status: __expectString(output.status),
1692
1663
  testCaseDefinitionId: __expectString(output.testCaseDefinitionId),
1693
1664
  testCaseDefinitionName: __expectString(output.testCaseDefinitionName),
@@ -1708,9 +1679,7 @@ var deserializeAws_restJson1TestCaseRuns = function (output, context) {
1708
1679
  };
1709
1680
  var deserializeAws_restJson1TestResult = function (output, context) {
1710
1681
  return {
1711
- groups: output.groups !== undefined && output.groups !== null
1712
- ? deserializeAws_restJson1GroupResultList(output.groups, context)
1713
- : undefined,
1682
+ groups: output.groups != null ? deserializeAws_restJson1GroupResultList(output.groups, context) : undefined,
1714
1683
  };
1715
1684
  };
1716
1685
  var deserializeMetadata = function (output) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotdeviceadvisor",
3
3
  "description": "AWS SDK for JavaScript Iotdeviceadvisor Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.127.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",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.127.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"