@aws-sdk/client-iot-events-data 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/IoTEventsData.js +1 -9
- package/{dist/cjs → dist-cjs}/IoTEventsDataClient.js +8 -21
- package/{dist/cjs → dist-cjs}/commands/BatchAcknowledgeAlarmCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchDisableAlarmCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchEnableAlarmCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchPutMessageCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/BatchResetAlarmCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchSnoozeAlarmCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchUpdateDetectorCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeAlarmCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeDetectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAlarmsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListDetectorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -181
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +7 -13
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/IoTEventsData.js +1 -2
- package/{dist/es → dist-es}/IoTEventsDataClient.js +1 -2
- package/{dist/es → dist-es}/commands/BatchAcknowledgeAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchDisableAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchEnableAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchPutMessageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchResetAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchSnoozeAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchUpdateDetectorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAlarmCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDetectorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAlarmsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDetectorsCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/IoTEventsData.d.ts +2 -2
- package/{dist/types → dist-types}/IoTEventsDataClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchAcknowledgeAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchDisableAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchEnableAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchPutMessageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchResetAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchSnoozeAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchUpdateDetectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAlarmCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDetectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAlarmsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDetectorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/IoTEventsData.d.ts +14 -53
- package/{dist/types → dist-types}/ts3.4/IoTEventsDataClient.d.ts +32 -101
- package/dist-types/ts3.4/commands/BatchAcknowledgeAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDisableAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchEnableAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchPutMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchResetAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchSnoozeAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchUpdateDetectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAlarmCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDetectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAlarmsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +721 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/IoTEventsData.ts +0 -419
- package/IoTEventsDataClient.ts +0 -278
- package/commands/BatchAcknowledgeAlarmCommand.ts +0 -95
- package/commands/BatchDisableAlarmCommand.ts +0 -95
- package/commands/BatchEnableAlarmCommand.ts +0 -95
- package/commands/BatchPutMessageCommand.ts +0 -98
- package/commands/BatchResetAlarmCommand.ts +0 -95
- package/commands/BatchSnoozeAlarmCommand.ts +0 -95
- package/commands/BatchUpdateDetectorCommand.ts +0 -95
- package/commands/DescribeAlarmCommand.ts +0 -94
- package/commands/DescribeDetectorCommand.ts +0 -94
- package/commands/ListAlarmsCommand.ts +0 -95
- package/commands/ListDetectorsCommand.ts +0 -94
- package/dist/cjs/IoTEventsData.js.map +0 -1
- package/dist/cjs/IoTEventsDataClient.js.map +0 -1
- package/dist/cjs/commands/BatchAcknowledgeAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/BatchDisableAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/BatchEnableAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/BatchPutMessageCommand.js.map +0 -1
- package/dist/cjs/commands/BatchResetAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/BatchSnoozeAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/BatchUpdateDetectorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAlarmCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDetectorCommand.js.map +0 -1
- package/dist/cjs/commands/ListAlarmsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDetectorsCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/IoTEventsData.js.map +0 -1
- package/dist/es/IoTEventsDataClient.js.map +0 -1
- package/dist/es/commands/BatchAcknowledgeAlarmCommand.js.map +0 -1
- package/dist/es/commands/BatchDisableAlarmCommand.js.map +0 -1
- package/dist/es/commands/BatchEnableAlarmCommand.js.map +0 -1
- package/dist/es/commands/BatchPutMessageCommand.js.map +0 -1
- package/dist/es/commands/BatchResetAlarmCommand.js.map +0 -1
- package/dist/es/commands/BatchSnoozeAlarmCommand.js.map +0 -1
- package/dist/es/commands/BatchUpdateDetectorCommand.js.map +0 -1
- package/dist/es/commands/DescribeAlarmCommand.js.map +0 -1
- package/dist/es/commands/DescribeDetectorCommand.js.map +0 -1
- package/dist/es/commands/ListAlarmsCommand.js.map +0 -1
- package/dist/es/commands/ListDetectorsCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -15
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/BatchAcknowledgeAlarmCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchDisableAlarmCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchEnableAlarmCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchPutMessageCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/BatchResetAlarmCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchSnoozeAlarmCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchUpdateDetectorCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeAlarmCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeDetectorCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAlarmsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListDetectorsCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1345
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1669
- package/protocols/Aws_restJson1.ts +0 -2060
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
34
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
35
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
47
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTEventsData = void 0;
|
|
4
|
-
const IoTEventsDataClient_1 = require("./IoTEventsDataClient");
|
|
5
4
|
const BatchAcknowledgeAlarmCommand_1 = require("./commands/BatchAcknowledgeAlarmCommand");
|
|
6
5
|
const BatchDisableAlarmCommand_1 = require("./commands/BatchDisableAlarmCommand");
|
|
7
6
|
const BatchEnableAlarmCommand_1 = require("./commands/BatchEnableAlarmCommand");
|
|
@@ -13,13 +12,7 @@ const DescribeAlarmCommand_1 = require("./commands/DescribeAlarmCommand");
|
|
|
13
12
|
const DescribeDetectorCommand_1 = require("./commands/DescribeDetectorCommand");
|
|
14
13
|
const ListAlarmsCommand_1 = require("./commands/ListAlarmsCommand");
|
|
15
14
|
const ListDetectorsCommand_1 = require("./commands/ListDetectorsCommand");
|
|
16
|
-
|
|
17
|
-
* <p>AWS 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 AWS 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 AWS IoT Events?</a> in the
|
|
21
|
-
* <i>AWS IoT Events Developer Guide</i>.</p>
|
|
22
|
-
*/
|
|
15
|
+
const IoTEventsDataClient_1 = require("./IoTEventsDataClient");
|
|
23
16
|
class IoTEventsData extends IoTEventsDataClient_1.IoTEventsDataClient {
|
|
24
17
|
batchAcknowledgeAlarm(args, optionsOrCb, cb) {
|
|
25
18
|
const command = new BatchAcknowledgeAlarmCommand_1.BatchAcknowledgeAlarmCommand(args);
|
|
@@ -177,4 +170,3 @@ class IoTEventsData extends IoTEventsDataClient_1.IoTEventsDataClient {
|
|
|
177
170
|
}
|
|
178
171
|
}
|
|
179
172
|
exports.IoTEventsData = IoTEventsData;
|
|
180
|
-
//# sourceMappingURL=IoTEventsData.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTEventsDataClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,22 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
|
|
14
|
-
* <p>AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and
|
|
15
|
-
* triggers actions when such events occur. You can use AWS IoT Events Data API commands to send inputs to
|
|
16
|
-
* detectors, list detectors, and view or update a detector's status.</p>
|
|
17
|
-
* <p> For more information, see <a href="https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html">What is AWS IoT Events?</a> in the
|
|
18
|
-
* <i>AWS IoT Events Developer Guide</i>.</p>
|
|
19
|
-
*/
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
20
13
|
class IoTEventsDataClient extends smithy_client_1.Client {
|
|
21
14
|
constructor(configuration) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
29
22
|
super(_config_6);
|
|
30
23
|
this.config = _config_6;
|
|
31
24
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -35,14 +28,8 @@ class IoTEventsDataClient extends smithy_client_1.Client {
|
|
|
35
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
36
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
37
30
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
40
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
41
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
42
|
-
*/
|
|
43
31
|
destroy() {
|
|
44
32
|
super.destroy();
|
|
45
33
|
}
|
|
46
34
|
}
|
|
47
35
|
exports.IoTEventsDataClient = IoTEventsDataClient;
|
|
48
|
-
//# sourceMappingURL=IoTEventsDataClient.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchAcknowledgeAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* after you acknowledge them.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchAcknowledgeAlarmCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchAcknowledgeAlarmCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchAcknowledgeAlarmCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchAcknowledgeAlarmCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchAcknowledgeAlarmCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchAcknowledgeAlarmCommand = BatchAcknowledgeAlarmCommand;
|
|
62
|
-
//# sourceMappingURL=BatchAcknowledgeAlarmCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchDisableAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* you disable them.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchDisableAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchDisableAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchDisableAlarmCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchDisableAlarmCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchDisableAlarmCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchDisableAlarmCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchDisableAlarmCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchDisableAlarmCommand = BatchDisableAlarmCommand;
|
|
62
|
-
//# sourceMappingURL=BatchDisableAlarmCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchEnableAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* enable them.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchEnableAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchEnableAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchEnableAlarmCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchEnableAlarmCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchEnableAlarmCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchEnableAlarmCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchEnableAlarmCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchEnableAlarmCommand = BatchEnableAlarmCommand;
|
|
62
|
-
//# sourceMappingURL=BatchEnableAlarmCommand.js.map
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchPutMessageCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
|
|
11
|
-
* that input. If multiple messages are sent, the order in which the messages are processed isn't
|
|
12
|
-
* guaranteed. To guarantee ordering, you must send messages one at a time and wait for a
|
|
13
|
-
* successful response.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { IoTEventsDataClient, BatchPutMessageCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
18
|
-
* // const { IoTEventsDataClient, BatchPutMessageCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
19
|
-
* const client = new IoTEventsDataClient(config);
|
|
20
|
-
* const command = new BatchPutMessageCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link BatchPutMessageCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link BatchPutMessageCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
29
8
|
class BatchPutMessageCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class BatchPutMessageCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.BatchPutMessageCommand = BatchPutMessageCommand;
|
|
65
|
-
//# sourceMappingURL=BatchPutMessageCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchResetAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* reset them.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchResetAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchResetAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchResetAlarmCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchResetAlarmCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchResetAlarmCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchResetAlarmCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchResetAlarmCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchResetAlarmCommand = BatchResetAlarmCommand;
|
|
62
|
-
//# sourceMappingURL=BatchResetAlarmCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchSnoozeAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <code>SNOOZE_DISABLED</code> state after you set them to the snooze mode.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchSnoozeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchSnoozeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchSnoozeAlarmCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchSnoozeAlarmCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchSnoozeAlarmCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchSnoozeAlarmCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchSnoozeAlarmCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchSnoozeAlarmCommand = BatchSnoozeAlarmCommand;
|
|
62
|
-
//# sourceMappingURL=BatchSnoozeAlarmCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchUpdateDetectorCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* (instances) of a specified detector model.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, BatchUpdateDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, BatchUpdateDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new BatchUpdateDetectorCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link BatchUpdateDetectorCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link BatchUpdateDetectorCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class BatchUpdateDetectorCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class BatchUpdateDetectorCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.BatchUpdateDetectorCommand = BatchUpdateDetectorCommand;
|
|
62
|
-
//# sourceMappingURL=BatchUpdateDetectorCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeAlarmCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IoTEventsDataClient, DescribeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
14
|
-
* // const { IoTEventsDataClient, DescribeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
15
|
-
* const client = new IoTEventsDataClient(config);
|
|
16
|
-
* const command = new DescribeAlarmCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeAlarmCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeAlarmCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class DescribeAlarmCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DescribeAlarmCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeAlarmCommand = DescribeAlarmCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeAlarmCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeDetectorCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IoTEventsDataClient, DescribeDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
14
|
-
* // const { IoTEventsDataClient, DescribeDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
15
|
-
* const client = new IoTEventsDataClient(config);
|
|
16
|
-
* const command = new DescribeDetectorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeDetectorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeDetectorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class DescribeDetectorCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DescribeDetectorCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeDetectorCommand = DescribeDetectorCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeDetectorCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListAlarmsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* alarm.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IoTEventsDataClient, ListAlarmsCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import
|
|
15
|
-
* // const { IoTEventsDataClient, ListAlarmsCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import
|
|
16
|
-
* const client = new IoTEventsDataClient(config);
|
|
17
|
-
* const command = new ListAlarmsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListAlarmsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListAlarmsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IoTEventsDataClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class ListAlarmsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class ListAlarmsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.ListAlarmsCommand = ListAlarmsCommand;
|
|
62
|
-
//# sourceMappingURL=ListAlarmsCommand.js.map
|