@aws-sdk/client-iot-events-data 3.686.0 → 3.691.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.
@@ -9,7 +9,7 @@ export interface AcknowledgeActionConfiguration {
9
9
  * <p>The note that you can leave when you acknowledge the alarm.</p>
10
10
  * @public
11
11
  */
12
- note?: string;
12
+ note?: string | undefined;
13
13
  }
14
14
  /**
15
15
  * <p>Information needed to acknowledge the alarm.</p>
@@ -31,12 +31,12 @@ export interface AcknowledgeAlarmActionRequest {
31
31
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
32
32
  * @public
33
33
  */
34
- keyValue?: string;
34
+ keyValue?: string | undefined;
35
35
  /**
36
36
  * <p>The note that you can leave when you acknowledge the alarm.</p>
37
37
  * @public
38
38
  */
39
- note?: string;
39
+ note?: string | undefined;
40
40
  }
41
41
  /**
42
42
  * @public
@@ -62,7 +62,7 @@ export interface DisableActionConfiguration {
62
62
  * <p>The note that you can leave when you disable the alarm.</p>
63
63
  * @public
64
64
  */
65
- note?: string;
65
+ note?: string | undefined;
66
66
  }
67
67
  /**
68
68
  * <p>Contains the configuration information of an enable action.</p>
@@ -73,7 +73,7 @@ export interface EnableActionConfiguration {
73
73
  * <p>The note that you can leave when you enable the alarm.</p>
74
74
  * @public
75
75
  */
76
- note?: string;
76
+ note?: string | undefined;
77
77
  }
78
78
  /**
79
79
  * <p>Contains the configuration information of a reset action.</p>
@@ -84,7 +84,7 @@ export interface ResetActionConfiguration {
84
84
  * <p>The note that you can leave when you reset the alarm.</p>
85
85
  * @public
86
86
  */
87
- note?: string;
87
+ note?: string | undefined;
88
88
  }
89
89
  /**
90
90
  * <p>Contains the configuration information of a snooze action.</p>
@@ -95,12 +95,12 @@ export interface SnoozeActionConfiguration {
95
95
  * <p>The snooze time in seconds. The alarm automatically changes to the <code>NORMAL</code> state after this duration.</p>
96
96
  * @public
97
97
  */
98
- snoozeDuration?: number;
98
+ snoozeDuration?: number | undefined;
99
99
  /**
100
100
  * <p>The note that you can leave when you snooze the alarm.</p>
101
101
  * @public
102
102
  */
103
- note?: string;
103
+ note?: string | undefined;
104
104
  }
105
105
  /**
106
106
  * <p>Contains information about the action that you can take to respond to the alarm.</p>
@@ -134,32 +134,32 @@ export interface CustomerAction {
134
134
  * <p>For more information, see the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_AlarmState.html">AlarmState</a> API.</p>
135
135
  * @public
136
136
  */
137
- actionName?: CustomerActionName;
137
+ actionName?: CustomerActionName | undefined;
138
138
  /**
139
139
  * <p>Contains the configuration information of a snooze action.</p>
140
140
  * @public
141
141
  */
142
- snoozeActionConfiguration?: SnoozeActionConfiguration;
142
+ snoozeActionConfiguration?: SnoozeActionConfiguration | undefined;
143
143
  /**
144
144
  * <p>Contains the configuration information of an enable action.</p>
145
145
  * @public
146
146
  */
147
- enableActionConfiguration?: EnableActionConfiguration;
147
+ enableActionConfiguration?: EnableActionConfiguration | undefined;
148
148
  /**
149
149
  * <p>Contains the configuration information of a disable action.</p>
150
150
  * @public
151
151
  */
152
- disableActionConfiguration?: DisableActionConfiguration;
152
+ disableActionConfiguration?: DisableActionConfiguration | undefined;
153
153
  /**
154
154
  * <p>Contains the configuration information of an acknowledge action.</p>
155
155
  * @public
156
156
  */
157
- acknowledgeActionConfiguration?: AcknowledgeActionConfiguration;
157
+ acknowledgeActionConfiguration?: AcknowledgeActionConfiguration | undefined;
158
158
  /**
159
159
  * <p>Contains the configuration information of a reset action.</p>
160
160
  * @public
161
161
  */
162
- resetActionConfiguration?: ResetActionConfiguration;
162
+ resetActionConfiguration?: ResetActionConfiguration | undefined;
163
163
  }
164
164
  /**
165
165
  * @public
@@ -186,17 +186,17 @@ export interface SimpleRuleEvaluation {
186
186
  * <p>The value of the input property, on the left side of the comparison operator.</p>
187
187
  * @public
188
188
  */
189
- inputPropertyValue?: string;
189
+ inputPropertyValue?: string | undefined;
190
190
  /**
191
191
  * <p>The comparison operator.</p>
192
192
  * @public
193
193
  */
194
- operator?: ComparisonOperator;
194
+ operator?: ComparisonOperator | undefined;
195
195
  /**
196
196
  * <p>The threshold value, on the right side of the comparison operator.</p>
197
197
  * @public
198
198
  */
199
- thresholdValue?: string;
199
+ thresholdValue?: string | undefined;
200
200
  }
201
201
  /**
202
202
  * <p>Information needed to evaluate data.</p>
@@ -207,7 +207,7 @@ export interface RuleEvaluation {
207
207
  * <p>Information needed to compare two values with a comparison operator.</p>
208
208
  * @public
209
209
  */
210
- simpleRuleEvaluation?: SimpleRuleEvaluation;
210
+ simpleRuleEvaluation?: SimpleRuleEvaluation | undefined;
211
211
  }
