@aws-sdk/client-iot-events 3.477.0 → 3.481.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_CreateDetectorModelCommand, se_CreateDetectorModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateDetectorModelCommand 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, CreateDetectorModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "CreateDetectorModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "CreateDetectorModel",
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_CreateDetectorModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateDetectorModelCommand(output, context);
46
- }
7
+ export class CreateDetectorModelCommand 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", "CreateDetectorModel", {})
19
+ .n("IoTEventsClient", "CreateDetectorModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateDetectorModelCommand)
22
+ .de(de_CreateDetectorModelCommand)
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_CreateInputCommand, se_CreateInputCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateInputCommand 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, CreateInputCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "CreateInputCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "CreateInput",
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_CreateInputCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateInputCommand(output, context);
46
- }
7
+ export class CreateInputCommand 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", "CreateInput", {})
19
+ .n("IoTEventsClient", "CreateInputCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateInputCommand)
22
+ .de(de_CreateInputCommand)
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_DeleteAlarmModelCommand, se_DeleteAlarmModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAlarmModelCommand 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, DeleteAlarmModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DeleteAlarmModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DeleteAlarmModel",
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_DeleteAlarmModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAlarmModelCommand(output, context);
46
- }
7
+ export class DeleteAlarmModelCommand 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", "DeleteAlarmModel", {})
19
+ .n("IoTEventsClient", "DeleteAlarmModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAlarmModelCommand)
22
+ .de(de_DeleteAlarmModelCommand)
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_DeleteDetectorModelCommand, se_DeleteDetectorModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteDetectorModelCommand 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, DeleteDetectorModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DeleteDetectorModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DeleteDetectorModel",
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_DeleteDetectorModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteDetectorModelCommand(output, context);
46
- }
7
+ export class DeleteDetectorModelCommand 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", "DeleteDetectorModel", {})
19
+ .n("IoTEventsClient", "DeleteDetectorModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteDetectorModelCommand)
22
+ .de(de_DeleteDetectorModelCommand)
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_DeleteInputCommand, se_DeleteInputCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteInputCommand 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, DeleteInputCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DeleteInputCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DeleteInput",
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_DeleteInputCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteInputCommand(output, context);
46
- }
7
+ export class DeleteInputCommand 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", "DeleteInput", {})
19
+ .n("IoTEventsClient", "DeleteInputCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteInputCommand)
22
+ .de(de_DeleteInputCommand)
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_DescribeAlarmModelCommand, se_DescribeAlarmModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeAlarmModelCommand 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, DescribeAlarmModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DescribeAlarmModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DescribeAlarmModel",
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_DescribeAlarmModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAlarmModelCommand(output, context);
46
- }
7
+ export class DescribeAlarmModelCommand 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", "DescribeAlarmModel", {})
19
+ .n("IoTEventsClient", "DescribeAlarmModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAlarmModelCommand)
22
+ .de(de_DescribeAlarmModelCommand)
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_DescribeDetectorModelAnalysisCommand, se_DescribeDetectorModelAnalysisCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeDetectorModelAnalysisCommand 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, DescribeDetectorModelAnalysisCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DescribeDetectorModelAnalysisCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DescribeDetectorModelAnalysis",
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_DescribeDetectorModelAnalysisCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDetectorModelAnalysisCommand(output, context);
46
- }
7
+ export class DescribeDetectorModelAnalysisCommand 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", "DescribeDetectorModelAnalysis", {})
19
+ .n("IoTEventsClient", "DescribeDetectorModelAnalysisCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDetectorModelAnalysisCommand)
22
+ .de(de_DescribeDetectorModelAnalysisCommand)
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_DescribeDetectorModelCommand, se_DescribeDetectorModelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeDetectorModelCommand 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, DescribeDetectorModelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DescribeDetectorModelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DescribeDetectorModel",
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_DescribeDetectorModelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDetectorModelCommand(output, context);
46
- }
7
+ export class DescribeDetectorModelCommand 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", "DescribeDetectorModel", {})
19
+ .n("IoTEventsClient", "DescribeDetectorModelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDetectorModelCommand)
22
+ .de(de_DescribeDetectorModelCommand)
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_DescribeInputCommand, se_DescribeInputCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeInputCommand 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, DescribeInputCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTEventsClient";
26
- const commandName = "DescribeInputCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotColumboService",
35
- operation: "DescribeInput",
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_DescribeInputCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeInputCommand(output, context);
46
- }
7
+ export class DescribeInputCommand 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", "DescribeInput", {})
19
+ .n("IoTEventsClient", "DescribeInputCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeInputCommand)
22
+ .de(de_DescribeInputCommand)
23
+ .build() {
47
24
  }