@aws-sdk/client-bedrock 3.1045.0 → 3.1046.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.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +218 -219
- package/dist-cjs/models/BedrockServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/Bedrock.js +1 -1
- package/dist-es/BedrockClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +2 -2
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +2 -2
- package/dist-es/commands/CreateCustomModelCommand.js +2 -2
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/CreateEvaluationJobCommand.js +2 -2
- package/dist-es/commands/CreateFoundationModelAgreementCommand.js +2 -2
- package/dist-es/commands/CreateGuardrailCommand.js +2 -2
- package/dist-es/commands/CreateGuardrailVersionCommand.js +2 -2
- package/dist-es/commands/CreateInferenceProfileCommand.js +2 -2
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/CreateModelCopyJobCommand.js +2 -2
- package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/CreateModelImportJobCommand.js +2 -2
- package/dist-es/commands/CreateModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/CreatePromptRouterCommand.js +2 -2
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/DeleteCustomModelCommand.js +2 -2
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +2 -2
- package/dist-es/commands/DeleteGuardrailCommand.js +2 -2
- package/dist-es/commands/DeleteImportedModelCommand.js +2 -2
- package/dist-es/commands/DeleteInferenceProfileCommand.js +2 -2
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeletePromptRouterCommand.js +2 -2
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +2 -2
- package/dist-es/commands/GetCustomModelCommand.js +2 -2
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/GetEvaluationJobCommand.js +2 -2
- package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +2 -2
- package/dist-es/commands/GetFoundationModelCommand.js +2 -2
- package/dist-es/commands/GetGuardrailCommand.js +2 -2
- package/dist-es/commands/GetImportedModelCommand.js +2 -2
- package/dist-es/commands/GetInferenceProfileCommand.js +2 -2
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/GetModelCopyJobCommand.js +2 -2
- package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/GetModelImportJobCommand.js +2 -2
- package/dist-es/commands/GetModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/GetPromptRouterCommand.js +2 -2
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetUseCaseForModelAccessCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +2 -2
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +2 -2
- package/dist-es/commands/ListCustomModelsCommand.js +2 -2
- package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +2 -2
- package/dist-es/commands/ListEvaluationJobsCommand.js +2 -2
- package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +2 -2
- package/dist-es/commands/ListFoundationModelsCommand.js +2 -2
- package/dist-es/commands/ListGuardrailsCommand.js +2 -2
- package/dist-es/commands/ListImportedModelsCommand.js +2 -2
- package/dist-es/commands/ListInferenceProfilesCommand.js +2 -2
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +2 -2
- package/dist-es/commands/ListModelCopyJobsCommand.js +2 -2
- package/dist-es/commands/ListModelCustomizationJobsCommand.js +2 -2
- package/dist-es/commands/ListModelImportJobsCommand.js +2 -2
- package/dist-es/commands/ListModelInvocationJobsCommand.js +2 -2
- package/dist-es/commands/ListPromptRoutersCommand.js +2 -2
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +2 -2
- package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutUseCaseForModelAccessCommand.js +2 -2
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +2 -2
- package/dist-es/commands/StopEvaluationJobCommand.js +2 -2
- package/dist-es/commands/StopModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/StopModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/UpdateGuardrailCommand.js +2 -2
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/BedrockServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/BedrockClient.d.ts +5 -5
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +6 -4
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
- package/dist-types/commands/CreateCustomModelCommand.d.ts +6 -4
- package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +6 -4
- package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +6 -4
- package/dist-types/commands/CreateGuardrailCommand.d.ts +6 -4
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +6 -4
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +6 -4
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +6 -4
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +6 -4
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +6 -4
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +6 -4
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +6 -4
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +6 -4
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +6 -4
- package/dist-types/commands/GetCustomModelCommand.d.ts +6 -4
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +6 -4
- package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +6 -4
- package/dist-types/commands/GetFoundationModelCommand.d.ts +6 -4
- package/dist-types/commands/GetGuardrailCommand.d.ts +6 -4
- package/dist-types/commands/GetImportedModelCommand.d.ts +6 -4
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +6 -4
- package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +6 -4
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/commands/GetModelImportJobCommand.d.ts +6 -4
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetPromptRouterCommand.d.ts +6 -4
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +6 -4
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +6 -4
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +6 -4
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +6 -4
- package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +6 -4
- package/dist-types/commands/ListCustomModelsCommand.d.ts +6 -4
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +6 -4
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +6 -4
- package/dist-types/commands/ListGuardrailsCommand.d.ts +6 -4
- package/dist-types/commands/ListImportedModelsCommand.d.ts +6 -4
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +6 -4
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +6 -4
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +6 -4
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +6 -4
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -4
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/BedrockServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/BedrockClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCustomModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +14 -35
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockHttpAuthSchemeProvider = exports.defaultBedrockHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const core_1 = require("@smithy/core");
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
7
|
const defaultBedrockHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
8
8
|
return {
|
|
9
|
-
operation: (0,
|
|
10
|
-
region: await (0,
|
|
9
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
10
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
11
11
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
12
12
|
})(),
|
|
13
13
|
};
|
|
@@ -56,7 +56,7 @@ const resolveHttpAuthSchemeConfig = (config) => {
|
|
|
56
56
|
const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
|
|
57
57
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
58
58
|
return Object.assign(config_0, {
|
|
59
|
-
authSchemePreference: (0,
|
|
59
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
60
60
|
token,
|
|
61
61
|
});
|
|
62
62
|
};
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|