@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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/MachineLearning.js +121 -114
- package/dist-es/MachineLearningClient.js +28 -22
- package/dist-es/commands/AddTagsCommand.js +28 -21
- package/dist-es/commands/CreateBatchPredictionCommand.js +28 -21
- package/dist-es/commands/CreateDataSourceFromRDSCommand.js +28 -21
- package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +28 -21
- package/dist-es/commands/CreateDataSourceFromS3Command.js +28 -21
- package/dist-es/commands/CreateEvaluationCommand.js +28 -21
- package/dist-es/commands/CreateMLModelCommand.js +28 -21
- package/dist-es/commands/CreateRealtimeEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteBatchPredictionCommand.js +28 -21
- package/dist-es/commands/DeleteDataSourceCommand.js +28 -21
- package/dist-es/commands/DeleteEvaluationCommand.js +28 -21
- package/dist-es/commands/DeleteMLModelCommand.js +28 -21
- package/dist-es/commands/DeleteRealtimeEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteTagsCommand.js +28 -21
- package/dist-es/commands/DescribeBatchPredictionsCommand.js +28 -21
- package/dist-es/commands/DescribeDataSourcesCommand.js +28 -21
- package/dist-es/commands/DescribeEvaluationsCommand.js +28 -21
- package/dist-es/commands/DescribeMLModelsCommand.js +28 -21
- package/dist-es/commands/DescribeTagsCommand.js +28 -21
- package/dist-es/commands/GetBatchPredictionCommand.js +28 -21
- package/dist-es/commands/GetDataSourceCommand.js +28 -21
- package/dist-es/commands/GetEvaluationCommand.js +28 -21
- package/dist-es/commands/GetMLModelCommand.js +28 -21
- package/dist-es/commands/PredictCommand.js +28 -21
- package/dist-es/commands/UpdateBatchPredictionCommand.js +28 -21
- package/dist-es/commands/UpdateDataSourceCommand.js +28 -21
- package/dist-es/commands/UpdateEvaluationCommand.js +28 -21
- package/dist-es/commands/UpdateMLModelCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MachineLearningServiceException.js +10 -5
- package/dist-es/models/models_0.js +167 -312
- package/dist-es/pagination/DescribeBatchPredictionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDataSourcesPaginator.js +68 -25
- package/dist-es/pagination/DescribeEvaluationsPaginator.js +68 -25
- package/dist-es/pagination/DescribeMLModelsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +2292 -1831
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForBatchPredictionAvailable.js +91 -50
- package/dist-es/waiters/waitForDataSourceAvailable.js +91 -50
- package/dist-es/waiters/waitForEvaluationAvailable.js +91 -50
- package/dist-es/waiters/waitForMLModelAvailable.js +91 -50
- 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 { AddTagsInputFilterSensitiveLog, AddTagsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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 };
|