@aws-sdk/client-bedrock 3.934.0 → 3.935.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 (47) hide show
  1. package/dist-cjs/index.js +389 -389
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +355 -0
  4. package/dist-es/models/errors.js +123 -0
  5. package/dist-es/models/models_0.js +1 -355
  6. package/dist-es/models/models_1.js +1 -123
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/GetGuardrailCommand.d.ts +1 -1
  15. package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
  19. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -1
  20. package/dist-types/commands/UpdateGuardrailCommand.d.ts +1 -1
  21. package/dist-types/index.d.ts +4 -1
  22. package/dist-types/models/enums.d.ts +891 -0
  23. package/dist-types/models/errors.d.ts +127 -0
  24. package/dist-types/models/models_0.d.ts +1306 -696
  25. package/dist-types/models/models_1.d.ts +2 -1628
  26. package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/index.d.ts +4 -1
  40. package/dist-types/ts3.4/models/enums.d.ts +478 -0
  41. package/dist-types/ts3.4/models/errors.d.ts +71 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +371 -380
  43. package/dist-types/ts3.4/models/models_1.d.ts +30 -520
  44. package/package.json +13 -13
  45. package/dist-es/models/index.js +0 -2
  46. package/dist-types/models/index.d.ts +0 -2
  47. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,45 +1,48 @@
