@aws-sdk/client-bedrock 3.928.0 → 3.930.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 (121) hide show
  1. package/dist-cjs/index.js +6331 -6436
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockClient.js +2 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +3 -10
  5. package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
  6. package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +3 -10
  7. package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  8. package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +3 -10
  9. package/dist-es/commands/CreateCustomModelCommand.js +3 -9
  10. package/dist-es/commands/CreateCustomModelDeploymentCommand.js +3 -9
  11. package/dist-es/commands/CreateEvaluationJobCommand.js +3 -10
  12. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +3 -9
  13. package/dist-es/commands/CreateGuardrailCommand.js +3 -10
  14. package/dist-es/commands/CreateGuardrailVersionCommand.js +3 -10
  15. package/dist-es/commands/CreateInferenceProfileCommand.js +3 -10
  16. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +3 -9
  17. package/dist-es/commands/CreateModelCopyJobCommand.js +3 -9
  18. package/dist-es/commands/CreateModelCustomizationJobCommand.js +3 -10
  19. package/dist-es/commands/CreateModelImportJobCommand.js +3 -9
  20. package/dist-es/commands/CreateModelInvocationJobCommand.js +3 -9
  21. package/dist-es/commands/CreatePromptRouterCommand.js +3 -10
  22. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +3 -9
  23. package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
  24. package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +3 -9
  25. package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +3 -9
  26. package/dist-es/commands/DeleteCustomModelCommand.js +3 -9
  27. package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +3 -9
  28. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +3 -9
  29. package/dist-es/commands/DeleteGuardrailCommand.js +3 -9
  30. package/dist-es/commands/DeleteImportedModelCommand.js +3 -9
  31. package/dist-es/commands/DeleteInferenceProfileCommand.js +3 -9
  32. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +3 -9
  33. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +3 -9
  34. package/dist-es/commands/DeletePromptRouterCommand.js +3 -9
  35. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +3 -9
  36. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +3 -9
  37. package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +3 -10
  38. package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
  39. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
  40. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +3 -10
  41. package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +3 -10
  42. package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +3 -10
  43. package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  44. package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +3 -10
  45. package/dist-es/commands/GetCustomModelCommand.js +3 -10
  46. package/dist-es/commands/GetCustomModelDeploymentCommand.js +3 -9
  47. package/dist-es/commands/GetEvaluationJobCommand.js +3 -11
  48. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +3 -9
  49. package/dist-es/commands/GetFoundationModelCommand.js +3 -9
  50. package/dist-es/commands/GetGuardrailCommand.js +3 -10
  51. package/dist-es/commands/GetImportedModelCommand.js +3 -9
  52. package/dist-es/commands/GetInferenceProfileCommand.js +3 -10
  53. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +3 -9
  54. package/dist-es/commands/GetModelCopyJobCommand.js +3 -9
  55. package/dist-es/commands/GetModelCustomizationJobCommand.js +3 -10
  56. package/dist-es/commands/GetModelImportJobCommand.js +3 -9
  57. package/dist-es/commands/GetModelInvocationJobCommand.js +3 -10
  58. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +3 -9
  59. package/dist-es/commands/GetPromptRouterCommand.js +3 -10
  60. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +3 -9
  61. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +3 -9
  62. package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +3 -10
  63. package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +3 -9
  64. package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +3 -10
  65. package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +3 -10
  66. package/dist-es/commands/ListCustomModelDeploymentsCommand.js +3 -9
  67. package/dist-es/commands/ListCustomModelsCommand.js +3 -9
  68. package/dist-es/commands/ListEvaluationJobsCommand.js +3 -9
  69. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +3 -9
  70. package/dist-es/commands/ListFoundationModelsCommand.js +3 -9
  71. package/dist-es/commands/ListGuardrailsCommand.js +3 -10
  72. package/dist-es/commands/ListImportedModelsCommand.js +3 -9
  73. package/dist-es/commands/ListInferenceProfilesCommand.js +3 -10
  74. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +3 -9
  75. package/dist-es/commands/ListModelCopyJobsCommand.js +3 -9
  76. package/dist-es/commands/ListModelCustomizationJobsCommand.js +3 -9
  77. package/dist-es/commands/ListModelImportJobsCommand.js +3 -9
  78. package/dist-es/commands/ListModelInvocationJobsCommand.js +3 -10
  79. package/dist-es/commands/ListPromptRoutersCommand.js +3 -10
  80. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +3 -9
  81. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  82. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +3 -9
  83. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +3 -9
  84. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +3 -9
  85. package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
  86. package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +3 -9
  87. package/dist-es/commands/StopEvaluationJobCommand.js +3 -10
  88. package/dist-es/commands/StopModelCustomizationJobCommand.js +3 -9
  89. package/dist-es/commands/StopModelInvocationJobCommand.js +3 -9
  90. package/dist-es/commands/TagResourceCommand.js +3 -9
  91. package/dist-es/commands/UntagResourceCommand.js +3 -9
  92. package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
  93. package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +3 -10
  94. package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  95. package/dist-es/commands/UpdateGuardrailCommand.js +3 -10
  96. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +3 -9
  97. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +3 -9
  98. package/dist-es/models/models_0.js +0 -1027
  99. package/dist-es/models/models_1.js +0 -400
  100. package/dist-es/runtimeConfig.shared.js +2 -0
  101. package/dist-es/schemas/schemas_0.js +6150 -0
  102. package/dist-types/BedrockClient.d.ts +10 -1
  103. package/dist-types/models/models_0.d.ts +84 -509
  104. package/dist-types/models/models_1.d.ts +28 -183
  105. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  106. package/dist-types/runtimeConfig.d.ts +1 -0
  107. package/dist-types/runtimeConfig.native.d.ts +1 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  109. package/dist-types/schemas/schemas_0.d.ts +668 -0
  110. package/dist-types/ts3.4/BedrockClient.d.ts +4 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +0 -420
  112. package/dist-types/ts3.4/models/models_1.d.ts +0 -146
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  116. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  117. package/dist-types/ts3.4/schemas/schemas_0.d.ts +675 -0
  118. package/package.json +34 -35
  119. package/dist-es/protocols/Aws_restJson1.js +0 -4177
  120. package/dist-types/protocols/Aws_restJson1.d.ts +0 -848
  121. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1133
