@aws-sdk/client-iot-events 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.
@@ -61,7 +61,7 @@ export interface Payload {
61
61
  * <p>The value of the payload type can be either <code>STRING</code> or
62
62
  * <code>JSON</code>.</p>
63
63
  */
64
- type: PayloadType | string | undefined;
64
+ type: PayloadType | undefined;
65
65
  }
66
66
  /**
67
67
  * @public
@@ -1095,7 +1095,7 @@ export interface AlarmModelVersionSummary {
1095
1095
  * </li>
1096
1096
  * </ul>
1097
1097
  */
1098
- status?: AlarmModelVersionStatus | string;
1098
+ status?: AlarmModelVersionStatus;
1099
1099
  /**
1100
1100
  * @public
1101
1101
  * <p>
@@ -1294,7 +1294,7 @@ export interface SimpleRule {
1294
1294
  * @public
1295
1295
  * <p>The comparison operator.</p>
1296
1296
  */
1297
- comparisonOperator: ComparisonOperator | string | undefined;
1297
+ comparisonOperator: ComparisonOperator | undefined;
1298
1298
  /**
1299
1299
  * @public
1300
1300
  * <p>The value on the right side of the comparison operator. You can enter a number or specify
@@ -1414,7 +1414,7 @@ export interface AnalysisResult {
1414
1414
  * </li>
1415
1415
  * </ul>
1416
1416
  */
1417
- level?: AnalysisResultLevel | string;
1417
+ level?: AnalysisResultLevel;
1418
1418
  /**
1419
1419
  * @public
1420
1420
  * <p>Contains additional information about the analysis result.</p>
@@ -1586,7 +1586,7 @@ export interface CreateAlarmModelResponse {
1586
1586
  * </li>
1587
1587
  * </ul>
1588
1588
  */
1589
- status?: AlarmModelVersionStatus | string;
1589
+ status?: AlarmModelVersionStatus;
1590
1590
  }
1591
1591
  /**
1592
1592
  * @public
@@ -1877,7 +1877,7 @@ export interface CreateDetectorModelRequest {
1877
1877
  * <p>Information about the order in which events are evaluated and how actions are executed.
1878
1878
  * </p>
1879
1879
  */
1880
- evaluationMethod?: EvaluationMethod | string;
1880
+ evaluationMethod?: EvaluationMethod;
1881
1881
  }
1882
1882
  /**
1883
1883
  * @public
@@ -1940,7 +1940,7 @@ export interface DetectorModelConfiguration {
1940
1940
  * @public
1941
1941
  * <p>The status of the detector model.</p>
1942
1942
  */
1943
- status?: DetectorModelVersionStatus | string;
1943
+ status?: DetectorModelVersionStatus;
1944
1944
  /**
1945
1945
  * @public
1946
1946
  * <p>The value used to identify a detector instance. When a device or system sends input, a new
@@ -1957,7 +1957,7 @@ export interface DetectorModelConfiguration {
1957
1957
  * <p>Information about the order in which events are evaluated and how actions are executed.
1958
1958
  * </p>
1959
1959
  */
1960
- evaluationMethod?: EvaluationMethod | string;
1960
+ evaluationMethod?: EvaluationMethod;
1961
1961
  }
1962
1962
  /**
1963
1963
  * @public
@@ -2057,7 +2057,7 @@ export interface InputConfiguration {
2057
2057
  * @public
2058
2058
  * <p>The status of the input.</p>
2059
2059
  */
2060
- status: InputStatus | string | undefined;
2060
+ status: InputStatus | undefined;
2061
2061
  }
2062
2062
  /**
2063
2063
  * @public
@@ -2190,7 +2190,7 @@ export interface DescribeAlarmModelResponse {
2190
2190
  * </li>
2191
2191
  * </ul>
2192
2192
  */
2193
- status?: AlarmModelVersionStatus | string;
2193
+ status?: AlarmModelVersionStatus;
2194
2194
  /**
2195
2195
  * @public
2196
2196
  * <p>
@@ -2321,7 +2321,7 @@ export interface DescribeDetectorModelAnalysisResponse {
2321
2321
  * </li>
2322
2322
  * </ul>
2323
2323
  */
2324
- status?: AnalysisStatus | string;
2324
+ status?: AnalysisStatus;
2325
2325
  }
2326
2326
  /**
2327
2327
  * @public
@@ -2409,7 +2409,7 @@ export interface LoggingOptions {
2409
2409
  * @public
2410
2410
  * <p>The logging level.</p>
2411
2411
  */