1
1
  import {
2
- AgreementAvailability,
3
2
  ApplicationType,
4
- CustomizationConfig,
3
+ AuthorizationStatus,
4
+ CommitmentDuration,
5
5
  CustomizationType,
6
- EvaluationConfig,
6
+ EntitlementAvailability,
7
7
  EvaluationJobStatus,
8
8
  EvaluationJobType,
9
+ FineTuningJobStatus,
10
+ FoundationModelLifecycleStatus,
11
+ InferenceType,
12
+ JobStatusDetails,
13
+ ModelCopyJobStatus,
14
+ ModelCustomization,
15
+ ModelCustomizationJobStatus,
16
+ ModelImportJobStatus,
17
+ ModelInvocationJobStatus,
18
+ ModelModality,
19
+ OfferType,
20
+ PromptRouterStatus,
21
+ PromptRouterType,
22
+ ProvisionedModelStatus,
23
+ RegionAvailability,
24
+ RetrieveAndGenerateType,
25
+ S3InputFormat,
26
+ SearchType,
27
+ SortByProvisionedModels,
28
+ SortJobsBy,
29
+ SortModelsBy,
30
+ SortOrder,
31
+ } from "./enums";
32
+ import {
33
+ AgreementAvailability,
34
+ CustomizationConfig,
35
+ EvaluationConfig,
9
36
  EvaluationModelConfig,
10
37
  EvaluationOutputDataConfig,
11
38
  EvaluationPrecomputedRagSourceConfig,
12
39
  ExternalSourcesRetrieveAndGenerateConfiguration,
13
40
  FilterAttribute,
14
41
  GenerationConfiguration,
15
- GuardrailAutomatedReasoningPolicyConfig,
16
- GuardrailContentFilterAction,
17
- GuardrailContentFiltersTierName,
18
- GuardrailContentFilterType,
19
- GuardrailContentPolicyConfig,
20
- GuardrailContextualGroundingAction,
21
- GuardrailContextualGroundingFilterType,
22
- GuardrailContextualGroundingPolicyConfig,
23
- GuardrailCrossRegionConfig,
24
- GuardrailFilterStrength,
25
- GuardrailModality,
26
- GuardrailPiiEntityType,
27
- GuardrailSensitiveInformationAction,
28
- GuardrailSensitiveInformationPolicyConfig,
29
- GuardrailTopicAction,
30
- GuardrailTopicConfig,
31
- GuardrailTopicsTierConfig,
32
- GuardrailTopicsTierName,
33
- GuardrailTopicType,
34
42
  ImplicitFilterConfiguration,
35
43
  ModelDataSource,
36
44
  OrchestrationConfiguration,
37
45
  OutputDataConfig,
38
- RetrieveAndGenerateType,
39
- SearchType,
40
- SortJobsBy,
41
- SortModelsBy,
42
- SortOrder,
43
46
  Tag,
44
47
  TrainingDataConfig,
45
48
  TrainingMetrics,
@@ -48,362 +51,6 @@ import {
48
51
  VectorSearchRerankingConfiguration,
49
52
  VpcConfig,
50
53
  } from "./models_0";
51
- export interface GuardrailTopicPolicyConfig {
52
- topicsConfig: GuardrailTopicConfig[] | undefined;
53
- tierConfig?: GuardrailTopicsTierConfig | undefined;
54
- }
55
- export declare const GuardrailWordAction: {
56
- readonly BLOCK: "BLOCK";
57
- readonly NONE: "NONE";
58
- };
59
- export type GuardrailWordAction =
60
- (typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
61
- export declare const GuardrailManagedWordsType: {
62
- readonly PROFANITY: "PROFANITY";
63
- };
64
- export type GuardrailManagedWordsType =
65
- (typeof GuardrailManagedWordsType)[keyof typeof GuardrailManagedWordsType];
66
- export interface GuardrailManagedWordsConfig {
67
- type: GuardrailManagedWordsType | undefined;
68
- inputAction?: GuardrailWordAction | undefined;
69
- outputAction?: GuardrailWordAction | undefined;
70
- inputEnabled?: boolean | undefined;
71
- outputEnabled?: boolean | undefined;
72
- }
73
- export interface GuardrailWordConfig {
74
- text: string | undefined;
75
- inputAction?: GuardrailWordAction | undefined;
76
- outputAction?: GuardrailWordAction | undefined;
77
- inputEnabled?: boolean | undefined;
78
- outputEnabled?: boolean | undefined;
79
- }
80
- export interface GuardrailWordPolicyConfig {
81
- wordsConfig?: GuardrailWordConfig[] | undefined;
82
- managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
83
- }
84
- export interface CreateGuardrailRequest {
85
- name: string | undefined;
86
- description?: string | undefined;
87
- topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
88
- contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
89
- wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
90
- sensitiveInformationPolicyConfig?:
91
- | GuardrailSensitiveInformationPolicyConfig
92
- | undefined;
93
- contextualGroundingPolicyConfig?:
94
- | GuardrailContextualGroundingPolicyConfig
95
- | undefined;
96
- automatedReasoningPolicyConfig?:
97
- | GuardrailAutomatedReasoningPolicyConfig
98
- | undefined;
99
- crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
100
- blockedInputMessaging: string | undefined;
101
- blockedOutputsMessaging: string | undefined;
102
- kmsKeyId?: string | undefined;
103
- tags?: Tag[] | undefined;
104
- clientRequestToken?: string | undefined;
105
- }
106
- export interface CreateGuardrailResponse {
107
- guardrailId: string | undefined;
108
- guardrailArn: string | undefined;
109
- version: string | undefined;
110
- createdAt: Date | undefined;
111
- }
112
- export interface CreateGuardrailVersionRequest {
113
- guardrailIdentifier: string | undefined;
114
- description?: string | undefined;
115
- clientRequestToken?: string | undefined;
116
- }
117
- export interface CreateGuardrailVersionResponse {
118
- guardrailId: string | undefined;
119
- version: string | undefined;
120
- }
121
- export interface DeleteGuardrailRequest {
122
- guardrailIdentifier: string | undefined;
123
- guardrailVersion?: string | undefined;
124
- }
125
- export interface DeleteGuardrailResponse {}
126
- export interface GetGuardrailRequest {
127
- guardrailIdentifier: string | undefined;
128
- guardrailVersion?: string | undefined;
129
- }
130
- export interface GuardrailAutomatedReasoningPolicy {
131
- policies: string[] | undefined;
132
- confidenceThreshold?: number | undefined;
133
- }
134
- export interface GuardrailContentFilter {
135
- type: GuardrailContentFilterType | undefined;
136
- inputStrength: GuardrailFilterStrength | undefined;
137
- outputStrength: GuardrailFilterStrength | undefined;
138
- inputModalities?: GuardrailModality[] | undefined;
139
- outputModalities?: GuardrailModality[] | undefined;
140
- inputAction?: GuardrailContentFilterAction | undefined;
141
- outputAction?: GuardrailContentFilterAction | undefined;
142
- inputEnabled?: boolean | undefined;
143
- outputEnabled?: boolean | undefined;
144
- }
145
- export interface GuardrailContentFiltersTier {
146
- tierName: GuardrailContentFiltersTierName | undefined;
147
- }
148
- export interface GuardrailContentPolicy {
149
- filters?: GuardrailContentFilter[] | undefined;
150
- tier?: GuardrailContentFiltersTier | undefined;
151
- }
152
- export interface GuardrailContextualGroundingFilter {
153
- type: GuardrailContextualGroundingFilterType | undefined;
154
- threshold: number | undefined;
155
- action?: GuardrailContextualGroundingAction | undefined;
156
- enabled?: boolean | undefined;
157
- }
158
- export interface GuardrailContextualGroundingPolicy {
159
- filters: GuardrailContextualGroundingFilter[] | undefined;
160
- }
161
- export interface GuardrailCrossRegionDetails {
162
- guardrailProfileId?: string | undefined;
163
- guardrailProfileArn?: string | undefined;
164
- }
165
- export interface GuardrailPiiEntity {
166
- type: GuardrailPiiEntityType | undefined;
167
- action: GuardrailSensitiveInformationAction | undefined;
168
- inputAction?: GuardrailSensitiveInformationAction | undefined;
169
- outputAction?: GuardrailSensitiveInformationAction | undefined;
170
- inputEnabled?: boolean | undefined;
171
- outputEnabled?: boolean | undefined;
172
- }
173
- export interface GuardrailRegex {
174
- name: string | undefined;
175
- description?: string | undefined;
176
- pattern: string | undefined;
177
- action: GuardrailSensitiveInformationAction | undefined;
178
- inputAction?: GuardrailSensitiveInformationAction | undefined;
179
- outputAction?: GuardrailSensitiveInformationAction | undefined;
180
- inputEnabled?: boolean | undefined;
181
- outputEnabled?: boolean | undefined;
182
- }
183
- export interface GuardrailSensitiveInformationPolicy {
184
- piiEntities?: GuardrailPiiEntity[] | undefined;
185
- regexes?: GuardrailRegex[] | undefined;
186
- }
187
- export declare const GuardrailStatus: {
188
- readonly CREATING: "CREATING";
189
- readonly DELETING: "DELETING";
190
- readonly FAILED: "FAILED";
191
- readonly READY: "READY";
192
- readonly UPDATING: "UPDATING";
193
- readonly VERSIONING: "VERSIONING";
194
- };
195
- export type GuardrailStatus =
196
- (typeof GuardrailStatus)[keyof typeof GuardrailStatus];
197
- export interface GuardrailTopicsTier {
198
- tierName: GuardrailTopicsTierName | undefined;
199
- }
200
- export interface GuardrailTopic {
201
- name: string | undefined;
202
- definition: string | undefined;
203
- examples?: string[] | undefined;
204
- type?: GuardrailTopicType | undefined;
205
- inputAction?: GuardrailTopicAction | undefined;
206
- outputAction?: GuardrailTopicAction | undefined;
207
- inputEnabled?: boolean | undefined;
208
- outputEnabled?: boolean | undefined;
209
- }
210
- export interface GuardrailTopicPolicy {
211
- topics: GuardrailTopic[] | undefined;
212
- tier?: GuardrailTopicsTier | undefined;
213
- }
214
- export interface GuardrailManagedWords {
215
- type: GuardrailManagedWordsType | undefined;
216
- inputAction?: GuardrailWordAction | undefined;
217
- outputAction?: GuardrailWordAction | undefined;
218
- inputEnabled?: boolean | undefined;
219
- outputEnabled?: boolean | undefined;
220
- }
221
- export interface GuardrailWord {
222
- text: string | undefined;
223
- inputAction?: GuardrailWordAction | undefined;
224
- outputAction?: GuardrailWordAction | undefined;
225
- inputEnabled?: boolean | undefined;
226
- outputEnabled?: boolean | undefined;
227
- }
228
- export interface GuardrailWordPolicy {
229
- words?: GuardrailWord[] | undefined;
230
- managedWordLists?: GuardrailManagedWords[] | undefined;
231
- }
232
- export interface GetGuardrailResponse {
233
- name: string | undefined;
234
- description?: string | undefined;
235
- guardrailId: string | undefined;
236
- guardrailArn: string | undefined;
237
- version: string | undefined;
238
- status: GuardrailStatus | undefined;
239
- topicPolicy?: GuardrailTopicPolicy | undefined;
240
- contentPolicy?: GuardrailContentPolicy | undefined;
241
- wordPolicy?: GuardrailWordPolicy | undefined;
242
- sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy | undefined;
243
- contextualGroundingPolicy?: GuardrailContextualGroundingPolicy | undefined;
244
- automatedReasoningPolicy?: GuardrailAutomatedReasoningPolicy | undefined;
245
- crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
246
- createdAt: Date | undefined;
247
- updatedAt: Date | undefined;
248
- statusReasons?: string[] | undefined;
249
- failureRecommendations?: string[] | undefined;
250
- blockedInputMessaging: string | undefined;
251
- blockedOutputsMessaging: string | undefined;
252
- kmsKeyArn?: string | undefined;
253
- }
254
- export interface ListGuardrailsRequest {
255
- guardrailIdentifier?: string | undefined;
256
- maxResults?: number | undefined;
257
- nextToken?: string | undefined;
258
- }
259
- export interface GuardrailSummary {
260
- id: string | undefined;
261
- arn: string | undefined;
262
- status: GuardrailStatus | undefined;
263
- name: string | undefined;
264
- description?: string | undefined;
265
- version: string | undefined;
266
- createdAt: Date | undefined;
267
- updatedAt: Date | undefined;
268
- crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
269
- }
270
- export interface ListGuardrailsResponse {
271
- guardrails: GuardrailSummary[] | undefined;
272
- nextToken?: string | undefined;
273
- }
274
- export interface UpdateGuardrailRequest {
275
- guardrailIdentifier: string | undefined;
276
- name: string | undefined;
277
- description?: string | undefined;
278
- topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
279
- contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
280
- wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
281
- sensitiveInformationPolicyConfig?:
282
- | GuardrailSensitiveInformationPolicyConfig
283
- | undefined;
284
- contextualGroundingPolicyConfig?:
285
- | GuardrailContextualGroundingPolicyConfig
286
- | undefined;
287
- automatedReasoningPolicyConfig?:
288
- | GuardrailAutomatedReasoningPolicyConfig
289
- | undefined;
290
- crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
291
- blockedInputMessaging: string | undefined;
292
- blockedOutputsMessaging: string | undefined;
293
- kmsKeyId?: string | undefined;
294
- }
295
- export interface UpdateGuardrailResponse {
296
- guardrailId: string | undefined;
297
- guardrailArn: string | undefined;
298
- version: string | undefined;
299
- updatedAt: Date | undefined;
300
- }
301
- export type InferenceProfileModelSource =
302
- | InferenceProfileModelSource.CopyFromMember
303
- | InferenceProfileModelSource.$UnknownMember;
304
- export declare namespace InferenceProfileModelSource {
305
- interface CopyFromMember {
306
- copyFrom: string;
307
- $unknown?: never;
308
- }
309
- interface $UnknownMember {
310
- copyFrom?: never;
311
- $unknown: [string, any];
312
- }
313
- interface Visitor<T> {
314
- copyFrom: (value: string) => T;
315
- _: (name: string, value: any) => T;
316
- }
317
- }
318
- export interface CreateInferenceProfileRequest {
319
- inferenceProfileName: string | undefined;
320
- description?: string | undefined;
321
- clientRequestToken?: string | undefined;
322
- modelSource: InferenceProfileModelSource | undefined;
323
- tags?: Tag[] | undefined;
324
- }
325
- export declare const InferenceProfileStatus: {
326
- readonly ACTIVE: "ACTIVE";
327
- };
328
- export type InferenceProfileStatus =
329
- (typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
330
- export interface CreateInferenceProfileResponse {
331
- inferenceProfileArn: string | undefined;
332
- status?: InferenceProfileStatus | undefined;
333
- }
334
- export interface DeleteInferenceProfileRequest {
335
- inferenceProfileIdentifier: string | undefined;
336
- }
337
- export interface DeleteInferenceProfileResponse {}
338
- export interface GetInferenceProfileRequest {
339
- inferenceProfileIdentifier: string | undefined;
340
- }
341
- export interface InferenceProfileModel {
342
- modelArn?: string | undefined;
343
- }
344
- export declare const InferenceProfileType: {
345
- readonly APPLICATION: "APPLICATION";
346
- readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
347
- };
348
- export type InferenceProfileType =
349
- (typeof InferenceProfileType)[keyof typeof InferenceProfileType];
350
- export interface GetInferenceProfileResponse {
351
- inferenceProfileName: string | undefined;
352
- description?: string | undefined;
353
- createdAt?: Date | undefined;
354
- updatedAt?: Date | undefined;
355
- inferenceProfileArn: string | undefined;
356
- models: InferenceProfileModel[] | undefined;
357
- inferenceProfileId: string | undefined;
358
- status: InferenceProfileStatus | undefined;
359
- type: InferenceProfileType | undefined;
360
- }
361
- export interface ListInferenceProfilesRequest {
362
- maxResults?: number | undefined;
363
- nextToken?: string | undefined;
364
- typeEquals?: InferenceProfileType | undefined;
365
- }
366
- export interface InferenceProfileSummary {
367
- inferenceProfileName: string | undefined;
368
- description?: string | undefined;
369
- createdAt?: Date | undefined;
370
- updatedAt?: Date | undefined;
371
- inferenceProfileArn: string | undefined;
372
- models: InferenceProfileModel[] | undefined;
373
- inferenceProfileId: string | undefined;
374
- status: InferenceProfileStatus | undefined;
375
- type: InferenceProfileType | undefined;
376
- }
377
- export interface ListInferenceProfilesResponse {
378
- inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
379
- nextToken?: string | undefined;
380
- }
381
- export interface DeleteModelInvocationLoggingConfigurationRequest {}
382
- export interface DeleteModelInvocationLoggingConfigurationResponse {}
383
- export interface GetModelInvocationLoggingConfigurationRequest {}
384
- export interface S3Config {
385
- bucketName: string | undefined;
386
- keyPrefix?: string | undefined;
387
- }
388
- export interface CloudWatchConfig {
389
- logGroupName: string | undefined;
390
- roleArn: string | undefined;
391
- largeDataDeliveryS3Config?: S3Config | undefined;
392
- }
393
- export interface LoggingConfig {
394
- cloudWatchConfig?: CloudWatchConfig | undefined;
395
- s3Config?: S3Config | undefined;
396
- textDataDeliveryEnabled?: boolean | undefined;
397
- imageDataDeliveryEnabled?: boolean | undefined;
398
- embeddingDataDeliveryEnabled?: boolean | undefined;
399
- videoDataDeliveryEnabled?: boolean | undefined;
400
- }
401
- export interface GetModelInvocationLoggingConfigurationResponse {
402
- loggingConfig?: LoggingConfig | undefined;
403
- }
404
- export interface PutModelInvocationLoggingConfigurationRequest {
405
- loggingConfig: LoggingConfig | undefined;
406
- }
407
54
  export interface PutModelInvocationLoggingConfigurationResponse {}
408
55
  export interface CreateModelCopyJobRequest {
409
56
  sourceModelArn: string | undefined;
@@ -418,13 +65,6 @@ export interface CreateModelCopyJobResponse {
418
65
  export interface GetModelCopyJobRequest {
419
66
  jobArn: string | undefined;
420
67
  }
421
- export declare const ModelCopyJobStatus: {
422
- readonly COMPLETED: "Completed";
423
- readonly FAILED: "Failed";
424
- readonly IN_PROGRESS: "InProgress";
425
- };
426
- export type ModelCopyJobStatus =
427
- (typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
428
68
  export interface GetModelCopyJobResponse {
429
69
  jobArn: string | undefined;
430
70
  status: ModelCopyJobStatus | undefined;
@@ -507,13 +147,6 @@ export interface GetImportedModelResponse {
507
147
  export interface GetModelImportJobRequest {
508
148
  jobIdentifier: string | undefined;
509
149
  }
510
- export declare const ModelImportJobStatus: {
511
- readonly COMPLETED: "Completed";
512
- readonly FAILED: "Failed";
513
- readonly IN_PROGRESS: "InProgress";
514
- };
515
- export type ModelImportJobStatus =
516
- (typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
517
150
  export interface GetModelImportJobResponse {
518
151
  jobArn?: string | undefined;
519
152
  jobName?: string | undefined;
@@ -573,10 +206,6 @@ export interface ListModelImportJobsResponse {
573
206
  nextToken?: string | undefined;
574
207
  modelImportJobSummaries?: ModelImportJobSummary[] | undefined;
575
208
  }
576
- export declare const S3InputFormat: {
577
- readonly JSONL: "JSONL";
578
- };
579
- export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
580
209
  export interface ModelInvocationJobS3InputDataConfig {
581
210
  s3InputFormat?: S3InputFormat | undefined;
582
211
  s3Uri: string | undefined;
@@ -638,20 +267,6 @@ export interface CreateModelInvocationJobResponse {
638
267
  export interface GetModelInvocationJobRequest {
639
268
  jobIdentifier: string | undefined;
640
269
  }
641
- export declare const ModelInvocationJobStatus: {
642
- readonly COMPLETED: "Completed";
643
- readonly EXPIRED: "Expired";
644
- readonly FAILED: "Failed";
645
- readonly IN_PROGRESS: "InProgress";
646
- readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
647
- readonly SCHEDULED: "Scheduled";
648
- readonly STOPPED: "Stopped";
649
- readonly STOPPING: "Stopping";
650
- readonly SUBMITTED: "Submitted";
651
- readonly VALIDATING: "Validating";
652
- };
653
- export type ModelInvocationJobStatus =
654
- (typeof ModelInvocationJobStatus)[keyof typeof ModelInvocationJobStatus];
655
270
  export interface GetModelInvocationJobResponse {
656
271
  jobArn: string | undefined;
657
272
  jobName?: string | undefined;
@@ -707,30 +322,6 @@ export interface StopModelInvocationJobResponse {}
707
322
  export interface GetFoundationModelRequest {
708
323
  modelIdentifier: string | undefined;
709
324
  }
710
- export declare const ModelCustomization: {
711
- readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
712
- readonly DISTILLATION: "DISTILLATION";
713
- readonly FINE_TUNING: "FINE_TUNING";
714
- };
715
- export type ModelCustomization =
716
- (typeof ModelCustomization)[keyof typeof ModelCustomization];
717
- export declare const InferenceType: {
718
- readonly ON_DEMAND: "ON_DEMAND";
719
- readonly PROVISIONED: "PROVISIONED";
720
- };
721
- export type InferenceType = (typeof InferenceType)[keyof typeof InferenceType];
722
- export declare const ModelModality: {
723
- readonly EMBEDDING: "EMBEDDING";
724
- readonly IMAGE: "IMAGE";
725
- readonly TEXT: "TEXT";
726
- };
727
- export type ModelModality = (typeof ModelModality)[keyof typeof ModelModality];
728
- export declare const FoundationModelLifecycleStatus: {
729
- readonly ACTIVE: "ACTIVE";
730
- readonly LEGACY: "LEGACY";
731
- };
732
- export type FoundationModelLifecycleStatus =
733
- (typeof FoundationModelLifecycleStatus)[keyof typeof FoundationModelLifecycleStatus];
734
325
  export interface FoundationModelLifecycle {
735
326
  status: FoundationModelLifecycleStatus | undefined;
736
327
  }
@@ -795,17 +386,6 @@ export interface DeletePromptRouterResponse {}
795
386
  export interface GetPromptRouterRequest {
796
387
  promptRouterArn: string | undefined;
797
388
  }
798
- export declare const PromptRouterStatus: {
799
- readonly AVAILABLE: "AVAILABLE";
800
- };
801
- export type PromptRouterStatus =
802
- (typeof PromptRouterStatus)[keyof typeof PromptRouterStatus];
803
- export declare const PromptRouterType: {
804
- readonly CUSTOM: "custom";
805
- readonly DEFAULT: "default";
806
- };
807
- export type PromptRouterType =
808
- (typeof PromptRouterType)[keyof typeof PromptRouterType];
809
389
  export interface GetPromptRouterResponse {
810
390
  promptRouterName: string | undefined;
811
391
  routingCriteria: RoutingCriteria | undefined;
@@ -839,12 +419,6 @@ export interface ListPromptRoutersResponse {
839
419
  promptRouterSummaries?: PromptRouterSummary[] | undefined;
840
420
  nextToken?: string | undefined;
841
421
  }
842
- export declare const CommitmentDuration: {
843
- readonly ONE_MONTH: "OneMonth";
844
- readonly SIX_MONTHS: "SixMonths";
845
- };
846
- export type CommitmentDuration =
847
- (typeof CommitmentDuration)[keyof typeof CommitmentDuration];
848
422
  export interface CreateProvisionedModelThroughputRequest {
849
423
  clientRequestToken?: string | undefined;
850
424
  modelUnits: number | undefined;
@@ -863,14 +437,6 @@ export interface DeleteProvisionedModelThroughputResponse {}
863
437
  export interface GetProvisionedModelThroughputRequest {
864
438
  provisionedModelId: string | undefined;
865
439
  }
866
- export declare const ProvisionedModelStatus: {
867
- readonly CREATING: "Creating";
868
- readonly FAILED: "Failed";
869
- readonly IN_SERVICE: "InService";
870
- readonly UPDATING: "Updating";
871
- };
872
- export type ProvisionedModelStatus =
873
- (typeof ProvisionedModelStatus)[keyof typeof ProvisionedModelStatus];
874
440
  export interface GetProvisionedModelThroughputResponse {
875
441
  modelUnits: number | undefined;
876
442
  desiredModelUnits: number | undefined;
@@ -886,11 +452,6 @@ export interface GetProvisionedModelThroughputResponse {
886
452
  commitmentDuration?: CommitmentDuration | undefined;
887
453
  commitmentExpirationTime?: Date | undefined;
888
454
  }
889
- export declare const SortByProvisionedModels: {
890
- readonly CREATION_TIME: "CreationTime";
891
- };
892
- export type SortByProvisionedModels =
893
- (typeof SortByProvisionedModels)[keyof typeof SortByProvisionedModels];
894
455
  export interface ListProvisionedModelThroughputsRequest {
895
456
  creationTimeAfter?: Date | undefined;
896
457
  creationTimeBefore?: Date | undefined;
@@ -940,24 +501,6 @@ export interface DeleteFoundationModelAgreementResponse {}
940
501
  export interface GetFoundationModelAvailabilityRequest {
941
502
  modelId: string | undefined;
942
503
  }
943
- export declare const AuthorizationStatus: {
944
- readonly AUTHORIZED: "AUTHORIZED";
945
- readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
946
- };
947
- export type AuthorizationStatus =
948
- (typeof AuthorizationStatus)[keyof typeof AuthorizationStatus];
949
- export declare const EntitlementAvailability: {
950
- readonly AVAILABLE: "AVAILABLE";
951
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
952
- };
953
- export type EntitlementAvailability =
954
- (typeof EntitlementAvailability)[keyof typeof EntitlementAvailability];
955
- export declare const RegionAvailability: {
956
- readonly AVAILABLE: "AVAILABLE";
957
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
958
- };
959
- export type RegionAvailability =
960
- (typeof RegionAvailability)[keyof typeof RegionAvailability];
961
504
  export interface GetFoundationModelAvailabilityResponse {
962
505
  modelId: string | undefined;
963
506
  agreementAvailability: AgreementAvailability | undefined;
@@ -965,11 +508,6 @@ export interface GetFoundationModelAvailabilityResponse {
965
508
  entitlementAvailability: EntitlementAvailability | undefined;
966
509
  regionAvailability: RegionAvailability | undefined;
967
510
  }
968
- export declare const OfferType: {
969
- readonly ALL: "ALL";
970
- readonly PUBLIC: "PUBLIC";
971
- };
972
- export type OfferType = (typeof OfferType)[keyof typeof OfferType];
973
511
  export interface ListFoundationModelAgreementOffersRequest {
974
512
  modelId: string | undefined;
975
513
  offerType?: OfferType | undefined;
@@ -1046,25 +584,6 @@ export interface CreateModelCustomizationJobResponse {
1046
584
  export interface GetModelCustomizationJobRequest {
1047
585
  jobIdentifier: string | undefined;
1048
586
  }
1049
- export declare const ModelCustomizationJobStatus: {
1050
- readonly COMPLETED: "Completed";
1051
- readonly FAILED: "Failed";
1052
- readonly IN_PROGRESS: "InProgress";
1053
- readonly STOPPED: "Stopped";
1054
- readonly STOPPING: "Stopping";
1055
- };
1056
- export type ModelCustomizationJobStatus =
1057
- (typeof ModelCustomizationJobStatus)[keyof typeof ModelCustomizationJobStatus];
1058
- export declare const JobStatusDetails: {
1059
- readonly COMPLETED: "Completed";
1060
- readonly FAILED: "Failed";
1061
- readonly IN_PROGRESS: "InProgress";
1062
- readonly NOT_STARTED: "NotStarted";
1063
- readonly STOPPED: "Stopped";
1064
- readonly STOPPING: "Stopping";
1065
- };
1066
- export type JobStatusDetails =
1067
- (typeof JobStatusDetails)[keyof typeof JobStatusDetails];
1068
587
  export interface DataProcessingDetails {
1069
588
  status?: JobStatusDetails | undefined;
1070
589
  creationTime?: Date | undefined;
@@ -1110,15 +629,6 @@ export interface GetModelCustomizationJobResponse {
1110
629
  vpcConfig?: VpcConfig | undefined;
1111
630
  customizationConfig?: CustomizationConfig | undefined;
1112
631
  }
1113
- export declare const FineTuningJobStatus: {
1114
- readonly COMPLETED: "Completed";
1115
- readonly FAILED: "Failed";
1116
- readonly IN_PROGRESS: "InProgress";
1117
- readonly STOPPED: "Stopped";
1118
- readonly STOPPING: "Stopping";
1119
- };
1120
- export type FineTuningJobStatus =
1121
- (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
1122
632
  export interface ListModelCustomizationJobsRequest {
1123
633
  creationTimeAfter?: Date | undefined;
1124
634
  creationTimeBefore?: Date | undefined;