@aws-sdk/client-iot-events-data 3.299.0 → 3.300.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-types/commands/BatchAcknowledgeAlarmCommand.d.ts +10 -0
- package/dist-types/commands/BatchDeleteDetectorCommand.d.ts +9 -0
- package/dist-types/commands/BatchDisableAlarmCommand.d.ts +10 -0
- package/dist-types/commands/BatchEnableAlarmCommand.d.ts +10 -0
- package/dist-types/commands/BatchPutMessageCommand.d.ts +12 -0
- package/dist-types/commands/BatchResetAlarmCommand.d.ts +10 -0
- package/dist-types/commands/BatchSnoozeAlarmCommand.d.ts +11 -0
- package/dist-types/commands/BatchUpdateDetectorCommand.d.ts +24 -0
- package/dist-types/commands/DescribeAlarmCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDetectorCommand.d.ts +4 -0
- package/dist-types/commands/ListAlarmsCommand.d.ts +5 -0
- package/dist-types/commands/ListDetectorsCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -27,6 +27,16 @@ export interface BatchAcknowledgeAlarmCommandOutput extends BatchAcknowledgeAlar
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* acknowledgeActionRequests: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* requestId: "STRING_VALUE", // required
|
|
34
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* note: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new BatchAcknowledgeAlarmCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface BatchDeleteDetectorCommandOutput extends BatchDeleteDetectorRes
|
|
|
26
26
|
* import { IoTEventsDataClient, BatchDeleteDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsDataClient, BatchDeleteDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsDataClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* detectors: [ // required
|
|
31
|
+
* {
|
|
32
|
+
* messageId: "STRING_VALUE", // required
|
|
33
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
34
|
+
* keyValue: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new BatchDeleteDetectorCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface BatchDisableAlarmCommandOutput extends BatchDisableAlarmRespons
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchDisableAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchDisableAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* disableActionRequests: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* requestId: "STRING_VALUE", // required
|
|
34
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* note: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new BatchDisableAlarmCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface BatchEnableAlarmCommandOutput extends BatchEnableAlarmResponse,
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchEnableAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchEnableAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* enableActionRequests: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* requestId: "STRING_VALUE", // required
|
|
34
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* note: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new BatchEnableAlarmCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -30,6 +30,18 @@ export interface BatchPutMessageCommandOutput extends BatchPutMessageResponse, _
|
|
|
30
30
|
* import { IoTEventsDataClient, BatchPutMessageCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
31
31
|
* // const { IoTEventsDataClient, BatchPutMessageCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
32
32
|
* const client = new IoTEventsDataClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* messages: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* messageId: "STRING_VALUE", // required
|
|
37
|
+
* inputName: "STRING_VALUE", // required
|
|
38
|
+
* payload: "BLOB_VALUE", // required
|
|
39
|
+
* timestamp: {
|
|
40
|
+
* timeInMillis: Number("long"),
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
33
45
|
* const command = new BatchPutMessageCommand(input);
|
|
34
46
|
* const response = await client.send(command);
|
|
35
47
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface BatchResetAlarmCommandOutput extends BatchResetAlarmResponse, _
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchResetAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchResetAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resetActionRequests: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* requestId: "STRING_VALUE", // required
|
|
34
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* note: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new BatchResetAlarmCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface BatchSnoozeAlarmCommandOutput extends BatchSnoozeAlarmResponse,
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchSnoozeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchSnoozeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* snoozeActionRequests: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* requestId: "STRING_VALUE", // required
|
|
34
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* note: "STRING_VALUE",
|
|
37
|
+
* snoozeDuration: Number("int"), // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
30
41
|
* const command = new BatchSnoozeAlarmCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -27,6 +27,30 @@ export interface BatchUpdateDetectorCommandOutput extends BatchUpdateDetectorRes
|
|
|
27
27
|
* import { IoTEventsDataClient, BatchUpdateDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, BatchUpdateDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* detectors: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* messageId: "STRING_VALUE", // required
|
|
34
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
35
|
+
* keyValue: "STRING_VALUE",
|
|
36
|
+
* state: {
|
|
37
|
+
* stateName: "STRING_VALUE", // required
|
|
38
|
+
* variables: [ // required
|
|
39
|
+
* {
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* value: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* timers: [ // required
|
|
45
|
+
* {
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* seconds: Number("int"), // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
30
54
|
* const command = new BatchUpdateDetectorCommand(input);
|
|
31
55
|
* const response = await client.send(command);
|
|
32
56
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeAlarmCommandOutput extends DescribeAlarmResponse, __Met
|
|
|
26
26
|
* import { IoTEventsDataClient, DescribeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsDataClient, DescribeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsDataClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
31
|
+
* keyValue: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeAlarmCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeDetectorCommandOutput extends DescribeDetectorResponse,
|
|
|
26
26
|
* import { IoTEventsDataClient, DescribeDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsDataClient, DescribeDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsDataClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
31
|
+
* keyValue: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeDetectorCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListAlarmsCommandOutput extends ListAlarmsResponse, __MetadataB
|
|
|
27
27
|
* import { IoTEventsDataClient, ListAlarmsCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsDataClient, ListAlarmsCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsDataClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListAlarmsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListDetectorsCommandOutput extends ListDetectorsResponse, __Met
|
|
|
26
26
|
* import { IoTEventsDataClient, ListDetectorsCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsDataClient, ListDetectorsCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsDataClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
31
|
+
* stateName: "STRING_VALUE",
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListDetectorsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
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.300.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|