@aws-sdk/client-iot-events-data 3.169.0 → 3.170.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/IoTEventsData.d.ts +220 -65
  3. package/dist-types/ts3.4/IoTEventsDataClient.d.ts +202 -85
  4. package/dist-types/ts3.4/commands/BatchAcknowledgeAlarmCommand.d.ts +41 -17
  5. package/dist-types/ts3.4/commands/BatchDeleteDetectorCommand.d.ts +38 -17
  6. package/dist-types/ts3.4/commands/BatchDisableAlarmCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/BatchEnableAlarmCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/BatchPutMessageCommand.d.ts +37 -17
  9. package/dist-types/ts3.4/commands/BatchResetAlarmCommand.d.ts +37 -17
  10. package/dist-types/ts3.4/commands/BatchSnoozeAlarmCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/BatchUpdateDetectorCommand.d.ts +38 -17
  12. package/dist-types/ts3.4/commands/DescribeAlarmCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/DescribeDetectorCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/ListAlarmsCommand.d.ts +34 -17
  15. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +37 -17
  16. package/dist-types/ts3.4/commands/index.d.ts +12 -12
  17. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  18. package/dist-types/ts3.4/index.d.ts +5 -5
  19. package/dist-types/ts3.4/models/IoTEventsDataServiceException.d.ts +8 -6
  20. package/dist-types/ts3.4/models/index.d.ts +1 -1
  21. package/dist-types/ts3.4/models/models_0.d.ts +679 -626
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -38
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  27. package/package.json +34 -34
@@ -1,626 +1,679 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
3
-
4
- export interface AcknowledgeActionConfiguration {
5
-
6
- note?: string;
7
- }
8
-
9
- export interface AcknowledgeAlarmActionRequest {
10
-
11
- requestId: string | undefined;
12
-
13
- alarmModelName: string | undefined;
14
-
15
- keyValue?: string;
16
-
17
- note?: string;
18
- }
19
- export declare enum CustomerActionName {
20
- ACKNOWLEDGE = "ACKNOWLEDGE",
21
- DISABLE = "DISABLE",
22
- ENABLE = "ENABLE",
23
- RESET = "RESET",
24
- SNOOZE = "SNOOZE"
25
- }
26
-
27
- export interface DisableActionConfiguration {
28
-
29
- note?: string;
30
- }
31
-
32
- export interface EnableActionConfiguration {
33
-
34
- note?: string;
35
- }
36
-
37
- export interface ResetActionConfiguration {
38
-
39
- note?: string;
40
- }
41
-
42
- export interface SnoozeActionConfiguration {
43
-
44
- snoozeDuration?: number;
45
-
46
- note?: string;
47
- }
48
-
49
- export interface CustomerAction {
50
-
51
- actionName?: CustomerActionName | string;
52
-
53
- snoozeActionConfiguration?: SnoozeActionConfiguration;
54
-
55
- enableActionConfiguration?: EnableActionConfiguration;
56
-
57
- disableActionConfiguration?: DisableActionConfiguration;
58
-
59
- acknowledgeActionConfiguration?: AcknowledgeActionConfiguration;
60
-
61
- resetActionConfiguration?: ResetActionConfiguration;
62
- }
63
- export declare enum ComparisonOperator {
64
- EQUAL = "EQUAL",
65
- GREATER = "GREATER",
66
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
67
- LESS = "LESS",
68
- LESS_OR_EQUAL = "LESS_OR_EQUAL",
69
- NOT_EQUAL = "NOT_EQUAL"
70
- }
71
-
72
- export interface SimpleRuleEvaluation {
73
-
74
- inputPropertyValue?: string;
75
-
76
- operator?: ComparisonOperator | string;
77
-
78
- thresholdValue?: string;
79
- }
80
-
81
- export interface RuleEvaluation {
82
-
83
- simpleRuleEvaluation?: SimpleRuleEvaluation;
84
- }
85
- export declare enum AlarmStateName {
86
- ACKNOWLEDGED = "ACKNOWLEDGED",
87
- ACTIVE = "ACTIVE",
88
- DISABLED = "DISABLED",
89
- LATCHED = "LATCHED",
90
- NORMAL = "NORMAL",
91
- SNOOZE_DISABLED = "SNOOZE_DISABLED"
92
- }
93
- export declare enum EventType {
94
- STATE_CHANGE = "STATE_CHANGE"
95
- }
96
- export declare enum TriggerType {
97
- SNOOZE_TIMEOUT = "SNOOZE_TIMEOUT"
98
- }
99
-
100
- export interface StateChangeConfiguration {
101
-
102
- triggerType?: TriggerType | string;
103
- }
104
-
105
- export interface SystemEvent {
106
-
107
- eventType?: EventType | string;
108
-
109
- stateChangeConfiguration?: StateChangeConfiguration;
110
- }
111
-
112
- export interface AlarmState {
113
-
114
- stateName?: AlarmStateName | string;
115
-
116
- ruleEvaluation?: RuleEvaluation;
117
-
118
- customerAction?: CustomerAction;
119
-
120
- systemEvent?: SystemEvent;
121
- }
122
-
123
- export interface Alarm {
124
-
125
- alarmModelName?: string;
126
-
127
- alarmModelVersion?: string;
128
-
129
- keyValue?: string;
130
-
131
- alarmState?: AlarmState;
132
-
133
- severity?: number;
134
-
135
- creationTime?: Date;
136
-
137
- lastUpdateTime?: Date;
138
- }
139
-
140
- export interface AlarmSummary {
141
-
142
- alarmModelName?: string;
143
-
144
- alarmModelVersion?: string;
145
-
146
- keyValue?: string;
147
-
148
- stateName?: AlarmStateName | string;
149
-
150
- creationTime?: Date;
151
-
152
- lastUpdateTime?: Date;
153
- }
154
- export interface BatchAcknowledgeAlarmRequest {
155
-
156
- acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
157
- }
158
- export declare enum ErrorCode {
159
- InternalFailureException = "InternalFailureException",
160
- InvalidRequestException = "InvalidRequestException",
161
- ResourceNotFoundException = "ResourceNotFoundException",
162
- ServiceUnavailableException = "ServiceUnavailableException",
163
- ThrottlingException = "ThrottlingException"
164
- }
165
-
166
- export interface BatchAlarmActionErrorEntry {
167
-
168
- requestId?: string;
169
-
170
- errorCode?: ErrorCode | string;
171
-
172
- errorMessage?: string;
173
- }
174
- export interface BatchAcknowledgeAlarmResponse {
175
-
176
- errorEntries?: BatchAlarmActionErrorEntry[];
177
- }
178
-
179
- export declare class InternalFailureException extends __BaseException {
180
- readonly name: "InternalFailureException";
181
- readonly $fault: "server";
182
-
183
- constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
184
- }
185
-
186
- export declare class InvalidRequestException extends __BaseException {
187
- readonly name: "InvalidRequestException";
188
- readonly $fault: "client";
189
-
190
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
191
- }
192
-
193
- export declare class ServiceUnavailableException extends __BaseException {
194
- readonly name: "ServiceUnavailableException";
195
- readonly $fault: "server";
196
-
197
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
198
- }
199
-
200
- export declare class ThrottlingException extends __BaseException {
201
- readonly name: "ThrottlingException";
202
- readonly $fault: "client";
203
-
204
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
205
- }
206
-
207
- export interface DeleteDetectorRequest {
208
-
209
- messageId: string | undefined;
210
-
211
- detectorModelName: string | undefined;
212
-
213
- keyValue?: string;
214
- }
215
- export interface BatchDeleteDetectorRequest {
216
-
217
- detectors: DeleteDetectorRequest[] | undefined;
218
- }
219
-
220
- export interface BatchDeleteDetectorErrorEntry {
221
-
222
- messageId?: string;
223
-
224
- errorCode?: ErrorCode | string;
225
-
226
- errorMessage?: string;
227
- }
228
- export interface BatchDeleteDetectorResponse {
229
-
230
- batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[];
231
- }
232
-
233
- export interface DisableAlarmActionRequest {
234
-
235
- requestId: string | undefined;
236
-
237
- alarmModelName: string | undefined;
238
-
239
- keyValue?: string;
240
-
241
- note?: string;
242
- }
243
- export interface BatchDisableAlarmRequest {
244
-
245
- disableActionRequests: DisableAlarmActionRequest[] | undefined;
246
- }
247
- export interface BatchDisableAlarmResponse {
248
-
249
- errorEntries?: BatchAlarmActionErrorEntry[];
250
- }
251
-
252
- export interface EnableAlarmActionRequest {
253
-
254
- requestId: string | undefined;
255
-
256
- alarmModelName: string | undefined;
257
-
258
- keyValue?: string;
259
-
260
- note?: string;
261
- }
262
- export interface BatchEnableAlarmRequest {
263
-
264
- enableActionRequests: EnableAlarmActionRequest[] | undefined;
265
- }
266
- export interface BatchEnableAlarmResponse {
267
-
268
- errorEntries?: BatchAlarmActionErrorEntry[];
269
- }
270
-
271
- export interface TimestampValue {
272
-
273
- timeInMillis?: number;
274
- }
275
-
276
- export interface Message {
277
-
278
- messageId: string | undefined;
279
-
280
- inputName: string | undefined;
281
-
282
- payload: Uint8Array | undefined;
283
-
284
- timestamp?: TimestampValue;
285
- }
286
- export interface BatchPutMessageRequest {
287
-
288
- messages: Message[] | undefined;
289
- }
290
-
291
- export interface BatchPutMessageErrorEntry {
292
-
293
- messageId?: string;
294
-
295
- errorCode?: ErrorCode | string;
296
-
297
- errorMessage?: string;
298
- }
299
- export interface BatchPutMessageResponse {
300
-
301
- BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[];
302
- }
303
-
304
- export interface ResetAlarmActionRequest {
305
-
306
- requestId: string | undefined;
307
-
308
- alarmModelName: string | undefined;
309
-
310
- keyValue?: string;
311
-
312
- note?: string;
313
- }
314
- export interface BatchResetAlarmRequest {
315
-
316
- resetActionRequests: ResetAlarmActionRequest[] | undefined;
317
- }
318
- export interface BatchResetAlarmResponse {
319
-
320
- errorEntries?: BatchAlarmActionErrorEntry[];
321
- }
322
-
323
- export interface SnoozeAlarmActionRequest {
324
-
325
- requestId: string | undefined;
326
-
327
- alarmModelName: string | undefined;
328
-
329
- keyValue?: string;
330
-
331
- note?: string;
332
-
333
- snoozeDuration: number | undefined;
334
- }
335
- export interface BatchSnoozeAlarmRequest {
336
-
337
- snoozeActionRequests: SnoozeAlarmActionRequest[] | undefined;
338
- }
339
- export interface BatchSnoozeAlarmResponse {
340
-
341
- errorEntries?: BatchAlarmActionErrorEntry[];
342
- }
343
-
344
- export interface TimerDefinition {
345
-
346
- name: string | undefined;
347
-
348
- seconds: number | undefined;
349
- }
350
-
351
- export interface VariableDefinition {
352
-
353
- name: string | undefined;
354
-
355
- value: string | undefined;
356
- }
357
-
358
- export interface DetectorStateDefinition {
359
-
360
- stateName: string | undefined;
361
-
362
- variables: VariableDefinition[] | undefined;
363
-
364
- timers: TimerDefinition[] | undefined;
365
- }
366
-
367
- export interface UpdateDetectorRequest {
368
-
369
- messageId: string | undefined;
370
-
371
- detectorModelName: string | undefined;
372
-
373
- keyValue?: string;
374
-
375
- state: DetectorStateDefinition | undefined;
376
- }
377
- export interface BatchUpdateDetectorRequest {
378
-
379
- detectors: UpdateDetectorRequest[] | undefined;
380
- }
381
-
382
- export interface BatchUpdateDetectorErrorEntry {
383
-
384
- messageId?: string;
385
-
386
- errorCode?: ErrorCode | string;
387
-
388
- errorMessage?: string;
389
- }
390
- export interface BatchUpdateDetectorResponse {
391
-
392
- batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[];
393
- }
394
- export interface DescribeAlarmRequest {
395
-
396
- alarmModelName: string | undefined;
397
-
398
- keyValue?: string;
399
- }
400
- export interface DescribeAlarmResponse {
401
-
402
- alarm?: Alarm;
403
- }
404
-
405
- export declare class ResourceNotFoundException extends __BaseException {
406
- readonly name: "ResourceNotFoundException";
407
- readonly $fault: "client";
408
-
409
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
410
- }
411
- export interface DescribeDetectorRequest {
412
-
413
- detectorModelName: string | undefined;
414
-
415
- keyValue?: string;
416
- }
417
-
418
- export interface Timer {
419
-
420
- name: string | undefined;
421
-
422
- timestamp: Date | undefined;
423
- }
424
-
425
- export interface Variable {
426
-
427
- name: string | undefined;
428
-
429
- value: string | undefined;
430
- }
431
-
432
- export interface DetectorState {
433
-
434
- stateName: string | undefined;
435
-
436
- variables: Variable[] | undefined;
437
-
438
- timers: Timer[] | undefined;
439
- }
440
-
441
- export interface Detector {
442
-
443
- detectorModelName?: string;
444
-
445
- keyValue?: string;
446
-
447
- detectorModelVersion?: string;
448
-
449
- state?: DetectorState;
450
-
451
- creationTime?: Date;
452
-
453
- lastUpdateTime?: Date;
454
- }
455
- export interface DescribeDetectorResponse {
456
-
457
- detector?: Detector;
458
- }
459
-
460
- export interface DetectorStateSummary {
461
-
462
- stateName?: string;
463
- }
464
-
465
- export interface DetectorSummary {
466
-
467
- detectorModelName?: string;
468
-
469
- keyValue?: string;
470
-
471
- detectorModelVersion?: string;
472
-
473
- state?: DetectorStateSummary;
474
-
475
- creationTime?: Date;
476
-
477
- lastUpdateTime?: Date;
478
- }
479
- export interface ListAlarmsRequest {
480
-
481
- alarmModelName: string | undefined;
482
-
483
- nextToken?: string;
484
-
485
- maxResults?: number;
486
- }
487
- export interface ListAlarmsResponse {
488
-
489
- alarmSummaries?: AlarmSummary[];
490
-
491
- nextToken?: string;
492
- }
493
- export interface ListDetectorsRequest {
494
-
495
- detectorModelName: string | undefined;
496
-
497
- stateName?: string;
498
-
499
- nextToken?: string;
500
-
501
- maxResults?: number;
502
- }
503
- export interface ListDetectorsResponse {
504
-
505
- detectorSummaries?: DetectorSummary[];
506
-
507
- nextToken?: string;
508
- }
509
-
510
- export declare const AcknowledgeActionConfigurationFilterSensitiveLog: (obj: AcknowledgeActionConfiguration) => any;
511
-
512
- export declare const AcknowledgeAlarmActionRequestFilterSensitiveLog: (obj: AcknowledgeAlarmActionRequest) => any;
513
-
514
- export declare const DisableActionConfigurationFilterSensitiveLog: (obj: DisableActionConfiguration) => any;
515
-
516
- export declare const EnableActionConfigurationFilterSensitiveLog: (obj: EnableActionConfiguration) => any;
517
-
518
- export declare const ResetActionConfigurationFilterSensitiveLog: (obj: ResetActionConfiguration) => any;
519
-
520
- export declare const SnoozeActionConfigurationFilterSensitiveLog: (obj: SnoozeActionConfiguration) => any;
521
-
522
- export declare const CustomerActionFilterSensitiveLog: (obj: CustomerAction) => any;
523
-
524
- export declare const SimpleRuleEvaluationFilterSensitiveLog: (obj: SimpleRuleEvaluation) => any;
525
-
526
- export declare const RuleEvaluationFilterSensitiveLog: (obj: RuleEvaluation) => any;
527
-
528
- export declare const StateChangeConfigurationFilterSensitiveLog: (obj: StateChangeConfiguration) => any;
529
-
530
- export declare const SystemEventFilterSensitiveLog: (obj: SystemEvent) => any;
531
-
532
- export declare const AlarmStateFilterSensitiveLog: (obj: AlarmState) => any;
533
-
534
- export declare const AlarmFilterSensitiveLog: (obj: Alarm) => any;
535
-
536
- export declare const AlarmSummaryFilterSensitiveLog: (obj: AlarmSummary) => any;
537
-
538
- export declare const BatchAcknowledgeAlarmRequestFilterSensitiveLog: (obj: BatchAcknowledgeAlarmRequest) => any;
539
-
540
- export declare const BatchAlarmActionErrorEntryFilterSensitiveLog: (obj: BatchAlarmActionErrorEntry) => any;
541
-
542
- export declare const BatchAcknowledgeAlarmResponseFilterSensitiveLog: (obj: BatchAcknowledgeAlarmResponse) => any;
543
-
544
- export declare const DeleteDetectorRequestFilterSensitiveLog: (obj: DeleteDetectorRequest) => any;
545
-
546
- export declare const BatchDeleteDetectorRequestFilterSensitiveLog: (obj: BatchDeleteDetectorRequest) => any;
547
-
548
- export declare const BatchDeleteDetectorErrorEntryFilterSensitiveLog: (obj: BatchDeleteDetectorErrorEntry) => any;
549
-
550
- export declare const BatchDeleteDetectorResponseFilterSensitiveLog: (obj: BatchDeleteDetectorResponse) => any;
551
-
552
- export declare const DisableAlarmActionRequestFilterSensitiveLog: (obj: DisableAlarmActionRequest) => any;
553
-
554
- export declare const BatchDisableAlarmRequestFilterSensitiveLog: (obj: BatchDisableAlarmRequest) => any;
555
-
556
- export declare const BatchDisableAlarmResponseFilterSensitiveLog: (obj: BatchDisableAlarmResponse) => any;
557
-
558
- export declare const EnableAlarmActionRequestFilterSensitiveLog: (obj: EnableAlarmActionRequest) => any;
559
-
560
- export declare const BatchEnableAlarmRequestFilterSensitiveLog: (obj: BatchEnableAlarmRequest) => any;
561
-
562
- export declare const BatchEnableAlarmResponseFilterSensitiveLog: (obj: BatchEnableAlarmResponse) => any;
563
-
564
- export declare const TimestampValueFilterSensitiveLog: (obj: TimestampValue) => any;
565
-
566
- export declare const MessageFilterSensitiveLog: (obj: Message) => any;
567
-
568
- export declare const BatchPutMessageRequestFilterSensitiveLog: (obj: BatchPutMessageRequest) => any;
569
-
570
- export declare const BatchPutMessageErrorEntryFilterSensitiveLog: (obj: BatchPutMessageErrorEntry) => any;
571
-
572
- export declare const BatchPutMessageResponseFilterSensitiveLog: (obj: BatchPutMessageResponse) => any;
573
-
574
- export declare const ResetAlarmActionRequestFilterSensitiveLog: (obj: ResetAlarmActionRequest) => any;
575
-
576
- export declare const BatchResetAlarmRequestFilterSensitiveLog: (obj: BatchResetAlarmRequest) => any;
577
-
578
- export declare const BatchResetAlarmResponseFilterSensitiveLog: (obj: BatchResetAlarmResponse) => any;
579
-
580
- export declare const SnoozeAlarmActionRequestFilterSensitiveLog: (obj: SnoozeAlarmActionRequest) => any;
581
-
582
- export declare const BatchSnoozeAlarmRequestFilterSensitiveLog: (obj: BatchSnoozeAlarmRequest) => any;
583
-
584
- export declare const BatchSnoozeAlarmResponseFilterSensitiveLog: (obj: BatchSnoozeAlarmResponse) => any;
585
-
586
- export declare const TimerDefinitionFilterSensitiveLog: (obj: TimerDefinition) => any;
587
-
588
- export declare const VariableDefinitionFilterSensitiveLog: (obj: VariableDefinition) => any;
589
-
590
- export declare const DetectorStateDefinitionFilterSensitiveLog: (obj: DetectorStateDefinition) => any;
591
-
592
- export declare const UpdateDetectorRequestFilterSensitiveLog: (obj: UpdateDetectorRequest) => any;
593
-
594
- export declare const BatchUpdateDetectorRequestFilterSensitiveLog: (obj: BatchUpdateDetectorRequest) => any;
595
-
596
- export declare const BatchUpdateDetectorErrorEntryFilterSensitiveLog: (obj: BatchUpdateDetectorErrorEntry) => any;
597
-
598
- export declare const BatchUpdateDetectorResponseFilterSensitiveLog: (obj: BatchUpdateDetectorResponse) => any;
599
-
600
- export declare const DescribeAlarmRequestFilterSensitiveLog: (obj: DescribeAlarmRequest) => any;
601
-
602
- export declare const DescribeAlarmResponseFilterSensitiveLog: (obj: DescribeAlarmResponse) => any;
603
-
604
- export declare const DescribeDetectorRequestFilterSensitiveLog: (obj: DescribeDetectorRequest) => any;
605
-
606
- export declare const TimerFilterSensitiveLog: (obj: Timer) => any;
607
-
608
- export declare const VariableFilterSensitiveLog: (obj: Variable) => any;
609
-
610
- export declare const DetectorStateFilterSensitiveLog: (obj: DetectorState) => any;
611
-
612
- export declare const DetectorFilterSensitiveLog: (obj: Detector) => any;
613
-
614
- export declare const DescribeDetectorResponseFilterSensitiveLog: (obj: DescribeDetectorResponse) => any;
615
-
616
- export declare const DetectorStateSummaryFilterSensitiveLog: (obj: DetectorStateSummary) => any;
617
-
618
- export declare const DetectorSummaryFilterSensitiveLog: (obj: DetectorSummary) => any;
619
-
620
- export declare const ListAlarmsRequestFilterSensitiveLog: (obj: ListAlarmsRequest) => any;
621
-
622
- export declare const ListAlarmsResponseFilterSensitiveLog: (obj: ListAlarmsResponse) => any;
623
-
624
- export declare const ListDetectorsRequestFilterSensitiveLog: (obj: ListDetectorsRequest) => any;
625
-
626
- export declare const ListDetectorsResponseFilterSensitiveLog: (obj: ListDetectorsResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
3
+
4
+ export interface AcknowledgeActionConfiguration {
5
+ note?: string;
6
+ }
7
+
8
+ export interface AcknowledgeAlarmActionRequest {
9
+ requestId: string | undefined;
10
+
11
+ alarmModelName: string | undefined;
12
+
13
+ keyValue?: string;
14
+
15
+ note?: string;
16
+ }
17
+ export declare enum CustomerActionName {
18
+ ACKNOWLEDGE = "ACKNOWLEDGE",
19
+ DISABLE = "DISABLE",
20
+ ENABLE = "ENABLE",
21
+ RESET = "RESET",
22
+ SNOOZE = "SNOOZE",
23
+ }
24
+
25
+ export interface DisableActionConfiguration {
26
+ note?: string;
27
+ }
28
+
29
+ export interface EnableActionConfiguration {
30
+ note?: string;
31
+ }
32
+
33
+ export interface ResetActionConfiguration {
34
+ note?: string;
35
+ }
36
+
37
+ export interface SnoozeActionConfiguration {
38
+ snoozeDuration?: number;
39
+
40
+ note?: string;
41
+ }
42
+
43
+ export interface CustomerAction {
44
+ actionName?: CustomerActionName | string;
45
+
46
+ snoozeActionConfiguration?: SnoozeActionConfiguration;
47
+
48
+ enableActionConfiguration?: EnableActionConfiguration;
49
+
50
+ disableActionConfiguration?: DisableActionConfiguration;
51
+
52
+ acknowledgeActionConfiguration?: AcknowledgeActionConfiguration;
53
+
54
+ resetActionConfiguration?: ResetActionConfiguration;
55
+ }
56
+ export declare enum ComparisonOperator {
57
+ EQUAL = "EQUAL",
58
+ GREATER = "GREATER",
59
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
60
+ LESS = "LESS",
61
+ LESS_OR_EQUAL = "LESS_OR_EQUAL",
62
+ NOT_EQUAL = "NOT_EQUAL",
63
+ }
64
+
65
+ export interface SimpleRuleEvaluation {
66
+ inputPropertyValue?: string;
67
+
68
+ operator?: ComparisonOperator | string;
69
+
70
+ thresholdValue?: string;
71
+ }
72
+
73
+ export interface RuleEvaluation {
74
+ simpleRuleEvaluation?: SimpleRuleEvaluation;
75
+ }
76
+ export declare enum AlarmStateName {
77
+ ACKNOWLEDGED = "ACKNOWLEDGED",
78
+ ACTIVE = "ACTIVE",
79
+ DISABLED = "DISABLED",
80
+ LATCHED = "LATCHED",
81
+ NORMAL = "NORMAL",
82
+ SNOOZE_DISABLED = "SNOOZE_DISABLED",
83
+ }
84
+ export declare enum EventType {
85
+ STATE_CHANGE = "STATE_CHANGE",
86
+ }
87
+ export declare enum TriggerType {
88
+ SNOOZE_TIMEOUT = "SNOOZE_TIMEOUT",
89
+ }
90
+
91
+ export interface StateChangeConfiguration {
92
+ triggerType?: TriggerType | string;
93
+ }
94
+
95
+ export interface SystemEvent {
96
+ eventType?: EventType | string;
97
+
98
+ stateChangeConfiguration?: StateChangeConfiguration;
99
+ }
100
+
101
+ export interface AlarmState {
102
+ stateName?: AlarmStateName | string;
103
+
104
+ ruleEvaluation?: RuleEvaluation;
105
+
106
+ customerAction?: CustomerAction;
107
+
108
+ systemEvent?: SystemEvent;
109
+ }
110
+
111
+ export interface Alarm {
112
+ alarmModelName?: string;
113
+
114
+ alarmModelVersion?: string;
115
+
116
+ keyValue?: string;
117
+
118
+ alarmState?: AlarmState;
119
+
120
+ severity?: number;
121
+
122
+ creationTime?: Date;
123
+
124
+ lastUpdateTime?: Date;
125
+ }
126
+
127
+ export interface AlarmSummary {
128
+ alarmModelName?: string;
129
+
130
+ alarmModelVersion?: string;
131
+
132
+ keyValue?: string;
133
+
134
+ stateName?: AlarmStateName | string;
135
+
136
+ creationTime?: Date;
137
+
138
+ lastUpdateTime?: Date;
139
+ }
140
+ export interface BatchAcknowledgeAlarmRequest {
141
+ acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
142
+ }
143
+ export declare enum ErrorCode {
144
+ InternalFailureException = "InternalFailureException",
145
+ InvalidRequestException = "InvalidRequestException",
146
+ ResourceNotFoundException = "ResourceNotFoundException",
147
+ ServiceUnavailableException = "ServiceUnavailableException",
148
+ ThrottlingException = "ThrottlingException",
149
+ }
150
+
151
+ export interface BatchAlarmActionErrorEntry {
152
+ requestId?: string;
153
+
154
+ errorCode?: ErrorCode | string;
155
+
156
+ errorMessage?: string;
157
+ }
158
+ export interface BatchAcknowledgeAlarmResponse {
159
+ errorEntries?: BatchAlarmActionErrorEntry[];
160
+ }
161
+
162
+ export declare class InternalFailureException extends __BaseException {
163
+ readonly name: "InternalFailureException";
164
+ readonly $fault: "server";
165
+
166
+ constructor(
167
+ opts: __ExceptionOptionType<InternalFailureException, __BaseException>
168
+ );
169
+ }
170
+
171
+ export declare class InvalidRequestException extends __BaseException {
172
+ readonly name: "InvalidRequestException";
173
+ readonly $fault: "client";
174
+
175
+ constructor(
176
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
177
+ );
178
+ }
179
+
180
+ export declare class ServiceUnavailableException extends __BaseException {
181
+ readonly name: "ServiceUnavailableException";
182
+ readonly $fault: "server";
183
+
184
+ constructor(
185
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
186
+ );
187
+ }
188
+
189
+ export declare class ThrottlingException extends __BaseException {
190
+ readonly name: "ThrottlingException";
191
+ readonly $fault: "client";
192
+
193
+ constructor(
194
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
195
+ );
196
+ }
197
+
198
+ export interface DeleteDetectorRequest {
199
+ messageId: string | undefined;
200
+
201
+ detectorModelName: string | undefined;
202
+
203
+ keyValue?: string;
204
+ }
205
+ export interface BatchDeleteDetectorRequest {
206
+ detectors: DeleteDetectorRequest[] | undefined;
207
+ }
208
+
209
+ export interface BatchDeleteDetectorErrorEntry {
210
+ messageId?: string;
211
+
212
+ errorCode?: ErrorCode | string;
213
+
214
+ errorMessage?: string;
215
+ }
216
+ export interface BatchDeleteDetectorResponse {
217
+ batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[];
218
+ }
219
+
220
+ export interface DisableAlarmActionRequest {
221
+ requestId: string | undefined;
222
+
223
+ alarmModelName: string | undefined;
224
+
225
+ keyValue?: string;
226
+
227
+ note?: string;
228
+ }
229
+ export interface BatchDisableAlarmRequest {
230
+ disableActionRequests: DisableAlarmActionRequest[] | undefined;
231
+ }
232
+ export interface BatchDisableAlarmResponse {
233
+ errorEntries?: BatchAlarmActionErrorEntry[];
234
+ }
235
+
236
+ export interface EnableAlarmActionRequest {
237
+ requestId: string | undefined;
238
+
239
+ alarmModelName: string | undefined;
240
+
241
+ keyValue?: string;
242
+
243
+ note?: string;
244
+ }
245
+ export interface BatchEnableAlarmRequest {
246
+ enableActionRequests: EnableAlarmActionRequest[] | undefined;
247
+ }
248
+ export interface BatchEnableAlarmResponse {
249
+ errorEntries?: BatchAlarmActionErrorEntry[];
250
+ }
251
+
252
+ export interface TimestampValue {
253
+ timeInMillis?: number;
254
+ }
255
+
256
+ export interface Message {
257
+ messageId: string | undefined;
258
+
259
+ inputName: string | undefined;
260
+
261
+ payload: Uint8Array | undefined;
262
+
263
+ timestamp?: TimestampValue;
264
+ }
265
+ export interface BatchPutMessageRequest {
266
+ messages: Message[] | undefined;
267
+ }
268
+
269
+ export interface BatchPutMessageErrorEntry {
270
+ messageId?: string;
271
+
272
+ errorCode?: ErrorCode | string;
273
+
274
+ errorMessage?: string;
275
+ }
276
+ export interface BatchPutMessageResponse {
277
+ BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[];
278
+ }
279
+
280
+ export interface ResetAlarmActionRequest {
281
+ requestId: string | undefined;
282
+
283
+ alarmModelName: string | undefined;
284
+
285
+ keyValue?: string;
286
+
287
+ note?: string;
288
+ }
289
+ export interface BatchResetAlarmRequest {
290
+ resetActionRequests: ResetAlarmActionRequest[] | undefined;
291
+ }
292
+ export interface BatchResetAlarmResponse {
293
+ errorEntries?: BatchAlarmActionErrorEntry[];
294
+ }
295
+
296
+ export interface SnoozeAlarmActionRequest {
297
+ requestId: string | undefined;
298
+
299
+ alarmModelName: string | undefined;
300
+
301
+ keyValue?: string;
302
+
303
+ note?: string;
304
+
305
+ snoozeDuration: number | undefined;
306
+ }
307
+ export interface BatchSnoozeAlarmRequest {
308
+ snoozeActionRequests: SnoozeAlarmActionRequest[] | undefined;
309
+ }
310
+ export interface BatchSnoozeAlarmResponse {
311
+ errorEntries?: BatchAlarmActionErrorEntry[];
312
+ }
313
+
314
+ export interface TimerDefinition {
315
+ name: string | undefined;
316
+
317
+ seconds: number | undefined;
318
+ }
319
+
320
+ export interface VariableDefinition {
321
+ name: string | undefined;
322
+
323
+ value: string | undefined;
324
+ }
325
+
326
+ export interface DetectorStateDefinition {
327
+ stateName: string | undefined;
328
+
329
+ variables: VariableDefinition[] | undefined;
330
+
331
+ timers: TimerDefinition[] | undefined;
332
+ }
333
+
334
+ export interface UpdateDetectorRequest {
335
+ messageId: string | undefined;
336
+
337
+ detectorModelName: string | undefined;
338
+
339
+ keyValue?: string;
340
+
341
+ state: DetectorStateDefinition | undefined;
342
+ }
343
+ export interface BatchUpdateDetectorRequest {
344
+ detectors: UpdateDetectorRequest[] | undefined;
345
+ }
346
+
347
+ export interface BatchUpdateDetectorErrorEntry {
348
+ messageId?: string;
349
+
350
+ errorCode?: ErrorCode | string;
351
+
352
+ errorMessage?: string;
353
+ }
354
+ export interface BatchUpdateDetectorResponse {
355
+ batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[];
356
+ }
357
+ export interface DescribeAlarmRequest {
358
+ alarmModelName: string | undefined;
359
+
360
+ keyValue?: string;
361
+ }
362
+ export interface DescribeAlarmResponse {
363
+ alarm?: Alarm;
364
+ }
365
+
366
+ export declare class ResourceNotFoundException extends __BaseException {
367
+ readonly name: "ResourceNotFoundException";
368
+ readonly $fault: "client";
369
+
370
+ constructor(
371
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
372
+ );
373
+ }
374
+ export interface DescribeDetectorRequest {
375
+ detectorModelName: string | undefined;
376
+
377
+ keyValue?: string;
378
+ }
379
+
380
+ export interface Timer {
381
+ name: string | undefined;
382
+
383
+ timestamp: Date | undefined;
384
+ }
385
+
386
+ export interface Variable {
387
+ name: string | undefined;
388
+
389
+ value: string | undefined;
390
+ }
391
+
392
+ export interface DetectorState {
393
+ stateName: string | undefined;
394
+
395
+ variables: Variable[] | undefined;
396
+
397
+ timers: Timer[] | undefined;
398
+ }
399
+
400
+ export interface Detector {
401
+ detectorModelName?: string;
402
+
403
+ keyValue?: string;
404
+
405
+ detectorModelVersion?: string;
406
+
407
+ state?: DetectorState;
408
+
409
+ creationTime?: Date;
410
+
411
+ lastUpdateTime?: Date;
412
+ }
413
+ export interface DescribeDetectorResponse {
414
+ detector?: Detector;
415
+ }
416
+
417
+ export interface DetectorStateSummary {
418
+ stateName?: string;
419
+ }
420
+
421
+ export interface DetectorSummary {
422
+ detectorModelName?: string;
423
+
424
+ keyValue?: string;
425
+
426
+ detectorModelVersion?: string;
427
+
428
+ state?: DetectorStateSummary;
429
+
430
+ creationTime?: Date;
431
+
432
+ lastUpdateTime?: Date;
433
+ }
434
+ export interface ListAlarmsRequest {
435
+ alarmModelName: string | undefined;
436
+
437
+ nextToken?: string;
438
+
439
+ maxResults?: number;
440
+ }
441
+ export interface ListAlarmsResponse {
442
+ alarmSummaries?: AlarmSummary[];
443
+
444
+ nextToken?: string;
445
+ }
446
+ export interface ListDetectorsRequest {
447
+ detectorModelName: string | undefined;
448
+
449
+ stateName?: string;
450
+
451
+ nextToken?: string;
452
+
453
+ maxResults?: number;
454
+ }
455
+ export interface ListDetectorsResponse {
456
+ detectorSummaries?: DetectorSummary[];
457
+
458
+ nextToken?: string;
459
+ }
460
+
461
+ export declare const AcknowledgeActionConfigurationFilterSensitiveLog: (
462
+ obj: AcknowledgeActionConfiguration
463
+ ) => any;
464
+
465
+ export declare const AcknowledgeAlarmActionRequestFilterSensitiveLog: (
466
+ obj: AcknowledgeAlarmActionRequest
467
+ ) => any;
468
+
469
+ export declare const DisableActionConfigurationFilterSensitiveLog: (
470
+ obj: DisableActionConfiguration
471
+ ) => any;
472
+
473
+ export declare const EnableActionConfigurationFilterSensitiveLog: (
474
+ obj: EnableActionConfiguration
475
+ ) => any;
476
+
477
+ export declare const ResetActionConfigurationFilterSensitiveLog: (
478
+ obj: ResetActionConfiguration
479
+ ) => any;
480
+
481
+ export declare const SnoozeActionConfigurationFilterSensitiveLog: (
482
+ obj: SnoozeActionConfiguration
483
+ ) => any;
484
+
485
+ export declare const CustomerActionFilterSensitiveLog: (
486
+ obj: CustomerAction
487
+ ) => any;
488
+
489
+ export declare const SimpleRuleEvaluationFilterSensitiveLog: (
490
+ obj: SimpleRuleEvaluation
491
+ ) => any;
492
+
493
+ export declare const RuleEvaluationFilterSensitiveLog: (
494
+ obj: RuleEvaluation
495
+ ) => any;
496
+
497
+ export declare const StateChangeConfigurationFilterSensitiveLog: (
498
+ obj: StateChangeConfiguration
499
+ ) => any;
500
+
501
+ export declare const SystemEventFilterSensitiveLog: (obj: SystemEvent) => any;
502
+
503
+ export declare const AlarmStateFilterSensitiveLog: (obj: AlarmState) => any;
504
+
505
+ export declare const AlarmFilterSensitiveLog: (obj: Alarm) => any;
506
+
507
+ export declare const AlarmSummaryFilterSensitiveLog: (obj: AlarmSummary) => any;
508
+
509
+ export declare const BatchAcknowledgeAlarmRequestFilterSensitiveLog: (
510
+ obj: BatchAcknowledgeAlarmRequest
511
+ ) => any;
512
+
513
+ export declare const BatchAlarmActionErrorEntryFilterSensitiveLog: (
514
+ obj: BatchAlarmActionErrorEntry
515
+ ) => any;
516
+
517
+ export declare const BatchAcknowledgeAlarmResponseFilterSensitiveLog: (
518
+ obj: BatchAcknowledgeAlarmResponse
519
+ ) => any;
520
+
521
+ export declare const DeleteDetectorRequestFilterSensitiveLog: (
522
+ obj: DeleteDetectorRequest
523
+ ) => any;
524
+
525
+ export declare const BatchDeleteDetectorRequestFilterSensitiveLog: (
526
+ obj: BatchDeleteDetectorRequest
527
+ ) => any;
528
+
529
+ export declare const BatchDeleteDetectorErrorEntryFilterSensitiveLog: (
530
+ obj: BatchDeleteDetectorErrorEntry
531
+ ) => any;
532
+
533
+ export declare const BatchDeleteDetectorResponseFilterSensitiveLog: (
534
+ obj: BatchDeleteDetectorResponse
535
+ ) => any;
536
+
537
+ export declare const DisableAlarmActionRequestFilterSensitiveLog: (
538
+ obj: DisableAlarmActionRequest
539
+ ) => any;
540
+
541
+ export declare const BatchDisableAlarmRequestFilterSensitiveLog: (
542
+ obj: BatchDisableAlarmRequest
543
+ ) => any;
544
+
545
+ export declare const BatchDisableAlarmResponseFilterSensitiveLog: (
546
+ obj: BatchDisableAlarmResponse
547
+ ) => any;
548
+
549
+ export declare const EnableAlarmActionRequestFilterSensitiveLog: (
550
+ obj: EnableAlarmActionRequest
551
+ ) => any;
552
+
553
+ export declare const BatchEnableAlarmRequestFilterSensitiveLog: (
554
+ obj: BatchEnableAlarmRequest
555
+ ) => any;
556
+
557
+ export declare const BatchEnableAlarmResponseFilterSensitiveLog: (
558
+ obj: BatchEnableAlarmResponse
559
+ ) => any;
560
+
561
+ export declare const TimestampValueFilterSensitiveLog: (
562
+ obj: TimestampValue
563
+ ) => any;
564
+
565
+ export declare const MessageFilterSensitiveLog: (obj: Message) => any;
566
+
567
+ export declare const BatchPutMessageRequestFilterSensitiveLog: (
568
+ obj: BatchPutMessageRequest
569
+ ) => any;
570
+
571
+ export declare const BatchPutMessageErrorEntryFilterSensitiveLog: (
572
+ obj: BatchPutMessageErrorEntry
573
+ ) => any;
574
+
575
+ export declare const BatchPutMessageResponseFilterSensitiveLog: (
576
+ obj: BatchPutMessageResponse
577
+ ) => any;
578
+
579
+ export declare const ResetAlarmActionRequestFilterSensitiveLog: (
580
+ obj: ResetAlarmActionRequest
581
+ ) => any;
582
+
583
+ export declare const BatchResetAlarmRequestFilterSensitiveLog: (
584
+ obj: BatchResetAlarmRequest
585
+ ) => any;
586
+
587
+ export declare const BatchResetAlarmResponseFilterSensitiveLog: (
588
+ obj: BatchResetAlarmResponse
589
+ ) => any;
590
+
591
+ export declare const SnoozeAlarmActionRequestFilterSensitiveLog: (
592
+ obj: SnoozeAlarmActionRequest
593
+ ) => any;
594
+
595
+ export declare const BatchSnoozeAlarmRequestFilterSensitiveLog: (
596
+ obj: BatchSnoozeAlarmRequest
597
+ ) => any;
598
+
599
+ export declare const BatchSnoozeAlarmResponseFilterSensitiveLog: (
600
+ obj: BatchSnoozeAlarmResponse
601
+ ) => any;
602
+
603
+ export declare const TimerDefinitionFilterSensitiveLog: (
604
+ obj: TimerDefinition
605
+ ) => any;
606
+
607
+ export declare const VariableDefinitionFilterSensitiveLog: (
608
+ obj: VariableDefinition
609
+ ) => any;
610
+
611
+ export declare const DetectorStateDefinitionFilterSensitiveLog: (
612
+ obj: DetectorStateDefinition
613
+ ) => any;
614
+
615
+ export declare const UpdateDetectorRequestFilterSensitiveLog: (
616
+ obj: UpdateDetectorRequest
617
+ ) => any;
618
+
619
+ export declare const BatchUpdateDetectorRequestFilterSensitiveLog: (
620
+ obj: BatchUpdateDetectorRequest
621
+ ) => any;
622
+
623
+ export declare const BatchUpdateDetectorErrorEntryFilterSensitiveLog: (
624
+ obj: BatchUpdateDetectorErrorEntry
625
+ ) => any;
626
+
627
+ export declare const BatchUpdateDetectorResponseFilterSensitiveLog: (
628
+ obj: BatchUpdateDetectorResponse
629
+ ) => any;
630
+
631
+ export declare const DescribeAlarmRequestFilterSensitiveLog: (
632
+ obj: DescribeAlarmRequest
633
+ ) => any;
634
+
635
+ export declare const DescribeAlarmResponseFilterSensitiveLog: (
636
+ obj: DescribeAlarmResponse
637
+ ) => any;
638
+
639
+ export declare const DescribeDetectorRequestFilterSensitiveLog: (
640
+ obj: DescribeDetectorRequest
641
+ ) => any;
642
+
643
+ export declare const TimerFilterSensitiveLog: (obj: Timer) => any;
644
+
645
+ export declare const VariableFilterSensitiveLog: (obj: Variable) => any;
646
+
647
+ export declare const DetectorStateFilterSensitiveLog: (
648
+ obj: DetectorState
649
+ ) => any;
650
+
651
+ export declare const DetectorFilterSensitiveLog: (obj: Detector) => any;
652
+
653
+ export declare const DescribeDetectorResponseFilterSensitiveLog: (
654
+ obj: DescribeDetectorResponse
655
+ ) => any;
656
+
657
+ export declare const DetectorStateSummaryFilterSensitiveLog: (
658
+ obj: DetectorStateSummary
659
+ ) => any;
660
+
661
+ export declare const DetectorSummaryFilterSensitiveLog: (
662
+ obj: DetectorSummary
663
+ ) => any;
664
+
665
+ export declare const ListAlarmsRequestFilterSensitiveLog: (
666
+ obj: ListAlarmsRequest
667
+ ) => any;
668
+
669
+ export declare const ListAlarmsResponseFilterSensitiveLog: (
670
+ obj: ListAlarmsResponse
671
+ ) => any;
672
+
673
+ export declare const ListDetectorsRequestFilterSensitiveLog: (
674
+ obj: ListDetectorsRequest
675
+ ) => any;
676
+
677
+ export declare const ListDetectorsResponseFilterSensitiveLog: (
678
+ obj: ListDetectorsResponse
679
+ ) => any;