@aws-sdk/client-lookoutequipment 3.186.0 → 3.188.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 (54) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/LookoutEquipment.js +134 -141
  3. package/dist-es/LookoutEquipmentClient.js +22 -28
  4. package/dist-es/commands/CreateDatasetCommand.js +21 -28
  5. package/dist-es/commands/CreateInferenceSchedulerCommand.js +21 -28
  6. package/dist-es/commands/CreateLabelCommand.js +21 -28
  7. package/dist-es/commands/CreateLabelGroupCommand.js +21 -28
  8. package/dist-es/commands/CreateModelCommand.js +21 -28
  9. package/dist-es/commands/DeleteDatasetCommand.js +22 -29
  10. package/dist-es/commands/DeleteInferenceSchedulerCommand.js +22 -29
  11. package/dist-es/commands/DeleteLabelCommand.js +22 -29
  12. package/dist-es/commands/DeleteLabelGroupCommand.js +22 -29
  13. package/dist-es/commands/DeleteModelCommand.js +22 -29
  14. package/dist-es/commands/DescribeDataIngestionJobCommand.js +21 -28
  15. package/dist-es/commands/DescribeDatasetCommand.js +21 -28
  16. package/dist-es/commands/DescribeInferenceSchedulerCommand.js +21 -28
  17. package/dist-es/commands/DescribeLabelCommand.js +21 -28
  18. package/dist-es/commands/DescribeLabelGroupCommand.js +21 -28
  19. package/dist-es/commands/DescribeModelCommand.js +21 -28
  20. package/dist-es/commands/ListDataIngestionJobsCommand.js +21 -28
  21. package/dist-es/commands/ListDatasetsCommand.js +21 -28
  22. package/dist-es/commands/ListInferenceEventsCommand.js +21 -28
  23. package/dist-es/commands/ListInferenceExecutionsCommand.js +21 -28
  24. package/dist-es/commands/ListInferenceSchedulersCommand.js +21 -28
  25. package/dist-es/commands/ListLabelGroupsCommand.js +21 -28
  26. package/dist-es/commands/ListLabelsCommand.js +21 -28
  27. package/dist-es/commands/ListModelsCommand.js +21 -28
  28. package/dist-es/commands/ListSensorStatisticsCommand.js +21 -28
  29. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  30. package/dist-es/commands/StartDataIngestionJobCommand.js +21 -28
  31. package/dist-es/commands/StartInferenceSchedulerCommand.js +21 -28
  32. package/dist-es/commands/StopInferenceSchedulerCommand.js +21 -28
  33. package/dist-es/commands/TagResourceCommand.js +21 -28
  34. package/dist-es/commands/UntagResourceCommand.js +21 -28
  35. package/dist-es/commands/UpdateInferenceSchedulerCommand.js +22 -29
  36. package/dist-es/commands/UpdateLabelGroupCommand.js +22 -29
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/LookoutEquipmentServiceException.js +5 -10
  39. package/dist-es/models/models_0.js +369 -180
  40. package/dist-es/pagination/ListDataIngestionJobsPaginator.js +25 -68
  41. package/dist-es/pagination/ListDatasetsPaginator.js +25 -68
  42. package/dist-es/pagination/ListInferenceEventsPaginator.js +25 -68
  43. package/dist-es/pagination/ListInferenceExecutionsPaginator.js +25 -68
  44. package/dist-es/pagination/ListInferenceSchedulersPaginator.js +25 -68
  45. package/dist-es/pagination/ListLabelGroupsPaginator.js +25 -68
  46. package/dist-es/pagination/ListLabelsPaginator.js +25 -68
  47. package/dist-es/pagination/ListModelsPaginator.js +25 -68
  48. package/dist-es/pagination/ListSensorStatisticsPaginator.js +25 -68
  49. package/dist-es/protocols/Aws_json1_0.js +2351 -3022
  50. package/dist-es/runtimeConfig.browser.js +26 -12
  51. package/dist-es/runtimeConfig.js +30 -12
  52. package/dist-es/runtimeConfig.native.js +8 -5
  53. package/dist-es/runtimeConfig.shared.js +8 -11
  54. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListInferenceExecutionsRequestFilterSensitiveLog, ListInferenceExecutionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListInferenceExecutionsCommand, serializeAws_json1_0ListInferenceExecutionsCommand, } from "../protocols/Aws_json1_0";
