@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.
@@ -0,0 +1,120 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTEventsServiceException as __BaseException } from "./IoTEventsServiceException";
3
+ /**
4
+ * <p>An internal failure occurred.</p>
5
+ * @public
6
+ */
7
+ export declare class InternalFailureException extends __BaseException {
8
+ readonly name: "InternalFailureException";
9
+ readonly $fault: "server";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The request was invalid.</p>
17
+ * @public
18
+ */
19
+ export declare class InvalidRequestException extends __BaseException {
20
+ readonly name: "InvalidRequestException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>A limit was exceeded.</p>
29
+ * @public
30
+ */
31
+ export declare class LimitExceededException extends __BaseException {
32
+ readonly name: "LimitExceededException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The resource already exists.</p>
41
+ * @public
42
+ */
43
+ export declare class ResourceAlreadyExistsException extends __BaseException {
44
+ readonly name: "ResourceAlreadyExistsException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * <p>The ID of the resource.</p>
48
+ * @public
49
+ */
50
+ resourceId?: string | undefined;
51
+ /**
52
+ * <p>The ARN of the resource.</p>
53
+ * @public
54
+ */
55
+ resourceArn?: string | undefined;
56
+ /**
57
+ * @internal
58
+ */
59
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
60
+ }
61
+ /**
62
+ * <p>The resource is in use.</p>
63
+ * @public
64
+ */
65
+ export declare class ResourceInUseException extends __BaseException {
66
+ readonly name: "ResourceInUseException";
67
+ readonly $fault: "client";
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The service is currently unavailable.</p>
75
+ * @public
76
+ */
77
+ export declare class ServiceUnavailableException extends __BaseException {
78
+ readonly name: "ServiceUnavailableException";
79
+ readonly $fault: "server";
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p>The request could not be completed due to throttling.</p>
87
+ * @public
88
+ */
89
+ export declare class ThrottlingException extends __BaseException {
90
+ readonly name: "ThrottlingException";
91
+ readonly $fault: "client";
92
+ /**
93
+ * @internal
94
+ */
95
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
96
+ }
97
+ /**
98
+ * <p>The resource was not found.</p>
99
+ * @public
100
+ */
101
+ export declare class ResourceNotFoundException extends __BaseException {
102
+ readonly name: "ResourceNotFoundException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
108
+ }
109
+ /**
110
+ * <p>The requested operation is not supported.</p>
111
+ * @public
112
+ */
113
+ export declare class UnsupportedOperationException extends __BaseException {
114
+ readonly name: "UnsupportedOperationException";
115
+ readonly $fault: "server";
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
120
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IoTEventsServiceException as __BaseException } from "./IoTEventsServiceException";
1
+ import { AlarmModelVersionStatus, AnalysisResultLevel, AnalysisStatus, ComparisonOperator, DetectorModelVersionStatus, EvaluationMethod, InputStatus, LoggingLevel, PayloadType } from "./enums";
3
2
  /**
4
3
  * <p>Specifies whether to get notified for alarm state changes.</p>
5
4
  * @public
@@ -26,18 +25,6 @@ export interface ClearTimerAction {
26
25
  */
27
26
  timerName: string | undefined;
28
27
  }
29
- /**
30
- * @public
31
- * @enum
32
- */
33
- export declare const PayloadType: {
34
- readonly JSON: "JSON";
35
- readonly STRING: "STRING";
36
- };
37
- /**
38
- * @public
39
- */
40
- export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
41
28
  /**
42
29
  * <p>Information needed to configure the payload.</p>
43
30
  * <p>By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload
@@ -1021,20 +1008,6 @@ export interface AlarmModelSummary {
1021
1008
  */
1022
1009
  alarmModelName?: string | undefined;
1023
1010
  }
1024
- /**
1025
- * @public
1026
- * @enum
1027
- */
1028
- export declare const AlarmModelVersionStatus: {
1029
- readonly ACTIVATING: "ACTIVATING";
1030
- readonly ACTIVE: "ACTIVE";
1031
- readonly FAILED: "FAILED";
1032
- readonly INACTIVE: "INACTIVE";
1033
- };
1034
- /**
1035
- * @public
1036
- */
1037
- export type AlarmModelVersionStatus = (typeof AlarmModelVersionStatus)[keyof typeof AlarmModelVersionStatus];
1038
1011
  /**
1039
1012
  * <p>Contains a summary of an alarm model version.</p>
1040
1013
  * @public
@@ -1263,22 +1236,6 @@ export interface AlarmNotification {
1263
1236
  */
1264
1237
  notificationActions?: NotificationAction[] | undefined;
1265
1238
  }
1266
- /**
1267
- * @public
1268
- * @enum
1269
- */
1270
- export declare const ComparisonOperator: {
1271
- readonly EQUAL: "EQUAL";
1272
- readonly GREATER: "GREATER";
1273
- readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
1274
- readonly LESS: "LESS";
1275
- readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
1276
- readonly NOT_EQUAL: "NOT_EQUAL";
1277
- };
1278
- /**
1279
- * @public
1280
- */
1281
- export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
1282
1239
  /**
1283
1240
  * <p>A rule that compares an input property value to a threshold value with a comparison operator.</p>
1284
1241
  * @public
@@ -1313,19 +1270,6 @@ export interface AlarmRule {
1313
1270
  */
1314
1271
  simpleRule?: SimpleRule | undefined;
1315
1272
  }
1316
- /**
1317
- * @public
1318
- * @enum
1319
- */
1320
- export declare const AnalysisResultLevel: {
1321
- readonly ERROR: "ERROR";
1322
- readonly INFO: "INFO";
1323
- readonly WARNING: "WARNING";
1324
- };
1325
- /**
1326
- * @public
1327
- */
1328
- export type AnalysisResultLevel = (typeof AnalysisResultLevel)[keyof typeof AnalysisResultLevel];
1329
1273
  /**
1330
1274
  * <p>Contains information that you can use to locate the field in your detector model that the
1331
1275
  * analysis result references.</p>
@@ -1427,19 +1371,6 @@ export interface AnalysisResult {
1427
1371
  */
1428
1372
  locations?: AnalysisResultLocation[] | undefined;
1429
1373
  }
