@aws-sdk/client-bedrock 3.1045.0 → 3.1047.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/README.md +35 -0
- 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 +309 -226
- package/dist-cjs/models/BedrockServiceException.js +3 -3
- package/dist-cjs/models/errors.js +14 -14
- 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-cjs/schemas/schemas_0.js +192 -46
- package/dist-es/Bedrock.js +13 -1
- package/dist-es/BedrockClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.js +16 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +2 -2
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/CreateAdvancedPromptOptimizationJobCommand.js +16 -0
- 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/GetAdvancedPromptOptimizationJobCommand.js +16 -0
- 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/ListAdvancedPromptOptimizationJobsCommand.js +16 -0
- 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/StopAdvancedPromptOptimizationJobCommand.js +16 -0
- 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/commands/index.js +5 -0
- 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/models/enums.js +16 -7
- package/dist-es/models/errors.js +12 -12
- package/dist-es/pagination/ListAdvancedPromptOptimizationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- 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-es/schemas/schemas_0.js +180 -34
- package/dist-types/Bedrock.d.ts +43 -0
- package/dist-types/BedrockClient.d.ts +12 -7
- package/dist-types/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +102 -0
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +6 -4
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
- package/dist-types/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +131 -0
- 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 +7 -5
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +7 -5
- 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 +7 -5
- 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/GetAdvancedPromptOptimizationJobCommand.d.ts +120 -0
- 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 +7 -6
- 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/ListAdvancedPromptOptimizationJobsCommand.d.ts +100 -0
- 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/StopAdvancedPromptOptimizationJobCommand.d.ts +92 -0
- 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/commands/index.d.ts +5 -0
- 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/enums.d.ts +40 -23
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +3481 -3544
- package/dist-types/models/models_1.d.ts +417 -2
- package/dist-types/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- 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/schemas/schemas_0.d.ts +22 -0
- package/dist-types/ts3.4/Bedrock.d.ts +117 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +38 -14
- package/dist-types/ts3.4/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- 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/CreateAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- 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 +7 -5
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +7 -5
- 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 +7 -5
- 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/GetAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- 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 +7 -6
- 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/ListAdvancedPromptOptimizationJobsCommand.d.ts +53 -0
- 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/StopAdvancedPromptOptimizationJobCommand.d.ts +53 -0
- 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/commands/index.d.ts +5 -0
- 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/enums.d.ts +20 -9
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/dist-types/ts3.4/models/models_0.d.ts +90 -107
- package/dist-types/ts3.4/models/models_1.d.ts +114 -7
- package/dist-types/ts3.4/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- 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/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +14 -35
|
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
22
22
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Remove one or more tags from a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</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 { UpdateAutomatedReasoningPolicyAnnotationsRequest, UpdateAutomatedReasoningPolicyAnnotationsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateAutomatedReasoningPolicyAnnotationsCommandInput extends U
|
|
|
22
22
|
export interface UpdateAutomatedReasoningPolicyAnnotationsCommandOutput extends UpdateAutomatedReasoningPolicyAnnotationsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateAutomatedReasoningPolicyAnnotationsCommand_base: {
|
|
25
|
-
new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the annotations for an Automated Reasoning policy build workflow. This allows you to modify extracted rules, variables, and types before finalizing the policy.</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 { UpdateAutomatedReasoningPolicyRequest, UpdateAutomatedReasoningPolicyResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateAutomatedReasoningPolicyCommandInput extends UpdateAutoma
|
|
|
22
22
|
export interface UpdateAutomatedReasoningPolicyCommandOutput extends UpdateAutomatedReasoningPolicyResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateAutomatedReasoningPolicyCommand_base: {
|
|
25
|
-
new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates an existing Automated Reasoning policy with new rules, variables, or configuration. This creates a new version of the policy while preserving the previous 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 { UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateAutomatedReasoningPolicyTestCaseCommandInput extends Upda
|
|
|
22
22
|
export interface UpdateAutomatedReasoningPolicyTestCaseCommandOutput extends UpdateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
25
|
-
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates an existing Automated Reasoning policy test. You can modify the content, query, expected result, and confidence threshold.</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 { UpdateCustomModelDeploymentRequest, UpdateCustomModelDeploymentResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateCustomModelDeploymentCommandInput extends UpdateCustomMod
|
|
|
22
22
|
export interface UpdateCustomModelDeploymentCommandOutput extends UpdateCustomModelDeploymentResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateCustomModelDeploymentCommand_base: {
|
|
25
|
-
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateCustomModelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p> Updates a custom model deployment with a new custom model. This allows you to deploy updated models without creating new deployment endpoints. </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 { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface UpdateGuardrailCommandInput extends UpdateGuardrailRequest {
|
|
|
22
22
|
export interface UpdateGuardrailCommandOutput extends UpdateGuardrailResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateGuardrailCommand_base: {
|
|
25
|
-
new (input: UpdateGuardrailCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateGuardrailCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates a guardrail with the values you specify.</p> <ul> <li> <p>Specify a <code>name</code> and optional <code>description</code>.</p> </li> <li> <p>Specify messages for when the guardrail successfully blocks a prompt or a model response in the <code>blockedInputMessaging</code> and <code>blockedOutputsMessaging</code> fields.</p> </li> <li> <p>Specify topics for the guardrail to deny in the <code>topicPolicyConfig</code> object. Each <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailTopicConfig.html">GuardrailTopicConfig</a> object in the <code>topicsConfig</code> list pertains to one topic.</p> <ul> <li> <p>Give a <code>name</code> and <code>description</code> so that the guardrail can properly identify the topic.</p> </li> <li> <p>Specify <code>DENY</code> in the <code>type</code> field.</p> </li> <li> <p>(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the <code>examples</code> list.</p> </li> </ul> </li> <li> <p>Specify filter strengths for the harmful categories defined in Amazon Bedrock in the <code>contentPolicyConfig</code> object. Each <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a> object in the <code>filtersConfig</code> list pertains to a harmful category. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-content-filters">Content filters</a>. For more information about the fields in a content filter, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a>.</p> <ul> <li> <p>Specify the category in the <code>type</code> field.</p> </li> <li> <p>Specify the strength of the filter for prompts in the <code>inputStrength</code> field and for model responses in the <code>strength</code> field of the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a>.</p> </li> </ul> </li> <li> <p>(Optional) For security, include the ARN of a KMS key in the <code>kmsKeyId</code> field.</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 { UpdateMarketplaceModelEndpointRequest, UpdateMarketplaceModelEndpointResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface UpdateMarketplaceModelEndpointCommandInput extends UpdateMarket
|
|
|
22
22
|
export interface UpdateMarketplaceModelEndpointCommandOutput extends UpdateMarketplaceModelEndpointResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateMarketplaceModelEndpointCommand_base: {
|
|
25
|
-
new (input: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.</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 { UpdateProvisionedModelThroughputRequest, UpdateProvisionedModelThroughputResponse } from "../models/models_1";
|
|
@@ -22,9 +22,11 @@ export interface UpdateProvisionedModelThroughputCommandInput extends UpdateProv
|
|
|
22
22
|
export interface UpdateProvisionedModelThroughputCommandOutput extends UpdateProvisionedModelThroughputResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateProvisionedModelThroughputCommand_base: {
|
|
25
|
-
new (input: UpdateProvisionedModelThroughputCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateProvisionedModelThroughputCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl<UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl<UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates the name or associated model for a Provisioned Throughput. 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,5 +1,7 @@
|
|
|
1
|
+
export * from "./BatchDeleteAdvancedPromptOptimizationJobCommand";
|
|
1
2
|
export * from "./BatchDeleteEvaluationJobCommand";
|
|
2
3
|
export * from "./CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
4
|
+
export * from "./CreateAdvancedPromptOptimizationJobCommand";
|
|
3
5
|
export * from "./CreateAutomatedReasoningPolicyCommand";
|
|
4
6
|
export * from "./CreateAutomatedReasoningPolicyTestCaseCommand";
|
|
5
7
|
export * from "./CreateAutomatedReasoningPolicyVersionCommand";
|
|
@@ -34,6 +36,7 @@ export * from "./DeleteProvisionedModelThroughputCommand";
|
|
|
34
36
|
export * from "./DeleteResourcePolicyCommand";
|
|
35
37
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
36
38
|
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
39
|
+
export * from "./GetAdvancedPromptOptimizationJobCommand";
|
|
37
40
|
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
38
41
|
export * from "./GetAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
39
42
|
export * from "./GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
|
|
@@ -59,6 +62,7 @@ export * from "./GetPromptRouterCommand";
|
|
|
59
62
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
60
63
|
export * from "./GetResourcePolicyCommand";
|
|
61
64
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
65
|
+
export * from "./ListAdvancedPromptOptimizationJobsCommand";
|
|
62
66
|
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
63
67
|
export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
64
68
|
export * from "./ListAutomatedReasoningPolicyTestCasesCommand";
|
|
@@ -87,6 +91,7 @@ export * from "./PutUseCaseForModelAccessCommand";
|
|
|
87
91
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
88
92
|
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
89
93
|
export * from "./StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
94
|
+
export * from "./StopAdvancedPromptOptimizationJobCommand";
|
|
90
95
|
export * from "./StopEvaluationJobCommand";
|
|
91
96
|
export * from "./StopModelCustomizationJobCommand";
|
|
92
97
|
export * from "./StopModelInvocationJobCommand";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import type { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -36,6 +36,46 @@ export declare const ConfigurationOwner: {
|
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
38
|
export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const AdvancedPromptOptimizationJobStatus: {
|
|
44
|
+
readonly COMPLETED: "Completed";
|
|
45
|
+
readonly DELETING: "Deleting";
|
|
46
|
+
readonly FAILED: "Failed";
|
|
47
|
+
readonly IN_PROGRESS: "InProgress";
|
|
48
|
+
readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
|
|
49
|
+
readonly STOPPED: "Stopped";
|
|
50
|
+
readonly STOPPING: "Stopping";
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export type AdvancedPromptOptimizationJobStatus = (typeof AdvancedPromptOptimizationJobStatus)[keyof typeof AdvancedPromptOptimizationJobStatus];
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @enum
|
|
59
|
+
*/
|
|
60
|
+
export declare const SortJobsBy: {
|
|
61
|
+
readonly CREATION_TIME: "CreationTime";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const SortOrder: {
|
|
72
|
+
readonly ASCENDING: "Ascending";
|
|
73
|
+
readonly DESCENDING: "Descending";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
39
79
|
/**
|
|
40
80
|
* @public
|
|
41
81
|
* @enum
|
|
@@ -243,18 +283,6 @@ export declare const SortModelsBy: {
|
|
|
243
283
|
* @public
|
|
244
284
|
*/
|
|
245
285
|
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @enum
|
|
249
|
-
*/
|
|
250
|
-
export declare const SortOrder: {
|
|
251
|
-
readonly ASCENDING: "Ascending";
|
|
252
|
-
readonly DESCENDING: "Descending";
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* @public
|
|
256
|
-
*/
|
|
257
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
258
286
|
/**
|
|
259
287
|
* @public
|
|
260
288
|
* @enum
|
|
@@ -447,17 +475,6 @@ export declare const EvaluationJobType: {
|
|
|
447
475
|
* @public
|
|
448
476
|
*/
|
|
449
477
|
export type EvaluationJobType = (typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
450
|
-
/**
|
|
451
|
-
* @public
|
|
452
|
-
* @enum
|
|
453
|
-
*/
|
|
454
|
-
export declare const SortJobsBy: {
|
|
455
|
-
readonly CREATION_TIME: "CreationTime";
|
|
456
|
-
};
|
|
457
|
-
/**
|
|
458
|
-
* @public
|
|
459
|
-
*/
|
|
460
|
-
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
461
478
|
/**
|
|
462
479
|
* @public
|
|
463
480
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The request is denied because of missing access permissions.</p>
|
|
@@ -24,18 +24,6 @@ export declare class InternalServerException extends __BaseException {
|
|
|
24
24
|
*/
|
|
25
25
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
26
26
|
}
|
|
27
|
-
/**
|
|
28
|
-
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
-
readonly name: "ResourceNotFoundException";
|
|
33
|
-
readonly $fault: "client";
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
|
-
}
|
|
39
27
|
/**
|
|
40
28
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
41
29
|
* @public
|
|
@@ -72,6 +60,18 @@ export declare class ConflictException extends __BaseException {
|
|
|
72
60
|
*/
|
|
73
61
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
74
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
68
|
+
readonly name: "ResourceNotFoundException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
74
|
+
}
|
|
75
75
|
/**
|
|
76
76
|
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
77
77
|
* @public
|