@aws-sdk/client-bedrock 3.635.0 → 3.640.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +646 -78
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
  5. package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
  6. package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
  7. package/dist-es/commands/GetImportedModelCommand.js +24 -0
  8. package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
  9. package/dist-es/commands/GetModelImportJobCommand.js +24 -0
  10. package/dist-es/commands/ListImportedModelsCommand.js +24 -0
  11. package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
  12. package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +97 -58
  15. package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
  16. package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
  17. package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -0
  19. package/dist-es/protocols/Aws_restJson1.js +329 -3
  20. package/dist-types/Bedrock.d.ts +66 -0
  21. package/dist-types/BedrockClient.d.ts +11 -2
  22. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
  23. package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
  24. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
  25. package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
  26. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
  27. package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
  28. package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
  29. package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
  30. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
  31. package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
  32. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
  33. package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
  34. package/dist-types/commands/index.d.ts +9 -0
  35. package/dist-types/models/models_0.d.ts +952 -249
  36. package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
  38. package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +3 -0
  40. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  41. package/dist-types/ts3.4/Bedrock.d.ts +156 -0
  42. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  43. package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
  44. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
  45. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
  46. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
  48. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
  49. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
  50. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +239 -45
  54. package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  59. package/package.json +6 -6
@@ -12,6 +12,84 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ /**
16
+ * @public
17
+ */
18
+ export interface BatchDeleteEvaluationJobRequest {
19
+ /**
20
+ * <p>An array of model evaluation job ARNs to be deleted.</p>
21
+ * @public
22
+ */
23
+ jobIdentifiers: string[] | undefined;
24
+ }
25
+ /**
26
+ * <p>A JSON array that provides the status of the model evaluation jobs being deleted.</p>
27
+ * @public
28
+ */
29
+ export interface BatchDeleteEvaluationJobError {
30
+ /**
31
+ * <p>The ARN of the model evaluation job being deleted.</p>
32
+ * @public
33
+ */
34
+ jobIdentifier: string | undefined;
35
+ /**
36
+ * <p>A HTTP status code of the model evaluation job being deleted.</p>
37
+ * @public
38
+ */
39
+ code: string | undefined;
40
+ /**
41
+ * <p>A status message about the model evaluation job deletion.</p>
42
+ * @public
43
+ */
44
+ message?: string;
45
+ }
46
+ /**
47
+ * @public
48
+ * @enum
49
+ */
50
+ export declare const EvaluationJobStatus: {
51
+ readonly COMPLETED: "Completed";
52
+ readonly DELETING: "Deleting";
53
+ readonly FAILED: "Failed";
54
+ readonly IN_PROGRESS: "InProgress";
55
+ readonly STOPPED: "Stopped";
56
+ readonly STOPPING: "Stopping";
57
+ };
58
+ /**
59
+ * @public
60
+ */
61
+ export type EvaluationJobStatus = (typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
62
+ /**
63
+ * <p>An array of model evaluation jobs to be deleted, and their associated statuses.</p>
64
+ * @public
65
+ */
66
+ export interface BatchDeleteEvaluationJobItem {
67
+ /**
68
+ * <p>The ARN of model evaluation job to be deleted.</p>
69
+ * @public
70
+ */
71
+ jobIdentifier: string | undefined;
72
+ /**
73
+ * <p>The status of the job's deletion.</p>
74
+ * @public
75
+ */
76
+ jobStatus: EvaluationJobStatus | undefined;
77
+ }
78
+ /**
79
+ * @public
80
+ */
81
+ export interface BatchDeleteEvaluationJobResponse {
82
+ /**
83
+ * <p>A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.</p>
84
+ * @public
85
+ */
86
+ errors: BatchDeleteEvaluationJobError[] | undefined;
87
+ /**
88
+ * <p>The list of model evaluation jobs to be deleted.</p>
89
+ * @public
90
+ */
91
+ evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
92
+ }
15
93
  /**
16
94
  * <p>Error occurred because of a conflict while performing an operation.</p>
17
95
  * @public
@@ -24,6 +102,54 @@ export declare class ConflictException extends __BaseException {
24
102
  */
25
103
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
104
  }