1430
- /**
1431
- * @public
1432
- * @enum
1433
- */
1434
- export declare const AnalysisStatus: {
1435
- readonly COMPLETE: "COMPLETE";
1436
- readonly FAILED: "FAILED";
1437
- readonly RUNNING: "RUNNING";
1438
- };
1439
- /**
1440
- * @public
1441
- */
1442
- export type AnalysisStatus = (typeof AnalysisStatus)[keyof typeof AnalysisStatus];
1443
1374
  /**
1444
1375
  * <p>The attributes from the JSON payload that are made available by the input. Inputs are
1445
1376
  * derived from messages sent to the AWS IoT Events system using <code>BatchPutMessage</code>. Each such
@@ -1588,100 +1519,6 @@ export interface CreateAlarmModelResponse {
1588
1519
  */
1589
1520
  status?: AlarmModelVersionStatus | undefined;
1590
1521
  }
1591
- /**
1592
- * <p>An internal failure occurred.</p>
1593
- * @public
1594
- */
1595
- export declare class InternalFailureException extends __BaseException {
1596
- readonly name: "InternalFailureException";
1597
- readonly $fault: "server";
1598
- /**
1599
- * @internal
1600
- */
1601
- constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
1602
- }
1603
- /**
1604
- * <p>The request was invalid.</p>
1605
- * @public
1606
- */
1607
- export declare class InvalidRequestException extends __BaseException {
1608
- readonly name: "InvalidRequestException";
1609
- readonly $fault: "client";
1610
- /**
1611
- * @internal
1612
- */
1613
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
1614
- }
1615
- /**
1616
- * <p>A limit was exceeded.</p>
1617
- * @public
1618
- */
1619
- export declare class LimitExceededException extends __BaseException {
1620
- readonly name: "LimitExceededException";
1621
- readonly $fault: "client";
1622
- /**
1623
- * @internal
1624
- */
1625
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1626
- }
1627
- /**
1628
- * <p>The resource already exists.</p>
1629
- * @public
1630
- */
1631
- export declare class ResourceAlreadyExistsException extends __BaseException {
1632
- readonly name: "ResourceAlreadyExistsException";
1633
- readonly $fault: "client";
1634
- /**
1635
- * <p>The ID of the resource.</p>
1636
- * @public
1637
- */
1638
- resourceId?: string | undefined;
1639
- /**
1640
- * <p>The ARN of the resource.</p>
1641
- * @public
1642
- */
1643
- resourceArn?: string | undefined;
1644
- /**
1645
- * @internal
1646
- */
1647
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
1648
- }
1649
- /**
1650
- * <p>The resource is in use.</p>
1651
- * @public
1652
- */
1653
- export declare class ResourceInUseException extends __BaseException {
1654
- readonly name: "ResourceInUseException";
1655
- readonly $fault: "client";
1656
- /**
1657
- * @internal
1658
- */
1659
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1660
- }
1661
- /**
1662
- * <p>The service is currently unavailable.</p>
1663
- * @public
1664
- */
1665
- export declare class ServiceUnavailableException extends __BaseException {
1666
- readonly name: "ServiceUnavailableException";
1667
- readonly $fault: "server";
1668
- /**
1669
- * @internal
1670
- */
1671
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1672
- }
1673
- /**
1674
- * <p>The request could not be completed due to throttling.</p>
1675
- * @public
1676
- */
1677
- export declare class ThrottlingException extends __BaseException {
1678
- readonly name: "ThrottlingException";
1679
- readonly $fault: "client";
1680
- /**
1681
- * @internal
1682
- */
1683
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
1684
- }
1685
1522
  /**
1686
1523
  * <p>Specifies the <code>actions</code> to be performed when the <code>condition</code>
1687
1524
  * evaluates to TRUE.</p>
@@ -1822,18 +1659,6 @@ export interface DetectorModelDefinition {
1822
1659
  */
