@aws-sdk/client-bedrock 3.703.0 → 3.706.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 (71) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +717 -30
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -1
  6. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
  7. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
  8. package/dist-es/commands/GetCustomModelCommand.js +2 -1
  9. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
  10. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -1
  11. package/dist-es/commands/GetPromptRouterCommand.js +23 -0
  12. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
  13. package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
  14. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
  15. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
  16. package/dist-es/commands/index.js +9 -0
  17. package/dist-es/models/models_0.js +173 -20
  18. package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/protocols/Aws_restJson1.js +317 -1
  22. package/dist-types/Bedrock.d.ts +65 -0
  23. package/dist-types/BedrockClient.d.ts +11 -2
  24. package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
  25. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +43 -3
  27. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
  28. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
  29. package/dist-types/commands/GetCustomModelCommand.d.ts +42 -2
  30. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  31. package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
  32. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
  33. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +43 -3
  34. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  35. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  36. package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
  37. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -2
  39. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
  40. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
  43. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  44. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
  45. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
  47. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
  48. package/dist-types/commands/index.d.ts +9 -0
  49. package/dist-types/models/models_0.d.ts +1163 -139
  50. package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +2 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  54. package/dist-types/ts3.4/Bedrock.d.ts +161 -0
  55. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  56. package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +363 -44
  67. package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  71. package/package.json +1 -1
package/README.md CHANGED
@@ -242,6 +242,14 @@ CreateInferenceProfile
242
242
 
243
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateInferenceProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateInferenceProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateInferenceProfileCommandOutput/)
244
244
 
245
+ </details>
246
+ <details>
247
+ <summary>
248
+ CreateMarketplaceModelEndpoint
249
+ </summary>
250
+
251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateMarketplaceModelEndpointCommandOutput/)
252
+
245
253
  </details>
246
254
  <details>
247
255
  <summary>
@@ -314,6 +322,14 @@ DeleteInferenceProfile
314
322
 
315
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteInferenceProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteInferenceProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteInferenceProfileCommandOutput/)
316
324
 
325
+ </details>
326
+ <details>
327
+ <summary>
328
+ DeleteMarketplaceModelEndpoint
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteMarketplaceModelEndpointCommandOutput/)
332
+
317
333
  </details>
318
334
  <details>
319
335
  <summary>
@@ -330,6 +346,14 @@ DeleteProvisionedModelThroughput
330
346
 
331
347
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteProvisionedModelThroughputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteProvisionedModelThroughputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteProvisionedModelThroughputCommandOutput/)
332
348
 
349
+ </details>
350
+ <details>
351
+ <summary>
352
+ DeregisterMarketplaceModelEndpoint
353
+ </summary>
354
+
355
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeregisterMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeregisterMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeregisterMarketplaceModelEndpointCommandOutput/)
356
+
333
357
  </details>
334
358
  <details>
335
359
  <summary>
@@ -378,6 +402,14 @@ GetInferenceProfile
378
402
 
379
403
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetInferenceProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetInferenceProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetInferenceProfileCommandOutput/)
380
404
 
405
+ </details>
406
+ <details>
407
+ <summary>
408
+ GetMarketplaceModelEndpoint
409
+ </summary>
410
+
411
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetMarketplaceModelEndpointCommandOutput/)
412
+
381
413
  </details>
382
414
  <details>
383
415
  <summary>
@@ -418,6 +450,14 @@ GetModelInvocationLoggingConfiguration
418
450
 
419
451
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetModelInvocationLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelInvocationLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetModelInvocationLoggingConfigurationCommandOutput/)
420
452
 
453
+ </details>
454
+ <details>
455
+ <summary>
456
+ GetPromptRouter
457
+ </summary>
458
+
459
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetPromptRouterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetPromptRouterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetPromptRouterCommandOutput/)
460
+
421
461
  </details>
422
462
  <details>
423
463
  <summary>
@@ -474,6 +514,14 @@ ListInferenceProfiles
474
514
 
475
515
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListInferenceProfilesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListInferenceProfilesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListInferenceProfilesCommandOutput/)
476
516
 
517
+ </details>
518
+ <details>
519
+ <summary>
520
+ ListMarketplaceModelEndpoints
521
+ </summary>
522
+
523
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListMarketplaceModelEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListMarketplaceModelEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListMarketplaceModelEndpointsCommandOutput/)
524
+
477
525
  </details>
478
526
  <details>
479
527
  <summary>
@@ -506,6 +554,14 @@ ListModelInvocationJobs
506
554
 
507
555
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListModelInvocationJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelInvocationJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListModelInvocationJobsCommandOutput/)
508
556
 
557
+ </details>
558
+ <details>
559
+ <summary>
560
+ ListPromptRouters
561
+ </summary>
562
+
563
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListPromptRoutersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListPromptRoutersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListPromptRoutersCommandOutput/)
564
+
509
565
  </details>
510
566
  <details>
511
567
  <summary>
@@ -530,6 +586,14 @@ PutModelInvocationLoggingConfiguration
530
586
 
531
587
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/PutModelInvocationLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/PutModelInvocationLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/PutModelInvocationLoggingConfigurationCommandOutput/)
532
588
 
589
+ </details>
590
+ <details>
591
+ <summary>
592
+ RegisterMarketplaceModelEndpoint
593
+ </summary>
594
+
595
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/RegisterMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/RegisterMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/RegisterMarketplaceModelEndpointCommandOutput/)
596
+
533
597
  </details>
534
598
  <details>
535
599
  <summary>
@@ -578,6 +642,14 @@ UpdateGuardrail
578
642
 
579
643
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/UpdateGuardrailCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateGuardrailCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateGuardrailCommandOutput/)
580
644
 
645
+ </details>
646
+ <details>
647
+ <summary>
648
+ UpdateMarketplaceModelEndpoint
649
+ </summary>
650
+
651
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/UpdateMarketplaceModelEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateMarketplaceModelEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateMarketplaceModelEndpointCommandOutput/)
652
+
581
653
  </details>
582
654
  <details>
583
655
  <summary>