@aws-sdk/client-bedrock 3.834.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 (56) 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/endpoint/EndpointParameters.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +239 -804
  34. package/dist-types/models/models_1.d.ts +901 -1
  35. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  36. package/dist-types/ts3.4/Bedrock.d.ts +109 -0
  37. package/dist-types/ts3.4/BedrockClient.d.ts +36 -0
  38. package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +49 -0
  45. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  52. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  53. package/dist-types/ts3.4/models/models_0.d.ts +107 -425
  54. package/dist-types/ts3.4/models/models_1.d.ts +431 -1
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  56. package/package.json +11 -11
@@ -1,5 +1,7 @@
1
1
  import {
2
2
  ApplicationType,
3
+ CustomizationConfig,
4
+ CustomizationType,
3
5
  EvaluationConfig,
4
6
  EvaluationJobStatus,
5
7
  EvaluationJobType,
@@ -7,13 +9,432 @@ import {
7
9
  EvaluationOutputDataConfig,
8
10
  EvaluationPrecomputedRagSourceConfig,
9
11
  ExternalSourcesRetrieveAndGenerateConfiguration,
12
+ FilterAttribute,
10
13
  GenerationConfiguration,
11
14
  OrchestrationConfiguration,
12
- RetrievalFilter,
15
+ OutputDataConfig,
13
16
  RetrieveAndGenerateType,
14
17
  SearchType,
18
+ SortJobsBy,
19
+ SortOrder,
15
20
  Tag,
21
+ TermDetails,
22
+ TrainingDataConfig,
23
+ TrainingMetrics,
24
+ ValidationDataConfig,
25
+ ValidatorMetric,
26
+ VpcConfig,
16
27
  } from "./models_0";
28
+ export interface Offer {
29
+ offerId?: string | undefined;
30
+ offerToken: string | undefined;
31
+ termDetails: TermDetails | undefined;
32
+ }
33
+ export interface ListFoundationModelAgreementOffersResponse {
34
+ modelId: string | undefined;
35
+ offers: Offer[] | undefined;
36
+ }
37
+ export interface ListTagsForResourceRequest {
38
+ resourceARN: string | undefined;
39
+ }
40
+ export interface ListTagsForResourceResponse {
41
+ tags?: Tag[] | undefined;
42
+ }
43
+ export interface TagResourceRequest {
44
+ resourceARN: string | undefined;
45
+ tags: Tag[] | undefined;
46
+ }
47
+ export interface TagResourceResponse {}
48
+ export interface UntagResourceRequest {
49
+ resourceARN: string | undefined;
50
+ tagKeys: string[] | undefined;
51
+ }
52
+ export interface UntagResourceResponse {}
53
+ export interface CreateModelCustomizationJobRequest {
54
+ jobName: string | undefined;
55
+ customModelName: string | undefined;
56
+ roleArn: string | undefined;
57
+ clientRequestToken?: string | undefined;
58
+ baseModelIdentifier: string | undefined;
59
+ customizationType?: CustomizationType | undefined;
60
+ customModelKmsKeyId?: string | undefined;
61
+ jobTags?: Tag[] | undefined;
62
+ customModelTags?: Tag[] | undefined;
63
+ trainingDataConfig: TrainingDataConfig | undefined;
64
+ validationDataConfig?: ValidationDataConfig | undefined;
65
+ outputDataConfig: OutputDataConfig | undefined;
66
+ hyperParameters?: Record<string, string> | undefined;
67
+ vpcConfig?: VpcConfig | undefined;
68
+ customizationConfig?: CustomizationConfig | undefined;
69
+ }
70
+ export interface CreateModelCustomizationJobResponse {
71
+ jobArn: string | undefined;
72
+ }
73
+ export interface GetModelCustomizationJobRequest {
74
+ jobIdentifier: string | undefined;
75
+ }
76
+ export declare const ModelCustomizationJobStatus: {
77
+ readonly COMPLETED: "Completed";
78
+ readonly FAILED: "Failed";
79
+ readonly IN_PROGRESS: "InProgress";
80
+ readonly STOPPED: "Stopped";
81
+ readonly STOPPING: "Stopping";
82
+ };
83
+ export type ModelCustomizationJobStatus =
84
+ (typeof ModelCustomizationJobStatus)[keyof typeof ModelCustomizationJobStatus];
85
+ export declare const JobStatusDetails: {
86
+ readonly COMPLETED: "Completed";
87
+ readonly FAILED: "Failed";
88
+ readonly IN_PROGRESS: "InProgress";
89
+ readonly NOT_STARTED: "NotStarted";
90
+ readonly STOPPED: "Stopped";
91
+ readonly STOPPING: "Stopping";
92
+ };
93
+ export type JobStatusDetails =
94
+ (typeof JobStatusDetails)[keyof typeof JobStatusDetails];
95
+ export interface DataProcessingDetails {
96
+ status?: JobStatusDetails | undefined;
97
+ creationTime?: Date | undefined;
98
+ lastModifiedTime?: Date | undefined;
99
+ }
100
+ export interface TrainingDetails {
101
+ status?: JobStatusDetails | undefined;
102
+ creationTime?: Date | undefined;
103
+ lastModifiedTime?: Date | undefined;
104
+ }
105
+ export interface ValidationDetails {
106
+ status?: JobStatusDetails | undefined;
107
+ creationTime?: Date | undefined;
108
+ lastModifiedTime?: Date | undefined;
109
+ }
110
+ export interface StatusDetails {
111
+ validationDetails?: ValidationDetails | undefined;
112
+ dataProcessingDetails?: DataProcessingDetails | undefined;
113
+ trainingDetails?: TrainingDetails | undefined;
114
+ }
115
+ export interface GetModelCustomizationJobResponse {
116
+ jobArn: string | undefined;
117
+ jobName: string | undefined;
118
+ outputModelName: string | undefined;
119
+ outputModelArn?: string | undefined;
120
+ clientRequestToken?: string | undefined;
121
+ roleArn: string | undefined;
122
+ status?: ModelCustomizationJobStatus | undefined;
123
+ statusDetails?: StatusDetails | undefined;
124
+ failureMessage?: string | undefined;
125
+ creationTime: Date | undefined;
126
+ lastModifiedTime?: Date | undefined;
127
+ endTime?: Date | undefined;
128
+ baseModelArn: string | undefined;
129
+ hyperParameters?: Record<string, string> | undefined;
130
+ trainingDataConfig: TrainingDataConfig | undefined;
131
+ validationDataConfig: ValidationDataConfig | undefined;
132
+ outputDataConfig: OutputDataConfig | undefined;
133
+ customizationType?: CustomizationType | undefined;
134
+ outputModelKmsKeyArn?: string | undefined;
135
+ trainingMetrics?: TrainingMetrics | undefined;
136
+ validationMetrics?: ValidatorMetric[] | undefined;
137
+ vpcConfig?: VpcConfig | undefined;
138
+ customizationConfig?: CustomizationConfig | undefined;
139
+ }
140
+ export declare const FineTuningJobStatus: {
141
+ readonly COMPLETED: "Completed";
142
+ readonly FAILED: "Failed";
143
+ readonly IN_PROGRESS: "InProgress";
144
+ readonly STOPPED: "Stopped";
145
+ readonly STOPPING: "Stopping";
146
+ };
147
+ export type FineTuningJobStatus =
148
+ (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
149
+ export interface ListModelCustomizationJobsRequest {
150
+ creationTimeAfter?: Date | undefined;
151
+ creationTimeBefore?: Date | undefined;
152
+ statusEquals?: FineTuningJobStatus | undefined;
153
+ nameContains?: string | undefined;
154
+ maxResults?: number | undefined;
155
+ nextToken?: string | undefined;
156
+ sortBy?: SortJobsBy | undefined;
157
+ sortOrder?: SortOrder | undefined;
158
+ }
159
+ export interface ModelCustomizationJobSummary {
160
+ jobArn: string | undefined;
161
+ baseModelArn: string | undefined;
162
+ jobName: string | undefined;
163
+ status: ModelCustomizationJobStatus | undefined;
164
+ statusDetails?: StatusDetails | undefined;
165
+ lastModifiedTime?: Date | undefined;
166
+ creationTime: Date | undefined;
167
+ endTime?: Date | undefined;
168
+ customModelArn?: string | undefined;
169
+ customModelName?: string | undefined;
170
+ customizationType?: CustomizationType | undefined;
171
+ }
172
+ export interface ListModelCustomizationJobsResponse {
173
+ nextToken?: string | undefined;
174
+ modelCustomizationJobSummaries?: ModelCustomizationJobSummary[] | undefined;
175
+ }
176
+ export interface StopModelCustomizationJobRequest {
177
+ jobIdentifier: string | undefined;
178
+ }
179
+ export interface StopModelCustomizationJobResponse {}
180
+ export type RetrievalFilter =
181
+ | RetrievalFilter.AndAllMember
182
+ | RetrievalFilter.EqualsMember
183
+ | RetrievalFilter.GreaterThanMember
184
+ | RetrievalFilter.GreaterThanOrEqualsMember
185
+ | RetrievalFilter.InMember
186
+ | RetrievalFilter.LessThanMember
187
+ | RetrievalFilter.LessThanOrEqualsMember
188
+ | RetrievalFilter.ListContainsMember
189
+ | RetrievalFilter.NotEqualsMember
190
+ | RetrievalFilter.NotInMember
191
+ | RetrievalFilter.OrAllMember
192
+ | RetrievalFilter.StartsWithMember
193
+ | RetrievalFilter.StringContainsMember
194
+ | RetrievalFilter.$UnknownMember;
195
+ export declare namespace RetrievalFilter {
196
+ interface EqualsMember {
197
+ equals: FilterAttribute;
198
+ notEquals?: never;
199
+ greaterThan?: never;
200
+ greaterThanOrEquals?: never;
201
+ lessThan?: never;
202
+ lessThanOrEquals?: never;
203
+ in?: never;
204
+ notIn?: never;
205
+ startsWith?: never;
206
+ listContains?: never;
207
+ stringContains?: never;
208
+ andAll?: never;
209
+ orAll?: never;
210
+ $unknown?: never;
211
+ }
212
+ interface NotEqualsMember {
213
+ equals?: never;
214
+ notEquals: FilterAttribute;
215
+ greaterThan?: never;
216
+ greaterThanOrEquals?: never;
217
+ lessThan?: never;
218
+ lessThanOrEquals?: never;
219
+ in?: never;
220
+ notIn?: never;
221
+ startsWith?: never;
222
+ listContains?: never;
223
+ stringContains?: never;
224
+ andAll?: never;
225
+ orAll?: never;
226
+ $unknown?: never;
227
+ }
228
+ interface GreaterThanMember {
229
+ equals?: never;
230
+ notEquals?: never;
231
+ greaterThan: FilterAttribute;
232
+ greaterThanOrEquals?: never;
233
+ lessThan?: never;
234
+ lessThanOrEquals?: never;
235
+ in?: never;
236
+ notIn?: never;
237
+ startsWith?: never;
238
+ listContains?: never;
239
+ stringContains?: never;
240
+ andAll?: never;
241
+ orAll?: never;
242
+ $unknown?: never;
243
+ }
244
+ interface GreaterThanOrEqualsMember {
245
+ equals?: never;
246
+ notEquals?: never;
247
+ greaterThan?: never;
248
+ greaterThanOrEquals: FilterAttribute;
249
+ lessThan?: never;
250
+ lessThanOrEquals?: never;
251
+ in?: never;
252
+ notIn?: never;
253
+ startsWith?: never;
254
+ listContains?: never;
255
+ stringContains?: never;
256
+ andAll?: never;
257
+ orAll?: never;
258
+ $unknown?: never;
259
+ }
260
+ interface LessThanMember {
261
+ equals?: never;
262
+ notEquals?: never;
263
+ greaterThan?: never;
264
+ greaterThanOrEquals?: never;
265
+ lessThan: FilterAttribute;
266
+ lessThanOrEquals?: never;
267
+ in?: never;
268
+ notIn?: never;
269
+ startsWith?: never;
270
+ listContains?: never;
271
+ stringContains?: never;
272
+ andAll?: never;
273
+ orAll?: never;
274
+ $unknown?: never;
275
+ }
276
+ interface LessThanOrEqualsMember {
277
+ equals?: never;
278
+ notEquals?: never;
279
+ greaterThan?: never;
280
+ greaterThanOrEquals?: never;
281
+ lessThan?: never;
282
+ lessThanOrEquals: FilterAttribute;
283
+ in?: never;
284
+ notIn?: never;
285
+ startsWith?: never;
286
+ listContains?: never;
287
+ stringContains?: never;
288
+ andAll?: never;
289
+ orAll?: never;
290
+ $unknown?: never;
291
+ }
292
+ interface InMember {
293
+ equals?: never;
294
+ notEquals?: never;
295
+ greaterThan?: never;
296
+ greaterThanOrEquals?: never;
297
+ lessThan?: never;
298
+ lessThanOrEquals?: never;
299
+ in: FilterAttribute;
300
+ notIn?: never;
301
+ startsWith?: never;
302
+ listContains?: never;
303
+ stringContains?: never;
304
+ andAll?: never;
305
+ orAll?: never;
306
+ $unknown?: never;
307
+ }
308
+ interface NotInMember {
309
+ equals?: never;
310
+ notEquals?: never;
311
+ greaterThan?: never;
312
+ greaterThanOrEquals?: never;
313
+ lessThan?: never;
314
+ lessThanOrEquals?: never;
315
+ in?: never;
316
+ notIn: FilterAttribute;
317
+ startsWith?: never;
318
+ listContains?: never;
319
+ stringContains?: never;
320
+ andAll?: never;
321
+ orAll?: never;
322
+ $unknown?: never;
323
+ }
324
+ interface StartsWithMember {
325
+ equals?: never;
326
+ notEquals?: never;
327
+ greaterThan?: never;
328
+ greaterThanOrEquals?: never;
329
+ lessThan?: never;
330
+ lessThanOrEquals?: never;
331
+ in?: never;
332
+ notIn?: never;
333
+ startsWith: FilterAttribute;
334
+ listContains?: never;
335
+ stringContains?: never;
336
+ andAll?: never;
337
+ orAll?: never;
338
+ $unknown?: never;
339
+ }
340
+ interface ListContainsMember {
341
+ equals?: never;
342
+ notEquals?: never;
343
+ greaterThan?: never;
344
+ greaterThanOrEquals?: never;
345
+ lessThan?: never;
346
+ lessThanOrEquals?: never;
347
+ in?: never;
348
+ notIn?: never;
349
+ startsWith?: never;
350
+ listContains: FilterAttribute;
351
+ stringContains?: never;
352
+ andAll?: never;
353
+ orAll?: never;
354
+ $unknown?: never;
355
+ }
356
+ interface StringContainsMember {
357
+ equals?: never;
358
+ notEquals?: never;
359
+ greaterThan?: never;
360
+ greaterThanOrEquals?: never;
361
+ lessThan?: never;
362
+ lessThanOrEquals?: never;
363
+ in?: never;
364
+ notIn?: never;
365
+ startsWith?: never;
366
+ listContains?: never;
367
+ stringContains: FilterAttribute;
368
+ andAll?: never;
369
+ orAll?: never;
370
+ $unknown?: never;
371
+ }
372
+ interface AndAllMember {
373
+ equals?: never;
374
+ notEquals?: never;
375
+ greaterThan?: never;
376
+ greaterThanOrEquals?: never;
377
+ lessThan?: never;
378
+ lessThanOrEquals?: never;
379
+ in?: never;
380
+ notIn?: never;
381
+ startsWith?: never;
382
+ listContains?: never;
383
+ stringContains?: never;
384
+ andAll: RetrievalFilter[];
385
+ orAll?: never;
386
+ $unknown?: never;
387
+ }
388
+ interface OrAllMember {
389
+ equals?: never;
390
+ notEquals?: never;
391
+ greaterThan?: never;
392
+ greaterThanOrEquals?: never;
393
+ lessThan?: never;
394
+ lessThanOrEquals?: never;
395
+ in?: never;
396
+ notIn?: never;
397
+ startsWith?: never;
398
+ listContains?: never;
399
+ stringContains?: never;
400
+ andAll?: never;
401
+ orAll: RetrievalFilter[];
402
+ $unknown?: never;
403
+ }
404
+ interface $UnknownMember {
405
+ equals?: never;
406
+ notEquals?: never;
407
+ greaterThan?: never;
408
+ greaterThanOrEquals?: never;
409
+ lessThan?: never;
410
+ lessThanOrEquals?: never;
411
+ in?: never;
412
+ notIn?: never;
413
+ startsWith?: never;
414
+ listContains?: never;
415
+ stringContains?: never;
416
+ andAll?: never;
417
+ orAll?: never;
418
+ $unknown: [string, any];
419
+ }
420
+ interface Visitor<T> {
421
+ equals: (value: FilterAttribute) => T;
422
+ notEquals: (value: FilterAttribute) => T;
423
+ greaterThan: (value: FilterAttribute) => T;
424
+ greaterThanOrEquals: (value: FilterAttribute) => T;
425
+ lessThan: (value: FilterAttribute) => T;
426
+ lessThanOrEquals: (value: FilterAttribute) => T;
427
+ in: (value: FilterAttribute) => T;
428
+ notIn: (value: FilterAttribute) => T;
429
+ startsWith: (value: FilterAttribute) => T;
430
+ listContains: (value: FilterAttribute) => T;
431
+ stringContains: (value: FilterAttribute) => T;
432
+ andAll: (value: RetrievalFilter[]) => T;
433
+ orAll: (value: RetrievalFilter[]) => T;
434
+ _: (name: string, value: any) => T;
435
+ }
436
+ const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
437
+ }
17
438
  export interface KnowledgeBaseVectorSearchConfiguration {
18
439
  numberOfResults?: number | undefined;
19
440
  overrideSearchType?: SearchType | undefined;
@@ -155,6 +576,15 @@ export interface GetEvaluationJobResponse {
155
576
  lastModifiedTime?: Date | undefined;
156
577
  failureMessages?: string[] | undefined;
157
578
  }
579
+ export declare const CreateModelCustomizationJobRequestFilterSensitiveLog: (
580
+ obj: CreateModelCustomizationJobRequest
581
+ ) => any;
582
+ export declare const GetModelCustomizationJobResponseFilterSensitiveLog: (
583
+ obj: GetModelCustomizationJobResponse
584
+ ) => any;
585
+ export declare const RetrievalFilterFilterSensitiveLog: (
586
+ obj: RetrievalFilter
587
+ ) => any;
158
588
  export declare const KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: (
159
589
  obj: KnowledgeBaseVectorSearchConfiguration
160
590
  ) => any;
@@ -15,6 +15,10 @@ import {
15
15
  CreateEvaluationJobCommandInput,
16
16
  CreateEvaluationJobCommandOutput,
17
17
  } from "../commands/CreateEvaluationJobCommand";
18
+ import {
19
+ CreateFoundationModelAgreementCommandInput,
20
+ CreateFoundationModelAgreementCommandOutput,
21
+ } from "../commands/CreateFoundationModelAgreementCommand";
18
22
  import {
19
23
  CreateGuardrailCommandInput,
20
24
  CreateGuardrailCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  DeleteCustomModelCommandInput,
60
64
  DeleteCustomModelCommandOutput,
61
65
  } from "../commands/DeleteCustomModelCommand";
66
+ import {
67
+ DeleteFoundationModelAgreementCommandInput,
68
+ DeleteFoundationModelAgreementCommandOutput,
69
+ } from "../commands/DeleteFoundationModelAgreementCommand";
62
70
  import {
63
71
  DeleteGuardrailCommandInput,
64
72
  DeleteGuardrailCommandOutput,
@@ -99,6 +107,10 @@ import {
99
107
  GetEvaluationJobCommandInput,
100
108
  GetEvaluationJobCommandOutput,
101
109
  } from "../commands/GetEvaluationJobCommand";
110
+ import {
111
+ GetFoundationModelAvailabilityCommandInput,
112
+ GetFoundationModelAvailabilityCommandOutput,
113
+ } from "../commands/GetFoundationModelAvailabilityCommand";
102
114
  import {
103
115
  GetFoundationModelCommandInput,
104
116
  GetFoundationModelCommandOutput,
@@ -147,6 +159,10 @@ import {
147
159
  GetProvisionedModelThroughputCommandInput,
148
160
  GetProvisionedModelThroughputCommandOutput,
149
161
  } from "../commands/GetProvisionedModelThroughputCommand";
162
+ import {
163
+ GetUseCaseForModelAccessCommandInput,
164
+ GetUseCaseForModelAccessCommandOutput,
165
+ } from "../commands/GetUseCaseForModelAccessCommand";
150
166
  import {
151
167
  ListCustomModelsCommandInput,
152
168
  ListCustomModelsCommandOutput,
@@ -155,6 +171,10 @@ import {
155
171
  ListEvaluationJobsCommandInput,
156
172
  ListEvaluationJobsCommandOutput,
157
173
  } from "../commands/ListEvaluationJobsCommand";
174
+ import {
175
+ ListFoundationModelAgreementOffersCommandInput,
176
+ ListFoundationModelAgreementOffersCommandOutput,
177
+ } from "../commands/ListFoundationModelAgreementOffersCommand";
158
178
  import {
159
179
  ListFoundationModelsCommandInput,
160
180
  ListFoundationModelsCommandOutput,
@@ -207,6 +227,10 @@ import {
207
227
  PutModelInvocationLoggingConfigurationCommandInput,
208
228
  PutModelInvocationLoggingConfigurationCommandOutput,
209
229
  } from "../commands/PutModelInvocationLoggingConfigurationCommand";
230
+ import {
231
+ PutUseCaseForModelAccessCommandInput,
232
+ PutUseCaseForModelAccessCommandOutput,
233
+ } from "../commands/PutUseCaseForModelAccessCommand";
210
234
  import {
211
235
  RegisterMarketplaceModelEndpointCommandInput,
212
236
  RegisterMarketplaceModelEndpointCommandOutput,
@@ -255,6 +279,10 @@ export declare const se_CreateEvaluationJobCommand: (
255
279
  input: CreateEvaluationJobCommandInput,
256
280
  context: __SerdeContext
257
281
  ) => Promise<__HttpRequest>;
282
+ export declare const se_CreateFoundationModelAgreementCommand: (
283
+ input: CreateFoundationModelAgreementCommandInput,
284
+ context: __SerdeContext
285
+ ) => Promise<__HttpRequest>;
258
286
  export declare const se_CreateGuardrailCommand: (
259
287
  input: CreateGuardrailCommandInput,
260
288
  context: __SerdeContext
@@ -299,6 +327,10 @@ export declare const se_DeleteCustomModelCommand: (
299
327
  input: DeleteCustomModelCommandInput,
300
328
  context: __SerdeContext
301
329
  ) => Promise<__HttpRequest>;
330
+ export declare const se_DeleteFoundationModelAgreementCommand: (
331
+ input: DeleteFoundationModelAgreementCommandInput,
332
+ context: __SerdeContext
333
+ ) => Promise<__HttpRequest>;
302
334
  export declare const se_DeleteGuardrailCommand: (
303
335
  input: DeleteGuardrailCommandInput,
304
336
  context: __SerdeContext
@@ -343,6 +375,10 @@ export declare const se_GetFoundationModelCommand: (
343
375
  input: GetFoundationModelCommandInput,
344
376
  context: __SerdeContext
345
377
  ) => Promise<__HttpRequest>;
378
+ export declare const se_GetFoundationModelAvailabilityCommand: (
379
+ input: GetFoundationModelAvailabilityCommandInput,
380
+ context: __SerdeContext
381
+ ) => Promise<__HttpRequest>;
346
382
  export declare const se_GetGuardrailCommand: (
347
383
  input: GetGuardrailCommandInput,
348
384
  context: __SerdeContext
@@ -387,6 +423,10 @@ export declare const se_GetProvisionedModelThroughputCommand: (
387
423
  input: GetProvisionedModelThroughputCommandInput,
388
424
  context: __SerdeContext
389
425
  ) => Promise<__HttpRequest>;
426
+ export declare const se_GetUseCaseForModelAccessCommand: (
427
+ input: GetUseCaseForModelAccessCommandInput,
428
+ context: __SerdeContext
429
+ ) => Promise<__HttpRequest>;
390
430
  export declare const se_ListCustomModelsCommand: (
391
431
  input: ListCustomModelsCommandInput,
392
432
  context: __SerdeContext
@@ -395,6 +435,10 @@ export declare const se_ListEvaluationJobsCommand: (
395
435
  input: ListEvaluationJobsCommandInput,
396
436
  context: __SerdeContext
397
437
  ) => Promise<__HttpRequest>;
438
+ export declare const se_ListFoundationModelAgreementOffersCommand: (
439
+ input: ListFoundationModelAgreementOffersCommandInput,
440
+ context: __SerdeContext
441
+ ) => Promise<__HttpRequest>;
398
442
  export declare const se_ListFoundationModelsCommand: (
399
443
  input: ListFoundationModelsCommandInput,
400
444
  context: __SerdeContext
@@ -447,6 +491,10 @@ export declare const se_PutModelInvocationLoggingConfigurationCommand: (
447
491
  input: PutModelInvocationLoggingConfigurationCommandInput,
448
492
  context: __SerdeContext
449
493
  ) => Promise<__HttpRequest>;
494
+ export declare const se_PutUseCaseForModelAccessCommand: (
495
+ input: PutUseCaseForModelAccessCommandInput,
496
+ context: __SerdeContext
497
+ ) => Promise<__HttpRequest>;
450
498
  export declare const se_RegisterMarketplaceModelEndpointCommand: (
451
499
  input: RegisterMarketplaceModelEndpointCommandInput,
452
500
  context: __SerdeContext
@@ -495,6 +543,10 @@ export declare const de_CreateEvaluationJobCommand: (
495
543
  output: __HttpResponse,
496
544
  context: __SerdeContext
497
545
  ) => Promise<CreateEvaluationJobCommandOutput>;
546
+ export declare const de_CreateFoundationModelAgreementCommand: (
547
+ output: __HttpResponse,
548
+ context: __SerdeContext
549
+ ) => Promise<CreateFoundationModelAgreementCommandOutput>;
498
550
  export declare const de_CreateGuardrailCommand: (
499
551
  output: __HttpResponse,
500
552
  context: __SerdeContext
@@ -539,6 +591,10 @@ export declare const de_DeleteCustomModelCommand: (
539
591
  output: __HttpResponse,
540
592
  context: __SerdeContext
541
593
  ) => Promise<DeleteCustomModelCommandOutput>;
594
+ export declare const de_DeleteFoundationModelAgreementCommand: (
595
+ output: __HttpResponse,
596
+ context: __SerdeContext
597
+ ) => Promise<DeleteFoundationModelAgreementCommandOutput>;
542
598
  export declare const de_DeleteGuardrailCommand: (
543
599
  output: __HttpResponse,
544
600
  context: __SerdeContext
@@ -583,6 +639,10 @@ export declare const de_GetFoundationModelCommand: (
583
639
  output: __HttpResponse,
584
640
  context: __SerdeContext
585
641
  ) => Promise<GetFoundationModelCommandOutput>;
642
+ export declare const de_GetFoundationModelAvailabilityCommand: (
643
+ output: __HttpResponse,
644
+ context: __SerdeContext
645
+ ) => Promise<GetFoundationModelAvailabilityCommandOutput>;
586
646
  export declare const de_GetGuardrailCommand: (
587
647
  output: __HttpResponse,
588
648
  context: __SerdeContext
@@ -627,6 +687,10 @@ export declare const de_GetProvisionedModelThroughputCommand: (
627
687
  output: __HttpResponse,
628
688
  context: __SerdeContext
629
689
  ) => Promise<GetProvisionedModelThroughputCommandOutput>;
690
+ export declare const de_GetUseCaseForModelAccessCommand: (
691
+ output: __HttpResponse,
692
+ context: __SerdeContext
693
+ ) => Promise<GetUseCaseForModelAccessCommandOutput>;
630
694
  export declare const de_ListCustomModelsCommand: (
631
695
  output: __HttpResponse,
632
696
  context: __SerdeContext
@@ -635,6 +699,10 @@ export declare const de_ListEvaluationJobsCommand: (
635
699
  output: __HttpResponse,
636
700
  context: __SerdeContext
637
701
  ) => Promise<ListEvaluationJobsCommandOutput>;
702
+ export declare const de_ListFoundationModelAgreementOffersCommand: (
703
+ output: __HttpResponse,
704
+ context: __SerdeContext
705
+ ) => Promise<ListFoundationModelAgreementOffersCommandOutput>;
638
706
  export declare const de_ListFoundationModelsCommand: (
639
707
  output: __HttpResponse,
640
708
  context: __SerdeContext
@@ -687,6 +755,10 @@ export declare const de_PutModelInvocationLoggingConfigurationCommand: (
687
755
  output: __HttpResponse,
688
756
  context: __SerdeContext
689
757
  ) => Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
758
+ export declare const de_PutUseCaseForModelAccessCommand: (
759
+ output: __HttpResponse,
760
+ context: __SerdeContext
761
+ ) => Promise<PutUseCaseForModelAccessCommandOutput>;
690
762
  export declare const de_RegisterMarketplaceModelEndpointCommand: (
691
763
  output: __HttpResponse,
692
764
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
3
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
4
- "version": "3.834.0",
4
+ "version": "3.836.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.830.0",
23
+ "@aws-sdk/core": "3.835.0",
24
+ "@aws-sdk/credential-provider-node": "3.835.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.828.0",
28
+ "@aws-sdk/middleware-user-agent": "3.835.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.828.0",
33
+ "@aws-sdk/util-user-agent-node": "3.835.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.11",
41
- "@smithy/middleware-retry": "^4.1.12",
40
+ "@smithy/middleware-endpoint": "^4.1.12",
41
+ "@smithy/middleware-retry": "^4.1.13",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.3",
47
+ "@smithy/smithy-client": "^4.4.4",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.19",
54
- "@smithy/util-defaults-mode-node": "^4.0.19",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
54
+ "@smithy/util-defaults-mode-node": "^4.0.20",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
- "@smithy/util-retry": "^4.0.5",
57
+ "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",