2412
- level: LoggingLevel | string | undefined;
2412
+ level: LoggingLevel | undefined;
2413
2413
  /**
2414
2414
  * @public
2415
2415
  * <p>If TRUE, logging is enabled for AWS IoT Events.</p>
@@ -2504,13 +2504,13 @@ export interface DetectorModelVersionSummary {
2504
2504
  * @public
2505
2505
  * <p>The status of the detector model version.</p>
2506
2506
  */
2507
- status?: DetectorModelVersionStatus | string;
2507
+ status?: DetectorModelVersionStatus;
2508
2508
  /**
2509
2509
  * @public
2510
2510
  * <p>Information about the order in which events are evaluated and how actions are executed.
2511
2511
  * </p>
2512
2512
  */
2513
- evaluationMethod?: EvaluationMethod | string;
2513
+ evaluationMethod?: EvaluationMethod;
2514
2514
  }
2515
2515
  /**
2516
2516
  * @public
@@ -2656,7 +2656,7 @@ export interface InputSummary {
2656
2656
  * @public
2657
2657
  * <p>The status of the input.</p>
2658
2658
  */
2659
- status?: InputStatus | string;
2659
+ status?: InputStatus;
2660
2660
  }
2661
2661
  /**
2662
2662
  * @public
@@ -3075,7 +3075,7 @@ export interface UpdateAlarmModelResponse {
3075
3075
  * </li>
3076
3076
  * </ul>
3077
3077
  */
3078
- status?: AlarmModelVersionStatus | string;
3078
+ status?: AlarmModelVersionStatus;
3079
3079
  }
3080
3080
  /**
3081
3081
  * @public
@@ -3106,7 +3106,7 @@ export interface UpdateDetectorModelRequest {
3106
3106
  * <p>Information about the order in which events are evaluated and how actions are executed.
3107
3107
  * </p>
3108
3108
  */
3109
- evaluationMethod?: EvaluationMethod | string;
3109
+ evaluationMethod?: EvaluationMethod;
3110
3110
  }
