@aws-sdk/client-machine-learning 3.1086.0 → 3.1088.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.
Files changed (51) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/MachineLearning.d.ts +97 -123
  3. package/dist-types/ts3.4/MachineLearningClient.d.ts +10 -32
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +8 -14
  7. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +6 -2
  8. package/dist-types/ts3.4/commands/CreateBatchPredictionCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +4 -6
  11. package/dist-types/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/CreateEvaluationCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/CreateMLModelCommand.d.ts +3 -5
  14. package/dist-types/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/DeleteEvaluationCommand.d.ts +4 -9
  18. package/dist-types/ts3.4/commands/DeleteMLModelCommand.d.ts +3 -5
  19. package/dist-types/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +3 -5
  21. package/dist-types/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/DescribeDataSourcesCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/DescribeEvaluationsCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/DescribeMLModelsCommand.d.ts +3 -8
  25. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +3 -5
  26. package/dist-types/ts3.4/commands/GetBatchPredictionCommand.d.ts +5 -10
  27. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +3 -5
  28. package/dist-types/ts3.4/commands/GetEvaluationCommand.d.ts +3 -5
  29. package/dist-types/ts3.4/commands/GetMLModelCommand.d.ts +3 -5
  30. package/dist-types/ts3.4/commands/PredictCommand.d.ts +6 -2
  31. package/dist-types/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/UpdateEvaluationCommand.d.ts +4 -9
  34. package/dist-types/ts3.4/commands/UpdateMLModelCommand.d.ts +3 -5
  35. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  36. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  37. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  38. package/dist-types/ts3.4/models/enums.d.ts +2 -4
  39. package/dist-types/ts3.4/models/errors.d.ts +8 -27
  40. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  45. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  47. package/dist-types/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +3 -7
  48. package/dist-types/ts3.4/waiters/waitForDataSourceAvailable.d.ts +3 -7
  49. package/dist-types/ts3.4/waiters/waitForEvaluationAvailable.d.ts +3 -7
  50. package/dist-types/ts3.4/waiters/waitForMLModelAvailable.d.ts +3 -5
  51. package/package.json +40 -40
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.1085.0";
73
+ var version = "3.1087.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -5,10 +5,7 @@ import {
5
5
  Paginator,
6
6
  WaiterConfiguration,
7
7
  } from "@smithy/types";
