@aws-sdk/client-lookoutequipment 3.180.0 → 3.183.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 (55) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +39 -33
  3. package/dist-es/LookoutEquipment.js +134 -141
  4. package/dist-es/LookoutEquipmentClient.js +22 -28
  5. package/dist-es/commands/CreateDatasetCommand.js +21 -28
  6. package/dist-es/commands/CreateInferenceSchedulerCommand.js +21 -28
  7. package/dist-es/commands/CreateLabelCommand.js +21 -28
  8. package/dist-es/commands/CreateLabelGroupCommand.js +21 -28
  9. package/dist-es/commands/CreateModelCommand.js +21 -28
  10. package/dist-es/commands/DeleteDatasetCommand.js +22 -29
  11. package/dist-es/commands/DeleteInferenceSchedulerCommand.js +22 -29
  12. package/dist-es/commands/DeleteLabelCommand.js +22 -29
  13. package/dist-es/commands/DeleteLabelGroupCommand.js +22 -29
  14. package/dist-es/commands/DeleteModelCommand.js +22 -29
  15. package/dist-es/commands/DescribeDataIngestionJobCommand.js +21 -28
  16. package/dist-es/commands/DescribeDatasetCommand.js +21 -28
  17. package/dist-es/commands/DescribeInferenceSchedulerCommand.js +21 -28
  18. package/dist-es/commands/DescribeLabelCommand.js +21 -28
  19. package/dist-es/commands/DescribeLabelGroupCommand.js +21 -28
  20. package/dist-es/commands/DescribeModelCommand.js +21 -28
  21. package/dist-es/commands/ListDataIngestionJobsCommand.js +21 -28
  22. package/dist-es/commands/ListDatasetsCommand.js +21 -28
  23. package/dist-es/commands/ListInferenceEventsCommand.js +21 -28
  24. package/dist-es/commands/ListInferenceExecutionsCommand.js +21 -28
  25. package/dist-es/commands/ListInferenceSchedulersCommand.js +21 -28
  26. package/dist-es/commands/ListLabelGroupsCommand.js +21 -28
  27. package/dist-es/commands/ListLabelsCommand.js +21 -28
  28. package/dist-es/commands/ListModelsCommand.js +21 -28
  29. package/dist-es/commands/ListSensorStatisticsCommand.js +21 -28
  30. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  31. package/dist-es/commands/StartDataIngestionJobCommand.js +21 -28
  32. package/dist-es/commands/StartInferenceSchedulerCommand.js +21 -28
  33. package/dist-es/commands/StopInferenceSchedulerCommand.js +21 -28
  34. package/dist-es/commands/TagResourceCommand.js +21 -28
  35. package/dist-es/commands/UntagResourceCommand.js +21 -28
  36. package/dist-es/commands/UpdateInferenceSchedulerCommand.js +22 -29
  37. package/dist-es/commands/UpdateLabelGroupCommand.js +22 -29
  38. package/dist-es/endpoints.js +8 -8
  39. package/dist-es/models/LookoutEquipmentServiceException.js +5 -10
  40. package/dist-es/models/models_0.js +369 -180
  41. package/dist-es/pagination/ListDataIngestionJobsPaginator.js +25 -68
  42. package/dist-es/pagination/ListDatasetsPaginator.js +25 -68
  43. package/dist-es/pagination/ListInferenceEventsPaginator.js +25 -68
  44. package/dist-es/pagination/ListInferenceExecutionsPaginator.js +25 -68
  45. package/dist-es/pagination/ListInferenceSchedulersPaginator.js +25 -68
  46. package/dist-es/pagination/ListLabelGroupsPaginator.js +25 -68
  47. package/dist-es/pagination/ListLabelsPaginator.js +25 -68
  48. package/dist-es/pagination/ListModelsPaginator.js +25 -68
  49. package/dist-es/pagination/ListSensorStatisticsPaginator.js +25 -68
  50. package/dist-es/protocols/Aws_json1_0.js +2351 -3009
  51. package/dist-es/runtimeConfig.browser.js +26 -12
  52. package/dist-es/runtimeConfig.js +30 -12
  53. package/dist-es/runtimeConfig.native.js +8 -5
  54. package/dist-es/runtimeConfig.shared.js +8 -11
  55. 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 { DeleteModelRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteModelCommand, serializeAws_json1_0DeleteModelCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteModelCommand = (function (_super) {
7
- __extends(DeleteModelCommand, _super);
8
- function DeleteModelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteModelCommand.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 = "DeleteModelCommand";
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 = "DeleteModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteModelRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteModelCommand.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_0DeleteModelCommand(input, context);
33
- };
34
- DeleteModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteModelCommand(output, context);
36
- };
37
- return DeleteModelCommand;
38
- }($Command));
39
- export { DeleteModelCommand };
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 { DescribeDataIngestionJobRequestFilterSensitiveLog, DescribeDataIngestionJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeDataIngestionJobCommand, serializeAws_json1_0DescribeDataIngestionJobCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeDataIngestionJobCommand = (function (_super) {
7
- __extends(DescribeDataIngestionJobCommand, _super);
8
- function DescribeDataIngestionJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDataIngestionJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDataIngestionJobCommand.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 = "DescribeDataIngestionJobCommand";
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 = "DescribeDataIngestionJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDataIngestionJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDataIngestionJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDataIngestionJobCommand.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_0DescribeDataIngestionJobCommand(input, context);
33
- };
34
- DescribeDataIngestionJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeDataIngestionJobCommand(output, context);
36
- };
37
- return DescribeDataIngestionJobCommand;
38
- }($Command));
39
- export { DescribeDataIngestionJobCommand };
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 { DescribeDatasetRequestFilterSensitiveLog, DescribeDatasetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeDatasetCommand, serializeAws_json1_0DescribeDatasetCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeDatasetCommand = (function (_super) {
7
- __extends(DescribeDatasetCommand, _super);
8
- function DescribeDatasetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDatasetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDatasetCommand.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 = "DescribeDatasetCommand";
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 = "DescribeDatasetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDatasetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDatasetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDatasetCommand.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_0DescribeDatasetCommand(input, context);
33
- };
34
- DescribeDatasetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeDatasetCommand(output, context);
36
- };
37
- return DescribeDatasetCommand;
38
- }($Command));
39
- export { DescribeDatasetCommand };
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 { DescribeInferenceSchedulerRequestFilterSensitiveLog, DescribeInferenceSchedulerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeInferenceSchedulerCommand, serializeAws_json1_0DescribeInferenceSchedulerCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeInferenceSchedulerCommand = (function (_super) {
7
- __extends(DescribeInferenceSchedulerCommand, _super);
8
- function DescribeInferenceSchedulerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeInferenceSchedulerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeInferenceSchedulerCommand.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 = "DescribeInferenceSchedulerCommand";
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 = "DescribeInferenceSchedulerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeInferenceSchedulerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeInferenceSchedulerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeInferenceSchedulerCommand.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_0DescribeInferenceSchedulerCommand(input, context);
33
- };
34
- DescribeInferenceSchedulerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeInferenceSchedulerCommand(output, context);
36
- };
37
- return DescribeInferenceSchedulerCommand;
38
- }($Command));
39
- export { DescribeInferenceSchedulerCommand };
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 { DescribeLabelRequestFilterSensitiveLog, DescribeLabelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeLabelCommand, serializeAws_json1_0DescribeLabelCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeLabelCommand = (function (_super) {
7
- __extends(DescribeLabelCommand, _super);
8
- function DescribeLabelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLabelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLabelCommand.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 = "DescribeLabelCommand";
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 = "DescribeLabelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLabelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLabelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLabelCommand.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_0DescribeLabelCommand(input, context);
33
- };
34
- DescribeLabelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeLabelCommand(output, context);
36
- };
37
- return DescribeLabelCommand;
38
- }($Command));
39
- export { DescribeLabelCommand };
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 { DescribeLabelGroupRequestFilterSensitiveLog, DescribeLabelGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeLabelGroupCommand, serializeAws_json1_0DescribeLabelGroupCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeLabelGroupCommand = (function (_super) {
7
- __extends(DescribeLabelGroupCommand, _super);
8
- function DescribeLabelGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLabelGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLabelGroupCommand.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 = "DescribeLabelGroupCommand";
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 = "DescribeLabelGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLabelGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLabelGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLabelGroupCommand.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_0DescribeLabelGroupCommand(input, context);
33
- };
34
- DescribeLabelGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeLabelGroupCommand(output, context);
36
- };
37
- return DescribeLabelGroupCommand;
38
- }($Command));
39
- export { DescribeLabelGroupCommand };
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 { DescribeModelRequestFilterSensitiveLog, DescribeModelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeModelCommand, serializeAws_json1_0DescribeModelCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeModelCommand = (function (_super) {
7
- __extends(DescribeModelCommand, _super);
8
- function DescribeModelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeModelCommand.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 = "DescribeModelCommand";
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 = "DescribeModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeModelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeModelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeModelCommand.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_0DescribeModelCommand(input, context);
33
- };
34
- DescribeModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeModelCommand(output, context);
36
- };
37
- return DescribeModelCommand;
38
- }($Command));
39
- export { DescribeModelCommand };
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 { ListDataIngestionJobsRequestFilterSensitiveLog, ListDataIngestionJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListDataIngestionJobsCommand, serializeAws_json1_0ListDataIngestionJobsCommand, } from "../protocols/Aws_json1_0";
6
- var ListDataIngestionJobsCommand = (function (_super) {
7
- __extends(ListDataIngestionJobsCommand, _super);
8
- function ListDataIngestionJobsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDataIngestionJobsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDataIngestionJobsCommand.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 = "ListDataIngestionJobsCommand";
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 = "ListDataIngestionJobsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDataIngestionJobsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDataIngestionJobsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDataIngestionJobsCommand.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_0ListDataIngestionJobsCommand(input, context);
33
- };
34
- ListDataIngestionJobsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListDataIngestionJobsCommand(output, context);
36
- };
37
- return ListDataIngestionJobsCommand;
38
- }($Command));
39
- export { ListDataIngestionJobsCommand };
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 { ListDatasetsRequestFilterSensitiveLog, ListDatasetsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListDatasetsCommand, serializeAws_json1_0ListDatasetsCommand, } from "../protocols/Aws_json1_0";
6
- var ListDatasetsCommand = (function (_super) {
7
- __extends(ListDatasetsCommand, _super);
8
- function ListDatasetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDatasetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDatasetsCommand.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 = "ListDatasetsCommand";
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 = "ListDatasetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDatasetsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDatasetsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDatasetsCommand.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_0ListDatasetsCommand(input, context);
33
- };
34
- ListDatasetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListDatasetsCommand(output, context);
36
- };
37
- return ListDatasetsCommand;
38
- }($Command));
39
- export { ListDatasetsCommand };
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 { ListInferenceEventsRequestFilterSensitiveLog, ListInferenceEventsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListInferenceEventsCommand, serializeAws_json1_0ListInferenceEventsCommand, } from "../protocols/Aws_json1_0";
6
- var ListInferenceEventsCommand = (function (_super) {
7
- __extends(ListInferenceEventsCommand, _super);
8
- function ListInferenceEventsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListInferenceEventsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListInferenceEventsCommand.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 = "ListInferenceEventsCommand";
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 = "ListInferenceEventsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListInferenceEventsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListInferenceEventsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListInferenceEventsCommand.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_0ListInferenceEventsCommand(input, context);
33
- };
34
- ListInferenceEventsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListInferenceEventsCommand(output, context);
36
- };
37
- return ListInferenceEventsCommand;
38
- }($Command));
39
- export { ListInferenceEventsCommand };
31
+ }
32
+ }