@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BedrockServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class BedrockServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class BedrockServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, BedrockServiceException.prototype);
|
|
@@ -5,34 +5,32 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
-
const
|
|
8
|
+
const client_1 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const serde_1 = require("@smithy/core/serde");
|
|
9
12
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
14
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
15
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
14
|
const getRuntimeConfig = (config) => {
|
|
17
|
-
const defaultsMode = (0,
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
15
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
19
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
18
|
return {
|
|
21
19
|
...clientSharedValues,
|
|
22
20
|
...config,
|
|
23
21
|
runtime: "browser",
|
|
24
22
|
defaultsMode,
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
23
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
26
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
25
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
|
-
maxAttempts: config?.maxAttempts ??
|
|
29
|
-
region: config?.region ?? (0,
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
30
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
31
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
32
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
33
31
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
34
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
35
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
34
|
};
|
|
37
35
|
};
|
|
38
36
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,21 +8,17 @@ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
9
|
const token_providers_1 = require("@aws-sdk/token-providers");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
12
11
|
const core_1 = require("@smithy/core");
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
12
|
+
const client_2 = require("@smithy/core/client");
|
|
13
|
+
const config_1 = require("@smithy/core/config");
|
|
14
|
+
const retry_1 = require("@smithy/core/retry");
|
|
15
|
+
const serde_1 = require("@smithy/core/serde");
|
|
16
16
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
21
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
22
18
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
(0,
|
|
24
|
-
const defaultsMode = (0,
|
|
25
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
20
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
26
22
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
27
23
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
28
24
|
const loaderConfig = {
|
|
@@ -35,8 +31,8 @@ const getRuntimeConfig = (config) => {
|
|
|
35
31
|
...config,
|
|
36
32
|
runtime: "node",
|
|
37
33
|
defaultsMode,
|
|
38
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
39
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
34
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
40
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
41
37
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
42
38
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
@@ -58,19 +54,19 @@ const getRuntimeConfig = (config) => {
|
|
|
58
54
|
signer: new core_1.HttpBearerAuthSigner(),
|
|
59
55
|
},
|
|
60
56
|
],
|
|
61
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
62
|
-
region: config?.region ?? (0,
|
|
57
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
58
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
63
59
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
64
60
|
retryMode: config?.retryMode ??
|
|
65
|
-
(0,
|
|
66
|
-
...
|
|
67
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
61
|
+
(0, config_1.loadConfig)({
|
|
62
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
63
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
68
64
|
}, config),
|
|
69
|
-
sha256: config?.sha256 ??
|
|
65
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
70
66
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
71
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
72
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
73
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
67
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
68
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
69
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
74
70
|
};
|
|
75
71
|
};
|
|
76
72
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,18 +4,17 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const core_1 = require("@smithy/core");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
7
|
+
const client_1 = require("@smithy/core/client");
|
|
8
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
9
|
+
const serde_1 = require("@smithy/core/serde");
|
|
11
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
12
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
14
13
|
const getRuntimeConfig = (config) => {
|
|
15
14
|
return {
|
|
16
15
|
apiVersion: "2023-04-20",
|
|
17
|
-
base64Decoder: config?.base64Decoder ??
|
|
18
|
-
base64Encoder: config?.base64Encoder ??
|
|
16
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
17
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
19
18
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
20
19
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
21
20
|
extensions: config?.extensions ?? [],
|
|
@@ -32,7 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
31
|
signer: new core_1.HttpBearerAuthSigner(),
|
|
33
32
|
},
|
|
34
33
|
],
|
|
35
|
-
logger: config?.logger ?? new
|
|
34
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
36
35
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
37
36
|
protocolSettings: config?.protocolSettings ?? {
|
|
38
37
|
defaultNamespace: "com.amazonaws.bedrock",
|
|
@@ -41,9 +40,9 @@ const getRuntimeConfig = (config) => {
|
|
|
41
40
|
serviceTarget: "AmazonBedrockControlPlaneService",
|
|
42
41
|
},
|
|
43
42
|
serviceId: config?.serviceId ?? "Bedrock",
|
|
44
|
-
urlParser: config?.urlParser ??
|
|
45
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
46
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
43
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
44
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
45
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
47
46
|
};
|
|
48
47
|
};
|
|
49
48
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/Bedrock.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
3
|
import { BatchDeleteEvaluationJobCommand, } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
4
4
|
import { CancelAutomatedReasoningPolicyBuildWorkflowCommand, } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
package/dist-es/BedrockClient.js
CHANGED
|
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
5
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
7
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
9
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
7
11
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultBedrockHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider } from "@smithy/core";
|
|
3
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
3
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
4
4
|
export const defaultBedrockHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
5
5
|
return {
|
|
6
6
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { BatchDeleteEvaluationJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CancelAutomatedReasoningPolicyBuildWorkflow$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateAutomatedReasoningPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateAutomatedReasoningPolicyTestCase$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateAutomatedReasoningPolicyVersion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateCustomModel$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateCustomModelDeployment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateEvaluationJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateFoundationModelAgreement$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateGuardrail$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateGuardrailVersion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateInferenceProfile$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateMarketplaceModelEndpoint$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateModelCopyJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateModelCustomizationJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateModelImportJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateModelInvocationJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreatePromptRouter$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateProvisionedModelThroughput$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteAutomatedReasoningPolicyBuildWorkflow$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteAutomatedReasoningPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteAutomatedReasoningPolicyTestCase$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteCustomModel$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteCustomModelDeployment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteEnforcedGuardrailConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteFoundationModelAgreement$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteGuardrail$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteImportedModel$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteInferenceProfile$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteMarketplaceModelEndpoint$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteModelInvocationLoggingConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeletePromptRouter$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteProvisionedModelThroughput$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeregisterMarketplaceModelEndpoint$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ExportAutomatedReasoningPolicyVersion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetAutomatedReasoningPolicyAnnotations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetAutomatedReasoningPolicyBuildWorkflow$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetAutomatedReasoningPolicyBuildWorkflowResultAssets$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetAutomatedReasoningPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|