6
- var ListInferenceExecutionsCommand = (function (_super) {
7
- __extends(ListInferenceExecutionsCommand, _super);
8
- function ListInferenceExecutionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListInferenceExecutionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListInferenceExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListInferenceExecutionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListInferenceExecutionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListInferenceExecutionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListInferenceExecutionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListInferenceExecutionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListInferenceExecutionsCommand(input, context);
33
- };
34
- ListInferenceExecutionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListInferenceExecutionsCommand(output, context);
36
- };
37
- return ListInferenceExecutionsCommand;
38
- }($Command));
39
- export { ListInferenceExecutionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListInferenceSchedulersRequestFilterSensitiveLog, ListInferenceSchedulersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListInferenceSchedulersCommand, serializeAws_json1_0ListInferenceSchedulersCommand, } from "../protocols/Aws_json1_0";
6
- var ListInferenceSchedulersCommand = (function (_super) {
7
- __extends(ListInferenceSchedulersCommand, _super);
8
- function ListInferenceSchedulersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListInferenceSchedulersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListInferenceSchedulersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListInferenceSchedulersCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListInferenceSchedulersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListInferenceSchedulersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListInferenceSchedulersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListInferenceSchedulersCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListInferenceSchedulersCommand(input, context);
33
- };
34
- ListInferenceSchedulersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListInferenceSchedulersCommand(output, context);
36
- };
37
- return ListInferenceSchedulersCommand;
38
- }($Command));
39
- export { ListInferenceSchedulersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLabelGroupsRequestFilterSensitiveLog, ListLabelGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListLabelGroupsCommand, serializeAws_json1_0ListLabelGroupsCommand, } from "../protocols/Aws_json1_0";
6
- var ListLabelGroupsCommand = (function (_super) {
7
- __extends(ListLabelGroupsCommand, _super);
8
- function ListLabelGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLabelGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLabelGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListLabelGroupsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListLabelGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLabelGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLabelGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLabelGroupsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListLabelGroupsCommand(input, context);
33
- };
34
- ListLabelGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListLabelGroupsCommand(output, context);
36
- };
37
- return ListLabelGroupsCommand;
38
- }($Command));
39
- export { ListLabelGroupsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLabelsRequestFilterSensitiveLog, ListLabelsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListLabelsCommand, serializeAws_json1_0ListLabelsCommand, } from "../protocols/Aws_json1_0";
6
- var ListLabelsCommand = (function (_super) {
7
- __extends(ListLabelsCommand, _super);
8
- function ListLabelsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLabelsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLabelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListLabelsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListLabelsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLabelsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLabelsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLabelsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListLabelsCommand(input, context);
33
- };
34
- ListLabelsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListLabelsCommand(output, context);
36
- };
37
- return ListLabelsCommand;
38
- }($Command));
39
- export { ListLabelsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListModelsRequestFilterSensitiveLog, ListModelsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListModelsCommand, serializeAws_json1_0ListModelsCommand, } from "../protocols/Aws_json1_0";
6
- var ListModelsCommand = (function (_super) {
7
- __extends(ListModelsCommand, _super);
8
- function ListModelsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListModelsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListModelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListModelsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListModelsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListModelsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListModelsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListModelsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListModelsCommand(input, context);
33
- };
34
- ListModelsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListModelsCommand(output, context);
36
- };
37
- return ListModelsCommand;
38
- }($Command));
39
- export { ListModelsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListSensorStatisticsRequestFilterSensitiveLog, ListSensorStatisticsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListSensorStatisticsCommand, serializeAws_json1_0ListSensorStatisticsCommand, } from "../protocols/Aws_json1_0";
6
- var ListSensorStatisticsCommand = (function (_super) {
7
- __extends(ListSensorStatisticsCommand, _super);
8
- function ListSensorStatisticsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListSensorStatisticsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListSensorStatisticsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListSensorStatisticsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListSensorStatisticsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListSensorStatisticsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListSensorStatisticsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListSensorStatisticsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListSensorStatisticsCommand(input, context);
33
- };
34
- ListSensorStatisticsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListSensorStatisticsCommand(output, context);
36
- };
37
- return ListSensorStatisticsCommand;
38
- }($Command));
39
- export { ListSensorStatisticsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartDataIngestionJobRequestFilterSensitiveLog, StartDataIngestionJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0StartDataIngestionJobCommand, serializeAws_json1_0StartDataIngestionJobCommand, } from "../protocols/Aws_json1_0";
6
- var StartDataIngestionJobCommand = (function (_super) {
7
- __extends(StartDataIngestionJobCommand, _super);
8
- function StartDataIngestionJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartDataIngestionJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartDataIngestionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "StartDataIngestionJobCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "StartDataIngestionJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartDataIngestionJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartDataIngestionJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartDataIngestionJobCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0StartDataIngestionJobCommand(input, context);
33
- };
34
- StartDataIngestionJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0StartDataIngestionJobCommand(output, context);
36
- };
37
- return StartDataIngestionJobCommand;
38
- }($Command));
39
- export { StartDataIngestionJobCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartInferenceSchedulerRequestFilterSensitiveLog, StartInferenceSchedulerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0StartInferenceSchedulerCommand, serializeAws_json1_0StartInferenceSchedulerCommand, } from "../protocols/Aws_json1_0";
6
- var StartInferenceSchedulerCommand = (function (_super) {
7
- __extends(StartInferenceSchedulerCommand, _super);
8
- function StartInferenceSchedulerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartInferenceSchedulerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartInferenceSchedulerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "StartInferenceSchedulerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "StartInferenceSchedulerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartInferenceSchedulerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartInferenceSchedulerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartInferenceSchedulerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0StartInferenceSchedulerCommand(input, context);
33
- };
34
- StartInferenceSchedulerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0StartInferenceSchedulerCommand(output, context);
36
- };
37
- return StartInferenceSchedulerCommand;
38
- }($Command));
39
- export { StartInferenceSchedulerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StopInferenceSchedulerRequestFilterSensitiveLog, StopInferenceSchedulerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0StopInferenceSchedulerCommand, serializeAws_json1_0StopInferenceSchedulerCommand, } from "../protocols/Aws_json1_0";
6
- var StopInferenceSchedulerCommand = (function (_super) {
7
- __extends(StopInferenceSchedulerCommand, _super);
8
- function StopInferenceSchedulerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StopInferenceSchedulerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StopInferenceSchedulerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LookoutEquipmentClient";
18
- var commandName = "StopInferenceSchedulerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LookoutEquipmentClient";
15
+ const commandName = "StopInferenceSchedulerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StopInferenceSchedulerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StopInferenceSchedulerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StopInferenceSchedulerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0StopInferenceSchedulerCommand(input, context);
33
- };
34
- StopInferenceSchedulerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0StopInferenceSchedulerCommand(output, context);
36
- };
37
- return StopInferenceSchedulerCommand;
38
- }($Command));
39
- export { StopInferenceSchedulerCommand };
31
+ }
32
+ }