@aws-sdk/client-machine-learning 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +11 -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 +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddTagsInputFilterSensitiveLog, AddTagsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
5
- export class AddTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddTagsCommand = (function (_super) {
7
+ __extends(AddTagsCommand, _super);
8
+ function AddTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddTagsCommand.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 = "AddTagsCommand";
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 = "AddTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddTagsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddTagsOutputFilterSensitiveLog,
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
+ AddTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddTagsCommand;
38
+ }($Command));
39
+ export { AddTagsCommand };
@@ -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 { CreateBatchPredictionInputFilterSensitiveLog, CreateBatchPredictionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateBatchPredictionCommand, serializeAws_json1_1CreateBatchPredictionCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateBatchPredictionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBatchPredictionCommand = (function (_super) {
7
+ __extends(CreateBatchPredictionCommand, _super);
8
+ function CreateBatchPredictionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBatchPredictionCommand.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 = "CreateBatchPredictionCommand";
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 = "CreateBatchPredictionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBatchPredictionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBatchPredictionOutputFilterSensitiveLog,
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
+ CreateBatchPredictionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateBatchPredictionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBatchPredictionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateBatchPredictionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBatchPredictionCommand;
38
+ }($Command));
39
+ export { CreateBatchPredictionCommand };
@@ -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 { CreateDataSourceFromRDSInputFilterSensitiveLog, CreateDataSourceFromRDSOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDataSourceFromRDSCommand, serializeAws_json1_1CreateDataSourceFromRDSCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDataSourceFromRDSCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataSourceFromRDSCommand = (function (_super) {
7
+ __extends(CreateDataSourceFromRDSCommand, _super);
8
+ function CreateDataSourceFromRDSCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataSourceFromRDSCommand.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 = "CreateDataSourceFromRDSCommand";
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 = "CreateDataSourceFromRDSCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataSourceFromRDSInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataSourceFromRDSOutputFilterSensitiveLog,
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
+ CreateDataSourceFromRDSCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDataSourceFromRDSCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataSourceFromRDSCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDataSourceFromRDSCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataSourceFromRDSCommand;
38
+ }($Command));
39
+ export { CreateDataSourceFromRDSCommand };
@@ -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 { CreateDataSourceFromRedshiftInputFilterSensitiveLog, CreateDataSourceFromRedshiftOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDataSourceFromRedshiftCommand, serializeAws_json1_1CreateDataSourceFromRedshiftCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDataSourceFromRedshiftCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataSourceFromRedshiftCommand = (function (_super) {
7
+ __extends(CreateDataSourceFromRedshiftCommand, _super);
8
+ function CreateDataSourceFromRedshiftCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataSourceFromRedshiftCommand.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 = "CreateDataSourceFromRedshiftCommand";
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 = "CreateDataSourceFromRedshiftCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataSourceFromRedshiftInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataSourceFromRedshiftOutputFilterSensitiveLog,
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
+ CreateDataSourceFromRedshiftCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDataSourceFromRedshiftCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataSourceFromRedshiftCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDataSourceFromRedshiftCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataSourceFromRedshiftCommand;
38
+ }($Command));
39
+ export { CreateDataSourceFromRedshiftCommand };
@@ -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 { CreateDataSourceFromS3InputFilterSensitiveLog, CreateDataSourceFromS3OutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDataSourceFromS3Command, serializeAws_json1_1CreateDataSourceFromS3Command, } from "../protocols/Aws_json1_1";
5
- export class CreateDataSourceFromS3Command extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataSourceFromS3Command = (function (_super) {
7
+ __extends(CreateDataSourceFromS3Command, _super);
8
+ function CreateDataSourceFromS3Command(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataSourceFromS3Command.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 = "CreateDataSourceFromS3Command";
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 = "CreateDataSourceFromS3Command";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataSourceFromS3InputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataSourceFromS3OutputFilterSensitiveLog,
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
+ CreateDataSourceFromS3Command.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDataSourceFromS3Command(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataSourceFromS3Command.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDataSourceFromS3Command(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataSourceFromS3Command;
38
+ }($Command));
39
+ export { CreateDataSourceFromS3Command };
@@ -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 { CreateEvaluationInputFilterSensitiveLog, CreateEvaluationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateEvaluationCommand, serializeAws_json1_1CreateEvaluationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateEvaluationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEvaluationCommand = (function (_super) {
7
+ __extends(CreateEvaluationCommand, _super);
8
+ function CreateEvaluationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEvaluationCommand.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 = "CreateEvaluationCommand";
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 = "CreateEvaluationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEvaluationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEvaluationOutputFilterSensitiveLog,
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
+ CreateEvaluationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateEvaluationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEvaluationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateEvaluationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEvaluationCommand;
38
+ }($Command));
39
+ export { CreateEvaluationCommand };
@@ -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 { CreateMLModelInputFilterSensitiveLog, CreateMLModelOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateMLModelCommand, serializeAws_json1_1CreateMLModelCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateMLModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateMLModelCommand = (function (_super) {
7
+ __extends(CreateMLModelCommand, _super);
8
+ function CreateMLModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMLModelCommand.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 = "CreateMLModelCommand";
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 = "CreateMLModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateMLModelInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMLModelOutputFilterSensitiveLog,
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
+ CreateMLModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateMLModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMLModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateMLModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMLModelCommand;
38
+ }($Command));
39
+ export { CreateMLModelCommand };
@@ -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 { CreateRealtimeEndpointInputFilterSensitiveLog, CreateRealtimeEndpointOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateRealtimeEndpointCommand, serializeAws_json1_1CreateRealtimeEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateRealtimeEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRealtimeEndpointCommand = (function (_super) {
7
+ __extends(CreateRealtimeEndpointCommand, _super);
8
+ function CreateRealtimeEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRealtimeEndpointCommand.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 = "CreateRealtimeEndpointCommand";
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 = "CreateRealtimeEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRealtimeEndpointInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRealtimeEndpointOutputFilterSensitiveLog,
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
+ CreateRealtimeEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateRealtimeEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRealtimeEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateRealtimeEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRealtimeEndpointCommand;
38
+ }($Command));
39
+ export { CreateRealtimeEndpointCommand };
@@ -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 { DeleteBatchPredictionInputFilterSensitiveLog, DeleteBatchPredictionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteBatchPredictionCommand, serializeAws_json1_1DeleteBatchPredictionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteBatchPredictionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBatchPredictionCommand = (function (_super) {
7
+ __extends(DeleteBatchPredictionCommand, _super);
8
+ function DeleteBatchPredictionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBatchPredictionCommand.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 = "DeleteBatchPredictionCommand";
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 = "DeleteBatchPredictionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBatchPredictionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBatchPredictionOutputFilterSensitiveLog,
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
+ DeleteBatchPredictionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteBatchPredictionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBatchPredictionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteBatchPredictionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBatchPredictionCommand;
38
+ }($Command));
39
+ export { DeleteBatchPredictionCommand };
@@ -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 { DeleteDataSourceInputFilterSensitiveLog, DeleteDataSourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDataSourceCommand, serializeAws_json1_1DeleteDataSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDataSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDataSourceCommand = (function (_super) {
7
+ __extends(DeleteDataSourceCommand, _super);
8
+ function DeleteDataSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDataSourceCommand.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 = "DeleteDataSourceCommand";
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 = "DeleteDataSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDataSourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDataSourceOutputFilterSensitiveLog,
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
+ DeleteDataSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDataSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDataSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDataSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDataSourceCommand;
38
+ }($Command));
39
+ export { DeleteDataSourceCommand };