8
- import {
9
- AddTagsCommandInput,
10
- AddTagsCommandOutput,
11
- } from "./commands/AddTagsCommand";
8
+ import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
12
9
  import {
13
10
  CreateBatchPredictionCommandInput,
14
11
  CreateBatchPredictionCommandOutput,
@@ -57,10 +54,7 @@ import {
57
54
  DeleteRealtimeEndpointCommandInput,
58
55
  DeleteRealtimeEndpointCommandOutput,
59
56
  } from "./commands/DeleteRealtimeEndpointCommand";
60
- import {
61
- DeleteTagsCommandInput,
62
- DeleteTagsCommandOutput,
63
- } from "./commands/DeleteTagsCommand";
57
+ import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
64
58
  import {
65
59
  DescribeBatchPredictionsCommandInput,
66
60
  DescribeBatchPredictionsCommandOutput,
@@ -93,14 +87,8 @@ import {
93
87
  GetEvaluationCommandInput,
94
88
  GetEvaluationCommandOutput,
95
89
  } from "./commands/GetEvaluationCommand";
96
- import {
97
- GetMLModelCommandInput,
98
- GetMLModelCommandOutput,
99
- } from "./commands/GetMLModelCommand";
100
- import {
101
- PredictCommandInput,
102
- PredictCommandOutput,
103
- } from "./commands/PredictCommand";
90
+ import { GetMLModelCommandInput, GetMLModelCommandOutput } from "./commands/GetMLModelCommand";
91
+ import { PredictCommandInput, PredictCommandOutput } from "./commands/PredictCommand";
104
92
  import {
105
93
  UpdateBatchPredictionCommandInput,
106
94
  UpdateBatchPredictionCommandOutput,
@@ -119,401 +107,389 @@ import {
119
107
  } from "./commands/UpdateMLModelCommand";
120
108
  import { MachineLearningClient } from "./MachineLearningClient";
121
109
  export interface MachineLearning {
122
- addTags(
123
- args: AddTagsCommandInput,
124
- options?: __HttpHandlerOptions
125
- ): Promise<AddTagsCommandOutput>;
126
- addTags(
127
- args: AddTagsCommandInput,
128
- cb: (err: any, data?: AddTagsCommandOutput) => void
129
- ): void;
110
+ addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
111
+ addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
130
112
  addTags(
131
113
  args: AddTagsCommandInput,
132
114
  options: __HttpHandlerOptions,
133
- cb: (err: any, data?: AddTagsCommandOutput) => void
115
+ cb: (err: any, data?: AddTagsCommandOutput) => void,
134
116
  ): void;
135
117
  createBatchPrediction(
136
118
  args: CreateBatchPredictionCommandInput,
137
- options?: __HttpHandlerOptions
119
+ options?: __HttpHandlerOptions,
138
120
  ): Promise<CreateBatchPredictionCommandOutput>;
139
121
  createBatchPrediction(
140
122
  args: CreateBatchPredictionCommandInput,
141
- cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void
123
+ cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void,
142
124
  ): void;
143
125
  createBatchPrediction(
144
126
  args: CreateBatchPredictionCommandInput,
145
127
  options: __HttpHandlerOptions,
146
- cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void
128
+ cb: (err: any, data?: CreateBatchPredictionCommandOutput) => void,
147
129
  ): void;
148
130
  createDataSourceFromRDS(
149
131
  args: CreateDataSourceFromRDSCommandInput,
150
- options?: __HttpHandlerOptions
132
+ options?: __HttpHandlerOptions,
151
133
  ): Promise<CreateDataSourceFromRDSCommandOutput>;
152
134
  createDataSourceFromRDS(
153
135
  args: CreateDataSourceFromRDSCommandInput,
154
- cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void
136
+ cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void,
155
137
  ): void;
156
138
  createDataSourceFromRDS(
157
139
  args: CreateDataSourceFromRDSCommandInput,
158
140
  options: __HttpHandlerOptions,
159
- cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void
141
+ cb: (err: any, data?: CreateDataSourceFromRDSCommandOutput) => void,
160
142
  ): void;
161
143
  createDataSourceFromRedshift(
162
144
  args: CreateDataSourceFromRedshiftCommandInput,
163
- options?: __HttpHandlerOptions
145
+ options?: __HttpHandlerOptions,
164
146
  ): Promise<CreateDataSourceFromRedshiftCommandOutput>;
165
147
  createDataSourceFromRedshift(
166
148
  args: CreateDataSourceFromRedshiftCommandInput,
167
- cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void
149
+ cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void,
168
150
  ): void;
169
151
  createDataSourceFromRedshift(
170
152
  args: CreateDataSourceFromRedshiftCommandInput,
171
153
  options: __HttpHandlerOptions,
172
- cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void
154
+ cb: (err: any, data?: CreateDataSourceFromRedshiftCommandOutput) => void,
173
155
  ): void;
174
156
  createDataSourceFromS3(
175
157
  args: CreateDataSourceFromS3CommandInput,
176
- options?: __HttpHandlerOptions
158
+ options?: __HttpHandlerOptions,
177
159
  ): Promise<CreateDataSourceFromS3CommandOutput>;
178
160
  createDataSourceFromS3(
179
161
  args: CreateDataSourceFromS3CommandInput,
180
- cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void
162
+ cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void,
181
163
  ): void;
182
164
  createDataSourceFromS3(
183
165
  args: CreateDataSourceFromS3CommandInput,
184
166
  options: __HttpHandlerOptions,
185
- cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void
167
+ cb: (err: any, data?: CreateDataSourceFromS3CommandOutput) => void,
186
168
  ): void;
187
169
  createEvaluation(
188
170
  args: CreateEvaluationCommandInput,
189
- options?: __HttpHandlerOptions
171
+ options?: __HttpHandlerOptions,
190
172
  ): Promise<CreateEvaluationCommandOutput>;
191
173
  createEvaluation(
192
174
  args: CreateEvaluationCommandInput,
193
- cb: (err: any, data?: CreateEvaluationCommandOutput) => void
175
+ cb: (err: any, data?: CreateEvaluationCommandOutput) => void,
194
176
  ): void;
195
177
  createEvaluation(
196
178
  args: CreateEvaluationCommandInput,
197
179
  options: __HttpHandlerOptions,
198
- cb: (err: any, data?: CreateEvaluationCommandOutput) => void
180
+ cb: (err: any, data?: CreateEvaluationCommandOutput) => void,
199
181
  ): void;
200
182
  createMLModel(
201
183
  args: CreateMLModelCommandInput,
202
- options?: __HttpHandlerOptions
184
+ options?: __HttpHandlerOptions,
203
185
  ): Promise<CreateMLModelCommandOutput>;
204
186
  createMLModel(
205
187
  args: CreateMLModelCommandInput,
206
- cb: (err: any, data?: CreateMLModelCommandOutput) => void
188
+ cb: (err: any, data?: CreateMLModelCommandOutput) => void,
207
189
  ): void;
208
190
  createMLModel(
209
191
  args: CreateMLModelCommandInput,
210
192
  options: __HttpHandlerOptions,
211
- cb: (err: any, data?: CreateMLModelCommandOutput) => void
193
+ cb: (err: any, data?: CreateMLModelCommandOutput) => void,
212
194
  ): void;
213
195
  createRealtimeEndpoint(
214
196
  args: CreateRealtimeEndpointCommandInput,
215
- options?: __HttpHandlerOptions
197
+ options?: __HttpHandlerOptions,
216
198
  ): Promise<CreateRealtimeEndpointCommandOutput>;
217
199
  createRealtimeEndpoint(
218
200
  args: CreateRealtimeEndpointCommandInput,
219
- cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void
201
+ cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void,
220
202
  ): void;
221
203
  createRealtimeEndpoint(
222
204
  args: CreateRealtimeEndpointCommandInput,
223
205
  options: __HttpHandlerOptions,
224
- cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void
206
+ cb: (err: any, data?: CreateRealtimeEndpointCommandOutput) => void,
225
207
  ): void;
226
208
  deleteBatchPrediction(
227
209
  args: DeleteBatchPredictionCommandInput,
228
- options?: __HttpHandlerOptions
210
+ options?: __HttpHandlerOptions,
229
211
  ): Promise<DeleteBatchPredictionCommandOutput>;
230
212
  deleteBatchPrediction(
231
213
  args: DeleteBatchPredictionCommandInput,
232
- cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void
214
+ cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void,
233
215
  ): void;
234
216
  deleteBatchPrediction(
235
217
  args: DeleteBatchPredictionCommandInput,
236
218
  options: __HttpHandlerOptions,
237
- cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void
219
+ cb: (err: any, data?: DeleteBatchPredictionCommandOutput) => void,
238
220
  ): void;
239
221
  deleteDataSource(
240
222
  args: DeleteDataSourceCommandInput,
241
- options?: __HttpHandlerOptions
223
+ options?: __HttpHandlerOptions,
242
224
  ): Promise<DeleteDataSourceCommandOutput>;
243
225
  deleteDataSource(
244
226
  args: DeleteDataSourceCommandInput,
245
- cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
227
+ cb: (err: any, data?: DeleteDataSourceCommandOutput) => void,
246
228
  ): void;
247
229
  deleteDataSource(
248
230
  args: DeleteDataSourceCommandInput,
249
231
  options: __HttpHandlerOptions,
250
- cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
232
+ cb: (err: any, data?: DeleteDataSourceCommandOutput) => void,
251
233
  ): void;
252
234
  deleteEvaluation(
253
235
  args: DeleteEvaluationCommandInput,
254
- options?: __HttpHandlerOptions
236
+ options?: __HttpHandlerOptions,
255
237
  ): Promise<DeleteEvaluationCommandOutput>;
256
238
  deleteEvaluation(
257
239
  args: DeleteEvaluationCommandInput,
258
- cb: (err: any, data?: DeleteEvaluationCommandOutput) => void
240
+ cb: (err: any, data?: DeleteEvaluationCommandOutput) => void,
259
241
  ): void;
260
242
  deleteEvaluation(
261
243
  args: DeleteEvaluationCommandInput,
262
244
  options: __HttpHandlerOptions,
263
- cb: (err: any, data?: DeleteEvaluationCommandOutput) => void
245
+ cb: (err: any, data?: DeleteEvaluationCommandOutput) => void,
264
246
  ): void;
265
247
  deleteMLModel(
266
248
  args: DeleteMLModelCommandInput,
267
- options?: __HttpHandlerOptions
249
+ options?: __HttpHandlerOptions,
268
250
  ): Promise<DeleteMLModelCommandOutput>;
269
251
  deleteMLModel(
270
252
  args: DeleteMLModelCommandInput,
271
- cb: (err: any, data?: DeleteMLModelCommandOutput) => void
253
+ cb: (err: any, data?: DeleteMLModelCommandOutput) => void,
272
254
  ): void;
273
255
  deleteMLModel(
274
256
  args: DeleteMLModelCommandInput,
275
257
  options: __HttpHandlerOptions,
276
- cb: (err: any, data?: DeleteMLModelCommandOutput) => void
258
+ cb: (err: any, data?: DeleteMLModelCommandOutput) => void,
277
259
  ): void;
278
260
  deleteRealtimeEndpoint(
279
261
  args: DeleteRealtimeEndpointCommandInput,
280
- options?: __HttpHandlerOptions
262
+ options?: __HttpHandlerOptions,
281
263
  ): Promise<DeleteRealtimeEndpointCommandOutput>;
282
264
  deleteRealtimeEndpoint(
283
265
  args: DeleteRealtimeEndpointCommandInput,
284
- cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void
266
+ cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void,
285
267
  ): void;
286
268
  deleteRealtimeEndpoint(
287
269
  args: DeleteRealtimeEndpointCommandInput,
288
270
  options: __HttpHandlerOptions,
289
- cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void
271
+ cb: (err: any, data?: DeleteRealtimeEndpointCommandOutput) => void,
290
272
  ): void;
291
273
  deleteTags(
292
274
  args: DeleteTagsCommandInput,
293
- options?: __HttpHandlerOptions
275
+ options?: __HttpHandlerOptions,
294
276
  ): Promise<DeleteTagsCommandOutput>;
295
277
  deleteTags(
296
278
  args: DeleteTagsCommandInput,
297
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
279
+ cb: (err: any, data?: DeleteTagsCommandOutput) => void,
298
280
  ): void;
299
281
  deleteTags(
300
282
  args: DeleteTagsCommandInput,
301
283
  options: __HttpHandlerOptions,
302
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
284
+ cb: (err: any, data?: DeleteTagsCommandOutput) => void,
303
285
  ): void;
304
286
  describeBatchPredictions(): Promise<DescribeBatchPredictionsCommandOutput>;
305
287
  describeBatchPredictions(
306
288
  args: DescribeBatchPredictionsCommandInput,
307
- options?: __HttpHandlerOptions
289
+ options?: __HttpHandlerOptions,
308
290
  ): Promise<DescribeBatchPredictionsCommandOutput>;
309
291
  describeBatchPredictions(
310
292
  args: DescribeBatchPredictionsCommandInput,
311
- cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void
293
+ cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void,
312
294
  ): void;
313
295
  describeBatchPredictions(
314
296
  args: DescribeBatchPredictionsCommandInput,
315
297
  options: __HttpHandlerOptions,
316
- cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void
298
+ cb: (err: any, data?: DescribeBatchPredictionsCommandOutput) => void,
317
299
  ): void;
318
300
  describeDataSources(): Promise<DescribeDataSourcesCommandOutput>;
319
301
  describeDataSources(
320
302
  args: DescribeDataSourcesCommandInput,
321
- options?: __HttpHandlerOptions
303
+ options?: __HttpHandlerOptions,
322
304
  ): Promise<DescribeDataSourcesCommandOutput>;
323
305
  describeDataSources(
324
306
  args: DescribeDataSourcesCommandInput,
325
- cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void
307
+ cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void,
326
308
  ): void;
327
309
  describeDataSources(
328
310
  args: DescribeDataSourcesCommandInput,
329
311
  options: __HttpHandlerOptions,
330
- cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void
312
+ cb: (err: any, data?: DescribeDataSourcesCommandOutput) => void,
331
313
  ): void;
332
314
  describeEvaluations(): Promise<DescribeEvaluationsCommandOutput>;
333
315
  describeEvaluations(
334
316
  args: DescribeEvaluationsCommandInput,
335
- options?: __HttpHandlerOptions
317
+ options?: __HttpHandlerOptions,
336
318
  ): Promise<DescribeEvaluationsCommandOutput>;
337
319
  describeEvaluations(
338
320
  args: DescribeEvaluationsCommandInput,
339
- cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void
321
+ cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void,
340
322
  ): void;
341
323
  describeEvaluations(
342
324
  args: DescribeEvaluationsCommandInput,
343
325
  options: __HttpHandlerOptions,
344
- cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void
326
+ cb: (err: any, data?: DescribeEvaluationsCommandOutput) => void,
345
327
  ): void;
346
328
  describeMLModels(): Promise<DescribeMLModelsCommandOutput>;
347
329
  describeMLModels(
348
330
  args: DescribeMLModelsCommandInput,
349
- options?: __HttpHandlerOptions
331
+ options?: __HttpHandlerOptions,
350
332
  ): Promise<DescribeMLModelsCommandOutput>;
351
333
  describeMLModels(
352
334
  args: DescribeMLModelsCommandInput,
353
- cb: (err: any, data?: DescribeMLModelsCommandOutput) => void
335
+ cb: (err: any, data?: DescribeMLModelsCommandOutput) => void,
354
336
  ): void;
355
337
  describeMLModels(
356
338
  args: DescribeMLModelsCommandInput,
357
339
  options: __HttpHandlerOptions,
358
- cb: (err: any, data?: DescribeMLModelsCommandOutput) => void
340
+ cb: (err: any, data?: DescribeMLModelsCommandOutput) => void,
359
341
  ): void;
360
342
  describeTags(
361
343
  args: DescribeTagsCommandInput,
362
- options?: __HttpHandlerOptions
344
+ options?: __HttpHandlerOptions,
363
345
  ): Promise<DescribeTagsCommandOutput>;
364
346
  describeTags(
365
347
  args: DescribeTagsCommandInput,
366
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
348
+ cb: (err: any, data?: DescribeTagsCommandOutput) => void,
367
349
  ): void;
368
350
  describeTags(
369
351
  args: DescribeTagsCommandInput,
370
352
  options: __HttpHandlerOptions,
371
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
353
+ cb: (err: any, data?: DescribeTagsCommandOutput) => void,
372
354
  ): void;
373
355
  getBatchPrediction(
374
356
  args: GetBatchPredictionCommandInput,
375
- options?: __HttpHandlerOptions
357
+ options?: __HttpHandlerOptions,
376
358
  ): Promise<GetBatchPredictionCommandOutput>;
377
359
  getBatchPrediction(
378
360
  args: GetBatchPredictionCommandInput,
379
- cb: (err: any, data?: GetBatchPredictionCommandOutput) => void
361
+ cb: (err: any, data?: GetBatchPredictionCommandOutput) => void,
380
362
  ): void;
381
363
  getBatchPrediction(
382
364
  args: GetBatchPredictionCommandInput,
383
365
  options: __HttpHandlerOptions,
384
- cb: (err: any, data?: GetBatchPredictionCommandOutput) => void
366
+ cb: (err: any, data?: GetBatchPredictionCommandOutput) => void,
385
367
  ): void;
386
368
  getDataSource(
387
369
  args: GetDataSourceCommandInput,
388
- options?: __HttpHandlerOptions
370
+ options?: __HttpHandlerOptions,
389
371
  ): Promise<GetDataSourceCommandOutput>;
390
372
  getDataSource(
391
373
  args: GetDataSourceCommandInput,
392
- cb: (err: any, data?: GetDataSourceCommandOutput) => void
374
+ cb: (err: any, data?: GetDataSourceCommandOutput) => void,
393
375
  ): void;
394
376
  getDataSource(
395
377
  args: GetDataSourceCommandInput,
396
378
  options: __HttpHandlerOptions,
397
- cb: (err: any, data?: GetDataSourceCommandOutput) => void
379
+ cb: (err: any, data?: GetDataSourceCommandOutput) => void,
398
380
  ): void;
399
381
  getEvaluation(
400
382
  args: GetEvaluationCommandInput,
401
- options?: __HttpHandlerOptions
383
+ options?: __HttpHandlerOptions,
402
384
  ): Promise<GetEvaluationCommandOutput>;
403
385
  getEvaluation(
404
386
  args: GetEvaluationCommandInput,
405
- cb: (err: any, data?: GetEvaluationCommandOutput) => void
387
+ cb: (err: any, data?: GetEvaluationCommandOutput) => void,
406
388
  ): void;
407
389
  getEvaluation(
408
390
  args: GetEvaluationCommandInput,
409
391
  options: __HttpHandlerOptions,
410
- cb: (err: any, data?: GetEvaluationCommandOutput) => void
392
+ cb: (err: any, data?: GetEvaluationCommandOutput) => void,
411
393
  ): void;
412
394
  getMLModel(
413
395
  args: GetMLModelCommandInput,
414
- options?: __HttpHandlerOptions
396
+ options?: __HttpHandlerOptions,
415
397
  ): Promise<GetMLModelCommandOutput>;
416
398
  getMLModel(
417
399
  args: GetMLModelCommandInput,
418
- cb: (err: any, data?: GetMLModelCommandOutput) => void
400
+ cb: (err: any, data?: GetMLModelCommandOutput) => void,
419
401
  ): void;
420
402
  getMLModel(
421
403
  args: GetMLModelCommandInput,
422
404
  options: __HttpHandlerOptions,
423
- cb: (err: any, data?: GetMLModelCommandOutput) => void
424
- ): void;
425
- predict(
426
- args: PredictCommandInput,
427
- options?: __HttpHandlerOptions
428
- ): Promise<PredictCommandOutput>;
429
- predict(
430
- args: PredictCommandInput,
431
- cb: (err: any, data?: PredictCommandOutput) => void
405
+ cb: (err: any, data?: GetMLModelCommandOutput) => void,
432
406
  ): void;
407
+ predict(args: PredictCommandInput, options?: __HttpHandlerOptions): Promise<PredictCommandOutput>;
408
+ predict(args: PredictCommandInput, cb: (err: any, data?: PredictCommandOutput) => void): void;
433
409
  predict(
434
410
  args: PredictCommandInput,
435
411
  options: __HttpHandlerOptions,
436
- cb: (err: any, data?: PredictCommandOutput) => void
412
+ cb: (err: any, data?: PredictCommandOutput) => void,
437
413
  ): void;
438
414
  updateBatchPrediction(
439
415
  args: UpdateBatchPredictionCommandInput,
440
- options?: __HttpHandlerOptions
416
+ options?: __HttpHandlerOptions,
441
417
  ): Promise<UpdateBatchPredictionCommandOutput>;
442
418
  updateBatchPrediction(
443
419
  args: UpdateBatchPredictionCommandInput,
444
- cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void
420
+ cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void,
445
421
  ): void;
446
422
  updateBatchPrediction(
447
423
  args: UpdateBatchPredictionCommandInput,
448
424
  options: __HttpHandlerOptions,
449
- cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void
425
+ cb: (err: any, data?: UpdateBatchPredictionCommandOutput) => void,
450
426
  ): void;
451
427
  updateDataSource(
452
428
  args: UpdateDataSourceCommandInput,
453
- options?: __HttpHandlerOptions
429
+ options?: __HttpHandlerOptions,
454
430
  ): Promise<UpdateDataSourceCommandOutput>;
455
431
  updateDataSource(
456
432
  args: UpdateDataSourceCommandInput,
457
- cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
433
+ cb: (err: any, data?: UpdateDataSourceCommandOutput) => void,
458
434
  ): void;
459
435
  updateDataSource(
460
436
  args: UpdateDataSourceCommandInput,
461
437
  options: __HttpHandlerOptions,
462
- cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
438
+ cb: (err: any, data?: UpdateDataSourceCommandOutput) => void,
463
439
  ): void;
464
440
  updateEvaluation(
465
441
  args: UpdateEvaluationCommandInput,
466
- options?: __HttpHandlerOptions
442
+ options?: __HttpHandlerOptions,
467
443
  ): Promise<UpdateEvaluationCommandOutput>;
468
444
  updateEvaluation(
469
445
  args: UpdateEvaluationCommandInput,
470
- cb: (err: any, data?: UpdateEvaluationCommandOutput) => void
446
+ cb: (err: any, data?: UpdateEvaluationCommandOutput) => void,
471
447
  ): void;
472
448
  updateEvaluation(
473
449
  args: UpdateEvaluationCommandInput,
474
450
  options: __HttpHandlerOptions,
475
- cb: (err: any, data?: UpdateEvaluationCommandOutput) => void
451
+ cb: (err: any, data?: UpdateEvaluationCommandOutput) => void,
476
452
  ): void;
477
453
  updateMLModel(
478
454
  args: UpdateMLModelCommandInput,
479
- options?: __HttpHandlerOptions
455
+ options?: __HttpHandlerOptions,
480
456
  ): Promise<UpdateMLModelCommandOutput>;
481
457
  updateMLModel(
482
458
  args: UpdateMLModelCommandInput,
483
- cb: (err: any, data?: UpdateMLModelCommandOutput) => void
459
+ cb: (err: any, data?: UpdateMLModelCommandOutput) => void,
484
460
  ): void;
485
461
  updateMLModel(
486
462
  args: UpdateMLModelCommandInput,
487
463
  options: __HttpHandlerOptions,
488
- cb: (err: any, data?: UpdateMLModelCommandOutput) => void
464
+ cb: (err: any, data?: UpdateMLModelCommandOutput) => void,
489
465
  ): void;
490
466
  paginateDescribeBatchPredictions(
491
467
  args?: DescribeBatchPredictionsCommandInput,
492
468
  paginationConfig?: Pick<
493
469
  PaginationConfiguration,
494
470
  Exclude<keyof PaginationConfiguration, "client">
495
- >
471
+ >,
496
472
  ): Paginator<DescribeBatchPredictionsCommandOutput>;
497
473
  paginateDescribeDataSources(
498
474
  args?: DescribeDataSourcesCommandInput,
499
475
  paginationConfig?: Pick<
500
476
  PaginationConfiguration,
501
477
  Exclude<keyof PaginationConfiguration, "client">
502
- >
478
+ >,
503
479
  ): Paginator<DescribeDataSourcesCommandOutput>;
504
480
  paginateDescribeEvaluations(
505
481
  args?: DescribeEvaluationsCommandInput,
506
482
  paginationConfig?: Pick<
507
483
  PaginationConfiguration,
508
484
  Exclude<keyof PaginationConfiguration, "client">
509
- >
485
+ >,
510
486
  ): Paginator<DescribeEvaluationsCommandOutput>;
511
487
  paginateDescribeMLModels(
512
488
  args?: DescribeMLModelsCommandInput,
513
489
  paginationConfig?: Pick<
514
490
  PaginationConfiguration,
515
491
  Exclude<keyof PaginationConfiguration, "client">
516
- >
492
+ >,
517
493
  ): Paginator<DescribeMLModelsCommandOutput>;
518
494
  waitUntilBatchPredictionAvailable(
519
495
  args: DescribeBatchPredictionsCommandInput,
@@ -522,7 +498,7 @@ export interface MachineLearning {
522
498
  | Pick<
523
499
  WaiterConfiguration<MachineLearning>,
524
500
  Exclude<keyof WaiterConfiguration<MachineLearning>, "client">
525
- >
501
+ >,
526
502
  ): Promise<WaiterResult<DescribeBatchPredictionsCommandOutput>>;
527
503
  waitUntilDataSourceAvailable(
528
504
  args: DescribeDataSourcesCommandInput,
@@ -531,7 +507,7 @@ export interface MachineLearning {
531
507
  | Pick<
532
508
  WaiterConfiguration<MachineLearning>,
533
509
  Exclude<keyof WaiterConfiguration<MachineLearning>, "client">
534
- >
510
+ >,
535
511
  ): Promise<WaiterResult<DescribeDataSourcesCommandOutput>>;
536
512
  waitUntilEvaluationAvailable(
537
513
  args: DescribeEvaluationsCommandInput,
@@ -540,7 +516,7 @@ export interface MachineLearning {
540
516
  | Pick<
541
517
  WaiterConfiguration<MachineLearning>,
542
518
  Exclude<keyof WaiterConfiguration<MachineLearning>, "client">
543
- >
519
+ >,
544
520
  ): Promise<WaiterResult<DescribeEvaluationsCommandOutput>>;
545
521
  waitUntilMLModelAvailable(
546
522
  args: DescribeMLModelsCommandInput,
@@ -549,9 +525,7 @@ export interface MachineLearning {
549
525
  | Pick<
550
526
  WaiterConfiguration<MachineLearning>,
551
527
  Exclude<keyof WaiterConfiguration<MachineLearning>, "client">
552
- >
528
+ >,
553
529
  ): Promise<WaiterResult<DescribeMLModelsCommandOutput>>;
554
530
  }
555
- export declare class MachineLearning
556
- extends MachineLearningClient
557
- implements MachineLearning {}
531
+ export declare class MachineLearning extends MachineLearningClient implements MachineLearning {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -36,10 +33,7 @@ import {
36
33
  HttpAuthSchemeInputConfig,
37
34
  HttpAuthSchemeResolvedConfig,
38
35
  } from "./auth/httpAuthSchemeProvider";
39
- import {
40
- AddTagsCommandInput,
41
- AddTagsCommandOutput,
42
- } from "./commands/AddTagsCommand";
36
+ import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
43
37
  import {
44
38
  CreateBatchPredictionCommandInput,
45
39
  CreateBatchPredictionCommandOutput,
@@ -88,10 +82,7 @@ import {
88
82
  DeleteRealtimeEndpointCommandInput,
89
83
  DeleteRealtimeEndpointCommandOutput,
90
84
  } from "./commands/DeleteRealtimeEndpointCommand";
91
- import {
92
- DeleteTagsCommandInput,
93
- DeleteTagsCommandOutput,
94
- } from "./commands/DeleteTagsCommand";
85
+ import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
95
86
  import {
96
87
  DescribeBatchPredictionsCommandInput,
97
88
  DescribeBatchPredictionsCommandOutput,
@@ -124,14 +115,8 @@ import {
124
115
  GetEvaluationCommandInput,
125
116
  GetEvaluationCommandOutput,
126
117
  } from "./commands/GetEvaluationCommand";
127
- import {
128
- GetMLModelCommandInput,
129
- GetMLModelCommandOutput,
130
- } from "./commands/GetMLModelCommand";
131
- import {
132
- PredictCommandInput,
133
- PredictCommandOutput,
134
- } from "./commands/PredictCommand";
118
+ import { GetMLModelCommandInput, GetMLModelCommandOutput } from "./commands/GetMLModelCommand";
119
+ import { PredictCommandInput, PredictCommandOutput } from "./commands/PredictCommand";
135
120
  import {
136
121
  UpdateBatchPredictionCommandInput,
137
122
  UpdateBatchPredictionCommandOutput,
@@ -213,8 +198,7 @@ export type ServiceOutputTypes =
213
198
  | UpdateDataSourceCommandOutput
214
199
  | UpdateEvaluationCommandOutput
215
200
  | UpdateMLModelCommandOutput;
216
- export interface ClientDefaults
217
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
201
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
218
202
  requestHandler?: __HttpHandlerUserInput;
219
203
  sha256?: __ChecksumConstructor | __HashConstructor;
220
204
  urlParser?: __UrlParser;
@@ -239,9 +223,7 @@ export interface ClientDefaults
239
223
  extensions?: RuntimeExtension[];
240
224
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
241
225
  }
242
- export type MachineLearningClientConfigType = Partial<
243
- __SmithyConfiguration<__HttpHandlerOptions>
244
- > &
226
+ export type MachineLearningClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
245
227
  ClientDefaults &
246
228
  UserAgentInputConfig &
247
229
  RetryInputConfig &
@@ -250,8 +232,7 @@ export type MachineLearningClientConfigType = Partial<
250
232
  EndpointInputConfig<EndpointParameters> &
251
233
  HttpAuthSchemeInputConfig &
252
234
  ClientInputEndpointParameters;
253
- export interface MachineLearningClientConfig
254
- extends MachineLearningClientConfigType {}
235
+ export interface MachineLearningClientConfig extends MachineLearningClientConfigType {}
255
236
  export type MachineLearningClientResolvedConfigType =
256
237
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
257
238
  Required<ClientDefaults> &
@@ -263,8 +244,7 @@ export type MachineLearningClientResolvedConfigType =
263
244
  EndpointResolvedConfig<EndpointParameters> &
264
245
  HttpAuthSchemeResolvedConfig &
265
246
  ClientResolvedEndpointParameters;
266
- export interface MachineLearningClientResolvedConfig
267
- extends MachineLearningClientResolvedConfigType {}
247
+ export interface MachineLearningClientResolvedConfig extends MachineLearningClientResolvedConfigType {}
268
248
  export declare class MachineLearningClient extends __Client<
269
249
  __HttpHandlerOptions,
270
250
  ServiceInputTypes,
@@ -272,8 +252,6 @@ export declare class MachineLearningClient extends __Client<
272
252
  MachineLearningClientResolvedConfig
273
253
  > {
274
254
  readonly config: MachineLearningClientResolvedConfig;
275
- constructor(
276
- ...[configuration]: __CheckOptionalClientConfig<MachineLearningClientConfig>
277
- );
255
+ constructor(...[configuration]: __CheckOptionalClientConfig<MachineLearningClientConfig>);
278
256
  destroy(): void;
279
257
  }