1823
1660
  initialStateName: string | undefined;
1824
1661
  }
1825
- /**
1826
- * @public
1827
- * @enum
1828
- */
1829
- export declare const EvaluationMethod: {
1830
- readonly BATCH: "BATCH";
1831
- readonly SERIAL: "SERIAL";
1832
- };
1833
- /**
1834
- * @public
1835
- */
1836
- export type EvaluationMethod = (typeof EvaluationMethod)[keyof typeof EvaluationMethod];
1837
1662
  /**
1838
1663
  * @public
1839
1664
  */
@@ -1879,23 +1704,6 @@ export interface CreateDetectorModelRequest {
1879
1704
  */
1880
1705
  evaluationMethod?: EvaluationMethod | undefined;
1881
1706
  }
1882
- /**
1883
- * @public
1884
- * @enum
1885
- */
1886
- export declare const DetectorModelVersionStatus: {
1887
- readonly ACTIVATING: "ACTIVATING";
1888
- readonly ACTIVE: "ACTIVE";
1889
- readonly DEPRECATED: "DEPRECATED";
1890
- readonly DRAFT: "DRAFT";
1891
- readonly FAILED: "FAILED";
1892
- readonly INACTIVE: "INACTIVE";
1893
- readonly PAUSED: "PAUSED";
1894
- };
1895
- /**
1896
- * @public
1897
- */
1898
- export type DetectorModelVersionStatus = (typeof DetectorModelVersionStatus)[keyof typeof DetectorModelVersionStatus];
1899
1707
  /**
1900
1708
  * <p>Information about how the detector model is configured.</p>
1901
1709
  * @public
@@ -2009,20 +1817,6 @@ export interface CreateInputRequest {
2009
1817
  */
