@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
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "../commands/BatchDeleteEvaluationJobCommand";
4
4
  import { CreateCustomModelCommandInput, CreateCustomModelCommandOutput } from "../commands/CreateCustomModelCommand";
5
5
  import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "../commands/CreateEvaluationJobCommand";
6
+ import { CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput } from "../commands/CreateFoundationModelAgreementCommand";
6
7
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../commands/CreateGuardrailCommand";
7
8
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "../commands/CreateGuardrailVersionCommand";
8
9
  import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "../commands/CreateInferenceProfileCommand";
@@ -14,6 +15,7 @@ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOu
14
15
  import { CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput } from "../commands/CreatePromptRouterCommand";
15
16
  import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
16
17
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
18
+ import { DeleteFoundationModelAgreementCommandInput, DeleteFoundationModelAgreementCommandOutput } from "../commands/DeleteFoundationModelAgreementCommand";
17
19
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "../commands/DeleteGuardrailCommand";
18
20
  import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "../commands/DeleteImportedModelCommand";
19
21
  import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "../commands/DeleteInferenceProfileCommand";
@@ -24,6 +26,7 @@ import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThr
24
26
  import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "../commands/DeregisterMarketplaceModelEndpointCommand";
25
27
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
26
28
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "../commands/GetEvaluationJobCommand";
29
+ import { GetFoundationModelAvailabilityCommandInput, GetFoundationModelAvailabilityCommandOutput } from "../commands/GetFoundationModelAvailabilityCommand";
27
30
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
28
31
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "../commands/GetGuardrailCommand";
29
32
  import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "../commands/GetImportedModelCommand";
@@ -36,8 +39,10 @@ import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput }
36
39
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
37
40
  import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "../commands/GetPromptRouterCommand";
