@aws-sdk/client-iot-events 3.934.0 → 3.936.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.
- package/dist-cjs/index.js +53 -52
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +52 -0
- package/dist-es/models/errors.js +113 -0
- package/dist-es/models/models_0.js +1 -165
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +124 -0
- package/dist-types/models/errors.d.ts +120 -0
- package/dist-types/models/models_0.d.ts +1 -244
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/errors.d.ts +67 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -134
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
AlarmModelVersionStatus,
|
|
3
|
+
AnalysisResultLevel,
|
|
4
|
+
AnalysisStatus,
|
|
5
|
+
ComparisonOperator,
|
|
6
|
+
DetectorModelVersionStatus,
|
|
7
|
+
EvaluationMethod,
|
|
8
|
+
InputStatus,
|
|
9
|
+
LoggingLevel,
|
|
10
|
+
PayloadType,
|
|
11
|
+
} from "./enums";
|
|
3
12
|
export interface AcknowledgeFlow {
|
|
4
13
|
enabled: boolean | undefined;
|
|
5
14
|
}
|
|
6
15
|
export interface ClearTimerAction {
|
|
7
16
|
timerName: string | undefined;
|
|
8
17
|
}
|
|
9
|
-
export declare const PayloadType: {
|
|
10
|
-
readonly JSON: "JSON";
|
|
11
|
-
readonly STRING: "STRING";
|
|
12
|
-
};
|
|
13
|
-
export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
14
18
|
export interface Payload {
|
|
15
19
|
contentExpression: string | undefined;
|
|
16
20
|
type: PayloadType | undefined;
|
|
@@ -132,14 +136,6 @@ export interface AlarmModelSummary {
|
|
|
132
136
|
alarmModelDescription?: string | undefined;
|
|
133
137
|
alarmModelName?: string | undefined;
|
|
134
138
|
}
|
|
135
|
-
export declare const AlarmModelVersionStatus: {
|
|
136
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
137
|
-
readonly ACTIVE: "ACTIVE";
|
|
138
|
-
readonly FAILED: "FAILED";
|
|
139
|
-
readonly INACTIVE: "INACTIVE";
|
|
140
|
-
};
|
|
141
|
-
export type AlarmModelVersionStatus =
|
|
142
|
-
(typeof AlarmModelVersionStatus)[keyof typeof AlarmModelVersionStatus];
|
|
143
139
|
export interface AlarmModelVersionSummary {
|
|
144
140
|
alarmModelName?: string | undefined;
|
|
145
141
|
alarmModelArn?: string | undefined;
|
|
@@ -185,16 +181,6 @@ export interface NotificationAction {
|
|
|
185
181
|
export interface AlarmNotification {
|
|
186
182
|
notificationActions?: NotificationAction[] | undefined;
|
|
187
183
|
}
|
|
188
|
-
export declare const ComparisonOperator: {
|
|
189
|
-
readonly EQUAL: "EQUAL";
|
|
190
|
-
readonly GREATER: "GREATER";
|
|
191
|
-
readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
|
|
192
|
-
readonly LESS: "LESS";
|
|
193
|
-
readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
|
|
194
|
-
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
195
|
-
};
|
|
196
|
-
export type ComparisonOperator =
|
|
197
|
-
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
198
184
|
export interface SimpleRule {
|
|
199
185
|
inputProperty: string | undefined;
|
|
200
186
|
comparisonOperator: ComparisonOperator | undefined;
|
|
@@ -203,13 +189,6 @@ export interface SimpleRule {
|
|
|
203
189
|
export interface AlarmRule {
|
|
204
190
|
simpleRule?: SimpleRule | undefined;
|
|
205
191
|
}
|
|
206
|
-
export declare const AnalysisResultLevel: {
|
|
207
|
-
readonly ERROR: "ERROR";
|
|
208
|
-
readonly INFO: "INFO";
|
|
209
|
-
readonly WARNING: "WARNING";
|
|
210
|
-
};
|
|
211
|
-
export type AnalysisResultLevel =
|
|
212
|
-
(typeof AnalysisResultLevel)[keyof typeof AnalysisResultLevel];
|
|
213
192
|
export interface AnalysisResultLocation {
|
|
214
193
|
path?: string | undefined;
|
|
215
194
|
}
|
|
@@ -219,13 +198,6 @@ export interface AnalysisResult {
|
|
|
219
198
|
message?: string | undefined;
|
|
220
199
|
locations?: AnalysisResultLocation[] | undefined;
|
|
221
200
|
}
|
|
222
|
-
export declare const AnalysisStatus: {
|
|
223
|
-
readonly COMPLETE: "COMPLETE";
|
|
224
|
-
readonly FAILED: "FAILED";
|
|
225
|
-
readonly RUNNING: "RUNNING";
|
|
226
|
-
};
|
|
227
|
-
export type AnalysisStatus =
|
|
228
|
-
(typeof AnalysisStatus)[keyof typeof AnalysisStatus];
|
|
229
201
|
export interface Attribute {
|
|
230
202
|
jsonPath: string | undefined;
|
|
231
203
|
}
|
|
@@ -252,57 +224,6 @@ export interface CreateAlarmModelResponse {
|
|
|
252
224
|
lastUpdateTime?: Date | undefined;
|
|
253
225
|
status?: AlarmModelVersionStatus | undefined;
|
|
254
226
|
}
|
|
255
|
-
export declare class InternalFailureException extends __BaseException {
|
|
256
|
-
readonly name: "InternalFailureException";
|
|
257
|
-
readonly $fault: "server";
|
|
258
|
-
constructor(
|
|
259
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
260
|
-
);
|
|
261
|
-
}
|
|
262
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
263
|
-
readonly name: "InvalidRequestException";
|
|
264
|
-
readonly $fault: "client";
|
|
265
|
-
constructor(
|
|
266
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
export declare class LimitExceededException extends __BaseException {
|
|
270
|
-
readonly name: "LimitExceededException";
|
|
271
|
-
readonly $fault: "client";
|
|
272
|
-
constructor(
|
|
273
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
274
|
-
);
|
|
275
|
-
}
|
|
276
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
277
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
278
|
-
readonly $fault: "client";
|
|
279
|
-
resourceId?: string | undefined;
|
|
280
|
-
resourceArn?: string | undefined;
|
|
281
|
-
constructor(
|
|
282
|
-
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
283
|
-
);
|
|
284
|
-
}
|
|
285
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
286
|
-
readonly name: "ResourceInUseException";
|
|
287
|
-
readonly $fault: "client";
|
|
288
|
-
constructor(
|
|
289
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
290
|
-
);
|
|
291
|
-
}
|
|
292
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
293
|
-
readonly name: "ServiceUnavailableException";
|
|
294
|
-
readonly $fault: "server";
|
|
295
|
-
constructor(
|
|
296
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
297
|
-
);
|
|
298
|
-
}
|
|
299
|
-
export declare class ThrottlingException extends __BaseException {
|
|
300
|
-
readonly name: "ThrottlingException";
|
|
301
|
-
readonly $fault: "client";
|
|
302
|
-
constructor(
|
|
303
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
304
|
-
);
|
|
305
|
-
}
|
|
306
227
|
export interface Event {
|
|
307
228
|
eventName: string | undefined;
|
|
308
229
|
condition?: string | undefined;
|
|
@@ -334,12 +255,6 @@ export interface DetectorModelDefinition {
|
|
|
334
255
|
states: State[] | undefined;
|
|
335
256
|
initialStateName: string | undefined;
|
|
336
257
|
}
|
|
337
|
-
export declare const EvaluationMethod: {
|
|
338
|
-
readonly BATCH: "BATCH";
|
|
339
|
-
readonly SERIAL: "SERIAL";
|
|
340
|
-
};
|
|
341
|
-
export type EvaluationMethod =
|
|
342
|
-
(typeof EvaluationMethod)[keyof typeof EvaluationMethod];
|
|
343
258
|
export interface CreateDetectorModelRequest {
|
|
344
259
|
detectorModelName: string | undefined;
|
|
345
260
|
detectorModelDefinition: DetectorModelDefinition | undefined;
|
|
@@ -349,17 +264,6 @@ export interface CreateDetectorModelRequest {
|
|
|
349
264
|
tags?: Tag[] | undefined;
|
|
350
265
|
evaluationMethod?: EvaluationMethod | undefined;
|
|
351
266
|
}
|
|
352
|
-
export declare const DetectorModelVersionStatus: {
|
|
353
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
354
|
-
readonly ACTIVE: "ACTIVE";
|
|
355
|
-
readonly DEPRECATED: "DEPRECATED";
|
|
356
|
-
readonly DRAFT: "DRAFT";
|
|
357
|
-
readonly FAILED: "FAILED";
|
|
358
|
-
readonly INACTIVE: "INACTIVE";
|
|
359
|
-
readonly PAUSED: "PAUSED";
|
|
360
|
-
};
|
|
361
|
-
export type DetectorModelVersionStatus =
|
|
362
|
-
(typeof DetectorModelVersionStatus)[keyof typeof DetectorModelVersionStatus];
|
|
363
267
|
export interface DetectorModelConfiguration {
|
|
364
268
|
detectorModelName?: string | undefined;
|
|
365
269
|
detectorModelVersion?: string | undefined;
|
|
@@ -384,13 +288,6 @@ export interface CreateInputRequest {
|
|
|
384
288
|
inputDefinition: InputDefinition | undefined;
|
|
385
289
|
tags?: Tag[] | undefined;
|
|
386
290
|
}
|
|
387
|
-
export declare const InputStatus: {
|
|
388
|
-
readonly ACTIVE: "ACTIVE";
|
|
389
|
-
readonly CREATING: "CREATING";
|
|
390
|
-
readonly DELETING: "DELETING";
|
|
391
|
-
readonly UPDATING: "UPDATING";
|
|
392
|
-
};
|
|
393
|
-
export type InputStatus = (typeof InputStatus)[keyof typeof InputStatus];
|
|
394
291
|
export interface InputConfiguration {
|
|
395
292
|
inputName: string | undefined;
|
|
396
293
|
inputDescription?: string | undefined;
|
|
@@ -406,13 +303,6 @@ export interface DeleteAlarmModelRequest {
|
|
|
406
303
|
alarmModelName: string | undefined;
|
|
407
304
|
}
|
|
408
305
|
export interface DeleteAlarmModelResponse {}
|
|
409
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
410
|
-
readonly name: "ResourceNotFoundException";
|
|
411
|
-
readonly $fault: "client";
|
|
412
|
-
constructor(
|
|
413
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
306
|
export interface DeleteDetectorModelRequest {
|
|
417
307
|
detectorModelName: string | undefined;
|
|
418
308
|
}
|
|
@@ -474,12 +364,6 @@ export interface DetectorDebugOption {
|
|
|
474
364
|
detectorModelName: string | undefined;
|
|
475
365
|
keyValue?: string | undefined;
|
|
476
366
|
}
|
|
477
|
-
export declare const LoggingLevel: {
|
|
478
|
-
readonly DEBUG: "DEBUG";
|
|
479
|
-
readonly ERROR: "ERROR";
|
|
480
|
-
readonly INFO: "INFO";
|
|
481
|
-
};
|
|
482
|
-
export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
483
367
|
export interface LoggingOptions {
|
|
484
368
|
roleArn: string | undefined;
|
|
485
369
|
level: LoggingLevel | undefined;
|
|
@@ -489,13 +373,6 @@ export interface LoggingOptions {
|
|
|
489
373
|
export interface DescribeLoggingOptionsResponse {
|
|
490
374
|
loggingOptions?: LoggingOptions | undefined;
|
|
491
375
|
}
|
|
492
|
-
export declare class UnsupportedOperationException extends __BaseException {
|
|
493
|
-
readonly name: "UnsupportedOperationException";
|
|
494
|
-
readonly $fault: "server";
|
|
495
|
-
constructor(
|
|
496
|
-
opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
|
|
497
|
-
);
|
|
498
|
-
}
|
|
499
376
|
export interface DetectorModelSummary {
|
|
500
377
|
detectorModelName?: string | undefined;
|
|
501
378
|
detectorModelDescription?: string | undefined;
|
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.
|
|
4
|
+
"version": "3.936.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",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|