@aws-sdk/client-iot-jobs-data-plane 3.183.0 → 3.186.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.
@@ -1,16 +1,17 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { IoTJobsDataPlaneServiceException as __BaseException } from "./IoTJobsDataPlaneServiceException";
2
- export class CertificateValidationException extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "CertificateValidationException",
6
- $fault: "client",
7
- ...opts,
8
- });
9
- this.name = "CertificateValidationException";
10
- this.$fault = "client";
11
- Object.setPrototypeOf(this, CertificateValidationException.prototype);
3
+ var CertificateValidationException = (function (_super) {
4
+ __extends(CertificateValidationException, _super);
5
+ function CertificateValidationException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "CertificateValidationException", $fault: "client" }, opts)) || this;
7
+ _this.name = "CertificateValidationException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, CertificateValidationException.prototype);
10
+ return _this;
12
11
  }
13
- }
12
+ return CertificateValidationException;
13
+ }(__BaseException));
14
+ export { CertificateValidationException };
14
15
  export var JobExecutionStatus;
15
16
  (function (JobExecutionStatus) {
16
17
  JobExecutionStatus["CANCELED"] = "CANCELED";
@@ -22,109 +23,87 @@ export var JobExecutionStatus;
22
23
  JobExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
23
24
  JobExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
24
25
  })(JobExecutionStatus || (JobExecutionStatus = {}));