2010
1818
  tags?: Tag[] | undefined;
2011
1819
  }
2012
- /**
2013
- * @public
2014
- * @enum
2015
- */
2016
- export declare const InputStatus: {
2017
- readonly ACTIVE: "ACTIVE";
2018
- readonly CREATING: "CREATING";
2019
- readonly DELETING: "DELETING";
2020
- readonly UPDATING: "UPDATING";
2021
- };
2022
- /**
2023
- * @public
2024
- */
2025
- export type InputStatus = (typeof InputStatus)[keyof typeof InputStatus];
2026
1820
  /**
2027
1821
  * <p>Information about the configuration of an input.</p>
2028
1822
  * @public
@@ -2084,18 +1878,6 @@ export interface DeleteAlarmModelRequest {
2084
1878
  */
2085
1879
  export interface DeleteAlarmModelResponse {
2086
1880
  }
2087
- /**
2088
- * <p>The resource was not found.</p>
2089
- * @public
2090
- */
2091
- export declare class ResourceNotFoundException extends __BaseException {
2092
- readonly name: "ResourceNotFoundException";
2093
- readonly $fault: "client";
2094
- /**
2095
- * @internal
2096
- */
2097
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
2098
- }
2099
1881
  /**
2100
1882
  * @public
2101
1883
  */
@@ -2382,19 +2164,6 @@ export interface DetectorDebugOption {
2382
2164
  */
2383
2165
  keyValue?: string | undefined;
2384
2166
  }
2385
- /**
2386
- * @public
2387
- * @enum
2388
- */
2389
- export declare const LoggingLevel: {
2390
- readonly DEBUG: "DEBUG";
2391
- readonly ERROR: "ERROR";
2392
- readonly INFO: "INFO";
2393
- };
2394
- /**
2395
- * @public
2396
- */
2397
- export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
2398
2167
  /**
2399
2168
  * <p>The values of the AWS IoT Events logging options.</p>
2400
2169
  * @public
@@ -2432,18 +2201,6 @@ export interface DescribeLoggingOptionsResponse {
2432
2201
  */
2433
2202
  loggingOptions?: LoggingOptions | undefined;
2434
2203
  }
