@aws-sdk/client-iotdeviceadvisor 3.128.0 → 3.136.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,36 @@
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.136.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.135.0...v3.136.0) (2022-07-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-iotdeviceadvisor:** Added new service feature (Early access only) - Long Duration Test, where customers can test the IoT device to observe how it behaves when the device is in operation for longer period. ([bb17b0c](https://github.com/aws/aws-sdk-js-v3/commit/bb17b0c83d3b7d0219932cd2781ef451a5971ac3))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-iotdeviceadvisor
20
+
21
+
22
+
23
+
24
+
25
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-iotdeviceadvisor
package/README.md CHANGED
@@ -9,15 +9,15 @@
9
9
 
10
10
  AWS SDK for JavaScript IotDeviceAdvisor Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for
13
- validating IoT devices during device software development. Device Advisor provides
14
- pre-built tests that you can use to validate IoT devices for reliable and secure
15
- connectivity with Amazon Web Services IoT Core before deploying devices to production. By using Device Advisor,
16
- you can confirm that your devices can connect to Amazon Web Services IoT Core, follow security
17
- best practices and, if applicable, receive software updates from IoT Device Management.
18
- You can also download signed qualification reports to submit to the Amazon Web Services Partner Network
19
- to get your device qualified for the Amazon Web Services Partner Device Catalog without the need to send
20
- your device in and wait for it to be tested.</p>
12
+ <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT
13
+ devices during device software development. Device Advisor provides pre-built tests that you
14
+ can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core
15
+ before deploying devices to production. By using Device Advisor, you can confirm that your
16
+ devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,
17
+ receive software updates from IoT Device Management. You can also download signed
18
+ qualification reports to submit to the Amazon Web Services Partner Network to get your device
19
+ qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in
20
+ and wait for it to be tested.</p>
21
21
 
22
22
  ## Installing
23
23
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateSuiteDefinitionResponse = exports.UpdateSuiteDefinitionRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopSuiteRunResponse = exports.StopSuiteRunRequest = exports.StartSuiteRunResponse = exports.StartSuiteRunRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSuiteRunsResponse = exports.SuiteRunInformation = exports.ListSuiteRunsRequest = exports.ListSuiteDefinitionsResponse = exports.SuiteDefinitionInformation = exports.ListSuiteDefinitionsRequest = exports.GetSuiteRunReportResponse = exports.GetSuiteRunReportRequest = exports.GetSuiteRunResponse = exports.TestResult = exports.GroupResult = exports.TestCaseRun = exports.Status = exports.SuiteRunConfiguration = exports.SuiteRunStatus = exports.GetSuiteRunRequest = exports.GetSuiteDefinitionResponse = exports.GetSuiteDefinitionRequest = exports.ResourceNotFoundException = exports.GetEndpointResponse = exports.GetEndpointRequest = exports.DeleteSuiteDefinitionResponse = exports.DeleteSuiteDefinitionRequest = exports.ValidationException = exports.InternalServerException = exports.CreateSuiteDefinitionResponse = exports.CreateSuiteDefinitionRequest = exports.SuiteDefinitionConfiguration = exports.DeviceUnderTest = exports.ConflictException = void 0;
3
+ exports.UpdateSuiteDefinitionResponse = exports.UpdateSuiteDefinitionRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopSuiteRunResponse = exports.StopSuiteRunRequest = exports.StartSuiteRunResponse = exports.StartSuiteRunRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSuiteRunsResponse = exports.SuiteRunInformation = exports.ListSuiteRunsRequest = exports.ListSuiteDefinitionsResponse = exports.SuiteDefinitionInformation = exports.ListSuiteDefinitionsRequest = exports.GetSuiteRunReportResponse = exports.GetSuiteRunReportRequest = exports.GetSuiteRunResponse = exports.TestResult = exports.GroupResult = exports.TestCaseRun = exports.TestCaseScenario = exports.TestCaseScenarioType = exports.TestCaseScenarioStatus = exports.Status = exports.SuiteRunConfiguration = exports.SuiteRunStatus = exports.GetSuiteRunRequest = exports.GetSuiteDefinitionResponse = exports.GetSuiteDefinitionRequest = exports.ResourceNotFoundException = exports.GetEndpointResponse = exports.GetEndpointRequest = exports.DeleteSuiteDefinitionResponse = exports.DeleteSuiteDefinitionRequest = exports.ValidationException = exports.InternalServerException = exports.CreateSuiteDefinitionResponse = exports.CreateSuiteDefinitionRequest = exports.SuiteDefinitionConfiguration = exports.Protocol = exports.DeviceUnderTest = exports.ConflictException = void 0;
4
4
  const IotDeviceAdvisorServiceException_1 = require("./IotDeviceAdvisorServiceException");
5
5
  class ConflictException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
6
6
  constructor(opts) {
@@ -21,6 +21,11 @@ var DeviceUnderTest;
21
21
  ...obj,
22
22
  });
23
23
  })(DeviceUnderTest = exports.DeviceUnderTest || (exports.DeviceUnderTest = {}));
