@aws-sdk/client-machine-learning 3.1137.0 → 3.1138.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/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1137.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -463,10 +463,10 @@ const _pV = "predictedValue";
|
|
|
463
463
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning";
|
|
464
464
|
const _se = "server";
|
|
465
465
|
const n0 = "com.amazonaws.machinelearning";
|
|
466
|
-
const _s_registry = TypeRegistry
|
|
466
|
+
const _s_registry = new TypeRegistry(_s);
|
|
467
467
|
var MachineLearningServiceException$ = [-3, _s, "MachineLearningServiceException", 0, [], []];
|
|
468
468
|
_s_registry.registerError(MachineLearningServiceException$, MachineLearningServiceException);
|
|
469
|
-
const n0_registry = TypeRegistry
|
|
469
|
+
const n0_registry = new TypeRegistry(n0);
|
|
470
470
|
var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
|
|
471
471
|
{ [_e]: _c, [_hE]: 400 },
|
|
472
472
|
[_m, _co],
|
|
@@ -218,10 +218,10 @@ const n0 = "com.amazonaws.machinelearning";
|
|
|
218
218
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
219
219
|
import { IdempotentParameterMismatchException, InternalServerException, InvalidInputException, InvalidTagException, LimitExceededException, PredictorNotMountedException, ResourceNotFoundException, TagLimitExceededException, } from "../models/errors";
|
|
220
220
|
import { MachineLearningServiceException } from "../models/MachineLearningServiceException";
|
|
221
|
-
const _s_registry = TypeRegistry
|
|
221
|
+
const _s_registry = new TypeRegistry(_s);
|
|
222
222
|
export var MachineLearningServiceException$ = [-3, _s, "MachineLearningServiceException", 0, [], []];
|
|
223
223
|
_s_registry.registerError(MachineLearningServiceException$, MachineLearningServiceException);
|
|
224
|
-
const n0_registry = TypeRegistry
|
|
224
|
+
const n0_registry = new TypeRegistry(n0);
|
|
225
225
|
export var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
|
|
226
226
|
{ [_e]: _c, [_hE]: 400 },
|
|
227
227
|
[_m, _co],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
3
|
import { type AddTagsCommandInput, type AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
4
4
|
import { type CreateBatchPredictionCommandInput, type CreateBatchPredictionCommandOutput } from "./commands/CreateBatchPredictionCommand";
|
|
5
5
|
import { type CreateDataSourceFromRDSCommandInput, type CreateDataSourceFromRDSCommandOutput } from "./commands/CreateDataSourceFromRDSCommand";
|
|
@@ -29,179 +29,185 @@ import { type UpdateDataSourceCommandInput, type UpdateDataSourceCommandOutput }
|
|
|
29
29
|
import { type UpdateEvaluationCommandInput, type UpdateEvaluationCommandOutput } from "./commands/UpdateEvaluationCommand";
|
|
30
30
|
import { type UpdateMLModelCommandInput, type UpdateMLModelCommandOutput } from "./commands/UpdateMLModelCommand";
|
|
31
31
|
import { MachineLearningClient } from "./MachineLearningClient";
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface MachineLearningRequestOptions extends __HttpHandlerOptions {
|
|
36
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
37
|
+
}
|
|
32
38
|
export interface MachineLearning {
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link AddTagsCommand}
|
|
35
41
|
*/
|
|
36
|
-
addTags(args: AddTagsCommandInput, options?:
|
|
42
|
+
addTags(args: AddTagsCommandInput, options?: MachineLearningRequestOptions): Promise<AddTagsCommandOutput>;
|
|
37
43
|
addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
38
|
-
addTags(args: AddTagsCommandInput, options:
|
|
44
|
+
addTags(args: AddTagsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link CreateBatchPredictionCommand}
|
|
41
47
|
*/
|
|
42
|
-
createBatchPrediction(args: CreateBatchPredictionCommandInput, options?:
|
|
48
|
+
createBatchPrediction(args: CreateBatchPredictionCommandInput, options?: MachineLearningRequestOptions): Promise<CreateBatchPredictionCommandOutput>;
|
|
43
49
|
createBatchPrediction(args: CreateBatchPredictionCommandInput, cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void): void;
|
|
44
|
-
createBatchPrediction(args: CreateBatchPredictionCommandInput, options:
|
|
50
|
+
createBatchPrediction(args: CreateBatchPredictionCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link CreateDataSourceFromRDSCommand}
|
|
47
53
|
*/
|
|
48
|
-
createDataSourceFromRDS(args: CreateDataSourceFromRDSCommandInput, options?:
|
|
54
|
+
createDataSourceFromRDS(args: CreateDataSourceFromRDSCommandInput, options?: MachineLearningRequestOptions): Promise<CreateDataSourceFromRDSCommandOutput>;
|
|
49
55
|
createDataSourceFromRDS(args: CreateDataSourceFromRDSCommandInput, cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void): void;
|
|
50
|
-
createDataSourceFromRDS(args: CreateDataSourceFromRDSCommandInput, options:
|
|
56
|
+
createDataSourceFromRDS(args: CreateDataSourceFromRDSCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link CreateDataSourceFromRedshiftCommand}
|
|
53
59
|
*/
|
|
54
|
-
createDataSourceFromRedshift(args: CreateDataSourceFromRedshiftCommandInput, options?:
|
|
60
|
+
createDataSourceFromRedshift(args: CreateDataSourceFromRedshiftCommandInput, options?: MachineLearningRequestOptions): Promise<CreateDataSourceFromRedshiftCommandOutput>;
|
|
55
61
|
createDataSourceFromRedshift(args: CreateDataSourceFromRedshiftCommandInput, cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void): void;
|
|
56
|
-
createDataSourceFromRedshift(args: CreateDataSourceFromRedshiftCommandInput, options:
|
|
62
|
+
createDataSourceFromRedshift(args: CreateDataSourceFromRedshiftCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link CreateDataSourceFromS3Command}
|
|
59
65
|
*/
|
|
60
|
-
createDataSourceFromS3(args: CreateDataSourceFromS3CommandInput, options?:
|
|
66
|
+
createDataSourceFromS3(args: CreateDataSourceFromS3CommandInput, options?: MachineLearningRequestOptions): Promise<CreateDataSourceFromS3CommandOutput>;
|
|
61
67
|
createDataSourceFromS3(args: CreateDataSourceFromS3CommandInput, cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void): void;
|
|
62
|
-
createDataSourceFromS3(args: CreateDataSourceFromS3CommandInput, options:
|
|
68
|
+
createDataSourceFromS3(args: CreateDataSourceFromS3CommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void): void;
|
|
63
69
|
/**
|
|
64
70
|
* @see {@link CreateEvaluationCommand}
|
|
65
71
|
*/
|
|
66
|
-
createEvaluation(args: CreateEvaluationCommandInput, options?:
|
|
72
|
+
createEvaluation(args: CreateEvaluationCommandInput, options?: MachineLearningRequestOptions): Promise<CreateEvaluationCommandOutput>;
|
|
67
73
|
createEvaluation(args: CreateEvaluationCommandInput, cb: (err: any, data?: CreateEvaluationCommandOutput) => void): void;
|
|
68
|
-
createEvaluation(args: CreateEvaluationCommandInput, options:
|
|
74
|
+
createEvaluation(args: CreateEvaluationCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateEvaluationCommandOutput) => void): void;
|
|
69
75
|
/**
|
|
70
76
|
* @see {@link CreateMLModelCommand}
|
|
71
77
|
*/
|
|
72
|
-
createMLModel(args: CreateMLModelCommandInput, options?:
|
|
78
|
+
createMLModel(args: CreateMLModelCommandInput, options?: MachineLearningRequestOptions): Promise<CreateMLModelCommandOutput>;
|
|
73
79
|
createMLModel(args: CreateMLModelCommandInput, cb: (err: any, data?: CreateMLModelCommandOutput) => void): void;
|
|
74
|
-
createMLModel(args: CreateMLModelCommandInput, options:
|
|
80
|
+
createMLModel(args: CreateMLModelCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateMLModelCommandOutput) => void): void;
|
|
75
81
|
/**
|
|
76
82
|
* @see {@link CreateRealtimeEndpointCommand}
|
|
77
83
|
*/
|
|
78
|
-
createRealtimeEndpoint(args: CreateRealtimeEndpointCommandInput, options?:
|
|
84
|
+
createRealtimeEndpoint(args: CreateRealtimeEndpointCommandInput, options?: MachineLearningRequestOptions): Promise<CreateRealtimeEndpointCommandOutput>;
|
|
79
85
|
createRealtimeEndpoint(args: CreateRealtimeEndpointCommandInput, cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void): void;
|
|
80
|
-
createRealtimeEndpoint(args: CreateRealtimeEndpointCommandInput, options:
|
|
86
|
+
createRealtimeEndpoint(args: CreateRealtimeEndpointCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void): void;
|
|
81
87
|
/**
|
|
82
88
|
* @see {@link DeleteBatchPredictionCommand}
|
|
83
89
|
*/
|
|
84
|
-
deleteBatchPrediction(args: DeleteBatchPredictionCommandInput, options?:
|
|
90
|
+
deleteBatchPrediction(args: DeleteBatchPredictionCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteBatchPredictionCommandOutput>;
|
|
85
91
|
deleteBatchPrediction(args: DeleteBatchPredictionCommandInput, cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void): void;
|
|
86
|
-
deleteBatchPrediction(args: DeleteBatchPredictionCommandInput, options:
|
|
92
|
+
deleteBatchPrediction(args: DeleteBatchPredictionCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void): void;
|
|
87
93
|
/**
|
|
88
94
|
* @see {@link DeleteDataSourceCommand}
|
|
89
95
|
*/
|
|
90
|
-
deleteDataSource(args: DeleteDataSourceCommandInput, options?:
|
|
96
|
+
deleteDataSource(args: DeleteDataSourceCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
91
97
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
92
|
-
deleteDataSource(args: DeleteDataSourceCommandInput, options:
|
|
98
|
+
deleteDataSource(args: DeleteDataSourceCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
93
99
|
/**
|
|
94
100
|
* @see {@link DeleteEvaluationCommand}
|
|
95
101
|
*/
|
|
96
|
-
deleteEvaluation(args: DeleteEvaluationCommandInput, options?:
|
|
102
|
+
deleteEvaluation(args: DeleteEvaluationCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteEvaluationCommandOutput>;
|
|
97
103
|
deleteEvaluation(args: DeleteEvaluationCommandInput, cb: (err: any, data?: DeleteEvaluationCommandOutput) => void): void;
|
|
98
|
-
deleteEvaluation(args: DeleteEvaluationCommandInput, options:
|
|
104
|
+
deleteEvaluation(args: DeleteEvaluationCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteEvaluationCommandOutput) => void): void;
|
|
99
105
|
/**
|
|
100
106
|
* @see {@link DeleteMLModelCommand}
|
|
101
107
|
*/
|
|
102
|
-
deleteMLModel(args: DeleteMLModelCommandInput, options?:
|
|
108
|
+
deleteMLModel(args: DeleteMLModelCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteMLModelCommandOutput>;
|
|
103
109
|
deleteMLModel(args: DeleteMLModelCommandInput, cb: (err: any, data?: DeleteMLModelCommandOutput) => void): void;
|
|
104
|
-
deleteMLModel(args: DeleteMLModelCommandInput, options:
|
|
110
|
+
deleteMLModel(args: DeleteMLModelCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteMLModelCommandOutput) => void): void;
|
|
105
111
|
/**
|
|
106
112
|
* @see {@link DeleteRealtimeEndpointCommand}
|
|
107
113
|
*/
|
|
108
|
-
deleteRealtimeEndpoint(args: DeleteRealtimeEndpointCommandInput, options?:
|
|
114
|
+
deleteRealtimeEndpoint(args: DeleteRealtimeEndpointCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteRealtimeEndpointCommandOutput>;
|
|
109
115
|
deleteRealtimeEndpoint(args: DeleteRealtimeEndpointCommandInput, cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void): void;
|
|
110
|
-
deleteRealtimeEndpoint(args: DeleteRealtimeEndpointCommandInput, options:
|
|
116
|
+
deleteRealtimeEndpoint(args: DeleteRealtimeEndpointCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void): void;
|
|
111
117
|
/**
|
|
112
118
|
* @see {@link DeleteTagsCommand}
|
|
113
119
|
*/
|
|
114
|
-
deleteTags(args: DeleteTagsCommandInput, options?:
|
|
120
|
+
deleteTags(args: DeleteTagsCommandInput, options?: MachineLearningRequestOptions): Promise<DeleteTagsCommandOutput>;
|
|
115
121
|
deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
|
|
116
|
-
deleteTags(args: DeleteTagsCommandInput, options:
|
|
122
|
+
deleteTags(args: DeleteTagsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
|
|
117
123
|
/**
|
|
118
124
|
* @see {@link DescribeBatchPredictionsCommand}
|
|
119
125
|
*/
|
|
120
126
|
describeBatchPredictions(): Promise<DescribeBatchPredictionsCommandOutput>;
|
|
121
|
-
describeBatchPredictions(args: DescribeBatchPredictionsCommandInput, options?:
|
|
127
|
+
describeBatchPredictions(args: DescribeBatchPredictionsCommandInput, options?: MachineLearningRequestOptions): Promise<DescribeBatchPredictionsCommandOutput>;
|
|
122
128
|
describeBatchPredictions(args: DescribeBatchPredictionsCommandInput, cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void): void;
|
|
123
|
-
describeBatchPredictions(args: DescribeBatchPredictionsCommandInput, options:
|
|
129
|
+
describeBatchPredictions(args: DescribeBatchPredictionsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void): void;
|
|
124
130
|
/**
|
|
125
131
|
* @see {@link DescribeDataSourcesCommand}
|
|
126
132
|
*/
|
|
127
133
|
describeDataSources(): Promise<DescribeDataSourcesCommandOutput>;
|
|
128
|
-
describeDataSources(args: DescribeDataSourcesCommandInput, options?:
|
|
134
|
+
describeDataSources(args: DescribeDataSourcesCommandInput, options?: MachineLearningRequestOptions): Promise<DescribeDataSourcesCommandOutput>;
|
|
129
135
|
describeDataSources(args: DescribeDataSourcesCommandInput, cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void): void;
|
|
130
|
-
describeDataSources(args: DescribeDataSourcesCommandInput, options:
|
|
136
|
+
describeDataSources(args: DescribeDataSourcesCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void): void;
|
|
131
137
|
/**
|
|
132
138
|
* @see {@link DescribeEvaluationsCommand}
|
|
133
139
|
*/
|
|
134
140
|
describeEvaluations(): Promise<DescribeEvaluationsCommandOutput>;
|
|
135
|
-
describeEvaluations(args: DescribeEvaluationsCommandInput, options?:
|
|
141
|
+
describeEvaluations(args: DescribeEvaluationsCommandInput, options?: MachineLearningRequestOptions): Promise<DescribeEvaluationsCommandOutput>;
|
|
136
142
|
describeEvaluations(args: DescribeEvaluationsCommandInput, cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void): void;
|
|
137
|
-
describeEvaluations(args: DescribeEvaluationsCommandInput, options:
|
|
143
|
+
describeEvaluations(args: DescribeEvaluationsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void): void;
|
|
138
144
|
/**
|
|
139
145
|
* @see {@link DescribeMLModelsCommand}
|
|
140
146
|
*/
|
|
141
147
|
describeMLModels(): Promise<DescribeMLModelsCommandOutput>;
|
|
142
|
-
describeMLModels(args: DescribeMLModelsCommandInput, options?:
|
|
148
|
+
describeMLModels(args: DescribeMLModelsCommandInput, options?: MachineLearningRequestOptions): Promise<DescribeMLModelsCommandOutput>;
|
|
143
149
|
describeMLModels(args: DescribeMLModelsCommandInput, cb: (err: any, data?: DescribeMLModelsCommandOutput) => void): void;
|
|
144
|
-
describeMLModels(args: DescribeMLModelsCommandInput, options:
|
|
150
|
+
describeMLModels(args: DescribeMLModelsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DescribeMLModelsCommandOutput) => void): void;
|
|
145
151
|
/**
|
|
146
152
|
* @see {@link DescribeTagsCommand}
|
|
147
153
|
*/
|
|
148
|
-
describeTags(args: DescribeTagsCommandInput, options?:
|
|
154
|
+
describeTags(args: DescribeTagsCommandInput, options?: MachineLearningRequestOptions): Promise<DescribeTagsCommandOutput>;
|
|
149
155
|
describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
150
|
-
describeTags(args: DescribeTagsCommandInput, options:
|
|
156
|
+
describeTags(args: DescribeTagsCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
151
157
|
/**
|
|
152
158
|
* @see {@link GetBatchPredictionCommand}
|
|
153
159
|
*/
|
|
154
|
-
getBatchPrediction(args: GetBatchPredictionCommandInput, options?:
|
|
160
|
+
getBatchPrediction(args: GetBatchPredictionCommandInput, options?: MachineLearningRequestOptions): Promise<GetBatchPredictionCommandOutput>;
|
|
155
161
|
getBatchPrediction(args: GetBatchPredictionCommandInput, cb: (err: any, data?: GetBatchPredictionCommandOutput) => void): void;
|
|
156
|
-
getBatchPrediction(args: GetBatchPredictionCommandInput, options:
|
|
162
|
+
getBatchPrediction(args: GetBatchPredictionCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: GetBatchPredictionCommandOutput) => void): void;
|
|
157
163
|
/**
|
|
158
164
|
* @see {@link GetDataSourceCommand}
|
|
159
165
|
*/
|
|
160
|
-
getDataSource(args: GetDataSourceCommandInput, options?:
|
|
166
|
+
getDataSource(args: GetDataSourceCommandInput, options?: MachineLearningRequestOptions): Promise<GetDataSourceCommandOutput>;
|
|
161
167
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
162
|
-
getDataSource(args: GetDataSourceCommandInput, options:
|
|
168
|
+
getDataSource(args: GetDataSourceCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
163
169
|
/**
|
|
164
170
|
* @see {@link GetEvaluationCommand}
|
|
165
171
|
*/
|
|
166
|
-
getEvaluation(args: GetEvaluationCommandInput, options?:
|
|
172
|
+
getEvaluation(args: GetEvaluationCommandInput, options?: MachineLearningRequestOptions): Promise<GetEvaluationCommandOutput>;
|
|
167
173
|
getEvaluation(args: GetEvaluationCommandInput, cb: (err: any, data?: GetEvaluationCommandOutput) => void): void;
|
|
168
|
-
getEvaluation(args: GetEvaluationCommandInput, options:
|
|
174
|
+
getEvaluation(args: GetEvaluationCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: GetEvaluationCommandOutput) => void): void;
|
|
169
175
|
/**
|
|
170
176
|
* @see {@link GetMLModelCommand}
|
|
171
177
|
*/
|
|
172
|
-
getMLModel(args: GetMLModelCommandInput, options?:
|
|
178
|
+
getMLModel(args: GetMLModelCommandInput, options?: MachineLearningRequestOptions): Promise<GetMLModelCommandOutput>;
|
|
173
179
|
getMLModel(args: GetMLModelCommandInput, cb: (err: any, data?: GetMLModelCommandOutput) => void): void;
|
|
174
|
-
getMLModel(args: GetMLModelCommandInput, options:
|
|
180
|
+
getMLModel(args: GetMLModelCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: GetMLModelCommandOutput) => void): void;
|
|
175
181
|
/**
|
|
176
182
|
* @see {@link PredictCommand}
|
|
177
183
|
*/
|
|
178
|
-
predict(args: PredictCommandInput, options?:
|
|
184
|
+
predict(args: PredictCommandInput, options?: MachineLearningRequestOptions): Promise<PredictCommandOutput>;
|
|
179
185
|
predict(args: PredictCommandInput, cb: (err: any, data?: PredictCommandOutput) => void): void;
|
|
180
|
-
predict(args: PredictCommandInput, options:
|
|
186
|
+
predict(args: PredictCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: PredictCommandOutput) => void): void;
|
|
181
187
|
/**
|
|
182
188
|
* @see {@link UpdateBatchPredictionCommand}
|
|
183
189
|
*/
|
|
184
|
-
updateBatchPrediction(args: UpdateBatchPredictionCommandInput, options?:
|
|
190
|
+
updateBatchPrediction(args: UpdateBatchPredictionCommandInput, options?: MachineLearningRequestOptions): Promise<UpdateBatchPredictionCommandOutput>;
|
|
185
191
|
updateBatchPrediction(args: UpdateBatchPredictionCommandInput, cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void): void;
|
|
186
|
-
updateBatchPrediction(args: UpdateBatchPredictionCommandInput, options:
|
|
192
|
+
updateBatchPrediction(args: UpdateBatchPredictionCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void): void;
|
|
187
193
|
/**
|
|
188
194
|
* @see {@link UpdateDataSourceCommand}
|
|
189
195
|
*/
|
|
190
|
-
updateDataSource(args: UpdateDataSourceCommandInput, options?:
|
|
196
|
+
updateDataSource(args: UpdateDataSourceCommandInput, options?: MachineLearningRequestOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
191
197
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
192
|
-
updateDataSource(args: UpdateDataSourceCommandInput, options:
|
|
198
|
+
updateDataSource(args: UpdateDataSourceCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
193
199
|
/**
|
|
194
200
|
* @see {@link UpdateEvaluationCommand}
|
|
195
201
|
*/
|
|
196
|
-
updateEvaluation(args: UpdateEvaluationCommandInput, options?:
|
|
202
|
+
updateEvaluation(args: UpdateEvaluationCommandInput, options?: MachineLearningRequestOptions): Promise<UpdateEvaluationCommandOutput>;
|
|
197
203
|
updateEvaluation(args: UpdateEvaluationCommandInput, cb: (err: any, data?: UpdateEvaluationCommandOutput) => void): void;
|
|
198
|
-
updateEvaluation(args: UpdateEvaluationCommandInput, options:
|
|
204
|
+
updateEvaluation(args: UpdateEvaluationCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: UpdateEvaluationCommandOutput) => void): void;
|
|
199
205
|
/**
|
|
200
206
|
* @see {@link UpdateMLModelCommand}
|
|
201
207
|
*/
|
|
202
|
-
updateMLModel(args: UpdateMLModelCommandInput, options?:
|
|
208
|
+
updateMLModel(args: UpdateMLModelCommandInput, options?: MachineLearningRequestOptions): Promise<UpdateMLModelCommandOutput>;
|
|
203
209
|
updateMLModel(args: UpdateMLModelCommandInput, cb: (err: any, data?: UpdateMLModelCommandOutput) => void): void;
|
|
204
|
-
updateMLModel(args: UpdateMLModelCommandInput, options:
|
|
210
|
+
updateMLModel(args: UpdateMLModelCommandInput, options: MachineLearningRequestOptions, cb: (err: any, data?: UpdateMLModelCommandOutput) => void): void;
|
|
205
211
|
/**
|
|
206
212
|
* @see {@link DescribeBatchPredictionsCommand}
|
|
207
213
|
* @param args - command input.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import {
|
|
3
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
4
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
5
|
PaginationConfiguration,
|
|
5
6
|
Paginator,
|
|
6
7
|
WaiterConfiguration,
|
|
@@ -106,17 +107,23 @@ import {
|
|
|
106
107
|
UpdateMLModelCommandOutput,
|
|
107
108
|
} from "./commands/UpdateMLModelCommand";
|
|
108
109
|
import { MachineLearningClient } from "./MachineLearningClient";
|
|
110
|
+
export interface MachineLearningRequestOptions extends __HttpHandlerOptions {
|
|
111
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
112
|
+
}
|
|
109
113
|
export interface MachineLearning {
|
|
110
|
-
addTags(
|
|
114
|
+
addTags(
|
|
115
|
+
args: AddTagsCommandInput,
|
|
116
|
+
options?: MachineLearningRequestOptions,
|
|
117
|
+
): Promise<AddTagsCommandOutput>;
|
|
111
118
|
addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
112
119
|
addTags(
|
|
113
120
|
args: AddTagsCommandInput,
|
|
114
|
-
options:
|
|
121
|
+
options: MachineLearningRequestOptions,
|
|
115
122
|
cb: (err: any, data?: AddTagsCommandOutput) => void,
|
|
116
123
|
): void;
|
|
117
124
|
createBatchPrediction(
|
|
118
125
|
args: CreateBatchPredictionCommandInput,
|
|
119
|
-
options?:
|
|
126
|
+
options?: MachineLearningRequestOptions,
|
|
120
127
|
): Promise<CreateBatchPredictionCommandOutput>;
|
|
121
128
|
createBatchPrediction(
|
|
122
129
|
args: CreateBatchPredictionCommandInput,
|
|
@@ -124,12 +131,12 @@ export interface MachineLearning {
|
|
|
124
131
|
): void;
|
|
125
132
|
createBatchPrediction(
|
|
126
133
|
args: CreateBatchPredictionCommandInput,
|
|
127
|
-
options:
|
|
134
|
+
options: MachineLearningRequestOptions,
|
|
128
135
|
cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void,
|
|
129
136
|
): void;
|
|
130
137
|
createDataSourceFromRDS(
|
|
131
138
|
args: CreateDataSourceFromRDSCommandInput,
|
|
132
|
-
options?:
|
|
139
|
+
options?: MachineLearningRequestOptions,
|
|
133
140
|
): Promise<CreateDataSourceFromRDSCommandOutput>;
|
|
134
141
|
createDataSourceFromRDS(
|
|
135
142
|
args: CreateDataSourceFromRDSCommandInput,
|
|
@@ -137,12 +144,12 @@ export interface MachineLearning {
|
|
|
137
144
|
): void;
|
|
138
145
|
createDataSourceFromRDS(
|
|
139
146
|
args: CreateDataSourceFromRDSCommandInput,
|
|
140
|
-
options:
|
|
147
|
+
options: MachineLearningRequestOptions,
|
|
141
148
|
cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void,
|
|
142
149
|
): void;
|
|
143
150
|
createDataSourceFromRedshift(
|
|
144
151
|
args: CreateDataSourceFromRedshiftCommandInput,
|
|
145
|
-
options?:
|
|
152
|
+
options?: MachineLearningRequestOptions,
|
|
146
153
|
): Promise<CreateDataSourceFromRedshiftCommandOutput>;
|
|
147
154
|
createDataSourceFromRedshift(
|
|
148
155
|
args: CreateDataSourceFromRedshiftCommandInput,
|
|
@@ -150,12 +157,12 @@ export interface MachineLearning {
|
|
|
150
157
|
): void;
|
|
151
158
|
createDataSourceFromRedshift(
|
|
152
159
|
args: CreateDataSourceFromRedshiftCommandInput,
|
|
153
|
-
options:
|
|
160
|
+
options: MachineLearningRequestOptions,
|
|
154
161
|
cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void,
|
|
155
162
|
): void;
|
|
156
163
|
createDataSourceFromS3(
|
|
157
164
|
args: CreateDataSourceFromS3CommandInput,
|
|
158
|
-
options?:
|
|
165
|
+
options?: MachineLearningRequestOptions,
|
|
159
166
|
): Promise<CreateDataSourceFromS3CommandOutput>;
|
|
160
167
|
createDataSourceFromS3(
|
|
161
168
|
args: CreateDataSourceFromS3CommandInput,
|
|
@@ -163,12 +170,12 @@ export interface MachineLearning {
|
|
|
163
170
|
): void;
|
|
164
171
|
createDataSourceFromS3(
|
|
165
172
|
args: CreateDataSourceFromS3CommandInput,
|
|
166
|
-
options:
|
|
173
|
+
options: MachineLearningRequestOptions,
|
|
167
174
|
cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void,
|
|
168
175
|
): void;
|
|
169
176
|
createEvaluation(
|
|
170
177
|
args: CreateEvaluationCommandInput,
|
|
171
|
-
options?:
|
|
178
|
+
options?: MachineLearningRequestOptions,
|
|
172
179
|
): Promise<CreateEvaluationCommandOutput>;
|
|
173
180
|
createEvaluation(
|
|
174
181
|
args: CreateEvaluationCommandInput,
|
|
@@ -176,12 +183,12 @@ export interface MachineLearning {
|
|
|
176
183
|
): void;
|
|
177
184
|
createEvaluation(
|
|
178
185
|
args: CreateEvaluationCommandInput,
|
|
179
|
-
options:
|
|
186
|
+
options: MachineLearningRequestOptions,
|
|
180
187
|
cb: (err: any, data?: CreateEvaluationCommandOutput) => void,
|
|
181
188
|
): void;
|
|
182
189
|
createMLModel(
|
|
183
190
|
args: CreateMLModelCommandInput,
|
|
184
|
-
options?:
|
|
191
|
+
options?: MachineLearningRequestOptions,
|
|
185
192
|
): Promise<CreateMLModelCommandOutput>;
|
|
186
193
|
createMLModel(
|
|
187
194
|
args: CreateMLModelCommandInput,
|
|
@@ -189,12 +196,12 @@ export interface MachineLearning {
|
|
|
189
196
|
): void;
|
|
190
197
|
createMLModel(
|
|
191
198
|
args: CreateMLModelCommandInput,
|
|
192
|
-
options:
|
|
199
|
+
options: MachineLearningRequestOptions,
|
|
193
200
|
cb: (err: any, data?: CreateMLModelCommandOutput) => void,
|
|
194
201
|
): void;
|
|
195
202
|
createRealtimeEndpoint(
|
|
196
203
|
args: CreateRealtimeEndpointCommandInput,
|
|
197
|
-
options?:
|
|
204
|
+
options?: MachineLearningRequestOptions,
|
|
198
205
|
): Promise<CreateRealtimeEndpointCommandOutput>;
|
|
199
206
|
createRealtimeEndpoint(
|
|
200
207
|
args: CreateRealtimeEndpointCommandInput,
|
|
@@ -202,12 +209,12 @@ export interface MachineLearning {
|
|
|
202
209
|
): void;
|
|
203
210
|
createRealtimeEndpoint(
|
|
204
211
|
args: CreateRealtimeEndpointCommandInput,
|
|
205
|
-
options:
|
|
212
|
+
options: MachineLearningRequestOptions,
|
|
206
213
|
cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void,
|
|
207
214
|
): void;
|
|
208
215
|
deleteBatchPrediction(
|
|
209
216
|
args: DeleteBatchPredictionCommandInput,
|
|
210
|
-
options?:
|
|
217
|
+
options?: MachineLearningRequestOptions,
|
|
211
218
|
): Promise<DeleteBatchPredictionCommandOutput>;
|
|
212
219
|
deleteBatchPrediction(
|
|
213
220
|
args: DeleteBatchPredictionCommandInput,
|
|
@@ -215,12 +222,12 @@ export interface MachineLearning {
|
|
|
215
222
|
): void;
|
|
216
223
|
deleteBatchPrediction(
|
|
217
224
|
args: DeleteBatchPredictionCommandInput,
|
|
218
|
-
options:
|
|
225
|
+
options: MachineLearningRequestOptions,
|
|
219
226
|
cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void,
|
|
220
227
|
): void;
|
|
221
228
|
deleteDataSource(
|
|
222
229
|
args: DeleteDataSourceCommandInput,
|
|
223
|
-
options?:
|
|
230
|
+
options?: MachineLearningRequestOptions,
|
|
224
231
|
): Promise<DeleteDataSourceCommandOutput>;
|
|
225
232
|
deleteDataSource(
|
|
226
233
|
args: DeleteDataSourceCommandInput,
|
|
@@ -228,12 +235,12 @@ export interface MachineLearning {
|
|
|
228
235
|
): void;
|
|
229
236
|
deleteDataSource(
|
|
230
237
|
args: DeleteDataSourceCommandInput,
|
|
231
|
-
options:
|
|
238
|
+
options: MachineLearningRequestOptions,
|
|
232
239
|
cb: (err: any, data?: DeleteDataSourceCommandOutput) => void,
|
|
233
240
|
): void;
|
|
234
241
|
deleteEvaluation(
|
|
235
242
|
args: DeleteEvaluationCommandInput,
|
|
236
|
-
options?:
|
|
243
|
+
options?: MachineLearningRequestOptions,
|
|
237
244
|
): Promise<DeleteEvaluationCommandOutput>;
|
|
238
245
|
deleteEvaluation(
|
|
239
246
|
args: DeleteEvaluationCommandInput,
|
|
@@ -241,12 +248,12 @@ export interface MachineLearning {
|
|
|
241
248
|
): void;
|
|
242
249
|
deleteEvaluation(
|
|
243
250
|
args: DeleteEvaluationCommandInput,
|
|
244
|
-
options:
|
|
251
|
+
options: MachineLearningRequestOptions,
|
|
245
252
|
cb: (err: any, data?: DeleteEvaluationCommandOutput) => void,
|
|
246
253
|
): void;
|
|
247
254
|
deleteMLModel(
|
|
248
255
|
args: DeleteMLModelCommandInput,
|
|
249
|
-
options?:
|
|
256
|
+
options?: MachineLearningRequestOptions,
|
|
250
257
|
): Promise<DeleteMLModelCommandOutput>;
|
|
251
258
|
deleteMLModel(
|
|
252
259
|
args: DeleteMLModelCommandInput,
|
|
@@ -254,12 +261,12 @@ export interface MachineLearning {
|
|
|
254
261
|
): void;
|
|
255
262
|
deleteMLModel(
|
|
256
263
|
args: DeleteMLModelCommandInput,
|
|
257
|
-
options:
|
|
264
|
+
options: MachineLearningRequestOptions,
|
|
258
265
|
cb: (err: any, data?: DeleteMLModelCommandOutput) => void,
|
|
259
266
|
): void;
|
|
260
267
|
deleteRealtimeEndpoint(
|
|
261
268
|
args: DeleteRealtimeEndpointCommandInput,
|
|
262
|
-
options?:
|
|
269
|
+
options?: MachineLearningRequestOptions,
|
|
263
270
|
): Promise<DeleteRealtimeEndpointCommandOutput>;
|
|
264
271
|
deleteRealtimeEndpoint(
|
|
265
272
|
args: DeleteRealtimeEndpointCommandInput,
|
|
@@ -267,12 +274,12 @@ export interface MachineLearning {
|
|
|
267
274
|
): void;
|
|
268
275
|
deleteRealtimeEndpoint(
|
|
269
276
|
args: DeleteRealtimeEndpointCommandInput,
|
|
270
|
-
options:
|
|
277
|
+
options: MachineLearningRequestOptions,
|
|
271
278
|
cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void,
|
|
272
279
|
): void;
|
|
273
280
|
deleteTags(
|
|
274
281
|
args: DeleteTagsCommandInput,
|
|
275
|
-
options?:
|
|
282
|
+
options?: MachineLearningRequestOptions,
|
|
276
283
|
): Promise<DeleteTagsCommandOutput>;
|
|
277
284
|
deleteTags(
|
|
278
285
|
args: DeleteTagsCommandInput,
|
|
@@ -280,13 +287,13 @@ export interface MachineLearning {
|
|
|
280
287
|
): void;
|
|
281
288
|
deleteTags(
|
|
282
289
|
args: DeleteTagsCommandInput,
|
|
283
|
-
options:
|
|
290
|
+
options: MachineLearningRequestOptions,
|
|
284
291
|
cb: (err: any, data?: DeleteTagsCommandOutput) => void,
|
|
285
292
|
): void;
|
|
286
293
|
describeBatchPredictions(): Promise<DescribeBatchPredictionsCommandOutput>;
|
|
287
294
|
describeBatchPredictions(
|
|
288
295
|
args: DescribeBatchPredictionsCommandInput,
|
|
289
|
-
options?:
|
|
296
|
+
options?: MachineLearningRequestOptions,
|
|
290
297
|
): Promise<DescribeBatchPredictionsCommandOutput>;
|
|
291
298
|
describeBatchPredictions(
|
|
292
299
|
args: DescribeBatchPredictionsCommandInput,
|
|
@@ -294,13 +301,13 @@ export interface MachineLearning {
|
|
|
294
301
|
): void;
|
|
295
302
|
describeBatchPredictions(
|
|
296
303
|
args: DescribeBatchPredictionsCommandInput,
|
|
297
|
-
options:
|
|
304
|
+
options: MachineLearningRequestOptions,
|
|
298
305
|
cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void,
|
|
299
306
|
): void;
|
|
300
307
|
describeDataSources(): Promise<DescribeDataSourcesCommandOutput>;
|
|
301
308
|
describeDataSources(
|
|
302
309
|
args: DescribeDataSourcesCommandInput,
|
|
303
|
-
options?:
|
|
310
|
+
options?: MachineLearningRequestOptions,
|
|
304
311
|
): Promise<DescribeDataSourcesCommandOutput>;
|
|
305
312
|
describeDataSources(
|
|
306
313
|
args: DescribeDataSourcesCommandInput,
|
|
@@ -308,13 +315,13 @@ export interface MachineLearning {
|
|
|
308
315
|
): void;
|
|
309
316
|
describeDataSources(
|
|
310
317
|
args: DescribeDataSourcesCommandInput,
|
|
311
|
-
options:
|
|
318
|
+
options: MachineLearningRequestOptions,
|
|
312
319
|
cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void,
|
|
313
320
|
): void;
|
|
314
321
|
describeEvaluations(): Promise<DescribeEvaluationsCommandOutput>;
|
|
315
322
|
describeEvaluations(
|
|
316
323
|
args: DescribeEvaluationsCommandInput,
|
|
317
|
-
options?:
|
|
324
|
+
options?: MachineLearningRequestOptions,
|
|
318
325
|
): Promise<DescribeEvaluationsCommandOutput>;
|
|
319
326
|
describeEvaluations(
|
|
320
327
|
args: DescribeEvaluationsCommandInput,
|
|
@@ -322,13 +329,13 @@ export interface MachineLearning {
|
|
|
322
329
|
): void;
|
|
323
330
|
describeEvaluations(
|
|
324
331
|
args: DescribeEvaluationsCommandInput,
|
|
325
|
-
options:
|
|
332
|
+
options: MachineLearningRequestOptions,
|
|
326
333
|
cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void,
|
|
327
334
|
): void;
|
|
328
335
|
describeMLModels(): Promise<DescribeMLModelsCommandOutput>;
|
|
329
336
|
describeMLModels(
|
|
330
337
|
args: DescribeMLModelsCommandInput,
|
|
331
|
-
options?:
|
|
338
|
+
options?: MachineLearningRequestOptions,
|
|
332
339
|
): Promise<DescribeMLModelsCommandOutput>;
|
|
333
340
|
describeMLModels(
|
|
334
341
|
args: DescribeMLModelsCommandInput,
|
|
@@ -336,12 +343,12 @@ export interface MachineLearning {
|
|
|
336
343
|
): void;
|
|
337
344
|
describeMLModels(
|
|
338
345
|
args: DescribeMLModelsCommandInput,
|
|
339
|
-
options:
|
|
346
|
+
options: MachineLearningRequestOptions,
|
|
340
347
|
cb: (err: any, data?: DescribeMLModelsCommandOutput) => void,
|
|
341
348
|
): void;
|
|
342
349
|
describeTags(
|
|
343
350
|
args: DescribeTagsCommandInput,
|
|
344
|
-
options?:
|
|
351
|
+
options?: MachineLearningRequestOptions,
|
|
345
352
|
): Promise<DescribeTagsCommandOutput>;
|
|
346
353
|
describeTags(
|
|
347
354
|
args: DescribeTagsCommandInput,
|
|
@@ -349,12 +356,12 @@ export interface MachineLearning {
|
|
|
349
356
|
): void;
|
|
350
357
|
describeTags(
|
|
351
358
|
args: DescribeTagsCommandInput,
|
|
352
|
-
options:
|
|
359
|
+
options: MachineLearningRequestOptions,
|
|
353
360
|
cb: (err: any, data?: DescribeTagsCommandOutput) => void,
|
|
354
361
|
): void;
|
|
355
362
|
getBatchPrediction(
|
|
356
363
|
args: GetBatchPredictionCommandInput,
|
|
357
|
-
options?:
|
|
364
|
+
options?: MachineLearningRequestOptions,
|
|
358
365
|
): Promise<GetBatchPredictionCommandOutput>;
|
|
359
366
|
getBatchPrediction(
|
|
360
367
|
args: GetBatchPredictionCommandInput,
|
|
@@ -362,12 +369,12 @@ export interface MachineLearning {
|
|
|
362
369
|
): void;
|
|
363
370
|
getBatchPrediction(
|
|
364
371
|
args: GetBatchPredictionCommandInput,
|
|
365
|
-
options:
|
|
372
|
+
options: MachineLearningRequestOptions,
|
|
366
373
|
cb: (err: any, data?: GetBatchPredictionCommandOutput) => void,
|
|
367
374
|
): void;
|
|
368
375
|
getDataSource(
|
|
369
376
|
args: GetDataSourceCommandInput,
|
|
370
|
-
options?:
|
|
377
|
+
options?: MachineLearningRequestOptions,
|
|
371
378
|
): Promise<GetDataSourceCommandOutput>;
|
|
372
379
|
getDataSource(
|
|
373
380
|
args: GetDataSourceCommandInput,
|
|
@@ -375,12 +382,12 @@ export interface MachineLearning {
|
|
|
375
382
|
): void;
|
|
376
383
|
getDataSource(
|
|
377
384
|
args: GetDataSourceCommandInput,
|
|
378
|
-
options:
|
|
385
|
+
options: MachineLearningRequestOptions,
|
|
379
386
|
cb: (err: any, data?: GetDataSourceCommandOutput) => void,
|
|
380
387
|
): void;
|
|
381
388
|
getEvaluation(
|
|
382
389
|
args: GetEvaluationCommandInput,
|
|
383
|
-
options?:
|
|
390
|
+
options?: MachineLearningRequestOptions,
|
|
384
391
|
): Promise<GetEvaluationCommandOutput>;
|
|
385
392
|
getEvaluation(
|
|
386
393
|
args: GetEvaluationCommandInput,
|
|
@@ -388,12 +395,12 @@ export interface MachineLearning {
|
|
|
388
395
|
): void;
|
|
389
396
|
getEvaluation(
|
|
390
397
|
args: GetEvaluationCommandInput,
|
|
391
|
-
options:
|
|
398
|
+
options: MachineLearningRequestOptions,
|
|
392
399
|
cb: (err: any, data?: GetEvaluationCommandOutput) => void,
|
|
393
400
|
): void;
|
|
394
401
|
getMLModel(
|
|
395
402
|
args: GetMLModelCommandInput,
|
|
396
|
-
options?:
|
|
403
|
+
options?: MachineLearningRequestOptions,
|
|
397
404
|
): Promise<GetMLModelCommandOutput>;
|
|
398
405
|
getMLModel(
|
|
399
406
|
args: GetMLModelCommandInput,
|
|
@@ -401,19 +408,22 @@ export interface MachineLearning {
|
|
|
401
408
|
): void;
|
|
402
409
|
getMLModel(
|
|
403
410
|
args: GetMLModelCommandInput,
|
|
404
|
-
options:
|
|
411
|
+
options: MachineLearningRequestOptions,
|
|
405
412
|
cb: (err: any, data?: GetMLModelCommandOutput) => void,
|
|
406
413
|
): void;
|
|
407
|
-
predict(
|
|
414
|
+
predict(
|
|
415
|
+
args: PredictCommandInput,
|
|
416
|
+
options?: MachineLearningRequestOptions,
|
|
417
|
+
): Promise<PredictCommandOutput>;
|
|
408
418
|
predict(args: PredictCommandInput, cb: (err: any, data?: PredictCommandOutput) => void): void;
|
|
409
419
|
predict(
|
|
410
420
|
args: PredictCommandInput,
|
|
411
|
-
options:
|
|
421
|
+
options: MachineLearningRequestOptions,
|
|
412
422
|
cb: (err: any, data?: PredictCommandOutput) => void,
|
|
413
423
|
): void;
|
|
414
424
|
updateBatchPrediction(
|
|
415
425
|
args: UpdateBatchPredictionCommandInput,
|
|
416
|
-
options?:
|
|
426
|
+
options?: MachineLearningRequestOptions,
|
|
417
427
|
): Promise<UpdateBatchPredictionCommandOutput>;
|
|
418
428
|
updateBatchPrediction(
|
|
419
429
|
args: UpdateBatchPredictionCommandInput,
|
|
@@ -421,12 +431,12 @@ export interface MachineLearning {
|
|
|
421
431
|
): void;
|
|
422
432
|
updateBatchPrediction(
|
|
423
433
|
args: UpdateBatchPredictionCommandInput,
|
|
424
|
-
options:
|
|
434
|
+
options: MachineLearningRequestOptions,
|
|
425
435
|
cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void,
|
|
426
436
|
): void;
|
|
427
437
|
updateDataSource(
|
|
428
438
|
args: UpdateDataSourceCommandInput,
|
|
429
|
-
options?:
|
|
439
|
+
options?: MachineLearningRequestOptions,
|
|
430
440
|
): Promise<UpdateDataSourceCommandOutput>;
|
|
431
441
|
updateDataSource(
|
|
432
442
|
args: UpdateDataSourceCommandInput,
|
|
@@ -434,12 +444,12 @@ export interface MachineLearning {
|
|
|
434
444
|
): void;
|
|
435
445
|
updateDataSource(
|
|
436
446
|
args: UpdateDataSourceCommandInput,
|
|
437
|
-
options:
|
|
447
|
+
options: MachineLearningRequestOptions,
|
|
438
448
|
cb: (err: any, data?: UpdateDataSourceCommandOutput) => void,
|
|
439
449
|
): void;
|
|
440
450
|
updateEvaluation(
|
|
441
451
|
args: UpdateEvaluationCommandInput,
|
|
442
|
-
options?:
|
|
452
|
+
options?: MachineLearningRequestOptions,
|
|
443
453
|
): Promise<UpdateEvaluationCommandOutput>;
|
|
444
454
|
updateEvaluation(
|
|
445
455
|
args: UpdateEvaluationCommandInput,
|
|
@@ -447,12 +457,12 @@ export interface MachineLearning {
|
|
|
447
457
|
): void;
|
|
448
458
|
updateEvaluation(
|
|
449
459
|
args: UpdateEvaluationCommandInput,
|
|
450
|
-
options:
|
|
460
|
+
options: MachineLearningRequestOptions,
|
|
451
461
|
cb: (err: any, data?: UpdateEvaluationCommandOutput) => void,
|
|
452
462
|
): void;
|
|
453
463
|
updateMLModel(
|
|
454
464
|
args: UpdateMLModelCommandInput,
|
|
455
|
-
options?:
|
|
465
|
+
options?: MachineLearningRequestOptions,
|
|
456
466
|
): Promise<UpdateMLModelCommandOutput>;
|
|
457
467
|
updateMLModel(
|
|
458
468
|
args: UpdateMLModelCommandInput,
|
|
@@ -460,7 +470,7 @@ export interface MachineLearning {
|
|
|
460
470
|
): void;
|
|
461
471
|
updateMLModel(
|
|
462
472
|
args: UpdateMLModelCommandInput,
|
|
463
|
-
options:
|
|
473
|
+
options: MachineLearningRequestOptions,
|
|
464
474
|
cb: (err: any, data?: UpdateMLModelCommandOutput) => void,
|
|
465
475
|
): void;
|
|
466
476
|
paginateDescribeBatchPredictions(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-machine-learning",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-machine-learning",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/middleware-sdk-machinelearning": "^3.972.
|
|
52
|
-
"@aws-sdk/types": "^3.974.
|
|
53
|
-
"@smithy/core": "^3.
|
|
54
|
-
"@smithy/fetch-http-handler": "^5.
|
|
55
|
-
"@smithy/node-http-handler": "^4.
|
|
56
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/middleware-sdk-machinelearning": "^3.972.30",
|
|
52
|
+
"@aws-sdk/types": "^3.974.6",
|
|
53
|
+
"@smithy/core": "^3.35.0",
|
|
54
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
55
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
56
|
+
"@smithy/types": "^4.19.0",
|
|
57
57
|
"tslib": "^2.6.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|