@@ -304,10 +304,6 @@ export declare namespace InferenceProfileModelSource {
304
304
  copyFrom: (value: string) => T;
305
305
  _: (name: string, value: any) => T;
306
306
  }
307
- const visit: <T>(
308
- value: InferenceProfileModelSource,
309
- visitor: Visitor<T>
310
- ) => T;
311
307
  }
312
308
  export interface CreateInferenceProfileRequest {
313
309
  inferenceProfileName: string | undefined;
@@ -592,10 +588,6 @@ export declare namespace ModelInvocationJobInputDataConfig {
592
588
  s3InputDataConfig: (value: ModelInvocationJobS3InputDataConfig) => T;
593
589
  _: (name: string, value: any) => T;
594
590
  }
595
- const visit: <T>(
596
- value: ModelInvocationJobInputDataConfig,
597
- visitor: Visitor<T>
598
- ) => T;
599
591
  }
600
592
  export interface ModelInvocationJobS3OutputDataConfig {
601
593
  s3Uri: string | undefined;
@@ -618,10 +610,6 @@ export declare namespace ModelInvocationJobOutputDataConfig {
618
610
  s3OutputDataConfig: (value: ModelInvocationJobS3OutputDataConfig) => T;
619
611
  _: (name: string, value: any) => T;
620
612
  }
621
- const visit: <T>(
622
- value: ModelInvocationJobOutputDataConfig,
623
- visitor: Visitor<T>
624
- ) => T;
625
613
  }
626
614
  export interface CreateModelInvocationJobRequest {
627
615
  jobName: string | undefined;
@@ -1408,7 +1396,6 @@ export declare namespace RetrievalFilter {
1408
1396
  orAll: (value: RetrievalFilter[]) => T;
1409
1397
  _: (name: string, value: any) => T;
1410
1398
  }
1411
- const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
1412
1399
  }
1413
1400
  export interface KnowledgeBaseVectorSearchConfiguration {
1414
1401
  numberOfResults?: number | undefined;
@@ -1467,7 +1454,6 @@ export declare namespace KnowledgeBaseConfig {
1467
1454
  retrieveAndGenerateConfig: (value: RetrieveAndGenerateConfiguration) => T;
1468
1455
  _: (name: string, value: any) => T;
1469
1456
  }
1470
- const visit: <T>(value: KnowledgeBaseConfig, visitor: Visitor<T>) => T;
1471
1457
  }
1472
1458
  export type RAGConfig =
1473
1459
  | RAGConfig.KnowledgeBaseConfigMember
