@aws-sdk/client-iot-events 3.478.0 → 3.484.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 (109) hide show
  1. package/dist-cjs/commands/CreateAlarmModelCommand.js +18 -41
  2. package/dist-cjs/commands/CreateDetectorModelCommand.js +18 -41
  3. package/dist-cjs/commands/CreateInputCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteAlarmModelCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteDetectorModelCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteInputCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeAlarmModelCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeDetectorModelAnalysisCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeDetectorModelCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeInputCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +18 -41
  12. package/dist-cjs/commands/GetDetectorModelAnalysisResultsCommand.js +18 -41
  13. package/dist-cjs/commands/ListAlarmModelVersionsCommand.js +18 -41
  14. package/dist-cjs/commands/ListAlarmModelsCommand.js +18 -41
  15. package/dist-cjs/commands/ListDetectorModelVersionsCommand.js +18 -41
  16. package/dist-cjs/commands/ListDetectorModelsCommand.js +18 -41
  17. package/dist-cjs/commands/ListInputRoutingsCommand.js +18 -41
  18. package/dist-cjs/commands/ListInputsCommand.js +18 -41
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  20. package/dist-cjs/commands/PutLoggingOptionsCommand.js +18 -41
  21. package/dist-cjs/commands/StartDetectorModelAnalysisCommand.js +18 -41
  22. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  23. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateAlarmModelCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateDetectorModelCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateInputCommand.js +18 -41
  27. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  28. package/dist-es/commands/CreateAlarmModelCommand.js +18 -41
  29. package/dist-es/commands/CreateDetectorModelCommand.js +18 -41
  30. package/dist-es/commands/CreateInputCommand.js +18 -41
  31. package/dist-es/commands/DeleteAlarmModelCommand.js +18 -41
  32. package/dist-es/commands/DeleteDetectorModelCommand.js +18 -41
  33. package/dist-es/commands/DeleteInputCommand.js +18 -41
  34. package/dist-es/commands/DescribeAlarmModelCommand.js +18 -41
  35. package/dist-es/commands/DescribeDetectorModelAnalysisCommand.js +18 -41
  36. package/dist-es/commands/DescribeDetectorModelCommand.js +18 -41
  37. package/dist-es/commands/DescribeInputCommand.js +18 -41
  38. package/dist-es/commands/DescribeLoggingOptionsCommand.js +18 -41
  39. package/dist-es/commands/GetDetectorModelAnalysisResultsCommand.js +18 -41
  40. package/dist-es/commands/ListAlarmModelVersionsCommand.js +18 -41
  41. package/dist-es/commands/ListAlarmModelsCommand.js +18 -41
  42. package/dist-es/commands/ListDetectorModelVersionsCommand.js +18 -41
  43. package/dist-es/commands/ListDetectorModelsCommand.js +18 -41
  44. package/dist-es/commands/ListInputRoutingsCommand.js +18 -41
  45. package/dist-es/commands/ListInputsCommand.js +18 -41
  46. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  47. package/dist-es/commands/PutLoggingOptionsCommand.js +18 -41
  48. package/dist-es/commands/StartDetectorModelAnalysisCommand.js +18 -41
  49. package/dist-es/commands/TagResourceCommand.js +18 -41
  50. package/dist-es/commands/UntagResourceCommand.js +18 -41
  51. package/dist-es/commands/UpdateAlarmModelCommand.js +18 -41
  52. package/dist-es/commands/UpdateDetectorModelCommand.js +18 -41
  53. package/dist-es/commands/UpdateInputCommand.js +18 -41
  54. package/dist-es/endpoint/EndpointParameters.js +6 -0
  55. package/dist-types/commands/CreateAlarmModelCommand.d.ts +6 -21
  56. package/dist-types/commands/CreateDetectorModelCommand.d.ts +6 -21
  57. package/dist-types/commands/CreateInputCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteAlarmModelCommand.d.ts +6 -21
  59. package/dist-types/commands/DeleteDetectorModelCommand.d.ts +6 -21
  60. package/dist-types/commands/DeleteInputCommand.d.ts +6 -21
  61. package/dist-types/commands/DescribeAlarmModelCommand.d.ts +6 -21
  62. package/dist-types/commands/DescribeDetectorModelAnalysisCommand.d.ts +6 -21
  63. package/dist-types/commands/DescribeDetectorModelCommand.d.ts +6 -21
  64. package/dist-types/commands/DescribeInputCommand.d.ts +6 -21
  65. package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +6 -21
  66. package/dist-types/commands/GetDetectorModelAnalysisResultsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListAlarmModelVersionsCommand.d.ts +6 -21
  68. package/dist-types/commands/ListAlarmModelsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListDetectorModelVersionsCommand.d.ts +6 -21
  70. package/dist-types/commands/ListDetectorModelsCommand.d.ts +6 -21
  71. package/dist-types/commands/ListInputRoutingsCommand.d.ts +6 -21
  72. package/dist-types/commands/ListInputsCommand.d.ts +6 -21
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  74. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +6 -21
  75. package/dist-types/commands/StartDetectorModelAnalysisCommand.d.ts +6 -21
  76. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  77. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  78. package/dist-types/commands/UpdateAlarmModelCommand.d.ts +6 -21
  79. package/dist-types/commands/UpdateDetectorModelCommand.d.ts +6 -21
  80. package/dist-types/commands/UpdateInputCommand.d.ts +6 -21
  81. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  82. package/dist-types/ts3.4/commands/CreateAlarmModelCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/CreateDetectorModelCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/CreateInputCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/DeleteAlarmModelCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/DeleteDetectorModelCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DeleteInputCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DescribeAlarmModelCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/DescribeDetectorModelAnalysisCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/DescribeDetectorModelCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/DescribeInputCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/DescribeLoggingOptionsCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/GetDetectorModelAnalysisResultsCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/ListAlarmModelVersionsCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ListAlarmModelsCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/ListDetectorModelVersionsCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/ListDetectorModelsCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/ListInputRoutingsCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/ListInputsCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/StartDetectorModelAnalysisCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/UpdateAlarmModelCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/UpdateDetectorModelCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/UpdateInputCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  109. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutLoggingOptionsCommand, se_PutLoggingOptionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutLoggingOptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutLoggingOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "PutLoggingOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "PutLoggingOptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutLoggingOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutLoggingOptionsCommand(output, context);
