@aws-sdk/client-bedrock 3.835.0 → 3.836.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 (54) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +417 -120
  3. package/dist-es/Bedrock.js +12 -0
  4. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCustomizationJobCommand.js +1 -1
  6. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +22 -0
  7. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +22 -0
  8. package/dist-es/commands/GetModelCustomizationJobCommand.js +1 -1
  9. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +22 -0
  10. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +22 -0
  11. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +22 -0
  12. package/dist-es/commands/index.js +6 -0
  13. package/dist-es/models/models_0.js +54 -126
  14. package/dist-es/models/models_1.js +95 -1
  15. package/dist-es/protocols/Aws_restJson1.js +153 -2
  16. package/dist-types/Bedrock.d.ts +43 -0
  17. package/dist-types/BedrockClient.d.ts +8 -2
  18. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +91 -0
  19. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +88 -0
  21. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +94 -0
  22. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  23. package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +82 -0
  24. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +116 -0
  25. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +82 -0
  28. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +1 -1
  29. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  31. package/dist-types/commands/index.d.ts +6 -0
  32. package/dist-types/models/models_0.d.ts +239 -804
  33. package/dist-types/models/models_1.d.ts +901 -1
  34. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  35. package/dist-types/ts3.4/Bedrock.d.ts +109 -0
  36. package/dist-types/ts3.4/BedrockClient.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +49 -0
  44. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +107 -425
  52. package/dist-types/ts3.4/models/models_1.d.ts +431 -1
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  54. package/package.json +1 -1
@@ -13,6 +13,114 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  */
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const AgreementStatus: {
21
+ readonly AVAILABLE: "AVAILABLE";
22
+ readonly ERROR: "ERROR";
23
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
24
+ readonly PENDING: "PENDING";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
30
+ /**
31
+ * <p>Information about the agreement availability</p>
32
+ * @public
33
+ */
34
+ export interface AgreementAvailability {
35
+ /**
36
+ * <p>Status of the agreement.</p>
37
+ * @public
38
+ */
39
+ status: AgreementStatus | undefined;
40
+ /**
41
+ * <p>Error message.</p>
42
+ * @public
43
+ */
44
+ errorMessage?: string | undefined;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface GetUseCaseForModelAccessRequest {
50
+ }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface GetUseCaseForModelAccessResponse {
55
+ /**
56
+ * <p>Get customer profile Response.</p>
57
+ * @public
58
+ */
59
+ formData: Uint8Array | undefined;
60
+ }
61
+ /**
62
+ * <p>An internal server error occurred. Retry your request.</p>
63
+ * @public
64
+ */
65
+ export declare class InternalServerException extends __BaseException {
66
+ readonly name: "InternalServerException";
67
+ readonly $fault: "server";
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
75
+ * @public
76
+ */
77
+ export declare class ResourceNotFoundException extends __BaseException {
78
+ readonly name: "ResourceNotFoundException";
79
+ readonly $fault: "client";
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
87
+ * @public
88
+ */
89
+ export declare class ThrottlingException extends __BaseException {
90
+ readonly name: "ThrottlingException";
91
+ readonly $fault: "client";
92
+ /**
93
+ * @internal
94
+ */
95
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
96
+ }
97
+ /**
98
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
99
+ * @public
100
+ */
101
+ export declare class ValidationException extends __BaseException {
102
+ readonly name: "ValidationException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
108
+ }
109
+ /**
110
+ * @public
111
+ */
112
+ export interface PutUseCaseForModelAccessRequest {
113
+ /**
114
+ * <p>Put customer profile Request.</p>
115
+ * @public
116
+ */
117
+ formData: Uint8Array | undefined;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface PutUseCaseForModelAccessResponse {
123
+ }
16
124
  /**
17
125
  * <p>Error occurred because of a conflict while performing an operation.</p>
18
126
  * @public
@@ -226,30 +334,6 @@ export interface CreateMarketplaceModelEndpointResponse {
226
334
  */
227
335
  marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
228
336
  }
229
- /**
230
- * <p>An internal server error occurred. Retry your request.</p>
231
- * @public
232
- */
233
- export declare class InternalServerException extends __BaseException {
234
- readonly name: "InternalServerException";
235
- readonly $fault: "server";
236
- /**
237
- * @internal
238
- */
239
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
240
- }
241
- /**
242
- * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
243
- * @public
244
- */
245
- export declare class ResourceNotFoundException extends __BaseException {
246
- readonly name: "ResourceNotFoundException";
247
- readonly $fault: "client";
248
- /**
249
- * @internal
250
- */
251
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
252
- }
253
337
  /**
254
338
  * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
255
339
  * @public
@@ -262,30 +346,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
262
346
  */
263
347
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
264
348
  }
265
- /**
266
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
267
- * @public
268
- */
269
- export declare class ThrottlingException extends __BaseException {
270
- readonly name: "ThrottlingException";
271
- readonly $fault: "client";
272
- /**
273
- * @internal
274
- */
275
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
276
- }
277
- /**
278
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
279
- * @public
280
- */
281
- export declare class ValidationException extends __BaseException {
282
- readonly name: "ValidationException";
283
- readonly $fault: "client";
284
- /**
285
- * @internal
286
- */
287
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
288
- }
289
349
  /**
290
350
  * @public
291
351
  */
@@ -6060,854 +6120,241 @@ export interface UpdateProvisionedModelThroughputResponse {
6060
6120
  /**
6061
6121
  * @public
6062
6122
  */
6063
- export interface ListTagsForResourceRequest {
6123
+ export interface CreateFoundationModelAgreementRequest {
6124
+ /**
6125
+ * <p>An offer token encapsulates the information for an offer.</p>
6126
+ * @public
6127
+ */
6128
+ offerToken: string | undefined;
6064
6129
  /**
6065
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
6130
+ * <p>Model Id of the model for the access request.</p>
6066
6131
  * @public
6067
6132
  */
6068
- resourceARN: string | undefined;
6133
+ modelId: string | undefined;
6069
6134
  }
6070
6135
  /**
6071
6136
  * @public
6072
6137
  */
6073
- export interface ListTagsForResourceResponse {
6138
+ export interface CreateFoundationModelAgreementResponse {
6074
6139
  /**
6075
- * <p>An array of the tags associated with this resource.</p>
6140
+ * <p>Model Id of the model for the access request.</p>
6076
6141
  * @public
6077
6142
  */
6078
- tags?: Tag[] | undefined;
6143
+ modelId: string | undefined;
6079
6144
  }
6080
6145
  /**
6081
6146
  * @public
6082
6147
  */
6083
- export interface TagResourceRequest {
6084
- /**
6085
- * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
6086
- * @public
6087
- */
6088
- resourceARN: string | undefined;
6148
+ export interface DeleteFoundationModelAgreementRequest {
6089
6149
  /**
6090
- * <p>Tags to associate with the resource.</p>
6150
+ * <p>Model Id of the model access to delete.</p>
6091
6151
  * @public
6092
6152
  */
6093
- tags: Tag[] | undefined;
6153
+ modelId: string | undefined;
6094
6154
  }
6095
6155
  /**
6096
6156
  * @public
6097
6157
  */
6098
- export interface TagResourceResponse {
6158
+ export interface DeleteFoundationModelAgreementResponse {
6099
6159
  }
6100
6160
  /**
6101
6161
  * @public
6102
6162
  */
6103
- export interface UntagResourceRequest {
6104
- /**
6105
- * <p>The Amazon Resource Name (ARN) of the resource to untag.</p>
6106
- * @public
6107
- */
6108
- resourceARN: string | undefined;
6163
+ export interface GetFoundationModelAvailabilityRequest {
6109
6164
  /**
6110
- * <p>Tag keys of the tags to remove from the resource.</p>
6165
+ * <p>The model Id of the foundation model.</p>
6111
6166
  * @public
6112
6167
  */
6113
- tagKeys: string[] | undefined;
6168
+ modelId: string | undefined;
6114
6169
  }
6115
6170
  /**
6116
6171
  * @public
6172
+ * @enum
6117
6173
  */
6118
- export interface UntagResourceResponse {
6119
- }
6174
+ export declare const AuthorizationStatus: {
6175
+ readonly AUTHORIZED: "AUTHORIZED";
6176
+ readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
6177
+ };
6120
6178
  /**
6121
6179
  * @public
6122
6180
  */
6123
- export interface CreateModelCustomizationJobRequest {
6124
- /**
6125
- * <p>A name for the fine-tuning job.</p>
6126
- * @public
6127
- */
6128
- jobName: string | undefined;
6129
- /**
6130
- * <p>A name for the resulting custom model.</p>
6131
- * @public
6132
- */
6133
- customModelName: string | undefined;
6181
+ export type AuthorizationStatus = (typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
6182
+ /**
6183
+ * @public
6184
+ * @enum
6185
+ */
6186
+ export declare const EntitlementAvailability: {
6187
+ readonly AVAILABLE: "AVAILABLE";
6188
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
6189
+ };
6190
+ /**
6191
+ * @public
6192
+ */
6193
+ export type EntitlementAvailability = (typeof EntitlementAvailability)[keyof typeof EntitlementAvailability];
6194
+ /**
6195
+ * @public
6196
+ * @enum
6197
+ */
6198
+ export declare const RegionAvailability: {
6199
+ readonly AVAILABLE: "AVAILABLE";
6200
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
6201
+ };
6202
+ /**
6203
+ * @public
6204
+ */
6205
+ export type RegionAvailability = (typeof RegionAvailability)[keyof typeof RegionAvailability];
6206
+ /**
6207
+ * @public
6208
+ */
6209
+ export interface GetFoundationModelAvailabilityResponse {
6134
6210
  /**
6135
- * <p>The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. 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. To pass this role to Amazon Bedrock, the caller of this API must have the <code>iam:PassRole</code> permission. </p>
6211
+ * <p>The model Id of the foundation model.</p>
6136
6212
  * @public
6137
6213
  */
6138
- roleArn: string | undefined;
6214
+ modelId: string | undefined;
6139
6215
  /**
6140
- * <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, 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>
6216
+ * <p>Agreement availability. </p>
6141
6217
  * @public
6142
6218
  */
6143
- clientRequestToken?: string | undefined;
6219
+ agreementAvailability: AgreementAvailability | undefined;
6144
6220
  /**
6145
- * <p>Name of the base model.</p>
6221
+ * <p>Authorization status.</p>
6146
6222
  * @public
6147
6223
  */
6148
- baseModelIdentifier: string | undefined;
6224
+ authorizationStatus: AuthorizationStatus | undefined;
6149
6225
  /**
6150
- * <p>The customization type.</p>
6226
+ * <p>Entitlement availability. </p>
6151
6227
  * @public
6152
6228
  */
6153
- customizationType?: CustomizationType | undefined;
6229
+ entitlementAvailability: EntitlementAvailability | undefined;
6154
6230
  /**
6155
- * <p>The custom model is encrypted at rest using this key.</p>
6231
+ * <p>Region availability. </p>
6156
6232
  * @public
6157
6233
  */
6158
- customModelKmsKeyId?: string | undefined;
6234
+ regionAvailability: RegionAvailability | undefined;
6235
+ }
6236
+ /**
6237
+ * @public
6238
+ * @enum
6239
+ */
6240
+ export declare const OfferType: {
6241
+ readonly ALL: "ALL";
6242
+ readonly PUBLIC: "PUBLIC";
6243
+ };
6244
+ /**
6245
+ * @public
6246
+ */
6247
+ export type OfferType = (typeof OfferType)[keyof typeof OfferType];
6248
+ /**
6249
+ * @public
6250
+ */
6251
+ export interface ListFoundationModelAgreementOffersRequest {
6159
6252
  /**
6160
- * <p>Tags to attach to the job.</p>
6253
+ * <p>Model Id of the foundation model.</p>
6161
6254
  * @public
6162
6255
  */
6163
- jobTags?: Tag[] | undefined;
6256
+ modelId: string | undefined;
6164
6257
  /**
6165
- * <p>Tags to attach to the resulting custom model.</p>
6258
+ * <p>Type of offer associated with the model.</p>
6166
6259
  * @public
6167
6260
  */
6168
- customModelTags?: Tag[] | undefined;
6261
+ offerType?: OfferType | undefined;
6262
+ }
6263
+ /**
6264
+ * <p>The legal term of the agreement.</p>
6265
+ * @public
6266
+ */
6267
+ export interface LegalTerm {
6169
6268
  /**
6170
- * <p>Information about the training dataset.</p>
6269
+ * <p>URL to the legal term document.</p>
6171
6270
  * @public
6172
6271
  */
6173
- trainingDataConfig: TrainingDataConfig | undefined;
6272
+ url?: string | undefined;
6273
+ }
6274
+ /**
6275
+ * <p>Describes a support term.</p>
6276
+ * @public
6277
+ */
6278
+ export interface SupportTerm {
6174
6279
  /**
6175
- * <p>Information about the validation dataset. </p>
6280
+ * <p>Describes the refund policy.</p>
6176
6281
  * @public
6177
6282
  */
6178
- validationDataConfig?: ValidationDataConfig | undefined;
6283
+ refundPolicyDescription?: string | undefined;
6284
+ }
6285
+ /**
6286
+ * <p>Dimensional price rate.</p>
6287
+ * @public
6288
+ */
6289
+ export interface DimensionalPriceRate {
6179
6290
  /**
6180
- * <p>S3 location for the output data.</p>
6291
+ * <p>Dimension for the price rate.</p>
6181
6292
  * @public
6182
6293
  */
6183
- outputDataConfig: OutputDataConfig | undefined;
6294
+ dimension?: string | undefined;
6184
6295
  /**
6185
- * <p>Parameters related to tuning the model. For details on the format for different models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html">Custom model hyperparameters</a>.</p>
6296
+ * <p>Single-dimensional rate information.</p>
6186
6297
  * @public
6187
6298
  */
6188
- hyperParameters?: Record<string, string> | undefined;
6299
+ price?: string | undefined;
6189
6300
  /**
6190
- * <p>The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html">Protect your model customization jobs using a VPC</a>.</p>
6301
+ * <p>Description of the price rate.</p>
6191
6302
  * @public
6192
6303
  */
6193
- vpcConfig?: VpcConfig | undefined;
6304
+ description?: string | undefined;
6194
6305
  /**
6195
- * <p>The customization configuration for the model customization job.</p>
6306
+ * <p>Unit associated with the price.</p>
6196
6307
  * @public
6197
6308
  */
6198
- customizationConfig?: CustomizationConfig | undefined;
6309
+ unit?: string | undefined;
6199
6310
  }
6200
6311
  /**
6312
+ * <p>Describes the usage-based pricing term.</p>
6201
6313
  * @public
6202
6314
  */
6203
- export interface CreateModelCustomizationJobResponse {
6315
+ export interface PricingTerm {
6204
6316
  /**
6205
- * <p>Amazon Resource Name (ARN) of the fine tuning job</p>
6317
+ * <p>Describes a usage price for each dimension.</p>
6206
6318
  * @public
6207
6319
  */
6208
- jobArn: string | undefined;
6320
+ rateCard: DimensionalPriceRate[] | undefined;
6209
6321
  }
6210
6322
  /**
6323
+ * <p>Describes the validity terms.</p>
6211
6324
  * @public
6212
6325
  */
6213
- export interface GetModelCustomizationJobRequest {
6326
+ export interface ValidityTerm {
6214
6327
  /**
6215
- * <p>Identifier for the customization job.</p>
6328
+ * <p>Describes the agreement duration.</p>
6216
6329
  * @public
6217
6330
  */
6218
- jobIdentifier: string | undefined;
6331
+ agreementDuration?: string | undefined;
6219
6332
  }
6220
6333
  /**
6221
- * @public
6222
- * @enum
6223
- */
6224
- export declare const ModelCustomizationJobStatus: {
6225
- readonly COMPLETED: "Completed";
6226
- readonly FAILED: "Failed";
6227
- readonly IN_PROGRESS: "InProgress";
6228
- readonly STOPPED: "Stopped";
6229
- readonly STOPPING: "Stopping";
6230
- };
6231
- /**
6232
- * @public
6233
- */
6234
- export type ModelCustomizationJobStatus = (typeof ModelCustomizationJobStatus)[keyof typeof ModelCustomizationJobStatus];
6235
- /**
6236
- * @public
6237
- * @enum
6238
- */
6239
- export declare const JobStatusDetails: {
6240
- readonly COMPLETED: "Completed";
6241
- readonly FAILED: "Failed";
6242
- readonly IN_PROGRESS: "InProgress";
6243
- readonly NOT_STARTED: "NotStarted";
6244
- readonly STOPPED: "Stopped";
6245
- readonly STOPPING: "Stopping";
6246
- };
6247
- /**
6334
+ * <p>Describes the usage terms of an offer.</p>
6248
6335
  * @public
6249
6336
  */
6250
- export type JobStatusDetails = (typeof JobStatusDetails)[keyof typeof JobStatusDetails];
6251
- /**
6252
- * <p>For a Distillation job, the status details for the data processing sub-task of the job.</p>
6253
- * @public
6254
- */
6255
- export interface DataProcessingDetails {
6256
- /**
6257
- * <p>The status of the data processing sub-task of the job.</p>
6258
- * @public
6259
- */
6260
- status?: JobStatusDetails | undefined;
6337
+ export interface TermDetails {
6261
6338
  /**
6262
- * <p>The start time of the data processing sub-task of the job.</p>
6339
+ * <p>Describes the usage-based pricing term.</p>
6263
6340
  * @public
6264
6341
  */
6265
- creationTime?: Date | undefined;
6342
+ usageBasedPricingTerm: PricingTerm | undefined;
6266
6343
  /**
6267
- * <p>The latest update to the data processing sub-task of the job.</p>
6344
+ * <p>Describes the legal terms.</p>
6268
6345
  * @public
6269
6346
  */
6270
- lastModifiedTime?: Date | undefined;
6271
- }
6272
- /**
6273
- * <p>For a Distillation job, the status details for the training sub-task of the job.</p>
6274
- * @public
6275
- */
6276
- export interface TrainingDetails {
6347
+ legalTerm: LegalTerm | undefined;
6277
6348
  /**
6278
- * <p>The status of the training sub-task of the job.</p>
6349
+ * <p>Describes the support terms.</p>
6279
6350
  * @public
6280
6351
  */
6281
- status?: JobStatusDetails | undefined;
6352
+ supportTerm: SupportTerm | undefined;
6282
6353
  /**
6283
- * <p>The start time of the training sub-task of the job.</p>
6354
+ * <p>Describes the validity terms.</p>
6284
6355
  * @public
6285
6356
  */
6286
- creationTime?: Date | undefined;
6287
- /**
6288
- * <p>The latest update to the training sub-task of the job.</p>
6289
- * @public
6290
- */
6291
- lastModifiedTime?: Date | undefined;
6292
- }
6293
- /**
6294
- * <p>For a Distillation job, the status details for the validation sub-task of the job.</p>
6295
- * @public
6296
- */
6297
- export interface ValidationDetails {
6298
- /**
6299
- * <p>The status of the validation sub-task of the job.</p>
6300
- * @public
6301
- */
6302
- status?: JobStatusDetails | undefined;
6303
- /**
6304
- * <p>The start time of the validation sub-task of the job.</p>
6305
- * @public
6306
- */
6307
- creationTime?: Date | undefined;
6308
- /**
6309
- * <p>The latest update to the validation sub-task of the job.</p>
6310
- * @public
6311
- */
6312
- lastModifiedTime?: Date | undefined;
6313
- }
6314
- /**
6315
- * <p>For a Distillation job, the status details for sub-tasks of the job. Possible statuses for each sub-task include the following:</p> <ul> <li> <p>NotStarted</p> </li> <li> <p>InProgress</p> </li> <li> <p>Completed</p> </li> <li> <p>Stopping</p> </li> <li> <p>Stopped</p> </li> <li> <p>Failed</p> </li> </ul>
6316
- * @public
6317
- */
6318
- export interface StatusDetails {
6319
- /**
6320
- * <p>The status details for the validation sub-task of the job.</p>
6321
- * @public
6322
- */
6323
- validationDetails?: ValidationDetails | undefined;
6324
- /**
6325
- * <p>The status details for the data processing sub-task of the job.</p>
6326
- * @public
6327
- */
6328
- dataProcessingDetails?: DataProcessingDetails | undefined;
6329
- /**
6330
- * <p>The status details for the training sub-task of the job.</p>
6331
- * @public
6332
- */
6333
- trainingDetails?: TrainingDetails | undefined;
6334
- }
6335
- /**
6336
- * @public
6337
- */
6338
- export interface GetModelCustomizationJobResponse {
6339
- /**
6340
- * <p>The Amazon Resource Name (ARN) of the customization job.</p>
6341
- * @public
6342
- */
6343
- jobArn: string | undefined;
6344
- /**
6345
- * <p>The name of the customization job.</p>
6346
- * @public
6347
- */
6348
- jobName: string | undefined;
6349
- /**
6350
- * <p>The name of the output model.</p>
6351
- * @public
6352
- */
6353
- outputModelName: string | undefined;
6354
- /**
6355
- * <p>The Amazon Resource Name (ARN) of the output model.</p>
6356
- * @public
6357
- */
6358
- outputModelArn?: string | undefined;
6359
- /**
6360
- * <p>The token that you specified in the <code>CreateCustomizationJob</code> request.</p>
6361
- * @public
6362
- */
6363
- clientRequestToken?: string | undefined;
6364
- /**
6365
- * <p>The Amazon Resource Name (ARN) of the IAM role.</p>
6366
- * @public
6367
- */
6368
- roleArn: string | undefined;
6369
- /**
6370
- * <p>The status of the job. A successful job transitions from in-progress to completed when the output model is ready to use. If the job failed, the failure message contains information about why the job failed.</p>
6371
- * @public
6372
- */
6373
- status?: ModelCustomizationJobStatus | undefined;
6374
- /**
6375
- * <p>For a Distillation job, the details about the statuses of the sub-tasks of the customization job. </p>
6376
- * @public
6377
- */
6378
- statusDetails?: StatusDetails | undefined;
6379
- /**
6380
- * <p>Information about why the job failed.</p>
6381
- * @public
6382
- */
6383
- failureMessage?: string | undefined;
6384
- /**
6385
- * <p>Time that the resource was created.</p>
6386
- * @public
6387
- */
6388
- creationTime: Date | undefined;
6389
- /**
6390
- * <p>Time that the resource was last modified.</p>
6391
- * @public
6392
- */
6393
- lastModifiedTime?: Date | undefined;
6394
- /**
6395
- * <p>Time that the resource transitioned to terminal state.</p>
6396
- * @public
6397
- */
6398
- endTime?: Date | undefined;
6399
- /**
6400
- * <p>Amazon Resource Name (ARN) of the base model.</p>
6401
- * @public
6402
- */
6403
- baseModelArn: string | undefined;
6404
- /**
6405
- * <p>The hyperparameter values for the job. For details on the format for different models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html">Custom model hyperparameters</a>.</p>
6406
- * @public
6407
- */
6408
- hyperParameters?: Record<string, string> | undefined;
6409
- /**
6410
- * <p>Contains information about the training dataset.</p>
6411
- * @public
6412
- */
6413
- trainingDataConfig: TrainingDataConfig | undefined;
6414
- /**
6415
- * <p>Contains information about the validation dataset.</p>
6416
- * @public
6417
- */
6418
- validationDataConfig: ValidationDataConfig | undefined;
6419
- /**
6420
- * <p>Output data configuration </p>
6421
- * @public
6422
- */
6423
- outputDataConfig: OutputDataConfig | undefined;
6424
- /**
6425
- * <p>The type of model customization.</p>
6426
- * @public
6427
- */
6428
- customizationType?: CustomizationType | undefined;
6429
- /**
6430
- * <p>The custom model is encrypted at rest using this key.</p>
6431
- * @public
6432
- */
6433
- outputModelKmsKeyArn?: string | undefined;
6434
- /**
6435
- * <p>Contains training metrics from the job creation.</p>
6436
- * @public
6437
- */
6438
- trainingMetrics?: TrainingMetrics | undefined;
6439
- /**
6440
- * <p>The loss metric for each validator that you provided in the createjob request.</p>
6441
- * @public
6442
- */
6443
- validationMetrics?: ValidatorMetric[] | undefined;
6444
- /**
6445
- * <p>VPC configuration for the custom model job.</p>
6446
- * @public
6447
- */
6448
- vpcConfig?: VpcConfig | undefined;
6449
- /**
6450
- * <p>The customization configuration for the model customization job.</p>
6451
- * @public
6452
- */
6453
- customizationConfig?: CustomizationConfig | undefined;
6454
- }
6455
- /**
6456
- * @public
6457
- * @enum
6458
- */
6459
- export declare const FineTuningJobStatus: {
6460
- readonly COMPLETED: "Completed";
6461
- readonly FAILED: "Failed";
6462
- readonly IN_PROGRESS: "InProgress";
6463
- readonly STOPPED: "Stopped";
6464
- readonly STOPPING: "Stopping";
6465
- };
6466
- /**
6467
- * @public
6468
- */
6469
- export type FineTuningJobStatus = (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
6470
- /**
6471
- * @public
6472
- */
6473
- export interface ListModelCustomizationJobsRequest {
6474
- /**
6475
- * <p>Return customization jobs created after the specified time. </p>
6476
- * @public
6477
- */
6478
- creationTimeAfter?: Date | undefined;
6479
- /**
6480
- * <p>Return customization jobs created before the specified time. </p>
6481
- * @public
6482
- */
6483
- creationTimeBefore?: Date | undefined;
6484
- /**
6485
- * <p>Return customization jobs with the specified status. </p>
6486
- * @public
6487
- */
6488
- statusEquals?: FineTuningJobStatus | undefined;
6489
- /**
6490
- * <p>Return customization jobs only if the job name contains these characters.</p>
6491
- * @public
6492
- */
6493
- nameContains?: string | undefined;
6494
- /**
6495
- * <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>
6496
- * @public
6497
- */
6498
- maxResults?: number | undefined;
6499
- /**
6500
- * <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>
6501
- * @public
6502
- */
6503
- nextToken?: string | undefined;
6504
- /**
6505
- * <p>The field to sort by in the returned list of jobs.</p>
6506
- * @public
6507
- */
6508
- sortBy?: SortJobsBy | undefined;
6509
- /**
6510
- * <p>The sort order of the results.</p>
6511
- * @public
6512
- */
6513
- sortOrder?: SortOrder | undefined;
6514
- }
6515
- /**
6516
- * <p>Information about one customization job</p>
6517
- * @public
6518
- */
6519
- export interface ModelCustomizationJobSummary {
6520
- /**
6521
- * <p>Amazon Resource Name (ARN) of the customization job.</p>
6522
- * @public
6523
- */
6524
- jobArn: string | undefined;
6525
- /**
6526
- * <p>Amazon Resource Name (ARN) of the base model.</p>
6527
- * @public
6528
- */
6529
- baseModelArn: string | undefined;
6530
- /**
6531
- * <p>Name of the customization job.</p>
6532
- * @public
6533
- */
6534
- jobName: string | undefined;
6535
- /**
6536
- * <p>Status of the customization job. </p>
6537
- * @public
6538
- */
6539
- status: ModelCustomizationJobStatus | undefined;
6540
- /**
6541
- * <p>Details about the status of the data processing sub-task of the job.</p>
6542
- * @public
6543
- */
6544
- statusDetails?: StatusDetails | undefined;
6545
- /**
6546
- * <p>Time that the customization job was last modified.</p>
6547
- * @public
6548
- */
6549
- lastModifiedTime?: Date | undefined;
6550
- /**
6551
- * <p>Creation time of the custom model. </p>
6552
- * @public
6553
- */
6554
- creationTime: Date | undefined;
6555
- /**
6556
- * <p>Time that the customization job ended.</p>
6557
- * @public
6558
- */
6559
- endTime?: Date | undefined;
6560
- /**
6561
- * <p>Amazon Resource Name (ARN) of the custom model.</p>
6562
- * @public
6563
- */
6564
- customModelArn?: string | undefined;
6565
- /**
6566
- * <p>Name of the custom model.</p>
6567
- * @public
6568
- */
6569
- customModelName?: string | undefined;
6570
- /**
6571
- * <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>
6572
- * @public
6573
- */
6574
- customizationType?: CustomizationType | undefined;
6575
- }
6576
- /**
6577
- * @public
6578
- */
6579
- export interface ListModelCustomizationJobsResponse {
6580
- /**
6581
- * <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>
6582
- * @public
6583
- */
6584
- nextToken?: string | undefined;
6585
- /**
6586
- * <p>Job summaries.</p>
6587
- * @public
6588
- */
6589
- modelCustomizationJobSummaries?: ModelCustomizationJobSummary[] | undefined;
6590
- }
6591
- /**
6592
- * @public
6593
- */
6594
- export interface StopModelCustomizationJobRequest {
6595
- /**
6596
- * <p>Job identifier of the job to stop.</p>
6597
- * @public
6598
- */
6599
- jobIdentifier: string | undefined;
6600
- }
6601
- /**
6602
- * @public
6603
- */
6604
- export interface StopModelCustomizationJobResponse {
6605
- }
6606
- /**
6607
- * <p>Specifies the filters to use on the metadata attributes/fields in the knowledge base data sources before returning results.</p>
6608
- * @public
6609
- */
6610
- export type RetrievalFilter = RetrievalFilter.AndAllMember | RetrievalFilter.EqualsMember | RetrievalFilter.GreaterThanMember | RetrievalFilter.GreaterThanOrEqualsMember | RetrievalFilter.InMember | RetrievalFilter.LessThanMember | RetrievalFilter.LessThanOrEqualsMember | RetrievalFilter.ListContainsMember | RetrievalFilter.NotEqualsMember | RetrievalFilter.NotInMember | RetrievalFilter.OrAllMember | RetrievalFilter.StartsWithMember | RetrievalFilter.StringContainsMember | RetrievalFilter.$UnknownMember;
6611
- /**
6612
- * @public
6613
- */
6614
- export declare namespace RetrievalFilter {
6615
- /**
6616
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value matches the value in this object.</p> <p>The following example would return data sources with an animal attribute whose value is 'cat': <code>"equals": \{ "key": "animal", "value": "cat" \}</code> </p>
6617
- * @public
6618
- */
6619
- interface EqualsMember {
6620
- equals: FilterAttribute;
6621
- notEquals?: never;
6622
- greaterThan?: never;
6623
- greaterThanOrEquals?: never;
6624
- lessThan?: never;
6625
- lessThanOrEquals?: never;
6626
- in?: never;
6627
- notIn?: never;
6628
- startsWith?: never;
6629
- listContains?: never;
6630
- stringContains?: never;
6631
- andAll?: never;
6632
- orAll?: never;
6633
- $unknown?: never;
6634
- }
6635
- /**
6636
- * <p>Knowledge base data sources that contain a metadata attribute whose name matches the key and whose value doesn't match the value in this object are returned.</p> <p>The following example would return data sources that don't contain an animal attribute whose value is 'cat': <code>"notEquals": \{ "key": "animal", "value": "cat" \}</code> </p>
6637
- * @public
6638
- */
6639
- interface NotEqualsMember {
6640
- equals?: never;
6641
- notEquals: FilterAttribute;
6642
- greaterThan?: never;
6643
- greaterThanOrEquals?: never;
6644
- lessThan?: never;
6645
- lessThanOrEquals?: never;
6646
- in?: never;
6647
- notIn?: never;
6648
- startsWith?: never;
6649
- listContains?: never;
6650
- stringContains?: never;
6651
- andAll?: never;
6652
- orAll?: never;
6653
- $unknown?: never;
6654
- }
6655
- /**
6656
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is greater than '1989': <code>"greaterThan": \{ "key": "year", "value": 1989 \}</code> </p>
6657
- * @public
6658
- */
6659
- interface GreaterThanMember {
6660
- equals?: never;
6661
- notEquals?: never;
6662
- greaterThan: FilterAttribute;
6663
- greaterThanOrEquals?: never;
6664
- lessThan?: never;
6665
- lessThanOrEquals?: never;
6666
- in?: never;
6667
- notIn?: never;
6668
- startsWith?: never;
6669
- listContains?: never;
6670
- stringContains?: never;
6671
- andAll?: never;
6672
- orAll?: never;
6673
- $unknown?: never;
6674
- }
6675
- /**
6676
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is greater than or equal to '1989': <code>"greaterThanOrEquals": \{ "key": "year", "value": 1989 \}</code> </p>
6677
- * @public
6678
- */
6679
- interface GreaterThanOrEqualsMember {
6680
- equals?: never;
6681
- notEquals?: never;
6682
- greaterThan?: never;
6683
- greaterThanOrEquals: FilterAttribute;
6684
- lessThan?: never;
6685
- lessThanOrEquals?: never;
6686
- in?: never;
6687
- notIn?: never;
6688
- startsWith?: never;
6689
- listContains?: never;
6690
- stringContains?: never;
6691
- andAll?: never;
6692
- orAll?: never;
6693
- $unknown?: never;
6694
- }
6695
- /**
6696
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is less than to '1989': <code>"lessThan": \{ "key": "year", "value": 1989 \}</code> </p>
6697
- * @public
6698
- */
6699
- interface LessThanMember {
6700
- equals?: never;
6701
- notEquals?: never;
6702
- greaterThan?: never;
6703
- greaterThanOrEquals?: never;
6704
- lessThan: FilterAttribute;
6705
- lessThanOrEquals?: never;
6706
- in?: never;
6707
- notIn?: never;
6708
- startsWith?: never;
6709
- listContains?: never;
6710
- stringContains?: never;
6711
- andAll?: never;
6712
- orAll?: never;
6713
- $unknown?: never;
6714
- }
6715
- /**
6716
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object.</p> <p>The following example would return data sources with an year attribute whose value is less than or equal to '1989': <code>"lessThanOrEquals": \{ "key": "year", "value": 1989 \}</code> </p>
6717
- * @public
6718
- */
6719
- interface LessThanOrEqualsMember {
6720
- equals?: never;
6721
- notEquals?: never;
6722
- greaterThan?: never;
6723
- greaterThanOrEquals?: never;
6724
- lessThan?: never;
6725
- lessThanOrEquals: FilterAttribute;
6726
- in?: never;
6727
- notIn?: never;
6728
- startsWith?: never;
6729
- listContains?: never;
6730
- stringContains?: never;
6731
- andAll?: never;
6732
- orAll?: never;
6733
- $unknown?: never;
6734
- }
6735
- /**
6736
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object.</p> <p>The following example would return data sources with an animal attribute that is either 'cat' or 'dog': <code>"in": \{ "key": "animal", "value": ["cat", "dog"] \}</code> </p>
6737
- * @public
6738
- */
6739
- interface InMember {
6740
- equals?: never;
6741
- notEquals?: never;
6742
- greaterThan?: never;
6743
- greaterThanOrEquals?: never;
6744
- lessThan?: never;
6745
- lessThanOrEquals?: never;
6746
- in: FilterAttribute;
6747
- notIn?: never;
6748
- startsWith?: never;
6749
- listContains?: never;
6750
- stringContains?: never;
6751
- andAll?: never;
6752
- orAll?: never;
6753
- $unknown?: never;
6754
- }
6755
- /**
6756
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value isn't in the list specified in the value in this object.</p> <p>The following example would return data sources whose animal attribute is neither 'cat' nor 'dog': <code>"notIn": \{ "key": "animal", "value": ["cat", "dog"] \}</code> </p>
6757
- * @public
6758
- */
6759
- interface NotInMember {
6760
- equals?: never;
6761
- notEquals?: never;
6762
- greaterThan?: never;
6763
- greaterThanOrEquals?: never;
6764
- lessThan?: never;
6765
- lessThanOrEquals?: never;
6766
- in?: never;
6767
- notIn: FilterAttribute;
6768
- startsWith?: never;
6769
- listContains?: never;
6770
- stringContains?: never;
6771
- andAll?: never;
6772
- orAll?: never;
6773
- $unknown?: never;
6774
- }
6775
- /**
6776
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value starts with the value in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores.</p> <p>The following example would return data sources with an animal attribute starts with 'ca' (for example, 'cat' or 'camel'). <code>"startsWith": \{ "key": "animal", "value": "ca" \}</code> </p>
6777
- * @public
6778
- */
6779
- interface StartsWithMember {
6780
- equals?: never;
6781
- notEquals?: never;
6782
- greaterThan?: never;
6783
- greaterThanOrEquals?: never;
6784
- lessThan?: never;
6785
- lessThanOrEquals?: never;
6786
- in?: never;
6787
- notIn?: never;
6788
- startsWith: FilterAttribute;
6789
- listContains?: never;
6790
- stringContains?: never;
6791
- andAll?: never;
6792
- orAll?: never;
6793
- $unknown?: never;
6794
- }
6795
- /**
6796
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is a list that contains the value as one of its members.</p> <p>The following example would return data sources with an animals attribute that is a list containing a cat member (for example, <code>["dog", "cat"]</code>): <code>"listContains": \{ "key": "animals", "value": "cat" \}</code> </p>
6797
- * @public
6798
- */
6799
- interface ListContainsMember {
6800
- equals?: never;
6801
- notEquals?: never;
6802
- greaterThan?: never;
6803
- greaterThanOrEquals?: never;
6804
- lessThan?: never;
6805
- lessThanOrEquals?: never;
6806
- in?: never;
6807
- notIn?: never;
6808
- startsWith?: never;
6809
- listContains: FilterAttribute;
6810
- stringContains?: never;
6811
- andAll?: never;
6812
- orAll?: never;
6813
- $unknown?: never;
6814
- }
6815
- /**
6816
- * <p>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is one of the following:</p> <p>A string that contains the value as a substring. The following example would return data sources with an animal attribute that contains the substring at (for example, 'cat'): <code>"stringContains": \{ "key": "animal", "value": "at" \}</code> </p> <p>A list with a member that contains the value as a substring. The following example would return data sources with an animals attribute that is a list containing a member that contains the substring at (for example, <code>["dog", "cat"]</code>): <code>"stringContains": \{ "key": "animals", "value": "at" \}</code> </p>
6817
- * @public
6818
- */
6819
- interface StringContainsMember {
6820
- equals?: never;
6821
- notEquals?: never;
6822
- greaterThan?: never;
6823
- greaterThanOrEquals?: never;
6824
- lessThan?: never;
6825
- lessThanOrEquals?: never;
6826
- in?: never;
6827
- notIn?: never;
6828
- startsWith?: never;
6829
- listContains?: never;
6830
- stringContains: FilterAttribute;
6831
- andAll?: never;
6832
- orAll?: never;
6833
- $unknown?: never;
6834
- }
6835
- /**
6836
- * <p>Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.</p>
6837
- * @public
6838
- */
6839
- interface AndAllMember {
6840
- equals?: never;
6841
- notEquals?: never;
6842
- greaterThan?: never;
6843
- greaterThanOrEquals?: never;
6844
- lessThan?: never;
6845
- lessThanOrEquals?: never;
6846
- in?: never;
6847
- notIn?: never;
6848
- startsWith?: never;
6849
- listContains?: never;
6850
- stringContains?: never;
6851
- andAll: RetrievalFilter[];
6852
- orAll?: never;
6853
- $unknown?: never;
6854
- }
6855
- /**
6856
- * <p>Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.</p>
6857
- * @public
6858
- */
6859
- interface OrAllMember {
6860
- equals?: never;
6861
- notEquals?: never;
6862
- greaterThan?: never;
6863
- greaterThanOrEquals?: never;
6864
- lessThan?: never;
6865
- lessThanOrEquals?: never;
6866
- in?: never;
6867
- notIn?: never;
6868
- startsWith?: never;
6869
- listContains?: never;
6870
- stringContains?: never;
6871
- andAll?: never;
6872
- orAll: RetrievalFilter[];
6873
- $unknown?: never;
6874
- }
6875
- /**
6876
- * @public
6877
- */
6878
- interface $UnknownMember {
6879
- equals?: never;
6880
- notEquals?: never;
6881
- greaterThan?: never;
6882
- greaterThanOrEquals?: never;
6883
- lessThan?: never;
6884
- lessThanOrEquals?: never;
6885
- in?: never;
6886
- notIn?: never;
6887
- startsWith?: never;
6888
- listContains?: never;
6889
- stringContains?: never;
6890
- andAll?: never;
6891
- orAll?: never;
6892
- $unknown: [string, any];
6893
- }
6894
- interface Visitor<T> {
6895
- equals: (value: FilterAttribute) => T;
6896
- notEquals: (value: FilterAttribute) => T;
6897
- greaterThan: (value: FilterAttribute) => T;
6898
- greaterThanOrEquals: (value: FilterAttribute) => T;
6899
- lessThan: (value: FilterAttribute) => T;
6900
- lessThanOrEquals: (value: FilterAttribute) => T;
6901
- in: (value: FilterAttribute) => T;
6902
- notIn: (value: FilterAttribute) => T;
6903
- startsWith: (value: FilterAttribute) => T;
6904
- listContains: (value: FilterAttribute) => T;
6905
- stringContains: (value: FilterAttribute) => T;
6906
- andAll: (value: RetrievalFilter[]) => T;
6907
- orAll: (value: RetrievalFilter[]) => T;
6908
- _: (name: string, value: any) => T;
6909
- }
6910
- const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
6357
+ validityTerm?: ValidityTerm | undefined;
6911
6358
  }
6912
6359
  /**
6913
6360
  * @internal
@@ -7181,15 +6628,3 @@ export declare const PromptRouterSummaryFilterSensitiveLog: (obj: PromptRouterSu
7181
6628
  * @internal
7182
6629
  */
7183
6630
  export declare const ListPromptRoutersResponseFilterSensitiveLog: (obj: ListPromptRoutersResponse) => any;
7184
- /**
7185
- * @internal
7186
- */
7187
- export declare const CreateModelCustomizationJobRequestFilterSensitiveLog: (obj: CreateModelCustomizationJobRequest) => any;
7188
- /**
7189
- * @internal
7190
- */
7191
- export declare const GetModelCustomizationJobResponseFilterSensitiveLog: (obj: GetModelCustomizationJobResponse) => any;
7192
- /**
7193
- * @internal
7194
- */
7195
- export declare const RetrievalFilterFilterSensitiveLog: (obj: RetrievalFilter) => any;