@@ -1496,7 +1482,6 @@ export declare namespace RAGConfig {
1496
1482
  ) => T;
1497
1483
  _: (name: string, value: any) => T;
1498
1484
  }
1499
- const visit: <T>(value: RAGConfig, visitor: Visitor<T>) => T;
1500
1485
  }
1501
1486
  export type EvaluationInferenceConfig =
1502
1487
  | EvaluationInferenceConfig.ModelsMember
@@ -1523,7 +1508,6 @@ export declare namespace EvaluationInferenceConfig {
1523
1508
  ragConfigs: (value: RAGConfig[]) => T;
1524
1509
  _: (name: string, value: any) => T;
1525
1510
  }
1526
- const visit: <T>(value: EvaluationInferenceConfig, visitor: Visitor<T>) => T;
1527
1511
  }
1528
1512
  export interface CreateEvaluationJobRequest {
1529
1513
  jobName: string | undefined;
@@ -1553,133 +1537,3 @@ export interface GetEvaluationJobResponse {
1553
1537
  lastModifiedTime?: Date | undefined;
1554
1538
  failureMessages?: string[] | undefined;
1555
1539
  }
1556
- export declare const GuardrailManagedWordsConfigFilterSensitiveLog: (
1557
- obj: GuardrailManagedWordsConfig
1558
- ) => any;
1559
- export declare const GuardrailWordConfigFilterSensitiveLog: (
1560
- obj: GuardrailWordConfig
1561
- ) => any;
1562
- export declare const GuardrailWordPolicyConfigFilterSensitiveLog: (
1563
- obj: GuardrailWordPolicyConfig
1564
- ) => any;
1565
- export declare const CreateGuardrailRequestFilterSensitiveLog: (
1566
- obj: CreateGuardrailRequest
1567
- ) => any;
1568
- export declare const CreateGuardrailVersionRequestFilterSensitiveLog: (
1569
- obj: CreateGuardrailVersionRequest
1570
- ) => any;
1571
- export declare const GuardrailContentFilterFilterSensitiveLog: (
1572
- obj: GuardrailContentFilter
1573
- ) => any;
1574
- export declare const GuardrailContentFiltersTierFilterSensitiveLog: (
1575
- obj: GuardrailContentFiltersTier
1576
- ) => any;
1577
- export declare const GuardrailContentPolicyFilterSensitiveLog: (
1578
- obj: GuardrailContentPolicy
1579
- ) => any;
1580
- export declare const GuardrailContextualGroundingFilterFilterSensitiveLog: (
1581
- obj: GuardrailContextualGroundingFilter
1582
- ) => any;
1583
- export declare const GuardrailContextualGroundingPolicyFilterSensitiveLog: (
1584
- obj: GuardrailContextualGroundingPolicy
1585
- ) => any;
1586
- export declare const GuardrailTopicsTierFilterSensitiveLog: (
1587
- obj: GuardrailTopicsTier
1588
- ) => any;
1589
- export declare const GuardrailTopicFilterSensitiveLog: (
1590
- obj: GuardrailTopic
1591
- ) => any;
1592
- export declare const GuardrailTopicPolicyFilterSensitiveLog: (
1593
- obj: GuardrailTopicPolicy
1594
- ) => any;
1595
- export declare const GuardrailManagedWordsFilterSensitiveLog: (
1596
- obj: GuardrailManagedWords
1597
- ) => any;
1598
- export declare const GuardrailWordFilterSensitiveLog: (
1599
- obj: GuardrailWord
1600
- ) => any;
1601
- export declare const GuardrailWordPolicyFilterSensitiveLog: (
1602
- obj: GuardrailWordPolicy
1603
- ) => any;
1604
- export declare const GetGuardrailResponseFilterSensitiveLog: (
1605
- obj: GetGuardrailResponse
1606
- ) => any;
1607
- export declare const GuardrailSummaryFilterSensitiveLog: (
1608
- obj: GuardrailSummary
1609
- ) => any;
1610
- export declare const ListGuardrailsResponseFilterSensitiveLog: (
1611
- obj: ListGuardrailsResponse
1612
- ) => any;
1613
- export declare const UpdateGuardrailRequestFilterSensitiveLog: (
1614
- obj: UpdateGuardrailRequest
1615
- ) => any;
1616
- export declare const CreateInferenceProfileRequestFilterSensitiveLog: (
1617
- obj: CreateInferenceProfileRequest
1618
- ) => any;
1619
- export declare const GetInferenceProfileResponseFilterSensitiveLog: (
1620
- obj: GetInferenceProfileResponse
1621
- ) => any;
1622
- export declare const InferenceProfileSummaryFilterSensitiveLog: (
1623
- obj: InferenceProfileSummary
1624
- ) => any;
1625
- export declare const ListInferenceProfilesResponseFilterSensitiveLog: (
1626
- obj: ListInferenceProfilesResponse
1627
- ) => any;
1628
- export declare const GetModelInvocationJobResponseFilterSensitiveLog: (
1629
- obj: GetModelInvocationJobResponse
1630
- ) => any;
1631
- export declare const ModelInvocationJobSummaryFilterSensitiveLog: (
1632
- obj: ModelInvocationJobSummary
1633
- ) => any;
1634
- export declare const ListModelInvocationJobsResponseFilterSensitiveLog: (
1635
- obj: ListModelInvocationJobsResponse
1636
- ) => any;
1637
- export declare const CreatePromptRouterRequestFilterSensitiveLog: (
1638
- obj: CreatePromptRouterRequest
1639
- ) => any;
1640
- export declare const GetPromptRouterResponseFilterSensitiveLog: (
1641
- obj: GetPromptRouterResponse
1642
- ) => any;
1643
- export declare const PromptRouterSummaryFilterSensitiveLog: (
1644
- obj: PromptRouterSummary
1645
- ) => any;
1646
- export declare const ListPromptRoutersResponseFilterSensitiveLog: (
1647
- obj: ListPromptRoutersResponse
1648
- ) => any;
1649
- export declare const CreateModelCustomizationJobRequestFilterSensitiveLog: (
1650
- obj: CreateModelCustomizationJobRequest
1651
- ) => any;
1652
- export declare const GetModelCustomizationJobResponseFilterSensitiveLog: (
1653
- obj: GetModelCustomizationJobResponse
1654
- ) => any;
1655
- export declare const RetrievalFilterFilterSensitiveLog: (
1656
- obj: RetrievalFilter
1657
- ) => any;
1658
- export declare const KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: (
1659
- obj: KnowledgeBaseVectorSearchConfiguration
1660
- ) => any;
1661
- export declare const KnowledgeBaseRetrievalConfigurationFilterSensitiveLog: (
1662
- obj: KnowledgeBaseRetrievalConfiguration
1663
- ) => any;
1664
- export declare const KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog: (
1665
- obj: KnowledgeBaseRetrieveAndGenerateConfiguration
1666
- ) => any;
1667
- export declare const RetrieveConfigFilterSensitiveLog: (
1668
- obj: RetrieveConfig
1669
- ) => any;
1670
- export declare const RetrieveAndGenerateConfigurationFilterSensitiveLog: (
1671
- obj: RetrieveAndGenerateConfiguration
1672
- ) => any;
1673
- export declare const KnowledgeBaseConfigFilterSensitiveLog: (
1674
- obj: KnowledgeBaseConfig
1675
- ) => any;
1676
- export declare const RAGConfigFilterSensitiveLog: (obj: RAGConfig) => any;
1677
- export declare const EvaluationInferenceConfigFilterSensitiveLog: (
1678
- obj: EvaluationInferenceConfig
1679
- ) => any;
1680
- export declare const CreateEvaluationJobRequestFilterSensitiveLog: (
1681
- obj: CreateEvaluationJobRequest
1682
- ) => any;
1683
- export declare const GetEvaluationJobResponseFilterSensitiveLog: (
1684
- obj: GetEvaluationJobResponse
1685
- ) => any;
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -65,6 +65,10 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
65
65
  profile?: string;
66
66
  logger: import("@smithy/types").Logger;
67
67
  extensions: import("./runtimeExtensions").RuntimeExtension[];
68
+ protocol: import("@smithy/types").ClientProtocol<
69
+ import("@smithy/types").HttpRequest,
70
+ import("@smithy/types").HttpResponse
71
+ >;
68
72
  customUserAgent?: string | import("@smithy/types").UserAgent;
69
73
  retryStrategy?:
70
74
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
40
40
  }
41
41
  )[];
42
42
  logger: import("@smithy/types").Logger;
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
43
47
  serviceId: string;
44
48
  urlParser: import("@smithy/types").UrlParser;
45
49
  utf8Decoder: import("@smithy/types").Decoder;