@aws-sdk/client-bedrock 3.422.1 → 3.423.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/README.md +40 -0
- package/dist-cjs/Bedrock.js +10 -0
- package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
- package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +25 -12
- package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +386 -1
- package/dist-es/Bedrock.js +10 -0
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +22 -9
- package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +376 -1
- package/dist-types/Bedrock.d.ts +35 -0
- package/dist-types/BedrockClient.d.ts +7 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +370 -36
- package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Bedrock.d.ts +363 -115
- package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -15
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +7 -12
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
- package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
- package/package.json +3 -3
|
@@ -1,1144 +1,412 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
export
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
export
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
export interface
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
*/
|
|
414
|
-
providerName?: string;
|
|
415
|
-
/**
|
|
416
|
-
* @public
|
|
417
|
-
* <p>The input modalities that the model supports.</p>
|
|
418
|
-
*/
|
|
419
|
-
inputModalities?: (ModelModality | string)[];
|
|
420
|
-
/**
|
|
421
|
-
* @public
|
|
422
|
-
* <p>The output modalities that the model supports.</p>
|
|
423
|
-
*/
|
|
424
|
-
outputModalities?: (ModelModality | string)[];
|
|
425
|
-
/**
|
|
426
|
-
* @public
|
|
427
|
-
* <p>Indicates whether the model supports streaming.</p>
|
|
428
|
-
*/
|
|
429
|
-
responseStreamingSupported?: boolean;
|
|
430
|
-
/**
|
|
431
|
-
* @public
|
|
432
|
-
* <p>The customization that the model supports.</p>
|
|
433
|
-
*/
|
|
434
|
-
customizationsSupported?: (ModelCustomization | string)[];
|
|
435
|
-
/**
|
|
436
|
-
* @public
|
|
437
|
-
* <p>The inference types that the model supports.</p>
|
|
438
|
-
*/
|
|
439
|
-
inferenceTypesSupported?: (InferenceType | string)[];
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* @public
|
|
443
|
-
*/
|
|
444
|
-
export interface GetFoundationModelResponse {
|
|
445
|
-
/**
|
|
446
|
-
* @public
|
|
447
|
-
* <p>Information about the foundation model.</p>
|
|
448
|
-
*/
|
|
449
|
-
modelDetails?: FoundationModelDetails;
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* @public
|
|
453
|
-
* @enum
|
|
454
|
-
*/
|
|
455
|
-
export declare const SortModelsBy: {
|
|
456
|
-
readonly CREATION_TIME: "CreationTime";
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* @public
|
|
460
|
-
*/
|
|
461
|
-
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
462
|
-
/**
|
|
463
|
-
* @public
|
|
464
|
-
* @enum
|
|
465
|
-
*/
|
|
466
|
-
export declare const SortOrder: {
|
|
467
|
-
readonly ASCENDING: "Ascending";
|
|
468
|
-
readonly DESCENDING: "Descending";
|
|
469
|
-
};
|
|
470
|
-
/**
|
|
471
|
-
* @public
|
|
472
|
-
*/
|
|
473
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
474
|
-
/**
|
|
475
|
-
* @public
|
|
476
|
-
*/
|
|
477
|
-
export interface ListCustomModelsRequest {
|
|
478
|
-
/**
|
|
479
|
-
* @public
|
|
480
|
-
* <p>Return custom models created before the specified time. </p>
|
|
481
|
-
*/
|
|
482
|
-
creationTimeBefore?: Date;
|
|
483
|
-
/**
|
|
484
|
-
* @public
|
|
485
|
-
* <p>Return custom models created after the specified time. </p>
|
|
486
|
-
*/
|
|
487
|
-
creationTimeAfter?: Date;
|
|
488
|
-
/**
|
|
489
|
-
* @public
|
|
490
|
-
* <p>Return custom models only if the job name contains these characters.</p>
|
|
491
|
-
*/
|
|
492
|
-
nameContains?: string;
|
|
493
|
-
/**
|
|
494
|
-
* @public
|
|
495
|
-
* <p>Return custom models only if the base model ARN matches this parameter.</p>
|
|
496
|
-
*/
|
|
497
|
-
baseModelArnEquals?: string;
|
|
498
|
-
/**
|
|
499
|
-
* @public
|
|
500
|
-
* <p>Return custom models only if the foundation model ARN matches this parameter.</p>
|
|
501
|
-
*/
|
|
502
|
-
foundationModelArnEquals?: string;
|
|
503
|
-
/**
|
|
504
|
-
* @public
|
|
505
|
-
* <p>Maximum number of results to return in the response.</p>
|
|
506
|
-
*/
|
|
507
|
-
maxResults?: number;
|
|
508
|
-
/**
|
|
509
|
-
* @public
|
|
510
|
-
* <p>Continuation token from the previous response, for Bedrock to list the next set of results.</p>
|
|
511
|
-
*/
|
|
512
|
-
nextToken?: string;
|
|
513
|
-
/**
|
|
514
|
-
* @public
|
|
515
|
-
* <p>The field to sort by in the returned list of models.</p>
|
|
516
|
-
*/
|
|
517
|
-
sortBy?: SortModelsBy | string;
|
|
518
|
-
/**
|
|
519
|
-
* @public
|
|
520
|
-
* <p>The sort order of the results.</p>
|
|
521
|
-
*/
|
|
522
|
-
sortOrder?: SortOrder | string;
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* @public
|
|
526
|
-
* <p>Summary information for a custom model.</p>
|
|
527
|
-
*/
|
|
528
|
-
export interface CustomModelSummary {
|
|
529
|
-
/**
|
|
530
|
-
* @public
|
|
531
|
-
* <p>The ARN of the custom model.</p>
|
|
532
|
-
*/
|
|
533
|
-
modelArn: string | undefined;
|
|
534
|
-
/**
|
|
535
|
-
* @public
|
|
536
|
-
* <p>The name of the custom model.</p>
|
|
537
|
-
*/
|
|
538
|
-
modelName: string | undefined;
|
|
539
|
-
/**
|
|
540
|
-
* @public
|
|
541
|
-
* <p>Creation time of the model.</p>
|
|
542
|
-
*/
|
|
543
|
-
creationTime: Date | undefined;
|
|
544
|
-
/**
|
|
545
|
-
* @public
|
|
546
|
-
* <p>The base model ARN.</p>
|
|
547
|
-
*/
|
|
548
|
-
baseModelArn: string | undefined;
|
|
549
|
-
/**
|
|
550
|
-
* @public
|
|
551
|
-
* <p>The base model name.</p>
|
|
552
|
-
*/
|
|
553
|
-
baseModelName: string | undefined;
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* @public
|
|
557
|
-
*/
|
|
558
|
-
export interface ListCustomModelsResponse {
|
|
559
|
-
/**
|
|
560
|
-
* @public
|
|
561
|
-
* <p>Continuation token for the next request to list the next set of results.</p>
|
|
562
|
-
*/
|
|
563
|
-
nextToken?: string;
|
|
564
|
-
/**
|
|
565
|
-
* @public
|
|
566
|
-
* <p>Model summaries.</p>
|
|
567
|
-
*/
|
|
568
|
-
modelSummaries?: CustomModelSummary[];
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* @public
|
|
572
|
-
*/
|
|
573
|
-
export interface ListFoundationModelsRequest {
|
|
574
|
-
/**
|
|
575
|
-
* @public
|
|
576
|
-
* <p>A Bedrock model provider.</p>
|
|
577
|
-
*/
|
|
578
|
-
byProvider?: string;
|
|
579
|
-
/**
|
|
580
|
-
* @public
|
|
581
|
-
* <p>List by customization type.</p>
|
|
582
|
-
*/
|
|
583
|
-
byCustomizationType?: ModelCustomization | string;
|
|
584
|
-
/**
|
|
585
|
-
* @public
|
|
586
|
-
* <p>List by output modality type.</p>
|
|
587
|
-
*/
|
|
588
|
-
byOutputModality?: ModelModality | string;
|
|
589
|
-
/**
|
|
590
|
-
* @public
|
|
591
|
-
* <p>List by inference type.</p>
|
|
592
|
-
*/
|
|
593
|
-
byInferenceType?: InferenceType | string;
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* @public
|
|
597
|
-
* <p>Summary information for a foundation model.</p>
|
|
598
|
-
*/
|
|
599
|
-
export interface FoundationModelSummary {
|
|
600
|
-
/**
|
|
601
|
-
* @public
|
|
602
|
-
* <p>The ARN of the foundation model.</p>
|
|
603
|
-
*/
|
|
604
|
-
modelArn: string | undefined;
|
|
605
|
-
/**
|
|
606
|
-
* @public
|
|
607
|
-
* <p>The model Id of the foundation model.</p>
|
|
608
|
-
*/
|
|
609
|
-
modelId: string | undefined;
|
|
610
|
-
/**
|
|
611
|
-
* @public
|
|
612
|
-
* <p>The name of the model.</p>
|
|
613
|
-
*/
|
|
614
|
-
modelName?: string;
|
|
615
|
-
/**
|
|
616
|
-
* @public
|
|
617
|
-
* <p>The model's provider name.</p>
|
|
618
|
-
*/
|
|
619
|
-
providerName?: string;
|
|
620
|
-
/**
|
|
621
|
-
* @public
|
|
622
|
-
* <p>The input modalities that the model supports.</p>
|
|
623
|
-
*/
|
|
624
|
-
inputModalities?: (ModelModality | string)[];
|
|
625
|
-
/**
|
|
626
|
-
* @public
|
|
627
|
-
* <p>The output modalities that the model supports.</p>
|
|
628
|
-
*/
|
|
629
|
-
outputModalities?: (ModelModality | string)[];
|
|
630
|
-
/**
|
|
631
|
-
* @public
|
|
632
|
-
* <p>Indicates whether the model supports streaming.</p>
|
|
633
|
-
*/
|
|
634
|
-
responseStreamingSupported?: boolean;
|
|
635
|
-
/**
|
|
636
|
-
* @public
|
|
637
|
-
* <p>Whether the model supports fine-tuning or continual pre-training.</p>
|
|
638
|
-
*/
|
|
639
|
-
customizationsSupported?: (ModelCustomization | string)[];
|
|
640
|
-
/**
|
|
641
|
-
* @public
|
|
642
|
-
* <p>The inference types that the model supports.</p>
|
|
643
|
-
*/
|
|
644
|
-
inferenceTypesSupported?: (InferenceType | string)[];
|
|
645
|
-
}
|
|
646
|
-
/**
|
|
647
|
-
* @public
|
|
648
|
-
*/
|
|
649
|
-
export interface ListFoundationModelsResponse {
|
|
650
|
-
/**
|
|
651
|
-
* @public
|
|
652
|
-
* <p>A list of bedrock foundation models.</p>
|
|
653
|
-
*/
|
|
654
|
-
modelSummaries?: FoundationModelSummary[];
|
|
655
|
-
}
|
|
656
|
-
/**
|
|
657
|
-
* @public
|
|
658
|
-
*/
|
|
659
|
-
export interface ListTagsForResourceRequest {
|
|
660
|
-
/**
|
|
661
|
-
* @public
|
|
662
|
-
* <p>The ARN of the resource.</p>
|
|
663
|
-
*/
|
|
664
|
-
resourceARN: string | undefined;
|
|
665
|
-
}
|
|
666
|
-
/**
|
|
667
|
-
* @public
|
|
668
|
-
* <p>Definition of the key/value pair for a tag.</p>
|
|
669
|
-
*/
|
|
670
|
-
export interface Tag {
|
|
671
|
-
/**
|
|
672
|
-
* @public
|
|
673
|
-
* <p>Key for the tag.</p>
|
|
674
|
-
*/
|
|
675
|
-
key: string | undefined;
|
|
676
|
-
/**
|
|
677
|
-
* @public
|
|
678
|
-
* <p>Value for the tag.</p>
|
|
679
|
-
*/
|
|
680
|
-
value: string | undefined;
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* @public
|
|
684
|
-
*/
|
|
685
|
-
export interface ListTagsForResourceResponse {
|
|
686
|
-
/**
|
|
687
|
-
* @public
|
|
688
|
-
* <p>An array of the tags associated with this resource.</p>
|
|
689
|
-
*/
|
|
690
|
-
tags?: Tag[];
|
|
691
|
-
}
|
|
692
|
-
/**
|
|
693
|
-
* @public
|
|
694
|
-
*/
|
|
695
|
-
export interface TagResourceRequest {
|
|
696
|
-
/**
|
|
697
|
-
* @public
|
|
698
|
-
* <p>The ARN of the resource to tag.</p>
|
|
699
|
-
*/
|
|
700
|
-
resourceARN: string | undefined;
|
|
701
|
-
/**
|
|
702
|
-
* @public
|
|
703
|
-
* <p>Tags to associate with the resource.</p>
|
|
704
|
-
*/
|
|
705
|
-
tags: Tag[] | undefined;
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* @public
|
|
709
|
-
*/
|
|
710
|
-
export interface TagResourceResponse {
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* @public
|
|
714
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
715
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
716
|
-
*/
|
|
717
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
718
|
-
readonly name: "TooManyTagsException";
|
|
719
|
-
readonly $fault: "client";
|
|
720
|
-
/**
|
|
721
|
-
* @public
|
|
722
|
-
* <p>The name of the resource with too many tags.</p>
|
|
723
|
-
*/
|
|
724
|
-
resourceName?: string;
|
|
725
|
-
/**
|
|
726
|
-
* @internal
|
|
727
|
-
*/
|
|
728
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
729
|
-
}
|
|
730
|
-
/**
|
|
731
|
-
* @public
|
|
732
|
-
*/
|
|
733
|
-
export interface UntagResourceRequest {
|
|
734
|
-
/**
|
|
735
|
-
* @public
|
|
736
|
-
* <p>The ARN of the resource to untag.</p>
|
|
737
|
-
*/
|
|
738
|
-
resourceARN: string | undefined;
|
|
739
|
-
/**
|
|
740
|
-
* @public
|
|
741
|
-
* <p>Tag keys of the tags to remove from the resource.</p>
|
|
742
|
-
*/
|
|
743
|
-
tagKeys: string[] | undefined;
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* @public
|
|
747
|
-
*/
|
|
748
|
-
export interface UntagResourceResponse {
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* @public
|
|
752
|
-
* <p>VPC configuration.</p>
|
|
753
|
-
*/
|
|
754
|
-
export interface VpcConfig {
|
|
755
|
-
/**
|
|
756
|
-
* @public
|
|
757
|
-
* <p>VPC configuration subnets.</p>
|
|
758
|
-
*/
|
|
759
|
-
subnetIds: string[] | undefined;
|
|
760
|
-
/**
|
|
761
|
-
* @public
|
|
762
|
-
* <p>VPC configuration security group Ids.</p>
|
|
763
|
-
*/
|
|
764
|
-
securityGroupIds: string[] | undefined;
|
|
765
|
-
}
|
|
766
|
-
/**
|
|
767
|
-
* @public
|
|
768
|
-
*/
|
|
769
|
-
export interface CreateModelCustomizationJobRequest {
|
|
770
|
-
/**
|
|
771
|
-
* @public
|
|
772
|
-
* <p>Enter a unique name for the fine-tuning job.</p>
|
|
773
|
-
*/
|
|
774
|
-
jobName: string | undefined;
|
|
775
|
-
/**
|
|
776
|
-
* @public
|
|
777
|
-
* <p>Enter a name for the custom model.</p>
|
|
778
|
-
*/
|
|
779
|
-
customModelName: string | undefined;
|
|
780
|
-
/**
|
|
781
|
-
* @public
|
|
782
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
|
|
783
|
-
* For example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket.
|
|
784
|
-
* To pass this role to Bedrock, the caller of this API must have the <code>iam:PassRole</code> permission.
|
|
785
|
-
* </p>
|
|
786
|
-
*/
|
|
787
|
-
roleArn: string | undefined;
|
|
788
|
-
/**
|
|
789
|
-
* @public
|
|
790
|
-
* <p>Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.</p>
|
|
791
|
-
*/
|
|
792
|
-
clientRequestToken?: string;
|
|
793
|
-
/**
|
|
794
|
-
* @public
|
|
795
|
-
* <p>Name of the base model.</p>
|
|
796
|
-
*/
|
|
797
|
-
baseModelIdentifier: string | undefined;
|
|
798
|
-
/**
|
|
799
|
-
* @public
|
|
800
|
-
* <p>The custom model is encrypted at rest using this key.</p>
|
|
801
|
-
*/
|
|
802
|
-
customModelKmsKeyId?: string;
|
|
803
|
-
/**
|
|
804
|
-
* @public
|
|
805
|
-
* <p>Assign tags to the job.</p>
|
|
806
|
-
*/
|
|
807
|
-
jobTags?: Tag[];
|
|
808
|
-
/**
|
|
809
|
-
* @public
|
|
810
|
-
* <p>Assign tags to the custom model.</p>
|
|
811
|
-
*/
|
|
812
|
-
customModelTags?: Tag[];
|
|
813
|
-
/**
|
|
814
|
-
* @public
|
|
815
|
-
* <p>Information about the training dataset.</p>
|
|
816
|
-
*/
|
|
817
|
-
trainingDataConfig: TrainingDataConfig | undefined;
|
|
818
|
-
/**
|
|
819
|
-
* @public
|
|
820
|
-
* <p>Information about the validation dataset. </p>
|
|
821
|
-
*/
|
|
822
|
-
validationDataConfig?: ValidationDataConfig;
|
|
823
|
-
/**
|
|
824
|
-
* @public
|
|
825
|
-
* <p>S3 location for the output data.</p>
|
|
826
|
-
*/
|
|
827
|
-
outputDataConfig: OutputDataConfig | undefined;
|
|
828
|
-
/**
|
|
829
|
-
* @public
|
|
830
|
-
* <p>Parameters related to tuning the model.</p>
|
|
831
|
-
*/
|
|
832
|
-
hyperParameters: Record<string, string> | undefined;
|
|
833
|
-
/**
|
|
834
|
-
* @public
|
|
835
|
-
* <p>VPC configuration (optional). Configuration parameters for the
|
|
836
|
-
* private Virtual Private Cloud (VPC) that contains the resources you are using for this job.</p>
|
|
837
|
-
*/
|
|
838
|
-
vpcConfig?: VpcConfig;
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* @public
|
|
842
|
-
*/
|
|
843
|
-
export interface CreateModelCustomizationJobResponse {
|
|
844
|
-
/**
|
|
845
|
-
* @public
|
|
846
|
-
* <p>ARN of the fine tuning job</p>
|
|
847
|
-
*/
|
|
848
|
-
jobArn: string | undefined;
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
* @public
|
|
852
|
-
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
853
|
-
*/
|
|
854
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
855
|
-
readonly name: "ServiceQuotaExceededException";
|
|
856
|
-
readonly $fault: "client";
|
|
857
|
-
/**
|
|
858
|
-
* @internal
|
|
859
|
-
*/
|
|
860
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* @public
|
|
864
|
-
*/
|
|
865
|
-
export interface GetModelCustomizationJobRequest {
|
|
866
|
-
/**
|
|
867
|
-
* @public
|
|
868
|
-
* <p>Identifier for the customization job.</p>
|
|
869
|
-
*/
|
|
870
|
-
jobIdentifier: string | undefined;
|
|
871
|
-
}
|
|
872
|
-
/**
|
|
873
|
-
* @public
|
|
874
|
-
* @enum
|
|
875
|
-
*/
|
|
876
|
-
export declare const ModelCustomizationJobStatus: {
|
|
877
|
-
readonly COMPLETED: "Completed";
|
|
878
|
-
readonly FAILED: "Failed";
|
|
879
|
-
readonly IN_PROGRESS: "InProgress";
|
|
880
|
-
readonly STOPPED: "Stopped";
|
|
881
|
-
readonly STOPPING: "Stopping";
|
|
882
|
-
};
|
|
883
|
-
/**
|
|
884
|
-
* @public
|
|
885
|
-
*/
|
|
886
|
-
export type ModelCustomizationJobStatus = (typeof ModelCustomizationJobStatus)[keyof typeof ModelCustomizationJobStatus];
|
|
887
|
-
/**
|
|
888
|
-
* @public
|
|
889
|
-
*/
|
|
890
|
-
export interface GetModelCustomizationJobResponse {
|
|
891
|
-
/**
|
|
892
|
-
* @public
|
|
893
|
-
* <p>The ARN of the customization job.</p>
|
|
894
|
-
*/
|
|
895
|
-
jobArn: string | undefined;
|
|
896
|
-
/**
|
|
897
|
-
* @public
|
|
898
|
-
* <p>The name of the customization job.</p>
|
|
899
|
-
*/
|
|
900
|
-
jobName: string | undefined;
|
|
901
|
-
/**
|
|
902
|
-
* @public
|
|
903
|
-
* <p>The name of the output model.</p>
|
|
904
|
-
*/
|
|
905
|
-
outputModelName: string | undefined;
|
|
906
|
-
/**
|
|
907
|
-
* @public
|
|
908
|
-
* <p>The ARN of the output model.</p>
|
|
909
|
-
*/
|
|
910
|
-
outputModelArn?: string;
|
|
911
|
-
/**
|
|
912
|
-
* @public
|
|
913
|
-
* <p>The token that you specified in the CreateCustomizationJob request.</p>
|
|
914
|
-
*/
|
|
915
|
-
clientRequestToken?: string;
|
|
916
|
-
/**
|
|
917
|
-
* @public
|
|
918
|
-
* <p>The ARN of the IAM role.</p>
|
|
919
|
-
*/
|
|
920
|
-
roleArn: string | undefined;
|
|
921
|
-
/**
|
|
922
|
-
* @public
|
|
923
|
-
* <p>The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use.
|
|
924
|
-
* If the job failed, the failure message contains information about why the job failed.</p>
|
|
925
|
-
*/
|
|
926
|
-
status?: ModelCustomizationJobStatus | string;
|
|
927
|
-
/**
|
|
928
|
-
* @public
|
|
929
|
-
* <p>Information about why the job failed.</p>
|
|
930
|
-
*/
|
|
931
|
-
failureMessage?: string;
|
|
932
|
-
/**
|
|
933
|
-
* @public
|
|
934
|
-
* <p>Time that the resource was created.</p>
|
|
935
|
-
*/
|
|
936
|
-
creationTime: Date | undefined;
|
|
937
|
-
/**
|
|
938
|
-
* @public
|
|
939
|
-
* <p>Time that the resource was last modified.</p>
|
|
940
|
-
*/
|
|
941
|
-
lastModifiedTime?: Date;
|
|
942
|
-
/**
|
|
943
|
-
* @public
|
|
944
|
-
* <p>Time that the resource transitioned to terminal state.</p>
|
|
945
|
-
*/
|
|
946
|
-
endTime?: Date;
|
|
947
|
-
/**
|
|
948
|
-
* @public
|
|
949
|
-
* <p>ARN of the base model.</p>
|
|
950
|
-
*/
|
|
951
|
-
baseModelArn: string | undefined;
|
|
952
|
-
/**
|
|
953
|
-
* @public
|
|
954
|
-
* <p>The hyperparameter values for the job.</p>
|
|
955
|
-
*/
|
|
956
|
-
hyperParameters: Record<string, string> | undefined;
|
|
957
|
-
/**
|
|
958
|
-
* @public
|
|
959
|
-
* <p>S3 Location of the training data.</p>
|
|
960
|
-
*/
|
|
961
|
-
trainingDataConfig: TrainingDataConfig | undefined;
|
|
962
|
-
/**
|
|
963
|
-
* @public
|
|
964
|
-
* <p>Array of up to 10 validators.</p>
|
|
965
|
-
*/
|
|
966
|
-
validationDataConfig: ValidationDataConfig | undefined;
|
|
967
|
-
/**
|
|
968
|
-
* @public
|
|
969
|
-
* <p>Output data configuration </p>
|
|
970
|
-
*/
|
|
971
|
-
outputDataConfig: OutputDataConfig | undefined;
|
|
972
|
-
/**
|
|
973
|
-
* @public
|
|
974
|
-
* <p>The custom model is encrypted at rest using this key.</p>
|
|
975
|
-
*/
|
|
976
|
-
outputModelKmsKeyArn?: string;
|
|
977
|
-
/**
|
|
978
|
-
* @public
|
|
979
|
-
* <p>Metrics associated with the custom job.</p>
|
|
980
|
-
*/
|
|
981
|
-
trainingMetrics?: TrainingMetrics;
|
|
982
|
-
/**
|
|
983
|
-
* @public
|
|
984
|
-
* <p>The loss metric for each validator that you provided in the createjob request.</p>
|
|
985
|
-
*/
|
|
986
|
-
validationMetrics?: ValidatorMetric[];
|
|
987
|
-
/**
|
|
988
|
-
* @public
|
|
989
|
-
* <p>VPC configuration for the custom model job.</p>
|
|
990
|
-
*/
|
|
991
|
-
vpcConfig?: VpcConfig;
|
|
992
|
-
}
|
|
993
|
-
/**
|
|
994
|
-
* @public
|
|
995
|
-
* @enum
|
|
996
|
-
*/
|
|
997
|
-
export declare const SortJobsBy: {
|
|
998
|
-
readonly CREATION_TIME: "CreationTime";
|
|
999
|
-
};
|
|
1000
|
-
/**
|
|
1001
|
-
* @public
|
|
1002
|
-
*/
|
|
1003
|
-
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
1004
|
-
/**
|
|
1005
|
-
* @public
|
|
1006
|
-
* @enum
|
|
1007
|
-
*/
|
|
1008
|
-
export declare const FineTuningJobStatus: {
|
|
1009
|
-
readonly COMPLETED: "Completed";
|
|
1010
|
-
readonly FAILED: "Failed";
|
|
1011
|
-
readonly IN_PROGRESS: "InProgress";
|
|
1012
|
-
readonly STOPPED: "Stopped";
|
|
1013
|
-
readonly STOPPING: "Stopping";
|
|
1014
|
-
};
|
|
1015
|
-
/**
|
|
1016
|
-
* @public
|
|
1017
|
-
*/
|
|
1018
|
-
export type FineTuningJobStatus = (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
|
|
1019
|
-
/**
|
|
1020
|
-
* @public
|
|
1021
|
-
*/
|
|
1022
|
-
export interface ListModelCustomizationJobsRequest {
|
|
1023
|
-
/**
|
|
1024
|
-
* @public
|
|
1025
|
-
* <p>Return customization jobs created after the specified time. </p>
|
|
1026
|
-
*/
|
|
1027
|
-
creationTimeAfter?: Date;
|
|
1028
|
-
/**
|
|
1029
|
-
* @public
|
|
1030
|
-
* <p>Return customization jobs created before the specified time. </p>
|
|
1031
|
-
*/
|
|
1032
|
-
creationTimeBefore?: Date;
|
|
1033
|
-
/**
|
|
1034
|
-
* @public
|
|
1035
|
-
* <p>Return customization jobs with the specified status. </p>
|
|
1036
|
-
*/
|
|
1037
|
-
statusEquals?: FineTuningJobStatus | string;
|
|
1038
|
-
/**
|
|
1039
|
-
* @public
|
|
1040
|
-
* <p>Return customization jobs only if the job name contains these characters.</p>
|
|
1041
|
-
*/
|
|
1042
|
-
nameContains?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* @public
|
|
1045
|
-
* <p>Maximum number of results to return in the response.</p>
|
|
1046
|
-
*/
|
|
1047
|
-
maxResults?: number;
|
|
1048
|
-
/**
|
|
1049
|
-
* @public
|
|
1050
|
-
* <p>Continuation token from the previous response, for Bedrock to list the next set of results.</p>
|
|
1051
|
-
*/
|
|
1052
|
-
nextToken?: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* @public
|
|
1055
|
-
* <p>The field to sort by in the returned list of jobs.</p>
|
|
1056
|
-
*/
|
|
1057
|
-
sortBy?: SortJobsBy | string;
|
|
1058
|
-
/**
|
|
1059
|
-
* @public
|
|
1060
|
-
* <p>The sort order of the results.</p>
|
|
1061
|
-
*/
|
|
1062
|
-
sortOrder?: SortOrder | string;
|
|
1063
|
-
}
|
|
1064
|
-
/**
|
|
1065
|
-
* @public
|
|
1066
|
-
* <p>Information about one customization job</p>
|
|
1067
|
-
*/
|
|
1068
|
-
export interface ModelCustomizationJobSummary {
|
|
1069
|
-
/**
|
|
1070
|
-
* @public
|
|
1071
|
-
* <p>ARN of the customization job.</p>
|
|
1072
|
-
*/
|
|
1073
|
-
jobArn: string | undefined;
|
|
1074
|
-
/**
|
|
1075
|
-
* @public
|
|
1076
|
-
* <p>ARN of the base model.</p>
|
|
1077
|
-
*/
|
|
1078
|
-
baseModelArn: string | undefined;
|
|
1079
|
-
/**
|
|
1080
|
-
* @public
|
|
1081
|
-
* <p>Name of the customization job.</p>
|
|
1082
|
-
*/
|
|
1083
|
-
jobName: string | undefined;
|
|
1084
|
-
/**
|
|
1085
|
-
* @public
|
|
1086
|
-
* <p>Status of the customization job. </p>
|
|
1087
|
-
*/
|
|
1088
|
-
status: ModelCustomizationJobStatus | string | undefined;
|
|
1089
|
-
/**
|
|
1090
|
-
* @public
|
|
1091
|
-
* <p>Time that the customization job was last modified.</p>
|
|
1092
|
-
*/
|
|
1093
|
-
lastModifiedTime?: Date;
|
|
1094
|
-
/**
|
|
1095
|
-
* @public
|
|
1096
|
-
* <p>Creation time of the custom model. </p>
|
|
1097
|
-
*/
|
|
1098
|
-
creationTime: Date | undefined;
|
|
1099
|
-
/**
|
|
1100
|
-
* @public
|
|
1101
|
-
* <p>Time that the customization job ended.</p>
|
|
1102
|
-
*/
|
|
1103
|
-
endTime?: Date;
|
|
1104
|
-
/**
|
|
1105
|
-
* @public
|
|
1106
|
-
* <p>ARN of the custom model.</p>
|
|
1107
|
-
*/
|
|
1108
|
-
customModelArn?: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* @public
|
|
1111
|
-
* <p>Name of the custom model.</p>
|
|
1112
|
-
*/
|
|
1113
|
-
customModelName?: string;
|
|
1114
|
-
}
|
|
1115
|
-
/**
|
|
1116
|
-
* @public
|
|
1117
|
-
*/
|
|
1118
|
-
export interface ListModelCustomizationJobsResponse {
|
|
1119
|
-
/**
|
|
1120
|
-
* @public
|
|
1121
|
-
* <p>Page continuation token to use in the next request.</p>
|
|
1122
|
-
*/
|
|
1123
|
-
nextToken?: string;
|
|
1124
|
-
/**
|
|
1125
|
-
* @public
|
|
1126
|
-
* <p>Job summaries.</p>
|
|
1127
|
-
*/
|
|
1128
|
-
modelCustomizationJobSummaries?: ModelCustomizationJobSummary[];
|
|
1129
|
-
}
|
|
1130
|
-
/**
|
|
1131
|
-
* @public
|
|
1132
|
-
*/
|
|
1133
|
-
export interface StopModelCustomizationJobRequest {
|
|
1134
|
-
/**
|
|
1135
|
-
* @public
|
|
1136
|
-
* <p>Job identifier of the job to stop.</p>
|
|
1137
|
-
*/
|
|
1138
|
-
jobIdentifier: string | undefined;
|
|
1139
|
-
}
|
|
1140
|
-
/**
|
|
1141
|
-
* @public
|
|
1142
|
-
*/
|
|
1143
|
-
export interface StopModelCustomizationJobResponse {
|
|
1144
|
-
}
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteModelInvocationLoggingConfigurationRequest {}
|
|
11
|
+
export interface DeleteModelInvocationLoggingConfigurationResponse {}
|
|
12
|
+
export declare class InternalServerException extends __BaseException {
|
|
13
|
+
readonly name: "InternalServerException";
|
|
14
|
+
readonly $fault: "server";
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ThrottlingException extends __BaseException {
|
|
20
|
+
readonly name: "ThrottlingException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export interface GetModelInvocationLoggingConfigurationRequest {}
|
|
27
|
+
export interface S3Config {
|
|
28
|
+
bucketName: string | undefined;
|
|
29
|
+
keyPrefix?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface CloudWatchConfig {
|
|
32
|
+
logGroupName: string | undefined;
|
|
33
|
+
roleArn: string | undefined;
|
|
34
|
+
largeDataDeliveryS3Config?: S3Config;
|
|
35
|
+
}
|
|
36
|
+
export interface LoggingConfig {
|
|
37
|
+
cloudWatchConfig?: CloudWatchConfig;
|
|
38
|
+
s3Config?: S3Config;
|
|
39
|
+
textDataDeliveryEnabled?: boolean;
|
|
40
|
+
imageDataDeliveryEnabled?: boolean;
|
|
41
|
+
embeddingDataDeliveryEnabled?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface GetModelInvocationLoggingConfigurationResponse {
|
|
44
|
+
loggingConfig?: LoggingConfig;
|
|
45
|
+
}
|
|
46
|
+
export interface PutModelInvocationLoggingConfigurationRequest {
|
|
47
|
+
loggingConfig: LoggingConfig | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface PutModelInvocationLoggingConfigurationResponse {}
|
|
50
|
+
export declare class ValidationException extends __BaseException {
|
|
51
|
+
readonly name: "ValidationException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class ConflictException extends __BaseException {
|
|
58
|
+
readonly name: "ConflictException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
61
|
+
}
|
|
62
|
+
export interface DeleteCustomModelRequest {
|
|
63
|
+
modelIdentifier: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface DeleteCustomModelResponse {}
|
|
66
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
readonly name: "ResourceNotFoundException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
constructor(
|
|
70
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
export interface GetCustomModelRequest {
|
|
74
|
+
modelIdentifier: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface OutputDataConfig {
|
|
77
|
+
s3Uri: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface TrainingDataConfig {
|
|
80
|
+
s3Uri: string | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface TrainingMetrics {
|
|
83
|
+
trainingLoss?: number;
|
|
84
|
+
}
|
|
85
|
+
export interface Validator {
|
|
86
|
+
s3Uri: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface ValidationDataConfig {
|
|
89
|
+
validators: Validator[] | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface ValidatorMetric {
|
|
92
|
+
validationLoss?: number;
|
|
93
|
+
}
|
|
94
|
+
export interface GetCustomModelResponse {
|
|
95
|
+
modelArn: string | undefined;
|
|
96
|
+
modelName: string | undefined;
|
|
97
|
+
jobName?: string;
|
|
98
|
+
jobArn: string | undefined;
|
|
99
|
+
baseModelArn: string | undefined;
|
|
100
|
+
modelKmsKeyArn?: string;
|
|
101
|
+
hyperParameters?: Record<string, string>;
|
|
102
|
+
trainingDataConfig: TrainingDataConfig | undefined;
|
|
103
|
+
validationDataConfig?: ValidationDataConfig;
|
|
104
|
+
outputDataConfig: OutputDataConfig | undefined;
|
|
105
|
+
trainingMetrics?: TrainingMetrics;
|
|
106
|
+
validationMetrics?: ValidatorMetric[];
|
|
107
|
+
creationTime: Date | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface GetFoundationModelRequest {
|
|
110
|
+
modelIdentifier: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export declare const ModelCustomization: {
|
|
113
|
+
readonly FINE_TUNING: "FINE_TUNING";
|
|
114
|
+
};
|
|
115
|
+
export type ModelCustomization =
|
|
116
|
+
(typeof ModelCustomization)[keyof typeof ModelCustomization];
|
|
117
|
+
export declare const InferenceType: {
|
|
118
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
119
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
120
|
+
};
|
|
121
|
+
export type InferenceType = (typeof InferenceType)[keyof typeof InferenceType];
|
|
122
|
+
export declare const ModelModality: {
|
|
123
|
+
readonly EMBEDDING: "EMBEDDING";
|
|
124
|
+
readonly IMAGE: "IMAGE";
|
|
125
|
+
readonly TEXT: "TEXT";
|
|
126
|
+
};
|
|
127
|
+
export type ModelModality = (typeof ModelModality)[keyof typeof ModelModality];
|
|
128
|
+
export interface FoundationModelDetails {
|
|
129
|
+
modelArn: string | undefined;
|
|
130
|
+
modelId: string | undefined;
|
|
131
|
+
modelName?: string;
|
|
132
|
+
providerName?: string;
|
|
133
|
+
inputModalities?: (ModelModality | string)[];
|
|
134
|
+
outputModalities?: (ModelModality | string)[];
|
|
135
|
+
responseStreamingSupported?: boolean;
|
|
136
|
+
customizationsSupported?: (ModelCustomization | string)[];
|
|
137
|
+
inferenceTypesSupported?: (InferenceType | string)[];
|
|
138
|
+
}
|
|
139
|
+
export interface GetFoundationModelResponse {
|
|
140
|
+
modelDetails?: FoundationModelDetails;
|
|
141
|
+
}
|
|
142
|
+
export declare const SortModelsBy: {
|
|
143
|
+
readonly CREATION_TIME: "CreationTime";
|
|
144
|
+
};
|
|
145
|
+
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
146
|
+
export declare const SortOrder: {
|
|
147
|
+
readonly ASCENDING: "Ascending";
|
|
148
|
+
readonly DESCENDING: "Descending";
|
|
149
|
+
};
|
|
150
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
151
|
+
export interface ListCustomModelsRequest {
|
|
152
|
+
creationTimeBefore?: Date;
|
|
153
|
+
creationTimeAfter?: Date;
|
|
154
|
+
nameContains?: string;
|
|
155
|
+
baseModelArnEquals?: string;
|
|
156
|
+
foundationModelArnEquals?: string;
|
|
157
|
+
maxResults?: number;
|
|
158
|
+
nextToken?: string;
|
|
159
|
+
sortBy?: SortModelsBy | string;
|
|
160
|
+
sortOrder?: SortOrder | string;
|
|
161
|
+
}
|
|
162
|
+
export interface CustomModelSummary {
|
|
163
|
+
modelArn: string | undefined;
|
|
164
|
+
modelName: string | undefined;
|
|
165
|
+
creationTime: Date | undefined;
|
|
166
|
+
baseModelArn: string | undefined;
|
|
167
|
+
baseModelName: string | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface ListCustomModelsResponse {
|
|
170
|
+
nextToken?: string;
|
|
171
|
+
modelSummaries?: CustomModelSummary[];
|
|
172
|
+
}
|
|
173
|
+
export interface ListFoundationModelsRequest {
|
|
174
|
+
byProvider?: string;
|
|
175
|
+
byCustomizationType?: ModelCustomization | string;
|
|
176
|
+
byOutputModality?: ModelModality | string;
|
|
177
|
+
byInferenceType?: InferenceType | string;
|
|
178
|
+
}
|
|
179
|
+
export interface FoundationModelSummary {
|
|
180
|
+
modelArn: string | undefined;
|
|
181
|
+
modelId: string | undefined;
|
|
182
|
+
modelName?: string;
|
|
183
|
+
providerName?: string;
|
|
184
|
+
inputModalities?: (ModelModality | string)[];
|
|
185
|
+
outputModalities?: (ModelModality | string)[];
|
|
186
|
+
responseStreamingSupported?: boolean;
|
|
187
|
+
customizationsSupported?: (ModelCustomization | string)[];
|
|
188
|
+
inferenceTypesSupported?: (InferenceType | string)[];
|
|
189
|
+
}
|
|
190
|
+
export interface ListFoundationModelsResponse {
|
|
191
|
+
modelSummaries?: FoundationModelSummary[];
|
|
192
|
+
}
|
|
193
|
+
export declare const CommitmentDuration: {
|
|
194
|
+
readonly ONE_MONTH: "OneMonth";
|
|
195
|
+
readonly SIX_MONTHS: "SixMonths";
|
|
196
|
+
};
|
|
197
|
+
export type CommitmentDuration =
|
|
198
|
+
(typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
199
|
+
export interface Tag {
|
|
200
|
+
key: string | undefined;
|
|
201
|
+
value: string | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface CreateProvisionedModelThroughputRequest {
|
|
204
|
+
clientRequestToken?: string;
|
|
205
|
+
modelUnits: number | undefined;
|
|
206
|
+
provisionedModelName: string | undefined;
|
|
207
|
+
modelId: string | undefined;
|
|
208
|
+
commitmentDuration?: CommitmentDuration | string;
|
|
209
|
+
tags?: Tag[];
|
|
210
|
+
}
|
|
211
|
+
export interface CreateProvisionedModelThroughputResponse {
|
|
212
|
+
provisionedModelArn: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
215
|
+
readonly name: "ServiceQuotaExceededException";
|
|
216
|
+
readonly $fault: "client";
|
|
217
|
+
constructor(
|
|
218
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
222
|
+
readonly name: "TooManyTagsException";
|
|
223
|
+
readonly $fault: "client";
|
|
224
|
+
resourceName?: string;
|
|
225
|
+
constructor(
|
|
226
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
export interface DeleteProvisionedModelThroughputRequest {
|
|
230
|
+
provisionedModelId: string | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface DeleteProvisionedModelThroughputResponse {}
|
|
233
|
+
export interface GetProvisionedModelThroughputRequest {
|
|
234
|
+
provisionedModelId: string | undefined;
|
|
235
|
+
}
|
|
236
|
+
export declare const ProvisionedModelStatus: {
|
|
237
|
+
readonly CREATING: "Creating";
|
|
238
|
+
readonly FAILED: "Failed";
|
|
239
|
+
readonly IN_SERVICE: "InService";
|
|
240
|
+
readonly UPDATING: "Updating";
|
|
241
|
+
};
|
|
242
|
+
export type ProvisionedModelStatus =
|
|
243
|
+
(typeof ProvisionedModelStatus)[keyof typeof ProvisionedModelStatus];
|
|
244
|
+
export interface GetProvisionedModelThroughputResponse {
|
|
245
|
+
modelUnits: number | undefined;
|
|
246
|
+
desiredModelUnits: number | undefined;
|
|
247
|
+
provisionedModelName: string | undefined;
|
|
248
|
+
provisionedModelArn: string | undefined;
|
|
249
|
+
modelArn: string | undefined;
|
|
250
|
+
desiredModelArn: string | undefined;
|
|
251
|
+
foundationModelArn: string | undefined;
|
|
252
|
+
status: ProvisionedModelStatus | string | undefined;
|
|
253
|
+
creationTime: Date | undefined;
|
|
254
|
+
lastModifiedTime: Date | undefined;
|
|
255
|
+
failureMessage?: string;
|
|
256
|
+
commitmentDuration?: CommitmentDuration | string;
|
|
257
|
+
commitmentExpirationTime?: Date;
|
|
258
|
+
}
|
|
259
|
+
export declare const SortByProvisionedModels: {
|
|
260
|
+
readonly CREATION_TIME: "CreationTime";
|
|
261
|
+
};
|
|
262
|
+
export type SortByProvisionedModels =
|
|
263
|
+
(typeof SortByProvisionedModels)[keyof typeof SortByProvisionedModels];
|
|
264
|
+
export interface ListProvisionedModelThroughputsRequest {
|
|
265
|
+
creationTimeAfter?: Date;
|
|
266
|
+
creationTimeBefore?: Date;
|
|
267
|
+
statusEquals?: ProvisionedModelStatus | string;
|
|
268
|
+
modelArnEquals?: string;
|
|
269
|
+
nameContains?: string;
|
|
270
|
+
maxResults?: number;
|
|
271
|
+
nextToken?: string;
|
|
272
|
+
sortBy?: SortByProvisionedModels | string;
|
|
273
|
+
sortOrder?: SortOrder | string;
|
|
274
|
+
}
|
|
275
|
+
export interface ProvisionedModelSummary {
|
|
276
|
+
provisionedModelName: string | undefined;
|
|
277
|
+
provisionedModelArn: string | undefined;
|
|
278
|
+
modelArn: string | undefined;
|
|
279
|
+
desiredModelArn: string | undefined;
|
|
280
|
+
foundationModelArn: string | undefined;
|
|
281
|
+
modelUnits: number | undefined;
|
|
282
|
+
desiredModelUnits: number | undefined;
|
|
283
|
+
status: ProvisionedModelStatus | string | undefined;
|
|
284
|
+
commitmentDuration?: CommitmentDuration | string;
|
|
285
|
+
commitmentExpirationTime?: Date;
|
|
286
|
+
creationTime: Date | undefined;
|
|
287
|
+
lastModifiedTime: Date | undefined;
|
|
288
|
+
}
|
|
289
|
+
export interface ListProvisionedModelThroughputsResponse {
|
|
290
|
+
nextToken?: string;
|
|
291
|
+
provisionedModelSummaries?: ProvisionedModelSummary[];
|
|
292
|
+
}
|
|
293
|
+
export interface UpdateProvisionedModelThroughputRequest {
|
|
294
|
+
provisionedModelId: string | undefined;
|
|
295
|
+
desiredProvisionedModelName?: string;
|
|
296
|
+
desiredModelId?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface UpdateProvisionedModelThroughputResponse {}
|
|
299
|
+
export interface ListTagsForResourceRequest {
|
|
300
|
+
resourceARN: string | undefined;
|
|
301
|
+
}
|
|
302
|
+
export interface ListTagsForResourceResponse {
|
|
303
|
+
tags?: Tag[];
|
|
304
|
+
}
|
|
305
|
+
export interface TagResourceRequest {
|
|
306
|
+
resourceARN: string | undefined;
|
|
307
|
+
tags: Tag[] | undefined;
|
|
308
|
+
}
|
|
309
|
+
export interface TagResourceResponse {}
|
|
310
|
+
export interface UntagResourceRequest {
|
|
311
|
+
resourceARN: string | undefined;
|
|
312
|
+
tagKeys: string[] | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface UntagResourceResponse {}
|
|
315
|
+
export interface VpcConfig {
|
|
316
|
+
subnetIds: string[] | undefined;
|
|
317
|
+
securityGroupIds: string[] | undefined;
|
|
318
|
+
}
|
|
319
|
+
export interface CreateModelCustomizationJobRequest {
|
|
320
|
+
jobName: string | undefined;
|
|
321
|
+
customModelName: string | undefined;
|
|
322
|
+
roleArn: string | undefined;
|
|
323
|
+
clientRequestToken?: string;
|
|
324
|
+
baseModelIdentifier: string | undefined;
|
|
325
|
+
customModelKmsKeyId?: string;
|
|
326
|
+
jobTags?: Tag[];
|
|
327
|
+
customModelTags?: Tag[];
|
|
328
|
+
trainingDataConfig: TrainingDataConfig | undefined;
|
|
329
|
+
validationDataConfig?: ValidationDataConfig;
|
|
330
|
+
outputDataConfig: OutputDataConfig | undefined;
|
|
331
|
+
hyperParameters: Record<string, string> | undefined;
|
|
332
|
+
vpcConfig?: VpcConfig;
|
|
333
|
+
}
|
|
334
|
+
export interface CreateModelCustomizationJobResponse {
|
|
335
|
+
jobArn: string | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface GetModelCustomizationJobRequest {
|
|
338
|
+
jobIdentifier: string | undefined;
|
|
339
|
+
}
|
|
340
|
+
export declare const ModelCustomizationJobStatus: {
|
|
341
|
+
readonly COMPLETED: "Completed";
|
|
342
|
+
readonly FAILED: "Failed";
|
|
343
|
+
readonly IN_PROGRESS: "InProgress";
|
|
344
|
+
readonly STOPPED: "Stopped";
|
|
345
|
+
readonly STOPPING: "Stopping";
|
|
346
|
+
};
|
|
347
|
+
export type ModelCustomizationJobStatus =
|
|
348
|
+
(typeof ModelCustomizationJobStatus)[keyof typeof ModelCustomizationJobStatus];
|
|
349
|
+
export interface GetModelCustomizationJobResponse {
|
|
350
|
+
jobArn: string | undefined;
|
|
351
|
+
jobName: string | undefined;
|
|
352
|
+
outputModelName: string | undefined;
|
|
353
|
+
outputModelArn?: string;
|
|
354
|
+
clientRequestToken?: string;
|
|
355
|
+
roleArn: string | undefined;
|
|
356
|
+
status?: ModelCustomizationJobStatus | string;
|
|
357
|
+
failureMessage?: string;
|
|
358
|
+
creationTime: Date | undefined;
|
|
359
|
+
lastModifiedTime?: Date;
|
|
360
|
+
endTime?: Date;
|
|
361
|
+
baseModelArn: string | undefined;
|
|
362
|
+
hyperParameters: Record<string, string> | undefined;
|
|
363
|
+
trainingDataConfig: TrainingDataConfig | undefined;
|
|
364
|
+
validationDataConfig: ValidationDataConfig | undefined;
|
|
365
|
+
outputDataConfig: OutputDataConfig | undefined;
|
|
366
|
+
outputModelKmsKeyArn?: string;
|
|
367
|
+
trainingMetrics?: TrainingMetrics;
|
|
368
|
+
validationMetrics?: ValidatorMetric[];
|
|
369
|
+
vpcConfig?: VpcConfig;
|
|
370
|
+
}
|
|
371
|
+
export declare const SortJobsBy: {
|
|
372
|
+
readonly CREATION_TIME: "CreationTime";
|
|
373
|
+
};
|
|
374
|
+
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
375
|
+
export declare const FineTuningJobStatus: {
|
|
376
|
+
readonly COMPLETED: "Completed";
|
|
377
|
+
readonly FAILED: "Failed";
|
|
378
|
+
readonly IN_PROGRESS: "InProgress";
|
|
379
|
+
readonly STOPPED: "Stopped";
|
|
380
|
+
readonly STOPPING: "Stopping";
|
|
381
|
+
};
|
|
382
|
+
export type FineTuningJobStatus =
|
|
383
|
+
(typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
|
|
384
|
+
export interface ListModelCustomizationJobsRequest {
|
|
385
|
+
creationTimeAfter?: Date;
|
|
386
|
+
creationTimeBefore?: Date;
|
|
387
|
+
statusEquals?: FineTuningJobStatus | string;
|
|
388
|
+
nameContains?: string;
|
|
389
|
+
maxResults?: number;
|
|
390
|
+
nextToken?: string;
|
|
391
|
+
sortBy?: SortJobsBy | string;
|
|
392
|
+
sortOrder?: SortOrder | string;
|
|
393
|
+
}
|
|
394
|
+
export interface ModelCustomizationJobSummary {
|
|
395
|
+
jobArn: string | undefined;
|
|
396
|
+
baseModelArn: string | undefined;
|
|
397
|
+
jobName: string | undefined;
|
|
398
|
+
status: ModelCustomizationJobStatus | string | undefined;
|
|
399
|
+
lastModifiedTime?: Date;
|
|
400
|
+
creationTime: Date | undefined;
|
|
401
|
+
endTime?: Date;
|
|
402
|
+
customModelArn?: string;
|
|
403
|
+
customModelName?: string;
|
|
404
|
+
}
|
|
405
|
+
export interface ListModelCustomizationJobsResponse {
|
|
406
|
+
nextToken?: string;
|
|
407
|
+
modelCustomizationJobSummaries?: ModelCustomizationJobSummary[];
|
|
408
|
+
}
|
|
409
|
+
export interface StopModelCustomizationJobRequest {
|
|
410
|
+
jobIdentifier: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface StopModelCustomizationJobResponse {}
|