@aws-sdk/client-iot-events-data 3.169.0 → 3.171.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 +16 -0
  2. package/dist-types/ts3.4/IoTEventsData.d.ts +208 -65
  3. package/dist-types/ts3.4/IoTEventsDataClient.d.ts +177 -85
  4. package/dist-types/ts3.4/commands/BatchAcknowledgeAlarmCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/BatchDeleteDetectorCommand.d.ts +36 -17
  6. package/dist-types/ts3.4/commands/BatchDisableAlarmCommand.d.ts +36 -17
  7. package/dist-types/ts3.4/commands/BatchEnableAlarmCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/BatchPutMessageCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/BatchResetAlarmCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/BatchSnoozeAlarmCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/BatchUpdateDetectorCommand.d.ts +36 -17
  12. package/dist-types/ts3.4/commands/DescribeAlarmCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/DescribeDetectorCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/ListAlarmsCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +35 -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 +7 -6
  20. package/dist-types/ts3.4/models/index.d.ts +1 -1
  21. package/dist-types/ts3.4/models/models_0.d.ts +493 -626
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -38
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  27. package/package.json +34 -34
@@ -1,626 +1,493 @@
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
+ export interface AcknowledgeActionConfiguration {
4
+ note?: string;
5
+ }
6
+ export interface AcknowledgeAlarmActionRequest {
7
+ requestId: string | undefined;
8
+ alarmModelName: string | undefined;
9
+ keyValue?: string;
10
+ note?: string;
11
+ }
12
+ export declare enum CustomerActionName {
13
+ ACKNOWLEDGE = "ACKNOWLEDGE",
14
+ DISABLE = "DISABLE",
15
+ ENABLE = "ENABLE",
16
+ RESET = "RESET",
17
+ SNOOZE = "SNOOZE",
18
+ }
19
+ export interface DisableActionConfiguration {
20
+ note?: string;
21
+ }
22
+ export interface EnableActionConfiguration {
23
+ note?: string;
24
+ }
25
+ export interface ResetActionConfiguration {
26
+ note?: string;
27
+ }
28
+ export interface SnoozeActionConfiguration {
29
+ snoozeDuration?: number;
30
+ note?: string;
31
+ }
32
+ export interface CustomerAction {
33
+ actionName?: CustomerActionName | string;
34
+ snoozeActionConfiguration?: SnoozeActionConfiguration;
35
+ enableActionConfiguration?: EnableActionConfiguration;
36
+ disableActionConfiguration?: DisableActionConfiguration;
37
+ acknowledgeActionConfiguration?: AcknowledgeActionConfiguration;
38
+ resetActionConfiguration?: ResetActionConfiguration;
39
+ }
40
+ export declare enum ComparisonOperator {
41
+ EQUAL = "EQUAL",
42
+ GREATER = "GREATER",
43
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
44
+ LESS = "LESS",
45
+ LESS_OR_EQUAL = "LESS_OR_EQUAL",
46
+ NOT_EQUAL = "NOT_EQUAL",
47
+ }
48
+ export interface SimpleRuleEvaluation {
49
+ inputPropertyValue?: string;
50
+ operator?: ComparisonOperator | string;
51
+ thresholdValue?: string;
52
+ }
53
+ export interface RuleEvaluation {
54
+ simpleRuleEvaluation?: SimpleRuleEvaluation;
55
+ }
56
+ export declare enum AlarmStateName {
57
+ ACKNOWLEDGED = "ACKNOWLEDGED",
58
+ ACTIVE = "ACTIVE",
59
+ DISABLED = "DISABLED",
60
+ LATCHED = "LATCHED",
61
+ NORMAL = "NORMAL",
62
+ SNOOZE_DISABLED = "SNOOZE_DISABLED",
63
+ }
64
+ export declare enum EventType {
65
+ STATE_CHANGE = "STATE_CHANGE",
66
+ }
67
+ export declare enum TriggerType {
68
+ SNOOZE_TIMEOUT = "SNOOZE_TIMEOUT",
69
+ }
70
+ export interface StateChangeConfiguration {
71
+ triggerType?: TriggerType | string;
72
+ }
73
+ export interface SystemEvent {
74
+ eventType?: EventType | string;
75
+ stateChangeConfiguration?: StateChangeConfiguration;
76
+ }
77
+ export interface AlarmState {
78
+ stateName?: AlarmStateName | string;
79
+ ruleEvaluation?: RuleEvaluation;
80
+ customerAction?: CustomerAction;
81
+ systemEvent?: SystemEvent;
82
+ }
83
+ export interface Alarm {
84
+ alarmModelName?: string;
85
+ alarmModelVersion?: string;
86
+ keyValue?: string;
87
+ alarmState?: AlarmState;
88
+ severity?: number;
89
+ creationTime?: Date;
90
+ lastUpdateTime?: Date;
91
+ }
92
+ export interface AlarmSummary {
93
+ alarmModelName?: string;
94
+ alarmModelVersion?: string;
95
+ keyValue?: string;
96
+ stateName?: AlarmStateName | string;
97
+ creationTime?: Date;
98
+ lastUpdateTime?: Date;
99
+ }
100
+ export interface BatchAcknowledgeAlarmRequest {
101
+ acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
102
+ }
103
+ export declare enum ErrorCode {
104
+ InternalFailureException = "InternalFailureException",
105
+ InvalidRequestException = "InvalidRequestException",
106
+ ResourceNotFoundException = "ResourceNotFoundException",
107
+ ServiceUnavailableException = "ServiceUnavailableException",
108
+ ThrottlingException = "ThrottlingException",
109
+ }
110
+ export interface BatchAlarmActionErrorEntry {
111
+ requestId?: string;
112
+ errorCode?: ErrorCode | string;
113
+ errorMessage?: string;
114
+ }
115
+ export interface BatchAcknowledgeAlarmResponse {
116
+ errorEntries?: BatchAlarmActionErrorEntry[];
117
+ }
118
+ export declare class InternalFailureException extends __BaseException {
119
+ readonly name: "InternalFailureException";
120
+ readonly $fault: "server";
121
+ constructor(
122
+ opts: __ExceptionOptionType<InternalFailureException, __BaseException>
123
+ );
124
+ }
125
+ export declare class InvalidRequestException extends __BaseException {
126
+ readonly name: "InvalidRequestException";
127
+ readonly $fault: "client";
128
+ constructor(
129
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
130
+ );
131
+ }
132
+ export declare class ServiceUnavailableException extends __BaseException {
133
+ readonly name: "ServiceUnavailableException";
134
+ readonly $fault: "server";
135
+ constructor(
136
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
137
+ );
138
+ }
139
+ export declare class ThrottlingException extends __BaseException {
140
+ readonly name: "ThrottlingException";
141
+ readonly $fault: "client";
142
+ constructor(
143
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
144
+ );
145
+ }
146
+ export interface DeleteDetectorRequest {
147
+ messageId: string | undefined;
148
+ detectorModelName: string | undefined;
149
+ keyValue?: string;
150
+ }
151
+ export interface BatchDeleteDetectorRequest {
152
+ detectors: DeleteDetectorRequest[] | undefined;
153
+ }
154
+ export interface BatchDeleteDetectorErrorEntry {
155
+ messageId?: string;
156
+ errorCode?: ErrorCode | string;
157
+ errorMessage?: string;
158
+ }
159
+ export interface BatchDeleteDetectorResponse {
160
+ batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[];
161
+ }
162
+ export interface DisableAlarmActionRequest {
163
+ requestId: string | undefined;
164
+ alarmModelName: string | undefined;
165
+ keyValue?: string;
166
+ note?: string;
167
+ }
168
+ export interface BatchDisableAlarmRequest {
169
+ disableActionRequests: DisableAlarmActionRequest[] | undefined;
170
+ }
171
+ export interface BatchDisableAlarmResponse {
172
+ errorEntries?: BatchAlarmActionErrorEntry[];
173
+ }
174
+ export interface EnableAlarmActionRequest {
175
+ requestId: string | undefined;
176
+ alarmModelName: string | undefined;
177
+ keyValue?: string;
178
+ note?: string;
179
+ }
180
+ export interface BatchEnableAlarmRequest {
181
+ enableActionRequests: EnableAlarmActionRequest[] | undefined;
182
+ }
183
+ export interface BatchEnableAlarmResponse {
184
+ errorEntries?: BatchAlarmActionErrorEntry[];
185
+ }
186
+ export interface TimestampValue {
187
+ timeInMillis?: number;
188
+ }
189
+ export interface Message {
190
+ messageId: string | undefined;
191
+ inputName: string | undefined;
192
+ payload: Uint8Array | undefined;
193
+ timestamp?: TimestampValue;
194
+ }
195
+ export interface BatchPutMessageRequest {
196
+ messages: Message[] | undefined;
197
+ }
198
+ export interface BatchPutMessageErrorEntry {
199
+ messageId?: string;
200
+ errorCode?: ErrorCode | string;
201
+ errorMessage?: string;
202
+ }
203
+ export interface BatchPutMessageResponse {
204
+ BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[];
205
+ }
206
+ export interface ResetAlarmActionRequest {
207
+ requestId: string | undefined;
208
+ alarmModelName: string | undefined;
209
+ keyValue?: string;
210
+ note?: string;
211
+ }
212
+ export interface BatchResetAlarmRequest {
213
+ resetActionRequests: ResetAlarmActionRequest[] | undefined;
214
+ }
215
+ export interface BatchResetAlarmResponse {
216
+ errorEntries?: BatchAlarmActionErrorEntry[];
217
+ }
218
+ export interface SnoozeAlarmActionRequest {
219
+ requestId: string | undefined;
220
+ alarmModelName: string | undefined;
221
+ keyValue?: string;
222
+ note?: string;
223
+ snoozeDuration: number | undefined;
224
+ }
225
+ export interface BatchSnoozeAlarmRequest {
226
+ snoozeActionRequests: SnoozeAlarmActionRequest[] | undefined;
227
+ }
228
+ export interface BatchSnoozeAlarmResponse {
229
+ errorEntries?: BatchAlarmActionErrorEntry[];
230
+ }
231
+ export interface TimerDefinition {
232
+ name: string | undefined;
233
+ seconds: number | undefined;
234
+ }
235
+ export interface VariableDefinition {
236
+ name: string | undefined;
237
+ value: string | undefined;
238
+ }
239
+ export interface DetectorStateDefinition {
240
+ stateName: string | undefined;
241
+ variables: VariableDefinition[] | undefined;
242
+ timers: TimerDefinition[] | undefined;
243
+ }
244
+ export interface UpdateDetectorRequest {
245
+ messageId: string | undefined;
246
+ detectorModelName: string | undefined;
247
+ keyValue?: string;
248
+ state: DetectorStateDefinition | undefined;
249
+ }
250
+ export interface BatchUpdateDetectorRequest {
251
+ detectors: UpdateDetectorRequest[] | undefined;
252
+ }
253
+ export interface BatchUpdateDetectorErrorEntry {
254
+ messageId?: string;
255
+ errorCode?: ErrorCode | string;
256
+ errorMessage?: string;
257
+ }
258
+ export interface BatchUpdateDetectorResponse {
259
+ batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[];
260
+ }
261
+ export interface DescribeAlarmRequest {
262
+ alarmModelName: string | undefined;
263
+ keyValue?: string;
264
+ }
265
+ export interface DescribeAlarmResponse {
266
+ alarm?: Alarm;
267
+ }
268
+ export declare class ResourceNotFoundException extends __BaseException {
269
+ readonly name: "ResourceNotFoundException";
270
+ readonly $fault: "client";
271
+ constructor(
272
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
273
+ );
274
+ }
275
+ export interface DescribeDetectorRequest {
276
+ detectorModelName: string | undefined;
277
+ keyValue?: string;
278
+ }
279
+ export interface Timer {
280
+ name: string | undefined;
281
+ timestamp: Date | undefined;
282
+ }
283
+ export interface Variable {
284
+ name: string | undefined;
285
+ value: string | undefined;
286
+ }
287
+ export interface DetectorState {
288
+ stateName: string | undefined;
289
+ variables: Variable[] | undefined;
290
+ timers: Timer[] | undefined;
291
+ }
292
+ export interface Detector {
293
+ detectorModelName?: string;
294
+ keyValue?: string;
295
+ detectorModelVersion?: string;
296
+ state?: DetectorState;
297
+ creationTime?: Date;
298
+ lastUpdateTime?: Date;
299
+ }
300
+ export interface DescribeDetectorResponse {
301
+ detector?: Detector;
302
+ }
303
+ export interface DetectorStateSummary {
304
+ stateName?: string;
305
+ }
306
+ export interface DetectorSummary {
307
+ detectorModelName?: string;
308
+ keyValue?: string;
309
+ detectorModelVersion?: string;
310
+ state?: DetectorStateSummary;
311
+ creationTime?: Date;
312
+ lastUpdateTime?: Date;
313
+ }
314
+ export interface ListAlarmsRequest {
315
+ alarmModelName: string | undefined;
316
+ nextToken?: string;
317
+ maxResults?: number;
318
+ }
319
+ export interface ListAlarmsResponse {
320
+ alarmSummaries?: AlarmSummary[];
321
+ nextToken?: string;
322
+ }
323
+ export interface ListDetectorsRequest {
324
+ detectorModelName: string | undefined;
325
+ stateName?: string;
326
+ nextToken?: string;
327
+ maxResults?: number;
328
+ }
329
+ export interface ListDetectorsResponse {
330
+ detectorSummaries?: DetectorSummary[];
331
+ nextToken?: string;
332
+ }
333
+ export declare const AcknowledgeActionConfigurationFilterSensitiveLog: (
334
+ obj: AcknowledgeActionConfiguration
335
+ ) => any;
336
+ export declare const AcknowledgeAlarmActionRequestFilterSensitiveLog: (
337
+ obj: AcknowledgeAlarmActionRequest
338
+ ) => any;
339
+ export declare const DisableActionConfigurationFilterSensitiveLog: (
340
+ obj: DisableActionConfiguration
341
+ ) => any;
342
+ export declare const EnableActionConfigurationFilterSensitiveLog: (
343
+ obj: EnableActionConfiguration
344
+ ) => any;
345
+ export declare const ResetActionConfigurationFilterSensitiveLog: (
346
+ obj: ResetActionConfiguration
347
+ ) => any;
348
+ export declare const SnoozeActionConfigurationFilterSensitiveLog: (
349
+ obj: SnoozeActionConfiguration
350
+ ) => any;
351
+ export declare const CustomerActionFilterSensitiveLog: (
352
+ obj: CustomerAction
353
+ ) => any;
354
+ export declare const SimpleRuleEvaluationFilterSensitiveLog: (
355
+ obj: SimpleRuleEvaluation
356
+ ) => any;
357
+ export declare const RuleEvaluationFilterSensitiveLog: (
358
+ obj: RuleEvaluation
359
+ ) => any;
360
+ export declare const StateChangeConfigurationFilterSensitiveLog: (
361
+ obj: StateChangeConfiguration
362
+ ) => any;
363
+ export declare const SystemEventFilterSensitiveLog: (obj: SystemEvent) => any;
364
+ export declare const AlarmStateFilterSensitiveLog: (obj: AlarmState) => any;
365
+ export declare const AlarmFilterSensitiveLog: (obj: Alarm) => any;
366
+ export declare const AlarmSummaryFilterSensitiveLog: (obj: AlarmSummary) => any;
367
+ export declare const BatchAcknowledgeAlarmRequestFilterSensitiveLog: (
368
+ obj: BatchAcknowledgeAlarmRequest
369
+ ) => any;
370
+ export declare const BatchAlarmActionErrorEntryFilterSensitiveLog: (
371
+ obj: BatchAlarmActionErrorEntry
372
+ ) => any;
373
+ export declare const BatchAcknowledgeAlarmResponseFilterSensitiveLog: (
374
+ obj: BatchAcknowledgeAlarmResponse
375
+ ) => any;
376
+ export declare const DeleteDetectorRequestFilterSensitiveLog: (
377
+ obj: DeleteDetectorRequest
378
+ ) => any;
379
+ export declare const BatchDeleteDetectorRequestFilterSensitiveLog: (
380
+ obj: BatchDeleteDetectorRequest
381
+ ) => any;
382
+ export declare const BatchDeleteDetectorErrorEntryFilterSensitiveLog: (
383
+ obj: BatchDeleteDetectorErrorEntry
384
+ ) => any;
385
+ export declare const BatchDeleteDetectorResponseFilterSensitiveLog: (
386
+ obj: BatchDeleteDetectorResponse
387
+ ) => any;
388
+ export declare const DisableAlarmActionRequestFilterSensitiveLog: (
389
+ obj: DisableAlarmActionRequest
390
+ ) => any;
391
+ export declare const BatchDisableAlarmRequestFilterSensitiveLog: (
392
+ obj: BatchDisableAlarmRequest
393
+ ) => any;
394
+ export declare const BatchDisableAlarmResponseFilterSensitiveLog: (
395
+ obj: BatchDisableAlarmResponse
396
+ ) => any;
397
+ export declare const EnableAlarmActionRequestFilterSensitiveLog: (
398
+ obj: EnableAlarmActionRequest
399
+ ) => any;
400
+ export declare const BatchEnableAlarmRequestFilterSensitiveLog: (
401
+ obj: BatchEnableAlarmRequest
402
+ ) => any;
403
+ export declare const BatchEnableAlarmResponseFilterSensitiveLog: (
404
+ obj: BatchEnableAlarmResponse
405
+ ) => any;
406
+ export declare const TimestampValueFilterSensitiveLog: (
407
+ obj: TimestampValue
408
+ ) => any;
409
+ export declare const MessageFilterSensitiveLog: (obj: Message) => any;
410
+ export declare const BatchPutMessageRequestFilterSensitiveLog: (
411
+ obj: BatchPutMessageRequest
412
+ ) => any;
413
+ export declare const BatchPutMessageErrorEntryFilterSensitiveLog: (
414
+ obj: BatchPutMessageErrorEntry
415
+ ) => any;
416
+ export declare const BatchPutMessageResponseFilterSensitiveLog: (
417
+ obj: BatchPutMessageResponse
418
+ ) => any;
419
+ export declare const ResetAlarmActionRequestFilterSensitiveLog: (
420
+ obj: ResetAlarmActionRequest
421
+ ) => any;
422
+ export declare const BatchResetAlarmRequestFilterSensitiveLog: (
423
+ obj: BatchResetAlarmRequest
424
+ ) => any;
425
+ export declare const BatchResetAlarmResponseFilterSensitiveLog: (
426
+ obj: BatchResetAlarmResponse
427
+ ) => any;
428
+ export declare const SnoozeAlarmActionRequestFilterSensitiveLog: (
429
+ obj: SnoozeAlarmActionRequest
430
+ ) => any;
431
+ export declare const BatchSnoozeAlarmRequestFilterSensitiveLog: (
432
+ obj: BatchSnoozeAlarmRequest
433
+ ) => any;
434
+ export declare const BatchSnoozeAlarmResponseFilterSensitiveLog: (
435
+ obj: BatchSnoozeAlarmResponse
436
+ ) => any;
437
+ export declare const TimerDefinitionFilterSensitiveLog: (
438
+ obj: TimerDefinition
439
+ ) => any;
440
+ export declare const VariableDefinitionFilterSensitiveLog: (
441
+ obj: VariableDefinition
442
+ ) => any;
443
+ export declare const DetectorStateDefinitionFilterSensitiveLog: (
444
+ obj: DetectorStateDefinition
445
+ ) => any;
446
+ export declare const UpdateDetectorRequestFilterSensitiveLog: (
447
+ obj: UpdateDetectorRequest
448
+ ) => any;
449
+ export declare const BatchUpdateDetectorRequestFilterSensitiveLog: (
450
+ obj: BatchUpdateDetectorRequest
451
+ ) => any;
452
+ export declare const BatchUpdateDetectorErrorEntryFilterSensitiveLog: (
453
+ obj: BatchUpdateDetectorErrorEntry
454
+ ) => any;
455
+ export declare const BatchUpdateDetectorResponseFilterSensitiveLog: (
456
+ obj: BatchUpdateDetectorResponse
457
+ ) => any;
458
+ export declare const DescribeAlarmRequestFilterSensitiveLog: (
459
+ obj: DescribeAlarmRequest
460
+ ) => any;
461
+ export declare const DescribeAlarmResponseFilterSensitiveLog: (
462
+ obj: DescribeAlarmResponse
463
+ ) => any;
464
+ export declare const DescribeDetectorRequestFilterSensitiveLog: (
465
+ obj: DescribeDetectorRequest
466
+ ) => any;
467
+ export declare const TimerFilterSensitiveLog: (obj: Timer) => any;
468
+ export declare const VariableFilterSensitiveLog: (obj: Variable) => any;
469
+ export declare const DetectorStateFilterSensitiveLog: (
470
+ obj: DetectorState
471
+ ) => any;
472
+ export declare const DetectorFilterSensitiveLog: (obj: Detector) => any;
473
+ export declare const DescribeDetectorResponseFilterSensitiveLog: (
474
+ obj: DescribeDetectorResponse
475
+ ) => any;
476
+ export declare const DetectorStateSummaryFilterSensitiveLog: (
477
+ obj: DetectorStateSummary
478
+ ) => any;
479
+ export declare const DetectorSummaryFilterSensitiveLog: (
480
+ obj: DetectorSummary
481
+ ) => any;
482
+ export declare const ListAlarmsRequestFilterSensitiveLog: (
483
+ obj: ListAlarmsRequest
484
+ ) => any;
485
+ export declare const ListAlarmsResponseFilterSensitiveLog: (
486
+ obj: ListAlarmsResponse
487
+ ) => any;
488
+ export declare const ListDetectorsRequestFilterSensitiveLog: (
489
+ obj: ListDetectorsRequest
490
+ ) => any;
491
+ export declare const ListDetectorsResponseFilterSensitiveLog: (
492
+ obj: ListDetectorsResponse
493
+ ) => any;