@aws-sdk/client-iot-events 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1431 -1231
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/IoTEventsClient.js +2 -0
- package/dist-es/commands/CreateAlarmModelCommand.js +3 -9
- package/dist-es/commands/CreateDetectorModelCommand.js +3 -9
- package/dist-es/commands/CreateInputCommand.js +3 -9
- package/dist-es/commands/DeleteAlarmModelCommand.js +3 -9
- package/dist-es/commands/DeleteDetectorModelCommand.js +3 -9
- package/dist-es/commands/DeleteInputCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmModelCommand.js +3 -9
- package/dist-es/commands/DescribeDetectorModelAnalysisCommand.js +3 -9
- package/dist-es/commands/DescribeDetectorModelCommand.js +3 -9
- package/dist-es/commands/DescribeInputCommand.js +3 -9
- package/dist-es/commands/DescribeLoggingOptionsCommand.js +3 -9
- package/dist-es/commands/GetDetectorModelAnalysisResultsCommand.js +3 -9
- package/dist-es/commands/ListAlarmModelVersionsCommand.js +3 -9
- package/dist-es/commands/ListAlarmModelsCommand.js +3 -9
- package/dist-es/commands/ListDetectorModelVersionsCommand.js +3 -9
- package/dist-es/commands/ListDetectorModelsCommand.js +3 -9
- package/dist-es/commands/ListInputRoutingsCommand.js +3 -9
- package/dist-es/commands/ListInputsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutLoggingOptionsCommand.js +3 -9
- package/dist-es/commands/StartDetectorModelAnalysisCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAlarmModelCommand.js +3 -9
- package/dist-es/commands/UpdateDetectorModelCommand.js +3 -9
- package/dist-es/commands/UpdateInputCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1356 -0
- package/dist-types/IoTEventsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +172 -0
- package/dist-types/ts3.4/IoTEventsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1028
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -236
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -317
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotColumboService", "UntagResource", {})
|
|
17
13
|
.n("IoTEventsClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAlarmModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAlarmModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotColumboService", "UpdateAlarmModel", {})
|
|
17
13
|
.n("IoTEventsClient", "UpdateAlarmModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAlarmModelCommand)
|
|
20
|
-
.de(de_UpdateAlarmModelCommand)
|
|
14
|
+
.sc(UpdateAlarmModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDetectorModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDetectorModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotColumboService", "UpdateDetectorModel", {})
|
|
17
13
|
.n("IoTEventsClient", "UpdateDetectorModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDetectorModelCommand)
|
|
20
|
-
.de(de_UpdateDetectorModelCommand)
|
|
14
|
+
.sc(UpdateDetectorModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateInput } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateInputCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("IotColumboService", "UpdateInput", {})
|
|
17
13
|
.n("IoTEventsClient", "UpdateInputCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateInputCommand)
|
|
20
|
-
.de(de_UpdateInputCommand)
|
|
14
|
+
.sc(UpdateInput)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotevents" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "IoT Events",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|