46
- }
7
+ export class PutLoggingOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "PutLoggingOptions", {})
19
+ .n("IoTEventsClient", "PutLoggingOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutLoggingOptionsCommand)
22
+ .de(de_PutLoggingOptionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartDetectorModelAnalysisCommand, se_StartDetectorModelAnalysisCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartDetectorModelAnalysisCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartDetectorModelAnalysisCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "StartDetectorModelAnalysisCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "StartDetectorModelAnalysis",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartDetectorModelAnalysisCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartDetectorModelAnalysisCommand(output, context);
46
- }
7
+ export class StartDetectorModelAnalysisCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "StartDetectorModelAnalysis", {})
19
+ .n("IoTEventsClient", "StartDetectorModelAnalysisCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartDetectorModelAnalysisCommand)
22
+ .de(de_StartDetectorModelAnalysisCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "TagResource", {})
19
+ .n("IoTEventsClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "UntagResource", {})
19
+ .n("IoTEventsClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateAlarmModelCommand, se_UpdateAlarmModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateAlarmModelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAlarmModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "UpdateAlarmModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "UpdateAlarmModel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateAlarmModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateAlarmModelCommand(output, context);
46
- }
7
+ export class UpdateAlarmModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "UpdateAlarmModel", {})
19
+ .n("IoTEventsClient", "UpdateAlarmModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateAlarmModelCommand)
22
+ .de(de_UpdateAlarmModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDetectorModelCommand, se_UpdateDetectorModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDetectorModelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDetectorModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "UpdateDetectorModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "UpdateDetectorModel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDetectorModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDetectorModelCommand(output, context);
46
- }
7
+ export class UpdateDetectorModelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "UpdateDetectorModel", {})
19
+ .n("IoTEventsClient", "UpdateDetectorModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDetectorModelCommand)
22
+ .de(de_UpdateDetectorModelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateInputCommand, se_UpdateInputCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateInputCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateInputCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "UpdateInputCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "UpdateInput",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateInputCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateInputCommand(output, context);
46
- }
7
+ export class UpdateInputCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotColumboService", "UpdateInput", {})
19
+ .n("IoTEventsClient", "UpdateInputCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateInputCommand)
22
+ .de(de_UpdateInputCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "iotevents",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient";
5
4
  import { CreateAlarmModelRequest, CreateAlarmModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAlarmModelCommandInput extends CreateAlarmModelRequest {
21
20
  */
22
21
  export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateAlarmModelCommand_base: {
24
+ new (input: CreateAlarmModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAlarmModelCommandInput, CreateAlarmModelCommandOutput, IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get
@@ -230,23 +233,5 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse,
230
233
  * <p>Base exception class for all service exceptions from IoTEvents service.</p>
231
234
  *
232
235
  */
233
- export declare class CreateAlarmModelCommand extends $Command<CreateAlarmModelCommandInput, CreateAlarmModelCommandOutput, IoTEventsClientResolvedConfig> {
234
- readonly input: CreateAlarmModelCommandInput;
235
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
236
- /**
237
- * @public
238
- */
239
- constructor(input: CreateAlarmModelCommandInput);
240
- /**
241
- * @internal
242
- */
243
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAlarmModelCommandInput, CreateAlarmModelCommandOutput>;
244
- /**
245
- * @internal
246
- */
247
- private serialize;
248
- /**
249
- * @internal
250
- */
251
- private deserialize;
236
+ export declare class CreateAlarmModelCommand extends CreateAlarmModelCommand_base {
252
237
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient";
5
4
  import { CreateDetectorModelRequest, CreateDetectorModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDetectorModelCommandInput extends CreateDetectorModelRequ
21
20
  */
22
21
  export interface CreateDetectorModelCommandOutput extends CreateDetectorModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateDetectorModelCommand_base: {
24
+ new (input: CreateDetectorModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDetectorModelCommandInput, CreateDetectorModelCommandOutput, IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a detector model.</p>
@@ -467,23 +470,5 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
467
470
  * <p>Base exception class for all service exceptions from IoTEvents service.</p>
468
471
  *
469
472
  */
470
- export declare class CreateDetectorModelCommand extends $Command<CreateDetectorModelCommandInput, CreateDetectorModelCommandOutput, IoTEventsClientResolvedConfig> {
471
- readonly input: CreateDetectorModelCommandInput;
472
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
473
- /**
474
- * @public
475
- */
476
- constructor(input: CreateDetectorModelCommandInput);
477
- /**
478
- * @internal
479
- */
480
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDetectorModelCommandInput, CreateDetectorModelCommandOutput>;
481
- /**
482
- * @internal
483
- */
484
- private serialize;
485
- /**
486
- * @internal
487
- */
488
- private deserialize;
473
+ export declare class CreateDetectorModelCommand extends CreateDetectorModelCommand_base {
489
474
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient";
5
4
  import { CreateInputRequest, CreateInputResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateInputCommandInput extends CreateInputRequest {
21
20
  */
22
21
  export interface CreateInputCommandOutput extends CreateInputResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateInputCommand_base: {
24
+ new (input: CreateInputCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInputCommandInput, CreateInputCommandOutput, IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an input.</p>
@@ -87,23 +90,5 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
87
90
  * <p>Base exception class for all service exceptions from IoTEvents service.</p>
88
91
  *
89
92
  */
90
- export declare class CreateInputCommand extends $Command<CreateInputCommandInput, CreateInputCommandOutput, IoTEventsClientResolvedConfig> {
91
- readonly input: CreateInputCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: CreateInputCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInputCommandInput, CreateInputCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class CreateInputCommand extends CreateInputCommand_base {
109
94
  }