@aws-sdk/client-iot-events-data 3.933.0 → 3.935.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/dist-cjs/index.js CHANGED
@@ -117,42 +117,6 @@ let IoTEventsDataServiceException$1 = class IoTEventsDataServiceException extend
117
117
  }
118
118
  };
119
119
 
120
- const CustomerActionName = {
121
- ACKNOWLEDGE: "ACKNOWLEDGE",
122
- DISABLE: "DISABLE",
123
- ENABLE: "ENABLE",
124
- RESET: "RESET",
125
- SNOOZE: "SNOOZE",
126
- };
127
- const ComparisonOperator = {
128
- EQUAL: "EQUAL",
129
- GREATER: "GREATER",
130
- GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
131
- LESS: "LESS",
132
- LESS_OR_EQUAL: "LESS_OR_EQUAL",
133
- NOT_EQUAL: "NOT_EQUAL",
134
- };
135
- const AlarmStateName = {
136
- ACKNOWLEDGED: "ACKNOWLEDGED",
137
- ACTIVE: "ACTIVE",
138
- DISABLED: "DISABLED",
139
- LATCHED: "LATCHED",
140
- NORMAL: "NORMAL",
141
- SNOOZE_DISABLED: "SNOOZE_DISABLED",
142
- };
143
- const EventType = {
144
- STATE_CHANGE: "STATE_CHANGE",
145
- };
146
- const TriggerType = {
147
- SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT",
148
- };
149
- const ErrorCode = {
150
- InternalFailureException: "InternalFailureException",
151
- InvalidRequestException: "InvalidRequestException",
152
- ResourceNotFoundException: "ResourceNotFoundException",
153
- ServiceUnavailableException: "ServiceUnavailableException",
154
- ThrottlingException: "ThrottlingException",
155
- };
156
120
  let InternalFailureException$1 = class InternalFailureException extends IoTEventsDataServiceException$1 {
157
121
  name = "InternalFailureException";
158
122
  $fault = "server";
@@ -1029,6 +993,43 @@ class IoTEventsData extends IoTEventsDataClient {
1029
993
  }
1030
994
  smithyClient.createAggregatedClient(commands, IoTEventsData);
1031
995
 
996
+ const CustomerActionName = {
997
+ ACKNOWLEDGE: "ACKNOWLEDGE",
998
+ DISABLE: "DISABLE",
999
+ ENABLE: "ENABLE",
1000
+ RESET: "RESET",
1001
+ SNOOZE: "SNOOZE",
1002
+ };
1003
+ const ComparisonOperator = {
1004
+ EQUAL: "EQUAL",
1005
+ GREATER: "GREATER",
1006
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
1007
+ LESS: "LESS",
1008
+ LESS_OR_EQUAL: "LESS_OR_EQUAL",
1009
+ NOT_EQUAL: "NOT_EQUAL",
1010
+ };
1011
+ const AlarmStateName = {
1012
+ ACKNOWLEDGED: "ACKNOWLEDGED",
1013
+ ACTIVE: "ACTIVE",
1014
+ DISABLED: "DISABLED",
1015
+ LATCHED: "LATCHED",
1016
+ NORMAL: "NORMAL",
1017
+ SNOOZE_DISABLED: "SNOOZE_DISABLED",
1018
+ };
1019
+ const EventType = {
1020
+ STATE_CHANGE: "STATE_CHANGE",
1021
+ };
1022
+ const TriggerType = {
1023
+ SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT",
1024
+ };
1025
+ const ErrorCode = {
1026
+ InternalFailureException: "InternalFailureException",
1027
+ InvalidRequestException: "InvalidRequestException",
1028
+ ResourceNotFoundException: "ResourceNotFoundException",
1029
+ ServiceUnavailableException: "ServiceUnavailableException",
1030
+ ThrottlingException: "ThrottlingException",
1031
+ };
1032
+
1032
1033
  Object.defineProperty(exports, "$Command", {
1033
1034
  enumerable: true,
1034
1035
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./IoTEventsDataClient";
2
2
  export * from "./IoTEventsData";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/enums";
5
+ export * from "./models/errors";
5
6
  export { IoTEventsDataServiceException } from "./models/IoTEventsDataServiceException";
@@ -0,0 +1,36 @@
1
+ export const CustomerActionName = {
2
+ ACKNOWLEDGE: "ACKNOWLEDGE",
3
+ DISABLE: "DISABLE",
4
+ ENABLE: "ENABLE",
5
+ RESET: "RESET",
6
+ SNOOZE: "SNOOZE",
7
+ };
8
+ export const ComparisonOperator = {
9
+ EQUAL: "EQUAL",
10
+ GREATER: "GREATER",
11
+ GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
12
+ LESS: "LESS",
13
+ LESS_OR_EQUAL: "LESS_OR_EQUAL",
14
+ NOT_EQUAL: "NOT_EQUAL",
15
+ };
16
+ export const AlarmStateName = {
17
+ ACKNOWLEDGED: "ACKNOWLEDGED",
18
+ ACTIVE: "ACTIVE",
19
+ DISABLED: "DISABLED",
20
+ LATCHED: "LATCHED",
21
+ NORMAL: "NORMAL",
22
+ SNOOZE_DISABLED: "SNOOZE_DISABLED",
23
+ };
24
+ export const EventType = {
25
+ STATE_CHANGE: "STATE_CHANGE",
26
+ };
27
+ export const TriggerType = {
28
+ SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT",
29
+ };
30
+ export const ErrorCode = {
31
+ InternalFailureException: "InternalFailureException",
32
+ InvalidRequestException: "InvalidRequestException",
33
+ ResourceNotFoundException: "ResourceNotFoundException",
34
+ ServiceUnavailableException: "ServiceUnavailableException",
35
+ ThrottlingException: "ThrottlingException",
36
+ };
@@ -0,0 +1,61 @@
1
+ import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
2
+ export class InternalFailureException extends __BaseException {
3
+ name = "InternalFailureException";
4
+ $fault = "server";
5
+ constructor(opts) {
6
+ super({
7
+ name: "InternalFailureException",
8
+ $fault: "server",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
12
+ }
13
+ }
14
+ export class InvalidRequestException extends __BaseException {
15
+ name = "InvalidRequestException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InvalidRequestException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
24
+ }
25
+ }
26
+ export class ServiceUnavailableException extends __BaseException {
27
+ name = "ServiceUnavailableException";
28
+ $fault = "server";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ServiceUnavailableException",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
36
+ }
37
+ }
38
+ export class ThrottlingException extends __BaseException {
39
+ name = "ThrottlingException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ThrottlingException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
48
+ }
49
+ }
50
+ export class ResourceNotFoundException extends __BaseException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "ResourceNotFoundException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
60
+ }
61
+ }
@@ -1,97 +1 @@
1
- import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
2
- export const CustomerActionName = {
3
- ACKNOWLEDGE: "ACKNOWLEDGE",
4
- DISABLE: "DISABLE",
5
- ENABLE: "ENABLE",
6
- RESET: "RESET",
7
- SNOOZE: "SNOOZE",
8
- };
9
- export const ComparisonOperator = {
10
- EQUAL: "EQUAL",
11
- GREATER: "GREATER",
12
- GREATER_OR_EQUAL: "GREATER_OR_EQUAL",
13
- LESS: "LESS",
14
- LESS_OR_EQUAL: "LESS_OR_EQUAL",
15
- NOT_EQUAL: "NOT_EQUAL",
16
- };
17
- export const AlarmStateName = {
18
- ACKNOWLEDGED: "ACKNOWLEDGED",
19
- ACTIVE: "ACTIVE",
20
- DISABLED: "DISABLED",
21
- LATCHED: "LATCHED",
22
- NORMAL: "NORMAL",
23
- SNOOZE_DISABLED: "SNOOZE_DISABLED",
24
- };
25
- export const EventType = {
26
- STATE_CHANGE: "STATE_CHANGE",
27
- };
28
- export const TriggerType = {
29
- SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT",
30
- };
31
- export const ErrorCode = {
32
- InternalFailureException: "InternalFailureException",
33
- InvalidRequestException: "InvalidRequestException",
34
- ResourceNotFoundException: "ResourceNotFoundException",
35
- ServiceUnavailableException: "ServiceUnavailableException",
36
- ThrottlingException: "ThrottlingException",
37
- };
38
- export class InternalFailureException extends __BaseException {
39
- name = "InternalFailureException";
40
- $fault = "server";
41
- constructor(opts) {
42
- super({
43
- name: "InternalFailureException",
44
- $fault: "server",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, InternalFailureException.prototype);
48
- }
49
- }
50
- export class InvalidRequestException extends __BaseException {
51
- name = "InvalidRequestException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "InvalidRequestException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
60
- }
61
- }
62
- export class ServiceUnavailableException extends __BaseException {
63
- name = "ServiceUnavailableException";
64
- $fault = "server";
65
- constructor(opts) {
66
- super({
67
- name: "ServiceUnavailableException",
68
- $fault: "server",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
72
- }
73
- }
74
- export class ThrottlingException extends __BaseException {
75
- name = "ThrottlingException";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "ThrottlingException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, ThrottlingException.prototype);
84
- }
85
- }
86
- export class ResourceNotFoundException extends __BaseException {
87
- name = "ResourceNotFoundException";
88
- $fault = "client";
89
- constructor(opts) {
90
- super({
91
- name: "ResourceNotFoundException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
96
- }
97
- }
1
+ export {};
@@ -160,7 +160,7 @@ const _v = "variables";
160
160
  const _va = "value";
161
161
  const n0 = "com.amazonaws.ioteventsdata";
162
162
  import { TypeRegistry } from "@smithy/core/schema";
163
- import { InternalFailureException as __InternalFailureException, InvalidRequestException as __InvalidRequestException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, } from "../models/index";
163
+ import { InternalFailureException as __InternalFailureException, InvalidRequestException as __InvalidRequestException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, } from "../models/errors";
164
164
  import { IoTEventsDataServiceException as __IoTEventsDataServiceException } from "../models/IoTEventsDataServiceException";
165
165
  export var AcknowledgeActionConfiguration = [3, n0, _AAC, 0, [_n], [0]];
166
166
  export var AcknowledgeAlarmActionRequest = [3, n0, _AAAR, 0, [_rI, _aMN, _kV, _n], [0, 0, 0, 0]];
@@ -13,5 +13,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
13
  export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { IoTEventsDataExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
- export * from "./models";
16
+ export * from "./models/enums";
17
+ export * from "./models/errors";
18
+ export type * from "./models/models_0";
17
19
  export { IoTEventsDataServiceException } from "./models/IoTEventsDataServiceException";
@@ -0,0 +1,84 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const CustomerActionName: {
6
+ readonly ACKNOWLEDGE: "ACKNOWLEDGE";
7
+ readonly DISABLE: "DISABLE";
8
+ readonly ENABLE: "ENABLE";
9
+ readonly RESET: "RESET";
10
+ readonly SNOOZE: "SNOOZE";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type CustomerActionName = (typeof CustomerActionName)[keyof typeof CustomerActionName];
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const ComparisonOperator: {
21
+ readonly EQUAL: "EQUAL";
22
+ readonly GREATER: "GREATER";
23
+ readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
24
+ readonly LESS: "LESS";
25
+ readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
26
+ readonly NOT_EQUAL: "NOT_EQUAL";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const AlarmStateName: {
37
+ readonly ACKNOWLEDGED: "ACKNOWLEDGED";
38
+ readonly ACTIVE: "ACTIVE";
39
+ readonly DISABLED: "DISABLED";
40
+ readonly LATCHED: "LATCHED";
41
+ readonly NORMAL: "NORMAL";
42
+ readonly SNOOZE_DISABLED: "SNOOZE_DISABLED";
43
+ };
44
+ /**
45
+ * @public
46
+ */
47
+ export type AlarmStateName = (typeof AlarmStateName)[keyof typeof AlarmStateName];
48
+ /**
49
+ * @public
50
+ * @enum
51
+ */
52
+ export declare const EventType: {
53
+ readonly STATE_CHANGE: "STATE_CHANGE";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type EventType = (typeof EventType)[keyof typeof EventType];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const TriggerType: {
64
+ readonly SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT";
65
+ };
66
+ /**
67
+ * @public
68
+ */
69
+ export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
70
+ /**
71
+ * @public
72
+ * @enum
73
+ */
74
+ export declare const ErrorCode: {
75
+ readonly InternalFailureException: "InternalFailureException";
76
+ readonly InvalidRequestException: "InvalidRequestException";
77
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
78
+ readonly ServiceUnavailableException: "ServiceUnavailableException";
79
+ readonly ThrottlingException: "ThrottlingException";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
@@ -0,0 +1,62 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
3
+ /**
4
+ * <p>An internal failure occurred.</p>
5
+ * @public
6
+ */
7
+ export declare class InternalFailureException extends __BaseException {
8
+ readonly name: "InternalFailureException";
9
+ readonly $fault: "server";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The request was invalid.</p>
17
+ * @public
18
+ */
19
+ export declare class InvalidRequestException extends __BaseException {
20
+ readonly name: "InvalidRequestException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The service is currently unavailable.</p>
29
+ * @public
30
+ */
31
+ export declare class ServiceUnavailableException extends __BaseException {
32
+ readonly name: "ServiceUnavailableException";
33
+ readonly $fault: "server";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The request could not be completed due to throttling.</p>
41
+ * @public
42
+ */
43
+ export declare class ThrottlingException extends __BaseException {
44
+ readonly name: "ThrottlingException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The resource was not found.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
62
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
1
+ import { AlarmStateName, ComparisonOperator, CustomerActionName, ErrorCode, EventType, TriggerType } from "./enums";
3
2
  /**
4
3
  * <p>Contains the configuration information of an acknowledge action.</p>
5
4
  * @public
@@ -38,21 +37,6 @@ export interface AcknowledgeAlarmActionRequest {
38
37
  */
39
38
  note?: string | undefined;
40
39
  }
41
- /**
42
- * @public
43
- * @enum
44
- */
45
- export declare const CustomerActionName: {
46
- readonly ACKNOWLEDGE: "ACKNOWLEDGE";
47
- readonly DISABLE: "DISABLE";
48
- readonly ENABLE: "ENABLE";
49
- readonly RESET: "RESET";
50
- readonly SNOOZE: "SNOOZE";
51
- };
52
- /**
53
- * @public
54
- */
55
- export type CustomerActionName = (typeof CustomerActionName)[keyof typeof CustomerActionName];
56
40
  /**
57
41
  * <p>Contains the configuration information of a disable action.</p>
58
42
  * @public
@@ -161,22 +145,6 @@ export interface CustomerAction {
161
145
  */
162
146
  resetActionConfiguration?: ResetActionConfiguration | undefined;
163
147
  }
164
- /**
165
- * @public
166
- * @enum
167
- */
168
- export declare const ComparisonOperator: {
169
- readonly EQUAL: "EQUAL";
170
- readonly GREATER: "GREATER";
171
- readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
172
- readonly LESS: "LESS";
173
- readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
174
- readonly NOT_EQUAL: "NOT_EQUAL";
175
- };
176
- /**
177
- * @public
178
- */
179
- export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
180
148
  /**
181
149
  * <p>Information needed to compare two values with a comparison operator.</p>
182
150
  * @public
@@ -209,44 +177,6 @@ export interface RuleEvaluation {
209
177
  */
210
178
  simpleRuleEvaluation?: SimpleRuleEvaluation | undefined;
211
179
  }
212
- /**
213
- * @public
214
- * @enum
215
- */
216
- export declare const AlarmStateName: {
217
- readonly ACKNOWLEDGED: "ACKNOWLEDGED";
218
- readonly ACTIVE: "ACTIVE";
219
- readonly DISABLED: "DISABLED";
220
- readonly LATCHED: "LATCHED";
221
- readonly NORMAL: "NORMAL";
222
- readonly SNOOZE_DISABLED: "SNOOZE_DISABLED";
223
- };
224
- /**
225
- * @public
226
- */
227
- export type AlarmStateName = (typeof AlarmStateName)[keyof typeof AlarmStateName];
228
- /**
229
- * @public
230
- * @enum
231
- */
232
- export declare const EventType: {
233
- readonly STATE_CHANGE: "STATE_CHANGE";
234
- };
235
- /**
236
- * @public
237
- */
238
- export type EventType = (typeof EventType)[keyof typeof EventType];
239
- /**
240
- * @public
241
- * @enum
242
- */
243
- export declare const TriggerType: {
244
- readonly SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT";
245
- };
246
- /**
247
- * @public
248
- */
249
- export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
250
180
  /**
251
181
  * <p>Contains the configuration information of alarm state changes.</p>
252
182
  * @public
@@ -461,21 +391,6 @@ export interface BatchAcknowledgeAlarmRequest {
461
391
  */
462
392
  acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
463
393
  }
464
- /**
465
- * @public
466
- * @enum
467
- */
468
- export declare const ErrorCode: {
469
- readonly InternalFailureException: "InternalFailureException";
470
- readonly InvalidRequestException: "InvalidRequestException";
471
- readonly ResourceNotFoundException: "ResourceNotFoundException";
472
- readonly ServiceUnavailableException: "ServiceUnavailableException";
473
- readonly ThrottlingException: "ThrottlingException";
474
- };
475
- /**
476
- * @public
477
- */
478
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
479
394
  /**
480
395
  * <p>Contains error messages associated with one of the following requests:</p>
481
396
  * <ul>
@@ -535,54 +450,6 @@ export interface BatchAcknowledgeAlarmResponse {
535
450
  */
536
451
  errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
537
452
  }
538
- /**
539
- * <p>An internal failure occurred.</p>
540
- * @public
541
- */
542
- export declare class InternalFailureException extends __BaseException {
543
- readonly name: "InternalFailureException";
544
- readonly $fault: "server";
545
- /**
546
- * @internal
547
- */
548
- constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
549
- }
550
- /**
551
- * <p>The request was invalid.</p>
552
- * @public
553
- */
554
- export declare class InvalidRequestException extends __BaseException {
555
- readonly name: "InvalidRequestException";
556
- readonly $fault: "client";
557
- /**
558
- * @internal
559
- */
560
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
561
- }
562
- /**
563
- * <p>The service is currently unavailable.</p>
564
- * @public
565
- */
566
- export declare class ServiceUnavailableException extends __BaseException {
567
- readonly name: "ServiceUnavailableException";
568
- readonly $fault: "server";
569
- /**
570
- * @internal
571
- */
572
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
573
- }
574
- /**
575
- * <p>The request could not be completed due to throttling.</p>
576
- * @public
577
- */
578
- export declare class ThrottlingException extends __BaseException {
579
- readonly name: "ThrottlingException";
580
- readonly $fault: "client";
581
- /**
582
- * @internal
583
- */
584
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
585
- }
586
453
  /**
587
454
  * <p>Information used to delete the detector model.</p>
588
455
  * @public
@@ -1077,18 +944,6 @@ export interface DescribeAlarmResponse {
1077
944
  */
1078
945
  alarm?: Alarm | undefined;
1079
946
  }
1080
- /**
1081
- * <p>The resource was not found.</p>
1082
- * @public
1083
- */
1084
- export declare class ResourceNotFoundException extends __BaseException {
1085
- readonly name: "ResourceNotFoundException";
1086
- readonly $fault: "client";
1087
- /**
1088
- * @internal
1089
- */
1090
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1091
- }
1092
947
  /**
1093
948
  * @public
1094
949
  */
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IoTEventsDataExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
8
10
  export { IoTEventsDataServiceException } from "./models/IoTEventsDataServiceException";
@@ -0,0 +1,45 @@
1
+ export declare const CustomerActionName: {
2
+ readonly ACKNOWLEDGE: "ACKNOWLEDGE";
3
+ readonly DISABLE: "DISABLE";
4
+ readonly ENABLE: "ENABLE";
5
+ readonly RESET: "RESET";
6
+ readonly SNOOZE: "SNOOZE";
7
+ };
8
+ export type CustomerActionName =
9
+ (typeof CustomerActionName)[keyof typeof CustomerActionName];
10
+ export declare const ComparisonOperator: {
11
+ readonly EQUAL: "EQUAL";
12
+ readonly GREATER: "GREATER";
13
+ readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
14
+ readonly LESS: "LESS";
15
+ readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
16
+ readonly NOT_EQUAL: "NOT_EQUAL";
17
+ };
18
+ export type ComparisonOperator =
19
+ (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
20
+ export declare const AlarmStateName: {
21
+ readonly ACKNOWLEDGED: "ACKNOWLEDGED";
22
+ readonly ACTIVE: "ACTIVE";
23
+ readonly DISABLED: "DISABLED";
24
+ readonly LATCHED: "LATCHED";
25
+ readonly NORMAL: "NORMAL";
26
+ readonly SNOOZE_DISABLED: "SNOOZE_DISABLED";
27
+ };
28
+ export type AlarmStateName =
29
+ (typeof AlarmStateName)[keyof typeof AlarmStateName];
30
+ export declare const EventType: {
31
+ readonly STATE_CHANGE: "STATE_CHANGE";
32
+ };
33
+ export type EventType = (typeof EventType)[keyof typeof EventType];
34
+ export declare const TriggerType: {
35
+ readonly SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT";
36
+ };
37
+ export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
38
+ export declare const ErrorCode: {
39
+ readonly InternalFailureException: "InternalFailureException";
40
+ readonly InvalidRequestException: "InvalidRequestException";
41
+ readonly ResourceNotFoundException: "ResourceNotFoundException";
42
+ readonly ServiceUnavailableException: "ServiceUnavailableException";
43
+ readonly ThrottlingException: "ThrottlingException";
44
+ };
45
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
@@ -0,0 +1,37 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
3
+ export declare class InternalFailureException extends __BaseException {
4
+ readonly name: "InternalFailureException";
5
+ readonly $fault: "server";
6
+ constructor(
7
+ opts: __ExceptionOptionType<InternalFailureException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InvalidRequestException extends __BaseException {
11
+ readonly name: "InvalidRequestException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ServiceUnavailableException extends __BaseException {
18
+ readonly name: "ServiceUnavailableException";
19
+ readonly $fault: "server";
20
+ constructor(
21
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ThrottlingException extends __BaseException {
25
+ readonly name: "ThrottlingException";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
36
+ );
37
+ }
@@ -1,5 +1,11 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
1
+ import {
2
+ AlarmStateName,
3
+ ComparisonOperator,
4
+ CustomerActionName,
5
+ ErrorCode,
6
+ EventType,
7
+ TriggerType,
8
+ } from "./enums";
3
9
  export interface AcknowledgeActionConfiguration {
4
10
  note?: string | undefined;
5
11
  }
@@ -9,15 +15,6 @@ export interface AcknowledgeAlarmActionRequest {
9
15
  keyValue?: string | undefined;
10
16
  note?: string | undefined;
11
17
  }
12
- export declare const CustomerActionName: {
13
- readonly ACKNOWLEDGE: "ACKNOWLEDGE";
14
- readonly DISABLE: "DISABLE";
15
- readonly ENABLE: "ENABLE";
16
- readonly RESET: "RESET";
17
- readonly SNOOZE: "SNOOZE";
18
- };
19
- export type CustomerActionName =
20
- (typeof CustomerActionName)[keyof typeof CustomerActionName];
21
18
  export interface DisableActionConfiguration {
22
19
  note?: string | undefined;
23
20
  }
@@ -39,16 +36,6 @@ export interface CustomerAction {
39
36
  acknowledgeActionConfiguration?: AcknowledgeActionConfiguration | undefined;
40
37
  resetActionConfiguration?: ResetActionConfiguration | undefined;
41
38
  }
42
- export declare const ComparisonOperator: {
43
- readonly EQUAL: "EQUAL";
44
- readonly GREATER: "GREATER";
45
- readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
46
- readonly LESS: "LESS";
47
- readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
48
- readonly NOT_EQUAL: "NOT_EQUAL";
49
- };
50
- export type ComparisonOperator =
51
- (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
52
39
  export interface SimpleRuleEvaluation {
53
40
  inputPropertyValue?: string | undefined;
54
41
  operator?: ComparisonOperator | undefined;
@@ -57,24 +44,6 @@ export interface SimpleRuleEvaluation {
57
44
  export interface RuleEvaluation {
58
45
  simpleRuleEvaluation?: SimpleRuleEvaluation | undefined;
59
46
  }
60
- export declare const AlarmStateName: {
61
- readonly ACKNOWLEDGED: "ACKNOWLEDGED";
62
- readonly ACTIVE: "ACTIVE";
63
- readonly DISABLED: "DISABLED";
64
- readonly LATCHED: "LATCHED";
65
- readonly NORMAL: "NORMAL";
66
- readonly SNOOZE_DISABLED: "SNOOZE_DISABLED";
67
- };
68
- export type AlarmStateName =
69
- (typeof AlarmStateName)[keyof typeof AlarmStateName];
70
- export declare const EventType: {
71
- readonly STATE_CHANGE: "STATE_CHANGE";
72
- };
73
- export type EventType = (typeof EventType)[keyof typeof EventType];
74
- export declare const TriggerType: {
75
- readonly SNOOZE_TIMEOUT: "SNOOZE_TIMEOUT";
76
- };
77
- export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
78
47
  export interface StateChangeConfiguration {
79
48
  triggerType?: TriggerType | undefined;
80
49
  }
@@ -108,14 +77,6 @@ export interface AlarmSummary {
108
77
  export interface BatchAcknowledgeAlarmRequest {
109
78
  acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
110
79
  }
111
- export declare const ErrorCode: {
112
- readonly InternalFailureException: "InternalFailureException";
113
- readonly InvalidRequestException: "InvalidRequestException";
114
- readonly ResourceNotFoundException: "ResourceNotFoundException";
115
- readonly ServiceUnavailableException: "ServiceUnavailableException";
116
- readonly ThrottlingException: "ThrottlingException";
117
- };
118
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
119
80
  export interface BatchAlarmActionErrorEntry {
120
81
  requestId?: string | undefined;
121
82
  errorCode?: ErrorCode | undefined;
@@ -124,34 +85,6 @@ export interface BatchAlarmActionErrorEntry {
124
85
  export interface BatchAcknowledgeAlarmResponse {
125
86
  errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
126
87
  }
127
- export declare class InternalFailureException extends __BaseException {
128
- readonly name: "InternalFailureException";
129
- readonly $fault: "server";
130
- constructor(
131
- opts: __ExceptionOptionType<InternalFailureException, __BaseException>
132
- );
133
- }
134
- export declare class InvalidRequestException extends __BaseException {
135
- readonly name: "InvalidRequestException";
136
- readonly $fault: "client";
137
- constructor(
138
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
139
- );
140
- }
141
- export declare class ServiceUnavailableException extends __BaseException {
142
- readonly name: "ServiceUnavailableException";
143
- readonly $fault: "server";
144
- constructor(
145
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
146
- );
147
- }
148
- export declare class ThrottlingException extends __BaseException {
149
- readonly name: "ThrottlingException";
150
- readonly $fault: "client";
151
- constructor(
152
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
153
- );
154
- }
155
88
  export interface DeleteDetectorRequest {
156
89
  messageId: string | undefined;
157
90
  detectorModelName: string | undefined;
@@ -274,13 +207,6 @@ export interface DescribeAlarmRequest {
274
207
  export interface DescribeAlarmResponse {
275
208
  alarm?: Alarm | undefined;
276
209
  }
277
- export declare class ResourceNotFoundException extends __BaseException {
278
- readonly name: "ResourceNotFoundException";
279
- readonly $fault: "client";
280
- constructor(
281
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
282
- );
283
- }
284
210
  export interface DescribeDetectorRequest {
285
211
  detectorModelName: string | undefined;
286
212
  keyValue?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-events-data",
3
3
  "description": "AWS SDK for JavaScript Iot Events Data Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot-events-data",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";