@aws-sdk/client-machine-learning 3.183.0 → 3.186.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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/MachineLearning.js +121 -114
  4. package/dist-es/MachineLearningClient.js +28 -22
  5. package/dist-es/commands/AddTagsCommand.js +28 -21
  6. package/dist-es/commands/CreateBatchPredictionCommand.js +28 -21
  7. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +28 -21
  8. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +28 -21
  9. package/dist-es/commands/CreateDataSourceFromS3Command.js +28 -21
  10. package/dist-es/commands/CreateEvaluationCommand.js +28 -21
  11. package/dist-es/commands/CreateMLModelCommand.js +28 -21
  12. package/dist-es/commands/CreateRealtimeEndpointCommand.js +28 -21
  13. package/dist-es/commands/DeleteBatchPredictionCommand.js +28 -21
  14. package/dist-es/commands/DeleteDataSourceCommand.js +28 -21
  15. package/dist-es/commands/DeleteEvaluationCommand.js +28 -21
  16. package/dist-es/commands/DeleteMLModelCommand.js +28 -21
  17. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +28 -21
  18. package/dist-es/commands/DeleteTagsCommand.js +28 -21
  19. package/dist-es/commands/DescribeBatchPredictionsCommand.js +28 -21
  20. package/dist-es/commands/DescribeDataSourcesCommand.js +28 -21
  21. package/dist-es/commands/DescribeEvaluationsCommand.js +28 -21
  22. package/dist-es/commands/DescribeMLModelsCommand.js +28 -21
  23. package/dist-es/commands/DescribeTagsCommand.js +28 -21
  24. package/dist-es/commands/GetBatchPredictionCommand.js +28 -21
  25. package/dist-es/commands/GetDataSourceCommand.js +28 -21
  26. package/dist-es/commands/GetEvaluationCommand.js +28 -21
  27. package/dist-es/commands/GetMLModelCommand.js +28 -21
  28. package/dist-es/commands/PredictCommand.js +28 -21
  29. package/dist-es/commands/UpdateBatchPredictionCommand.js +28 -21
  30. package/dist-es/commands/UpdateDataSourceCommand.js +28 -21
  31. package/dist-es/commands/UpdateEvaluationCommand.js +28 -21
  32. package/dist-es/commands/UpdateMLModelCommand.js +28 -21
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/MachineLearningServiceException.js +10 -5
  35. package/dist-es/models/models_0.js +167 -312
  36. package/dist-es/pagination/DescribeBatchPredictionsPaginator.js +68 -25
  37. package/dist-es/pagination/DescribeDataSourcesPaginator.js +68 -25
  38. package/dist-es/pagination/DescribeEvaluationsPaginator.js +68 -25
  39. package/dist-es/pagination/DescribeMLModelsPaginator.js +68 -25
  40. package/dist-es/protocols/Aws_json1_1.js +2292 -1831
  41. package/dist-es/runtimeConfig.browser.js +12 -26
  42. package/dist-es/runtimeConfig.js +12 -30
  43. package/dist-es/runtimeConfig.native.js +5 -8
  44. package/dist-es/runtimeConfig.shared.js +11 -8
  45. package/dist-es/waiters/waitForBatchPredictionAvailable.js +91 -50
  46. package/dist-es/waiters/waitForDataSourceAvailable.js +91 -50
  47. package/dist-es/waiters/waitForEvaluationAvailable.js +91 -50
  48. package/dist-es/waiters/waitForMLModelAvailable.js +91 -50
  49. package/package.json +35 -35