212
212
  /**
213
213
  * @public
@@ -257,7 +257,7 @@ export interface StateChangeConfiguration {
257
257
  * and the alarm automatically changes to the <code>NORMAL</code> state.</p>
258
258
  * @public
259
259
  */
260
- triggerType?: TriggerType;
260
+ triggerType?: TriggerType | undefined;
261
261
  }
262
262
  /**
263
263
  * <p>Contains information about alarm state changes.</p>
@@ -269,12 +269,12 @@ export interface SystemEvent {
269
269
  * about alarm state changes.</p>
270
270
  * @public
271
271
  */
272
- eventType?: EventType;
272
+ eventType?: EventType | undefined;
273
273
  /**
274
274
  * <p>Contains the configuration information of alarm state changes.</p>
275
275
  * @public
276
276
  */
277
- stateChangeConfiguration?: StateChangeConfiguration;
277
+ stateChangeConfiguration?: StateChangeConfiguration | undefined;
278
278
  }
279
279
  /**
280
280
  * <p>Contains information about the current state of the alarm.</p>
@@ -320,22 +320,22 @@ export interface AlarmState {
320
320
  * </ul>
321
321
  * @public
322
322
  */
323
- stateName?: AlarmStateName;
323
+ stateName?: AlarmStateName | undefined;
324
324
  /**
325
325
  * <p>Information needed to evaluate data.</p>
326
326
  * @public
327
327
  */
328
- ruleEvaluation?: RuleEvaluation;
328
+ ruleEvaluation?: RuleEvaluation | undefined;
329
329
  /**
330
330
  * <p>Contains information about the action that you can take to respond to the alarm.</p>
331
331
  * @public
332
332
  */
333
- customerAction?: CustomerAction;
333
+ customerAction?: CustomerAction | undefined;
334
334
  /**
335
335
  * <p>Contains information about alarm state changes.</p>
336
336
  * @public
337
337
  */
338
- systemEvent?: SystemEvent;
338
+ systemEvent?: SystemEvent | undefined;
339
339
  }
340
340
  /**
341
341
  * <p>Contains information about an alarm.</p>
@@ -346,38 +346,38 @@ export interface Alarm {
346
346
  * <p>The name of the alarm model.</p>
347
347
  * @public
348
348
  */
349
- alarmModelName?: string;
349
+ alarmModelName?: string | undefined;
350
350
  /**
351
351
  * <p>The version of the alarm model.</p>
352
352
  * @public
353
353
  */
354
- alarmModelVersion?: string;
354
+ alarmModelVersion?: string | undefined;
355
355
  /**
356
356
  * <p>The value of the key used as a filter to select only the alarms associated with the
357
357
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
358
358
  * @public
359
359
  */
360
- keyValue?: string;
360
+ keyValue?: string | undefined;
361
361
  /**
362
362
  * <p>Contains information about the current state of the alarm.</p>
363
363
  * @public
364
364
  */
365
- alarmState?: AlarmState;
365
+ alarmState?: AlarmState | undefined;
366
366
  /**
367
367
  * <p>A non-negative integer that reflects the severity level of the alarm.</p>
368
368
  * @public
369
369
  */
370
- severity?: number;
370
+ severity?: number | undefined;
371
371
  /**
372
372
  * <p>The time the alarm was created, in the Unix epoch format.</p>
373
373
  * @public
374
374
  */
375
- creationTime?: Date;
375
+ creationTime?: Date | undefined;
376
376
  /**
377
377
  * <p>The time the alarm was last updated, in the Unix epoch format.</p>
378
378
  * @public
379
379
  */
380
- lastUpdateTime?: Date;
380
+ lastUpdateTime?: Date | undefined;
381
381
  }
382
382
  /**
383
383
  * <p>Contains a summary of an alarm.</p>
@@ -388,18 +388,18 @@ export interface AlarmSummary {
388
388
  * <p>The name of the alarm model.</p>
389
389
  * @public
390
390
  */
391
- alarmModelName?: string;
391
+ alarmModelName?: string | undefined;
392
392
  /**
393
393
  * <p>The version of the alarm model.</p>
394
394
  * @public
395
395
  */
396
- alarmModelVersion?: string;
396
+ alarmModelVersion?: string | undefined;
397
397
  /**
398
398
  * <p>The value of the key used as a filter to select only the alarms associated with the
399
399
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
400
400
  * @public
401
401
  */
402
- keyValue?: string;
402
+ keyValue?: string | undefined;
403
403
  /**
404
404
  * <p>The name of the alarm state. The state name can be one of the following values:</p>
405
405
  * <ul>
@@ -439,17 +439,17 @@ export interface AlarmSummary {
439
439
  * </ul>
440
440
  * @public
441
441
  */
442
- stateName?: AlarmStateName;
442
+ stateName?: AlarmStateName | undefined;
443
443
  /**
444
444
  * <p>The time the alarm was created, in the Unix epoch format.</p>
445
445
  * @public
446
446
  */
447
- creationTime?: Date;
447
+ creationTime?: Date | undefined;
448
448
  /**
449
449
  * <p>The time the alarm was last updated, in the Unix epoch format.</p>
450
450
  * @public
451
451
  */
452
- lastUpdateTime?: Date;
452
+ lastUpdateTime?: Date | undefined;
453
453
  }
454
454
  /**
455
455
  * @public
@@ -512,17 +512,17 @@ export interface BatchAlarmActionErrorEntry {
512
512
  * <p>The request ID. Each ID must be unique within each batch.</p>
513
513
  * @public
514
514
  */
