@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 UpdateMLModelCommand 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 = "UpdateMLModelCommand";
|
|
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: "UpdateMLModel",
|
|
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_UpdateMLModelCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateMLModelCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateMLModelCommand 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", "UpdateMLModel", {})
|
|
22
|
+
.n("MachineLearningClient", "UpdateMLModelCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateMLModelCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateMLModelCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateMLModelCommand = UpdateMLModelCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeBatchPredictions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeBatchPredictionsCommand_1 = require("../commands/DescribeBatchPredictionsCommand");
|
|
5
6
|
const MachineLearningClient_1 = require("../MachineLearningClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeBatchPredictions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MachineLearningClient_1.MachineLearningClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeBatchPredictions = paginateDescribeBatchPredictions;
|
|
7
|
+
exports.paginateDescribeBatchPredictions = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeBatchPredictionsCommand_1.DescribeBatchPredictionsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDataSources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDataSourcesCommand_1 = require("../commands/DescribeDataSourcesCommand");
|
|
5
6
|
const MachineLearningClient_1 = require("../MachineLearningClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDataSourcesCommand_1.DescribeDataSourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDataSources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MachineLearningClient_1.MachineLearningClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDataSources = paginateDescribeDataSources;
|
|
7
|
+
exports.paginateDescribeDataSources = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeDataSourcesCommand_1.DescribeDataSourcesCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvaluations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEvaluationsCommand_1 = require("../commands/DescribeEvaluationsCommand");
|
|
5
6
|
const MachineLearningClient_1 = require("../MachineLearningClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEvaluationsCommand_1.DescribeEvaluationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEvaluations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MachineLearningClient_1.MachineLearningClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEvaluations = paginateDescribeEvaluations;
|
|
7
|
+
exports.paginateDescribeEvaluations = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeEvaluationsCommand_1.DescribeEvaluationsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeMLModels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeMLModelsCommand_1 = require("../commands/DescribeMLModelsCommand");
|
|
5
6
|
const MachineLearningClient_1 = require("../MachineLearningClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeMLModelsCommand_1.DescribeMLModelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeMLModels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MachineLearningClient_1.MachineLearningClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeMLModels = paginateDescribeMLModels;
|
|
7
|
+
exports.paginateDescribeMLModels = (0, core_1.createPaginator)(MachineLearningClient_1.MachineLearningClient, DescribeMLModelsCommand_1.DescribeMLModelsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -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_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AddTagsCommand 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 = "AddTagsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "AddTags",
|
|
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_AddTagsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AddTagsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AddTagsCommand 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", "AddTags", {})
|
|
19
|
+
.n("MachineLearningClient", "AddTagsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AddTagsCommand)
|
|
22
|
+
.de(de_AddTagsCommand)
|
|
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_CreateBatchPredictionCommand, se_CreateBatchPredictionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateBatchPredictionCommand 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 = "CreateBatchPredictionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "CreateBatchPrediction",
|
|
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_CreateBatchPredictionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateBatchPredictionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateBatchPredictionCommand 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", "CreateBatchPrediction", {})
|
|
19
|
+
.n("MachineLearningClient", "CreateBatchPredictionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateBatchPredictionCommand)
|
|
22
|
+
.de(de_CreateBatchPredictionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { CreateDataSourceFromRDSInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateDataSourceFromRDSCommand, se_CreateDataSourceFromRDSCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateDataSourceFromRDSCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "MachineLearningClient";
|
|
27
|
-
const commandName = "CreateDataSourceFromRDSCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateDataSourceFromRDSInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonML_20141212",
|
|
36
|
-
operation: "CreateDataSourceFromRDS",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateDataSourceFromRDSCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateDataSourceFromRDSCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateDataSourceFromRDSCommand 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
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonML_20141212", "CreateDataSourceFromRDS", {})
|
|
20
|
+
.n("MachineLearningClient", "CreateDataSourceFromRDSCommand")
|
|
21
|
+
.f(CreateDataSourceFromRDSInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateDataSourceFromRDSCommand)
|
|
23
|
+
.de(de_CreateDataSourceFromRDSCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { CreateDataSourceFromRedshiftInputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateDataSourceFromRedshiftCommand, se_CreateDataSourceFromRedshiftCommand, } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateDataSourceFromRedshiftCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "MachineLearningClient";
|
|
27
|
-
const commandName = "CreateDataSourceFromRedshiftCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateDataSourceFromRedshiftInputFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonML_20141212",
|
|
36
|
-
operation: "CreateDataSourceFromRedshift",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateDataSourceFromRedshiftCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateDataSourceFromRedshiftCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateDataSourceFromRedshiftCommand 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
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonML_20141212", "CreateDataSourceFromRedshift", {})
|
|
20
|
+
.n("MachineLearningClient", "CreateDataSourceFromRedshiftCommand")
|
|
21
|
+
.f(CreateDataSourceFromRedshiftInputFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateDataSourceFromRedshiftCommand)
|
|
23
|
+
.de(de_CreateDataSourceFromRedshiftCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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_CreateDataSourceFromS3Command, se_CreateDataSourceFromS3Command } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateDataSourceFromS3Command 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 = "CreateDataSourceFromS3Command";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "CreateDataSourceFromS3",
|
|
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_CreateDataSourceFromS3Command(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateDataSourceFromS3Command(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateDataSourceFromS3Command 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", "CreateDataSourceFromS3", {})
|
|
19
|
+
.n("MachineLearningClient", "CreateDataSourceFromS3Command")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateDataSourceFromS3Command)
|
|
22
|
+
.de(de_CreateDataSourceFromS3Command)
|
|
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_CreateEvaluationCommand, se_CreateEvaluationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateEvaluationCommand 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 = "CreateEvaluationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "CreateEvaluation",
|
|
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_CreateEvaluationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateEvaluationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateEvaluationCommand 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", "CreateEvaluation", {})
|
|
19
|
+
.n("MachineLearningClient", "CreateEvaluationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateEvaluationCommand)
|
|
22
|
+
.de(de_CreateEvaluationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|