3111
3111
  /**
3112
3112
  * @public
@@ -13,7 +13,7 @@ export declare const PayloadType: {
13
13
  export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
14
14
  export interface Payload {
15
15
  contentExpression: string | undefined;
16
- type: PayloadType | string | undefined;
16
+ type: PayloadType | undefined;
17
17
  }
18
18
  export interface DynamoDBAction {
19
19
  hashKeyType?: string;
@@ -147,7 +147,7 @@ export interface AlarmModelVersionSummary {
147
147
  roleArn?: string;
148
148
  creationTime?: Date;
149
149
  lastUpdateTime?: Date;
150
- status?: AlarmModelVersionStatus | string;
150
+ status?: AlarmModelVersionStatus;
151
151
  statusMessage?: string;
152
152
  }
153
153
  export interface NotificationTargetActions {
@@ -197,7 +197,7 @@ export type ComparisonOperator =
197
197
  (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
198
198
  export interface SimpleRule {
199
199
  inputProperty: string | undefined;
200
- comparisonOperator: ComparisonOperator | string | undefined;
200
+ comparisonOperator: ComparisonOperator | undefined;
201
201
  threshold: string | undefined;
202
202
  }
203
203
  export interface AlarmRule {
@@ -215,7 +215,7 @@ export interface AnalysisResultLocation {
215
215
  }
216
216
  export interface AnalysisResult {
217
217
  type?: string;
218
- level?: AnalysisResultLevel | string;
218
+ level?: AnalysisResultLevel;
219
219
  message?: string;
220
220
  locations?: AnalysisResultLocation[];
221
221
  }
@@ -250,7 +250,7 @@ export interface CreateAlarmModelResponse {
250
250
  alarmModelArn?: string;
251
251
  alarmModelVersion?: string;
252
252
  lastUpdateTime?: Date;
253
- status?: AlarmModelVersionStatus | string;
253
+ status?: AlarmModelVersionStatus;
254
254
  }
255
255
  export declare class InternalFailureException extends __BaseException {
256
256
  readonly name: "InternalFailureException";
@@ -347,7 +347,7 @@ export interface CreateDetectorModelRequest {
347
347
  key?: string;
348
348
  roleArn: string | undefined;
349
349
  tags?: Tag[];
350
- evaluationMethod?: EvaluationMethod | string;
350
+ evaluationMethod?: EvaluationMethod;
351
351
  }
352
352
  export declare const DetectorModelVersionStatus: {
353
353
  readonly ACTIVATING: "ACTIVATING";
@@ -368,9 +368,9 @@ export interface DetectorModelConfiguration {
368
368
  roleArn?: string;
369
369
  creationTime?: Date;
370
370
  lastUpdateTime?: Date;
371
- status?: DetectorModelVersionStatus | string;
371
+ status?: DetectorModelVersionStatus;
372
372
  key?: string;
373
- evaluationMethod?: EvaluationMethod | string;
373
+ evaluationMethod?: EvaluationMethod;
374
374
  }
375
375
  export interface CreateDetectorModelResponse {
376
376
  detectorModelConfiguration?: DetectorModelConfiguration;
@@ -397,7 +397,7 @@ export interface InputConfiguration {
397
397
  inputArn: string | undefined;
398
398
  creationTime: Date | undefined;
399
399
  lastUpdateTime: Date | undefined;
400
- status: InputStatus | string | undefined;
400
+ status: InputStatus | undefined;
401
401
  }
402
402
  export interface CreateInputResponse {
403
403
  inputConfiguration?: InputConfiguration;
@@ -430,7 +430,7 @@ export interface DescribeAlarmModelResponse {
430
430
  alarmModelArn?: string;
431
431
  alarmModelVersion?: string;
432
432
  lastUpdateTime?: Date;
433
- status?: AlarmModelVersionStatus | string;
433
+ status?: AlarmModelVersionStatus;
434
434
  statusMessage?: string;
435
435
  alarmModelName?: string;
436
436
  alarmModelDescription?: string;
@@ -457,7 +457,7 @@ export interface DescribeDetectorModelAnalysisRequest {
457
457
  analysisId: string | undefined;
458
458
  }
459
459
  export interface DescribeDetectorModelAnalysisResponse {
460
- status?: AnalysisStatus | string;
460
+ status?: AnalysisStatus;
461
461
  }
462
462
  export interface DescribeInputRequest {
463
463
  inputName: string | undefined;
@@ -482,7 +482,7 @@ export declare const LoggingLevel: {
482
482
  export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
483
483
  export interface LoggingOptions {
484
484
  roleArn: string | undefined;
485
- level: LoggingLevel | string | undefined;
485
+ level: LoggingLevel | undefined;
486
486
  enabled: boolean | undefined;
487
487
  detectorDebugOptions?: DetectorDebugOption[];
488
488
  }
@@ -508,8 +508,8 @@ export interface DetectorModelVersionSummary {
508
508
  roleArn?: string;
509
509
  creationTime?: Date;
510
510
  lastUpdateTime?: Date;
511
- status?: DetectorModelVersionStatus | string;
512
- evaluationMethod?: EvaluationMethod | string;
511
+ status?: DetectorModelVersionStatus;
512
+ evaluationMethod?: EvaluationMethod;
513
513
  }
514
514
  export interface GetDetectorModelAnalysisResultsRequest {
515
515
  analysisId: string | undefined;
@@ -540,7 +540,7 @@ export interface InputSummary {
540
540
  inputArn?: string;
541
541
  creationTime?: Date;
542
542
  lastUpdateTime?: Date;
543
- status?: InputStatus | string;
543
+ status?: InputStatus;
544
544
  }
545
545
  export interface ListAlarmModelsRequest {
546
546
  nextToken?: string;
@@ -637,14 +637,14 @@ export interface UpdateAlarmModelResponse {
637
637
  alarmModelArn?: string;
638
638
  alarmModelVersion?: string;
639
639
  lastUpdateTime?: Date;
640
- status?: AlarmModelVersionStatus | string;
640
+ status?: AlarmModelVersionStatus;
641
641
  }
642
642
  export interface UpdateDetectorModelRequest {
643
643
  detectorModelName: string | undefined;
644
644
  detectorModelDefinition: DetectorModelDefinition | undefined;
645
645
  detectorModelDescription?: string;
646
646
  roleArn: string | undefined;
647
- evaluationMethod?: EvaluationMethod | string;
647
+ evaluationMethod?: EvaluationMethod;
648
648
  }
649
649
  export interface UpdateDetectorModelResponse {
650
650
  detectorModelConfiguration?: DetectorModelConfiguration;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-events",
3
3
  "description": "AWS SDK for JavaScript Iot Events 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"