@aws-sdk/client-iot-events 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 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
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
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
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IoTEventsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./IoTEvents"), exports);
5
6
  tslib_1.__exportStar(require("./IoTEventsClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var IoTEventsServiceException_1 = require("./models/IoTEventsServiceException");
10
+ Object.defineProperty(exports, "IoTEventsServiceException", { enumerable: true, get: function () { return IoTEventsServiceException_1.IoTEventsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IoTEventsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class IoTEventsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, IoTEventsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.IoTEventsServiceException = IoTEventsServiceException;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OnExitLifecycle = exports.OnEnterLifecycle = exports.Event = exports.CreateAlarmModelResponse = exports.CreateAlarmModelRequest = exports.Tag = exports.Attribute = exports.AnalysisStatus = exports.AnalysisResult = exports.AnalysisResultLocation = exports.AnalysisResultLevel = exports.AlarmRule = exports.SimpleRule = exports.ComparisonOperator = exports.AlarmNotification = exports.NotificationAction = exports.SMSConfiguration = exports.EmailConfiguration = exports.EmailRecipients = exports.RecipientDetail = exports.SSOIdentity = exports.EmailContent = exports.NotificationTargetActions = exports.AlarmModelVersionSummary = exports.AlarmModelVersionStatus = exports.AlarmModelSummary = exports.AlarmEventActions = exports.AlarmCapabilities = exports.InitializationConfiguration = exports.AlarmAction = exports.Action = exports.SqsAction = exports.SNSTopicPublishAction = exports.SetVariableAction = exports.SetTimerAction = exports.ResetTimerAction = exports.LambdaAction = exports.IotTopicPublishAction = exports.IotSiteWiseAction = exports.AssetPropertyValue = exports.AssetPropertyVariant = exports.AssetPropertyTimestamp = exports.IotEventsAction = exports.FirehoseAction = exports.DynamoDBv2Action = exports.DynamoDBAction = exports.Payload = exports.PayloadType = exports.ClearTimerAction = exports.AcknowledgeFlow = void 0;
4
- exports.ListDetectorModelsResponse = exports.ListDetectorModelsRequest = exports.ListAlarmModelVersionsResponse = exports.ListAlarmModelVersionsRequest = exports.ListAlarmModelsResponse = exports.ListAlarmModelsRequest = exports.InputSummary = exports.InputIdentifier = exports.IotSiteWiseInputIdentifier = exports.IotSiteWiseAssetModelPropertyIdentifier = exports.IotEventsInputIdentifier = exports.GetDetectorModelAnalysisResultsResponse = exports.GetDetectorModelAnalysisResultsRequest = exports.DetectorModelVersionSummary = exports.DetectorModelSummary = exports.DescribeLoggingOptionsResponse = exports.LoggingOptions = exports.LoggingLevel = exports.DetectorDebugOption = exports.DescribeLoggingOptionsRequest = exports.DescribeInputResponse = exports.Input = exports.DescribeInputRequest = exports.DescribeDetectorModelAnalysisResponse = exports.DescribeDetectorModelAnalysisRequest = exports.DescribeDetectorModelResponse = exports.DetectorModel = exports.DescribeDetectorModelRequest = exports.DescribeAlarmModelResponse = exports.DescribeAlarmModelRequest = exports.DeleteInputResponse = exports.DeleteInputRequest = exports.DeleteDetectorModelResponse = exports.DeleteDetectorModelRequest = exports.DeleteAlarmModelResponse = exports.DeleteAlarmModelRequest = exports.CreateInputResponse = exports.InputConfiguration = exports.InputStatus = exports.CreateInputRequest = exports.InputDefinition = exports.CreateDetectorModelResponse = exports.DetectorModelConfiguration = exports.DetectorModelVersionStatus = exports.CreateDetectorModelRequest = exports.EvaluationMethod = exports.DetectorModelDefinition = exports.State = exports.OnInputLifecycle = exports.TransitionEvent = void 0;
5
- exports.UpdateInputResponse = exports.UpdateInputRequest = exports.UpdateDetectorModelResponse = exports.UpdateDetectorModelRequest = exports.UpdateAlarmModelResponse = exports.UpdateAlarmModelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartDetectorModelAnalysisResponse = exports.StartDetectorModelAnalysisRequest = exports.PutLoggingOptionsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListInputsResponse = exports.ListInputsRequest = exports.ListInputRoutingsResponse = exports.RoutedResource = exports.ListInputRoutingsRequest = exports.ListDetectorModelVersionsResponse = exports.ListDetectorModelVersionsRequest = void 0;
3
+ exports.LimitExceededException = exports.InvalidRequestException = exports.InternalFailureException = exports.CreateAlarmModelResponse = exports.CreateAlarmModelRequest = exports.Tag = exports.Attribute = exports.AnalysisStatus = exports.AnalysisResult = exports.AnalysisResultLocation = exports.AnalysisResultLevel = exports.AlarmRule = exports.SimpleRule = exports.ComparisonOperator = exports.AlarmNotification = exports.NotificationAction = exports.SMSConfiguration = exports.EmailConfiguration = exports.EmailRecipients = exports.RecipientDetail = exports.SSOIdentity = exports.EmailContent = exports.NotificationTargetActions = exports.AlarmModelVersionSummary = exports.AlarmModelVersionStatus = exports.AlarmModelSummary = exports.AlarmEventActions = exports.AlarmCapabilities = exports.InitializationConfiguration = exports.AlarmAction = exports.Action = exports.SqsAction = exports.SNSTopicPublishAction = exports.SetVariableAction = exports.SetTimerAction = exports.ResetTimerAction = exports.LambdaAction = exports.IotTopicPublishAction = exports.IotSiteWiseAction = exports.AssetPropertyValue = exports.AssetPropertyVariant = exports.AssetPropertyTimestamp = exports.IotEventsAction = exports.FirehoseAction = exports.DynamoDBv2Action = exports.DynamoDBAction = exports.Payload = exports.PayloadType = exports.ClearTimerAction = exports.AcknowledgeFlow = void 0;
4
+ exports.IotSiteWiseAssetModelPropertyIdentifier = exports.IotEventsInputIdentifier = exports.GetDetectorModelAnalysisResultsResponse = exports.GetDetectorModelAnalysisResultsRequest = exports.DetectorModelVersionSummary = exports.DetectorModelSummary = exports.UnsupportedOperationException = exports.DescribeLoggingOptionsResponse = exports.LoggingOptions = exports.LoggingLevel = exports.DetectorDebugOption = exports.DescribeLoggingOptionsRequest = exports.DescribeInputResponse = exports.Input = exports.DescribeInputRequest = exports.DescribeDetectorModelAnalysisResponse = exports.DescribeDetectorModelAnalysisRequest = exports.DescribeDetectorModelResponse = exports.DetectorModel = exports.DescribeDetectorModelRequest = exports.DescribeAlarmModelResponse = exports.DescribeAlarmModelRequest = exports.DeleteInputResponse = exports.DeleteInputRequest = exports.DeleteDetectorModelResponse = exports.DeleteDetectorModelRequest = exports.ResourceNotFoundException = exports.DeleteAlarmModelResponse = exports.DeleteAlarmModelRequest = exports.CreateInputResponse = exports.InputConfiguration = exports.InputStatus = exports.CreateInputRequest = exports.InputDefinition = exports.CreateDetectorModelResponse = exports.DetectorModelConfiguration = exports.DetectorModelVersionStatus = exports.CreateDetectorModelRequest = exports.EvaluationMethod = exports.DetectorModelDefinition = exports.State = exports.OnInputLifecycle = exports.TransitionEvent = exports.OnExitLifecycle = exports.OnEnterLifecycle = exports.Event = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceInUseException = exports.ResourceAlreadyExistsException = void 0;
5
+ exports.UpdateInputResponse = exports.UpdateInputRequest = exports.UpdateDetectorModelResponse = exports.UpdateDetectorModelRequest = exports.UpdateAlarmModelResponse = exports.UpdateAlarmModelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartDetectorModelAnalysisResponse = exports.StartDetectorModelAnalysisRequest = exports.PutLoggingOptionsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListInputsResponse = exports.ListInputsRequest = exports.ListInputRoutingsResponse = exports.RoutedResource = exports.ListInputRoutingsRequest = exports.ListDetectorModelVersionsResponse = exports.ListDetectorModelVersionsRequest = exports.ListDetectorModelsResponse = exports.ListDetectorModelsRequest = exports.ListAlarmModelVersionsResponse = exports.ListAlarmModelVersionsRequest = exports.ListAlarmModelsResponse = exports.ListAlarmModelsRequest = exports.InputSummary = exports.InputIdentifier = exports.IotSiteWiseInputIdentifier = void 0;
6
+ const IoTEventsServiceException_1 = require("./IoTEventsServiceException");
6
7
  var AcknowledgeFlow;
7
8
  (function (AcknowledgeFlow) {
8
9
  AcknowledgeFlow.filterSensitiveLog = (obj) => ({
@@ -288,6 +289,99 @@ var CreateAlarmModelResponse;
288
289
  ...obj,
289
290
  });
290
291
  })(CreateAlarmModelResponse = exports.CreateAlarmModelResponse || (exports.CreateAlarmModelResponse = {}));
292
+ class InternalFailureException extends IoTEventsServiceException_1.IoTEventsServiceException {
293
+ constructor(opts) {
294
+ super({
295
+ name: "InternalFailureException",
296
+ $fault: "server",
297
+ ...opts,
298
+ });
299
+ this.name = "InternalFailureException";
300
+ this.$fault = "server";
301
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
302
+ }
303
+ }
304
+ exports.InternalFailureException = InternalFailureException;
305
+ class InvalidRequestException extends IoTEventsServiceException_1.IoTEventsServiceException {
306
+ constructor(opts) {
307
+ super({
308
+ name: "InvalidRequestException",
309
+ $fault: "client",
310
+ ...opts,
311
+ });
312
+ this.name = "InvalidRequestException";
313
+ this.$fault = "client";
314
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
315
+ }
316
+ }
317
+ exports.InvalidRequestException = InvalidRequestException;
318
+ class LimitExceededException extends IoTEventsServiceException_1.IoTEventsServiceException {
319
+ constructor(opts) {
320
+ super({
321
+ name: "LimitExceededException",
322
+ $fault: "client",
323
+ ...opts,
324
+ });
325
+ this.name = "LimitExceededException";
326
+ this.$fault = "client";
327
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
328
+ }
329
+ }
330
+ exports.LimitExceededException = LimitExceededException;
331
+ class ResourceAlreadyExistsException extends IoTEventsServiceException_1.IoTEventsServiceException {
332
+ constructor(opts) {
333
+ super({
334
+ name: "ResourceAlreadyExistsException",
335
+ $fault: "client",
336
+ ...opts,
337
+ });
338
+ this.name = "ResourceAlreadyExistsException";
339
+ this.$fault = "client";
340
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
341
+ this.resourceId = opts.resourceId;
342
+ this.resourceArn = opts.resourceArn;
343
+ }
344
+ }
345
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
346
+ class ResourceInUseException extends IoTEventsServiceException_1.IoTEventsServiceException {
347
+ constructor(opts) {
348
+ super({
349
+ name: "ResourceInUseException",
350
+ $fault: "client",
351
+ ...opts,
352
+ });
353
+ this.name = "ResourceInUseException";
354
+ this.$fault = "client";
355
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
356
+ }
357
+ }
358
+ exports.ResourceInUseException = ResourceInUseException;
359
+ class ServiceUnavailableException extends IoTEventsServiceException_1.IoTEventsServiceException {
360
+ constructor(opts) {
361
+ super({
362
+ name: "ServiceUnavailableException",
363
+ $fault: "server",
364
+ ...opts,
365
+ });
366
+ this.name = "ServiceUnavailableException";
367
+ this.$fault = "server";
368
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
369
+ }
370
+ }
371
+ exports.ServiceUnavailableException = ServiceUnavailableException;
372
+ class ThrottlingException extends IoTEventsServiceException_1.IoTEventsServiceException {
373
+ constructor(opts) {
374
+ super({
375
+ name: "ThrottlingException",
376
+ $fault: "client",
377
+ ...opts,
378
+ });
379
+ this.name = "ThrottlingException";
380
+ this.$fault = "client";
381
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
382
+ }
383
+ }
384
+ exports.ThrottlingException = ThrottlingException;
291
385
  var Event;
292
386
  (function (Event) {
293
387
  Event.filterSensitiveLog = (obj) => ({
@@ -406,6 +500,19 @@ var DeleteAlarmModelResponse;
406
500
  ...obj,
407
501
  });
408
502
  })(DeleteAlarmModelResponse = exports.DeleteAlarmModelResponse || (exports.DeleteAlarmModelResponse = {}));
503
+ class ResourceNotFoundException extends IoTEventsServiceException_1.IoTEventsServiceException {
504
+ constructor(opts) {
505
+ super({
506
+ name: "ResourceNotFoundException",
507
+ $fault: "client",
508
+ ...opts,
509
+ });
510
+ this.name = "ResourceNotFoundException";
511
+ this.$fault = "client";
512
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
513
+ }
514
+ }
515
+ exports.ResourceNotFoundException = ResourceNotFoundException;
409
516
  var DeleteDetectorModelRequest;
410
517
  (function (DeleteDetectorModelRequest) {
411
518
  DeleteDetectorModelRequest.filterSensitiveLog = (obj) => ({
@@ -520,6 +627,19 @@ var DescribeLoggingOptionsResponse;
520
627
  ...obj,
521
628
  });
522
629
  })(DescribeLoggingOptionsResponse = exports.DescribeLoggingOptionsResponse || (exports.DescribeLoggingOptionsResponse = {}));
630
+ class UnsupportedOperationException extends IoTEventsServiceException_1.IoTEventsServiceException {
631
+ constructor(opts) {
632
+ super({
633
+ name: "UnsupportedOperationException",
634
+ $fault: "server",
635
+ ...opts,
636
+ });
637
+ this.name = "UnsupportedOperationException";
638
+ this.$fault = "server";
639
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
640
+ }
641
+ }
642
+ exports.UnsupportedOperationException = UnsupportedOperationException;
523
643
  var DetectorModelSummary;
524
644
  (function (DetectorModelSummary) {
525
645
  DetectorModelSummary.filterSensitiveLog = (obj) => ({