@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,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BedrockServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
5
8
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
11
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
10
|
export const getRuntimeConfig = (config) => {
|
|
13
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,16 +4,12 @@ import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk
|
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { fromEnvSigningName, nodeProvider } from "@aws-sdk/token-providers";
|
|
6
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
7
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
8
7
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
9
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
10
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
11
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
12
12
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
13
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
17
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
18
14
|
export const getRuntimeConfig = (config) => {
|
|
19
15
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
4
|
-
import { NoOpLogger } from "@smithy/
|
|
5
|
-
import { parseUrl } from "@smithy/
|
|
6
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
7
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
4
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
5
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
6
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
8
7
|
import { defaultBedrockHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
9
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { BatchDeleteEvaluationJobRequest, BatchDeleteEvaluationJobResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface BatchDeleteEvaluationJobCommandInput extends BatchDeleteEvaluat
|
|
|
22
22
|
export interface BatchDeleteEvaluationJobCommandOutput extends BatchDeleteEvaluationJobResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const BatchDeleteEvaluationJobCommand_base: {
|
|
25
|
-
new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/
|
|
26
|
-
new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status <code>FAILED</code>, <code>COMPLETED</code>, and <code>STOPPED</code>. You can request up to 25 model evaluation jobs be deleted in a single request.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CancelAutomatedReasoningPolicyBuildWorkflowRequest, CancelAutomatedReasoningPolicyBuildWorkflowResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CancelAutomatedReasoningPolicyBuildWorkflowCommandInput extends
|
|
|
22
22
|
export interface CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput extends CancelAutomatedReasoningPolicyBuildWorkflowResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CancelAutomatedReasoningPolicyBuildWorkflowCommand_base: {
|
|
25
|
-
new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/
|
|
26
|
-
new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateAutomatedReasoningPolicyRequest, CreateAutomatedReasoningPolicyResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyCommandInput extends CreateAutoma
|
|
|
22
22
|
export interface CreateAutomatedReasoningPolicyCommandOutput extends CreateAutomatedReasoningPolicyResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAutomatedReasoningPolicyCommand_base: {
|
|
25
|
-
new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. Automated Reasoning policies use mathematical techniques to detect hallucinations, suggest corrections, and highlight unstated assumptions in the responses of your GenAI application.</p> <p>To create a policy, you upload a source document that describes the rules that you're encoding. Automated Reasoning extracts important concepts from the source document that will become variables in the policy and infers policy rules.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateAutomatedReasoningPolicyTestCaseRequest, CreateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyTestCaseCommandInput extends Crea
|
|
|
22
22
|
export interface CreateAutomatedReasoningPolicyTestCaseCommandOutput extends CreateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
25
|
-
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a test for an Automated Reasoning policy. Tests validate that your policy works as expected by providing sample inputs and expected outcomes. Use tests to verify policy behavior before deploying to production.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateAutomatedReasoningPolicyVersionRequest, CreateAutomatedReasoningPolicyVersionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyVersionCommandInput extends Creat
|
|
|
22
22
|
export interface CreateAutomatedReasoningPolicyVersionCommandOutput extends CreateAutomatedReasoningPolicyVersionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAutomatedReasoningPolicyVersionCommand_base: {
|
|
25
|
-
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new version of an existing Automated Reasoning policy. This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateCustomModelRequest, CreateCustomModelResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateCustomModelCommandInput extends CreateCustomModelRequest
|
|
|
22
22
|
export interface CreateCustomModelCommandOutput extends CreateCustomModelResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateCustomModelCommand_base: {
|
|
25
|
-
new (input: CreateCustomModelCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateCustomModelCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateCustomModelCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCustomModelCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new custom model in Amazon Bedrock. After the model is active, you can use it for inference.</p> <p>To use the model for inference, you must purchase Provisioned Throughput for it. You can't use On-demand inference with these custom models. For more information about Provisioned Throughput, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a>.</p> <p>The model appears in <code>ListCustomModels</code> with a <code>customizationType</code> of <code>imported</code>. To track the status of the new model, you use the <code>GetCustomModel</code> API operation. The model can be in the following states:</p> <ul> <li> <p> <code>Creating</code> - Initial state during validation and registration</p> </li> <li> <p> <code>Active</code> - Model is ready for use in inference</p> </li> <li> <p> <code>Failed</code> - Creation process encountered an error</p> </li> </ul> <p> <b>Related APIs</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModel.html">GetCustomModel</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModels.html">ListCustomModels</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModel.html">DeleteCustomModel</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateCustomModelDeploymentRequest, CreateCustomModelDeploymentResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateCustomModelDeploymentCommandInput extends CreateCustomMod
|
|
|
22
22
|
export interface CreateCustomModelDeploymentCommandOutput extends CreateCustomModelDeploymentResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateCustomModelDeploymentCommand_base: {
|
|
25
|
-
new (input: CreateCustomModelDeploymentCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateCustomModelDeploymentCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateCustomModelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCustomModelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deploys a custom model for on-demand inference in Amazon Bedrock. After you deploy your custom model, you use the deployment's Amazon Resource Name (ARN) as the <code>modelId</code> parameter when you submit prompts and generate responses with model inference.</p> <p> For more information about setting up on-demand inference for custom models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html">Set up inference for a custom model</a>. </p> <p>The following actions are related to the <code>CreateCustomModelDeployment</code> operation:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html">GetCustomModelDeployment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModelDeployments.html">ListCustomModelDeployments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModelDeployment.html">DeleteCustomModelDeployment</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateEvaluationJobResponse } from "../models/models_0";
|
|
@@ -23,9 +23,11 @@ export interface CreateEvaluationJobCommandInput extends CreateEvaluationJobRequ
|
|
|
23
23
|
export interface CreateEvaluationJobCommandOutput extends CreateEvaluationJobResponse, __MetadataBearer {
|
|
24
24
|
}
|
|
25
25
|
declare const CreateEvaluationJobCommand_base: {
|
|
26
|
-
new (input: CreateEvaluationJobCommandInput): import("@smithy/
|
|
27
|
-
new (input: CreateEvaluationJobCommandInput): import("@smithy/
|
|
28
|
-
getEndpointParameterInstructions():
|
|
26
|
+
new (input: CreateEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (input: CreateEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* <p>Creates an evaluation job.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateFoundationModelAgreementRequest, CreateFoundationModelAgreementResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateFoundationModelAgreementCommandInput extends CreateFounda
|
|
|
22
22
|
export interface CreateFoundationModelAgreementCommandOutput extends CreateFoundationModelAgreementResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateFoundationModelAgreementCommand_base: {
|
|
25
|
-
new (input: CreateFoundationModelAgreementCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateFoundationModelAgreementCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateFoundationModelAgreementCommandInput): import("@smithy/core/client").CommandImpl<CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateFoundationModelAgreementCommandInput): import("@smithy/core/client").CommandImpl<CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Request a model access agreement for the specified model.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateGuardrailRequest, CreateGuardrailResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateGuardrailCommandInput extends CreateGuardrailRequest {
|
|
|
22
22
|
export interface CreateGuardrailCommandOutput extends CreateGuardrailResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateGuardrailCommand_base: {
|
|
25
|
-
new (input: CreateGuardrailCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateGuardrailCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailCommandInput, CreateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailCommandInput, CreateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a guardrail to block topics and to implement safeguards for your generative AI applications.</p> <p>You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.</p> <ul> <li> <p> <b>Content filters</b> - Adjust filter strengths to block input prompts or model responses containing harmful content.</p> </li> <li> <p> <b>Denied topics</b> - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.</p> </li> <li> <p> <b>Word filters</b> - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.</p> </li> <li> <p> <b>Sensitive information filters</b> - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.</p> </li> </ul> <p>In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a> in the <i>Amazon Bedrock User Guide</i>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateGuardrailVersionRequest, CreateGuardrailVersionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateGuardrailVersionCommandInput extends CreateGuardrailVersi
|
|
|
22
22
|
export interface CreateGuardrailVersionCommandOutput extends CreateGuardrailVersionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateGuardrailVersionCommand_base: {
|
|
25
|
-
new (input: CreateGuardrailVersionCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateGuardrailVersionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateGuardrailVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGuardrailVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateInferenceProfileRequest, CreateInferenceProfileResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateInferenceProfileCommandInput extends CreateInferenceProfi
|
|
|
22
22
|
export interface CreateInferenceProfileCommandOutput extends CreateInferenceProfileResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateInferenceProfileCommand_base: {
|
|
25
|
-
new (input: CreateInferenceProfileCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateInferenceProfileCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateInferenceProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateInferenceProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates an application inference profile to track metrics and costs when invoking a model. To create an application inference profile for a foundation model in one region, specify the ARN of the model in that region. To create an application inference profile for a foundation model across multiple regions, specify the ARN of the system-defined inference profile that contains the regions that you want to route requests to. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateMarketplaceModelEndpointRequest, CreateMarketplaceModelEndpointResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateMarketplaceModelEndpointCommandInput extends CreateMarket
|
|
|
22
22
|
export interface CreateMarketplaceModelEndpointCommandOutput extends CreateMarketplaceModelEndpointResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateMarketplaceModelEndpointCommand_base: {
|
|
25
|
-
new (input: CreateMarketplaceModelEndpointCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateMarketplaceModelEndpointCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl<CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl<CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateModelCopyJobRequest, CreateModelCopyJobResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateModelCopyJobCommandInput extends CreateModelCopyJobReques
|
|
|
22
22
|
export interface CreateModelCopyJobCommandOutput extends CreateModelCopyJobResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateModelCopyJobCommand_base: {
|
|
25
|
-
new (input: CreateModelCopyJobCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateModelCopyJobCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateModelCopyJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateModelCopyJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Copies a model to another region so that it can be used there. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html">Copy models to be used in other regions</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateModelCustomizationJobRequest, CreateModelCustomizationJobResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateModelCustomizationJobCommandInput extends CreateModelCust
|
|
|
22
22
|
export interface CreateModelCustomizationJobCommandOutput extends CreateModelCustomizationJobResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateModelCustomizationJobCommand_base: {
|
|
25
|
-
new (input: CreateModelCustomizationJobCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateModelCustomizationJobCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateModelCustomizationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateModelCustomizationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a fine-tuning job to customize a base model.</p> <p>You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes. </p> <p>For information on the format of training and validation data, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-prepare.html">Prepare the datasets</a>.</p> <p> Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the <code>GetModelCustomizationJob</code> operation to retrieve the job status.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateModelImportJobRequest, CreateModelImportJobResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateModelImportJobCommandInput extends CreateModelImportJobRe
|
|
|
22
22
|
export interface CreateModelImportJobCommandOutput extends CreateModelImportJobResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateModelImportJobCommand_base: {
|
|
25
|
-
new (input: CreateModelImportJobCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateModelImportJobCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateModelImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateModelImportJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> </p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateModelInvocationJobRequest, CreateModelInvocationJobResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateModelInvocationJobCommandInput extends CreateModelInvocat
|
|
|
22
22
|
export interface CreateModelInvocationJobCommandOutput extends CreateModelInvocationJobResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateModelInvocationJobCommand_base: {
|
|
25
|
-
new (input: CreateModelInvocationJobCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateModelInvocationJobCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateModelInvocationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateModelInvocationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a batch inference job to invoke a model on multiple prompts. Format your data according to <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html">Process multiple prompts with batch inference</a>.</p> <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreatePromptRouterRequest, CreatePromptRouterResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreatePromptRouterCommandInput extends CreatePromptRouterReques
|
|
|
22
22
|
export interface CreatePromptRouterCommandOutput extends CreatePromptRouterResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreatePromptRouterCommand_base: {
|
|
25
|
-
new (input: CreatePromptRouterCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreatePromptRouterCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreatePromptRouterCommandInput): import("@smithy/core/client").CommandImpl<CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePromptRouterCommandInput): import("@smithy/core/client").CommandImpl<CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface CreateProvisionedModelThroughputCommandInput extends CreateProv
|
|
|
22
22
|
export interface CreateProvisionedModelThroughputCommandOutput extends CreateProvisionedModelThroughputResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateProvisionedModelThroughputCommand_base: {
|
|
25
|
-
new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl<CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl<CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify. For pricing details, see <a href="http://aws.amazon.com/bedrock/pricing/">Amazon Bedrock Pricing</a>. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
4
|
import type { DeleteAutomatedReasoningPolicyBuildWorkflowRequest, DeleteAutomatedReasoningPolicyBuildWorkflowResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput extends
|
|
|
22
22
|
export interface DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput extends DeleteAutomatedReasoningPolicyBuildWorkflowResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAutomatedReasoningPolicyBuildWorkflowCommand_base: {
|
|
25
|
-
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput, DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput, DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes an Automated Reasoning policy build workflow and its associated artifacts. This permanently removes the workflow history and any generated assets.</p>
|