@aws-sdk/client-iot-events-data 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 (53) hide show
  1. package/dist-cjs/commands/BatchAcknowledgeAlarmCommand.js +18 -41
  2. package/dist-cjs/commands/BatchDeleteDetectorCommand.js +18 -41
  3. package/dist-cjs/commands/BatchDisableAlarmCommand.js +18 -41
  4. package/dist-cjs/commands/BatchEnableAlarmCommand.js +18 -41
  5. package/dist-cjs/commands/BatchPutMessageCommand.js +18 -41
  6. package/dist-cjs/commands/BatchResetAlarmCommand.js +18 -41
  7. package/dist-cjs/commands/BatchSnoozeAlarmCommand.js +18 -41
  8. package/dist-cjs/commands/BatchUpdateDetectorCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeAlarmCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeDetectorCommand.js +18 -41
  11. package/dist-cjs/commands/ListAlarmsCommand.js +18 -41
  12. package/dist-cjs/commands/ListDetectorsCommand.js +18 -41
  13. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  14. package/dist-es/commands/BatchAcknowledgeAlarmCommand.js +18 -41
  15. package/dist-es/commands/BatchDeleteDetectorCommand.js +18 -41
  16. package/dist-es/commands/BatchDisableAlarmCommand.js +18 -41
  17. package/dist-es/commands/BatchEnableAlarmCommand.js +18 -41
  18. package/dist-es/commands/BatchPutMessageCommand.js +18 -41
  19. package/dist-es/commands/BatchResetAlarmCommand.js +18 -41
  20. package/dist-es/commands/BatchSnoozeAlarmCommand.js +18 -41
  21. package/dist-es/commands/BatchUpdateDetectorCommand.js +18 -41
  22. package/dist-es/commands/DescribeAlarmCommand.js +18 -41
  23. package/dist-es/commands/DescribeDetectorCommand.js +18 -41
  24. package/dist-es/commands/ListAlarmsCommand.js +18 -41
  25. package/dist-es/commands/ListDetectorsCommand.js +18 -41
  26. package/dist-es/endpoint/EndpointParameters.js +6 -0
  27. package/dist-types/commands/BatchAcknowledgeAlarmCommand.d.ts +6 -21
  28. package/dist-types/commands/BatchDeleteDetectorCommand.d.ts +6 -21
  29. package/dist-types/commands/BatchDisableAlarmCommand.d.ts +6 -21
  30. package/dist-types/commands/BatchEnableAlarmCommand.d.ts +6 -21
  31. package/dist-types/commands/BatchPutMessageCommand.d.ts +6 -21
  32. package/dist-types/commands/BatchResetAlarmCommand.d.ts +6 -21
  33. package/dist-types/commands/BatchSnoozeAlarmCommand.d.ts +6 -21
  34. package/dist-types/commands/BatchUpdateDetectorCommand.d.ts +6 -21
  35. package/dist-types/commands/DescribeAlarmCommand.d.ts +6 -21
  36. package/dist-types/commands/DescribeDetectorCommand.d.ts +6 -21
  37. package/dist-types/commands/ListAlarmsCommand.d.ts +6 -21
  38. package/dist-types/commands/ListDetectorsCommand.d.ts +6 -21
  39. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  40. package/dist-types/ts3.4/commands/BatchAcknowledgeAlarmCommand.d.ts +12 -24
  41. package/dist-types/ts3.4/commands/BatchDeleteDetectorCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/BatchDisableAlarmCommand.d.ts +14 -23
  43. package/dist-types/ts3.4/commands/BatchEnableAlarmCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/BatchPutMessageCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/BatchResetAlarmCommand.d.ts +14 -23
  46. package/dist-types/ts3.4/commands/BatchSnoozeAlarmCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/commands/BatchUpdateDetectorCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/commands/DescribeAlarmCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/DescribeDetectorCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/ListAlarmsCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  53. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchAcknowledgeAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchAcknowledgeAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchAcknowledgeAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchAcknowledgeAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchAcknowledgeAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchAcknowledgeAlarmCommand)(output, context);
49
- }
10
+ class BatchAcknowledgeAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchAcknowledgeAlarm", {})
22
+ .n("IoTEventsDataClient", "BatchAcknowledgeAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchAcknowledgeAlarmCommand)
25
+ .de(Aws_restJson1_1.de_BatchAcknowledgeAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchAcknowledgeAlarmCommand = BatchAcknowledgeAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchDeleteDetectorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDeleteDetectorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchDeleteDetectorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchDeleteDetector",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchDeleteDetectorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchDeleteDetectorCommand)(output, context);
49
- }
10
+ class BatchDeleteDetectorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchDeleteDetector", {})
22
+ .n("IoTEventsDataClient", "BatchDeleteDetectorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchDeleteDetectorCommand)
25
+ .de(Aws_restJson1_1.de_BatchDeleteDetectorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchDeleteDetectorCommand = BatchDeleteDetectorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchDisableAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDisableAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchDisableAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchDisableAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchDisableAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchDisableAlarmCommand)(output, context);
49
- }
10
+ class BatchDisableAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchDisableAlarm", {})
22
+ .n("IoTEventsDataClient", "BatchDisableAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchDisableAlarmCommand)
25
+ .de(Aws_restJson1_1.de_BatchDisableAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchDisableAlarmCommand = BatchDisableAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchEnableAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchEnableAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchEnableAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchEnableAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchEnableAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchEnableAlarmCommand)(output, context);
49
- }
10
+ class BatchEnableAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchEnableAlarm", {})
22
+ .n("IoTEventsDataClient", "BatchEnableAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchEnableAlarmCommand)
25
+ .de(Aws_restJson1_1.de_BatchEnableAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchEnableAlarmCommand = BatchEnableAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchPutMessageCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchPutMessageCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchPutMessageCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchPutMessage",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchPutMessageCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchPutMessageCommand)(output, context);
49
- }
10
+ class BatchPutMessageCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchPutMessage", {})
22
+ .n("IoTEventsDataClient", "BatchPutMessageCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchPutMessageCommand)
25
+ .de(Aws_restJson1_1.de_BatchPutMessageCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchPutMessageCommand = BatchPutMessageCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchResetAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchResetAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchResetAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchResetAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchResetAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchResetAlarmCommand)(output, context);
49
- }
10
+ class BatchResetAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchResetAlarm", {})
22
+ .n("IoTEventsDataClient", "BatchResetAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchResetAlarmCommand)
25
+ .de(Aws_restJson1_1.de_BatchResetAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchResetAlarmCommand = BatchResetAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchSnoozeAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchSnoozeAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchSnoozeAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchSnoozeAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchSnoozeAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchSnoozeAlarmCommand)(output, context);
49
- }
10
+ class BatchSnoozeAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchSnoozeAlarm", {})
22
+ .n("IoTEventsDataClient", "BatchSnoozeAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchSnoozeAlarmCommand)
25
+ .de(Aws_restJson1_1.de_BatchSnoozeAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchSnoozeAlarmCommand = BatchSnoozeAlarmCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class BatchUpdateDetectorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchUpdateDetectorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "BatchUpdateDetectorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "BatchUpdateDetector",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_BatchUpdateDetectorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_BatchUpdateDetectorCommand)(output, context);
49
- }
10
+ class BatchUpdateDetectorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "BatchUpdateDetector", {})
22
+ .n("IoTEventsDataClient", "BatchUpdateDetectorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_BatchUpdateDetectorCommand)
25
+ .de(Aws_restJson1_1.de_BatchUpdateDetectorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchUpdateDetectorCommand = BatchUpdateDetectorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeAlarmCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAlarmCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTEventsDataClient";
29
- const commandName = "DescribeAlarmCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "IotColumboDataService",
38
- operation: "DescribeAlarm",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeAlarmCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeAlarmCommand)(output, context);
49
- }
10
+ class DescribeAlarmCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("IotColumboDataService", "DescribeAlarm", {})
22
+ .n("IoTEventsDataClient", "DescribeAlarmCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeAlarmCommand)
25
+ .de(Aws_restJson1_1.de_DescribeAlarmCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeAlarmCommand = DescribeAlarmCommand;