25
- export class InvalidRequestException extends __BaseException {
26
- constructor(opts) {
27
- super({
28
- name: "InvalidRequestException",
29
- $fault: "client",
30
- ...opts,
31
- });
32
- this.name = "InvalidRequestException";
33
- this.$fault = "client";
34
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
26
+ var InvalidRequestException = (function (_super) {
27
+ __extends(InvalidRequestException, _super);
28
+ function InvalidRequestException(opts) {
29
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
30
+ _this.name = "InvalidRequestException";
31
+ _this.$fault = "client";
32
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
33
+ return _this;
35
34
  }
36
- }
37
- export class ResourceNotFoundException extends __BaseException {
38
- constructor(opts) {
39
- super({
40
- name: "ResourceNotFoundException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- this.name = "ResourceNotFoundException";
45
- this.$fault = "client";
46
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
35
+ return InvalidRequestException;
36
+ }(__BaseException));
37
+ export { InvalidRequestException };
38
+ var ResourceNotFoundException = (function (_super) {
39
+ __extends(ResourceNotFoundException, _super);
40
+ function ResourceNotFoundException(opts) {
41
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
42
+ _this.name = "ResourceNotFoundException";
43
+ _this.$fault = "client";
44
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
45
+ return _this;
47
46
  }
48
- }
49
- export class ServiceUnavailableException extends __BaseException {
50
- constructor(opts) {
51
- super({
52
- name: "ServiceUnavailableException",
53
- $fault: "server",
54
- ...opts,
55
- });
56
- this.name = "ServiceUnavailableException";
57
- this.$fault = "server";
58
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
47
+ return ResourceNotFoundException;
48
+ }(__BaseException));
49
+ export { ResourceNotFoundException };
50
+ var ServiceUnavailableException = (function (_super) {
51
+ __extends(ServiceUnavailableException, _super);
52
+ function ServiceUnavailableException(opts) {
53
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
54
+ _this.name = "ServiceUnavailableException";
55
+ _this.$fault = "server";
56
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
57
+ return _this;
59
58
  }
60
- }
61
- export class TerminalStateException extends __BaseException {
62
- constructor(opts) {
63
- super({
64
- name: "TerminalStateException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- this.name = "TerminalStateException";
69
- this.$fault = "client";
70
- Object.setPrototypeOf(this, TerminalStateException.prototype);
59
+ return ServiceUnavailableException;
60
+ }(__BaseException));
61
+ export { ServiceUnavailableException };
62
+ var TerminalStateException = (function (_super) {
63
+ __extends(TerminalStateException, _super);
64
+ function TerminalStateException(opts) {
65
+ var _this = _super.call(this, __assign({ name: "TerminalStateException", $fault: "client" }, opts)) || this;
66
+ _this.name = "TerminalStateException";
67
+ _this.$fault = "client";
68
+ Object.setPrototypeOf(_this, TerminalStateException.prototype);
69
+ return _this;
71
70
  }
72
- }
73
- export class ThrottlingException extends __BaseException {
74
- constructor(opts) {
75
- super({
76
- name: "ThrottlingException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- this.name = "ThrottlingException";
81
- this.$fault = "client";
82
- Object.setPrototypeOf(this, ThrottlingException.prototype);
83
- this.payload = opts.payload;
71
+ return TerminalStateException;
72
+ }(__BaseException));
73
+ export { TerminalStateException };
74
+ var ThrottlingException = (function (_super) {
75
+ __extends(ThrottlingException, _super);
76
+ function ThrottlingException(opts) {
77
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
78
+ _this.name = "ThrottlingException";
79
+ _this.$fault = "client";
80
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
81
+ _this.payload = opts.payload;
82
+ return _this;
84
83
  }
85
- }
86
- export class InvalidStateTransitionException extends __BaseException {
87
- constructor(opts) {
88
- super({
89
- name: "InvalidStateTransitionException",
90
- $fault: "client",
91
- ...opts,
92
- });
93
- this.name = "InvalidStateTransitionException";
94
- this.$fault = "client";
95
- Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
84
+ return ThrottlingException;
85
+ }(__BaseException));
86
+ export { ThrottlingException };
87
+ var InvalidStateTransitionException = (function (_super) {
88
+ __extends(InvalidStateTransitionException, _super);
89
+ function InvalidStateTransitionException(opts) {
90
+ var _this = _super.call(this, __assign({ name: "InvalidStateTransitionException", $fault: "client" }, opts)) || this;
91
+ _this.name = "InvalidStateTransitionException";
92
+ _this.$fault = "client";
93
+ Object.setPrototypeOf(_this, InvalidStateTransitionException.prototype);
94
+ return _this;
96
95
  }
97
- }
98
- export const DescribeJobExecutionRequestFilterSensitiveLog = (obj) => ({
99
- ...obj,
100
- });
101
- export const JobExecutionFilterSensitiveLog = (obj) => ({
102
- ...obj,
103
- });
104
- export const DescribeJobExecutionResponseFilterSensitiveLog = (obj) => ({
105
- ...obj,
106
- });
107
- export const GetPendingJobExecutionsRequestFilterSensitiveLog = (obj) => ({
108
- ...obj,
109
- });
110
- export const JobExecutionSummaryFilterSensitiveLog = (obj) => ({
111
- ...obj,
112
- });
113
- export const GetPendingJobExecutionsResponseFilterSensitiveLog = (obj) => ({
114
- ...obj,
115
- });
116
- export const StartNextPendingJobExecutionRequestFilterSensitiveLog = (obj) => ({
117
- ...obj,
118
- });
119
- export const StartNextPendingJobExecutionResponseFilterSensitiveLog = (obj) => ({
120
- ...obj,
121
- });
122
- export const UpdateJobExecutionRequestFilterSensitiveLog = (obj) => ({
123
- ...obj,
124
- });
125
- export const JobExecutionStateFilterSensitiveLog = (obj) => ({
126
- ...obj,
127
- });
128
- export const UpdateJobExecutionResponseFilterSensitiveLog = (obj) => ({
129
- ...obj,
130
- });
96
+ return InvalidStateTransitionException;
97
+ }(__BaseException));
98
+ export { InvalidStateTransitionException };
99
+ export var DescribeJobExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
+ export var JobExecutionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
+ export var DescribeJobExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
+ export var GetPendingJobExecutionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
103
+ export var JobExecutionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
+ export var GetPendingJobExecutionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
+ export var StartNextPendingJobExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
+ export var StartNextPendingJobExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
+ export var UpdateJobExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
+ export var JobExecutionStateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
+ export var UpdateJobExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };