@aws-sdk/client-iot-events-data 3.428.0 → 3.430.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.
@@ -134,7 +134,7 @@ export interface CustomerAction {
134
134
  * </ul>
135
135
  * <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>
136
136
  */
137
- actionName?: CustomerActionName | string;
137
+ actionName?: CustomerActionName;
138
138
  /**
139
139
  * @public
140
140
  * <p>Contains the configuration information of a snooze action.</p>
@@ -191,7 +191,7 @@ export interface SimpleRuleEvaluation {
191
191
  * @public
192
192
  * <p>The comparison operator.</p>
193
193
  */
194
- operator?: ComparisonOperator | string;
194
+ operator?: ComparisonOperator;
195
195
  /**
196
196
  * @public
197
197
  * <p>The threshold value, on the right side of the comparison operator.</p>
@@ -257,7 +257,7 @@ export interface StateChangeConfiguration {
257
257
  * <p>The trigger type. If the value is <code>SNOOZE_TIMEOUT</code>, the snooze duration ends
258
258
  * and the alarm automatically changes to the <code>NORMAL</code> state.</p>
259
259
  */
260
- triggerType?: TriggerType | string;
260
+ triggerType?: TriggerType;
261
261
  }
262
262
  /**
263
263
  * @public
@@ -269,7 +269,7 @@ export interface SystemEvent {
269
269
  * <p>The event type. If the value is <code>STATE_CHANGE</code>, the event contains information
270
270
  * about alarm state changes.</p>
271
271
  */
272
- eventType?: EventType | string;
272
+ eventType?: EventType;
273
273
  /**
274
274
  * @public
275
275
  * <p>Contains the configuration information of alarm state changes.</p>
@@ -320,7 +320,7 @@ export interface AlarmState {
320
320
  * </li>
321
321
  * </ul>
322
322
  */
323
- stateName?: AlarmStateName | string;
323
+ stateName?: AlarmStateName;
324
324
  /**
325
325
  * @public
326
326
  * <p>Information needed to evaluate data.</p>
@@ -439,7 +439,7 @@ export interface AlarmSummary {
439
439
  * </li>
440
440
  * </ul>
441
441
  */
442
- stateName?: AlarmStateName | string;
442
+ stateName?: AlarmStateName;
443
443
  /**
444
444
  * @public
445
445
  * <p>The time the alarm was created, in the Unix epoch format.</p>
@@ -517,7 +517,7 @@ export interface BatchAlarmActionErrorEntry {
517
517
  * @public
518
518
  * <p>The error code.</p>
519
519
  */
520
- errorCode?: ErrorCode | string;
520
+ errorCode?: ErrorCode;
521
521
  /**
522
522
  * @public
523
523
  * <p>A message that describes the error.</p>
@@ -628,7 +628,7 @@ export interface BatchDeleteDetectorErrorEntry {
628
628
  * @public
629
629
  * <p>The error code.</p>
630
630
  */
631
- errorCode?: ErrorCode | string;
631
+ errorCode?: ErrorCode;
632
632
  /**
633
633
  * @public
634
634
  * <p>A message that describes the error.</p>
@@ -807,7 +807,7 @@ export interface BatchPutMessageErrorEntry {
807
807
  * @public
808
808
  * <p>The error code.</p>
809
809
  */
810
- errorCode?: ErrorCode | string;
810
+ errorCode?: ErrorCode;
811
811
  /**
812
812
  * @public
813
813
  * <p>A message that describes the error.</p>
@@ -1033,7 +1033,7 @@ export interface BatchUpdateDetectorErrorEntry {
1033
1033
  * @public
1034
1034
  * <p>The error code.</p>
1035
1035
  */
1036
- errorCode?: ErrorCode | string;
1036
+ errorCode?: ErrorCode;
1037
1037
  /**
1038
1038
  * @public
1039
1039
  * <p>A message that describes the error.</p>
@@ -32,7 +32,7 @@ export interface SnoozeActionConfiguration {
32
32
  note?: string;
33
33
  }
34
34
  export interface CustomerAction {
35
- actionName?: CustomerActionName | string;
35
+ actionName?: CustomerActionName;
36
36
  snoozeActionConfiguration?: SnoozeActionConfiguration;
37
37
  enableActionConfiguration?: EnableActionConfiguration;
38
38
  disableActionConfiguration?: DisableActionConfiguration;
@@ -51,7 +51,7 @@ export type ComparisonOperator =
51
51
  (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
52
52
  export interface SimpleRuleEvaluation {
53
53
  inputPropertyValue?: string;
54
- operator?: ComparisonOperator | string;
54
+ operator?: ComparisonOperator;
55
55
  thresholdValue?: string;
56
56
  }
57
57
  export interface RuleEvaluation {
@@ -76,14 +76,14 @@ export declare const TriggerType: {
76
76
  };
77
77
  export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
78
78
  export interface StateChangeConfiguration {
79
- triggerType?: TriggerType | string;
79
+ triggerType?: TriggerType;
80
80
  }
81
81
  export interface SystemEvent {
82
- eventType?: EventType | string;
82
+ eventType?: EventType;
83
83
  stateChangeConfiguration?: StateChangeConfiguration;
84
84
  }
85
85
  export interface AlarmState {
86
- stateName?: AlarmStateName | string;
86
+ stateName?: AlarmStateName;
87
87
  ruleEvaluation?: RuleEvaluation;
88
88
  customerAction?: CustomerAction;
89
89
  systemEvent?: SystemEvent;
@@ -101,7 +101,7 @@ export interface AlarmSummary {
101
101
  alarmModelName?: string;
102
102
  alarmModelVersion?: string;
103
103
  keyValue?: string;
104
- stateName?: AlarmStateName | string;
104
+ stateName?: AlarmStateName;
105
105
  creationTime?: Date;
106
106
  lastUpdateTime?: Date;
107
107
  }
@@ -118,7 +118,7 @@ export declare const ErrorCode: {
118
118
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
119
119
  export interface BatchAlarmActionErrorEntry {
120
120
  requestId?: string;
121
- errorCode?: ErrorCode | string;
121
+ errorCode?: ErrorCode;
122
122
  errorMessage?: string;
123
123
  }
124
124
  export interface BatchAcknowledgeAlarmResponse {
@@ -162,7 +162,7 @@ export interface BatchDeleteDetectorRequest {
162
162
  }
163
163
  export interface BatchDeleteDetectorErrorEntry {
164
164
  messageId?: string;
165
- errorCode?: ErrorCode | string;
165
+ errorCode?: ErrorCode;
166
166
  errorMessage?: string;
167
167
  }
168
168
  export interface BatchDeleteDetectorResponse {
@@ -206,7 +206,7 @@ export interface BatchPutMessageRequest {
206
206
  }
207
207
  export interface BatchPutMessageErrorEntry {
208
208
  messageId?: string;
209
- errorCode?: ErrorCode | string;
209
+ errorCode?: ErrorCode;
210
210
  errorMessage?: string;
211
211
  }
212
212
  export interface BatchPutMessageResponse {
@@ -261,7 +261,7 @@ export interface BatchUpdateDetectorRequest {
261
261
  }
262
262
  export interface BatchUpdateDetectorErrorEntry {
263
263
  messageId?: string;
264
- errorCode?: ErrorCode | string;
264
+ errorCode?: ErrorCode;
265
265
  errorMessage?: string;
266
266
  }
267
267
  export interface BatchUpdateDetectorResponse {
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.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"