@aws-sdk/client-machine-learning 3.477.0 → 3.481.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/dist-cjs/commands/AddTagsCommand.js +18 -41
- package/dist-cjs/commands/CreateBatchPredictionCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSourceFromS3Command.js +18 -41
- package/dist-cjs/commands/CreateEvaluationCommand.js +18 -41
- package/dist-cjs/commands/CreateMLModelCommand.js +18 -41
- package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +18 -41
- package/dist-cjs/commands/DeleteBatchPredictionCommand.js +18 -41
- package/dist-cjs/commands/DeleteDataSourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteEvaluationCommand.js +18 -41
- package/dist-cjs/commands/DeleteMLModelCommand.js +18 -41
- package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +18 -41
- package/dist-cjs/commands/DeleteTagsCommand.js +18 -41
- package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDataSourcesCommand.js +18 -41
- package/dist-cjs/commands/DescribeEvaluationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeMLModelsCommand.js +18 -41
- package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
- package/dist-cjs/commands/GetBatchPredictionCommand.js +18 -41
- package/dist-cjs/commands/GetDataSourceCommand.js +18 -41
- package/dist-cjs/commands/GetEvaluationCommand.js +18 -41
- package/dist-cjs/commands/GetMLModelCommand.js +18 -41
- package/dist-cjs/commands/PredictCommand.js +19 -42
- package/dist-cjs/commands/UpdateBatchPredictionCommand.js +18 -41
- package/dist-cjs/commands/UpdateDataSourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateEvaluationCommand.js +18 -41
- package/dist-cjs/commands/UpdateMLModelCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeBatchPredictionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDataSourcesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEvaluationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeMLModelsPaginator.js +2 -24
- package/dist-es/commands/AddTagsCommand.js +18 -41
- package/dist-es/commands/CreateBatchPredictionCommand.js +18 -41
- package/dist-es/commands/CreateDataSourceFromRDSCommand.js +18 -41
- package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +18 -41
- package/dist-es/commands/CreateDataSourceFromS3Command.js +18 -41
- package/dist-es/commands/CreateEvaluationCommand.js +18 -41
- package/dist-es/commands/CreateMLModelCommand.js +18 -41
- package/dist-es/commands/CreateRealtimeEndpointCommand.js +18 -41
- package/dist-es/commands/DeleteBatchPredictionCommand.js +18 -41
- package/dist-es/commands/DeleteDataSourceCommand.js +18 -41
- package/dist-es/commands/DeleteEvaluationCommand.js +18 -41
- package/dist-es/commands/DeleteMLModelCommand.js +18 -41
- package/dist-es/commands/DeleteRealtimeEndpointCommand.js +18 -41
- package/dist-es/commands/DeleteTagsCommand.js +18 -41
- package/dist-es/commands/DescribeBatchPredictionsCommand.js +18 -41
- package/dist-es/commands/DescribeDataSourcesCommand.js +18 -41
- package/dist-es/commands/DescribeEvaluationsCommand.js +18 -41
- package/dist-es/commands/DescribeMLModelsCommand.js +18 -41
- package/dist-es/commands/DescribeTagsCommand.js +18 -41
- package/dist-es/commands/GetBatchPredictionCommand.js +18 -41
- package/dist-es/commands/GetDataSourceCommand.js +18 -41
- package/dist-es/commands/GetEvaluationCommand.js +18 -41
- package/dist-es/commands/GetMLModelCommand.js +18 -41
- package/dist-es/commands/PredictCommand.js +19 -42
- package/dist-es/commands/UpdateBatchPredictionCommand.js +18 -41
- package/dist-es/commands/UpdateDataSourceCommand.js +18 -41
- package/dist-es/commands/UpdateEvaluationCommand.js +18 -41
- package/dist-es/commands/UpdateMLModelCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeBatchPredictionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDataSourcesPaginator.js +2 -23
- package/dist-es/pagination/DescribeEvaluationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeMLModelsPaginator.js +2 -23
- package/dist-types/commands/AddTagsCommand.d.ts +6 -21
- package/dist-types/commands/CreateBatchPredictionCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSourceFromRDSCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSourceFromRedshiftCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSourceFromS3Command.d.ts +6 -21
- package/dist-types/commands/CreateEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/CreateMLModelCommand.d.ts +6 -21
- package/dist-types/commands/CreateRealtimeEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBatchPredictionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMLModelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRealtimeEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTagsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBatchPredictionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDataSourcesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEvaluationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMLModelsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
- package/dist-types/commands/GetBatchPredictionCommand.d.ts +6 -21
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/GetEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/GetMLModelCommand.d.ts +6 -21
- package/dist-types/commands/PredictCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBatchPredictionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMLModelCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMLModelsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PredictCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeBatchPredictionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDataSourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEvaluationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeMLModelsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeTagsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "DescribeTagsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "DescribeTags",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DescribeTagsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeTagsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeTagsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "DescribeTags", {})
|
|
22
|
+
.n("MachineLearningClient", "DescribeTagsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeTagsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeTagsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeTagsCommand = DescribeTagsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetBatchPredictionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "GetBatchPredictionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "GetBatchPrediction",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetBatchPredictionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetBatchPredictionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetBatchPredictionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "GetBatchPrediction", {})
|
|
22
|
+
.n("MachineLearningClient", "GetBatchPredictionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetBatchPredictionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetBatchPredictionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetBatchPredictionCommand = GetBatchPredictionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetDataSourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "GetDataSourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "GetDataSource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetDataSourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetDataSourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetDataSourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "GetDataSource", {})
|
|
22
|
+
.n("MachineLearningClient", "GetDataSourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetDataSourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetDataSourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetDataSourceCommand = GetDataSourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetEvaluationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "GetEvaluationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "GetEvaluation",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetEvaluationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetEvaluationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetEvaluationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "GetEvaluation", {})
|
|
22
|
+
.n("MachineLearningClient", "GetEvaluationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetEvaluationCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetEvaluationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetEvaluationCommand = GetEvaluationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetMLModelCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "GetMLModelCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "GetMLModel",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetMLModelCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetMLModelCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetMLModelCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "GetMLModel", {})
|
|
22
|
+
.n("MachineLearningClient", "GetMLModelCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetMLModelCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetMLModelCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetMLModelCommand = GetMLModelCommand;
|
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class PredictCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "MachineLearningClient";
|
|
31
|
-
const commandName = "PredictCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AmazonML_20141212",
|
|
40
|
-
operation: "Predict",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_PredictCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_PredictCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class PredictCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_sdk_machinelearning_1.getPredictEndpointPlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AmazonML_20141212", "Predict", {})
|
|
24
|
+
.n("MachineLearningClient", "PredictCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_PredictCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_PredictCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.PredictCommand = PredictCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateBatchPredictionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "UpdateBatchPredictionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "UpdateBatchPrediction",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateBatchPredictionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateBatchPredictionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateBatchPredictionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "UpdateBatchPrediction", {})
|
|
22
|
+
.n("MachineLearningClient", "UpdateBatchPredictionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateBatchPredictionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateBatchPredictionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateBatchPredictionCommand = UpdateBatchPredictionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateDataSourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "UpdateDataSourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "UpdateDataSource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateDataSourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateDataSourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateDataSourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "UpdateDataSource", {})
|
|
22
|
+
.n("MachineLearningClient", "UpdateDataSourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateDataSourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateDataSourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateDataSourceCommand = UpdateDataSourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateEvaluationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MachineLearningClient";
|
|
29
|
-
const commandName = "UpdateEvaluationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonML_20141212",
|
|
38
|
-
operation: "UpdateEvaluation",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateEvaluationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateEvaluationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEvaluationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonML_20141212", "UpdateEvaluation", {})
|
|
22
|
+
.n("MachineLearningClient", "UpdateEvaluationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateEvaluationCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateEvaluationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEvaluationCommand = UpdateEvaluationCommand;
|