24
+ var Protocol;
25
+ (function (Protocol) {
26
+ Protocol["MqttV3_1_1"] = "MqttV3_1_1";
27
+ Protocol["MqttV5"] = "MqttV5";
28
+ })(Protocol = exports.Protocol || (exports.Protocol = {}));
24
29
  var SuiteDefinitionConfiguration;
25
30
  (function (SuiteDefinitionConfiguration) {
26
31
  SuiteDefinitionConfiguration.filterSensitiveLog = (obj) => ({
@@ -150,6 +155,29 @@ var Status;
150
155
  Status["STOPPED"] = "STOPPED";
151
156
  Status["STOPPING"] = "STOPPING";
152
157
  })(Status = exports.Status || (exports.Status = {}));
158
+ var TestCaseScenarioStatus;
159
+ (function (TestCaseScenarioStatus) {
160
+ TestCaseScenarioStatus["CANCELED"] = "CANCELED";
161
+ TestCaseScenarioStatus["ERROR"] = "ERROR";
162
+ TestCaseScenarioStatus["FAIL"] = "FAIL";
163
+ TestCaseScenarioStatus["PASS"] = "PASS";
164
+ TestCaseScenarioStatus["PASS_WITH_WARNINGS"] = "PASS_WITH_WARNINGS";
165
+ TestCaseScenarioStatus["PENDING"] = "PENDING";
166
+ TestCaseScenarioStatus["RUNNING"] = "RUNNING";
167
+ TestCaseScenarioStatus["STOPPED"] = "STOPPED";
168
+ TestCaseScenarioStatus["STOPPING"] = "STOPPING";
169
+ })(TestCaseScenarioStatus = exports.TestCaseScenarioStatus || (exports.TestCaseScenarioStatus = {}));
170
+ var TestCaseScenarioType;
171
+ (function (TestCaseScenarioType) {
172
+ TestCaseScenarioType["Advanced"] = "Advanced";
173
+ TestCaseScenarioType["Basic"] = "Basic";
174
+ })(TestCaseScenarioType = exports.TestCaseScenarioType || (exports.TestCaseScenarioType = {}));
175
+ var TestCaseScenario;
176
+ (function (TestCaseScenario) {
177
+ TestCaseScenario.filterSensitiveLog = (obj) => ({
178
+ ...obj,
179
+ });
180
+ })(TestCaseScenario = exports.TestCaseScenario || (exports.TestCaseScenario = {}));
153
181
  var TestCaseRun;
154
182
  (function (TestCaseRun) {
155
183
  TestCaseRun.filterSensitiveLog = (obj) => ({
@@ -1197,6 +1197,8 @@ const serializeAws_restJson1SuiteDefinitionConfiguration = (input, context) => {
1197
1197
  ...(input.devicePermissionRoleArn != null && { devicePermissionRoleArn: input.devicePermissionRoleArn }),
1198
1198
  ...(input.devices != null && { devices: serializeAws_restJson1DeviceUnderTestList(input.devices, context) }),
1199
1199
  ...(input.intendedForQualification != null && { intendedForQualification: input.intendedForQualification }),
1200
+ ...(input.isLongDurationTest != null && { isLongDurationTest: input.isLongDurationTest }),
1201
+ ...(input.protocol != null && { protocol: input.protocol }),
1200
1202
  ...(input.rootGroup != null && { rootGroup: input.rootGroup }),
1201
1203
  ...(input.suiteDefinitionName != null && { suiteDefinitionName: input.suiteDefinitionName }),
1202
1204
  };
@@ -1274,6 +1276,8 @@ const deserializeAws_restJson1SuiteDefinitionConfiguration = (output, context) =
1274
1276
  devicePermissionRoleArn: (0, smithy_client_1.expectString)(output.devicePermissionRoleArn),
1275
1277
  devices: output.devices != null ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context) : undefined,
1276
1278
  intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
1279
+ isLongDurationTest: (0, smithy_client_1.expectBoolean)(output.isLongDurationTest),
1280
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
1277
1281
  rootGroup: (0, smithy_client_1.expectString)(output.rootGroup),
1278
1282
  suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
1279
1283
  };
@@ -1285,6 +1289,8 @@ const deserializeAws_restJson1SuiteDefinitionInformation = (output, context) =>
1285
1289
  ? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
1286
1290
  : undefined,
1287
1291
  intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
1292
+ isLongDurationTest: (0, smithy_client_1.expectBoolean)(output.isLongDurationTest),
1293
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
1288
1294
  suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
1289
1295
  suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
1290
1296
  };
@@ -1355,6 +1361,9 @@ const deserializeAws_restJson1TestCaseRun = (output, context) => {
1355
1361
  testCaseDefinitionId: (0, smithy_client_1.expectString)(output.testCaseDefinitionId),
1356
1362
  testCaseDefinitionName: (0, smithy_client_1.expectString)(output.testCaseDefinitionName),
1357
1363
  testCaseRunId: (0, smithy_client_1.expectString)(output.testCaseRunId),
1364
+ testScenarios: output.testScenarios != null
1365
+ ? deserializeAws_restJson1TestCaseScenariosList(output.testScenarios, context)
1366
+ : undefined,
1358
1367
  warnings: (0, smithy_client_1.expectString)(output.warnings),
1359
1368
  };
1360
1369
  };
@@ -1369,6 +1378,26 @@ const deserializeAws_restJson1TestCaseRuns = (output, context) => {
1369
1378
  });
1370
1379
  return retVal;
1371
1380
  };