105
+ /**
106
+ * <p>An internal server error occurred. Retry your request.</p>
107
+ * @public
108
+ */
109
+ export declare class InternalServerException extends __BaseException {
110
+ readonly name: "InternalServerException";
111
+ readonly $fault: "server";
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
119
+ * @public
120
+ */
121
+ export declare class ResourceNotFoundException extends __BaseException {
122
+ readonly name: "ResourceNotFoundException";
123
+ readonly $fault: "client";
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
131
+ * @public
132
+ */
133
+ export declare class ThrottlingException extends __BaseException {
134
+ readonly name: "ThrottlingException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
143
+ * @public
144
+ */
145
+ export declare class ValidationException extends __BaseException {
146
+ readonly name: "ValidationException";
147
+ readonly $fault: "client";
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
152
+ }
27
153
  /**
28
154
  * <p>The location in Amazon S3 where your prompt dataset is stored.</p>
29
155
  * @public
@@ -60,7 +186,7 @@ export declare namespace EvaluationDatasetLocation {
60
186
  */
61
187
  export interface EvaluationDataset {
62
188
  /**
63
- * <p>Used to specify supported built-in prompt datasets. Valid values are <code>Builtin.Bold</code>, <code>Builtin.BoolQ</code>, <code>Builtin.NaturalQuestions</code>, <code>Builtin.Gigaword</code>, <code>Builtin.RealToxicityPrompts</code>, <code>Builtin.TriviaQa</code>, <code>Builtin.T-Rex</code>, <code>Builtin.WomensEcommerceClothingReviews</code> and <code>Builtin.Wikitext2</code>.</p>
189
+ * <p>Used to specify supported built-in prompt datasets. Valid values are <code>Builtin.Bold</code>, <code>Builtin.BoolQ</code>, <code>Builtin.NaturalQuestions</code>, <code>Builtin.Gigaword</code>, <code>Builtin.RealToxicityPrompts</code>, <code>Builtin.TriviaQA</code>, <code>Builtin.T-Rex</code>, <code>Builtin.WomensEcommerceClothingReviews</code> and <code>Builtin.Wikitext2</code>.</p>
64
190
  * @public
65
191
  */
66
192
  name: string | undefined;
@@ -223,7 +349,7 @@ export declare namespace EvaluationConfig {
223
349
  const visit: <T>(value: EvaluationConfig, visitor: Visitor<T>) => T;
224
350
  }
225
351
  /**
226
- * <p>Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-prompt-datasets-custom.html">Inference parameters for foundation models</a>.</p>
352
+ * <p>Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html">Inference parameters for foundation models</a>.</p>
227
353
  * <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>"temperature":"0.25"</code> key value pair would need to be formatted as <code>\"temperature\":\"0.25\"</code> to successfully accepted in the request.</p>
228
354
  * @public
229
355
  */
@@ -387,30 +513,6 @@ export interface CreateEvaluationJobResponse {
387
513
  */
388
514
  jobArn: string | undefined;
389
515
  }
390
- /**
391
- * <p>An internal server error occurred. Retry your request.</p>
392
- * @public
393
- */
394
- export declare class InternalServerException extends __BaseException {
395
- readonly name: "InternalServerException";
396
- readonly $fault: "server";
397
- /**
398
- * @internal
399
- */
400
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
401
- }
402
- /**
403
- * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
404
- * @public
405
- */
406
- export declare class ResourceNotFoundException extends __BaseException {
407
- readonly name: "ResourceNotFoundException";
408
- readonly $fault: "client";
409
- /**
410
- * @internal
411
- */
412
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
413
- }
414
516
  /**
415
517
  * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
416
518
  * @public
@@ -423,30 +525,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
423
525
  */
424
526
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
425
527
  }
426
- /**
427
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
428
- * @public
429
- */
430
- export declare class ThrottlingException extends __BaseException {
431
- readonly name: "ThrottlingException";
432
- readonly $fault: "client";
433
- /**
434
- * @internal
435
- */
436
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
437
- }
438
- /**
439
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
440
- * @public
441
- */
442
- export declare class ValidationException extends __BaseException {
443
- readonly name: "ValidationException";
444
- readonly $fault: "client";
445
- /**
446
- * @internal
447
- */
448
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
449
- }
450
528
  /**
451
529
  * @public
452
530
  */
@@ -469,21 +547,6 @@ export declare const EvaluationJobType: {
469
547
  * @public
470
548
  */
471
549
  export type EvaluationJobType = (typeof EvaluationJobType)[keyof typeof EvaluationJobType];
472
- /**
473
- * @public
474
- * @enum
475
- */
476
- export declare const EvaluationJobStatus: {
477
- readonly COMPLETED: "Completed";
478
- readonly FAILED: "Failed";
479
- readonly IN_PROGRESS: "InProgress";
480
- readonly STOPPED: "Stopped";
481
- readonly STOPPING: "Stopping";
482
- };
483
- /**
484
- * @public
485
- */
486
- export type EvaluationJobStatus = (typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
487
550
  /**
488
551
  * @public
489
552
  */
@@ -2089,167 +2152,753 @@ export interface UpdateGuardrailResponse {
2089
2152
  /**
2090
2153
  * @public
2091
2154
  */
2092
- export interface DeleteModelInvocationLoggingConfigurationRequest {
2155
+ export interface GetInferenceProfileRequest {
2156
+ /**
2157
+ * <p>The unique identifier of the inference profile.</p>
2158
+ * @public
2159
+ */
2160
+ inferenceProfileIdentifier: string | undefined;
2093
2161
  }
2094
2162
  /**
2163
+ * <p>Contains information about a model.</p>
2095
2164
  * @public
2096
2165
  */
2097
- export interface DeleteModelInvocationLoggingConfigurationResponse {
2166
+ export interface InferenceProfileModel {
2167
+ /**
2168
+ * <p>The Amazon Resource Name (ARN) of the model.</p>
2169
+ * @public
2170
+ */
2171
+ modelArn?: string;
2098
2172
  }
2099
2173
  /**
2100
2174
  * @public
2175
+ * @enum
2101
2176
  */
2102
- export interface GetModelInvocationLoggingConfigurationRequest {
2103
- }
2177
+ export declare const InferenceProfileStatus: {
2178
+ readonly ACTIVE: "ACTIVE";
2179
+ };
2104
2180
  /**
2105
- * <p>S3 configuration for storing log data.</p>
2106
2181
  * @public
2107
2182
  */
2108
- export interface S3Config {
2109
- /**
2110
- * <p>S3 bucket name.</p>
2111
- * @public
2112
- */
2113
- bucketName: string | undefined;
2114
- /**
2115
- * <p>S3 prefix. </p>
2116
- * @public
2117
- */
2118
- keyPrefix?: string;
2119
- }
2183
+ export type InferenceProfileStatus = (typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
2120
2184
  /**
2121
- * <p>CloudWatch logging configuration.</p>
2122
2185
  * @public
2186
+ * @enum
2123
2187
  */
2124
- export interface CloudWatchConfig {
2188
+ export declare const InferenceProfileType: {
2189
+ readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
2190
+ };
2191
+ /**
2192
+ * @public
2193
+ */
2194
+ export type InferenceProfileType = (typeof InferenceProfileType)[keyof typeof InferenceProfileType];
2195
+ /**
2196
+ * @public
2197
+ */
2198
+ export interface GetInferenceProfileResponse {
2125
2199
  /**
2126
- * <p>The log group name.</p>
2200
+ * <p>The name of the inference profile.</p>
2127
2201
  * @public
2128
2202
  */
2129
- logGroupName: string | undefined;
2203
+ inferenceProfileName: string | undefined;
2130
2204
  /**
2131
- * <p>The role Amazon Resource Name (ARN).</p>
2205
+ * <p>A list of information about each model in the inference profile.</p>
2132
2206
  * @public
2133
2207
  */
2134
- roleArn: string | undefined;
2208
+ models: InferenceProfileModel[] | undefined;
2135
2209
  /**
2136
- * <p>S3 configuration for delivering a large amount of data.</p>
2210
+ * <p>The description of the inference profile.</p>
2137
2211
  * @public
2138
2212
  */
2139
- largeDataDeliveryS3Config?: S3Config;
2140
- }
2141
- /**
2142
- * <p>Configuration fields for invocation logging.</p>
2143
- * @public
2144
- */
2145
- export interface LoggingConfig {
2213
+ description?: string;
2146
2214
  /**
2147
- * <p>CloudWatch logging configuration.</p>
2215
+ * <p>The time at which the inference profile was created.</p>
2148
2216
  * @public
2149
2217
  */
2150
- cloudWatchConfig?: CloudWatchConfig;
2218
+ createdAt?: Date;
2151
2219
  /**
2152
- * <p>S3 configuration for storing log data.</p>
2220
+ * <p>The time at which the inference profile was last updated.</p>
2153
2221
  * @public
2154
2222
  */
2155
- s3Config?: S3Config;
2223
+ updatedAt?: Date;
2156
2224
  /**
2157
- * <p>Set to include text data in the log delivery.</p>
2225
+ * <p>The Amazon Resource Name (ARN) of the inference profile.</p>
2158
2226
  * @public
2159
2227
  */
2160
- textDataDeliveryEnabled?: boolean;
2228
+ inferenceProfileArn: string | undefined;
2161
2229
  /**
2162
- * <p>Set to include image data in the log delivery.</p>
2230
+ * <p>The unique identifier of the inference profile.</p>
2163
2231
  * @public
2164
2232
  */
2165
- imageDataDeliveryEnabled?: boolean;
2233
+ inferenceProfileId: string | undefined;
2166
2234
  /**
2167
- * <p>Set to include embeddings data in the log delivery.</p>
2235
+ * <p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is available to use.</p>
2168
2236
  * @public
2169
2237
  */
2170
- embeddingDataDeliveryEnabled?: boolean;
2171
- }
2172
- /**
2173
- * @public
2174
- */
2175
- export interface GetModelInvocationLoggingConfigurationResponse {
2238
+ status: InferenceProfileStatus | undefined;
2176
2239
  /**
2177
- * <p>The current configuration values.</p>
2240
+ * <p>The type of the inference profile. <code>SYSTEM_DEFINED</code> means that the inference profile is defined by Amazon Bedrock.</p>
2178
2241
  * @public
2179
2242
  */
2180
- loggingConfig?: LoggingConfig;
2243
+ type: InferenceProfileType | undefined;
2181
2244
  }
2182
2245
  /**
2183
2246
  * @public
2184
2247
  */
2185
- export interface PutModelInvocationLoggingConfigurationRequest {
2248
+ export interface ListInferenceProfilesRequest {
2186
2249
  /**
2187
- * <p>The logging configuration values to set.</p>
2250
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2188
2251
  * @public
2189
2252
  */
2190
- loggingConfig: LoggingConfig | undefined;
2191
- }
2192
- /**
2193
- * @public
2194
- */
2195
- export interface PutModelInvocationLoggingConfigurationResponse {
2253
+ maxResults?: number;
2254
+ /**
2255
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2256
+ * @public
2257
+ */
2258
+ nextToken?: string;
2196
2259
  }
2197
2260
  /**
2261
+ * <p>Contains information about an inference profile.</p>
2198
2262
  * @public
2199
2263
  */
2200
- export interface CreateModelCopyJobRequest {
2264
+ export interface InferenceProfileSummary {
2201
2265
  /**
2202
- * <p>The Amazon Resource Name (ARN) of the model to be copied.</p>
2266
+ * <p>The name of the inference profile.</p>
2203
2267
  * @public
2204
2268
  */
2205
- sourceModelArn: string | undefined;
2269
+ inferenceProfileName: string | undefined;
2206
2270
  /**
2207
- * <p>A name for the copied model.</p>
2271
+ * <p>A list of information about each model in the inference profile.</p>
2208
2272
  * @public
2209
2273
  */
2210
- targetModelName: string | undefined;
2274
+ models: InferenceProfileModel[] | undefined;
2211
2275
  /**
2212
- * <p>The ARN of the KMS key that you use to encrypt the model copy.</p>
2276
+ * <p>The description of the inference profile.</p>
2277
+ * @public
2278
+ */
2279
+ description?: string;
2280
+ /**
2281
+ * <p>The time at which the inference profile was created.</p>
2282
+ * @public
2283
+ */
2284
+ createdAt?: Date;
2285
+ /**
2286
+ * <p>The time at which the inference profile was last updated.</p>
2287
+ * @public
2288
+ */
2289
+ updatedAt?: Date;
2290
+ /**
2291
+ * <p>The Amazon Resource Name (ARN) of the inference profile.</p>
2292
+ * @public
2293
+ */
2294
+ inferenceProfileArn: string | undefined;
2295
+ /**
2296
+ * <p>The unique identifier of the inference profile.</p>
2297
+ * @public
2298
+ */
2299
+ inferenceProfileId: string | undefined;
2300
+ /**
2301
+ * <p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is available to use.</p>
2302
+ * @public
2303
+ */
2304
+ status: InferenceProfileStatus | undefined;
2305
+ /**
2306
+ * <p>The type of the inference profile. <code>SYSTEM_DEFINED</code> means that the inference profile is defined by Amazon Bedrock.</p>
2307
+ * @public
2308
+ */
2309
+ type: InferenceProfileType | undefined;
2310
+ }
2311
+ /**
2312
+ * @public
2313
+ */
2314
+ export interface ListInferenceProfilesResponse {
2315
+ /**
2316
+ * <p>A list of information about each inference profile that you can use.</p>
2317
+ * @public
2318
+ */
2319
+ inferenceProfileSummaries?: InferenceProfileSummary[];
2320
+ /**
2321
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
2322
+ * @public
2323
+ */
2324
+ nextToken?: string;
2325
+ }
2326
+ /**
2327
+ * @public
2328
+ */
2329
+ export interface DeleteModelInvocationLoggingConfigurationRequest {
2330
+ }
2331
+ /**
2332
+ * @public
2333
+ */
2334
+ export interface DeleteModelInvocationLoggingConfigurationResponse {
2335
+ }
2336
+ /**
2337
+ * @public
2338
+ */
2339
+ export interface GetModelInvocationLoggingConfigurationRequest {
2340
+ }
2341
+ /**
2342
+ * <p>S3 configuration for storing log data.</p>
2343
+ * @public
2344
+ */
2345
+ export interface S3Config {
2346
+ /**
2347
+ * <p>S3 bucket name.</p>
2348
+ * @public
2349
+ */
2350
+ bucketName: string | undefined;
2351
+ /**
2352
+ * <p>S3 prefix. </p>
2353
+ * @public
2354
+ */
2355
+ keyPrefix?: string;
2356
+ }
2357
+ /**
2358
+ * <p>CloudWatch logging configuration.</p>
2359
+ * @public
2360
+ */
2361
+ export interface CloudWatchConfig {
2362
+ /**
2363
+ * <p>The log group name.</p>
2364
+ * @public
2365
+ */
2366
+ logGroupName: string | undefined;
2367
+ /**
2368
+ * <p>The role Amazon Resource Name (ARN).</p>
2369
+ * @public
2370
+ */
2371
+ roleArn: string | undefined;
2372
+ /**
2373
+ * <p>S3 configuration for delivering a large amount of data.</p>
2374
+ * @public
2375
+ */
2376
+ largeDataDeliveryS3Config?: S3Config;
2377
+ }
2378
+ /**
2379
+ * <p>Configuration fields for invocation logging.</p>
2380
+ * @public
2381
+ */
2382
+ export interface LoggingConfig {
2383
+ /**
2384
+ * <p>CloudWatch logging configuration.</p>
2385
+ * @public
2386
+ */
2387
+ cloudWatchConfig?: CloudWatchConfig;
2388
+ /**
2389
+ * <p>S3 configuration for storing log data.</p>
2390
+ * @public
2391
+ */
2392
+ s3Config?: S3Config;
2393
+ /**
2394
+ * <p>Set to include text data in the log delivery.</p>
2395
+ * @public
2396
+ */
2397
+ textDataDeliveryEnabled?: boolean;
2398
+ /**
2399
+ * <p>Set to include image data in the log delivery.</p>
2400
+ * @public
2401
+ */
2402
+ imageDataDeliveryEnabled?: boolean;
2403
+ /**
2404
+ * <p>Set to include embeddings data in the log delivery.</p>
2405
+ * @public
2406
+ */
2407
+ embeddingDataDeliveryEnabled?: boolean;
2408
+ }
2409
+ /**
2410
+ * @public
2411
+ */
2412
+ export interface GetModelInvocationLoggingConfigurationResponse {
2413
+ /**
2414
+ * <p>The current configuration values.</p>
2415
+ * @public
2416
+ */
2417
+ loggingConfig?: LoggingConfig;
2418
+ }
2419
+ /**
2420
+ * @public
2421
+ */
2422
+ export interface PutModelInvocationLoggingConfigurationRequest {
2423
+ /**
2424
+ * <p>The logging configuration values to set.</p>
2425
+ * @public
2426
+ */
2427
+ loggingConfig: LoggingConfig | undefined;
2428
+ }
2429
+ /**
2430
+ * @public
2431
+ */
2432
+ export interface PutModelInvocationLoggingConfigurationResponse {
2433
+ }
2434
+ /**
2435
+ * @public
2436
+ */
2437
+ export interface CreateModelCopyJobRequest {
2438
+ /**
2439
+ * <p>The Amazon Resource Name (ARN) of the model to be copied.</p>
2440
+ * @public
2441
+ */
2442
+ sourceModelArn: string | undefined;
2443
+ /**
2444
+ * <p>A name for the copied model.</p>
2445
+ * @public
2446
+ */
2447
+ targetModelName: string | undefined;
2448
+ /**
2449
+ * <p>The ARN of the KMS key that you use to encrypt the model copy.</p>
2213
2450
  * @public
2214
2451
  */
2215
2452
  modelKmsKeyId?: string;
2216
2453
  /**
2217
- * <p>Tags to associate with the target model. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tag resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
2454
+ * <p>Tags to associate with the target model. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tag resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
2455
+ * @public
2456
+ */
2457
+ targetModelTags?: Tag[];
2458
+ /**
2459
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2460
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2461
+ * @public
2462
+ */
2463
+ clientRequestToken?: string;
2464
+ }
2465
+ /**
2466
+ * @public
2467
+ */
2468
+ export interface CreateModelCopyJobResponse {
2469
+ /**
2470
+ * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2471
+ * @public
2472
+ */
2473
+ jobArn: string | undefined;
2474
+ }
2475
+ /**
2476
+ * @public
2477
+ */
2478
+ export interface GetModelCopyJobRequest {
2479
+ /**
2480
+ * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2481
+ * @public
2482
+ */
2483
+ jobArn: string | undefined;
2484
+ }
2485
+ /**
2486
+ * @public
2487
+ * @enum
2488
+ */
2489
+ export declare const ModelCopyJobStatus: {
2490
+ readonly COMPLETED: "Completed";
2491
+ readonly FAILED: "Failed";
2492
+ readonly IN_PROGRESS: "InProgress";
2493
+ };
2494
+ /**
2495
+ * @public
2496
+ */
2497
+ export type ModelCopyJobStatus = (typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
2498
+ /**
2499
+ * @public
2500
+ */
2501
+ export interface GetModelCopyJobResponse {
2502
+ /**
2503
+ * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2504
+ * @public
2505
+ */
2506
+ jobArn: string | undefined;
2507
+ /**
2508
+ * <p>The status of the model copy job.</p>
2509
+ * @public
2510
+ */
2511
+ status: ModelCopyJobStatus | undefined;
2512
+ /**
2513
+ * <p>The time at which the model copy job was created.</p>
2514
+ * @public
2515
+ */
2516
+ creationTime: Date | undefined;
2517
+ /**
2518
+ * <p>The Amazon Resource Name (ARN) of the copied model.</p>
2519
+ * @public
2520
+ */
2521
+ targetModelArn: string | undefined;
2522
+ /**
2523
+ * <p>The name of the copied model.</p>
2524
+ * @public
2525
+ */
2526
+ targetModelName?: string;
2527
+ /**
2528
+ * <p>The unique identifier of the account that the model being copied originated from.</p>
2529
+ * @public
2530
+ */
2531
+ sourceAccountId: string | undefined;
2532
+ /**
2533
+ * <p>The Amazon Resource Name (ARN) of the original model being copied.</p>
2534
+ * @public
2535
+ */
2536
+ sourceModelArn: string | undefined;
2537
+ /**
2538
+ * <p>The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.</p>
2539
+ * @public
2540
+ */
2541
+ targetModelKmsKeyArn?: string;
2542
+ /**
2543
+ * <p>The tags associated with the copied model.</p>
2544
+ * @public
2545
+ */
2546
+ targetModelTags?: Tag[];
2547
+ /**
2548
+ * <p>An error message for why the model copy job failed.</p>
2549
+ * @public
2550
+ */
2551
+ failureMessage?: string;
2552
+ /**
2553
+ * <p>The name of the original model being copied.</p>
2554
+ * @public
2555
+ */
2556
+ sourceModelName?: string;
2557
+ }
2558
+ /**
2559
+ * @public
2560
+ */
2561
+ export interface ListModelCopyJobsRequest {
2562
+ /**
2563
+ * <p>Filters for model copy jobs created after the specified time.</p>
2564
+ * @public
2565
+ */
2566
+ creationTimeAfter?: Date;
2567
+ /**
2568
+ * <p>Filters for model copy jobs created before the specified time. </p>
2569
+ * @public
2570
+ */
2571
+ creationTimeBefore?: Date;
2572
+ /**
2573
+ * <p>Filters for model copy jobs whose status matches the value that you specify.</p>
2574
+ * @public
2575
+ */
2576
+ statusEquals?: ModelCopyJobStatus;
2577
+ /**
2578
+ * <p>Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.</p>
2579
+ * @public
2580
+ */
2581
+ sourceAccountEquals?: string;
2582
+ /**
2583
+ * <p>Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.</p>
2584
+ * @public
2585
+ */
2586
+ sourceModelArnEquals?: string;
2587
+ /**
2588
+ * <p>Filters for model copy jobs in which the name of the copied model contains the string that you specify.</p>
2589
+ * @public
2590
+ */
2591
+ targetModelNameContains?: string;
2592
+ /**
2593
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2594
+ * @public
2595
+ */
2596
+ maxResults?: number;
2597
+ /**
2598
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2599
+ * @public
2600
+ */
2601
+ nextToken?: string;
2602
+ /**
2603
+ * <p>The field to sort by in the returned list of model copy jobs.</p>
2604
+ * @public
2605
+ */
2606
+ sortBy?: SortJobsBy;
2607
+ /**
2608
+ * <p>Specifies whether to sort the results in ascending or descending order.</p>
2609
+ * @public
2610
+ */
2611
+ sortOrder?: SortOrder;
2612
+ }
2613
+ /**
2614
+ * <p>Contains details about each model copy job.</p>
2615
+ * <p>This data type is used in the following API operations:</p>
2616
+ * <ul>
2617
+ * <li>
2618
+ * <p>
2619
+ * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax">ListModelCopyJobs response</a>
2620
+ * </p>
2621
+ * </li>
2622
+ * </ul>
2623
+ * @public
2624
+ */
2625
+ export interface ModelCopyJobSummary {
2626
+ /**
2627
+ * <p>The Amazon Resoource Name (ARN) of the model copy job.</p>
2628
+ * @public
2629
+ */
2630
+ jobArn: string | undefined;
2631
+ /**
2632
+ * <p>The status of the model copy job.</p>
2633
+ * @public
2634
+ */
2635
+ status: ModelCopyJobStatus | undefined;
2636
+ /**
2637
+ * <p>The time that the model copy job was created.</p>
2638
+ * @public
2639
+ */
2640
+ creationTime: Date | undefined;
2641
+ /**
2642
+ * <p>The Amazon Resource Name (ARN) of the copied model.</p>
2643
+ * @public
2644
+ */
2645
+ targetModelArn: string | undefined;
2646
+ /**
2647
+ * <p>The name of the copied model.</p>
2648
+ * @public
2649
+ */
2650
+ targetModelName?: string;
2651
+ /**
2652
+ * <p>The unique identifier of the account that the model being copied originated from.</p>
2653
+ * @public
2654
+ */
2655
+ sourceAccountId: string | undefined;
2656
+ /**
2657
+ * <p>The Amazon Resource Name (ARN) of the original model being copied.</p>
2658
+ * @public
2659
+ */
2660
+ sourceModelArn: string | undefined;
2661
+ /**
2662
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.</p>
2663
+ * @public
2664
+ */
2665
+ targetModelKmsKeyArn?: string;
2666
+ /**
2667
+ * <p>Tags associated with the copied model.</p>
2668
+ * @public
2669
+ */
2670
+ targetModelTags?: Tag[];
2671
+ /**
2672
+ * <p>If a model fails to be copied, a message describing why the job failed is included here.</p>
2673
+ * @public
2674
+ */
2675
+ failureMessage?: string;
2676
+ /**
2677
+ * <p>The name of the original model being copied.</p>
2678
+ * @public
2679
+ */
2680
+ sourceModelName?: string;
2681
+ }
2682
+ /**
2683
+ * @public
2684
+ */
2685
+ export interface ListModelCopyJobsResponse {
2686
+ /**
2687
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
2688
+ * @public
2689
+ */
2690
+ nextToken?: string;
2691
+ /**
2692
+ * <p>A list of information about each model copy job.</p>
2693
+ * @public
2694
+ */
2695
+ modelCopyJobSummaries?: ModelCopyJobSummary[];
2696
+ }
2697
+ /**
2698
+ * <p>The Amazon S3 data source of the imported job.</p>
2699
+ * @public
2700
+ */
2701
+ export interface S3DataSource {
2702
+ /**
2703
+ * <p>The URI of the Amazon S3 data source.</p>
2704
+ * @public
2705
+ */
2706
+ s3Uri: string | undefined;
2707
+ }
2708
+ /**
2709
+ * <p>Data source for the imported model.</p>
2710
+ * @public
2711
+ */
2712
+ export type ModelDataSource = ModelDataSource.S3DataSourceMember | ModelDataSource.$UnknownMember;
2713
+ /**
2714
+ * @public
2715
+ */
2716
+ export declare namespace ModelDataSource {
2717
+ /**
2718
+ * <p>The Amazon S3 data source of the imported model.</p>
2719
+ * @public
2720
+ */
2721
+ interface S3DataSourceMember {
2722
+ s3DataSource: S3DataSource;
2723
+ $unknown?: never;
2724
+ }
2725
+ /**
2726
+ * @public
2727
+ */
2728
+ interface $UnknownMember {
2729
+ s3DataSource?: never;
2730
+ $unknown: [string, any];
2731
+ }
2732
+ interface Visitor<T> {
2733
+ s3DataSource: (value: S3DataSource) => T;
2734
+ _: (name: string, value: any) => T;
2735
+ }
2736
+ const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
2737
+ }
2738
+ /**
2739
+ * <p>VPC configuration.</p>
2740
+ * @public
2741
+ */
2742
+ export interface VpcConfig {
2743
+ /**
2744
+ * <p>VPC configuration subnets.</p>
2745
+ * @public
2746
+ */
2747
+ subnetIds: string[] | undefined;
2748
+ /**
2749
+ * <p>VPC configuration security group Ids.</p>
2750
+ * @public
2751
+ */
2752
+ securityGroupIds: string[] | undefined;
2753
+ }
2754
+ /**
2755
+ * @public
2756
+ */
2757
+ export interface CreateModelImportJobRequest {
2758
+ /**
2759
+ * <p>The name of the import job.</p>
2760
+ * @public
2761
+ */
2762
+ jobName: string | undefined;
2763
+ /**
2764
+ * <p>The name of the imported model.</p>
2765
+ * @public
2766
+ */
2767
+ importedModelName: string | undefined;
2768
+ /**
2769
+ * <p>The Amazon Resource Name (ARN) of the model import job.</p>
2770
+ * @public
2771
+ */
2772
+ roleArn: string | undefined;
2773
+ /**
2774
+ * <p>The data source for the imported model.</p>
2775
+ * @public
2776
+ */
2777
+ modelDataSource: ModelDataSource | undefined;
2778
+ /**
2779
+ * <p>Tags to attach to this import job. </p>
2780
+ * @public
2781
+ */
2782
+ jobTags?: Tag[];
2783
+ /**
2784
+ * <p>Tags to attach to the imported model.</p>
2785
+ * @public
2786
+ */
2787
+ importedModelTags?: Tag[];
2788
+ /**
2789
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2790
+ * Amazon Bedrock ignores the request, but does not return an error. For more information,
2791
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2792
+ * @public
2793
+ */
2794
+ clientRequestToken?: string;
2795
+ /**
2796
+ * <p>VPC configuration parameters for the
2797
+ * private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.</p>
2798
+ * @public
2799
+ */
2800
+ vpcConfig?: VpcConfig;
2801
+ /**
2802
+ * <p>The imported model is encrypted at rest using this key.</p>
2803
+ * @public
2804
+ */
2805
+ importedModelKmsKeyId?: string;
2806
+ }
2807
+ /**
2808
+ * @public
2809
+ */
2810
+ export interface CreateModelImportJobResponse {
2811
+ /**
2812
+ * <p>The Amazon Resource Name (ARN) of the model import job.</p>
2813
+ * @public
2814
+ */
2815
+ jobArn: string | undefined;
2816
+ }
2817
+ /**
2818
+ * @public
2819
+ */
2820
+ export interface DeleteImportedModelRequest {
2821
+ /**
2822
+ * <p>Name of the imported model to delete.</p>
2218
2823
  * @public
2219
2824
  */
2220
- targetModelTags?: Tag[];
2825
+ modelIdentifier: string | undefined;
2826
+ }
2827
+ /**
2828
+ * @public
2829
+ */
2830
+ export interface DeleteImportedModelResponse {
2831
+ }
2832
+ /**
2833
+ * @public
2834
+ */
2835
+ export interface GetImportedModelRequest {
2221
2836
  /**
2222
- * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2223
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2837
+ * <p>Name or Amazon Resource Name (ARN) of the imported model.</p>
2224
2838
  * @public
2225
2839
  */
2226
- clientRequestToken?: string;
2840
+ modelIdentifier: string | undefined;
2227
2841
  }
2228
2842
  /**
2229
2843
  * @public
2230
2844
  */
2231
- export interface CreateModelCopyJobResponse {
2845
+ export interface GetImportedModelResponse {
2232
2846
  /**
2233
- * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2847
+ * <p>The Amazon Resource Name (ARN) associated with this imported model.</p>
2234
2848
  * @public
2235
2849
  */
2236
- jobArn: string | undefined;
2850
+ modelArn?: string;
2851
+ /**
2852
+ * <p>The name of the imported model.</p>
2853
+ * @public
2854
+ */
2855
+ modelName?: string;
2856
+ /**
2857
+ * <p>Job name associated with the imported model.</p>
2858
+ * @public
2859
+ */
2860
+ jobName?: string;
2861
+ /**
2862
+ * <p>Job Amazon Resource Name (ARN) associated with the imported model.</p>
2863
+ * @public
2864
+ */
2865
+ jobArn?: string;
2866
+ /**
2867
+ * <p>The data source for this imported model.</p>
2868
+ * @public
2869
+ */
2870
+ modelDataSource?: ModelDataSource;
2871
+ /**
2872
+ * <p>Creation time of the imported model.</p>
2873
+ * @public
2874
+ */
2875
+ creationTime?: Date;
2876
+ /**
2877
+ * <p>The architecture of the imported model.</p>
2878
+ * @public
2879
+ */
2880
+ modelArchitecture?: string;
2881
+ /**
2882
+ * <p>The imported model is encrypted at rest using this key.</p>
2883
+ * @public
2884
+ */
2885
+ modelKmsKeyArn?: string;
2237
2886
  }
2238
2887
  /**
2239
2888
  * @public
2240
2889
  */
2241
- export interface GetModelCopyJobRequest {
2890
+ export interface GetModelImportJobRequest {
2242
2891
  /**
2243
- * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2892
+ * <p>The identifier of the import job.</p>
2244
2893
  * @public
2245
2894
  */
2246
- jobArn: string | undefined;
2895
+ jobIdentifier: string | undefined;
2247
2896
  }
2248
2897
  /**
2249
2898
  * @public
2250
2899
  * @enum
2251
2900
  */
2252
- export declare const ModelCopyJobStatus: {
2901
+ export declare const ModelImportJobStatus: {
2253
2902
  readonly COMPLETED: "Completed";
2254
2903
  readonly FAILED: "Failed";
2255
2904
  readonly IN_PROGRESS: "InProgress";
@@ -2257,205 +2906,270 @@ export declare const ModelCopyJobStatus: {
2257
2906
  /**
2258
2907
  * @public
2259
2908
  */
2260
- export type ModelCopyJobStatus = (typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
2909
+ export type ModelImportJobStatus = (typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
2261
2910
  /**
2262
2911
  * @public
2263
2912
  */
2264
- export interface GetModelCopyJobResponse {
2913
+ export interface GetModelImportJobResponse {
2265
2914
  /**
2266
- * <p>The Amazon Resource Name (ARN) of the model copy job.</p>
2915
+ * <p>The Amazon Resource Name (ARN) of the import job.</p>
2267
2916
  * @public
2268
2917
  */
2269
- jobArn: string | undefined;
2918
+ jobArn?: string;
2270
2919
  /**
2271
- * <p>The status of the model copy job.</p>
2920
+ * <p>The name of the import job.</p>
2272
2921
  * @public
2273
2922
  */
2274
- status: ModelCopyJobStatus | undefined;
2923
+ jobName?: string;
2275
2924
  /**
2276
- * <p>The time at which the model copy job was created.</p>
2925
+ * <p>The name of the imported model.</p>
2277
2926
  * @public
2278
2927
  */
2279
- creationTime: Date | undefined;
2928
+ importedModelName?: string;
2280
2929
  /**
2281
- * <p>The Amazon Resource Name (ARN) of the copied model.</p>
2930
+ * <p>The Amazon Resource Name (ARN) of the imported model.</p>
2282
2931
  * @public
2283
2932
  */
2284
- targetModelArn: string | undefined;
2933
+ importedModelArn?: string;
2285
2934
  /**
2286
- * <p>The name of the copied model.</p>
2935
+ * <p>The Amazon Resource Name (ARN) of the IAM role associated with this job.</p>
2287
2936
  * @public
2288
2937
  */
2289
- targetModelName?: string;
2938
+ roleArn?: string;
2290
2939
  /**
2291
- * <p>The unique identifier of the account that the model being copied originated from.</p>
2940
+ * <p>The data source for the imported model.</p>
2292
2941
  * @public
2293
2942
  */
2294
- sourceAccountId: string | undefined;
2943
+ modelDataSource?: ModelDataSource;
2295
2944
  /**
2296
- * <p>The Amazon Resource Name (ARN) of the original model being copied.</p>
2945
+ * <p>The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use.
2946
+ * If the job failed, the failure message contains information about why the job failed.</p>
2297
2947
  * @public
2298
2948
  */
2299
- sourceModelArn: string | undefined;
2949
+ status?: ModelImportJobStatus;
2300
2950
  /**
2301
- * <p>The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.</p>
2951
+ * <p>Information about why the import job failed.</p>
2302
2952
  * @public
2303
2953
  */
2304
- targetModelKmsKeyArn?: string;
2954
+ failureMessage?: string;
2305
2955
  /**
2306
- * <p>The tags associated with the copied model.</p>
2956
+ * <p>The time the resource was created.</p>
2307
2957
  * @public
2308
2958
  */
2309
- targetModelTags?: Tag[];
2959
+ creationTime?: Date;
2310
2960
  /**
2311
- * <p>An error message for why the model copy job failed.</p>
2961
+ * <p>Time the resource was last modified.</p>
2312
2962
  * @public
2313
2963
  */
2314
- failureMessage?: string;
2964
+ lastModifiedTime?: Date;
2315
2965
  /**
2316
- * <p>The name of the original model being copied.</p>
2966
+ * <p>Time that the resource transitioned to terminal state.</p>
2317
2967
  * @public
2318
2968
  */
2319
- sourceModelName?: string;
2969
+ endTime?: Date;
2970
+ /**
2971
+ * <p>The Virtual Private Cloud (VPC) configuration of the import model job.</p>
2972
+ * @public
2973
+ */
2974
+ vpcConfig?: VpcConfig;
2975
+ /**
2976
+ * <p>The imported model is encrypted at rest using this key.</p>
2977
+ * @public
2978
+ */
2979
+ importedModelKmsKeyArn?: string;
2320
2980
  }
2981
+ /**
2982
+ * @public
2983
+ * @enum
2984
+ */
2985
+ export declare const SortModelsBy: {
2986
+ readonly CREATION_TIME: "CreationTime";
2987
+ };
2321
2988
  /**
2322
2989
  * @public
2323
2990
  */
2324
- export interface ListModelCopyJobsRequest {
2991
+ export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
2992
+ /**
2993
+ * @public
2994
+ */
2995
+ export interface ListImportedModelsRequest {
2325
2996
  /**
2326
- * <p>Filters for model copy jobs created after the specified time.</p>
2997
+ * <p>Return imported models that created before the specified time.</p>
2998
+ * @public
2999
+ */
3000
+ creationTimeBefore?: Date;
3001
+ /**
3002
+ * <p>Return imported models that were created after the specified time.</p>
2327
3003
  * @public
2328
3004
  */
2329
3005
  creationTimeAfter?: Date;
2330
3006
  /**
2331
- * <p>Filters for model copy jobs created before the specified time. </p>
3007
+ * <p>Return imported models only if the model name contains these characters.</p>
2332
3008
  * @public
2333
3009
  */
2334
- creationTimeBefore?: Date;
3010
+ nameContains?: string;
2335
3011
  /**
2336
- * <p>Filters for model copy jobs whose status matches the value that you specify.</p>
3012
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2337
3013
  * @public
2338
3014
  */
2339
- statusEquals?: ModelCopyJobStatus;
3015
+ maxResults?: number;
2340
3016
  /**
2341
- * <p>Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.</p>
3017
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2342
3018
  * @public
2343
3019
  */
2344
- sourceAccountEquals?: string;
3020
+ nextToken?: string;
2345
3021
  /**
2346
- * <p>Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.</p>
3022
+ * <p>The field to sort by in the returned list of imported models.</p>
2347
3023
  * @public
2348
3024
  */
2349
- sourceModelArnEquals?: string;
3025
+ sortBy?: SortModelsBy;
2350
3026
  /**
2351
- * <p>Filters for model copy jobs in which the name of the copied model contains the string that you specify.</p>
3027
+ * <p>Specifies whetehr to sort the results in ascending or descending order.</p>
2352
3028
  * @public
2353
3029
  */
2354
- targetModelNameContains?: string;
3030
+ sortOrder?: SortOrder;
3031
+ }
3032
+ /**
3033
+ * <p>Information about tne imported model.</p>
3034
+ * @public
3035
+ */
3036
+ export interface ImportedModelSummary {
2355
3037
  /**
2356
- * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
3038
+ * <p>The Amazon Resource Name (ARN) of the imported model.</p>
2357
3039
  * @public
2358
3040
  */
2359
- maxResults?: number;
3041
+ modelArn: string | undefined;
2360
3042
  /**
2361
- * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
3043
+ * <p>Name of the imported model.</p>
2362
3044
  * @public
2363
3045
  */
2364
- nextToken?: string;
3046
+ modelName: string | undefined;
2365
3047
  /**
2366
- * <p>The field to sort by in the returned list of model copy jobs.</p>
3048
+ * <p>Creation time of the imported model.</p>
2367
3049
  * @public
2368
3050
  */
2369
- sortBy?: SortJobsBy;
3051
+ creationTime: Date | undefined;
3052
+ }
3053
+ /**
3054
+ * @public
3055
+ */
3056
+ export interface ListImportedModelsResponse {
2370
3057
  /**
2371
- * <p>Specifies whether to sort the results in ascending or descending order.</p>
3058
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
2372
3059
  * @public
2373
3060
  */
2374
- sortOrder?: SortOrder;
3061
+ nextToken?: string;
3062
+ /**
3063
+ * <p>Model summaries.</p>
3064
+ * @public
3065
+ */
3066
+ modelSummaries?: ImportedModelSummary[];
2375
3067
  }
2376
3068
  /**
2377
- * <p>Contains details about each model copy job.</p>
2378
- * <p>This data type is used in the following API operations:</p>
2379
- * <ul>
2380
- * <li>
2381
- * <p>
2382
- * <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax">ListModelCopyJobs response</a>
2383
- * </p>
2384
- * </li>
2385
- * </ul>
2386
3069
  * @public
2387
3070
  */
2388
- export interface ModelCopyJobSummary {
3071
+ export interface ListModelImportJobsRequest {
2389
3072
  /**
2390
- * <p>The Amazon Resoource Name (ARN) of the model copy job.</p>
3073
+ * <p>Return import jobs that were created after the specified time.</p>
2391
3074
  * @public
2392
3075
  */
2393
- jobArn: string | undefined;
3076
+ creationTimeAfter?: Date;
2394
3077
  /**
2395
- * <p>The status of the model copy job.</p>
3078
+ * <p>Return import jobs that were created before the specified time.</p>
2396
3079
  * @public
2397
3080
  */
2398
- status: ModelCopyJobStatus | undefined;
3081
+ creationTimeBefore?: Date;
2399
3082
  /**
2400
- * <p>The time that the model copy job was created.</p>
3083
+ * <p>Return imported jobs with the specified status.</p>
2401
3084
  * @public
2402
3085
  */
2403
- creationTime: Date | undefined;
3086
+ statusEquals?: ModelImportJobStatus;
2404
3087
  /**
2405
- * <p>The Amazon Resource Name (ARN) of the copied model.</p>
3088
+ * <p>Return imported jobs only if the job name contains these characters.</p>
2406
3089
  * @public
2407
3090
  */
2408
- targetModelArn: string | undefined;
3091
+ nameContains?: string;
2409
3092
  /**
2410
- * <p>The name of the copied model.</p>
3093
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2411
3094
  * @public
2412
3095
  */
2413
- targetModelName?: string;
3096
+ maxResults?: number;
2414
3097
  /**
2415
- * <p>The unique identifier of the account that the model being copied originated from.</p>
3098
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2416
3099
  * @public
2417
3100
  */
2418
- sourceAccountId: string | undefined;
3101
+ nextToken?: string;
2419
3102
  /**
2420
- * <p>The Amazon Resource Name (ARN) of the original model being copied.</p>
3103
+ * <p>The field to sort by in the returned list of imported jobs.</p>
2421
3104
  * @public
2422
3105
  */
2423
- sourceModelArn: string | undefined;
3106
+ sortBy?: SortJobsBy;
2424
3107
  /**
2425
- * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.</p>
3108
+ * <p>Specifies whether to sort the results in ascending or descending order.</p>
2426
3109
  * @public
2427
3110
  */
2428
- targetModelKmsKeyArn?: string;
3111
+ sortOrder?: SortOrder;
3112
+ }
3113
+ /**
3114
+ * <p>Information about the import job.</p>
3115
+ * @public
3116
+ */
3117
+ export interface ModelImportJobSummary {
2429
3118
  /**
2430
- * <p>Tags associated with the copied model.</p>
3119
+ * <p>The Amazon Resource Name (ARN) of the import job.</p>
2431
3120
  * @public
2432
3121
  */
2433
- targetModelTags?: Tag[];
3122
+ jobArn: string | undefined;
2434
3123
  /**
2435
- * <p>If a model fails to be copied, a message describing why the job failed is included here.</p>
3124
+ * <p>The name of the import job.</p>
2436
3125
  * @public
2437
3126
  */
2438
- failureMessage?: string;
3127
+ jobName: string | undefined;
2439
3128
  /**
2440
- * <p>The name of the original model being copied.</p>
3129
+ * <p>The status of the imported job. </p>
2441
3130
  * @public
2442
3131
  */
2443
- sourceModelName?: string;
3132
+ status: ModelImportJobStatus | undefined;
3133
+ /**
3134
+ * <p>The time when the import job was last modified.</p>
3135
+ * @public
3136
+ */
3137
+ lastModifiedTime?: Date;
3138
+ /**
3139
+ * <p>The time import job was created.</p>
3140
+ * @public
3141
+ */
3142
+ creationTime: Date | undefined;
3143
+ /**
3144
+ * <p>The time when import job ended.</p>
3145
+ * @public
3146
+ */
3147
+ endTime?: Date;
3148
+ /**
3149
+ * <p>The Amazon resource Name (ARN) of the imported model.</p>
3150
+ * @public
3151
+ */
3152
+ importedModelArn?: string;
3153
+ /**
3154
+ * <p>The name of the imported model.</p>
3155
+ * @public
3156
+ */
3157
+ importedModelName?: string;
2444
3158
  }
2445
3159
  /**
2446
3160
  * @public
2447
3161
  */
2448
- export interface ListModelCopyJobsResponse {
3162
+ export interface ListModelImportJobsResponse {
2449
3163
  /**
2450
- * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
3164
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2451
3165
  * @public
2452
3166
  */
2453
3167
  nextToken?: string;
2454
3168
  /**
2455
- * <p>A list of information about each model copy job.</p>
3169
+ * <p>Import job summaries.</p>
2456
3170
  * @public
2457
3171
  */
2458
- modelCopyJobSummaries?: ModelCopyJobSummary[];
3172
+ modelImportJobSummaries?: ModelImportJobSummary[];
2459
3173
  }
2460
3174
  /**
2461
3175
  * @public
@@ -2576,7 +3290,7 @@ export interface CreateModelInvocationJobRequest {
2576
3290
  roleArn: string | undefined;
2577
3291
  /**
2578
3292
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2579
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3293
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2580
3294
  * @public
2581
3295
  */
2582
3296
  clientRequestToken?: string;
@@ -2667,7 +3381,7 @@ export interface GetModelInvocationJobResponse {
2667
3381
  modelId: string | undefined;
2668
3382
  /**
2669
3383
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2670
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3384
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2671
3385
  * @public
2672
3386
  */
2673
3387
  clientRequestToken?: string;
@@ -2793,7 +3507,7 @@ export interface ModelInvocationJobSummary {
2793
3507
  modelId: string | undefined;
2794
3508
  /**
2795
3509
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2796
- * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3510
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2797
3511
  * @public
2798
3512
  */
2799
3513
  clientRequestToken?: string;
@@ -3192,17 +3906,6 @@ export interface GetFoundationModelResponse {
3192
3906
  */
3193
3907
  modelDetails?: FoundationModelDetails;
3194
3908
  }
3195
- /**
3196
- * @public
3197
- * @enum
3198
- */
3199
- export declare const SortModelsBy: {
3200
- readonly CREATION_TIME: "CreationTime";
3201
- };
3202
- /**
3203
- * @public
3204
- */
3205
- export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
3206
3909
  /**
3207
3910
  * @public
3208
3911
  */
@@ -3822,22 +4525,6 @@ export interface UntagResourceRequest {
3822
4525
  */
3823
4526
  export interface UntagResourceResponse {
3824
4527
  }
3825
- /**
3826
- * <p>VPC configuration.</p>
3827
- * @public
3828
- */
3829
- export interface VpcConfig {
3830
- /**
3831
- * <p>VPC configuration subnets.</p>
3832
- * @public
3833
- */
3834
- subnetIds: string[] | undefined;
3835
- /**
3836
- * <p>VPC configuration security group Ids.</p>
3837
- * @public
3838
- */
3839
- securityGroupIds: string[] | undefined;
3840
- }
3841
4528
  /**
3842
4529
  * @public
3843
4530
  */
@@ -4210,6 +4897,22 @@ export interface StopModelCustomizationJobRequest {
4210
4897
  */
4211
4898
  export interface StopModelCustomizationJobResponse {
4212
4899
  }
4900
+ /**
4901
+ * @internal
4902
+ */
4903
+ export declare const BatchDeleteEvaluationJobRequestFilterSensitiveLog: (obj: BatchDeleteEvaluationJobRequest) => any;
4904
+ /**
4905
+ * @internal
4906
+ */
4907
+ export declare const BatchDeleteEvaluationJobErrorFilterSensitiveLog: (obj: BatchDeleteEvaluationJobError) => any;
4908
+ /**
4909
+ * @internal
4910
+ */
4911
+ export declare const BatchDeleteEvaluationJobItemFilterSensitiveLog: (obj: BatchDeleteEvaluationJobItem) => any;
4912
+ /**
4913
+ * @internal
4914
+ */
4915
+ export declare const BatchDeleteEvaluationJobResponseFilterSensitiveLog: (obj: BatchDeleteEvaluationJobResponse) => any;
4213
4916
  /**
4214
4917
  * @internal
4215
4918
  */