@aws-sdk/client-bedrock 3.529.1 → 3.535.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-types/Bedrock.d.ts +7 -1
- package/dist-types/BedrockClient.d.ts +1 -1
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -1
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -1
- package/dist-types/commands/GetCustomModelCommand.d.ts +2 -1
- package/dist-types/commands/GetFoundationModelCommand.d.ts +2 -1
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -1
- package/dist-types/commands/ListCustomModelsCommand.d.ts +2 -1
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -1
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +221 -221
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/Bedrock.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>The request is denied because of missing access permissions.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -23,8 +23,8 @@ export interface DeleteModelInvocationLoggingConfigurationRequest {
|
|
|
23
23
|
export interface DeleteModelInvocationLoggingConfigurationResponse {
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* @public
|
|
27
26
|
* <p>An internal server error occurred. Retry your request.</p>
|
|
27
|
+
* @public
|
|
28
28
|
*/
|
|
29
29
|
export declare class InternalServerException extends __BaseException {
|
|
30
30
|
readonly name: "InternalServerException";
|
|
@@ -35,8 +35,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
35
35
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* @public
|
|
39
38
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
39
|
+
* @public
|
|
40
40
|
*/
|
|
41
41
|
export declare class ThrottlingException extends __BaseException {
|
|
42
42
|
readonly name: "ThrottlingException";
|
|
@@ -52,70 +52,70 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
52
52
|
export interface GetModelInvocationLoggingConfigurationRequest {
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* @public
|
|
56
55
|
* <p>S3 configuration for storing log data.</p>
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
export interface S3Config {
|
|
59
59
|
/**
|
|
60
|
-
* @public
|
|
61
60
|
* <p>S3 bucket name.</p>
|
|
61
|
+
* @public
|
|
62
62
|
*/
|
|
63
63
|
bucketName: string | undefined;
|
|
64
64
|
/**
|
|
65
|
-
* @public
|
|
66
65
|
* <p>S3 prefix. </p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
keyPrefix?: string;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* @public
|
|
72
71
|
* <p>CloudWatch logging configuration.</p>
|
|
72
|
+
* @public
|
|
73
73
|
*/
|
|
74
74
|
export interface CloudWatchConfig {
|
|
75
75
|
/**
|
|
76
|
-
* @public
|
|
77
76
|
* <p>The log group name.</p>
|
|
77
|
+
* @public
|
|
78
78
|
*/
|
|
79
79
|
logGroupName: string | undefined;
|
|
80
80
|
/**
|
|
81
|
-
* @public
|
|
82
81
|
* <p>The role ARN.</p>
|
|
82
|
+
* @public
|
|
83
83
|
*/
|
|
84
84
|
roleArn: string | undefined;
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>S3 configuration for delivering a large amount of data.</p>
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
largeDataDeliveryS3Config?: S3Config;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* @public
|
|
93
92
|
* <p>Configuration fields for invokation logging.</p>
|
|
93
|
+
* @public
|
|
94
94
|
*/
|
|
95
95
|
export interface LoggingConfig {
|
|
96
96
|
/**
|
|
97
|
-
* @public
|
|
98
97
|
* <p>CloudWatch logging configuration.</p>
|
|
98
|
+
* @public
|
|
99
99
|
*/
|
|
100
100
|
cloudWatchConfig?: CloudWatchConfig;
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
102
|
* <p>S3 configuration for storing log data.</p>
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
s3Config?: S3Config;
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* <p>Set to include text data in the log delivery.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
textDataDeliveryEnabled?: boolean;
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>Set to include image data in the log delivery.</p>
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
imageDataDeliveryEnabled?: boolean;
|
|
116
116
|
/**
|
|
117
|
-
* @public
|
|
118
117
|
* <p>Set to include embeddings data in the log delivery.</p>
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
embeddingDataDeliveryEnabled?: boolean;
|
|
121
121
|
}
|
|
@@ -124,8 +124,8 @@ export interface LoggingConfig {
|
|
|
124
124
|
*/
|
|
125
125
|
export interface GetModelInvocationLoggingConfigurationResponse {
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>The current configuration values.</p>
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
loggingConfig?: LoggingConfig;
|
|
131
131
|
}
|
|
@@ -134,8 +134,8 @@ export interface GetModelInvocationLoggingConfigurationResponse {
|
|
|
134
134
|
*/
|
|
135
135
|
export interface PutModelInvocationLoggingConfigurationRequest {
|
|
136
136
|
/**
|
|
137
|
-
* @public
|
|
138
137
|
* <p>The logging configuration values to set.</p>
|
|
138
|
+
* @public
|
|
139
139
|
*/
|
|
140
140
|
loggingConfig: LoggingConfig | undefined;
|
|
141
141
|
}
|
|
@@ -145,8 +145,8 @@ export interface PutModelInvocationLoggingConfigurationRequest {
|
|
|
145
145
|
export interface PutModelInvocationLoggingConfigurationResponse {
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* @public
|
|
149
148
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
export declare class ValidationException extends __BaseException {
|
|
152
152
|
readonly name: "ValidationException";
|
|
@@ -157,8 +157,8 @@ export declare class ValidationException extends __BaseException {
|
|
|
157
157
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
|
-
* @public
|
|
161
160
|
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
export declare class ConflictException extends __BaseException {
|
|
164
164
|
readonly name: "ConflictException";
|
|
@@ -173,8 +173,8 @@ export declare class ConflictException extends __BaseException {
|
|
|
173
173
|
*/
|
|
174
174
|
export interface DeleteCustomModelRequest {
|
|
175
175
|
/**
|
|
176
|
-
* @public
|
|
177
176
|
* <p>Name of the model to delete.</p>
|
|
177
|
+
* @public
|
|
178
178
|
*/
|
|
179
179
|
modelIdentifier: string | undefined;
|
|
180
180
|
}
|
|
@@ -184,8 +184,8 @@ export interface DeleteCustomModelRequest {
|
|
|
184
184
|
export interface DeleteCustomModelResponse {
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
* @public
|
|
188
187
|
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
191
|
readonly name: "ResourceNotFoundException";
|
|
@@ -200,8 +200,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
200
200
|
*/
|
|
201
201
|
export interface GetCustomModelRequest {
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>Name or ARN of the custom model.</p>
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
modelIdentifier: string | undefined;
|
|
207
207
|
}
|
|
@@ -218,68 +218,68 @@ export declare const CustomizationType: {
|
|
|
218
218
|
*/
|
|
219
219
|
export type CustomizationType = (typeof CustomizationType)[keyof typeof CustomizationType];
|
|
220
220
|
/**
|
|
221
|
-
* @public
|
|
222
221
|
* <p>S3 Location of the output data.</p>
|
|
222
|
+
* @public
|
|
223
223
|
*/
|
|
224
224
|
export interface OutputDataConfig {
|
|
225
225
|
/**
|
|
226
|
-
* @public
|
|
227
226
|
* <p>The S3 URI where the output data is stored.</p>
|
|
227
|
+
* @public
|
|
228
228
|
*/
|
|
229
229
|
s3Uri: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>S3 Location of the training data.</p>
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
export interface TrainingDataConfig {
|
|
236
236
|
/**
|
|
237
|
-
* @public
|
|
238
237
|
* <p>The S3 URI where the training data is stored.</p>
|
|
238
|
+
* @public
|
|
239
239
|
*/
|
|
240
240
|
s3Uri: string | undefined;
|
|
241
241
|
}
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>Metrics associated with the custom job.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
export interface TrainingMetrics {
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>Loss metric associated with the custom job.</p>
|
|
249
|
+
* @public
|
|
250
250
|
*/
|
|
251
251
|
trainingLoss?: number;
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
254
|
-
* @public
|
|
255
254
|
* <p>Information about a validator.</p>
|
|
255
|
+
* @public
|
|
256
256
|
*/
|
|
257
257
|
export interface Validator {
|
|
258
258
|
/**
|
|
259
|
-
* @public
|
|
260
259
|
* <p>The S3 URI where the validation data is stored.</p>
|
|
260
|
+
* @public
|
|
261
261
|
*/
|
|
262
262
|
s3Uri: string | undefined;
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
* @public
|
|
266
265
|
* <p>Array of up to 10 validators.</p>
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
export interface ValidationDataConfig {
|
|
269
269
|
/**
|
|
270
|
-
* @public
|
|
271
270
|
* <p>Information about the validators.</p>
|
|
271
|
+
* @public
|
|
272
272
|
*/
|
|
273
273
|
validators: Validator[] | undefined;
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* @public
|
|
277
276
|
* <p>The metric for the validator.</p>
|
|
277
|
+
* @public
|
|
278
278
|
*/
|
|
279
279
|
export interface ValidatorMetric {
|
|
280
280
|
/**
|
|
281
|
-
* @public
|
|
282
281
|
* <p>The validation loss associated with this validator.</p>
|
|
282
|
+
* @public
|
|
283
283
|
*/
|
|
284
284
|
validationLoss?: number;
|
|
285
285
|
}
|
|
@@ -288,73 +288,73 @@ export interface ValidatorMetric {
|
|
|
288
288
|
*/
|
|
289
289
|
export interface GetCustomModelResponse {
|
|
290
290
|
/**
|
|
291
|
-
* @public
|
|
292
291
|
* <p>ARN associated with this model.</p>
|
|
292
|
+
* @public
|
|
293
293
|
*/
|
|
294
294
|
modelArn: string | undefined;
|
|
295
295
|
/**
|
|
296
|
-
* @public
|
|
297
296
|
* <p>Model name associated with this model.</p>
|
|
297
|
+
* @public
|
|
298
298
|
*/
|
|
299
299
|
modelName: string | undefined;
|
|
300
300
|
/**
|
|
301
|
-
* @public
|
|
302
301
|
* <p>Job name associated with this model.</p>
|
|
302
|
+
* @public
|
|
303
303
|
*/
|
|
304
304
|
jobName?: string;
|
|
305
305
|
/**
|
|
306
|
-
* @public
|
|
307
306
|
* <p>Job ARN associated with this model.</p>
|
|
307
|
+
* @public
|
|
308
308
|
*/
|
|
309
309
|
jobArn: string | undefined;
|
|
310
310
|
/**
|
|
311
|
-
* @public
|
|
312
311
|
* <p>ARN of the base model.</p>
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
baseModelArn: string | undefined;
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>The type of model customization.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
customizationType?: CustomizationType;
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>The custom model is encrypted at rest using this key.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
modelKmsKeyArn?: string;
|
|
325
325
|
/**
|
|
326
|
-
* @public
|
|
327
326
|
* <p>Hyperparameter values associated with this model.</p>
|
|
327
|
+
* @public
|
|
328
328
|
*/
|
|
329
329
|
hyperParameters?: Record<string, string>;
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>Information about the training dataset.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
trainingDataConfig: TrainingDataConfig | undefined;
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>Array of up to 10 validators.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
validationDataConfig?: ValidationDataConfig;
|
|
340
340
|
/**
|
|
341
|
-
* @public
|
|
342
341
|
* <p>Output data configuration associated with this custom model.</p>
|
|
342
|
+
* @public
|
|
343
343
|
*/
|
|
344
344
|
outputDataConfig: OutputDataConfig | undefined;
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>The training metrics from the job creation.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
trainingMetrics?: TrainingMetrics;
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The validation metrics from the job creation.</p>
|
|
352
|
+
* @public
|
|
353
353
|
*/
|
|
354
354
|
validationMetrics?: ValidatorMetric[];
|
|
355
355
|
/**
|
|
356
|
-
* @public
|
|
357
356
|
* <p>Creation time of the model.</p>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
creationTime: Date | undefined;
|
|
360
360
|
}
|
|
@@ -363,8 +363,8 @@ export interface GetCustomModelResponse {
|
|
|
363
363
|
*/
|
|
364
364
|
export interface GetFoundationModelRequest {
|
|
365
365
|
/**
|
|
366
|
-
* @public
|
|
367
366
|
* <p>The model identifier. </p>
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
modelIdentifier: string | undefined;
|
|
370
370
|
}
|
|
@@ -418,69 +418,69 @@ export declare const FoundationModelLifecycleStatus: {
|
|
|
418
418
|
*/
|
|
419
419
|
export type FoundationModelLifecycleStatus = (typeof FoundationModelLifecycleStatus)[keyof typeof FoundationModelLifecycleStatus];
|
|
420
420
|
/**
|
|
421
|
-
* @public
|
|
422
421
|
* <p>Details about whether a model version is available or deprecated.</p>
|
|
422
|
+
* @public
|
|
423
423
|
*/
|
|
424
424
|
export interface FoundationModelLifecycle {
|
|
425
425
|
/**
|
|
426
|
-
* @public
|
|
427
426
|
* <p>Specifies whether a model version is available (<code>ACTIVE</code>) or deprecated (<code>LEGACY</code>.</p>
|
|
427
|
+
* @public
|
|
428
428
|
*/
|
|
429
429
|
status: FoundationModelLifecycleStatus | undefined;
|
|
430
430
|
}
|
|
431
431
|
/**
|
|
432
|
-
* @public
|
|
433
432
|
* <p>Information about a foundation model.</p>
|
|
433
|
+
* @public
|
|
434
434
|
*/
|
|
435
435
|
export interface FoundationModelDetails {
|
|
436
436
|
/**
|
|
437
|
-
* @public
|
|
438
437
|
* <p>The model ARN.</p>
|
|
438
|
+
* @public
|
|
439
439
|
*/
|
|
440
440
|
modelArn: string | undefined;
|
|
441
441
|
/**
|
|
442
|
-
* @public
|
|
443
442
|
* <p>The model identifier.</p>
|
|
443
|
+
* @public
|
|
444
444
|
*/
|
|
445
445
|
modelId: string | undefined;
|
|
446
446
|
/**
|
|
447
|
-
* @public
|
|
448
447
|
* <p>The model name.</p>
|
|
448
|
+
* @public
|
|
449
449
|
*/
|
|
450
450
|
modelName?: string;
|
|
451
451
|
/**
|
|
452
|
-
* @public
|
|
453
452
|
* <p>he model's provider name.</p>
|
|
453
|
+
* @public
|
|
454
454
|
*/
|
|
455
455
|
providerName?: string;
|
|
456
456
|
/**
|
|
457
|
-
* @public
|
|
458
457
|
* <p>The input modalities that the model supports.</p>
|
|
458
|
+
* @public
|
|
459
459
|
*/
|
|
460
460
|
inputModalities?: ModelModality[];
|
|
461
461
|
/**
|
|
462
|
-
* @public
|
|
463
462
|
* <p>The output modalities that the model supports.</p>
|
|
463
|
+
* @public
|
|
464
464
|
*/
|
|
465
465
|
outputModalities?: ModelModality[];
|
|
466
466
|
/**
|
|
467
|
-
* @public
|
|
468
467
|
* <p>Indicates whether the model supports streaming.</p>
|
|
468
|
+
* @public
|
|
469
469
|
*/
|
|
470
470
|
responseStreamingSupported?: boolean;
|
|
471
471
|
/**
|
|
472
|
-
* @public
|
|
473
472
|
* <p>The customization that the model supports.</p>
|
|
473
|
+
* @public
|
|
474
474
|
*/
|
|
475
475
|
customizationsSupported?: ModelCustomization[];
|
|
476
476
|
/**
|
|
477
|
-
* @public
|
|
478
477
|
* <p>The inference types that the model supports.</p>
|
|
478
|
+
* @public
|
|
479
479
|
*/
|
|
480
480
|
inferenceTypesSupported?: InferenceType[];
|
|
481
481
|
/**
|
|
482
|
-
* @public
|
|
483
482
|
* <p>Contains details about whether a model version is available or deprecated</p>
|
|
483
|
+
* @public
|
|
484
484
|
*/
|
|
485
485
|
modelLifecycle?: FoundationModelLifecycle;
|
|
486
486
|
}
|
|
@@ -489,8 +489,8 @@ export interface FoundationModelDetails {
|
|
|
489
489
|
*/
|
|
490
490
|
export interface GetFoundationModelResponse {
|
|
491
491
|
/**
|
|
492
|
-
* @public
|
|
493
492
|
* <p>Information about the foundation model.</p>
|
|
493
|
+
* @public
|
|
494
494
|
*/
|
|
495
495
|
modelDetails?: FoundationModelDetails;
|
|
496
496
|
}
|
|
@@ -522,84 +522,84 @@ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
|
522
522
|
*/
|
|
523
523
|
export interface ListCustomModelsRequest {
|
|
524
524
|
/**
|
|
525
|
-
* @public
|
|
526
525
|
* <p>Return custom models created before the specified time. </p>
|
|
526
|
+
* @public
|
|
527
527
|
*/
|
|
528
528
|
creationTimeBefore?: Date;
|
|
529
529
|
/**
|
|
530
|
-
* @public
|
|
531
530
|
* <p>Return custom models created after the specified time. </p>
|
|
531
|
+
* @public
|
|
532
532
|
*/
|
|
533
533
|
creationTimeAfter?: Date;
|
|
534
534
|
/**
|
|
535
|
-
* @public
|
|
536
535
|
* <p>Return custom models only if the job name contains these characters.</p>
|
|
536
|
+
* @public
|
|
537
537
|
*/
|
|
538
538
|
nameContains?: string;
|
|
539
539
|
/**
|
|
540
|
-
* @public
|
|
541
540
|
* <p>Return custom models only if the base model ARN matches this parameter.</p>
|
|
541
|
+
* @public
|
|
542
542
|
*/
|
|
543
543
|
baseModelArnEquals?: string;
|
|
544
544
|
/**
|
|
545
|
-
* @public
|
|
546
545
|
* <p>Return custom models only if the foundation model ARN matches this parameter.</p>
|
|
546
|
+
* @public
|
|
547
547
|
*/
|
|
548
548
|
foundationModelArnEquals?: string;
|
|
549
549
|
/**
|
|
550
|
-
* @public
|
|
551
550
|
* <p>Maximum number of results to return in the response.</p>
|
|
551
|
+
* @public
|
|
552
552
|
*/
|
|
553
553
|
maxResults?: number;
|
|
554
554
|
/**
|
|
555
|
-
* @public
|
|
556
555
|
* <p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>
|
|
556
|
+
* @public
|
|
557
557
|
*/
|
|
558
558
|
nextToken?: string;
|
|
559
559
|
/**
|
|
560
|
-
* @public
|
|
561
560
|
* <p>The field to sort by in the returned list of models.</p>
|
|
561
|
+
* @public
|
|
562
562
|
*/
|
|
563
563
|
sortBy?: SortModelsBy;
|
|
564
564
|
/**
|
|
565
|
-
* @public
|
|
566
565
|
* <p>The sort order of the results.</p>
|
|
566
|
+
* @public
|
|
567
567
|
*/
|
|
568
568
|
sortOrder?: SortOrder;
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
|
-
* @public
|
|
572
571
|
* <p>Summary information for a custom model.</p>
|
|
572
|
+
* @public
|
|
573
573
|
*/
|
|
574
574
|
export interface CustomModelSummary {
|
|
575
575
|
/**
|
|
576
|
-
* @public
|
|
577
576
|
* <p>The ARN of the custom model.</p>
|
|
577
|
+
* @public
|
|
578
578
|
*/
|
|
579
579
|
modelArn: string | undefined;
|
|
580
580
|
/**
|
|
581
|
-
* @public
|
|
582
581
|
* <p>The name of the custom model.</p>
|
|
582
|
+
* @public
|
|
583
583
|
*/
|
|
584
584
|
modelName: string | undefined;
|
|
585
585
|
/**
|
|
586
|
-
* @public
|
|
587
586
|
* <p>Creation time of the model.</p>
|
|
587
|
+
* @public
|
|
588
588
|
*/
|
|
589
589
|
creationTime: Date | undefined;
|
|
590
590
|
/**
|
|
591
|
-
* @public
|
|
592
591
|
* <p>The base model ARN.</p>
|
|
592
|
+
* @public
|
|
593
593
|
*/
|
|
594
594
|
baseModelArn: string | undefined;
|
|
595
595
|
/**
|
|
596
|
-
* @public
|
|
597
596
|
* <p>The base model name.</p>
|
|
597
|
+
* @public
|
|
598
598
|
*/
|
|
599
599
|
baseModelName: string | undefined;
|
|
600
600
|
/**
|
|
601
|
-
* @public
|
|
602
601
|
* <p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a>.</p>
|
|
602
|
+
* @public
|
|
603
603
|
*/
|
|
604
604
|
customizationType?: CustomizationType;
|
|
605
605
|
}
|
|
@@ -608,13 +608,13 @@ export interface CustomModelSummary {
|
|
|
608
608
|
*/
|
|
609
609
|
export interface ListCustomModelsResponse {
|
|
610
610
|
/**
|
|
611
|
-
* @public
|
|
612
611
|
* <p>Continuation token for the next request to list the next set of results.</p>
|
|
612
|
+
* @public
|
|
613
613
|
*/
|
|
614
614
|
nextToken?: string;
|
|
615
615
|
/**
|
|
616
|
-
* @public
|
|
617
616
|
* <p>Model summaries.</p>
|
|
617
|
+
* @public
|
|
618
618
|
*/
|
|
619
619
|
modelSummaries?: CustomModelSummary[];
|
|
620
620
|
}
|
|
@@ -623,79 +623,79 @@ export interface ListCustomModelsResponse {
|
|
|
623
623
|
*/
|
|
624
624
|
export interface ListFoundationModelsRequest {
|
|
625
625
|
/**
|
|
626
|
-
* @public
|
|
627
626
|
* <p>A Amazon Bedrock model provider.</p>
|
|
627
|
+
* @public
|
|
628
628
|
*/
|
|
629
629
|
byProvider?: string;
|
|
630
630
|
/**
|
|
631
|
-
* @public
|
|
632
631
|
* <p>List by customization type.</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
byCustomizationType?: ModelCustomization;
|
|
635
635
|
/**
|
|
636
|
-
* @public
|
|
637
636
|
* <p>List by output modality type.</p>
|
|
637
|
+
* @public
|
|
638
638
|
*/
|
|
639
639
|
byOutputModality?: ModelModality;
|
|
640
640
|
/**
|
|
641
|
-
* @public
|
|
642
641
|
* <p>List by inference type.</p>
|
|
642
|
+
* @public
|
|
643
643
|
*/
|
|
644
644
|
byInferenceType?: InferenceType;
|
|
645
645
|
}
|
|
646
646
|
/**
|
|
647
|
-
* @public
|
|
648
647
|
* <p>Summary information for a foundation model.</p>
|
|
648
|
+
* @public
|
|
649
649
|
*/
|
|
650
650
|
export interface FoundationModelSummary {
|
|
651
651
|
/**
|
|
652
|
-
* @public
|
|
653
652
|
* <p>The ARN of the foundation model.</p>
|
|
653
|
+
* @public
|
|
654
654
|
*/
|
|
655
655
|
modelArn: string | undefined;
|
|
656
656
|
/**
|
|
657
|
-
* @public
|
|
658
657
|
* <p>The model Id of the foundation model.</p>
|
|
658
|
+
* @public
|
|
659
659
|
*/
|
|
660
660
|
modelId: string | undefined;
|
|
661
661
|
/**
|
|
662
|
-
* @public
|
|
663
662
|
* <p>The name of the model.</p>
|
|
663
|
+
* @public
|
|
664
664
|
*/
|
|
665
665
|
modelName?: string;
|
|
666
666
|
/**
|
|
667
|
-
* @public
|
|
668
667
|
* <p>The model's provider name.</p>
|
|
668
|
+
* @public
|
|
669
669
|
*/
|
|
670
670
|
providerName?: string;
|
|
671
671
|
/**
|
|
672
|
-
* @public
|
|
673
672
|
* <p>The input modalities that the model supports.</p>
|
|
673
|
+
* @public
|
|
674
674
|
*/
|
|
675
675
|
inputModalities?: ModelModality[];
|
|
676
676
|
/**
|
|
677
|
-
* @public
|
|
678
677
|
* <p>The output modalities that the model supports.</p>
|
|
678
|
+
* @public
|
|
679
679
|
*/
|
|
680
680
|
outputModalities?: ModelModality[];
|
|
681
681
|
/**
|
|
682
|
-
* @public
|
|
683
682
|
* <p>Indicates whether the model supports streaming.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
responseStreamingSupported?: boolean;
|
|
686
686
|
/**
|
|
687
|
-
* @public
|
|
688
687
|
* <p>Whether the model supports fine-tuning or continual pre-training.</p>
|
|
688
|
+
* @public
|
|
689
689
|
*/
|
|
690
690
|
customizationsSupported?: ModelCustomization[];
|
|
691
691
|
/**
|
|
692
|
-
* @public
|
|
693
692
|
* <p>The inference types that the model supports.</p>
|
|
693
|
+
* @public
|
|
694
694
|
*/
|
|
695
695
|
inferenceTypesSupported?: InferenceType[];
|
|
696
696
|
/**
|
|
697
|
-
* @public
|
|
698
697
|
* <p>Contains details about whether a model version is available or deprecated.</p>
|
|
698
|
+
* @public
|
|
699
699
|
*/
|
|
700
700
|
modelLifecycle?: FoundationModelLifecycle;
|
|
701
701
|
}
|
|
@@ -704,8 +704,8 @@ export interface FoundationModelSummary {
|
|
|
704
704
|
*/
|
|
705
705
|
export interface ListFoundationModelsResponse {
|
|
706
706
|
/**
|
|
707
|
-
* @public
|
|
708
707
|
* <p>A list of Amazon Bedrock foundation models.</p>
|
|
708
|
+
* @public
|
|
709
709
|
*/
|
|
710
710
|
modelSummaries?: FoundationModelSummary[];
|
|
711
711
|
}
|
|
@@ -722,18 +722,18 @@ export declare const CommitmentDuration: {
|
|
|
722
722
|
*/
|
|
723
723
|
export type CommitmentDuration = (typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
724
724
|
/**
|
|
725
|
-
* @public
|
|
726
725
|
* <p>Definition of the key/value pair for a tag.</p>
|
|
726
|
+
* @public
|
|
727
727
|
*/
|
|
728
728
|
export interface Tag {
|
|
729
729
|
/**
|
|
730
|
-
* @public
|
|
731
730
|
* <p>Key for the tag.</p>
|
|
731
|
+
* @public
|
|
732
732
|
*/
|
|
733
733
|
key: string | undefined;
|
|
734
734
|
/**
|
|
735
|
-
* @public
|
|
736
735
|
* <p>Value for the tag.</p>
|
|
736
|
+
* @public
|
|
737
737
|
*/
|
|
738
738
|
value: string | undefined;
|
|
739
739
|
}
|
|
@@ -742,34 +742,34 @@ export interface Tag {
|
|
|
742
742
|
*/
|
|
743
743
|
export interface CreateProvisionedModelThroughputRequest {
|
|
744
744
|
/**
|
|
745
|
-
* @public
|
|
746
745
|
* <p>Unique token value that you can provide. If this token matches a previous request,
|
|
747
746
|
* Amazon Bedrock ignores the request, but does not return an error.</p>
|
|
747
|
+
* @public
|
|
748
748
|
*/
|
|
749
749
|
clientRequestToken?: string;
|
|
750
750
|
/**
|
|
751
|
-
* @public
|
|
752
751
|
* <p>Number of model units to allocate.</p>
|
|
752
|
+
* @public
|
|
753
753
|
*/
|
|
754
754
|
modelUnits: number | undefined;
|
|
755
755
|
/**
|
|
756
|
-
* @public
|
|
757
756
|
* <p>Unique name for this provisioned throughput.</p>
|
|
757
|
+
* @public
|
|
758
758
|
*/
|
|
759
759
|
provisionedModelName: string | undefined;
|
|
760
760
|
/**
|
|
761
|
-
* @public
|
|
762
761
|
* <p>Name or ARN of the model to associate with this provisioned throughput.</p>
|
|
762
|
+
* @public
|
|
763
763
|
*/
|
|
764
764
|
modelId: string | undefined;
|
|
765
765
|
/**
|
|
766
|
-
* @public
|
|
767
766
|
* <p>Commitment duration requested for the provisioned throughput.</p>
|
|
767
|
+
* @public
|
|
768
768
|
*/
|
|
769
769
|
commitmentDuration?: CommitmentDuration;
|
|
770
770
|
/**
|
|
771
|
-
* @public
|
|
772
771
|
* <p>Tags to associate with this provisioned throughput.</p>
|
|
772
|
+
* @public
|
|
773
773
|
*/
|
|
774
774
|
tags?: Tag[];
|
|
775
775
|
}
|
|
@@ -778,14 +778,14 @@ export interface CreateProvisionedModelThroughputRequest {
|
|
|
778
778
|
*/
|
|
779
779
|
export interface CreateProvisionedModelThroughputResponse {
|
|
780
780
|
/**
|
|
781
|
-
* @public
|
|
782
781
|
* <p>The ARN for this provisioned throughput.</p>
|
|
782
|
+
* @public
|
|
783
783
|
*/
|
|
784
784
|
provisionedModelArn: string | undefined;
|
|
785
785
|
}
|
|
786
786
|
/**
|
|
787
|
-
* @public
|
|
788
787
|
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
788
|
+
* @public
|
|
789
789
|
*/
|
|
790
790
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
791
791
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -796,16 +796,16 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
796
796
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
797
797
|
}
|
|
798
798
|
/**
|
|
799
|
-
* @public
|
|
800
799
|
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
801
800
|
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
801
|
+
* @public
|
|
802
802
|
*/
|
|
803
803
|
export declare class TooManyTagsException extends __BaseException {
|
|
804
804
|
readonly name: "TooManyTagsException";
|
|
805
805
|
readonly $fault: "client";
|
|
806
806
|
/**
|
|
807
|
-
* @public
|
|
808
807
|
* <p>The name of the resource with too many tags.</p>
|
|
808
|
+
* @public
|
|
809
809
|
*/
|
|
810
810
|
resourceName?: string;
|
|
811
811
|
/**
|
|
@@ -818,8 +818,8 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
818
818
|
*/
|
|
819
819
|
export interface DeleteProvisionedModelThroughputRequest {
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The ARN or name of the provisioned throughput.</p>
|
|
822
|
+
* @public
|
|
823
823
|
*/
|
|
824
824
|
provisionedModelId: string | undefined;
|
|
825
825
|
}
|
|
@@ -833,8 +833,8 @@ export interface DeleteProvisionedModelThroughputResponse {
|
|
|
833
833
|
*/
|
|
834
834
|
export interface GetProvisionedModelThroughputRequest {
|
|
835
835
|
/**
|
|
836
|
-
* @public
|
|
837
836
|
* <p>The ARN or name of the provisioned throughput.</p>
|
|
837
|
+
* @public
|
|
838
838
|
*/
|
|
839
839
|
provisionedModelId: string | undefined;
|
|
840
840
|
}
|
|
@@ -857,68 +857,68 @@ export type ProvisionedModelStatus = (typeof ProvisionedModelStatus)[keyof typeo
|
|
|
857
857
|
*/
|
|
858
858
|
export interface GetProvisionedModelThroughputResponse {
|
|
859
859
|
/**
|
|
860
|
-
* @public
|
|
861
860
|
* <p>The current number of model units requested to be available for this provisioned throughput.</p>
|
|
861
|
+
* @public
|
|
862
862
|
*/
|
|
863
863
|
modelUnits: number | undefined;
|
|
864
864
|
/**
|
|
865
|
-
* @public
|
|
866
865
|
* <p>The desired number of model units that was requested to be available for this provisioned throughput.</p>
|
|
866
|
+
* @public
|
|
867
867
|
*/
|
|
868
868
|
desiredModelUnits: number | undefined;
|
|
869
869
|
/**
|
|
870
|
-
* @public
|
|
871
870
|
* <p>The name of the provisioned throughput.</p>
|
|
871
|
+
* @public
|
|
872
872
|
*/
|
|
873
873
|
provisionedModelName: string | undefined;
|
|
874
874
|
/**
|
|
875
|
-
* @public
|
|
876
875
|
* <p>The ARN of the provisioned throughput.</p>
|
|
876
|
+
* @public
|
|
877
877
|
*/
|
|
878
878
|
provisionedModelArn: string | undefined;
|
|
879
879
|
/**
|
|
880
|
-
* @public
|
|
881
880
|
* <p>The ARN or name of the model associated with this provisioned throughput.</p>
|
|
881
|
+
* @public
|
|
882
882
|
*/
|
|
883
883
|
modelArn: string | undefined;
|
|
884
884
|
/**
|
|
885
|
-
* @public
|
|
886
885
|
* <p>The ARN of the new model to asssociate with this provisioned throughput.</p>
|
|
886
|
+
* @public
|
|
887
887
|
*/
|
|
888
888
|
desiredModelArn: string | undefined;
|
|
889
889
|
/**
|
|
890
|
-
* @public
|
|
891
890
|
* <p>ARN of the foundation model.</p>
|
|
891
|
+
* @public
|
|
892
892
|
*/
|
|
893
893
|
foundationModelArn: string | undefined;
|
|
894
894
|
/**
|
|
895
|
-
* @public
|
|
896
895
|
* <p>Status of the provisioned throughput. </p>
|
|
896
|
+
* @public
|
|
897
897
|
*/
|
|
898
898
|
status: ProvisionedModelStatus | undefined;
|
|
899
899
|
/**
|
|
900
|
-
* @public
|
|
901
900
|
* <p>The timestamp of the creation time for this provisioned throughput. </p>
|
|
901
|
+
* @public
|
|
902
902
|
*/
|
|
903
903
|
creationTime: Date | undefined;
|
|
904
904
|
/**
|
|
905
|
-
* @public
|
|
906
905
|
* <p>The timestamp of the last modified time of this provisioned throughput. </p>
|
|
906
|
+
* @public
|
|
907
907
|
*/
|
|
908
908
|
lastModifiedTime: Date | undefined;
|
|
909
909
|
/**
|
|
910
|
-
* @public
|
|
911
910
|
* <p>Failure message for any issues that the create operation encounters.</p>
|
|
911
|
+
* @public
|
|
912
912
|
*/
|
|
913
913
|
failureMessage?: string;
|
|
914
914
|
/**
|
|
915
|
-
* @public
|
|
916
915
|
* <p>Commitment duration of the provisioned throughput.</p>
|
|
916
|
+
* @public
|
|
917
917
|
*/
|
|
918
918
|
commitmentDuration?: CommitmentDuration;
|
|
919
919
|
/**
|
|
920
|
-
* @public
|
|
921
920
|
* <p>Commitment expiration time for the provisioned throughput.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
commitmentExpirationTime?: Date;
|
|
924
924
|
}
|
|
@@ -938,114 +938,114 @@ export type SortByProvisionedModels = (typeof SortByProvisionedModels)[keyof typ
|
|
|
938
938
|
*/
|
|
939
939
|
export interface ListProvisionedModelThroughputsRequest {
|
|
940
940
|
/**
|
|
941
|
-
* @public
|
|
942
941
|
* <p>Return provisioned capacities created after the specified time. </p>
|
|
942
|
+
* @public
|
|
943
943
|
*/
|
|
944
944
|
creationTimeAfter?: Date;
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>Return provisioned capacities created before the specified time. </p>
|
|
947
|
+
* @public
|
|
948
948
|
*/
|
|
949
949
|
creationTimeBefore?: Date;
|
|
950
950
|
/**
|
|
951
|
-
* @public
|
|
952
951
|
* <p>Return the list of provisioned capacities that match the specified status.</p>
|
|
952
|
+
* @public
|
|
953
953
|
*/
|
|
954
954
|
statusEquals?: ProvisionedModelStatus;
|
|
955
955
|
/**
|
|
956
|
-
* @public
|
|
957
956
|
* <p>Return the list of provisioned capacities where their model ARN is equal to this parameter.</p>
|
|
957
|
+
* @public
|
|
958
958
|
*/
|
|
959
959
|
modelArnEquals?: string;
|
|
960
960
|
/**
|
|
961
|
-
* @public
|
|
962
961
|
* <p>Return the list of provisioned capacities if their name contains these characters.</p>
|
|
962
|
+
* @public
|
|
963
963
|
*/
|
|
964
964
|
nameContains?: string;
|
|
965
965
|
/**
|
|
966
|
-
* @public
|
|
967
966
|
* <p>THe maximum number of results to return in the response.</p>
|
|
967
|
+
* @public
|
|
968
968
|
*/
|
|
969
969
|
maxResults?: number;
|
|
970
970
|
/**
|
|
971
|
-
* @public
|
|
972
971
|
* <p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>
|
|
972
|
+
* @public
|
|
973
973
|
*/
|
|
974
974
|
nextToken?: string;
|
|
975
975
|
/**
|
|
976
|
-
* @public
|
|
977
976
|
* <p>The field to sort by in the returned list of provisioned capacities.</p>
|
|
977
|
+
* @public
|
|
978
978
|
*/
|
|
979
979
|
sortBy?: SortByProvisionedModels;
|
|
980
980
|
/**
|
|
981
|
-
* @public
|
|
982
981
|
* <p>The sort order of the results.</p>
|
|
982
|
+
* @public
|
|
983
983
|
*/
|
|
984
984
|
sortOrder?: SortOrder;
|
|
985
985
|
}
|
|
986
986
|
/**
|
|
987
|
-
* @public
|
|
988
987
|
* <p>Set of fields associated with a provisioned throughput.</p>
|
|
988
|
+
* @public
|
|
989
989
|
*/
|
|
990
990
|
export interface ProvisionedModelSummary {
|
|
991
991
|
/**
|
|
992
|
-
* @public
|
|
993
992
|
* <p>The name of the provisioned throughput.</p>
|
|
993
|
+
* @public
|
|
994
994
|
*/
|
|
995
995
|
provisionedModelName: string | undefined;
|
|
996
996
|
/**
|
|
997
|
-
* @public
|
|
998
997
|
* <p>The ARN of the provisioned throughput.</p>
|
|
998
|
+
* @public
|
|
999
999
|
*/
|
|
1000
1000
|
provisionedModelArn: string | undefined;
|
|
1001
1001
|
/**
|
|
1002
|
-
* @public
|
|
1003
1002
|
* <p>The ARN of the model associated with this provisioned throughput.</p>
|
|
1003
|
+
* @public
|
|
1004
1004
|
*/
|
|
1005
1005
|
modelArn: string | undefined;
|
|
1006
1006
|
/**
|
|
1007
|
-
* @public
|
|
1008
1007
|
* <p>Desired model ARN.</p>
|
|
1008
|
+
* @public
|
|
1009
1009
|
*/
|
|
1010
1010
|
desiredModelArn: string | undefined;
|
|
1011
1011
|
/**
|
|
1012
|
-
* @public
|
|
1013
1012
|
* <p>Foundation model ARN.</p>
|
|
1013
|
+
* @public
|
|
1014
1014
|
*/
|
|
1015
1015
|
foundationModelArn: string | undefined;
|
|
1016
1016
|
/**
|
|
1017
|
-
* @public
|
|
1018
1017
|
* <p>The number of model units allocated.</p>
|
|
1018
|
+
* @public
|
|
1019
1019
|
*/
|
|
1020
1020
|
modelUnits: number | undefined;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @public
|
|
1023
1022
|
* <p>Desired model units.</p>
|
|
1023
|
+
* @public
|
|
1024
1024
|
*/
|
|
1025
1025
|
desiredModelUnits: number | undefined;
|
|
1026
1026
|
/**
|
|
1027
|
-
* @public
|
|
1028
1027
|
* <p>Status of the provisioned throughput.</p>
|
|
1028
|
+
* @public
|
|
1029
1029
|
*/
|
|
1030
1030
|
status: ProvisionedModelStatus | undefined;
|
|
1031
1031
|
/**
|
|
1032
|
-
* @public
|
|
1033
1032
|
* <p>Commitment duration for the provisioned throughput.</p>
|
|
1033
|
+
* @public
|
|
1034
1034
|
*/
|
|
1035
1035
|
commitmentDuration?: CommitmentDuration;
|
|
1036
1036
|
/**
|
|
1037
|
-
* @public
|
|
1038
1037
|
* <p>Commitment expiration time for the provisioned throughput.</p>
|
|
1038
|
+
* @public
|
|
1039
1039
|
*/
|
|
1040
1040
|
commitmentExpirationTime?: Date;
|
|
1041
1041
|
/**
|
|
1042
|
-
* @public
|
|
1043
1042
|
* <p>The time that this provisioned throughput was created. </p>
|
|
1043
|
+
* @public
|
|
1044
1044
|
*/
|
|
1045
1045
|
creationTime: Date | undefined;
|
|
1046
1046
|
/**
|
|
1047
|
-
* @public
|
|
1048
1047
|
* <p>The time that this provisioned throughput was last modified. </p>
|
|
1048
|
+
* @public
|
|
1049
1049
|
*/
|
|
1050
1050
|
lastModifiedTime: Date | undefined;
|
|
1051
1051
|
}
|
|
@@ -1054,13 +1054,13 @@ export interface ProvisionedModelSummary {
|
|
|
1054
1054
|
*/
|
|
1055
1055
|
export interface ListProvisionedModelThroughputsResponse {
|
|
1056
1056
|
/**
|
|
1057
|
-
* @public
|
|
1058
1057
|
* <p>Continuation token for the next request to list the next set of results.</p>
|
|
1058
|
+
* @public
|
|
1059
1059
|
*/
|
|
1060
1060
|
nextToken?: string;
|
|
1061
1061
|
/**
|
|
1062
|
-
* @public
|
|
1063
1062
|
* <p>List of summaries, one for each provisioned throughput in the response.</p>
|
|
1063
|
+
* @public
|
|
1064
1064
|
*/
|
|
1065
1065
|
provisionedModelSummaries?: ProvisionedModelSummary[];
|
|
1066
1066
|
}
|
|
@@ -1069,18 +1069,18 @@ export interface ListProvisionedModelThroughputsResponse {
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
export interface UpdateProvisionedModelThroughputRequest {
|
|
1071
1071
|
/**
|
|
1072
|
-
* @public
|
|
1073
1072
|
* <p>The ARN or name of the provisioned throughput to update.</p>
|
|
1073
|
+
* @public
|
|
1074
1074
|
*/
|
|
1075
1075
|
provisionedModelId: string | undefined;
|
|
1076
1076
|
/**
|
|
1077
|
-
* @public
|
|
1078
1077
|
* <p>The new name for this provisioned throughput.</p>
|
|
1078
|
+
* @public
|
|
1079
1079
|
*/
|
|
1080
1080
|
desiredProvisionedModelName?: string;
|
|
1081
1081
|
/**
|
|
1082
|
-
* @public
|
|
1083
1082
|
* <p>The ARN of the new model to associate with this provisioned throughput.</p>
|
|
1083
|
+
* @public
|
|
1084
1084
|
*/
|
|
1085
1085
|
desiredModelId?: string;
|
|
1086
1086
|
}
|
|
@@ -1094,8 +1094,8 @@ export interface UpdateProvisionedModelThroughputResponse {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
export interface ListTagsForResourceRequest {
|
|
1096
1096
|
/**
|
|
1097
|
-
* @public
|
|
1098
1097
|
* <p>The ARN of the resource.</p>
|
|
1098
|
+
* @public
|
|
1099
1099
|
*/
|
|
1100
1100
|
resourceARN: string | undefined;
|
|
1101
1101
|
}
|
|
@@ -1104,8 +1104,8 @@ export interface ListTagsForResourceRequest {
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
export interface ListTagsForResourceResponse {
|
|
1106
1106
|
/**
|
|
1107
|
-
* @public
|
|
1108
1107
|
* <p>An array of the tags associated with this resource.</p>
|
|
1108
|
+
* @public
|
|
1109
1109
|
*/
|
|
1110
1110
|
tags?: Tag[];
|
|
1111
1111
|
}
|
|
@@ -1114,13 +1114,13 @@ export interface ListTagsForResourceResponse {
|
|
|
1114
1114
|
*/
|
|
1115
1115
|
export interface TagResourceRequest {
|
|
1116
1116
|
/**
|
|
1117
|
-
* @public
|
|
1118
1117
|
* <p>The ARN of the resource to tag.</p>
|
|
1118
|
+
* @public
|
|
1119
1119
|
*/
|
|
1120
1120
|
resourceARN: string | undefined;
|
|
1121
1121
|
/**
|
|
1122
|
-
* @public
|
|
1123
1122
|
* <p>Tags to associate with the resource.</p>
|
|
1123
|
+
* @public
|
|
1124
1124
|
*/
|
|
1125
1125
|
tags: Tag[] | undefined;
|
|
1126
1126
|
}
|
|
@@ -1134,13 +1134,13 @@ export interface TagResourceResponse {
|
|
|
1134
1134
|
*/
|
|
1135
1135
|
export interface UntagResourceRequest {
|
|
1136
1136
|
/**
|
|
1137
|
-
* @public
|
|
1138
1137
|
* <p>The ARN of the resource to untag.</p>
|
|
1138
|
+
* @public
|
|
1139
1139
|
*/
|
|
1140
1140
|
resourceARN: string | undefined;
|
|
1141
1141
|
/**
|
|
1142
|
-
* @public
|
|
1143
1142
|
* <p>Tag keys of the tags to remove from the resource.</p>
|
|
1143
|
+
* @public
|
|
1144
1144
|
*/
|
|
1145
1145
|
tagKeys: string[] | undefined;
|
|
1146
1146
|
}
|
|
@@ -1150,18 +1150,18 @@ export interface UntagResourceRequest {
|
|
|
1150
1150
|
export interface UntagResourceResponse {
|
|
1151
1151
|
}
|
|
1152
1152
|
/**
|
|
1153
|
-
* @public
|
|
1154
1153
|
* <p>VPC configuration.</p>
|
|
1154
|
+
* @public
|
|
1155
1155
|
*/
|
|
1156
1156
|
export interface VpcConfig {
|
|
1157
1157
|
/**
|
|
1158
|
-
* @public
|
|
1159
1158
|
* <p>VPC configuration subnets.</p>
|
|
1159
|
+
* @public
|
|
1160
1160
|
*/
|
|
1161
1161
|
subnetIds: string[] | undefined;
|
|
1162
1162
|
/**
|
|
1163
|
-
* @public
|
|
1164
1163
|
* <p>VPC configuration security group Ids.</p>
|
|
1164
|
+
* @public
|
|
1165
1165
|
*/
|
|
1166
1166
|
securityGroupIds: string[] | undefined;
|
|
1167
1167
|
}
|
|
@@ -1170,77 +1170,77 @@ export interface VpcConfig {
|
|
|
1170
1170
|
*/
|
|
1171
1171
|
export interface CreateModelCustomizationJobRequest {
|
|
1172
1172
|
/**
|
|
1173
|
-
* @public
|
|
1174
1173
|
* <p>Enter a unique name for the fine-tuning job.</p>
|
|
1174
|
+
* @public
|
|
1175
1175
|
*/
|
|
1176
1176
|
jobName: string | undefined;
|
|
1177
1177
|
/**
|
|
1178
|
-
* @public
|
|
1179
1178
|
* <p>Enter a name for the custom model.</p>
|
|
1179
|
+
* @public
|
|
1180
1180
|
*/
|
|
1181
1181
|
customModelName: string | undefined;
|
|
1182
1182
|
/**
|
|
1183
|
-
* @public
|
|
1184
1183
|
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf.
|
|
1185
1184
|
* For example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket.
|
|
1186
1185
|
* To pass this role to Amazon Bedrock, the caller of this API must have the <code>iam:PassRole</code> permission.
|
|
1187
1186
|
* </p>
|
|
1187
|
+
* @public
|
|
1188
1188
|
*/
|
|
1189
1189
|
roleArn: string | undefined;
|
|
1190
1190
|
/**
|
|
1191
|
-
* @public
|
|
1192
1191
|
* <p>Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.</p>
|
|
1192
|
+
* @public
|
|
1193
1193
|
*/
|
|
1194
1194
|
clientRequestToken?: string;
|
|
1195
1195
|
/**
|
|
1196
|
-
* @public
|
|
1197
1196
|
* <p>Name of the base model.</p>
|
|
1197
|
+
* @public
|
|
1198
1198
|
*/
|
|
1199
1199
|
baseModelIdentifier: string | undefined;
|
|
1200
1200
|
/**
|
|
1201
|
-
* @public
|
|
1202
1201
|
* <p>The customization type.</p>
|
|
1202
|
+
* @public
|
|
1203
1203
|
*/
|
|
1204
1204
|
customizationType?: CustomizationType;
|
|
1205
1205
|
/**
|
|
1206
|
-
* @public
|
|
1207
1206
|
* <p>The custom model is encrypted at rest using this key.</p>
|
|
1207
|
+
* @public
|
|
1208
1208
|
*/
|
|
1209
1209
|
customModelKmsKeyId?: string;
|
|
1210
1210
|
/**
|
|
1211
|
-
* @public
|
|
1212
1211
|
* <p>Assign tags to the job.</p>
|
|
1212
|
+
* @public
|
|
1213
1213
|
*/
|
|
1214
1214
|
jobTags?: Tag[];
|
|
1215
1215
|
/**
|
|
1216
|
-
* @public
|
|
1217
1216
|
* <p>Assign tags to the custom model.</p>
|
|
1217
|
+
* @public
|
|
1218
1218
|
*/
|
|
1219
1219
|
customModelTags?: Tag[];
|
|
1220
1220
|
/**
|
|
1221
|
-
* @public
|
|
1222
1221
|
* <p>Information about the training dataset.</p>
|
|
1222
|
+
* @public
|
|
1223
1223
|
*/
|
|
1224
1224
|
trainingDataConfig: TrainingDataConfig | undefined;
|
|
1225
1225
|
/**
|
|
1226
|
-
* @public
|
|
1227
1226
|
* <p>Information about the validation dataset. </p>
|
|
1227
|
+
* @public
|
|
1228
1228
|
*/
|
|
1229
1229
|
validationDataConfig?: ValidationDataConfig;
|
|
1230
1230
|
/**
|
|
1231
|
-
* @public
|
|
1232
1231
|
* <p>S3 location for the output data.</p>
|
|
1232
|
+
* @public
|
|
1233
1233
|
*/
|
|
1234
1234
|
outputDataConfig: OutputDataConfig | undefined;
|
|
1235
1235
|
/**
|
|
1236
|
-
* @public
|
|
1237
1236
|
* <p>Parameters related to tuning the model.</p>
|
|
1237
|
+
* @public
|
|
1238
1238
|
*/
|
|
1239
1239
|
hyperParameters: Record<string, string> | undefined;
|
|
1240
1240
|
/**
|
|
1241
|
-
* @public
|
|
1242
1241
|
* <p>VPC configuration (optional). Configuration parameters for the
|
|
1243
1242
|
* private Virtual Private Cloud (VPC) that contains the resources you are using for this job.</p>
|
|
1243
|
+
* @public
|
|
1244
1244
|
*/
|
|
1245
1245
|
vpcConfig?: VpcConfig;
|
|
1246
1246
|
}
|
|
@@ -1249,8 +1249,8 @@ export interface CreateModelCustomizationJobRequest {
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
export interface CreateModelCustomizationJobResponse {
|
|
1251
1251
|
/**
|
|
1252
|
-
* @public
|
|
1253
1252
|
* <p>ARN of the fine tuning job</p>
|
|
1253
|
+
* @public
|
|
1254
1254
|
*/
|
|
1255
1255
|
jobArn: string | undefined;
|
|
1256
1256
|
}
|
|
@@ -1259,8 +1259,8 @@ export interface CreateModelCustomizationJobResponse {
|
|
|
1259
1259
|
*/
|
|
1260
1260
|
export interface GetModelCustomizationJobRequest {
|
|
1261
1261
|
/**
|
|
1262
|
-
* @public
|
|
1263
1262
|
* <p>Identifier for the customization job.</p>
|
|
1263
|
+
* @public
|
|
1264
1264
|
*/
|
|
1265
1265
|
jobIdentifier: string | undefined;
|
|
1266
1266
|
}
|
|
@@ -1284,109 +1284,109 @@ export type ModelCustomizationJobStatus = (typeof ModelCustomizationJobStatus)[k
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
export interface GetModelCustomizationJobResponse {
|
|
1286
1286
|
/**
|
|
1287
|
-
* @public
|
|
1288
1287
|
* <p>The ARN of the customization job.</p>
|
|
1288
|
+
* @public
|
|
1289
1289
|
*/
|
|
1290
1290
|
jobArn: string | undefined;
|
|
1291
1291
|
/**
|
|
1292
|
-
* @public
|
|
1293
1292
|
* <p>The name of the customization job.</p>
|
|
1293
|
+
* @public
|
|
1294
1294
|
*/
|
|
1295
1295
|
jobName: string | undefined;
|
|
1296
1296
|
/**
|
|
1297
|
-
* @public
|
|
1298
1297
|
* <p>The name of the output model.</p>
|
|
1298
|
+
* @public
|
|
1299
1299
|
*/
|
|
1300
1300
|
outputModelName: string | undefined;
|
|
1301
1301
|
/**
|
|
1302
|
-
* @public
|
|
1303
1302
|
* <p>The ARN of the output model.</p>
|
|
1303
|
+
* @public
|
|
1304
1304
|
*/
|
|
1305
1305
|
outputModelArn?: string;
|
|
1306
1306
|
/**
|
|
1307
|
-
* @public
|
|
1308
1307
|
* <p>The token that you specified in the CreateCustomizationJob request.</p>
|
|
1308
|
+
* @public
|
|
1309
1309
|
*/
|
|
1310
1310
|
clientRequestToken?: string;
|
|
1311
1311
|
/**
|
|
1312
|
-
* @public
|
|
1313
1312
|
* <p>The ARN of the IAM role.</p>
|
|
1313
|
+
* @public
|
|
1314
1314
|
*/
|
|
1315
1315
|
roleArn: string | undefined;
|
|
1316
1316
|
/**
|
|
1317
|
-
* @public
|
|
1318
1317
|
* <p>The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use.
|
|
1319
1318
|
* If the job failed, the failure message contains information about why the job failed.</p>
|
|
1319
|
+
* @public
|
|
1320
1320
|
*/
|
|
1321
1321
|
status?: ModelCustomizationJobStatus;
|
|
1322
1322
|
/**
|
|
1323
|
-
* @public
|
|
1324
1323
|
* <p>Information about why the job failed.</p>
|
|
1324
|
+
* @public
|
|
1325
1325
|
*/
|
|
1326
1326
|
failureMessage?: string;
|
|
1327
1327
|
/**
|
|
1328
|
-
* @public
|
|
1329
1328
|
* <p>Time that the resource was created.</p>
|
|
1329
|
+
* @public
|
|
1330
1330
|
*/
|
|
1331
1331
|
creationTime: Date | undefined;
|
|
1332
1332
|
/**
|
|
1333
|
-
* @public
|
|
1334
1333
|
* <p>Time that the resource was last modified.</p>
|
|
1334
|
+
* @public
|
|
1335
1335
|
*/
|
|
1336
1336
|
lastModifiedTime?: Date;
|
|
1337
1337
|
/**
|
|
1338
|
-
* @public
|
|
1339
1338
|
* <p>Time that the resource transitioned to terminal state.</p>
|
|
1339
|
+
* @public
|
|
1340
1340
|
*/
|
|
1341
1341
|
endTime?: Date;
|
|
1342
1342
|
/**
|
|
1343
|
-
* @public
|
|
1344
1343
|
* <p>ARN of the base model.</p>
|
|
1344
|
+
* @public
|
|
1345
1345
|
*/
|
|
1346
1346
|
baseModelArn: string | undefined;
|
|
1347
1347
|
/**
|
|
1348
|
-
* @public
|
|
1349
1348
|
* <p>The hyperparameter values for the job. For information about hyperparameters for specific models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-guidelines.html">Guidelines for model customization</a>.</p>
|
|
1349
|
+
* @public
|
|
1350
1350
|
*/
|
|
1351
1351
|
hyperParameters: Record<string, string> | undefined;
|
|
1352
1352
|
/**
|
|
1353
|
-
* @public
|
|
1354
1353
|
* <p>S3 Location of the training data.</p>
|
|
1354
|
+
* @public
|
|
1355
1355
|
*/
|
|
1356
1356
|
trainingDataConfig: TrainingDataConfig | undefined;
|
|
1357
1357
|
/**
|
|
1358
|
-
* @public
|
|
1359
1358
|
* <p>Array of up to 10 validators.</p>
|
|
1359
|
+
* @public
|
|
1360
1360
|
*/
|
|
1361
1361
|
validationDataConfig: ValidationDataConfig | undefined;
|
|
1362
1362
|
/**
|
|
1363
|
-
* @public
|
|
1364
1363
|
* <p>Output data configuration </p>
|
|
1364
|
+
* @public
|
|
1365
1365
|
*/
|
|
1366
1366
|
outputDataConfig: OutputDataConfig | undefined;
|
|
1367
1367
|
/**
|
|
1368
|
-
* @public
|
|
1369
1368
|
* <p>The type of model customization.</p>
|
|
1369
|
+
* @public
|
|
1370
1370
|
*/
|
|
1371
1371
|
customizationType?: CustomizationType;
|
|
1372
1372
|
/**
|
|
1373
|
-
* @public
|
|
1374
1373
|
* <p>The custom model is encrypted at rest using this key.</p>
|
|
1374
|
+
* @public
|
|
1375
1375
|
*/
|
|
1376
1376
|
outputModelKmsKeyArn?: string;
|
|
1377
1377
|
/**
|
|
1378
|
-
* @public
|
|
1379
1378
|
* <p>Metrics associated with the custom job.</p>
|
|
1379
|
+
* @public
|
|
1380
1380
|
*/
|
|
1381
1381
|
trainingMetrics?: TrainingMetrics;
|
|
1382
1382
|
/**
|
|
1383
|
-
* @public
|
|
1384
1383
|
* <p>The loss metric for each validator that you provided in the createjob request.</p>
|
|
1384
|
+
* @public
|
|
1385
1385
|
*/
|
|
1386
1386
|
validationMetrics?: ValidatorMetric[];
|
|
1387
1387
|
/**
|
|
1388
|
-
* @public
|
|
1389
1388
|
* <p>VPC configuration for the custom model job.</p>
|
|
1389
|
+
* @public
|
|
1390
1390
|
*/
|
|
1391
1391
|
vpcConfig?: VpcConfig;
|
|
1392
1392
|
}
|
|
@@ -1421,99 +1421,99 @@ export type FineTuningJobStatus = (typeof FineTuningJobStatus)[keyof typeof Fine
|
|
|
1421
1421
|
*/
|
|
1422
1422
|
export interface ListModelCustomizationJobsRequest {
|
|
1423
1423
|
/**
|
|
1424
|
-
* @public
|
|
1425
1424
|
* <p>Return customization jobs created after the specified time. </p>
|
|
1425
|
+
* @public
|
|
1426
1426
|
*/
|
|
1427
1427
|
creationTimeAfter?: Date;
|
|
1428
1428
|
/**
|
|
1429
|
-
* @public
|
|
1430
1429
|
* <p>Return customization jobs created before the specified time. </p>
|
|
1430
|
+
* @public
|
|
1431
1431
|
*/
|
|
1432
1432
|
creationTimeBefore?: Date;
|
|
1433
1433
|
/**
|
|
1434
|
-
* @public
|
|
1435
1434
|
* <p>Return customization jobs with the specified status. </p>
|
|
1435
|
+
* @public
|
|
1436
1436
|
*/
|
|
1437
1437
|
statusEquals?: FineTuningJobStatus;
|
|
1438
1438
|
/**
|
|
1439
|
-
* @public
|
|
1440
1439
|
* <p>Return customization jobs only if the job name contains these characters.</p>
|
|
1440
|
+
* @public
|
|
1441
1441
|
*/
|
|
1442
1442
|
nameContains?: string;
|
|
1443
1443
|
/**
|
|
1444
|
-
* @public
|
|
1445
1444
|
* <p>Maximum number of results to return in the response.</p>
|
|
1445
|
+
* @public
|
|
1446
1446
|
*/
|
|
1447
1447
|
maxResults?: number;
|
|
1448
1448
|
/**
|
|
1449
|
-
* @public
|
|
1450
1449
|
* <p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>
|
|
1450
|
+
* @public
|
|
1451
1451
|
*/
|
|
1452
1452
|
nextToken?: string;
|
|
1453
1453
|
/**
|
|
1454
|
-
* @public
|
|
1455
1454
|
* <p>The field to sort by in the returned list of jobs.</p>
|
|
1455
|
+
* @public
|
|
1456
1456
|
*/
|
|
1457
1457
|
sortBy?: SortJobsBy;
|
|
1458
1458
|
/**
|
|
1459
|
-
* @public
|
|
1460
1459
|
* <p>The sort order of the results.</p>
|
|
1460
|
+
* @public
|
|
1461
1461
|
*/
|
|
1462
1462
|
sortOrder?: SortOrder;
|
|
1463
1463
|
}
|
|
1464
1464
|
/**
|
|
1465
|
-
* @public
|
|
1466
1465
|
* <p>Information about one customization job</p>
|
|
1466
|
+
* @public
|
|
1467
1467
|
*/
|
|
1468
1468
|
export interface ModelCustomizationJobSummary {
|
|
1469
1469
|
/**
|
|
1470
|
-
* @public
|
|
1471
1470
|
* <p>ARN of the customization job.</p>
|
|
1471
|
+
* @public
|
|
1472
1472
|
*/
|
|
1473
1473
|
jobArn: string | undefined;
|
|
1474
1474
|
/**
|
|
1475
|
-
* @public
|
|
1476
1475
|
* <p>ARN of the base model.</p>
|
|
1476
|
+
* @public
|
|
1477
1477
|
*/
|
|
1478
1478
|
baseModelArn: string | undefined;
|
|
1479
1479
|
/**
|
|
1480
|
-
* @public
|
|
1481
1480
|
* <p>Name of the customization job.</p>
|
|
1481
|
+
* @public
|
|
1482
1482
|
*/
|
|
1483
1483
|
jobName: string | undefined;
|
|
1484
1484
|
/**
|
|
1485
|
-
* @public
|
|
1486
1485
|
* <p>Status of the customization job. </p>
|
|
1486
|
+
* @public
|
|
1487
1487
|
*/
|
|
1488
1488
|
status: ModelCustomizationJobStatus | undefined;
|
|
1489
1489
|
/**
|
|
1490
|
-
* @public
|
|
1491
1490
|
* <p>Time that the customization job was last modified.</p>
|
|
1491
|
+
* @public
|
|
1492
1492
|
*/
|
|
1493
1493
|
lastModifiedTime?: Date;
|
|
1494
1494
|
/**
|
|
1495
|
-
* @public
|
|
1496
1495
|
* <p>Creation time of the custom model. </p>
|
|
1496
|
+
* @public
|
|
1497
1497
|
*/
|
|
1498
1498
|
creationTime: Date | undefined;
|
|
1499
1499
|
/**
|
|
1500
|
-
* @public
|
|
1501
1500
|
* <p>Time that the customization job ended.</p>
|
|
1501
|
+
* @public
|
|
1502
1502
|
*/
|
|
1503
1503
|
endTime?: Date;
|
|
1504
1504
|
/**
|
|
1505
|
-
* @public
|
|
1506
1505
|
* <p>ARN of the custom model.</p>
|
|
1506
|
+
* @public
|
|
1507
1507
|
*/
|
|
1508
1508
|
customModelArn?: string;
|
|
1509
1509
|
/**
|
|
1510
|
-
* @public
|
|
1511
1510
|
* <p>Name of the custom model.</p>
|
|
1511
|
+
* @public
|
|
1512
1512
|
*/
|
|
1513
1513
|
customModelName?: string;
|
|
1514
1514
|
/**
|
|
1515
|
-
* @public
|
|
1516
1515
|
* <p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a>.</p>
|
|
1516
|
+
* @public
|
|
1517
1517
|
*/
|
|
1518
1518
|
customizationType?: CustomizationType;
|
|
1519
1519
|
}
|
|
@@ -1522,13 +1522,13 @@ export interface ModelCustomizationJobSummary {
|
|
|
1522
1522
|
*/
|
|
1523
1523
|
export interface ListModelCustomizationJobsResponse {
|
|
1524
1524
|
/**
|
|
1525
|
-
* @public
|
|
1526
1525
|
* <p>Page continuation token to use in the next request.</p>
|
|
1526
|
+
* @public
|
|
1527
1527
|
*/
|
|
1528
1528
|
nextToken?: string;
|
|
1529
1529
|
/**
|
|
1530
|
-
* @public
|
|
1531
1530
|
* <p>Job summaries.</p>
|
|
1531
|
+
* @public
|
|
1532
1532
|
*/
|
|
1533
1533
|
modelCustomizationJobSummaries?: ModelCustomizationJobSummary[];
|
|
1534
1534
|
}
|
|
@@ -1537,8 +1537,8 @@ export interface ListModelCustomizationJobsResponse {
|
|
|
1537
1537
|
*/
|
|
1538
1538
|
export interface StopModelCustomizationJobRequest {
|
|
1539
1539
|
/**
|
|
1540
|
-
* @public
|
|
1541
1540
|
* <p>Job identifier of the job to stop.</p>
|
|
1541
|
+
* @public
|
|
1542
1542
|
*/
|
|
1543
1543
|
jobIdentifier: string | undefined;
|
|
1544
1544
|
}
|