1381
+ const deserializeAws_restJson1TestCaseScenario = (output, context) => {
1382
+ return {
1383
+ failure: (0, smithy_client_1.expectString)(output.failure),
1384
+ status: (0, smithy_client_1.expectString)(output.status),
1385
+ systemMessage: (0, smithy_client_1.expectString)(output.systemMessage),
1386
+ testCaseScenarioId: (0, smithy_client_1.expectString)(output.testCaseScenarioId),
1387
+ testCaseScenarioType: (0, smithy_client_1.expectString)(output.testCaseScenarioType),
1388
+ };
1389
+ };
1390
+ const deserializeAws_restJson1TestCaseScenariosList = (output, context) => {
1391
+ const retVal = (output || [])
1392
+ .filter((e) => e != null)
1393
+ .map((entry) => {
1394
+ if (entry === null) {
1395
+ return null;
1396
+ }
1397
+ return deserializeAws_restJson1TestCaseScenario(entry, context);
1398
+ });
1399
+ return retVal;
1400
+ };
1372
1401
  const deserializeAws_restJson1TestResult = (output, context) => {
1373
1402
  return {
1374
1403
  groups: output.groups != null ? deserializeAws_restJson1GroupResultList(output.groups, context) : undefined,
@@ -1405,6 +1434,9 @@ const loadRestJsonErrorCode = (output, data) => {
1405
1434
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1406
1435
  const sanitizeErrorCode = (rawValue) => {
1407
1436
  let cleanValue = rawValue;
1437
+ if (typeof cleanValue === "number") {
1438
+ cleanValue = cleanValue.toString();
1439
+ }
1408
1440
  if (cleanValue.indexOf(":") >= 0) {
1409
1441
  cleanValue = cleanValue.split(":")[0];
1410
1442
  }
@@ -16,6 +16,11 @@ export var DeviceUnderTest;
16
16
  (function (DeviceUnderTest) {
17
17
  DeviceUnderTest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
18
  })(DeviceUnderTest || (DeviceUnderTest = {}));
19
+ export var Protocol;
20
+ (function (Protocol) {
21
+ Protocol["MqttV3_1_1"] = "MqttV3_1_1";
22
+ Protocol["MqttV5"] = "MqttV5";
23
+ })(Protocol || (Protocol = {}));
19
24
  export var SuiteDefinitionConfiguration;
20
25
  (function (SuiteDefinitionConfiguration) {
21
26
  SuiteDefinitionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -120,6 +125,27 @@ export var Status;
120
125
  Status["STOPPED"] = "STOPPED";
121
126
  Status["STOPPING"] = "STOPPING";
122
127
  })(Status || (Status = {}));
128
+ export var TestCaseScenarioStatus;
129
+ (function (TestCaseScenarioStatus) {
130
+ TestCaseScenarioStatus["CANCELED"] = "CANCELED";
131
+ TestCaseScenarioStatus["ERROR"] = "ERROR";
132
+ TestCaseScenarioStatus["FAIL"] = "FAIL";
133
+ TestCaseScenarioStatus["PASS"] = "PASS";
134
+ TestCaseScenarioStatus["PASS_WITH_WARNINGS"] = "PASS_WITH_WARNINGS";
135
+ TestCaseScenarioStatus["PENDING"] = "PENDING";
136
+ TestCaseScenarioStatus["RUNNING"] = "RUNNING";
137
+ TestCaseScenarioStatus["STOPPED"] = "STOPPED";
138
+ TestCaseScenarioStatus["STOPPING"] = "STOPPING";
139
+ })(TestCaseScenarioStatus || (TestCaseScenarioStatus = {}));
140
+ export var TestCaseScenarioType;
141
+ (function (TestCaseScenarioType) {
142
+ TestCaseScenarioType["Advanced"] = "Advanced";
143
+ TestCaseScenarioType["Basic"] = "Basic";
144
+ })(TestCaseScenarioType || (TestCaseScenarioType = {}));
145
+ export var TestCaseScenario;
146
+ (function (TestCaseScenario) {
147
+ TestCaseScenario.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
+ })(TestCaseScenario || (TestCaseScenario = {}));
123
149
  export var TestCaseRun;
124
150
  (function (TestCaseRun) {
125
151
  TestCaseRun.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1513,7 +1513,7 @@ var serializeAws_restJson1SelectedTestList = function (input, context) {
1513
1513
  });
1514
1514
  };
1515
1515
  var serializeAws_restJson1SuiteDefinitionConfiguration = function (input, context) {
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 }));
1516
+ return __assign(__assign(__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.isLongDurationTest != null && { isLongDurationTest: input.isLongDurationTest })), (input.protocol != null && { protocol: input.protocol })), (input.rootGroup != null && { rootGroup: input.rootGroup })), (input.suiteDefinitionName != null && { suiteDefinitionName: input.suiteDefinitionName }));
1517
1517
  };
