@aws-sdk/client-iot-events-data 3.312.0 → 3.316.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/IoTEventsData.js +16 -168
- package/dist-cjs/protocols/Aws_restJson1.js +175 -525
- package/dist-es/IoTEventsData.js +16 -168
- package/dist-es/protocols/Aws_restJson1.js +155 -505
- package/dist-types/IoTEventsData.d.ts +23 -44
- package/dist-types/ts3.4/IoTEventsData.d.ts +4 -1
- package/package.json +6 -6
|
@@ -12,108 +12,87 @@ import { DescribeDetectorCommandInput, DescribeDetectorCommandOutput } from "./c
|
|
|
12
12
|
import { ListAlarmsCommandInput, ListAlarmsCommandOutput } from "./commands/ListAlarmsCommand";
|
|
13
13
|
import { ListDetectorsCommandInput, ListDetectorsCommandOutput } from "./commands/ListDetectorsCommand";
|
|
14
14
|
import { IoTEventsDataClient } from "./IoTEventsDataClient";
|
|
15
|
-
|
|
16
|
-
* @public
|
|
17
|
-
* <p>IoT Events monitors your equipment or device fleets for failures or changes in operation, and
|
|
18
|
-
* triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to
|
|
19
|
-
* detectors, list detectors, and view or update a detector's status.</p>
|
|
20
|
-
* <p> For more information, see <a href="https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html">What is IoT Events?</a> in the
|
|
21
|
-
* <i>IoT Events Developer Guide</i>.</p>
|
|
22
|
-
*/
|
|
23
|
-
export declare class IoTEventsData extends IoTEventsDataClient {
|
|
15
|
+
export interface IoTEventsData {
|
|
24
16
|
/**
|
|
25
|
-
* @
|
|
26
|
-
* <p>Acknowledges one or more alarms. The alarms change to the <code>ACKNOWLEDGED</code> state
|
|
27
|
-
* after you acknowledge them.</p>
|
|
17
|
+
* @see {@link BatchAcknowledgeAlarmCommand}
|
|
28
18
|
*/
|
|
29
19
|
batchAcknowledgeAlarm(args: BatchAcknowledgeAlarmCommandInput, options?: __HttpHandlerOptions): Promise<BatchAcknowledgeAlarmCommandOutput>;
|
|
30
20
|
batchAcknowledgeAlarm(args: BatchAcknowledgeAlarmCommandInput, cb: (err: any, data?: BatchAcknowledgeAlarmCommandOutput) => void): void;
|
|
31
21
|
batchAcknowledgeAlarm(args: BatchAcknowledgeAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAcknowledgeAlarmCommandOutput) => void): void;
|
|
32
22
|
/**
|
|
33
|
-
* @
|
|
34
|
-
* <p>Deletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the <a href="https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_ListDetectors.html">ListDetectors</a> API call.</p>
|
|
23
|
+
* @see {@link BatchDeleteDetectorCommand}
|
|
35
24
|
*/
|
|
36
25
|
batchDeleteDetector(args: BatchDeleteDetectorCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteDetectorCommandOutput>;
|
|
37
26
|
batchDeleteDetector(args: BatchDeleteDetectorCommandInput, cb: (err: any, data?: BatchDeleteDetectorCommandOutput) => void): void;
|
|
38
27
|
batchDeleteDetector(args: BatchDeleteDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteDetectorCommandOutput) => void): void;
|
|
39
28
|
/**
|
|
40
|
-
* @
|
|
41
|
-
* <p>Disables one or more alarms. The alarms change to the <code>DISABLED</code> state after
|
|
42
|
-
* you disable them.</p>
|
|
29
|
+
* @see {@link BatchDisableAlarmCommand}
|
|
43
30
|
*/
|
|
44
31
|
batchDisableAlarm(args: BatchDisableAlarmCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisableAlarmCommandOutput>;
|
|
45
32
|
batchDisableAlarm(args: BatchDisableAlarmCommandInput, cb: (err: any, data?: BatchDisableAlarmCommandOutput) => void): void;
|
|
46
33
|
batchDisableAlarm(args: BatchDisableAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisableAlarmCommandOutput) => void): void;
|
|
47
34
|
/**
|
|
48
|
-
* @
|
|
49
|
-
* <p>Enables one or more alarms. The alarms change to the <code>NORMAL</code> state after you
|
|
50
|
-
* enable them.</p>
|
|
35
|
+
* @see {@link BatchEnableAlarmCommand}
|
|
51
36
|
*/
|
|
52
37
|
batchEnableAlarm(args: BatchEnableAlarmCommandInput, options?: __HttpHandlerOptions): Promise<BatchEnableAlarmCommandOutput>;
|
|
53
38
|
batchEnableAlarm(args: BatchEnableAlarmCommandInput, cb: (err: any, data?: BatchEnableAlarmCommandOutput) => void): void;
|
|
54
39
|
batchEnableAlarm(args: BatchEnableAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchEnableAlarmCommandOutput) => void): void;
|
|
55
40
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Sends a set of messages to the IoT Events system. Each message payload is transformed into
|
|
58
|
-
* the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
|
|
59
|
-
* that input. If multiple messages are sent, the order in which the messages are processed isn't
|
|
60
|
-
* guaranteed. To guarantee ordering, you must send messages one at a time and wait for a
|
|
61
|
-
* successful response.</p>
|
|
41
|
+
* @see {@link BatchPutMessageCommand}
|
|
62
42
|
*/
|
|
63
43
|
batchPutMessage(args: BatchPutMessageCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutMessageCommandOutput>;
|
|
64
44
|
batchPutMessage(args: BatchPutMessageCommandInput, cb: (err: any, data?: BatchPutMessageCommandOutput) => void): void;
|
|
65
45
|
batchPutMessage(args: BatchPutMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutMessageCommandOutput) => void): void;
|
|
66
46
|
/**
|
|
67
|
-
* @
|
|
68
|
-
* <p>Resets one or more alarms. The alarms return to the <code>NORMAL</code> state after you
|
|
69
|
-
* reset them.</p>
|
|
47
|
+
* @see {@link BatchResetAlarmCommand}
|
|
70
48
|
*/
|
|
71
49
|
batchResetAlarm(args: BatchResetAlarmCommandInput, options?: __HttpHandlerOptions): Promise<BatchResetAlarmCommandOutput>;
|
|
72
50
|
batchResetAlarm(args: BatchResetAlarmCommandInput, cb: (err: any, data?: BatchResetAlarmCommandOutput) => void): void;
|
|
73
51
|
batchResetAlarm(args: BatchResetAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchResetAlarmCommandOutput) => void): void;
|
|
74
52
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Changes one or more alarms to the snooze mode. The alarms change to the
|
|
77
|
-
* <code>SNOOZE_DISABLED</code> state after you set them to the snooze mode.</p>
|
|
53
|
+
* @see {@link BatchSnoozeAlarmCommand}
|
|
78
54
|
*/
|
|
79
55
|
batchSnoozeAlarm(args: BatchSnoozeAlarmCommandInput, options?: __HttpHandlerOptions): Promise<BatchSnoozeAlarmCommandOutput>;
|
|
80
56
|
batchSnoozeAlarm(args: BatchSnoozeAlarmCommandInput, cb: (err: any, data?: BatchSnoozeAlarmCommandOutput) => void): void;
|
|
81
57
|
batchSnoozeAlarm(args: BatchSnoozeAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchSnoozeAlarmCommandOutput) => void): void;
|
|
82
58
|
/**
|
|
83
|
-
* @
|
|
84
|
-
* <p>Updates the state, variable values, and timer settings of one or more detectors
|
|
85
|
-
* (instances) of a specified detector model.</p>
|
|
59
|
+
* @see {@link BatchUpdateDetectorCommand}
|
|
86
60
|
*/
|
|
87
61
|
batchUpdateDetector(args: BatchUpdateDetectorCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateDetectorCommandOutput>;
|
|
88
62
|
batchUpdateDetector(args: BatchUpdateDetectorCommandInput, cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void): void;
|
|
89
63
|
batchUpdateDetector(args: BatchUpdateDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void): void;
|
|
90
64
|
/**
|
|
91
|
-
* @
|
|
92
|
-
* <p>Retrieves information about an alarm.</p>
|
|
65
|
+
* @see {@link DescribeAlarmCommand}
|
|
93
66
|
*/
|
|
94
67
|
describeAlarm(args: DescribeAlarmCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlarmCommandOutput>;
|
|
95
68
|
describeAlarm(args: DescribeAlarmCommandInput, cb: (err: any, data?: DescribeAlarmCommandOutput) => void): void;
|
|
96
69
|
describeAlarm(args: DescribeAlarmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlarmCommandOutput) => void): void;
|
|
97
70
|
/**
|
|
98
|
-
* @
|
|
99
|
-
* <p>Returns information about the specified detector (instance).</p>
|
|
71
|
+
* @see {@link DescribeDetectorCommand}
|
|
100
72
|
*/
|
|
101
73
|
describeDetector(args: DescribeDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDetectorCommandOutput>;
|
|
102
74
|
describeDetector(args: DescribeDetectorCommandInput, cb: (err: any, data?: DescribeDetectorCommandOutput) => void): void;
|
|
103
75
|
describeDetector(args: DescribeDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDetectorCommandOutput) => void): void;
|
|
104
76
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* <p>Lists one or more alarms. The operation returns only the metadata associated with each
|
|
107
|
-
* alarm.</p>
|
|
77
|
+
* @see {@link ListAlarmsCommand}
|
|
108
78
|
*/
|
|
109
79
|
listAlarms(args: ListAlarmsCommandInput, options?: __HttpHandlerOptions): Promise<ListAlarmsCommandOutput>;
|
|
110
80
|
listAlarms(args: ListAlarmsCommandInput, cb: (err: any, data?: ListAlarmsCommandOutput) => void): void;
|
|
111
81
|
listAlarms(args: ListAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAlarmsCommandOutput) => void): void;
|
|
112
82
|
/**
|
|
113
|
-
* @
|
|
114
|
-
* <p>Lists detectors (the instances of a detector model).</p>
|
|
83
|
+
* @see {@link ListDetectorsCommand}
|
|
115
84
|
*/
|
|
116
85
|
listDetectors(args: ListDetectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListDetectorsCommandOutput>;
|
|
117
86
|
listDetectors(args: ListDetectorsCommandInput, cb: (err: any, data?: ListDetectorsCommandOutput) => void): void;
|
|
118
87
|
listDetectors(args: ListDetectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDetectorsCommandOutput) => void): void;
|
|
119
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>IoT Events monitors your equipment or device fleets for failures or changes in operation, and
|
|
92
|
+
* triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to
|
|
93
|
+
* detectors, list detectors, and view or update a detector's status.</p>
|
|
94
|
+
* <p> For more information, see <a href="https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html">What is IoT Events?</a> in the
|
|
95
|
+
* <i>IoT Events Developer Guide</i>.</p>
|
|
96
|
+
*/
|
|
97
|
+
export declare class IoTEventsData extends IoTEventsDataClient implements IoTEventsData {
|
|
98
|
+
}
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
ListDetectorsCommandOutput,
|
|
49
49
|
} from "./commands/ListDetectorsCommand";
|
|
50
50
|
import { IoTEventsDataClient } from "./IoTEventsDataClient";
|
|
51
|
-
export
|
|
51
|
+
export interface IoTEventsData {
|
|
52
52
|
batchAcknowledgeAlarm(
|
|
53
53
|
args: BatchAcknowledgeAlarmCommandInput,
|
|
54
54
|
options?: __HttpHandlerOptions
|
|
@@ -206,3 +206,6 @@ export declare class IoTEventsData extends IoTEventsDataClient {
|
|
|
206
206
|
cb: (err: any, data?: ListDetectorsCommandOutput) => void
|
|
207
207
|
): void;
|
|
208
208
|
}
|
|
209
|
+
export declare class IoTEventsData
|
|
210
|
+
extends IoTEventsDataClient
|
|
211
|
+
implements IoTEventsData {}
|
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.
|
|
4
|
+
"version": "3.316.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|