@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_UpdateBatchPredictionCommand, se_UpdateBatchPredictionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBatchPredictionCommand 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 = "UpdateBatchPredictionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "UpdateBatchPrediction",
|
|
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_UpdateBatchPredictionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBatchPredictionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBatchPredictionCommand 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", "UpdateBatchPrediction", {})
|
|
19
|
+
.n("MachineLearningClient", "UpdateBatchPredictionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBatchPredictionCommand)
|
|
22
|
+
.de(de_UpdateBatchPredictionCommand)
|
|
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_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateDataSourceCommand 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 = "UpdateDataSourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "UpdateDataSource",
|
|
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_UpdateDataSourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateDataSourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateDataSourceCommand 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", "UpdateDataSource", {})
|
|
19
|
+
.n("MachineLearningClient", "UpdateDataSourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateDataSourceCommand)
|
|
22
|
+
.de(de_UpdateDataSourceCommand)
|
|
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_UpdateEvaluationCommand, se_UpdateEvaluationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEvaluationCommand 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 = "UpdateEvaluationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "UpdateEvaluation",
|
|
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_UpdateEvaluationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEvaluationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEvaluationCommand 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", "UpdateEvaluation", {})
|
|
19
|
+
.n("MachineLearningClient", "UpdateEvaluationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEvaluationCommand)
|
|
22
|
+
.de(de_UpdateEvaluationCommand)
|
|
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_UpdateMLModelCommand, se_UpdateMLModelCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateMLModelCommand 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 = "UpdateMLModelCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonML_20141212",
|
|
35
|
-
operation: "UpdateMLModel",
|
|
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_UpdateMLModelCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateMLModelCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateMLModelCommand 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", "UpdateMLModel", {})
|
|
19
|
+
.n("MachineLearningClient", "UpdateMLModelCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateMLModelCommand)
|
|
22
|
+
.de(de_UpdateMLModelCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "machinelearning",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeBatchPredictionsCommand, } from "../commands/DescribeBatchPredictionsCommand";
|
|
2
3
|
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeBatchPredictionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeBatchPredictions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MachineLearningClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeBatchPredictions = createPaginator(MachineLearningClient, DescribeBatchPredictionsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDataSourcesCommand, } from "../commands/DescribeDataSourcesCommand";
|
|
2
3
|
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDataSourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDataSources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MachineLearningClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDataSources = createPaginator(MachineLearningClient, DescribeDataSourcesCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEvaluationsCommand, } from "../commands/DescribeEvaluationsCommand";
|
|
2
3
|
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEvaluationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEvaluations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MachineLearningClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEvaluations = createPaginator(MachineLearningClient, DescribeEvaluationsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeMLModelsCommand, } from "../commands/DescribeMLModelsCommand";
|
|
2
3
|
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeMLModelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeMLModels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MachineLearningClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MachineLearning | MachineLearningClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeMLModels = createPaginator(MachineLearningClient, DescribeMLModelsCommand, "NextToken", "NextToken", "Limit");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
5
4
|
import { AddTagsInput, AddTagsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AddTagsCommandInput extends AddTagsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AddTagsCommand_base: {
|
|
24
|
+
new (input: AddTagsCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key
|
|
@@ -74,23 +77,5 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
74
77
|
* <p>Base exception class for all service exceptions from MachineLearning service.</p>
|
|
75
78
|
*
|
|
76
79
|
*/
|
|
77
|
-
export declare class AddTagsCommand extends
|
|
78
|
-
readonly input: AddTagsCommandInput;
|
|
79
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
constructor(input: AddTagsCommandInput);
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private serialize;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private deserialize;
|
|
80
|
+
export declare class AddTagsCommand extends AddTagsCommand_base {
|
|
96
81
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
5
4
|
import { CreateBatchPredictionInput, CreateBatchPredictionOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateBatchPredictionCommandInput extends CreateBatchPrediction
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateBatchPredictionCommandOutput extends CreateBatchPredictionOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateBatchPredictionCommand_base: {
|
|
24
|
+
new (input: CreateBatchPredictionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBatchPredictionCommandInput, CreateBatchPredictionCommandOutput, MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Generates predictions for a group of observations. The observations to process exist in one or more data files referenced
|
|
@@ -75,23 +78,5 @@ export interface CreateBatchPredictionCommandOutput extends CreateBatchPredictio
|
|
|
75
78
|
* <p>Base exception class for all service exceptions from MachineLearning service.</p>
|
|
76
79
|
*
|
|
77
80
|
*/
|
|
78
|
-
export declare class CreateBatchPredictionCommand extends
|
|
79
|
-
readonly input: CreateBatchPredictionCommandInput;
|
|
80
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
constructor(input: CreateBatchPredictionCommandInput);
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBatchPredictionCommandInput, CreateBatchPredictionCommandOutput>;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private serialize;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private deserialize;
|
|
81
|
+
export declare class CreateBatchPredictionCommand extends CreateBatchPredictionCommand_base {
|
|
97
82
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
5
4
|
import { CreateDataSourceFromRDSInput, CreateDataSourceFromRDSOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateDataSourceFromRDSCommandInput extends CreateDataSourceFro
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFromRDSOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateDataSourceFromRDSCommand_base: {
|
|
24
|
+
new (input: CreateDataSourceFromRDSCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSourceFromRDSCommandInput, CreateDataSourceFromRDSCommandOutput, MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a <code>DataSource</code> object from an <a href="http://aws.amazon.com/rds/"> Amazon Relational Database Service</a> (Amazon RDS). A <code>DataSource</code> references data that can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.</p>
|
|
@@ -95,23 +98,5 @@ export interface CreateDataSourceFromRDSCommandOutput extends CreateDataSourceFr
|
|
|
95
98
|
* <p>Base exception class for all service exceptions from MachineLearning service.</p>
|
|
96
99
|
*
|
|
97
100
|
*/
|
|
98
|
-
export declare class CreateDataSourceFromRDSCommand extends
|
|
99
|
-
readonly input: CreateDataSourceFromRDSCommandInput;
|
|
100
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
-
/**
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
constructor(input: CreateDataSourceFromRDSCommandInput);
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceFromRDSCommandInput, CreateDataSourceFromRDSCommandOutput>;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private serialize;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
private deserialize;
|
|
101
|
+
export declare class CreateDataSourceFromRDSCommand extends CreateDataSourceFromRDSCommand_base {
|
|
117
102
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
5
4
|
import { CreateDataSourceFromRedshiftInput, CreateDataSourceFromRedshiftOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateDataSourceFromRedshiftCommandInput extends CreateDataSour
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateDataSourceFromRedshiftCommandOutput extends CreateDataSourceFromRedshiftOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateDataSourceFromRedshiftCommand_base: {
|
|
24
|
+
new (input: CreateDataSourceFromRedshiftCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSourceFromRedshiftCommandInput, CreateDataSourceFromRedshiftCommandOutput, MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a <code>DataSource</code> from a database hosted on an Amazon Redshift cluster. A
|
|
@@ -110,23 +113,5 @@ export interface CreateDataSourceFromRedshiftCommandOutput extends CreateDataSou
|
|
|
110
113
|
* <p>Base exception class for all service exceptions from MachineLearning service.</p>
|
|
111
114
|
*
|
|
112
115
|
*/
|
|
113
|
-
export declare class CreateDataSourceFromRedshiftCommand extends
|
|
114
|
-
readonly input: CreateDataSourceFromRedshiftCommandInput;
|
|
115
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
116
|
-
/**
|
|
117
|
-
* @public
|
|
118
|
-
*/
|
|
119
|
-
constructor(input: CreateDataSourceFromRedshiftCommandInput);
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceFromRedshiftCommandInput, CreateDataSourceFromRedshiftCommandOutput>;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private serialize;
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
private deserialize;
|
|
116
|
+
export declare class CreateDataSourceFromRedshiftCommand extends CreateDataSourceFromRedshiftCommand_base {
|
|
132
117
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
5
4
|
import { CreateDataSourceFromS3Input, CreateDataSourceFromS3Output } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateDataSourceFromS3CommandInput extends CreateDataSourceFrom
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateDataSourceFromS3CommandOutput extends CreateDataSourceFromS3Output, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateDataSourceFromS3Command_base: {
|
|
24
|
+
new (input: CreateDataSourceFromS3CommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataSourceFromS3CommandInput, CreateDataSourceFromS3CommandOutput, MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a <code>DataSource</code> object. A <code>DataSource</code> references data that
|
|
@@ -98,23 +101,5 @@ export interface CreateDataSourceFromS3CommandOutput extends CreateDataSourceFro
|
|
|
98
101
|
* <p>Base exception class for all service exceptions from MachineLearning service.</p>
|
|
99
102
|
*
|
|
100
103
|
*/
|
|
101
|
-
export declare class CreateDataSourceFromS3Command extends
|
|
102
|
-
readonly input: CreateDataSourceFromS3CommandInput;
|
|
103
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
-
/**
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
constructor(input: CreateDataSourceFromS3CommandInput);
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceFromS3CommandInput, CreateDataSourceFromS3CommandOutput>;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private serialize;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
private deserialize;
|
|
104
|
+
export declare class CreateDataSourceFromS3Command extends CreateDataSourceFromS3Command_base {
|
|
120
105
|
}
|