@@ -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 { DeleteEvaluationInputFilterSensitiveLog, DeleteEvaluationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEvaluationCommand, serializeAws_json1_1DeleteEvaluationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEvaluationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEvaluationCommand = (function (_super) {
7
+ __extends(DeleteEvaluationCommand, _super);
8
+ function DeleteEvaluationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEvaluationCommand.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 = "MachineLearningClient";
15
- const commandName = "DeleteEvaluationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DeleteEvaluationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEvaluationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEvaluationOutputFilterSensitiveLog,
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
+ DeleteEvaluationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEvaluationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEvaluationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEvaluationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEvaluationCommand;
38
+ }($Command));
39
+ export { DeleteEvaluationCommand };
@@ -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 { DeleteMLModelInputFilterSensitiveLog, DeleteMLModelOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteMLModelCommand, serializeAws_json1_1DeleteMLModelCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteMLModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteMLModelCommand = (function (_super) {
7
+ __extends(DeleteMLModelCommand, _super);
8
+ function DeleteMLModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteMLModelCommand.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 = "MachineLearningClient";
15
- const commandName = "DeleteMLModelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DeleteMLModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteMLModelInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteMLModelOutputFilterSensitiveLog,
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
+ DeleteMLModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteMLModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteMLModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteMLModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteMLModelCommand;
38
+ }($Command));
39
+ export { DeleteMLModelCommand };
@@ -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 { DeleteRealtimeEndpointInputFilterSensitiveLog, DeleteRealtimeEndpointOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteRealtimeEndpointCommand, serializeAws_json1_1DeleteRealtimeEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteRealtimeEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRealtimeEndpointCommand = (function (_super) {
7
+ __extends(DeleteRealtimeEndpointCommand, _super);
8
+ function DeleteRealtimeEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRealtimeEndpointCommand.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 = "MachineLearningClient";
15
- const commandName = "DeleteRealtimeEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DeleteRealtimeEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRealtimeEndpointInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteRealtimeEndpointOutputFilterSensitiveLog,
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
+ DeleteRealtimeEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteRealtimeEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRealtimeEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteRealtimeEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRealtimeEndpointCommand;
38
+ }($Command));
39
+ export { DeleteRealtimeEndpointCommand };
@@ -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 { DeleteTagsInputFilterSensitiveLog, DeleteTagsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteTagsCommand, serializeAws_json1_1DeleteTagsCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTagsCommand = (function (_super) {
7
+ __extends(DeleteTagsCommand, _super);
8
+ function DeleteTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTagsCommand.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 = "MachineLearningClient";
15
- const commandName = "DeleteTagsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DeleteTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTagsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTagsOutputFilterSensitiveLog,
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
+ DeleteTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTagsCommand;
38
+ }($Command));
39
+ export { DeleteTagsCommand };
@@ -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 { DescribeBatchPredictionsInputFilterSensitiveLog, DescribeBatchPredictionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeBatchPredictionsCommand, serializeAws_json1_1DescribeBatchPredictionsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeBatchPredictionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeBatchPredictionsCommand = (function (_super) {
7
+ __extends(DescribeBatchPredictionsCommand, _super);
8
+ function DescribeBatchPredictionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeBatchPredictionsCommand.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 = "MachineLearningClient";
15
- const commandName = "DescribeBatchPredictionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DescribeBatchPredictionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeBatchPredictionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeBatchPredictionsOutputFilterSensitiveLog,
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
+ DescribeBatchPredictionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeBatchPredictionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeBatchPredictionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeBatchPredictionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeBatchPredictionsCommand;
38
+ }($Command));
39
+ export { DescribeBatchPredictionsCommand };
@@ -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 { DescribeDataSourcesInputFilterSensitiveLog, DescribeDataSourcesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeDataSourcesCommand, serializeAws_json1_1DescribeDataSourcesCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeDataSourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDataSourcesCommand = (function (_super) {
7
+ __extends(DescribeDataSourcesCommand, _super);
8
+ function DescribeDataSourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDataSourcesCommand.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 = "MachineLearningClient";
15
- const commandName = "DescribeDataSourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DescribeDataSourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDataSourcesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDataSourcesOutputFilterSensitiveLog,
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
+ DescribeDataSourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeDataSourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDataSourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeDataSourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDataSourcesCommand;
38
+ }($Command));
39
+ export { DescribeDataSourcesCommand };
@@ -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 { DescribeEvaluationsInputFilterSensitiveLog, DescribeEvaluationsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEvaluationsCommand, serializeAws_json1_1DescribeEvaluationsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEvaluationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEvaluationsCommand = (function (_super) {
7
+ __extends(DescribeEvaluationsCommand, _super);
8
+ function DescribeEvaluationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEvaluationsCommand.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 = "MachineLearningClient";
15
- const commandName = "DescribeEvaluationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DescribeEvaluationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEvaluationsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEvaluationsOutputFilterSensitiveLog,
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
+ DescribeEvaluationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEvaluationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEvaluationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEvaluationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEvaluationsCommand;
38
+ }($Command));
39
+ export { DescribeEvaluationsCommand };
@@ -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 { DescribeMLModelsInputFilterSensitiveLog, DescribeMLModelsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeMLModelsCommand, serializeAws_json1_1DescribeMLModelsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeMLModelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeMLModelsCommand = (function (_super) {
7
+ __extends(DescribeMLModelsCommand, _super);
8
+ function DescribeMLModelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeMLModelsCommand.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 = "MachineLearningClient";
15
- const commandName = "DescribeMLModelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DescribeMLModelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeMLModelsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeMLModelsOutputFilterSensitiveLog,
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
+ DescribeMLModelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeMLModelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeMLModelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeMLModelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeMLModelsCommand;
38
+ }($Command));
39
+ export { DescribeMLModelsCommand };
@@ -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 { DescribeTagsInputFilterSensitiveLog, DescribeTagsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeTagsCommand, serializeAws_json1_1DescribeTagsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeTagsCommand = (function (_super) {
7
+ __extends(DescribeTagsCommand, _super);
8
+ function DescribeTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeTagsCommand.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 = "MachineLearningClient";
15
- const commandName = "DescribeTagsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "DescribeTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeTagsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeTagsOutputFilterSensitiveLog,
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
+ DescribeTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeTagsCommand;
38
+ }($Command));
39
+ export { DescribeTagsCommand };
@@ -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 { GetBatchPredictionInputFilterSensitiveLog, GetBatchPredictionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetBatchPredictionCommand, serializeAws_json1_1GetBatchPredictionCommand, } from "../protocols/Aws_json1_1";
5
- export class GetBatchPredictionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBatchPredictionCommand = (function (_super) {
7
+ __extends(GetBatchPredictionCommand, _super);
8
+ function GetBatchPredictionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBatchPredictionCommand.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 = "MachineLearningClient";
15
- const commandName = "GetBatchPredictionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MachineLearningClient";
18
+ var commandName = "GetBatchPredictionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBatchPredictionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBatchPredictionOutputFilterSensitiveLog,
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
+ GetBatchPredictionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetBatchPredictionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBatchPredictionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetBatchPredictionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBatchPredictionCommand;
38
+ }($Command));
39
+ export { GetBatchPredictionCommand };