@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.
Files changed (47) hide show
  1. package/dist-cjs/index.js +1431 -1231
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/IoTEventsClient.js +2 -0
  4. package/dist-es/commands/CreateAlarmModelCommand.js +3 -9
  5. package/dist-es/commands/CreateDetectorModelCommand.js +3 -9
  6. package/dist-es/commands/CreateInputCommand.js +3 -9
  7. package/dist-es/commands/DeleteAlarmModelCommand.js +3 -9
  8. package/dist-es/commands/DeleteDetectorModelCommand.js +3 -9
  9. package/dist-es/commands/DeleteInputCommand.js +3 -9
  10. package/dist-es/commands/DescribeAlarmModelCommand.js +3 -9
  11. package/dist-es/commands/DescribeDetectorModelAnalysisCommand.js +3 -9
  12. package/dist-es/commands/DescribeDetectorModelCommand.js +3 -9
  13. package/dist-es/commands/DescribeInputCommand.js +3 -9
  14. package/dist-es/commands/DescribeLoggingOptionsCommand.js +3 -9
  15. package/dist-es/commands/GetDetectorModelAnalysisResultsCommand.js +3 -9
  16. package/dist-es/commands/ListAlarmModelVersionsCommand.js +3 -9
  17. package/dist-es/commands/ListAlarmModelsCommand.js +3 -9
  18. package/dist-es/commands/ListDetectorModelVersionsCommand.js +3 -9
  19. package/dist-es/commands/ListDetectorModelsCommand.js +3 -9
  20. package/dist-es/commands/ListInputRoutingsCommand.js +3 -9
  21. package/dist-es/commands/ListInputsCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/PutLoggingOptionsCommand.js +3 -9
  24. package/dist-es/commands/StartDetectorModelAnalysisCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateAlarmModelCommand.js +3 -9
  28. package/dist-es/commands/UpdateDetectorModelCommand.js +3 -9
  29. package/dist-es/commands/UpdateInputCommand.js +3 -9
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +1356 -0
  32. package/dist-types/IoTEventsClient.d.ts +10 -1
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  37. package/dist-types/schemas/schemas_0.d.ts +172 -0
  38. package/dist-types/ts3.4/IoTEventsClient.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
  44. package/package.json +5 -5
  45. package/dist-es/protocols/Aws_restJson1.js +0 -1028
  46. package/dist-types/protocols/Aws_restJson1.d.ts +0 -236
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -317
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotevents" }),
28
30
  serviceId: config?.serviceId ?? "IoT Events",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class IoTEventsClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_CreateAlarmModelCommand, se_CreateAlarmModelCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAlarmModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAlarmModelCommand 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", "CreateAlarmModel", {})