38
41
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
42
+ import { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "../commands/GetUseCaseForModelAccessCommand";
39
43
  import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
40
44
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
45
+ import { ListFoundationModelAgreementOffersCommandInput, ListFoundationModelAgreementOffersCommandOutput } from "../commands/ListFoundationModelAgreementOffersCommand";
41
46
  import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
42
47
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "../commands/ListGuardrailsCommand";
43
48
  import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "../commands/ListImportedModelsCommand";
@@ -51,6 +56,7 @@ import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from ".
51
56
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
52
57
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
53
58
  import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "../commands/PutModelInvocationLoggingConfigurationCommand";
59
+ import { PutUseCaseForModelAccessCommandInput, PutUseCaseForModelAccessCommandOutput } from "../commands/PutUseCaseForModelAccessCommand";
54
60
  import { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "../commands/RegisterMarketplaceModelEndpointCommand";
55
61
  import { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "../commands/StopEvaluationJobCommand";
56
62
  import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "../commands/StopModelCustomizationJobCommand";
@@ -72,6 +78,10 @@ export declare const se_CreateCustomModelCommand: (input: CreateCustomModelComma
72
78
  * serializeAws_restJson1CreateEvaluationJobCommand
73
79
  */
74
80
  export declare const se_CreateEvaluationJobCommand: (input: CreateEvaluationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
+ /**
82
+ * serializeAws_restJson1CreateFoundationModelAgreementCommand
83
+ */
84
+ export declare const se_CreateFoundationModelAgreementCommand: (input: CreateFoundationModelAgreementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
85
  /**
76
86
  * serializeAws_restJson1CreateGuardrailCommand
77
87
  */
@@ -116,6 +126,10 @@ export declare const se_CreateProvisionedModelThroughputCommand: (input: CreateP
116
126
  * serializeAws_restJson1DeleteCustomModelCommand
117
127
  */
118
128
  export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
+ /**
130
+ * serializeAws_restJson1DeleteFoundationModelAgreementCommand
131
+ */
132
+ export declare const se_DeleteFoundationModelAgreementCommand: (input: DeleteFoundationModelAgreementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
133
  /**
120
134
  * serializeAws_restJson1DeleteGuardrailCommand
121
135
  */
@@ -160,6 +174,10 @@ export declare const se_GetEvaluationJobCommand: (input: GetEvaluationJobCommand
160
174
  * serializeAws_restJson1GetFoundationModelCommand
161
175
  */
162
176
  export declare const se_GetFoundationModelCommand: (input: GetFoundationModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
177
+ /**
178
+ * serializeAws_restJson1GetFoundationModelAvailabilityCommand
179
+ */
180
+ export declare const se_GetFoundationModelAvailabilityCommand: (input: GetFoundationModelAvailabilityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
181
  /**
164
182
  * serializeAws_restJson1GetGuardrailCommand
165
183
  */
@@ -204,6 +222,10 @@ export declare const se_GetPromptRouterCommand: (input: GetPromptRouterCommandIn
204
222
  * serializeAws_restJson1GetProvisionedModelThroughputCommand
205
223
  */
206
224
  export declare const se_GetProvisionedModelThroughputCommand: (input: GetProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
225
+ /**
226
+ * serializeAws_restJson1GetUseCaseForModelAccessCommand
227
+ */
228
+ export declare const se_GetUseCaseForModelAccessCommand: (input: GetUseCaseForModelAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
207
229
  /**
208
230
  * serializeAws_restJson1ListCustomModelsCommand
209
231
  */
@@ -212,6 +234,10 @@ export declare const se_ListCustomModelsCommand: (input: ListCustomModelsCommand
212
234
  * serializeAws_restJson1ListEvaluationJobsCommand
213
235
  */
214
236
  export declare const se_ListEvaluationJobsCommand: (input: ListEvaluationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
237
+ /**
238
+ * serializeAws_restJson1ListFoundationModelAgreementOffersCommand
239
+ */
240
+ export declare const se_ListFoundationModelAgreementOffersCommand: (input: ListFoundationModelAgreementOffersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
215
241
  /**
216
242
  * serializeAws_restJson1ListFoundationModelsCommand
217
243
  */
@@ -264,6 +290,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
264
290
  * serializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
265
291
  */
266
292
  export declare const se_PutModelInvocationLoggingConfigurationCommand: (input: PutModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
293
+ /**
294
+ * serializeAws_restJson1PutUseCaseForModelAccessCommand
295
+ */
296
+ export declare const se_PutUseCaseForModelAccessCommand: (input: PutUseCaseForModelAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
267
297
  /**
268
298
  * serializeAws_restJson1RegisterMarketplaceModelEndpointCommand
269
299
  */
@@ -312,6 +342,10 @@ export declare const de_CreateCustomModelCommand: (output: __HttpResponse, conte
312
342
  * deserializeAws_restJson1CreateEvaluationJobCommand
313
343
  */
314
344
  export declare const de_CreateEvaluationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEvaluationJobCommandOutput>;
345
+ /**
346
+ * deserializeAws_restJson1CreateFoundationModelAgreementCommand
347
+ */
348
+ export declare const de_CreateFoundationModelAgreementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFoundationModelAgreementCommandOutput>;
315
349
  /**
316
350
  * deserializeAws_restJson1CreateGuardrailCommand
317
351
  */
@@ -356,6 +390,10 @@ export declare const de_CreateProvisionedModelThroughputCommand: (output: __Http
356
390
  * deserializeAws_restJson1DeleteCustomModelCommand
357
391
  */
358
392
  export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomModelCommandOutput>;
393
+ /**
394
+ * deserializeAws_restJson1DeleteFoundationModelAgreementCommand
395
+ */
396
+ export declare const de_DeleteFoundationModelAgreementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFoundationModelAgreementCommandOutput>;
359
397
  /**
360
398
  * deserializeAws_restJson1DeleteGuardrailCommand
361
399
  */
@@ -400,6 +438,10 @@ export declare const de_GetEvaluationJobCommand: (output: __HttpResponse, contex
400
438
  * deserializeAws_restJson1GetFoundationModelCommand
401
439
  */
402
440
  export declare const de_GetFoundationModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFoundationModelCommandOutput>;
441
+ /**
442
+ * deserializeAws_restJson1GetFoundationModelAvailabilityCommand
443
+ */
444
+ export declare const de_GetFoundationModelAvailabilityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFoundationModelAvailabilityCommandOutput>;
403
445
  /**
404
446
  * deserializeAws_restJson1GetGuardrailCommand
405
447
  */
@@ -444,6 +486,10 @@ export declare const de_GetPromptRouterCommand: (output: __HttpResponse, context
444
486
  * deserializeAws_restJson1GetProvisionedModelThroughputCommand
445
487
  */
446
488
  export declare const de_GetProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProvisionedModelThroughputCommandOutput>;
489
+ /**
490
+ * deserializeAws_restJson1GetUseCaseForModelAccessCommand
491
+ */
492
+ export declare const de_GetUseCaseForModelAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUseCaseForModelAccessCommandOutput>;
447
493
  /**
448
494
  * deserializeAws_restJson1ListCustomModelsCommand
449
495
  */
@@ -452,6 +498,10 @@ export declare const de_ListCustomModelsCommand: (output: __HttpResponse, contex
452
498
  * deserializeAws_restJson1ListEvaluationJobsCommand
453
499
  */
454
500
  export declare const de_ListEvaluationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEvaluationJobsCommandOutput>;
501
+ /**
502
+ * deserializeAws_restJson1ListFoundationModelAgreementOffersCommand
503
+ */
504
+ export declare const de_ListFoundationModelAgreementOffersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFoundationModelAgreementOffersCommandOutput>;
455
505
  /**
456
506
  * deserializeAws_restJson1ListFoundationModelsCommand
457
507
  */
@@ -504,6 +554,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
504
554
  * deserializeAws_restJson1PutModelInvocationLoggingConfigurationCommand
505
555
  */
506
556
  export declare const de_PutModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
557
+ /**
558
+ * deserializeAws_restJson1PutUseCaseForModelAccessCommand
559
+ */
560
+ export declare const de_PutUseCaseForModelAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutUseCaseForModelAccessCommandOutput>;
507
561
  /**
508
562
  * deserializeAws_restJson1RegisterMarketplaceModelEndpointCommand
509
563
  */
@@ -12,6 +12,10 @@ import {
12
12
  CreateEvaluationJobCommandInput,
13
13
  CreateEvaluationJobCommandOutput,
14
14
  } from "./commands/CreateEvaluationJobCommand";
15
+ import {
16
+ CreateFoundationModelAgreementCommandInput,
17
+ CreateFoundationModelAgreementCommandOutput,
18
+ } from "./commands/CreateFoundationModelAgreementCommand";
15
19
  import {
16
20
  CreateGuardrailCommandInput,
17
21
  CreateGuardrailCommandOutput,
@@ -56,6 +60,10 @@ import {
56
60
  DeleteCustomModelCommandInput,
57
61
  DeleteCustomModelCommandOutput,
58
62
  } from "./commands/DeleteCustomModelCommand";
63
+ import {
64
+ DeleteFoundationModelAgreementCommandInput,
65
+ DeleteFoundationModelAgreementCommandOutput,
66
+ } from "./commands/DeleteFoundationModelAgreementCommand";
59
67
  import {
60
68
  DeleteGuardrailCommandInput,
61
69
  DeleteGuardrailCommandOutput,
@@ -96,6 +104,10 @@ import {
96
104
  GetEvaluationJobCommandInput,
97
105
  GetEvaluationJobCommandOutput,
98
106
  } from "./commands/GetEvaluationJobCommand";
107
+ import {
108
+ GetFoundationModelAvailabilityCommandInput,
109
+ GetFoundationModelAvailabilityCommandOutput,
110
+ } from "./commands/GetFoundationModelAvailabilityCommand";
99
111
  import {
100
112
  GetFoundationModelCommandInput,
101
113
  GetFoundationModelCommandOutput,
@@ -144,6 +156,10 @@ import {
144
156
  GetProvisionedModelThroughputCommandInput,
145
157
  GetProvisionedModelThroughputCommandOutput,
146
158
  } from "./commands/GetProvisionedModelThroughputCommand";
159
+ import {
160
+ GetUseCaseForModelAccessCommandInput,
161
+ GetUseCaseForModelAccessCommandOutput,
162
+ } from "./commands/GetUseCaseForModelAccessCommand";
147
163
  import {
148
164
  ListCustomModelsCommandInput,
149
165
  ListCustomModelsCommandOutput,
@@ -152,6 +168,10 @@ import {
152
168
  ListEvaluationJobsCommandInput,
153
169
  ListEvaluationJobsCommandOutput,
154
170
  } from "./commands/ListEvaluationJobsCommand";
171
+ import {
172
+ ListFoundationModelAgreementOffersCommandInput,
173
+ ListFoundationModelAgreementOffersCommandOutput,
174
+ } from "./commands/ListFoundationModelAgreementOffersCommand";
155
175
  import {
156
176
  ListFoundationModelsCommandInput,
157
177
  ListFoundationModelsCommandOutput,
@@ -204,6 +224,10 @@ import {
204
224
  PutModelInvocationLoggingConfigurationCommandInput,
205
225
  PutModelInvocationLoggingConfigurationCommandOutput,
206
226
  } from "./commands/PutModelInvocationLoggingConfigurationCommand";
227
+ import {
228
+ PutUseCaseForModelAccessCommandInput,
229
+ PutUseCaseForModelAccessCommandOutput,
230
+ } from "./commands/PutUseCaseForModelAccessCommand";
207
231
  import {
208
232
  RegisterMarketplaceModelEndpointCommandInput,
209
233
  RegisterMarketplaceModelEndpointCommandOutput,
@@ -280,6 +304,19 @@ export interface Bedrock {
280
304
  options: __HttpHandlerOptions,
281
305
  cb: (err: any, data?: CreateEvaluationJobCommandOutput) => void
282
306
  ): void;
307
+ createFoundationModelAgreement(
308
+ args: CreateFoundationModelAgreementCommandInput,
309
+ options?: __HttpHandlerOptions
310
+ ): Promise<CreateFoundationModelAgreementCommandOutput>;
311
+ createFoundationModelAgreement(
312
+ args: CreateFoundationModelAgreementCommandInput,
313
+ cb: (err: any, data?: CreateFoundationModelAgreementCommandOutput) => void
314
+ ): void;
315
+ createFoundationModelAgreement(
316
+ args: CreateFoundationModelAgreementCommandInput,
317
+ options: __HttpHandlerOptions,
318
+ cb: (err: any, data?: CreateFoundationModelAgreementCommandOutput) => void
319
+ ): void;
283
320
  createGuardrail(
284
321
  args: CreateGuardrailCommandInput,
285
322
  options?: __HttpHandlerOptions
@@ -423,6 +460,19 @@ export interface Bedrock {
423
460
  options: __HttpHandlerOptions,
424
461
  cb: (err: any, data?: DeleteCustomModelCommandOutput) => void
425
462
  ): void;
463
+ deleteFoundationModelAgreement(
464
+ args: DeleteFoundationModelAgreementCommandInput,
465
+ options?: __HttpHandlerOptions
466
+ ): Promise<DeleteFoundationModelAgreementCommandOutput>;
467
+ deleteFoundationModelAgreement(
468
+ args: DeleteFoundationModelAgreementCommandInput,
469
+ cb: (err: any, data?: DeleteFoundationModelAgreementCommandOutput) => void
470
+ ): void;
471
+ deleteFoundationModelAgreement(
472
+ args: DeleteFoundationModelAgreementCommandInput,
473
+ options: __HttpHandlerOptions,
474
+ cb: (err: any, data?: DeleteFoundationModelAgreementCommandOutput) => void
475
+ ): void;
426
476
  deleteGuardrail(
427
477
  args: DeleteGuardrailCommandInput,
428
478
  options?: __HttpHandlerOptions
@@ -579,6 +629,19 @@ export interface Bedrock {
579
629
  options: __HttpHandlerOptions,
580
630
  cb: (err: any, data?: GetFoundationModelCommandOutput) => void
581
631
  ): void;
632
+ getFoundationModelAvailability(
633
+ args: GetFoundationModelAvailabilityCommandInput,
634
+ options?: __HttpHandlerOptions
635
+ ): Promise<GetFoundationModelAvailabilityCommandOutput>;
636
+ getFoundationModelAvailability(
637
+ args: GetFoundationModelAvailabilityCommandInput,
638
+ cb: (err: any, data?: GetFoundationModelAvailabilityCommandOutput) => void
639
+ ): void;
640
+ getFoundationModelAvailability(
641
+ args: GetFoundationModelAvailabilityCommandInput,
642
+ options: __HttpHandlerOptions,
643
+ cb: (err: any, data?: GetFoundationModelAvailabilityCommandOutput) => void
644
+ ): void;
582
645
  getGuardrail(
583
646
  args: GetGuardrailCommandInput,
584
647
  options?: __HttpHandlerOptions
@@ -729,6 +792,20 @@ export interface Bedrock {
729
792
  options: __HttpHandlerOptions,
730
793
  cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
731
794
  ): void;
795
+ getUseCaseForModelAccess(): Promise<GetUseCaseForModelAccessCommandOutput>;
796
+ getUseCaseForModelAccess(
797
+ args: GetUseCaseForModelAccessCommandInput,
798
+ options?: __HttpHandlerOptions
799
+ ): Promise<GetUseCaseForModelAccessCommandOutput>;
800
+ getUseCaseForModelAccess(
801
+ args: GetUseCaseForModelAccessCommandInput,
802
+ cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void
803
+ ): void;
804
+ getUseCaseForModelAccess(
805
+ args: GetUseCaseForModelAccessCommandInput,
806
+ options: __HttpHandlerOptions,
807
+ cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void
808
+ ): void;
732
809
  listCustomModels(): Promise<ListCustomModelsCommandOutput>;
733
810
  listCustomModels(
734
811
  args: ListCustomModelsCommandInput,
@@ -757,6 +834,25 @@ export interface Bedrock {
757
834
  options: __HttpHandlerOptions,
758
835
  cb: (err: any, data?: ListEvaluationJobsCommandOutput) => void
759
836
  ): void;
837
+ listFoundationModelAgreementOffers(
838
+ args: ListFoundationModelAgreementOffersCommandInput,
839
+ options?: __HttpHandlerOptions
840
+ ): Promise<ListFoundationModelAgreementOffersCommandOutput>;
841
+ listFoundationModelAgreementOffers(
842
+ args: ListFoundationModelAgreementOffersCommandInput,
843
+ cb: (
844
+ err: any,
845
+ data?: ListFoundationModelAgreementOffersCommandOutput
846
+ ) => void
847
+ ): void;
848
+ listFoundationModelAgreementOffers(
849
+ args: ListFoundationModelAgreementOffersCommandInput,
850
+ options: __HttpHandlerOptions,
851
+ cb: (
852
+ err: any,
853
+ data?: ListFoundationModelAgreementOffersCommandOutput
854
+ ) => void
855
+ ): void;
760
856
  listFoundationModels(): Promise<ListFoundationModelsCommandOutput>;
761
857
  listFoundationModels(
762
858
  args: ListFoundationModelsCommandInput,
@@ -943,6 +1039,19 @@ export interface Bedrock {
943
1039
  data?: PutModelInvocationLoggingConfigurationCommandOutput
944
1040
  ) => void
945
1041
  ): void;
1042
+ putUseCaseForModelAccess(
1043
+ args: PutUseCaseForModelAccessCommandInput,
1044
+ options?: __HttpHandlerOptions
1045
+ ): Promise<PutUseCaseForModelAccessCommandOutput>;
1046
+ putUseCaseForModelAccess(
1047
+ args: PutUseCaseForModelAccessCommandInput,
1048
+ cb: (err: any, data?: PutUseCaseForModelAccessCommandOutput) => void
1049
+ ): void;
1050
+ putUseCaseForModelAccess(
1051
+ args: PutUseCaseForModelAccessCommandInput,
1052
+ options: __HttpHandlerOptions,
1053
+ cb: (err: any, data?: PutUseCaseForModelAccessCommandOutput) => void
1054
+ ): void;
946
1055
  registerMarketplaceModelEndpoint(
947
1056
  args: RegisterMarketplaceModelEndpointCommandInput,
948
1057
  options?: __HttpHandlerOptions
@@ -57,6 +57,10 @@ import {
57
57
  CreateEvaluationJobCommandInput,
58
58
  CreateEvaluationJobCommandOutput,
59
59
  } from "./commands/CreateEvaluationJobCommand";
60
+ import {
61
+ CreateFoundationModelAgreementCommandInput,
62
+ CreateFoundationModelAgreementCommandOutput,
63
+ } from "./commands/CreateFoundationModelAgreementCommand";
60
64
  import {
61
65
  CreateGuardrailCommandInput,
62
66
  CreateGuardrailCommandOutput,
@@ -101,6 +105,10 @@ import {
101
105
  DeleteCustomModelCommandInput,
102
106
  DeleteCustomModelCommandOutput,
103
107
  } from "./commands/DeleteCustomModelCommand";
108
+ import {
109
+ DeleteFoundationModelAgreementCommandInput,
110
+ DeleteFoundationModelAgreementCommandOutput,
111
+ } from "./commands/DeleteFoundationModelAgreementCommand";
104
112
  import {
105
113
  DeleteGuardrailCommandInput,
106
114
  DeleteGuardrailCommandOutput,
@@ -141,6 +149,10 @@ import {
141
149
  GetEvaluationJobCommandInput,
142
150
  GetEvaluationJobCommandOutput,
143
151
  } from "./commands/GetEvaluationJobCommand";
152
+ import {
153
+ GetFoundationModelAvailabilityCommandInput,
154
+ GetFoundationModelAvailabilityCommandOutput,
155
+ } from "./commands/GetFoundationModelAvailabilityCommand";
144
156
  import {
145
157
  GetFoundationModelCommandInput,
146
158
  GetFoundationModelCommandOutput,
@@ -189,6 +201,10 @@ import {
189
201
  GetProvisionedModelThroughputCommandInput,
190
202
  GetProvisionedModelThroughputCommandOutput,
191
203
  } from "./commands/GetProvisionedModelThroughputCommand";
204
+ import {
205
+ GetUseCaseForModelAccessCommandInput,
206
+ GetUseCaseForModelAccessCommandOutput,
207
+ } from "./commands/GetUseCaseForModelAccessCommand";
192
208
  import {
193
209
  ListCustomModelsCommandInput,
194
210
  ListCustomModelsCommandOutput,
@@ -197,6 +213,10 @@ import {
197
213
  ListEvaluationJobsCommandInput,
198
214
  ListEvaluationJobsCommandOutput,
199
215
  } from "./commands/ListEvaluationJobsCommand";
216
+ import {
217
+ ListFoundationModelAgreementOffersCommandInput,
218
+ ListFoundationModelAgreementOffersCommandOutput,
219
+ } from "./commands/ListFoundationModelAgreementOffersCommand";
200
220
  import {
201
221
  ListFoundationModelsCommandInput,
202
222
  ListFoundationModelsCommandOutput,
@@ -249,6 +269,10 @@ import {
249
269
  PutModelInvocationLoggingConfigurationCommandInput,
250
270
  PutModelInvocationLoggingConfigurationCommandOutput,
251
271
  } from "./commands/PutModelInvocationLoggingConfigurationCommand";
272
+ import {
273
+ PutUseCaseForModelAccessCommandInput,
274
+ PutUseCaseForModelAccessCommandOutput,
275
+ } from "./commands/PutUseCaseForModelAccessCommand";
252
276
  import {
253
277
  RegisterMarketplaceModelEndpointCommandInput,
254
278
  RegisterMarketplaceModelEndpointCommandOutput,
@@ -296,6 +320,7 @@ export type ServiceInputTypes =
296
320
  | BatchDeleteEvaluationJobCommandInput
297
321
  | CreateCustomModelCommandInput
298
322
  | CreateEvaluationJobCommandInput
323
+ | CreateFoundationModelAgreementCommandInput
299
324
  | CreateGuardrailCommandInput
300
325
  | CreateGuardrailVersionCommandInput
301
326
  | CreateInferenceProfileCommandInput
@@ -307,6 +332,7 @@ export type ServiceInputTypes =
307
332
  | CreatePromptRouterCommandInput
308
333
  | CreateProvisionedModelThroughputCommandInput
309
334
  | DeleteCustomModelCommandInput
335
+ | DeleteFoundationModelAgreementCommandInput
310
336
  | DeleteGuardrailCommandInput
311
337
  | DeleteImportedModelCommandInput
312
338
  | DeleteInferenceProfileCommandInput
@@ -317,6 +343,7 @@ export type ServiceInputTypes =
317
343
  | DeregisterMarketplaceModelEndpointCommandInput
318
344
  | GetCustomModelCommandInput
319
345
  | GetEvaluationJobCommandInput
346
+ | GetFoundationModelAvailabilityCommandInput
320
347
  | GetFoundationModelCommandInput
321
348
  | GetGuardrailCommandInput
322
349
  | GetImportedModelCommandInput
@@ -329,8 +356,10 @@ export type ServiceInputTypes =
329
356
  | GetModelInvocationLoggingConfigurationCommandInput
330
357
  | GetPromptRouterCommandInput
331
358
  | GetProvisionedModelThroughputCommandInput
359
+ | GetUseCaseForModelAccessCommandInput
332
360
  | ListCustomModelsCommandInput
333
361
  | ListEvaluationJobsCommandInput
362
+ | ListFoundationModelAgreementOffersCommandInput
334
363
  | ListFoundationModelsCommandInput
335
364
  | ListGuardrailsCommandInput
336
365
  | ListImportedModelsCommandInput
@@ -344,6 +373,7 @@ export type ServiceInputTypes =
344
373
  | ListProvisionedModelThroughputsCommandInput
345
374
  | ListTagsForResourceCommandInput
346
375
  | PutModelInvocationLoggingConfigurationCommandInput
376
+ | PutUseCaseForModelAccessCommandInput
347
377
  | RegisterMarketplaceModelEndpointCommandInput
348
378
  | StopEvaluationJobCommandInput
349
379
  | StopModelCustomizationJobCommandInput
@@ -357,6 +387,7 @@ export type ServiceOutputTypes =
357
387
  | BatchDeleteEvaluationJobCommandOutput
358
388
  | CreateCustomModelCommandOutput
359
389
  | CreateEvaluationJobCommandOutput
390
+ | CreateFoundationModelAgreementCommandOutput
360
391
  | CreateGuardrailCommandOutput
361
392
  | CreateGuardrailVersionCommandOutput
362
393
  | CreateInferenceProfileCommandOutput
@@ -368,6 +399,7 @@ export type ServiceOutputTypes =
368
399
  | CreatePromptRouterCommandOutput
369
400
  | CreateProvisionedModelThroughputCommandOutput
370
401
  | DeleteCustomModelCommandOutput
402
+ | DeleteFoundationModelAgreementCommandOutput
371
403
  | DeleteGuardrailCommandOutput
372
404
  | DeleteImportedModelCommandOutput
373
405
  | DeleteInferenceProfileCommandOutput
@@ -378,6 +410,7 @@ export type ServiceOutputTypes =
378
410
  | DeregisterMarketplaceModelEndpointCommandOutput
379
411
  | GetCustomModelCommandOutput
380
412
  | GetEvaluationJobCommandOutput
413
+ | GetFoundationModelAvailabilityCommandOutput
381
414
  | GetFoundationModelCommandOutput
382
415
  | GetGuardrailCommandOutput
383
416
  | GetImportedModelCommandOutput
@@ -390,8 +423,10 @@ export type ServiceOutputTypes =
390
423
  | GetModelInvocationLoggingConfigurationCommandOutput
391
424
  | GetPromptRouterCommandOutput
392
425
  | GetProvisionedModelThroughputCommandOutput
426
+ | GetUseCaseForModelAccessCommandOutput
393
427
  | ListCustomModelsCommandOutput
394
428
  | ListEvaluationJobsCommandOutput
429
+ | ListFoundationModelAgreementOffersCommandOutput
395
430
  | ListFoundationModelsCommandOutput
396
431
  | ListGuardrailsCommandOutput
397
432
  | ListImportedModelsCommandOutput
@@ -405,6 +440,7 @@ export type ServiceOutputTypes =
405
440
  | ListProvisionedModelThroughputsCommandOutput
406
441
  | ListTagsForResourceCommandOutput
407
442
  | PutModelInvocationLoggingConfigurationCommandOutput
443
+ | PutUseCaseForModelAccessCommandOutput
408
444
  | RegisterMarketplaceModelEndpointCommandOutput
409
445
  | StopEvaluationJobCommandOutput
410
446
  | StopModelCustomizationJobCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ CreateFoundationModelAgreementRequest,
10
+ CreateFoundationModelAgreementResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateFoundationModelAgreementCommandInput
15
+ extends CreateFoundationModelAgreementRequest {}
16
+ export interface CreateFoundationModelAgreementCommandOutput
17
+ extends CreateFoundationModelAgreementResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateFoundationModelAgreementCommand_base: {
20
+ new (
21
+ input: CreateFoundationModelAgreementCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateFoundationModelAgreementCommandInput,
24
+ CreateFoundationModelAgreementCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateFoundationModelAgreementCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateFoundationModelAgreementCommandInput,
33
+ CreateFoundationModelAgreementCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateFoundationModelAgreementCommand extends CreateFoundationModelAgreementCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateFoundationModelAgreementRequest;
44
+ output: CreateFoundationModelAgreementResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateFoundationModelAgreementCommandInput;
48
+ output: CreateFoundationModelAgreementCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateModelCustomizationJobRequest,
10
10
  CreateModelCustomizationJobResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateModelCustomizationJobCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ DeleteFoundationModelAgreementRequest,
10
+ DeleteFoundationModelAgreementResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteFoundationModelAgreementCommandInput
15
+ extends DeleteFoundationModelAgreementRequest {}
16
+ export interface DeleteFoundationModelAgreementCommandOutput
17
+ extends DeleteFoundationModelAgreementResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteFoundationModelAgreementCommand_base: {
20
+ new (
21
+ input: DeleteFoundationModelAgreementCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteFoundationModelAgreementCommandInput,
24
+ DeleteFoundationModelAgreementCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteFoundationModelAgreementCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteFoundationModelAgreementCommandInput,
33
+ DeleteFoundationModelAgreementCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteFoundationModelAgreementCommand extends DeleteFoundationModelAgreementCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteFoundationModelAgreementRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteFoundationModelAgreementCommandInput;
48
+ output: DeleteFoundationModelAgreementCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ GetFoundationModelAvailabilityRequest,
10
+ GetFoundationModelAvailabilityResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetFoundationModelAvailabilityCommandInput
15
+ extends GetFoundationModelAvailabilityRequest {}
16
+ export interface GetFoundationModelAvailabilityCommandOutput
17
+ extends GetFoundationModelAvailabilityResponse,
18
+ __MetadataBearer {}
19
+ declare const GetFoundationModelAvailabilityCommand_base: {
20
+ new (
21
+ input: GetFoundationModelAvailabilityCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetFoundationModelAvailabilityCommandInput,
24
+ GetFoundationModelAvailabilityCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetFoundationModelAvailabilityCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetFoundationModelAvailabilityCommandInput,
33
+ GetFoundationModelAvailabilityCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetFoundationModelAvailabilityCommand extends GetFoundationModelAvailabilityCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetFoundationModelAvailabilityRequest;
44
+ output: GetFoundationModelAvailabilityResponse;
45
+ };
46
+ sdk: {
47
+ input: GetFoundationModelAvailabilityCommandInput;
48
+ output: GetFoundationModelAvailabilityCommandOutput;
49
+ };
50
+ };
51
+ }