2435
- /**
2436
- * <p>The requested operation is not supported.</p>
2437
- * @public
2438
- */
2439
- export declare class UnsupportedOperationException extends __BaseException {
2440
- readonly name: "UnsupportedOperationException";
2441
- readonly $fault: "server";
2442
- /**
2443
- * @internal
2444
- */
2445
- constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
2446
- }
2447
2204
  /**
2448
2205
  * <p>Information about the detector model.</p>
2449
2206
  * @public
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IoTEventsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
8
10
  export { IoTEventsServiceException } from "./models/IoTEventsServiceException";
@@ -0,0 +1,67 @@
1
+ export declare const PayloadType: {
2
+ readonly JSON: "JSON";
3
+ readonly STRING: "STRING";
4
+ };
5
+ export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
6
+ export declare const AlarmModelVersionStatus: {
7
+ readonly ACTIVATING: "ACTIVATING";
8
+ readonly ACTIVE: "ACTIVE";
9
+ readonly FAILED: "FAILED";
10
+ readonly INACTIVE: "INACTIVE";
11
+ };
12
+ export type AlarmModelVersionStatus =
13
+ (typeof AlarmModelVersionStatus)[keyof typeof AlarmModelVersionStatus];
14
+ export declare const ComparisonOperator: {
15
+ readonly EQUAL: "EQUAL";
16
+ readonly GREATER: "GREATER";
17
+ readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
18
+ readonly LESS: "LESS";
19
+ readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
20
+ readonly NOT_EQUAL: "NOT_EQUAL";
21
+ };
22
+ export type ComparisonOperator =
23
+ (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
24
+ export declare const AnalysisResultLevel: {
25
+ readonly ERROR: "ERROR";
26
+ readonly INFO: "INFO";
27
+ readonly WARNING: "WARNING";
28
+ };
29
+ export type AnalysisResultLevel =
30
+ (typeof AnalysisResultLevel)[keyof typeof AnalysisResultLevel];
31
+ export declare const AnalysisStatus: {
32
+ readonly COMPLETE: "COMPLETE";
33
+ readonly FAILED: "FAILED";
34
+ readonly RUNNING: "RUNNING";
35
+ };
36
+ export type AnalysisStatus =
37
+ (typeof AnalysisStatus)[keyof typeof AnalysisStatus];
38
+ export declare const EvaluationMethod: {
39
+ readonly BATCH: "BATCH";
40
+ readonly SERIAL: "SERIAL";
41
+ };
42
+ export type EvaluationMethod =
43
+ (typeof EvaluationMethod)[keyof typeof EvaluationMethod];
44
+ export declare const DetectorModelVersionStatus: {
45
+ readonly ACTIVATING: "ACTIVATING";
46
+ readonly ACTIVE: "ACTIVE";
47
+ readonly DEPRECATED: "DEPRECATED";
48
+ readonly DRAFT: "DRAFT";
49
+ readonly FAILED: "FAILED";
50
+ readonly INACTIVE: "INACTIVE";
51
+ readonly PAUSED: "PAUSED";
52
+ };
53
+ export type DetectorModelVersionStatus =
54
+ (typeof DetectorModelVersionStatus)[keyof typeof DetectorModelVersionStatus];
55
+ export declare const InputStatus: {
56
+ readonly ACTIVE: "ACTIVE";
57
+ readonly CREATING: "CREATING";
58
+ readonly DELETING: "DELETING";
59
+ readonly UPDATING: "UPDATING";
60
+ };
61
+ export type InputStatus = (typeof InputStatus)[keyof typeof InputStatus];
62
+ export declare const LoggingLevel: {
63
+ readonly DEBUG: "DEBUG";
64
+ readonly ERROR: "ERROR";
65
+ readonly INFO: "INFO";
66
+ };
67
+ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
@@ -0,0 +1,67 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTEventsServiceException as __BaseException } from "./IoTEventsServiceException";
3
+ export declare class InternalFailureException extends __BaseException {
4
+ readonly name: "InternalFailureException";
5
+ readonly $fault: "server";
6
+ constructor(
7
+ opts: __ExceptionOptionType<InternalFailureException, __BaseException>
8
+ );
9
+ }
10
+ export declare class InvalidRequestException extends __BaseException {
11
+ readonly name: "InvalidRequestException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
15
+ );
16
+ }
17
+ export declare class LimitExceededException extends __BaseException {
18
+ readonly name: "LimitExceededException";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ResourceAlreadyExistsException extends __BaseException {
25
+ readonly name: "ResourceAlreadyExistsException";
26
+ readonly $fault: "client";
27
+ resourceId?: string | undefined;
28
+ resourceArn?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ResourceInUseException extends __BaseException {
34
+ readonly name: "ResourceInUseException";
35
+ readonly $fault: "client";
36
+ constructor(
37
+ opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
38
+ );
39
+ }
40
+ export declare class ServiceUnavailableException extends __BaseException {
41
+ readonly name: "ServiceUnavailableException";
42
+ readonly $fault: "server";
43
+ constructor(
44
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ThrottlingException extends __BaseException {
48
+ readonly name: "ThrottlingException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ResourceNotFoundException extends __BaseException {
55
+ readonly name: "ResourceNotFoundException";
56
+ readonly $fault: "client";
57
+ constructor(
58
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
59
+ );
60
+ }
61
+ export declare class UnsupportedOperationException extends __BaseException {
62
+ readonly name: "UnsupportedOperationException";
63
+ readonly $fault: "server";
64
+ constructor(
65
+ opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
66
+ );
67
+ }