515
- requestId?: string;
515
+ requestId?: string | undefined;
516
516
  /**
517
517
  * <p>The error code.</p>
518
518
  * @public
519
519
  */
520
- errorCode?: ErrorCode;
520
+ errorCode?: ErrorCode | undefined;
521
521
  /**
522
522
  * <p>A message that describes the error.</p>
523
523
  * @public
524
524
  */
525
- errorMessage?: string;
525
+ errorMessage?: string | undefined;
526
526
  }
527
527
  /**
528
528
  * @public
@@ -533,7 +533,7 @@ export interface BatchAcknowledgeAlarmResponse {
533
533
  * Each error entry contains an entry ID that helps you identify the entry that failed.</p>
534
534
  * @public
535
535
  */
536
- errorEntries?: BatchAlarmActionErrorEntry[];
536
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
537
537
  }
538
538
  /**
539
539
  * <p>An internal failure occurred.</p>
@@ -602,7 +602,7 @@ export interface DeleteDetectorRequest {
602
602
  * <p>The value of the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateDetectorModel.html#iotevents-CreateDetectorModel-request-key">key</a> used to identify the detector. </p>
603
603
  * @public
604
604
  */
605
- keyValue?: string;
605
+ keyValue?: string | undefined;
606
606
  }
607
607
  /**
608
608
  * @public
@@ -623,17 +623,17 @@ export interface BatchDeleteDetectorErrorEntry {
623
623
  * <p>The ID of the message that caused the error. (See the value of the <code>"messageId"</code> in the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchDeleteDetector.html#iotevents-iotevents-data_BatchDeleteDetector-request-detectors">detectors</a> object of the <code>DeleteDetectorRequest</code>.)</p>
624
624
  * @public
625
625
  */
626
- messageId?: string;
626
+ messageId?: string | undefined;
627
627
  /**
628
628
  * <p>The error code.</p>
629
629
  * @public
630
630
  */
631
- errorCode?: ErrorCode;
631
+ errorCode?: ErrorCode | undefined;
632
632
  /**
633
633
  * <p>A message that describes the error.</p>
634
634
  * @public
635
635
  */
636
- errorMessage?: string;
636
+ errorMessage?: string | undefined;
637
637
  }
638
638
  /**
639
639
  * @public
@@ -643,7 +643,7 @@ export interface BatchDeleteDetectorResponse {
643
643
  * <p>A list of errors associated with the request, or an empty array (<code>[]</code>) if there are no errors. Each error entry contains a <code>messageId</code> that helps you identify the entry that failed.</p>
644
644
  * @public
645
645
  */
646
- batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[];
646
+ batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[] | undefined;
647
647
  }
648
648
  /**
649
649
  * <p>Information used to disable the alarm.</p>
@@ -665,12 +665,12 @@ export interface DisableAlarmActionRequest {
665
665
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
666
666
  * @public
667
667
  */
668
- keyValue?: string;
668
+ keyValue?: string | undefined;
669
669
  /**
670
670
  * <p>The note that you can leave when you disable the alarm.</p>
671
671
  * @public
672
672
  */
673
- note?: string;
673
+ note?: string | undefined;
674
674
  }
675
675
  /**
676
676
  * @public
@@ -691,7 +691,7 @@ export interface BatchDisableAlarmResponse {
691
691
  * Each error entry contains an entry ID that helps you identify the entry that failed.</p>
692
692
  * @public
693
693
  */
694
- errorEntries?: BatchAlarmActionErrorEntry[];
694
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
695
695
  }
696
696
  /**
697
697
  * <p>Information needed to enable the alarm.</p>
@@ -713,12 +713,12 @@ export interface EnableAlarmActionRequest {
713
713
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
714
714
  * @public
715
715
  */
716
- keyValue?: string;
716
+ keyValue?: string | undefined;
717
717
  /**
718
718
  * <p>The note that you can leave when you enable the alarm.</p>
719
719
  * @public
720
720
  */
721
- note?: string;
721
+ note?: string | undefined;
722
722
  }
723
723
  /**
724
724
  * @public
@@ -739,7 +739,7 @@ export interface BatchEnableAlarmResponse {
739
739
  * Each error entry contains an entry ID that helps you identify the entry that failed.</p>
740
740
  * @public
741
741
  */
742
- errorEntries?: BatchAlarmActionErrorEntry[];
742
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
743
743
  }
744
744
  /**
745
745
  * <p>Contains information about a timestamp.</p>
@@ -750,7 +750,7 @@ export interface TimestampValue {
750
750
  * <p>The value of the timestamp, in the Unix epoch format.</p>
751
751
  * @public
752
752
  */
753
- timeInMillis?: number;
753
+ timeInMillis?: number | undefined;
754
754
  }
755
755
  /**
756
756
  * <p>Information about a message.</p>
@@ -778,7 +778,7 @@ export interface Message {
778
778
  * <p>The timestamp associated with the message.</p>
779
779
  * @public
780
780
  */
781
- timestamp?: TimestampValue;
781
+ timestamp?: TimestampValue | undefined;
782
782
  }
783
783
  /**
784
784
  * @public
@@ -802,17 +802,17 @@ export interface BatchPutMessageErrorEntry {
802
802
  * <code>"messageId"</code> key in the <code>"message"</code> object.)</p>
803
803
  * @public
804
804
  */
805
- messageId?: string;
805
+ messageId?: string | undefined;
806
806
  /**
807
807
  * <p>The error code.</p>
808
808
  * @public
809
809
  */
810
- errorCode?: ErrorCode;
810
+ errorCode?: ErrorCode | undefined;
811
811
  /**
812
812
  * <p>A message that describes the error.</p>
813
813
  * @public
814
814
  */
815
- errorMessage?: string;
815
+ errorMessage?: string | undefined;
816
816
  }
817
817
  /**
818
818
  * @public
@@ -822,7 +822,7 @@ export interface BatchPutMessageResponse {
822
822
  * <p>A list of any errors encountered when sending the messages.</p>
823
823
  * @public
824
824
  */
825
- BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[];
825
+ BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[] | undefined;
826
826
  }
827
827
  /**
828
828
  * <p>Information needed to reset the alarm.</p>
@@ -844,12 +844,12 @@ export interface ResetAlarmActionRequest {
844
844
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
845
845
  * @public
846
846
  */
847
- keyValue?: string;
847
+ keyValue?: string | undefined;
848
848
  /**
849
849
  * <p>The note that you can leave when you reset the alarm.</p>
850
850
  * @public
851
851
  */
852
- note?: string;
852
+ note?: string | undefined;
853
853
  }
854
854
  /**
855
855
  * @public
@@ -870,7 +870,7 @@ export interface BatchResetAlarmResponse {
870
870
  * Each error entry contains an entry ID that helps you identify the entry that failed.</p>
871
871
  * @public
872
872
  */
873
- errorEntries?: BatchAlarmActionErrorEntry[];
873
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
874
874
  }
875
875
  /**
876
876
  * <p>Information needed to snooze the alarm.</p>
@@ -892,12 +892,12 @@ export interface SnoozeAlarmActionRequest {
892
892
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
893
893
  * @public
894
894
  */
895
- keyValue?: string;
895
+ keyValue?: string | undefined;
896
896
  /**
897
897
  * <p>The note that you can leave when you snooze the alarm.</p>
898
898
  * @public
899
899
  */
900
- note?: string;
900
+ note?: string | undefined;
901
901
  /**
902
902
  * <p>The snooze time in seconds. The alarm automatically changes to the <code>NORMAL</code> state after this duration.</p>
903
903
  * @public
@@ -923,7 +923,7 @@ export interface BatchSnoozeAlarmResponse {
923
923
  * Each error entry contains an entry ID that helps you identify the entry that failed.</p>
924
924
  * @public
925
925
  */
926
- errorEntries?: BatchAlarmActionErrorEntry[];
926
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
927
927
  }
928
928
  /**
929
929
  * <p>The new setting of a timer.</p>
@@ -1001,7 +1001,7 @@ export interface UpdateDetectorRequest {
1001
1001
  * creation of this detector (instance).</p>
1002
1002
  * @public
1003
1003
  */
1004
- keyValue?: string;
1004
+ keyValue?: string | undefined;
1005
1005
  /**
1006
1006
  * <p>The new state, variable values, and timer settings of the detector (instance).</p>
1007
1007
  * @public
@@ -1028,17 +1028,17 @@ export interface BatchUpdateDetectorErrorEntry {
1028
1028
  * the <code>"messageId"</code> in the update request <code>"Detector"</code> object.)</p>
1029
1029
  * @public
1030
1030
  */
1031
- messageId?: string;
1031
+ messageId?: string | undefined;
1032
1032
  /**
1033
1033
  * <p>The error code.</p>
1034
1034
  * @public
1035
1035
  */
1036
- errorCode?: ErrorCode;
1036
+ errorCode?: ErrorCode | undefined;
1037
1037
  /**
1038
1038
  * <p>A message that describes the error.</p>
1039
1039
  * @public
1040
1040
  */
1041
- errorMessage?: string;
1041
+ errorMessage?: string | undefined;
1042
1042
  }
1043
1043
  /**
1044
1044
  * @public
@@ -1049,7 +1049,7 @@ export interface BatchUpdateDetectorResponse {
1049
1049
  * specific update did not occur.)</p>
1050
1050
  * @public
1051
1051
  */
1052
- batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[];
1052
+ batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[] | undefined;
1053
1053
  }
1054
1054
  /**
1055
1055
  * @public
@@ -1065,7 +1065,7 @@ export interface DescribeAlarmRequest {
1065
1065
  * <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key">key</a>.</p>
1066
1066
  * @public
1067
1067
  */
1068
- keyValue?: string;
1068
+ keyValue?: string | undefined;
1069
1069
  }
1070
1070
  /**
1071
1071
  * @public
@@ -1075,7 +1075,7 @@ export interface DescribeAlarmResponse {
1075
1075
  * <p>Contains information about an alarm.</p>
1076
1076
  * @public
1077
1077
  */
1078
- alarm?: Alarm;
1078
+ alarm?: Alarm | undefined;
1079
1079
  }
1080
1080
  /**
1081
1081
  * <p>The resource was not found.</p>
@@ -1104,7 +1104,7 @@ export interface DescribeDetectorRequest {
1104
1104
  * ID.</p>
1105
1105
  * @public
1106
1106
  */
1107
- keyValue?: string;
1107
+ keyValue?: string | undefined;
1108
1108
  }
1109
1109
  /**
1110
1110
  * <p>The current state of a timer.</p>
@@ -1168,33 +1168,33 @@ export interface Detector {
1168
1168
  * <p>The name of the detector model that created this detector (instance).</p>
1169
1169
  * @public
1170
1170
  */
1171
- detectorModelName?: string;
1171
+ detectorModelName?: string | undefined;
1172
1172
  /**
1173
1173
  * <p>The value of the key (identifying the device or system) that caused the creation of this
1174
1174
  * detector (instance).</p>
1175
1175
  * @public
1176
1176
  */
1177
- keyValue?: string;
1177
+ keyValue?: string | undefined;
1178
1178
  /**
1179
1179
  * <p>The version of the detector model that created this detector (instance).</p>
1180
1180
  * @public
1181
1181
  */
1182
- detectorModelVersion?: string;
1182
+ detectorModelVersion?: string | undefined;
1183
1183
  /**
1184
1184
  * <p>The current state of the detector (instance).</p>
1185
1185
  * @public
1186
1186
  */
1187
- state?: DetectorState;
1187
+ state?: DetectorState | undefined;
1188
1188
  /**
1189
1189
  * <p>The time the detector (instance) was created.</p>
1190
1190
  * @public
1191
1191
  */
1192
- creationTime?: Date;
1192
+ creationTime?: Date | undefined;
1193
1193
  /**
1194
1194
  * <p>The time the detector (instance) was last updated.</p>
1195
1195
  * @public
1196
1196
  */
1197
- lastUpdateTime?: Date;
1197
+ lastUpdateTime?: Date | undefined;
1198
1198
  }
1199
1199
  /**
1200
1200
  * @public
@@ -1204,7 +1204,7 @@ export interface DescribeDetectorResponse {
1204
1204
  * <p>Information about the detector (instance).</p>
1205
1205
  * @public
1206
1206
  */
1207
- detector?: Detector;
1207
+ detector?: Detector | undefined;
1208
1208
  }
1209
1209
  /**
1210
1210
  * <p>Information about the detector state.</p>
@@ -1215,7 +1215,7 @@ export interface DetectorStateSummary {
1215
1215
  * <p>The name of the state.</p>
1216
1216
  * @public
1217
1217
  */
1218
- stateName?: string;
1218
+ stateName?: string | undefined;
1219
1219
  }
1220
1220
  /**
1221
1221
  * <p>Information about the detector (instance).</p>
@@ -1226,33 +1226,33 @@ export interface DetectorSummary {
1226
1226
  * <p>The name of the detector model that created this detector (instance).</p>
1227
1227
  * @public
1228
1228
  */
1229
- detectorModelName?: string;
1229
+ detectorModelName?: string | undefined;
1230
1230
  /**
1231
1231
  * <p>The value of the key (identifying the device or system) that caused the creation of this
1232
1232
  * detector (instance).</p>
1233
1233
  * @public
1234
1234
  */
1235
- keyValue?: string;
1235
+ keyValue?: string | undefined;
1236
1236
  /**
1237
1237
  * <p>The version of the detector model that created this detector (instance).</p>
1238
1238
  * @public
1239
1239
  */
1240
- detectorModelVersion?: string;
1240
+ detectorModelVersion?: string | undefined;
1241
1241
  /**
1242
1242
  * <p>The current state of the detector (instance).</p>
1243
1243
  * @public
1244
1244
  */
1245
- state?: DetectorStateSummary;
1245
+ state?: DetectorStateSummary | undefined;
1246
1246
  /**
1247
1247
  * <p>The time the detector (instance) was created.</p>
1248
1248
  * @public
1249
1249
  */
1250
- creationTime?: Date;
1250
+ creationTime?: Date | undefined;
1251
1251
  /**
1252
1252
  * <p>The time the detector (instance) was last updated.</p>
1253
1253
  * @public
1254
1254
  */
1255
- lastUpdateTime?: Date;
1255
+ lastUpdateTime?: Date | undefined;
1256
1256
  }
1257
1257
  /**
1258
1258
  * @public
@@ -1267,12 +1267,12 @@ export interface ListAlarmsRequest {
1267
1267
  * <p>The token that you can use to return the next set of results.</p>
1268
1268
  * @public
1269
1269
  */
1270
- nextToken?: string;
1270
+ nextToken?: string | undefined;
1271
1271
  /**
1272
1272
  * <p>The maximum number of results to be returned per request.</p>
1273
1273
  * @public
1274
1274
  */
1275
- maxResults?: number;
1275
+ maxResults?: number | undefined;
1276
1276
  }
1277
1277
  /**
1278
1278
  * @public
@@ -1282,13 +1282,13 @@ export interface ListAlarmsResponse {
1282
1282
  * <p>A list that summarizes each alarm.</p>
1283
1283
  * @public
1284
1284
  */
1285
- alarmSummaries?: AlarmSummary[];
1285
+ alarmSummaries?: AlarmSummary[] | undefined;
1286
1286
  /**
1287
1287
  * <p>The token that you can use to return the next set of results,
1288
1288
  * or <code>null</code> if there are no more results.</p>
1289
1289
  * @public
1290
1290
  */
1291
- nextToken?: string;
1291
+ nextToken?: string | undefined;
1292
1292
  }
1293
1293
  /**
1294
1294
  * @public
@@ -1303,17 +1303,17 @@ export interface ListDetectorsRequest {
1303
1303
  * <p>A filter that limits results to those detectors (instances) in the given state.</p>
1304
1304
  * @public
1305
1305
  */
1306
- stateName?: string;
1306
+ stateName?: string | undefined;
1307
1307
  /**
1308
1308
  * <p>The token that you can use to return the next set of results.</p>
1309
1309
  * @public
1310
1310
  */
1311
- nextToken?: string;
1311
+ nextToken?: string | undefined;
1312
1312
  /**
1313
1313
  * <p>The maximum number of results to be returned per request.</p>
1314
1314
  * @public
1315
1315
  */
1316
- maxResults?: number;
1316
+ maxResults?: number | undefined;
1317
1317
  }
1318
1318
  /**
1319
1319
  * @public
@@ -1323,11 +1323,11 @@ export interface ListDetectorsResponse {
1323
1323
  * <p>A list of summary information about the detectors (instances).</p>
1324
1324
  * @public
1325
1325
  */
1326
- detectorSummaries?: DetectorSummary[];
1326
+ detectorSummaries?: DetectorSummary[] | undefined;
1327
1327
  /**
1328
1328
  * <p>The token that you can use to return the next set of results,
1329
1329
  * or <code>null</code> if there are no more results.</p>
1330
1330
  * @public
1331
1331
  */
1332
- nextToken?: string;
1332
+ nextToken?: string | undefined;
1333
1333
  }
@@ -1,13 +1,13 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTEventsDataServiceException as __BaseException } from "./IoTEventsDataServiceException";
3
3
  export interface AcknowledgeActionConfiguration {
4
- note?: string;
4
+ note?: string | undefined;
5
5
  }
6
6
  export interface AcknowledgeAlarmActionRequest {
7
7
  requestId: string | undefined;
8
8
  alarmModelName: string | undefined;
9
- keyValue?: string;
10
- note?: string;
9
+ keyValue?: string | undefined;
10
+ note?: string | undefined;
11
11
  }
