@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
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeDataSourcesCommand, se_DescribeDataSourcesCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeDataSourcesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "DescribeDataSourcesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "DescribeDataSources",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeDataSourcesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeDataSourcesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeDataSourcesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "DescribeDataSources", {})
|
|
19
|
+
.n("MachineLearningClient", "DescribeDataSourcesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeDataSourcesCommand)
|
|
22
|
+
.de(de_DescribeDataSourcesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeEvaluationsCommand, se_DescribeEvaluationsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeEvaluationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "DescribeEvaluationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "DescribeEvaluations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeEvaluationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeEvaluationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeEvaluationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "DescribeEvaluations", {})
|
|
19
|
+
.n("MachineLearningClient", "DescribeEvaluationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeEvaluationsCommand)
|
|
22
|
+
.de(de_DescribeEvaluationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeMLModelsCommand, se_DescribeMLModelsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeMLModelsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "DescribeMLModelsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "DescribeMLModels",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeMLModelsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeMLModelsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeMLModelsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "DescribeMLModels", {})
|
|
19
|
+
.n("MachineLearningClient", "DescribeMLModelsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeMLModelsCommand)
|
|
22
|
+
.de(de_DescribeMLModelsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeTagsCommand, se_DescribeTagsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeTagsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "DescribeTagsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "DescribeTags",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeTagsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeTagsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeTagsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "DescribeTags", {})
|
|
19
|
+
.n("MachineLearningClient", "DescribeTagsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeTagsCommand)
|
|
22
|
+
.de(de_DescribeTagsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetBatchPredictionCommand, se_GetBatchPredictionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetBatchPredictionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "GetBatchPredictionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "GetBatchPrediction",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetBatchPredictionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetBatchPredictionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetBatchPredictionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "GetBatchPrediction", {})
|
|
19
|
+
.n("MachineLearningClient", "GetBatchPredictionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetBatchPredictionCommand)
|
|
22
|
+
.de(de_GetBatchPredictionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetDataSourceCommand, se_GetDataSourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetDataSourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "GetDataSourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "GetDataSource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetDataSourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetDataSourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetDataSourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "GetDataSource", {})
|
|
19
|
+
.n("MachineLearningClient", "GetDataSourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetDataSourceCommand)
|
|
22
|
+
.de(de_GetDataSourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetEvaluationCommand, se_GetEvaluationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEvaluationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "GetEvaluationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "GetEvaluation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetEvaluationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEvaluationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEvaluationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "GetEvaluation", {})
|
|
19
|
+
.n("MachineLearningClient", "GetEvaluationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEvaluationCommand)
|
|
22
|
+
.de(de_GetEvaluationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetMLModelCommand, se_GetMLModelCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetMLModelCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MachineLearningClient";
|
|
26
|
-
const commandName = "GetMLModelCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "GetMLModel",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetMLModelCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetMLModelCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetMLModelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonML_20141212", "GetMLModel", {})
|
|
19
|
+
.n("MachineLearningClient", "GetMLModelCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetMLModelCommand)
|
|
22
|
+
.de(de_GetMLModelCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -2,48 +2,25 @@ import { getPredictEndpointPlugin } from "@aws-sdk/middleware-sdk-machinelearnin
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_PredictCommand, se_PredictCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class PredictCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "MachineLearningClient";
|
|
28
|
-
const commandName = "PredictCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AmazonML_20141212",
|
|
37
|
-
operation: "Predict",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_PredictCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_PredictCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class PredictCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getPredictEndpointPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonML_20141212", "Predict", {})
|
|
21
|
+
.n("MachineLearningClient", "PredictCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_PredictCommand)
|
|
24
|
+
.de(de_PredictCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|