@aws-sdk/client-iotdeviceadvisor 3.52.0 → 3.53.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,17 @@
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-iotdeviceadvisor
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IotDeviceAdvisorServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./IotDeviceAdvisor"), exports);
5
6
  tslib_1.__exportStar(require("./IotDeviceAdvisorClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var IotDeviceAdvisorServiceException_1 = require("./models/IotDeviceAdvisorServiceException");
11
+ Object.defineProperty(exports, "IotDeviceAdvisorServiceException", { enumerable: true, get: function () { return IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IotDeviceAdvisorServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class IotDeviceAdvisorServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, IotDeviceAdvisorServiceException.prototype);
9
+ }
10
+ }
11
+ exports.IotDeviceAdvisorServiceException = IotDeviceAdvisorServiceException;
@@ -1,6 +1,20 @@
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.GetEndpointResponse = exports.GetEndpointRequest = exports.DeleteSuiteDefinitionResponse = exports.DeleteSuiteDefinitionRequest = exports.CreateSuiteDefinitionResponse = exports.CreateSuiteDefinitionRequest = exports.SuiteDefinitionConfiguration = exports.DeviceUnderTest = 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.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;
4
+ const IotDeviceAdvisorServiceException_1 = require("./IotDeviceAdvisorServiceException");
5
+ class ConflictException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConflictException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "ConflictException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, ConflictException.prototype);
15
+ }
16
+ }
17
+ exports.ConflictException = ConflictException;
4
18
  var DeviceUnderTest;
5
19
  (function (DeviceUnderTest) {
6
20
  DeviceUnderTest.filterSensitiveLog = (obj) => ({
@@ -25,6 +39,32 @@ var CreateSuiteDefinitionResponse;
25
39
  ...obj,
26
40
  });
27
41
  })(CreateSuiteDefinitionResponse = exports.CreateSuiteDefinitionResponse || (exports.CreateSuiteDefinitionResponse = {}));
42
+ class InternalServerException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
43
+ constructor(opts) {
44
+ super({
45
+ name: "InternalServerException",
46
+ $fault: "server",
47
+ ...opts,
48
+ });
49
+ this.name = "InternalServerException";
50
+ this.$fault = "server";
51
+ Object.setPrototypeOf(this, InternalServerException.prototype);
52
+ }
53
+ }
54
+ exports.InternalServerException = InternalServerException;
55
+ class ValidationException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
56
+ constructor(opts) {
57
+ super({
58
+ name: "ValidationException",
59
+ $fault: "client",
60
+ ...opts,
61
+ });
62
+ this.name = "ValidationException";
63
+ this.$fault = "client";
64
+ Object.setPrototypeOf(this, ValidationException.prototype);
65
+ }
66
+ }
67
+ exports.ValidationException = ValidationException;
28
68
  var DeleteSuiteDefinitionRequest;
29
69
  (function (DeleteSuiteDefinitionRequest) {
30
70
  DeleteSuiteDefinitionRequest.filterSensitiveLog = (obj) => ({
@@ -49,6 +89,19 @@ var GetEndpointResponse;
49
89
  ...obj,
50
90
  });
51
91
  })(GetEndpointResponse = exports.GetEndpointResponse || (exports.GetEndpointResponse = {}));
92
+ class ResourceNotFoundException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "ResourceNotFoundException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "ResourceNotFoundException";
100
+ this.$fault = "client";
101
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
102
+ }
103
+ }
104
+ exports.ResourceNotFoundException = ResourceNotFoundException;
52
105
  var GetSuiteDefinitionRequest;
53
106
  (function (GetSuiteDefinitionRequest) {
54
107
  GetSuiteDefinitionRequest.filterSensitiveLog = (obj) => ({