@aws-sdk/client-iot-events-data 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTEventsDataServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +68 -2
- package/dist-cjs/protocols/Aws_restJson1.js +138 -440
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTEventsDataServiceException.js +12 -0
- package/dist-es/models/models_0.js +62 -1
- package/dist-es/protocols/Aws_restJson1.js +265 -490
- package/dist-types/IoTEventsDataClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTEventsDataServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +27 -26
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IoTEventsDataClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTEventsDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -21
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-events-data
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-events-data
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-iot-events-data
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTEventsDataServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./IoTEventsData"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./IoTEventsDataClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var IoTEventsDataServiceException_1 = require("./models/IoTEventsDataServiceException");
|
|
10
|
+
Object.defineProperty(exports, "IoTEventsDataServiceException", { enumerable: true, get: function () { return IoTEventsDataServiceException_1.IoTEventsDataServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTEventsDataServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class IoTEventsDataServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, IoTEventsDataServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.IoTEventsDataServiceException = IoTEventsDataServiceException;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ListDetectorsResponse = exports.ListDetectorsRequest = exports.ListAlarmsResponse = exports.ListAlarmsRequest = exports.DetectorSummary = exports.DetectorStateSummary = exports.DescribeDetectorResponse = exports.Detector = exports.DetectorState = exports.Variable = exports.Timer = void 0;
|
|
3
|
+
exports.BatchUpdateDetectorErrorEntry = exports.BatchUpdateDetectorRequest = exports.UpdateDetectorRequest = exports.DetectorStateDefinition = exports.VariableDefinition = exports.TimerDefinition = exports.BatchSnoozeAlarmResponse = exports.BatchSnoozeAlarmRequest = exports.SnoozeAlarmActionRequest = exports.BatchResetAlarmResponse = exports.BatchResetAlarmRequest = exports.ResetAlarmActionRequest = exports.BatchPutMessageResponse = exports.BatchPutMessageErrorEntry = exports.BatchPutMessageRequest = exports.Message = exports.TimestampValue = exports.BatchEnableAlarmResponse = exports.BatchEnableAlarmRequest = exports.EnableAlarmActionRequest = exports.BatchDisableAlarmResponse = exports.BatchDisableAlarmRequest = exports.DisableAlarmActionRequest = exports.ThrottlingException = exports.ServiceUnavailableException = exports.InvalidRequestException = exports.InternalFailureException = exports.BatchAcknowledgeAlarmResponse = exports.BatchAlarmActionErrorEntry = exports.ErrorCode = exports.BatchAcknowledgeAlarmRequest = exports.AlarmSummary = exports.Alarm = exports.AlarmState = exports.SystemEvent = exports.StateChangeConfiguration = exports.TriggerType = exports.EventType = exports.AlarmStateName = exports.RuleEvaluation = exports.SimpleRuleEvaluation = exports.ComparisonOperator = exports.CustomerAction = exports.SnoozeActionConfiguration = exports.ResetActionConfiguration = exports.EnableActionConfiguration = exports.DisableActionConfiguration = exports.CustomerActionName = exports.AcknowledgeAlarmActionRequest = exports.AcknowledgeActionConfiguration = void 0;
|
|
4
|
+
exports.ListDetectorsResponse = exports.ListDetectorsRequest = exports.ListAlarmsResponse = exports.ListAlarmsRequest = exports.DetectorSummary = exports.DetectorStateSummary = exports.DescribeDetectorResponse = exports.Detector = exports.DetectorState = exports.Variable = exports.Timer = exports.DescribeDetectorRequest = exports.ResourceNotFoundException = exports.DescribeAlarmResponse = exports.DescribeAlarmRequest = exports.BatchUpdateDetectorResponse = void 0;
|
|
5
|
+
const IoTEventsDataServiceException_1 = require("./IoTEventsDataServiceException");
|
|
5
6
|
var AcknowledgeActionConfiguration;
|
|
6
7
|
(function (AcknowledgeActionConfiguration) {
|
|
7
8
|
AcknowledgeActionConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -146,6 +147,58 @@ var BatchAcknowledgeAlarmResponse;
|
|
|
146
147
|
...obj,
|
|
147
148
|
});
|
|
148
149
|
})(BatchAcknowledgeAlarmResponse = exports.BatchAcknowledgeAlarmResponse || (exports.BatchAcknowledgeAlarmResponse = {}));
|
|
150
|
+
class InternalFailureException extends IoTEventsDataServiceException_1.IoTEventsDataServiceException {
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "InternalFailureException",
|
|
154
|
+
$fault: "server",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
this.name = "InternalFailureException";
|
|
158
|
+
this.$fault = "server";
|
|
159
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.InternalFailureException = InternalFailureException;
|
|
163
|
+
class InvalidRequestException extends IoTEventsDataServiceException_1.IoTEventsDataServiceException {
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "InvalidRequestException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
this.name = "InvalidRequestException";
|
|
171
|
+
this.$fault = "client";
|
|
172
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
176
|
+
class ServiceUnavailableException extends IoTEventsDataServiceException_1.IoTEventsDataServiceException {
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "ServiceUnavailableException",
|
|
180
|
+
$fault: "server",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
this.name = "ServiceUnavailableException";
|
|
184
|
+
this.$fault = "server";
|
|
185
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
189
|
+
class ThrottlingException extends IoTEventsDataServiceException_1.IoTEventsDataServiceException {
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "ThrottlingException",
|
|
193
|
+
$fault: "client",
|
|
194
|
+
...opts,
|
|
195
|
+
});
|
|
196
|
+
this.name = "ThrottlingException";
|
|
197
|
+
this.$fault = "client";
|
|
198
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.ThrottlingException = ThrottlingException;
|
|
149
202
|
var DisableAlarmActionRequest;
|
|
150
203
|
(function (DisableAlarmActionRequest) {
|
|
151
204
|
DisableAlarmActionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -302,6 +355,19 @@ var DescribeAlarmResponse;
|
|
|
302
355
|
...obj,
|
|
303
356
|
});
|
|
304
357
|
})(DescribeAlarmResponse = exports.DescribeAlarmResponse || (exports.DescribeAlarmResponse = {}));
|
|
358
|
+
class ResourceNotFoundException extends IoTEventsDataServiceException_1.IoTEventsDataServiceException {
|
|
359
|
+
constructor(opts) {
|
|
360
|
+
super({
|
|
361
|
+
name: "ResourceNotFoundException",
|
|
362
|
+
$fault: "client",
|
|
363
|
+
...opts,
|
|
364
|
+
});
|
|
365
|
+
this.name = "ResourceNotFoundException";
|
|
366
|
+
this.$fault = "client";
|
|
367
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
305
371
|
var DescribeDetectorRequest;
|
|
306
372
|
(function (DescribeDetectorRequest) {
|
|
307
373
|
DescribeDetectorRequest.filterSensitiveLog = (obj) => ({
|