17
13
  .n("IoTEventsClient", "CreateAlarmModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAlarmModelCommand)
20
- .de(de_CreateAlarmModelCommand)
14
+ .sc(CreateAlarmModel)
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 { de_CreateDetectorModelCommand, se_CreateDetectorModelCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDetectorModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDetectorModelCommand 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", "CreateDetectorModel", {})
17
13
  .n("IoTEventsClient", "CreateDetectorModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDetectorModelCommand)
20
- .de(de_CreateDetectorModelCommand)
14
+ .sc(CreateDetectorModel)
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 { de_CreateInputCommand, se_CreateInputCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateInput } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateInputCommand 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", "CreateInput", {})
17
13
  .n("IoTEventsClient", "CreateInputCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateInputCommand)
20
- .de(de_CreateInputCommand)
14
+ .sc(CreateInput)
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 { de_DeleteAlarmModelCommand, se_DeleteAlarmModelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAlarmModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAlarmModelCommand 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", "DeleteAlarmModel", {})
17
13
  .n("IoTEventsClient", "DeleteAlarmModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAlarmModelCommand)
20
- .de(de_DeleteAlarmModelCommand)
14
+ .sc(DeleteAlarmModel)
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 { de_DeleteDetectorModelCommand, se_DeleteDetectorModelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDetectorModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDetectorModelCommand 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", "DeleteDetectorModel", {})
17
13
  .n("IoTEventsClient", "DeleteDetectorModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDetectorModelCommand)
20
- .de(de_DeleteDetectorModelCommand)
14
+ .sc(DeleteDetectorModel)
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 { de_DeleteInputCommand, se_DeleteInputCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteInput } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteInputCommand 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", "DeleteInput", {})
17
13
  .n("IoTEventsClient", "DeleteInputCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteInputCommand)
20
- .de(de_DeleteInputCommand)
14
+ .sc(DeleteInput)
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 { de_DescribeAlarmModelCommand, se_DescribeAlarmModelCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeAlarmModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAlarmModelCommand 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", "DescribeAlarmModel", {})
17
13
  .n("IoTEventsClient", "DescribeAlarmModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAlarmModelCommand)
20
- .de(de_DescribeAlarmModelCommand)
14
+ .sc(DescribeAlarmModel)
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 { de_DescribeDetectorModelAnalysisCommand, se_DescribeDetectorModelAnalysisCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeDetectorModelAnalysis } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDetectorModelAnalysisCommand 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", "DescribeDetectorModelAnalysis", {})
17
13
  .n("IoTEventsClient", "DescribeDetectorModelAnalysisCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDetectorModelAnalysisCommand)
20
- .de(de_DescribeDetectorModelAnalysisCommand)
14
+ .sc(DescribeDetectorModelAnalysis)
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 { de_DescribeDetectorModelCommand, se_DescribeDetectorModelCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeDetectorModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDetectorModelCommand 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", "DescribeDetectorModel", {})
17
13
  .n("IoTEventsClient", "DescribeDetectorModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDetectorModelCommand)
20
- .de(de_DescribeDetectorModelCommand)
14
+ .sc(DescribeDetectorModel)
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 { de_DescribeInputCommand, se_DescribeInputCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeInput } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeInputCommand 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", "DescribeInput", {})
17
13
  .n("IoTEventsClient", "DescribeInputCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeInputCommand)
20
- .de(de_DescribeInputCommand)
14
+ .sc(DescribeInput)
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 { de_DescribeLoggingOptionsCommand, se_DescribeLoggingOptionsCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeLoggingOptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLoggingOptionsCommand 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", "DescribeLoggingOptions", {})
17
13
  .n("IoTEventsClient", "DescribeLoggingOptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLoggingOptionsCommand)
20
- .de(de_DescribeLoggingOptionsCommand)
14
+ .sc(DescribeLoggingOptions)
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 { de_GetDetectorModelAnalysisResultsCommand, se_GetDetectorModelAnalysisResultsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetDetectorModelAnalysisResults } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDetectorModelAnalysisResultsCommand 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", "GetDetectorModelAnalysisResults", {})
17
13
  .n("IoTEventsClient", "GetDetectorModelAnalysisResultsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDetectorModelAnalysisResultsCommand)
20
- .de(de_GetDetectorModelAnalysisResultsCommand)
14
+ .sc(GetDetectorModelAnalysisResults)
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 { de_ListAlarmModelVersionsCommand, se_ListAlarmModelVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAlarmModelVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAlarmModelVersionsCommand 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", "ListAlarmModelVersions", {})
17
13
  .n("IoTEventsClient", "ListAlarmModelVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAlarmModelVersionsCommand)
20
- .de(de_ListAlarmModelVersionsCommand)
14
+ .sc(ListAlarmModelVersions)
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 { de_ListAlarmModelsCommand, se_ListAlarmModelsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAlarmModels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAlarmModelsCommand 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", "ListAlarmModels", {})
17
13
  .n("IoTEventsClient", "ListAlarmModelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAlarmModelsCommand)
20
- .de(de_ListAlarmModelsCommand)
14
+ .sc(ListAlarmModels)
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 { de_ListDetectorModelVersionsCommand, se_ListDetectorModelVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDetectorModelVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDetectorModelVersionsCommand 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", "ListDetectorModelVersions", {})
17
13
  .n("IoTEventsClient", "ListDetectorModelVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDetectorModelVersionsCommand)
20
- .de(de_ListDetectorModelVersionsCommand)
14
+ .sc(ListDetectorModelVersions)
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 { de_ListDetectorModelsCommand, se_ListDetectorModelsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDetectorModels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDetectorModelsCommand 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", "ListDetectorModels", {})
17
13
  .n("IoTEventsClient", "ListDetectorModelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDetectorModelsCommand)
20
- .de(de_ListDetectorModelsCommand)
14
+ .sc(ListDetectorModels)
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 { de_ListInputRoutingsCommand, se_ListInputRoutingsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListInputRoutings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListInputRoutingsCommand 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", "ListInputRoutings", {})
17
13
  .n("IoTEventsClient", "ListInputRoutingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListInputRoutingsCommand)
20
- .de(de_ListInputRoutingsCommand)
14
+ .sc(ListInputRoutings)
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 { de_ListInputsCommand, se_ListInputsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListInputs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListInputsCommand 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", "ListInputs", {})
17
13
  .n("IoTEventsClient", "ListInputsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListInputsCommand)
20
- .de(de_ListInputsCommand)
14
+ .sc(ListInputs)
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 { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("IoTEventsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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 { de_PutLoggingOptionsCommand, se_PutLoggingOptionsCommand } from "../protocols/Aws_restJson1";
4
+ import { PutLoggingOptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutLoggingOptionsCommand 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", "PutLoggingOptions", {})
17
13
  .n("IoTEventsClient", "PutLoggingOptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutLoggingOptionsCommand)
20
- .de(de_PutLoggingOptionsCommand)
14
+ .sc(PutLoggingOptions)
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 { de_StartDetectorModelAnalysisCommand, se_StartDetectorModelAnalysisCommand } from "../protocols/Aws_restJson1";
4
+ import { StartDetectorModelAnalysis } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartDetectorModelAnalysisCommand 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", "StartDetectorModelAnalysis", {})
17
13
  .n("IoTEventsClient", "StartDetectorModelAnalysisCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartDetectorModelAnalysisCommand)
20
- .de(de_StartDetectorModelAnalysisCommand)
14
+ .sc(StartDetectorModelAnalysis)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("IoTEventsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }