@aws-sdk/client-iot-events 3.183.0 → 3.185.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 (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/IoTEvents.js +113 -106
  4. package/dist-es/IoTEventsClient.js +28 -22
  5. package/dist-es/commands/CreateAlarmModelCommand.js +28 -21
  6. package/dist-es/commands/CreateDetectorModelCommand.js +28 -21
  7. package/dist-es/commands/CreateInputCommand.js +28 -21
  8. package/dist-es/commands/DeleteAlarmModelCommand.js +28 -21
  9. package/dist-es/commands/DeleteDetectorModelCommand.js +28 -21
  10. package/dist-es/commands/DeleteInputCommand.js +28 -21
  11. package/dist-es/commands/DescribeAlarmModelCommand.js +28 -21
  12. package/dist-es/commands/DescribeDetectorModelAnalysisCommand.js +28 -21
  13. package/dist-es/commands/DescribeDetectorModelCommand.js +28 -21
  14. package/dist-es/commands/DescribeInputCommand.js +28 -21
  15. package/dist-es/commands/DescribeLoggingOptionsCommand.js +28 -21
  16. package/dist-es/commands/GetDetectorModelAnalysisResultsCommand.js +28 -21
  17. package/dist-es/commands/ListAlarmModelVersionsCommand.js +28 -21
  18. package/dist-es/commands/ListAlarmModelsCommand.js +28 -21
  19. package/dist-es/commands/ListDetectorModelVersionsCommand.js +28 -21
  20. package/dist-es/commands/ListDetectorModelsCommand.js +28 -21
  21. package/dist-es/commands/ListInputRoutingsCommand.js +28 -21
  22. package/dist-es/commands/ListInputsCommand.js +28 -21
  23. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  24. package/dist-es/commands/PutLoggingOptionsCommand.js +29 -22
  25. package/dist-es/commands/StartDetectorModelAnalysisCommand.js +28 -21
  26. package/dist-es/commands/TagResourceCommand.js +28 -21
  27. package/dist-es/commands/UntagResourceCommand.js +28 -21
  28. package/dist-es/commands/UpdateAlarmModelCommand.js +28 -21
  29. package/dist-es/commands/UpdateDetectorModelCommand.js +28 -21
  30. package/dist-es/commands/UpdateInputCommand.js +28 -21
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/IoTEventsServiceException.js +10 -5
  33. package/dist-es/models/models_0.js +215 -440
  34. package/dist-es/protocols/Aws_restJson1.js +3082 -2437
  35. package/dist-es/runtimeConfig.browser.js +12 -26
  36. package/dist-es/runtimeConfig.js +12 -30
  37. package/dist-es/runtimeConfig.native.js +5 -8
  38. package/dist-es/runtimeConfig.shared.js +11 -8
  39. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDetectorModelAnalysisResultsRequestFilterSensitiveLog, GetDetectorModelAnalysisResultsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDetectorModelAnalysisResultsCommand, serializeAws_restJson1GetDetectorModelAnalysisResultsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDetectorModelAnalysisResultsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDetectorModelAnalysisResultsCommand = (function (_super) {
7
+ __extends(GetDetectorModelAnalysisResultsCommand, _super);
8
+ function GetDetectorModelAnalysisResultsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDetectorModelAnalysisResultsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "GetDetectorModelAnalysisResultsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "GetDetectorModelAnalysisResultsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDetectorModelAnalysisResultsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDetectorModelAnalysisResultsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDetectorModelAnalysisResultsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDetectorModelAnalysisResultsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDetectorModelAnalysisResultsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDetectorModelAnalysisResultsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDetectorModelAnalysisResultsCommand;
38
+ }($Command));
39
+ export { GetDetectorModelAnalysisResultsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAlarmModelVersionsRequestFilterSensitiveLog, ListAlarmModelVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAlarmModelVersionsCommand, serializeAws_restJson1ListAlarmModelVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAlarmModelVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAlarmModelVersionsCommand = (function (_super) {
7
+ __extends(ListAlarmModelVersionsCommand, _super);
8
+ function ListAlarmModelVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAlarmModelVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListAlarmModelVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListAlarmModelVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAlarmModelVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAlarmModelVersionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAlarmModelVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAlarmModelVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAlarmModelVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAlarmModelVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAlarmModelVersionsCommand;
38
+ }($Command));
39
+ export { ListAlarmModelVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAlarmModelsRequestFilterSensitiveLog, ListAlarmModelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAlarmModelsCommand, serializeAws_restJson1ListAlarmModelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAlarmModelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAlarmModelsCommand = (function (_super) {
7
+ __extends(ListAlarmModelsCommand, _super);
8
+ function ListAlarmModelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAlarmModelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListAlarmModelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListAlarmModelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAlarmModelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAlarmModelsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAlarmModelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAlarmModelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAlarmModelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAlarmModelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAlarmModelsCommand;
38
+ }($Command));
39
+ export { ListAlarmModelsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDetectorModelVersionsRequestFilterSensitiveLog, ListDetectorModelVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDetectorModelVersionsCommand, serializeAws_restJson1ListDetectorModelVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDetectorModelVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDetectorModelVersionsCommand = (function (_super) {
7
+ __extends(ListDetectorModelVersionsCommand, _super);
8
+ function ListDetectorModelVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDetectorModelVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListDetectorModelVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListDetectorModelVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDetectorModelVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDetectorModelVersionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDetectorModelVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDetectorModelVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDetectorModelVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDetectorModelVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDetectorModelVersionsCommand;
38
+ }($Command));
39
+ export { ListDetectorModelVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListDetectorModelsRequestFilterSensitiveLog, ListDetectorModelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDetectorModelsCommand, serializeAws_restJson1ListDetectorModelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDetectorModelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDetectorModelsCommand = (function (_super) {
7
+ __extends(ListDetectorModelsCommand, _super);
8
+ function ListDetectorModelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDetectorModelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListDetectorModelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListDetectorModelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDetectorModelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDetectorModelsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListDetectorModelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDetectorModelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDetectorModelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDetectorModelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDetectorModelsCommand;
38
+ }($Command));
39
+ export { ListDetectorModelsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInputRoutingsRequestFilterSensitiveLog, ListInputRoutingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInputRoutingsCommand, serializeAws_restJson1ListInputRoutingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInputRoutingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInputRoutingsCommand = (function (_super) {
7
+ __extends(ListInputRoutingsCommand, _super);
8
+ function ListInputRoutingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInputRoutingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListInputRoutingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListInputRoutingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInputRoutingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInputRoutingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInputRoutingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInputRoutingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInputRoutingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInputRoutingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInputRoutingsCommand;
38
+ }($Command));
39
+ export { ListInputRoutingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListInputsRequestFilterSensitiveLog, ListInputsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListInputsCommand, serializeAws_restJson1ListInputsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListInputsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListInputsCommand = (function (_super) {
7
+ __extends(ListInputsCommand, _super);
8
+ function ListInputsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListInputsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListInputsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListInputsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListInputsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListInputsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListInputsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListInputsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListInputsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListInputsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListInputsCommand;
38
+ }($Command));
39
+ export { ListInputsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutLoggingOptionsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutLoggingOptionsCommand, serializeAws_restJson1PutLoggingOptionsCommand, } from "../protocols/Aws_restJson1";
5
- export class PutLoggingOptionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutLoggingOptionsCommand = (function (_super) {
7
+ __extends(PutLoggingOptionsCommand, _super);
8
+ function PutLoggingOptionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutLoggingOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "PutLoggingOptionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "PutLoggingOptionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutLoggingOptionsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutLoggingOptionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutLoggingOptionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutLoggingOptionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutLoggingOptionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutLoggingOptionsCommand;
38
+ }($Command));
39
+ export { PutLoggingOptionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartDetectorModelAnalysisRequestFilterSensitiveLog, StartDetectorModelAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartDetectorModelAnalysisCommand, serializeAws_restJson1StartDetectorModelAnalysisCommand, } from "../protocols/Aws_restJson1";
5
- export class StartDetectorModelAnalysisCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartDetectorModelAnalysisCommand = (function (_super) {
7
+ __extends(StartDetectorModelAnalysisCommand, _super);
8
+ function StartDetectorModelAnalysisCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartDetectorModelAnalysisCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTEventsClient";
15
- const commandName = "StartDetectorModelAnalysisCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTEventsClient";
18
+ var commandName = "StartDetectorModelAnalysisCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartDetectorModelAnalysisRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartDetectorModelAnalysisResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartDetectorModelAnalysisCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartDetectorModelAnalysisCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartDetectorModelAnalysisCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartDetectorModelAnalysisCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartDetectorModelAnalysisCommand;
38
+ }($Command));
39
+ export { StartDetectorModelAnalysisCommand };