1518
1518
  var serializeAws_restJson1SuiteRunConfiguration = function (input, context) {
1519
1519
  return __assign(__assign(__assign({}, (input.parallelRun != null && { parallelRun: input.parallelRun })), (input.primaryDevice != null && {
@@ -1583,6 +1583,8 @@ var deserializeAws_restJson1SuiteDefinitionConfiguration = function (output, con
1583
1583
  devicePermissionRoleArn: __expectString(output.devicePermissionRoleArn),
1584
1584
  devices: output.devices != null ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context) : undefined,
1585
1585
  intendedForQualification: __expectBoolean(output.intendedForQualification),
1586
+ isLongDurationTest: __expectBoolean(output.isLongDurationTest),
1587
+ protocol: __expectString(output.protocol),
1586
1588
  rootGroup: __expectString(output.rootGroup),
1587
1589
  suiteDefinitionName: __expectString(output.suiteDefinitionName),
1588
1590
  };
@@ -1594,6 +1596,8 @@ var deserializeAws_restJson1SuiteDefinitionInformation = function (output, conte
1594
1596
  ? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
1595
1597
  : undefined,
1596
1598
  intendedForQualification: __expectBoolean(output.intendedForQualification),
1599
+ isLongDurationTest: __expectBoolean(output.isLongDurationTest),
1600
+ protocol: __expectString(output.protocol),
1597
1601
  suiteDefinitionId: __expectString(output.suiteDefinitionId),
1598
1602
  suiteDefinitionName: __expectString(output.suiteDefinitionName),
1599
1603
  };
@@ -1663,6 +1667,9 @@ var deserializeAws_restJson1TestCaseRun = function (output, context) {
1663
1667
  testCaseDefinitionId: __expectString(output.testCaseDefinitionId),
1664
1668
  testCaseDefinitionName: __expectString(output.testCaseDefinitionName),
1665
1669
  testCaseRunId: __expectString(output.testCaseRunId),
1670
+ testScenarios: output.testScenarios != null
1671
+ ? deserializeAws_restJson1TestCaseScenariosList(output.testScenarios, context)
1672
+ : undefined,
1666
1673
  warnings: __expectString(output.warnings),
1667
1674
  };
1668
1675
  };
@@ -1677,6 +1684,26 @@ var deserializeAws_restJson1TestCaseRuns = function (output, context) {
1677
1684
  });
1678
1685
  return retVal;
1679
1686
  };
1687
+ var deserializeAws_restJson1TestCaseScenario = function (output, context) {
1688
+ return {
1689
+ failure: __expectString(output.failure),
1690
+ status: __expectString(output.status),
1691
+ systemMessage: __expectString(output.systemMessage),
1692
+ testCaseScenarioId: __expectString(output.testCaseScenarioId),
1693
+ testCaseScenarioType: __expectString(output.testCaseScenarioType),
1694
+ };
1695
+ };
1696
+ var deserializeAws_restJson1TestCaseScenariosList = function (output, context) {
1697
+ var retVal = (output || [])
1698
+ .filter(function (e) { return e != null; })
1699
+ .map(function (entry) {
1700
+ if (entry === null) {
1701
+ return null;
1702
+ }
1703
+ return deserializeAws_restJson1TestCaseScenario(entry, context);
1704
+ });
1705
+ return retVal;
1706
+ };
1680
1707
  var deserializeAws_restJson1TestResult = function (output, context) {
1681
1708
  return {
1682
1709
  groups: output.groups != null ? deserializeAws_restJson1GroupResultList(output.groups, context) : undefined,
@@ -1720,6 +1747,9 @@ var loadRestJsonErrorCode = function (output, data) {
1720
1747
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
1721
1748
  var sanitizeErrorCode = function (rawValue) {
1722
1749
  var cleanValue = rawValue;
1750
+ if (typeof cleanValue === "number") {
1751
+ cleanValue = cleanValue.toString();
1752
+ }
1723
1753
  if (cleanValue.indexOf(":") >= 0) {
1724
1754
  cleanValue = cleanValue.split(":")[0];
1725
1755
  }
@@ -15,15 +15,15 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
15
15
  import { UpdateSuiteDefinitionCommandInput, UpdateSuiteDefinitionCommandOutput } from "./commands/UpdateSuiteDefinitionCommand";
16
16
  import { IotDeviceAdvisorClient } from "./IotDeviceAdvisorClient";
17
17
  /**
18
- * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for
19
- * validating IoT devices during device software development. Device Advisor provides
20
- * pre-built tests that you can use to validate IoT devices for reliable and secure
21
- * connectivity with Amazon Web Services IoT Core before deploying devices to production. By using Device Advisor,
22
- * you can confirm that your devices can connect to Amazon Web Services IoT Core, follow security
23
- * best practices and, if applicable, receive software updates from IoT Device Management.
24
- * You can also download signed qualification reports to submit to the Amazon Web Services Partner Network
25
- * to get your device qualified for the Amazon Web Services Partner Device Catalog without the need to send
26
- * your device in and wait for it to be tested.</p>
18
+ * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT
19
+ * devices during device software development. Device Advisor provides pre-built tests that you
20
+ * can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core
21
+ * before deploying devices to production. By using Device Advisor, you can confirm that your
22
+ * devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,
23
+ * receive software updates from IoT Device Management. You can also download signed
24
+ * qualification reports to submit to the Amazon Web Services Partner Network to get your device
25
+ * qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in
26
+ * and wait for it to be tested.</p>
27
27
  */
28
28
  export declare class IotDeviceAdvisor extends IotDeviceAdvisorClient {
29
29
  /**
@@ -140,15 +140,15 @@ declare type IotDeviceAdvisorClientResolvedConfigType = __SmithyResolvedConfigur
140
140
  export interface IotDeviceAdvisorClientResolvedConfig extends IotDeviceAdvisorClientResolvedConfigType {
141
141
  }
142
142
  /**
143
- * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for
144
- * validating IoT devices during device software development. Device Advisor provides
145
- * pre-built tests that you can use to validate IoT devices for reliable and secure
146
- * connectivity with Amazon Web Services IoT Core before deploying devices to production. By using Device Advisor,
147
- * you can confirm that your devices can connect to Amazon Web Services IoT Core, follow security
148
- * best practices and, if applicable, receive software updates from IoT Device Management.
149
- * You can also download signed qualification reports to submit to the Amazon Web Services Partner Network
150
- * to get your device qualified for the Amazon Web Services Partner Device Catalog without the need to send
151
- * your device in and wait for it to be tested.</p>
143
+ * <p>Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT
144
+ * devices during device software development. Device Advisor provides pre-built tests that you
145
+ * can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core
146
+ * before deploying devices to production. By using Device Advisor, you can confirm that your
147
+ * devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,
148
+ * receive software updates from IoT Device Management. You can also download signed
149
+ * qualification reports to submit to the Amazon Web Services Partner Network to get your device
150
+ * qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in
151
+ * and wait for it to be tested.</p>
152
152
  */
153
153
  export declare class IotDeviceAdvisorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IotDeviceAdvisorClientResolvedConfig> {
154
154
  /**
@@ -30,6 +30,10 @@ export declare namespace DeviceUnderTest {
30
30
  */
31
31
  const filterSensitiveLog: (obj: DeviceUnderTest) => any;
32
32
  }
33
+ export declare enum Protocol {
34
+ MqttV3_1_1 = "MqttV3_1_1",
35
+ MqttV5 = "MqttV5"
36
+ }
33
37
  /**
34
38
  * <p>Gets Suite Definition Configuration.</p>
35
39
  */
@@ -46,6 +50,10 @@ export interface SuiteDefinitionConfiguration {
46
50
  * <p>Gets the tests intended for qualification in a suite.</p>
47
51
  */
48
52
  intendedForQualification?: boolean;
53
+ /**
54
+ * <p> Verifies if the test suite is a long duration test. </p>
55
+ */
56
+ isLongDurationTest?: boolean;
49
57
  /**
50
58
  * <p>Gets test suite root group.</p>
51
59
  */
@@ -54,6 +62,10 @@ export interface SuiteDefinitionConfiguration {
54
62
  * <p>Gets the device permission ARN.</p>
55
63
  */
56
64
  devicePermissionRoleArn?: string;
65
+ /**
66
+ * <p> Gets the MQTT protocol that is configured in the suite definition.</p>
67
+ */
68
+ protocol?: Protocol | string;
57
69
  }
58
70
  export declare namespace SuiteDefinitionConfiguration {
59
71
  /**
@@ -299,6 +311,99 @@ export declare enum Status {
299
311
  STOPPED = "STOPPED",
300
312
  STOPPING = "STOPPING"
301
313
  }
314
+ export declare enum TestCaseScenarioStatus {
315
+ CANCELED = "CANCELED",
316
+ ERROR = "ERROR",
317
+ FAIL = "FAIL",
318
+ PASS = "PASS",
319
+ PASS_WITH_WARNINGS = "PASS_WITH_WARNINGS",
320
+ PENDING = "PENDING",
321
+ RUNNING = "RUNNING",
322
+ STOPPED = "STOPPED",
323
+ STOPPING = "STOPPING"
324
+ }
325
+ export declare enum TestCaseScenarioType {
326
+ Advanced = "Advanced",
327
+ Basic = "Basic"
328
+ }
329
+ /**
330
+ * <p>Provides test case scenario.</p>
331
+ */
332
+ export interface TestCaseScenario {
333
+ /**
334
+ * <p>Provides test case scenario ID.</p>
335
+ */
336
+ testCaseScenarioId?: string;
337
+ /**
338
+ * <p>Provides test case scenario type. Type is one of the following:</p>
339
+ * <ul>
340
+ * <li>
341
+ * <p>Advanced</p>
342
+ * </li>
343
+ * <li>
344
+ * <p>Basic</p>
345
+ * </li>
346
+ * </ul>
347
+ */
348
+ testCaseScenarioType?: TestCaseScenarioType | string;
349
+ /**
350
+ * <p>Provides the test case scenario status. Status is one of the following:</p>
351
+ * <ul>
352
+ * <li>
353
+ * <p>
354
+ * <code>PASS</code>: Test passed.</p>
355
+ * </li>
356
+ * <li>
357
+ * <p>
358
+ * <code>FAIL</code>: Test failed.</p>
359
+ * </li>
360
+ * <li>
361
+ * <p>
362
+ * <code>PENDING</code>: Test has not started running but is scheduled.</p>
363
+ * </li>
364
+ * <li>
365
+ * <p>
366
+ * <code>RUNNING</code>: Test is running.</p>
367
+ * </li>
368
+ * <li>
369
+ * <p>
370
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this
371
+ * status only if you stop a suite run.</p>
372
+ * </li>
373
+ * <li>
374
+ * <p>
375
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you
376
+ * stop a suite run.</p>
377
+ * </li>
378
+ * <li>
379
+ * <p>
380
+ * <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
381
+ * </li>
382
+ * <li>
383
+ * <p>
384
+ * <code>ERORR</code>: Test faced an error when running due to an internal
385
+ * issue.</p>
386
+ * </li>
387
+ * </ul>
388
+ */
389
+ status?: TestCaseScenarioStatus | string;
390
+ /**
391
+ * <p>Provides test case scenario failure result.</p>
392
+ */
393
+ failure?: string;
394
+ /**
395
+ * <p>
396
+ *
397
+ * </p>
398
+ */
399
+ systemMessage?: string;
400
+ }
401
+ export declare namespace TestCaseScenario {
402
+ /**
403
+ * @internal
404
+ */
405
+ const filterSensitiveLog: (obj: TestCaseScenario) => any;
406
+ }
302
407
  /**
303
408
  * <p>Provides the test case run.</p>
304
409
  */
@@ -319,36 +424,39 @@ export interface TestCaseRun {
319
424
  * <p>Provides the test case run status. Status is one of the following:</p>
320
425
  * <ul>
321
426
  * <li>
322
- * <p>
427
+ * <p>
323
428
  * <code>PASS</code>: Test passed.</p>
324
429
  * </li>
325
430
  * <li>
326
- * <p>
431
+ * <p>
327
432
  * <code>FAIL</code>: Test failed.</p>
328
433
  * </li>
329
434
  * <li>
330
- * <p>
435
+ * <p>
331
436
  * <code>PENDING</code>: Test has not started running but is scheduled.</p>
332
437
  * </li>
333
438
  * <li>
334
- * <p>
439
+ * <p>
335
440
  * <code>RUNNING</code>: Test is running.</p>
336
441
  * </li>
337
442
  * <li>
338
- * <p>
339
- * <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p>
443
+ * <p>
444
+ * <code>STOPPING</code>: Test is performing cleanup steps. You will see this
445
+ * status only if you stop a suite run.</p>
340
446
  * </li>
341
447
  * <li>
342
- * <p>
343
- * <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p>
448
+ * <p>
449
+ * <code>STOPPED</code> Test is stopped. You will see this status only if you
450
+ * stop a suite run.</p>
344
451
  * </li>
345
452
  * <li>
346
- * <p>
453
+ * <p>
347
454
  * <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p>
348
455
  * </li>
349
456
  * <li>
350
- * <p>
351
- * <code>ERORR</code>: Test faced an error when running due to an internal issue.</p>
457
+ * <p>
458
+ * <code>ERORR</code>: Test faced an error when running due to an internal
459
+ * issue.</p>
352
460
  * </li>
353
461
  * </ul>
354
462
  */
@@ -373,6 +481,10 @@ export interface TestCaseRun {
373
481
  * <p>Provides test case run failure result.</p>
374
482
  */
375
483
  failure?: string;
484
+ /**
485
+ * <p> Provides the test scenarios for the test case run. </p>
486
+ */
487
+ testScenarios?: TestCaseScenario[];
376
488
  }
377
489
  export declare namespace TestCaseRun {
378
490
  /**
@@ -534,6 +646,14 @@ export interface SuiteDefinitionInformation {
534
646
  * <p>Specifies if the test suite is intended for qualification.</p>
535
647
  */
536
648
  intendedForQualification?: boolean;
649
+ /**
650
+ * <p> Verifies if the test suite is a long duration test. </p>
651
+ */
652
+ isLongDurationTest?: boolean;
653
+ /**
654
+ * <p> Gets the MQTT protocol that is configured in the suite definition.</p>
655
+ */
656
+ protocol?: Protocol | string;
537
657
  /**
538
658
  * <p>Date (in Unix epoch time) when the test suite was created.</p>
539
659
  */
@@ -547,7 +667,8 @@ export declare namespace SuiteDefinitionInformation {
547
667
  }
548
668
  export interface ListSuiteDefinitionsResponse {
549
669
  /**
550
- * <p>An array of objects that provide summaries of information about the suite definitions in the list.</p>
670
+ * <p>An array of objects that provide summaries of information about the suite definitions
671
+ * in the list.</p>
551
672
  */
552
673
  suiteDefinitionInformationList?: SuiteDefinitionInformation[];
553
674
  /**
@@ -641,7 +762,8 @@ export declare namespace SuiteRunInformation {
641
762
  }
642
763
  export interface ListSuiteRunsResponse {
643
764
  /**
644
- * <p>An array of objects that provide summaries of information about the suite runs in the list.</p>
765
+ * <p>An array of objects that provide summaries of information about the suite runs in the
766
+ * list.</p>
645
767
  */
646
768
  suiteRunsList?: SuiteRunInformation[];
647
769
  /**
@@ -18,6 +18,10 @@ export declare namespace DeviceUnderTest {
18
18
 
19
19
  const filterSensitiveLog: (obj: DeviceUnderTest) => any;
20
20
  }
21
+ export declare enum Protocol {
22
+ MqttV3_1_1 = "MqttV3_1_1",
23
+ MqttV5 = "MqttV5"
24
+ }
21
25
 
22
26
  export interface SuiteDefinitionConfiguration {
23
27
 
@@ -27,9 +31,13 @@ export interface SuiteDefinitionConfiguration {
27
31
 
28
32
  intendedForQualification?: boolean;
29
33
 
34
+ isLongDurationTest?: boolean;
35
+
30
36
  rootGroup?: string;
31
37
 
32
38
  devicePermissionRoleArn?: string;
39
+
40
+ protocol?: Protocol | string;
33
41
  }
34
42
  export declare namespace SuiteDefinitionConfiguration {
35
43
 
@@ -189,6 +197,38 @@ export declare enum Status {
189
197
  STOPPED = "STOPPED",
190
198
  STOPPING = "STOPPING"
191
199
  }
200
+ export declare enum TestCaseScenarioStatus {
201
+ CANCELED = "CANCELED",
202
+ ERROR = "ERROR",
203
+ FAIL = "FAIL",
204
+ PASS = "PASS",
205
+ PASS_WITH_WARNINGS = "PASS_WITH_WARNINGS",
206
+ PENDING = "PENDING",
207
+ RUNNING = "RUNNING",
208
+ STOPPED = "STOPPED",
209
+ STOPPING = "STOPPING"
210
+ }
211
+ export declare enum TestCaseScenarioType {
212
+ Advanced = "Advanced",
213
+ Basic = "Basic"
214
+ }
215
+
216
+ export interface TestCaseScenario {
217
+
218
+ testCaseScenarioId?: string;
219
+
220
+ testCaseScenarioType?: TestCaseScenarioType | string;
221
+
222
+ status?: TestCaseScenarioStatus | string;
223
+
224
+ failure?: string;
225
+
226
+ systemMessage?: string;
227
+ }
228
+ export declare namespace TestCaseScenario {
229
+
230
+ const filterSensitiveLog: (obj: TestCaseScenario) => any;
231
+ }
192
232
 
193
233
  export interface TestCaseRun {
194
234
 
@@ -209,6 +249,8 @@ export interface TestCaseRun {
209
249
  warnings?: string;
210
250
 
211
251
  failure?: string;
252
+
253
+ testScenarios?: TestCaseScenario[];
212
254
  }
213
255
  export declare namespace TestCaseRun {
214
256
 
@@ -303,6 +345,10 @@ export interface SuiteDefinitionInformation {
303
345
 
304
346
  intendedForQualification?: boolean;
305
347
 
348
+ isLongDurationTest?: boolean;
349
+
350
+ protocol?: Protocol | string;
351
+
306
352
  createdAt?: Date;
307
353
  }
308
354
  export declare namespace SuiteDefinitionInformation {
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.128.0",
4
+ "version": "3.136.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,10 +18,10 @@
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.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.131.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.131.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",