12
12
  export declare const CustomerActionName: {
13
13
  readonly ACKNOWLEDGE: "ACKNOWLEDGE";
@@ -19,25 +19,25 @@ export declare const CustomerActionName: {
19
19
  export type CustomerActionName =
20
20
  (typeof CustomerActionName)[keyof typeof CustomerActionName];
21
21
  export interface DisableActionConfiguration {
22
- note?: string;
22
+ note?: string | undefined;
23
23
  }
24
24
  export interface EnableActionConfiguration {
25
- note?: string;
25
+ note?: string | undefined;
26
26
  }
27
27
  export interface ResetActionConfiguration {
28
- note?: string;
28
+ note?: string | undefined;
29
29
  }
30
30
  export interface SnoozeActionConfiguration {
31
- snoozeDuration?: number;
32
- note?: string;
31
+ snoozeDuration?: number | undefined;
32
+ note?: string | undefined;
33
33
  }
34
34
  export interface CustomerAction {
35
- actionName?: CustomerActionName;
36
- snoozeActionConfiguration?: SnoozeActionConfiguration;
37
- enableActionConfiguration?: EnableActionConfiguration;
38
- disableActionConfiguration?: DisableActionConfiguration;
39
- acknowledgeActionConfiguration?: AcknowledgeActionConfiguration;
40
- resetActionConfiguration?: ResetActionConfiguration;
35
+ actionName?: CustomerActionName | undefined;
36
+ snoozeActionConfiguration?: SnoozeActionConfiguration | undefined;
37
+ enableActionConfiguration?: EnableActionConfiguration | undefined;
38
+ disableActionConfiguration?: DisableActionConfiguration | undefined;
39
+ acknowledgeActionConfiguration?: AcknowledgeActionConfiguration | undefined;
40
+ resetActionConfiguration?: ResetActionConfiguration | undefined;
41
41
  }
42
42
  export declare const ComparisonOperator: {
43
43
  readonly EQUAL: "EQUAL";
@@ -50,12 +50,12 @@ export declare const ComparisonOperator: {
50
50
  export type ComparisonOperator =
51
51
  (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
52
52
  export interface SimpleRuleEvaluation {
53
- inputPropertyValue?: string;
54
- operator?: ComparisonOperator;
55
- thresholdValue?: string;
53
+ inputPropertyValue?: string | undefined;
54
+ operator?: ComparisonOperator | undefined;
55
+ thresholdValue?: string | undefined;
56
56
  }
57
57
  export interface RuleEvaluation {
58
- simpleRuleEvaluation?: SimpleRuleEvaluation;
58
+ simpleRuleEvaluation?: SimpleRuleEvaluation | undefined;
59
59
  }
60
60
  export declare const AlarmStateName: {
61
61
  readonly ACKNOWLEDGED: "ACKNOWLEDGED";
@@ -76,34 +76,34 @@ export declare const TriggerType: {
76
76
  };
77
77
  export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
78
78
  export interface StateChangeConfiguration {
79
- triggerType?: TriggerType;
79
+ triggerType?: TriggerType | undefined;
80
80
  }
81
81
  export interface SystemEvent {
82
- eventType?: EventType;
83
- stateChangeConfiguration?: StateChangeConfiguration;
82
+ eventType?: EventType | undefined;
83
+ stateChangeConfiguration?: StateChangeConfiguration | undefined;
84
84
  }
85
85
  export interface AlarmState {
86
- stateName?: AlarmStateName;
87
- ruleEvaluation?: RuleEvaluation;
88
- customerAction?: CustomerAction;
89
- systemEvent?: SystemEvent;
86
+ stateName?: AlarmStateName | undefined;
87
+ ruleEvaluation?: RuleEvaluation | undefined;
88
+ customerAction?: CustomerAction | undefined;
89
+ systemEvent?: SystemEvent | undefined;
90
90
  }
91
91
  export interface Alarm {
92
- alarmModelName?: string;
93
- alarmModelVersion?: string;
94
- keyValue?: string;
95
- alarmState?: AlarmState;
96
- severity?: number;
97
- creationTime?: Date;
98
- lastUpdateTime?: Date;
92
+ alarmModelName?: string | undefined;
93
+ alarmModelVersion?: string | undefined;
94
+ keyValue?: string | undefined;
95
+ alarmState?: AlarmState | undefined;
96
+ severity?: number | undefined;
97
+ creationTime?: Date | undefined;
98
+ lastUpdateTime?: Date | undefined;
99
99
  }
100
100
  export interface AlarmSummary {
101
- alarmModelName?: string;
102
- alarmModelVersion?: string;
103
- keyValue?: string;
104
- stateName?: AlarmStateName;
105
- creationTime?: Date;
106
- lastUpdateTime?: Date;
101
+ alarmModelName?: string | undefined;
102
+ alarmModelVersion?: string | undefined;
103
+ keyValue?: string | undefined;
104
+ stateName?: AlarmStateName | undefined;
105
+ creationTime?: Date | undefined;
106
+ lastUpdateTime?: Date | undefined;
107
107
  }
108
108
  export interface BatchAcknowledgeAlarmRequest {
109
109
  acknowledgeActionRequests: AcknowledgeAlarmActionRequest[] | undefined;
@@ -117,12 +117,12 @@ export declare const ErrorCode: {
117
117
  };
118
118
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
119
119
  export interface BatchAlarmActionErrorEntry {
120
- requestId?: string;
121
- errorCode?: ErrorCode;
122
- errorMessage?: string;
120
+ requestId?: string | undefined;
121
+ errorCode?: ErrorCode | undefined;
122
+ errorMessage?: string | undefined;
123
123
  }
124
124
  export interface BatchAcknowledgeAlarmResponse {
125
- errorEntries?: BatchAlarmActionErrorEntry[];
125
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
126
126
  }
127
127
  export declare class InternalFailureException extends __BaseException {
128
128
  readonly name: "InternalFailureException";
@@ -155,87 +155,87 @@ export declare class ThrottlingException extends __BaseException {
155
155
  export interface DeleteDetectorRequest {
156
156
  messageId: string | undefined;
157
157
  detectorModelName: string | undefined;
158
- keyValue?: string;
158
+ keyValue?: string | undefined;
159
159
  }
160
160
  export interface BatchDeleteDetectorRequest {
161
161
  detectors: DeleteDetectorRequest[] | undefined;
162
162
  }
163
163
  export interface BatchDeleteDetectorErrorEntry {
164
- messageId?: string;
165
- errorCode?: ErrorCode;
166
- errorMessage?: string;
164
+ messageId?: string | undefined;
165
+ errorCode?: ErrorCode | undefined;
166
+ errorMessage?: string | undefined;
167
167
  }
168
168
  export interface BatchDeleteDetectorResponse {
169
- batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[];
169
+ batchDeleteDetectorErrorEntries?: BatchDeleteDetectorErrorEntry[] | undefined;
170
170
  }
171
171
  export interface DisableAlarmActionRequest {
172
172
  requestId: string | undefined;
173
173
  alarmModelName: string | undefined;
174
- keyValue?: string;
175
- note?: string;
174
+ keyValue?: string | undefined;
175
+ note?: string | undefined;
176
176
  }
177
177
  export interface BatchDisableAlarmRequest {
178
178
  disableActionRequests: DisableAlarmActionRequest[] | undefined;
179
179
  }
180
180
  export interface BatchDisableAlarmResponse {
181
- errorEntries?: BatchAlarmActionErrorEntry[];
181
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
182
182
  }
183
183
  export interface EnableAlarmActionRequest {
184
184
  requestId: string | undefined;
185
185
  alarmModelName: string | undefined;
186
- keyValue?: string;
187
- note?: string;
186
+ keyValue?: string | undefined;
187
+ note?: string | undefined;
188
188
  }
189
189
  export interface BatchEnableAlarmRequest {
190
190
  enableActionRequests: EnableAlarmActionRequest[] | undefined;
191
191
  }
192
192
  export interface BatchEnableAlarmResponse {
193
- errorEntries?: BatchAlarmActionErrorEntry[];
193
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
194
194
  }
195
195
  export interface TimestampValue {
196
- timeInMillis?: number;
196
+ timeInMillis?: number | undefined;
197
197
  }
198
198
  export interface Message {
199
199
  messageId: string | undefined;
200
200
  inputName: string | undefined;
201
201
  payload: Uint8Array | undefined;
202
- timestamp?: TimestampValue;
202
+ timestamp?: TimestampValue | undefined;
203
203
  }
204
204
  export interface BatchPutMessageRequest {
205
205
  messages: Message[] | undefined;
206
206
  }
207
207
  export interface BatchPutMessageErrorEntry {
208
- messageId?: string;
209
- errorCode?: ErrorCode;
210
- errorMessage?: string;
208
+ messageId?: string | undefined;
209
+ errorCode?: ErrorCode | undefined;
210
+ errorMessage?: string | undefined;
211
211
  }
212
212
  export interface BatchPutMessageResponse {
213
- BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[];
213
+ BatchPutMessageErrorEntries?: BatchPutMessageErrorEntry[] | undefined;
214
214
  }
215
215
  export interface ResetAlarmActionRequest {
216
216
  requestId: string | undefined;
217
217
  alarmModelName: string | undefined;
218
- keyValue?: string;
219
- note?: string;
218
+ keyValue?: string | undefined;
219
+ note?: string | undefined;
220
220
  }
221
221
  export interface BatchResetAlarmRequest {
222
222
  resetActionRequests: ResetAlarmActionRequest[] | undefined;
223
223
  }
224
224
  export interface BatchResetAlarmResponse {
225
- errorEntries?: BatchAlarmActionErrorEntry[];
225
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
226
226
  }
227
227
  export interface SnoozeAlarmActionRequest {
228
228
  requestId: string | undefined;
229
229
  alarmModelName: string | undefined;
230
- keyValue?: string;
231
- note?: string;
230
+ keyValue?: string | undefined;
231
+ note?: string | undefined;
232
232
  snoozeDuration: number | undefined;
233
233
  }
234
234
  export interface BatchSnoozeAlarmRequest {
235
235
  snoozeActionRequests: SnoozeAlarmActionRequest[] | undefined;
236
236
  }
237
237
  export interface BatchSnoozeAlarmResponse {
238
- errorEntries?: BatchAlarmActionErrorEntry[];
238
+ errorEntries?: BatchAlarmActionErrorEntry[] | undefined;
239
239
  }
240
240
  export interface TimerDefinition {
241
241
  name: string | undefined;
@@ -253,26 +253,26 @@ export interface DetectorStateDefinition {
253
253
  export interface UpdateDetectorRequest {
254
254
  messageId: string | undefined;
255
255
  detectorModelName: string | undefined;
256
- keyValue?: string;
256
+ keyValue?: string | undefined;
257
257
  state: DetectorStateDefinition | undefined;
258
258
  }
259
259
  export interface BatchUpdateDetectorRequest {
260
260
  detectors: UpdateDetectorRequest[] | undefined;
261
261
  }
262
262
  export interface BatchUpdateDetectorErrorEntry {
263
- messageId?: string;
264
- errorCode?: ErrorCode;
265
- errorMessage?: string;
263
+ messageId?: string | undefined;
264
+ errorCode?: ErrorCode | undefined;
265
+ errorMessage?: string | undefined;
266
266
  }
267
267
  export interface BatchUpdateDetectorResponse {
268
- batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[];
268
+ batchUpdateDetectorErrorEntries?: BatchUpdateDetectorErrorEntry[] | undefined;
269
269
  }
270
270
  export interface DescribeAlarmRequest {
271
271
  alarmModelName: string | undefined;
272
- keyValue?: string;
272
+ keyValue?: string | undefined;
273
273
  }
274
274
  export interface DescribeAlarmResponse {
275
- alarm?: Alarm;
275
+ alarm?: Alarm | undefined;
276
276
  }
277
277
  export declare class ResourceNotFoundException extends __BaseException {
278
278
  readonly name: "ResourceNotFoundException";
@@ -283,7 +283,7 @@ export declare class ResourceNotFoundException extends __BaseException {
283
283
  }
284
284
  export interface DescribeDetectorRequest {
285
285
  detectorModelName: string | undefined;
286
- keyValue?: string;
286
+ keyValue?: string | undefined;
287
287
  }
288
288
  export interface Timer {
289
289
  name: string | undefined;
@@ -299,43 +299,43 @@ export interface DetectorState {
299
299
  timers: Timer[] | undefined;
300
300
  }
301
301
  export interface Detector {
302
- detectorModelName?: string;
303
- keyValue?: string;
304
- detectorModelVersion?: string;
305
- state?: DetectorState;
306
- creationTime?: Date;
307
- lastUpdateTime?: Date;
302
+ detectorModelName?: string | undefined;
303
+ keyValue?: string | undefined;
304
+ detectorModelVersion?: string | undefined;
305
+ state?: DetectorState | undefined;
306
+ creationTime?: Date | undefined;
307
+ lastUpdateTime?: Date | undefined;
308
308
  }
309
309
  export interface DescribeDetectorResponse {
310
- detector?: Detector;
310
+ detector?: Detector | undefined;
311
311
  }
312
312
  export interface DetectorStateSummary {
313
- stateName?: string;
313
+ stateName?: string | undefined;
314
314
  }
315
315
  export interface DetectorSummary {
316
- detectorModelName?: string;
317
- keyValue?: string;
318
- detectorModelVersion?: string;
319
- state?: DetectorStateSummary;
320
- creationTime?: Date;
321
- lastUpdateTime?: Date;
316
+ detectorModelName?: string | undefined;
317
+ keyValue?: string | undefined;
318
+ detectorModelVersion?: string | undefined;
319
+ state?: DetectorStateSummary | undefined;
320
+ creationTime?: Date | undefined;
321
+ lastUpdateTime?: Date | undefined;
322
322
  }
323
323
  export interface ListAlarmsRequest {
324
324
  alarmModelName: string | undefined;
325
- nextToken?: string;
326
- maxResults?: number;
325
+ nextToken?: string | undefined;
326
+ maxResults?: number | undefined;
327
327
  }
328
328
  export interface ListAlarmsResponse {
329
- alarmSummaries?: AlarmSummary[];
330
- nextToken?: string;
329
+ alarmSummaries?: AlarmSummary[] | undefined;
330
+ nextToken?: string | undefined;
331
331
  }
332
332
  export interface ListDetectorsRequest {
333
333
  detectorModelName: string | undefined;
334
- stateName?: string;
335
- nextToken?: string;
336
- maxResults?: number;
334
+ stateName?: string | undefined;
335
+ nextToken?: string | undefined;
336
+ maxResults?: number | undefined;
337
337
  }
338
338
  export interface ListDetectorsResponse {
339
- detectorSummaries?: DetectorSummary[];
340
- nextToken?: string;
339
+ detectorSummaries?: DetectorSummary[] | undefined;
340
+ nextToken?: string | undefined;
341
341
  }
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.686.0",
4
+ "version": "3.691.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,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",