@aws-sdk/client-bedrock 3.1054.0 → 3.1056.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.
@@ -7,11 +7,11 @@ exports.ExternalSource$ = exports.ExportAutomatedReasoningPolicyVersionResponse$
7
7
  exports.GetModelInvocationJobResponse$ = exports.GetModelInvocationJobRequest$ = exports.GetModelImportJobResponse$ = exports.GetModelImportJobRequest$ = exports.GetModelCustomizationJobResponse$ = exports.GetModelCustomizationJobRequest$ = exports.GetModelCopyJobResponse$ = exports.GetModelCopyJobRequest$ = exports.GetMarketplaceModelEndpointResponse$ = exports.GetMarketplaceModelEndpointRequest$ = exports.GetInferenceProfileResponse$ = exports.GetInferenceProfileRequest$ = exports.GetImportedModelResponse$ = exports.GetImportedModelRequest$ = exports.GetGuardrailResponse$ = exports.GetGuardrailRequest$ = exports.GetFoundationModelResponse$ = exports.GetFoundationModelRequest$ = exports.GetFoundationModelAvailabilityResponse$ = exports.GetFoundationModelAvailabilityRequest$ = exports.GetEvaluationJobResponse$ = exports.GetEvaluationJobRequest$ = exports.GetCustomModelResponse$ = exports.GetCustomModelRequest$ = exports.GetCustomModelDeploymentResponse$ = exports.GetCustomModelDeploymentRequest$ = exports.GetAutomatedReasoningPolicyTestResultResponse$ = exports.GetAutomatedReasoningPolicyTestResultRequest$ = exports.GetAutomatedReasoningPolicyTestCaseResponse$ = exports.GetAutomatedReasoningPolicyTestCaseRequest$ = exports.GetAutomatedReasoningPolicyResponse$ = exports.GetAutomatedReasoningPolicyRequest$ = exports.GetAutomatedReasoningPolicyNextScenarioResponse$ = exports.GetAutomatedReasoningPolicyNextScenarioRequest$ = exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse$ = exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest$ = exports.GetAutomatedReasoningPolicyBuildWorkflowResponse$ = exports.GetAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.GetAutomatedReasoningPolicyAnnotationsResponse$ = exports.GetAutomatedReasoningPolicyAnnotationsRequest$ = exports.GetAdvancedPromptOptimizationJobResponse$ = exports.GetAdvancedPromptOptimizationJobRequest$ = exports.GenerationConfiguration$ = exports.FoundationModelSummary$ = exports.FoundationModelLifecycle$ = exports.FoundationModelDetails$ = exports.FilterAttribute$ = exports.FieldForReranking$ = exports.ExternalSourcesRetrieveAndGenerateConfiguration$ = exports.ExternalSourcesGenerationConfiguration$ = void 0;
8
8
  exports.InferenceConfiguration$ = exports.ImportedModelSummary$ = exports.ImplicitFilterConfiguration$ = exports.HumanWorkflowConfig$ = exports.HumanEvaluationCustomMetric$ = exports.HumanEvaluationConfig$ = exports.GuardrailWordPolicyConfig$ = exports.GuardrailWordPolicy$ = exports.GuardrailWordConfig$ = exports.GuardrailWord$ = exports.GuardrailTopicsTierConfig$ = exports.GuardrailTopicsTier$ = exports.GuardrailTopicPolicyConfig$ = exports.GuardrailTopicPolicy$ = exports.GuardrailTopicConfig$ = exports.GuardrailTopic$ = exports.GuardrailSummary$ = exports.GuardrailSensitiveInformationPolicyConfig$ = exports.GuardrailSensitiveInformationPolicy$ = exports.GuardrailRegexConfig$ = exports.GuardrailRegex$ = exports.GuardrailPiiEntityConfig$ = exports.GuardrailPiiEntity$ = exports.GuardrailManagedWordsConfig$ = exports.GuardrailManagedWords$ = exports.GuardrailCrossRegionDetails$ = exports.GuardrailCrossRegionConfig$ = exports.GuardrailContextualGroundingPolicyConfig$ = exports.GuardrailContextualGroundingPolicy$ = exports.GuardrailContextualGroundingFilterConfig$ = exports.GuardrailContextualGroundingFilter$ = exports.GuardrailContentPolicyConfig$ = exports.GuardrailContentPolicy$ = exports.GuardrailContentFiltersTierConfig$ = exports.GuardrailContentFiltersTier$ = exports.GuardrailContentFilterConfig$ = exports.GuardrailContentFilter$ = exports.GuardrailConfiguration$ = exports.GuardrailAutomatedReasoningPolicyConfig$ = exports.GuardrailAutomatedReasoningPolicy$ = exports.GetUseCaseForModelAccessResponse$ = exports.GetUseCaseForModelAccessRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetProvisionedModelThroughputResponse$ = exports.GetProvisionedModelThroughputRequest$ = exports.GetPromptRouterResponse$ = exports.GetPromptRouterRequest$ = exports.GetModelInvocationLoggingConfigurationResponse$ = exports.GetModelInvocationLoggingConfigurationRequest$ = void 0;
9
9
  exports.ListProvisionedModelThroughputsRequest$ = exports.ListPromptRoutersResponse$ = exports.ListPromptRoutersRequest$ = exports.ListModelInvocationJobsResponse$ = exports.ListModelInvocationJobsRequest$ = exports.ListModelImportJobsResponse$ = exports.ListModelImportJobsRequest$ = exports.ListModelCustomizationJobsResponse$ = exports.ListModelCustomizationJobsRequest$ = exports.ListModelCopyJobsResponse$ = exports.ListModelCopyJobsRequest$ = exports.ListMarketplaceModelEndpointsResponse$ = exports.ListMarketplaceModelEndpointsRequest$ = exports.ListInferenceProfilesResponse$ = exports.ListInferenceProfilesRequest$ = exports.ListImportedModelsResponse$ = exports.ListImportedModelsRequest$ = exports.ListGuardrailsResponse$ = exports.ListGuardrailsRequest$ = exports.ListFoundationModelsResponse$ = exports.ListFoundationModelsRequest$ = exports.ListFoundationModelAgreementOffersResponse$ = exports.ListFoundationModelAgreementOffersRequest$ = exports.ListEvaluationJobsResponse$ = exports.ListEvaluationJobsRequest$ = exports.ListEnforcedGuardrailsConfigurationResponse$ = exports.ListEnforcedGuardrailsConfigurationRequest$ = exports.ListCustomModelsResponse$ = exports.ListCustomModelsRequest$ = exports.ListCustomModelDeploymentsResponse$ = exports.ListCustomModelDeploymentsRequest$ = exports.ListAutomatedReasoningPolicyTestResultsResponse$ = exports.ListAutomatedReasoningPolicyTestResultsRequest$ = exports.ListAutomatedReasoningPolicyTestCasesResponse$ = exports.ListAutomatedReasoningPolicyTestCasesRequest$ = exports.ListAutomatedReasoningPolicyBuildWorkflowsResponse$ = exports.ListAutomatedReasoningPolicyBuildWorkflowsRequest$ = exports.ListAutomatedReasoningPoliciesResponse$ = exports.ListAutomatedReasoningPoliciesRequest$ = exports.ListAdvancedPromptOptimizationJobsResponse$ = exports.ListAdvancedPromptOptimizationJobsRequest$ = exports.LegalTerm$ = exports.LambdaGraderConfig$ = exports.KnowledgeBaseVectorSearchConfiguration$ = exports.KnowledgeBaseRetrieveAndGenerateConfiguration$ = exports.KnowledgeBaseRetrievalConfiguration$ = exports.KbInferenceConfig$ = exports.InvocationLogsConfig$ = exports.InferenceProfileSummary$ = exports.InferenceProfileModel$ = void 0;
10
- exports.StartAutomatedReasoningPolicyBuildWorkflowResponse$ = exports.StartAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.SelectiveContentGuarding$ = exports.SageMakerEndpoint$ = exports.S3ObjectDoc$ = exports.S3DataSource$ = exports.S3Config$ = exports.RoutingCriteria$ = exports.RFTHyperParameters$ = exports.RFTConfig$ = exports.RetrieveConfig$ = exports.RetrieveAndGenerateConfiguration$ = exports.RequestMetadataBaseFilters$ = exports.RegisterMarketplaceModelEndpointResponse$ = exports.RegisterMarketplaceModelEndpointRequest$ = exports.RatingScaleItem$ = exports.QueryTransformationConfiguration$ = exports.PutUseCaseForModelAccessResponse$ = exports.PutUseCaseForModelAccessRequest$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.PutModelInvocationLoggingConfigurationResponse$ = exports.PutModelInvocationLoggingConfigurationRequest$ = exports.PutEnforcedGuardrailConfigurationResponse$ = exports.PutEnforcedGuardrailConfigurationRequest$ = exports.ProvisionedModelSummary$ = exports.PromptTemplate$ = exports.PromptRouterTargetModel$ = exports.PromptRouterSummary$ = exports.PricingTerm$ = exports.PerformanceConfiguration$ = exports.OutputDataConfig$ = exports.OrchestrationConfiguration$ = exports.Offer$ = exports.ModelInvocationJobSummary$ = exports.ModelInvocationJobS3OutputDataConfig$ = exports.ModelInvocationJobS3InputDataConfig$ = exports.ModelImportJobSummary$ = exports.ModelEnforcement$ = exports.ModelCustomizationJobSummary$ = exports.ModelCopyJobSummary$ = exports.ModelConfiguration$ = exports.MetadataConfigurationForReranking$ = exports.MetadataAttributeSchema$ = exports.MarketplaceModelEndpointSummary$ = exports.MarketplaceModelEndpoint$ = exports.LoggingConfig$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListProvisionedModelThroughputsResponse$ = void 0;
11
- exports.AutomatedReasoningPolicyAnnotation$ = exports.AutomatedReasoningPolicyAnnotatedContent$ = exports.AutomatedReasoningCheckFinding$ = exports.AutomatedEvaluationCustomMetricSource$ = exports.VpcConfig$ = exports.VectorSearchRerankingConfiguration$ = exports.VectorSearchBedrockRerankingModelConfiguration$ = exports.VectorSearchBedrockRerankingConfiguration$ = exports.ValidityTerm$ = exports.ValidatorMetric$ = exports.Validator$ = exports.ValidationDetails$ = exports.ValidationDataConfig$ = exports.UpdateProvisionedModelThroughputResponse$ = exports.UpdateProvisionedModelThroughputRequest$ = exports.UpdateMarketplaceModelEndpointResponse$ = exports.UpdateMarketplaceModelEndpointRequest$ = exports.UpdateGuardrailResponse$ = exports.UpdateGuardrailRequest$ = exports.UpdateCustomModelDeploymentResponse$ = exports.UpdateCustomModelDeploymentRequest$ = exports.UpdateAutomatedReasoningPolicyTestCaseResponse$ = exports.UpdateAutomatedReasoningPolicyTestCaseRequest$ = exports.UpdateAutomatedReasoningPolicyResponse$ = exports.UpdateAutomatedReasoningPolicyRequest$ = exports.UpdateAutomatedReasoningPolicyAnnotationsResponse$ = exports.UpdateAutomatedReasoningPolicyAnnotationsRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrainingMetrics$ = exports.TrainingDetails$ = exports.TrainingDataConfig$ = exports.TextInferenceConfig$ = exports.TermDetails$ = exports.TeacherModelConfig$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SupportTerm$ = exports.StopModelInvocationJobResponse$ = exports.StopModelInvocationJobRequest$ = exports.StopModelCustomizationJobResponse$ = exports.StopModelCustomizationJobRequest$ = exports.StopEvaluationJobResponse$ = exports.StopEvaluationJobRequest$ = exports.StopAdvancedPromptOptimizationJobResponse$ = exports.StopAdvancedPromptOptimizationJobRequest$ = exports.StatusDetails$ = exports.StartAutomatedReasoningPolicyTestWorkflowResponse$ = exports.StartAutomatedReasoningPolicyTestWorkflowRequest$ = void 0;
12
- exports.DeleteAutomatedReasoningPolicyBuildWorkflow$ = exports.DeleteAutomatedReasoningPolicy$ = exports.CreateProvisionedModelThroughput$ = exports.CreatePromptRouter$ = exports.CreateModelInvocationJob$ = exports.CreateModelImportJob$ = exports.CreateModelCustomizationJob$ = exports.CreateModelCopyJob$ = exports.CreateMarketplaceModelEndpoint$ = exports.CreateInferenceProfile$ = exports.CreateGuardrailVersion$ = exports.CreateGuardrail$ = exports.CreateFoundationModelAgreement$ = exports.CreateEvaluationJob$ = exports.CreateCustomModelDeployment$ = exports.CreateCustomModel$ = exports.CreateAutomatedReasoningPolicyVersion$ = exports.CreateAutomatedReasoningPolicyTestCase$ = exports.CreateAutomatedReasoningPolicy$ = exports.CreateAdvancedPromptOptimizationJob$ = exports.CancelAutomatedReasoningPolicyBuildWorkflow$ = exports.BatchDeleteEvaluationJob$ = exports.BatchDeleteAdvancedPromptOptimizationJob$ = exports.RetrievalFilter$ = exports.RerankingMetadataSelectiveModeConfiguration$ = exports.RequestMetadataFilters$ = exports.RatingScaleItemValue$ = exports.RAGConfig$ = exports.ModelInvocationJobOutputDataConfig$ = exports.ModelInvocationJobInputDataConfig$ = exports.ModelDataSource$ = exports.KnowledgeBaseConfig$ = exports.InvocationLogSource$ = exports.InferenceProfileModelSource$ = exports.GraderConfig$ = exports.EvaluatorModelConfig$ = exports.EvaluationPrecomputedRagSourceConfig$ = exports.EvaluationModelConfig$ = exports.EvaluationInferenceConfig$ = exports.EvaluationDatasetLocation$ = exports.EvaluationConfig$ = exports.EndpointConfig$ = exports.CustomizationConfig$ = exports.AutomatedReasoningPolicyWorkflowTypeContent$ = exports.AutomatedReasoningPolicyTypeValueAnnotation$ = exports.AutomatedReasoningPolicyMutation$ = exports.AutomatedReasoningPolicyGenerateFidelityReportContent$ = exports.AutomatedReasoningPolicyDefinitionElement$ = exports.AutomatedReasoningPolicyBuildStepContext$ = exports.AutomatedReasoningPolicyBuildResultAssets$ = void 0;
13
- exports.ListEvaluationJobs$ = exports.ListEnforcedGuardrailsConfiguration$ = exports.ListCustomModels$ = exports.ListCustomModelDeployments$ = exports.ListAutomatedReasoningPolicyTestResults$ = exports.ListAutomatedReasoningPolicyTestCases$ = exports.ListAutomatedReasoningPolicyBuildWorkflows$ = exports.ListAutomatedReasoningPolicies$ = exports.ListAdvancedPromptOptimizationJobs$ = exports.GetUseCaseForModelAccess$ = exports.GetResourcePolicy$ = exports.GetProvisionedModelThroughput$ = exports.GetPromptRouter$ = exports.GetModelInvocationLoggingConfiguration$ = exports.GetModelInvocationJob$ = exports.GetModelImportJob$ = exports.GetModelCustomizationJob$ = exports.GetModelCopyJob$ = exports.GetMarketplaceModelEndpoint$ = exports.GetInferenceProfile$ = exports.GetImportedModel$ = exports.GetGuardrail$ = exports.GetFoundationModelAvailability$ = exports.GetFoundationModel$ = exports.GetEvaluationJob$ = exports.GetCustomModelDeployment$ = exports.GetCustomModel$ = exports.GetAutomatedReasoningPolicyTestResult$ = exports.GetAutomatedReasoningPolicyTestCase$ = exports.GetAutomatedReasoningPolicyNextScenario$ = exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssets$ = exports.GetAutomatedReasoningPolicyBuildWorkflow$ = exports.GetAutomatedReasoningPolicyAnnotations$ = exports.GetAutomatedReasoningPolicy$ = exports.GetAdvancedPromptOptimizationJob$ = exports.ExportAutomatedReasoningPolicyVersion$ = exports.DeregisterMarketplaceModelEndpoint$ = exports.DeleteResourcePolicy$ = exports.DeleteProvisionedModelThroughput$ = exports.DeletePromptRouter$ = exports.DeleteModelInvocationLoggingConfiguration$ = exports.DeleteMarketplaceModelEndpoint$ = exports.DeleteInferenceProfile$ = exports.DeleteImportedModel$ = exports.DeleteGuardrail$ = exports.DeleteFoundationModelAgreement$ = exports.DeleteEnforcedGuardrailConfiguration$ = exports.DeleteCustomModelDeployment$ = exports.DeleteCustomModel$ = exports.DeleteAutomatedReasoningPolicyTestCase$ = void 0;
14
- exports.UpdateProvisionedModelThroughput$ = exports.UpdateMarketplaceModelEndpoint$ = exports.UpdateGuardrail$ = exports.UpdateCustomModelDeployment$ = exports.UpdateAutomatedReasoningPolicyTestCase$ = exports.UpdateAutomatedReasoningPolicyAnnotations$ = exports.UpdateAutomatedReasoningPolicy$ = exports.UntagResource$ = exports.TagResource$ = exports.StopModelInvocationJob$ = exports.StopModelCustomizationJob$ = exports.StopEvaluationJob$ = exports.StopAdvancedPromptOptimizationJob$ = exports.StartAutomatedReasoningPolicyTestWorkflow$ = exports.StartAutomatedReasoningPolicyBuildWorkflow$ = exports.RegisterMarketplaceModelEndpoint$ = exports.PutUseCaseForModelAccess$ = exports.PutResourcePolicy$ = exports.PutModelInvocationLoggingConfiguration$ = exports.PutEnforcedGuardrailConfiguration$ = exports.ListTagsForResource$ = exports.ListProvisionedModelThroughputs$ = exports.ListPromptRouters$ = exports.ListModelInvocationJobs$ = exports.ListModelImportJobs$ = exports.ListModelCustomizationJobs$ = exports.ListModelCopyJobs$ = exports.ListMarketplaceModelEndpoints$ = exports.ListInferenceProfiles$ = exports.ListImportedModels$ = exports.ListGuardrails$ = exports.ListFoundationModels$ = exports.ListFoundationModelAgreementOffers$ = void 0;
10
+ exports.StartAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.SelectiveContentGuarding$ = exports.SageMakerEndpoint$ = exports.S3ObjectDoc$ = exports.S3DataSource$ = exports.S3Config$ = exports.RoutingCriteria$ = exports.RFTHyperParameters$ = exports.RFTConfig$ = exports.RetrieveConfig$ = exports.RetrieveAndGenerateConfiguration$ = exports.RequestMetadataBaseFilters$ = exports.RegisterMarketplaceModelEndpointResponse$ = exports.RegisterMarketplaceModelEndpointRequest$ = exports.RatingScaleItem$ = exports.QueryTransformationConfiguration$ = exports.PutUseCaseForModelAccessResponse$ = exports.PutUseCaseForModelAccessRequest$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.PutModelInvocationLoggingConfigurationResponse$ = exports.PutModelInvocationLoggingConfigurationRequest$ = exports.PutEnforcedGuardrailConfigurationResponse$ = exports.PutEnforcedGuardrailConfigurationRequest$ = exports.ProvisionedModelSummary$ = exports.PromptTemplate$ = exports.PromptRouterTargetModel$ = exports.PromptRouterSummary$ = exports.PricingTerm$ = exports.PerformanceConfiguration$ = exports.OutputDataConfig$ = exports.OrchestrationConfiguration$ = exports.Offer$ = exports.ModelPackageArnDataSource$ = exports.ModelInvocationJobSummary$ = exports.ModelInvocationJobS3OutputDataConfig$ = exports.ModelInvocationJobS3InputDataConfig$ = exports.ModelImportJobSummary$ = exports.ModelEnforcement$ = exports.ModelCustomizationJobSummary$ = exports.ModelCopyJobSummary$ = exports.ModelConfiguration$ = exports.MetadataConfigurationForReranking$ = exports.MetadataAttributeSchema$ = exports.MarketplaceModelEndpointSummary$ = exports.MarketplaceModelEndpoint$ = exports.LoggingConfig$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListProvisionedModelThroughputsResponse$ = void 0;
11
+ exports.AutomatedReasoningPolicyAnnotatedContent$ = exports.AutomatedReasoningCheckFinding$ = exports.AutomatedEvaluationCustomMetricSource$ = exports.VpcConfig$ = exports.VectorSearchRerankingConfiguration$ = exports.VectorSearchBedrockRerankingModelConfiguration$ = exports.VectorSearchBedrockRerankingConfiguration$ = exports.ValidityTerm$ = exports.ValidatorMetric$ = exports.Validator$ = exports.ValidationDetails$ = exports.ValidationDataConfig$ = exports.UpdateProvisionedModelThroughputResponse$ = exports.UpdateProvisionedModelThroughputRequest$ = exports.UpdateMarketplaceModelEndpointResponse$ = exports.UpdateMarketplaceModelEndpointRequest$ = exports.UpdateGuardrailResponse$ = exports.UpdateGuardrailRequest$ = exports.UpdateCustomModelDeploymentResponse$ = exports.UpdateCustomModelDeploymentRequest$ = exports.UpdateAutomatedReasoningPolicyTestCaseResponse$ = exports.UpdateAutomatedReasoningPolicyTestCaseRequest$ = exports.UpdateAutomatedReasoningPolicyResponse$ = exports.UpdateAutomatedReasoningPolicyRequest$ = exports.UpdateAutomatedReasoningPolicyAnnotationsResponse$ = exports.UpdateAutomatedReasoningPolicyAnnotationsRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrainingMetrics$ = exports.TrainingDetails$ = exports.TrainingDataConfig$ = exports.TextInferenceConfig$ = exports.TermDetails$ = exports.TeacherModelConfig$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SupportTerm$ = exports.StopModelInvocationJobResponse$ = exports.StopModelInvocationJobRequest$ = exports.StopModelCustomizationJobResponse$ = exports.StopModelCustomizationJobRequest$ = exports.StopEvaluationJobResponse$ = exports.StopEvaluationJobRequest$ = exports.StopAdvancedPromptOptimizationJobResponse$ = exports.StopAdvancedPromptOptimizationJobRequest$ = exports.StatusDetails$ = exports.StartAutomatedReasoningPolicyTestWorkflowResponse$ = exports.StartAutomatedReasoningPolicyTestWorkflowRequest$ = exports.StartAutomatedReasoningPolicyBuildWorkflowResponse$ = void 0;
12
+ exports.CreateProvisionedModelThroughput$ = exports.CreatePromptRouter$ = exports.CreateModelInvocationJob$ = exports.CreateModelImportJob$ = exports.CreateModelCustomizationJob$ = exports.CreateModelCopyJob$ = exports.CreateMarketplaceModelEndpoint$ = exports.CreateInferenceProfile$ = exports.CreateGuardrailVersion$ = exports.CreateGuardrail$ = exports.CreateFoundationModelAgreement$ = exports.CreateEvaluationJob$ = exports.CreateCustomModelDeployment$ = exports.CreateCustomModel$ = exports.CreateAutomatedReasoningPolicyVersion$ = exports.CreateAutomatedReasoningPolicyTestCase$ = exports.CreateAutomatedReasoningPolicy$ = exports.CreateAdvancedPromptOptimizationJob$ = exports.CancelAutomatedReasoningPolicyBuildWorkflow$ = exports.BatchDeleteEvaluationJob$ = exports.BatchDeleteAdvancedPromptOptimizationJob$ = exports.RetrievalFilter$ = exports.RerankingMetadataSelectiveModeConfiguration$ = exports.RequestMetadataFilters$ = exports.RatingScaleItemValue$ = exports.RAGConfig$ = exports.ModelInvocationJobOutputDataConfig$ = exports.ModelInvocationJobInputDataConfig$ = exports.ModelDataSource$ = exports.KnowledgeBaseConfig$ = exports.InvocationLogSource$ = exports.InferenceProfileModelSource$ = exports.GraderConfig$ = exports.EvaluatorModelConfig$ = exports.EvaluationPrecomputedRagSourceConfig$ = exports.EvaluationModelConfig$ = exports.EvaluationInferenceConfig$ = exports.EvaluationDatasetLocation$ = exports.EvaluationConfig$ = exports.EndpointConfig$ = exports.CustomModelDataSource$ = exports.CustomizationConfig$ = exports.AutomatedReasoningPolicyWorkflowTypeContent$ = exports.AutomatedReasoningPolicyTypeValueAnnotation$ = exports.AutomatedReasoningPolicyMutation$ = exports.AutomatedReasoningPolicyGenerateFidelityReportContent$ = exports.AutomatedReasoningPolicyDefinitionElement$ = exports.AutomatedReasoningPolicyBuildStepContext$ = exports.AutomatedReasoningPolicyBuildResultAssets$ = exports.AutomatedReasoningPolicyAnnotation$ = void 0;
13
+ exports.ListCustomModels$ = exports.ListCustomModelDeployments$ = exports.ListAutomatedReasoningPolicyTestResults$ = exports.ListAutomatedReasoningPolicyTestCases$ = exports.ListAutomatedReasoningPolicyBuildWorkflows$ = exports.ListAutomatedReasoningPolicies$ = exports.ListAdvancedPromptOptimizationJobs$ = exports.GetUseCaseForModelAccess$ = exports.GetResourcePolicy$ = exports.GetProvisionedModelThroughput$ = exports.GetPromptRouter$ = exports.GetModelInvocationLoggingConfiguration$ = exports.GetModelInvocationJob$ = exports.GetModelImportJob$ = exports.GetModelCustomizationJob$ = exports.GetModelCopyJob$ = exports.GetMarketplaceModelEndpoint$ = exports.GetInferenceProfile$ = exports.GetImportedModel$ = exports.GetGuardrail$ = exports.GetFoundationModelAvailability$ = exports.GetFoundationModel$ = exports.GetEvaluationJob$ = exports.GetCustomModelDeployment$ = exports.GetCustomModel$ = exports.GetAutomatedReasoningPolicyTestResult$ = exports.GetAutomatedReasoningPolicyTestCase$ = exports.GetAutomatedReasoningPolicyNextScenario$ = exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssets$ = exports.GetAutomatedReasoningPolicyBuildWorkflow$ = exports.GetAutomatedReasoningPolicyAnnotations$ = exports.GetAutomatedReasoningPolicy$ = exports.GetAdvancedPromptOptimizationJob$ = exports.ExportAutomatedReasoningPolicyVersion$ = exports.DeregisterMarketplaceModelEndpoint$ = exports.DeleteResourcePolicy$ = exports.DeleteProvisionedModelThroughput$ = exports.DeletePromptRouter$ = exports.DeleteModelInvocationLoggingConfiguration$ = exports.DeleteMarketplaceModelEndpoint$ = exports.DeleteInferenceProfile$ = exports.DeleteImportedModel$ = exports.DeleteGuardrail$ = exports.DeleteFoundationModelAgreement$ = exports.DeleteEnforcedGuardrailConfiguration$ = exports.DeleteCustomModelDeployment$ = exports.DeleteCustomModel$ = exports.DeleteAutomatedReasoningPolicyTestCase$ = exports.DeleteAutomatedReasoningPolicyBuildWorkflow$ = exports.DeleteAutomatedReasoningPolicy$ = void 0;
14
+ exports.UpdateProvisionedModelThroughput$ = exports.UpdateMarketplaceModelEndpoint$ = exports.UpdateGuardrail$ = exports.UpdateCustomModelDeployment$ = exports.UpdateAutomatedReasoningPolicyTestCase$ = exports.UpdateAutomatedReasoningPolicyAnnotations$ = exports.UpdateAutomatedReasoningPolicy$ = exports.UntagResource$ = exports.TagResource$ = exports.StopModelInvocationJob$ = exports.StopModelCustomizationJob$ = exports.StopEvaluationJob$ = exports.StopAdvancedPromptOptimizationJob$ = exports.StartAutomatedReasoningPolicyTestWorkflow$ = exports.StartAutomatedReasoningPolicyBuildWorkflow$ = exports.RegisterMarketplaceModelEndpoint$ = exports.PutUseCaseForModelAccess$ = exports.PutResourcePolicy$ = exports.PutModelInvocationLoggingConfiguration$ = exports.PutEnforcedGuardrailConfiguration$ = exports.ListTagsForResource$ = exports.ListProvisionedModelThroughputs$ = exports.ListPromptRouters$ = exports.ListModelInvocationJobs$ = exports.ListModelImportJobs$ = exports.ListModelCustomizationJobs$ = exports.ListModelCopyJobs$ = exports.ListMarketplaceModelEndpoints$ = exports.ListInferenceProfiles$ = exports.ListImportedModels$ = exports.ListGuardrails$ = exports.ListFoundationModels$ = exports.ListFoundationModelAgreementOffers$ = exports.ListEvaluationJobs$ = exports.ListEnforcedGuardrailsConfiguration$ = void 0;
15
15
  const _AA = "AgreementAvailability";
16
16
  const _ADE = "AccessDeniedException";
17
17
  const _AEC = "AutomatedEvaluationConfig";
@@ -239,6 +239,7 @@ const _CMCJr = "CreateModelCustomizationJob";
239
239
  const _CMD = "CustomMetricDefinition";
240
240
  const _CMDS = "CustomModelDeploymentSummary";
241
241
  const _CMDSL = "CustomModelDeploymentSummaryList";
242
+ const _CMDSu = "CustomModelDataSource";
242
243
  const _CMDUD = "CustomModelDeploymentUpdateDetails";
243
244
  const _CMEMC = "CustomMetricEvaluatorModelConfig";
244
245
  const _CMIJ = "CreateModelImportJob";
@@ -619,6 +620,7 @@ const _MME = "MarketplaceModelEndpoint";
619
620
  const _MMES = "MarketplaceModelEndpointSummary";
620
621
  const _MMESa = "MarketplaceModelEndpointSummaries";
621
622
  const _MN = "MetricName";
623
+ const _MPADS = "ModelPackageArnDataSource";
622
624
  const _O = "Offer";
623
625
  const _OC = "OrchestrationConfiguration";
624
626
  const _ODC = "OutputDataConfig";
@@ -824,6 +826,7 @@ const _cMD = "customMetricDefinition";
824
826
  const _cMDA = "customModelDeploymentArn";
825
827
  const _cMDI = "customModelDeploymentIdentifier";
826
828
  const _cMDN = "customModelDeploymentName";
829
+ const _cMDS = "customModelDataSource";
827
830
  const _cMEMI = "customMetricsEvaluatorModelIdentifiers";
828
831
  const _cMKKI = "customModelKmsKeyId";
829
832
  const _cMN = "customModelName";
@@ -1072,6 +1075,8 @@ const _mME = "marketplaceModelEndpoint";
1072
1075
  const _mMEa = "marketplaceModelEndpoints";
1073
1076
  const _mN = "modelName";
1074
1077
  const _mNe = "metricNames";
1078
+ const _mPA = "modelPackageArn";
1079
+ const _mPADS = "modelPackageArnDataSource";
1075
1080
  const _mPL = "maxPromptLength";
1076
1081
  const _mR = "maxResults";
1077
1082
  const _mRLFI = "maxResponseLengthForInference";
@@ -1997,8 +2002,8 @@ exports.CreateCustomModelDeploymentResponse$ = [3, n0, _CCMDRr,
1997
2002
  ];
1998
2003
  exports.CreateCustomModelRequest$ = [3, n0, _CCMR,
1999
2004
  0,
2000
- [_mN, _mSC, _mKKA, _rA, _mTo, _cRT],
2001
- [0, () => exports.ModelDataSource$, 0, 0, () => TagList, [0, 4]], 2
2005
+ [_mN, _mSC, _cMDS, _mKKA, _rA, _mTo, _cRT],
2006
+ [0, () => exports.ModelDataSource$, () => exports.CustomModelDataSource$, 0, 0, () => TagList, [0, 4]], 1
2002
2007
  ];
2003
2008
  exports.CreateCustomModelResponse$ = [3, n0, _CCMRr,
2004
2009
  0,
@@ -3235,6 +3240,11 @@ exports.ModelInvocationJobSummary$ = [3, n0, _MIJSo,
3235
3240
  [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
3236
3241
  [0, 0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 7
3237
3242
  ];
3243
+ exports.ModelPackageArnDataSource$ = [3, n0, _MPADS,
3244
+ 0,
3245
+ [_mPA],
3246
+ [0], 1
3247
+ ];
3238
3248
  exports.Offer$ = [3, n0, _O,
3239
3249
  0,
3240
3250
  [_oT, _tD, _oI],
@@ -4086,6 +4096,11 @@ exports.CustomizationConfig$ = [4, n0, _CC,
4086
4096
  [_dCi, _rCf],
4087
4097
  [() => exports.DistillationConfig$, () => exports.RFTConfig$]
4088
4098
  ];
4099
+ exports.CustomModelDataSource$ = [4, n0, _CMDSu,
4100
+ 0,
4101
+ [_mPADS],
4102
+ [() => exports.ModelPackageArnDataSource$]
4103
+ ];
4089
4104
  exports.EndpointConfig$ = [4, n0, _EC,
4090
4105
  0,
4091
4106
  [_sMa],
@@ -225,6 +225,7 @@ const _CMCJr = "CreateModelCustomizationJob";
225
225
  const _CMD = "CustomMetricDefinition";
226
226
  const _CMDS = "CustomModelDeploymentSummary";
227
227
  const _CMDSL = "CustomModelDeploymentSummaryList";
228
+ const _CMDSu = "CustomModelDataSource";
228
229
  const _CMDUD = "CustomModelDeploymentUpdateDetails";
229
230
  const _CMEMC = "CustomMetricEvaluatorModelConfig";
230
231
  const _CMIJ = "CreateModelImportJob";
@@ -605,6 +606,7 @@ const _MME = "MarketplaceModelEndpoint";
605
606
  const _MMES = "MarketplaceModelEndpointSummary";
606
607
  const _MMESa = "MarketplaceModelEndpointSummaries";
607
608
  const _MN = "MetricName";
609
+ const _MPADS = "ModelPackageArnDataSource";
608
610
  const _O = "Offer";
609
611
  const _OC = "OrchestrationConfiguration";
610
612
  const _ODC = "OutputDataConfig";
@@ -810,6 +812,7 @@ const _cMD = "customMetricDefinition";
810
812
  const _cMDA = "customModelDeploymentArn";
811
813
  const _cMDI = "customModelDeploymentIdentifier";
812
814
  const _cMDN = "customModelDeploymentName";
815
+ const _cMDS = "customModelDataSource";
813
816
  const _cMEMI = "customMetricsEvaluatorModelIdentifiers";
814
817
  const _cMKKI = "customModelKmsKeyId";
815
818
  const _cMN = "customModelName";
@@ -1058,6 +1061,8 @@ const _mME = "marketplaceModelEndpoint";
1058
1061
  const _mMEa = "marketplaceModelEndpoints";
1059
1062
  const _mN = "modelName";
1060
1063
  const _mNe = "metricNames";
1064
+ const _mPA = "modelPackageArn";
1065
+ const _mPADS = "modelPackageArnDataSource";
1061
1066
  const _mPL = "maxPromptLength";
1062
1067
  const _mR = "maxResults";
1063
1068
  const _mRLFI = "maxResponseLengthForInference";
@@ -1983,8 +1988,8 @@ export var CreateCustomModelDeploymentResponse$ = [3, n0, _CCMDRr,
1983
1988
  ];
1984
1989
  export var CreateCustomModelRequest$ = [3, n0, _CCMR,
1985
1990
  0,
1986
- [_mN, _mSC, _mKKA, _rA, _mTo, _cRT],
1987
- [0, () => ModelDataSource$, 0, 0, () => TagList, [0, 4]], 2
1991
+ [_mN, _mSC, _cMDS, _mKKA, _rA, _mTo, _cRT],
1992
+ [0, () => ModelDataSource$, () => CustomModelDataSource$, 0, 0, () => TagList, [0, 4]], 1
1988
1993
  ];
1989
1994
  export var CreateCustomModelResponse$ = [3, n0, _CCMRr,
1990
1995
  0,
@@ -3221,6 +3226,11 @@ export var ModelInvocationJobSummary$ = [3, n0, _MIJSo,
3221
3226
  [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
3222
3227
  [0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 7
3223
3228
  ];
3229
+ export var ModelPackageArnDataSource$ = [3, n0, _MPADS,
3230
+ 0,
3231
+ [_mPA],
3232
+ [0], 1
3233
+ ];
3224
3234
  export var Offer$ = [3, n0, _O,
3225
3235
  0,
3226
3236
  [_oT, _tD, _oI],
@@ -4072,6 +4082,11 @@ export var CustomizationConfig$ = [4, n0, _CC,
4072
4082
  [_dCi, _rCf],
4073
4083
  [() => DistillationConfig$, () => RFTConfig$]
4074
4084
  ];
4085
+ export var CustomModelDataSource$ = [4, n0, _CMDSu,
4086
+ 0,
4087
+ [_mPADS],
4088
+ [() => ModelPackageArnDataSource$]
4089
+ ];
4075
4090
  export var EndpointConfig$ = [4, n0, _EC,
4076
4091
  0,
4077
4092
  [_sMa],
@@ -29,7 +29,7 @@ declare const BatchDeleteAdvancedPromptOptimizationJobCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * Batch delete the specified advanced prompt optimization jobs.
32
+ * <p>Deletes one or more advanced prompt optimization jobs.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -29,7 +29,7 @@ declare const CreateAdvancedPromptOptimizationJobCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * Creates an asynchronous batch job for advanced prompt optimization.
32
+ * <p>Creates an advanced prompt optimization job. The job optimizes your prompt templates for specific models using your evaluation dataset and criteria.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -29,7 +29,7 @@ declare const CreateCustomModelCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
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>
32
+ * <p>Creates a new custom model in Amazon Bedrock. After the model is active, you can use it for inference.</p> <p>You can provide the model data source in one of the following ways:</p> <ul> <li> <p> <code>customModelDataSource</code> — Specify a SageMaker AI model package ARN. Amazon Bedrock resolves the model package to retrieve the model artifacts. This is the preferred method for new SageMaker AI training outputs.</p> </li> <li> <p> <code>modelSourceConfig</code> — Specify an Amazon S3 URI pointing to the Amazon-managed Amazon S3 bucket containing your model artifacts.</p> </li> </ul> <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>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -45,6 +45,11 @@ declare const CreateCustomModelCommand_base: {
45
45
  * s3Uri: "STRING_VALUE", // required
46
46
  * },
47
47
  * },
48
+ * customModelDataSource: { // CustomModelDataSource Union: only one key present
49
+ * modelPackageArnDataSource: { // ModelPackageArnDataSource
50
+ * modelPackageArn: "STRING_VALUE", // required
51
+ * },
52
+ * },
48
53
  * modelKmsKeyArn: "STRING_VALUE",
49
54
  * roleArn: "STRING_VALUE",
50
55
  * modelTags: [ // TagList
@@ -29,7 +29,7 @@ declare const GetAdvancedPromptOptimizationJobCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * Retrieves the details and status of an advanced prompt optimization job.
32
+ * <p>Gets information about an advanced prompt optimization job.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -29,7 +29,7 @@ declare const ListAdvancedPromptOptimizationJobsCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * Lists all advanced prompt optimization jobs for the account.
32
+ * <p>Lists the advanced prompt optimization jobs in your account.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -29,7 +29,7 @@ declare const StopAdvancedPromptOptimizationJobCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * Stops an in-progress advanced prompt optimization job.
32
+ * <p>Stops an advanced prompt optimization job that is in progress.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AdvancedPromptOptimizationJobStatus, AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, ConfigurationOwner, CustomizationType, CustomModelDeploymentStatus, CustomModelDeploymentUpdateStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, ReasoningEffort, RerankingMetadataSelectionMode, SelectiveGuardingMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
2
+ import type { AdvancedPromptOptimizationJobStatus, AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, ConfigurationOwner, CustomizationType, CustomModelDeploymentStatus, CustomModelDeploymentUpdateStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, ReasoningEffort, RerankingMetadataSelectionMode, SelectiveGuardingMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
3
3
  /**
4
4
  * <p>Model-specific information for the enforced guardrail configuration.</p>
5
5
  * @public
@@ -127,134 +127,134 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
127
127
  modelEnforcement?: ModelEnforcement | undefined;
128
128
  }
129
129
  /**
130
- * Input data configuration for the advanced prompt optimization job.
130
+ * <p>Contains the input data configuration for an advanced prompt optimization job.</p>
131
131
  * @public
132
132
  */
133
133
  export interface AdvancedPromptOptimizationInputConfig {
134
134
  /**
135
- * S3 URI of the input JSONL file.
135
+ * <p>The S3 URI of the JSONL input file containing prompt templates and evaluation samples.</p>
136
136
  * @public
137
137
  */
138
138
  s3Uri: string | undefined;
139
139
  }
140
140
  /**
141
- * Batch Delete Advanced Prompt Optimization Jobs Request
141
+ * <p>Batch Delete Advanced Prompt Optimization Jobs Request</p>
142
142
  * @public
143
143
  */
144
144
  export interface BatchDeleteAdvancedPromptOptimizationJobRequest {
145
145
  /**
146
- * List of advanced prompt optimization job identifiers to delete.
146
+ * <p>A list of advanced prompt optimization job identifiers (ARNs or IDs) to delete.</p>
147
147
  * @public
148
148
  */
149
149
  jobIdentifiers: string[] | undefined;
150
150
  }
151
151
  /**
152
- * Successfully deleted advanced prompt optimization job.
152
+ * <p>Contains information about a successfully deleted advanced prompt optimization job.</p>
153
153
  * @public
154
154
  */
155
155
  export interface BatchDeleteAdvancedPromptOptimizationJobItem {
156
156
  /**
157
- * Identifier of the deleted job.
157
+ * <p>The identifier of the deleted job.</p>
158
158
  * @public
159
159
  */
160
160
  jobIdentifier: string | undefined;
161
161
  /**
162
- * Status of the deleted job.
162
+ * <p>The status of the deleted job.</p>
163
163
  * @public
164
164
  */
165
165
  jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
166
166
  }
167
167
  /**
168
- * Batch deletion error for an advanced prompt optimization job.
168
+ * <p>Contains information about an error that occurred when deleting an advanced prompt optimization job.</p>
169
169
  * @public
170
170
  */
171
171
  export interface BatchDeleteAdvancedPromptOptimizationJobError {
172
172
  /**
173
- * Identifier of the job that failed to delete.
173
+ * <p>The identifier of the job that could not be deleted.</p>
174
174
  * @public
175
175
  */
176
176
  jobIdentifier: string | undefined;
177
177
  /**
178
- * Error code for the deletion failure.
178
+ * <p>The error code for the deletion failure.</p>
179
179
  * @public
180
180
  */
181
181
  code: string | undefined;
182
182
  /**
183
- * Error message describing the deletion failure.
183
+ * <p>A message describing the error.</p>
184
184
  * @public
185
185
  */
186
186
  message?: string | undefined;
187
187
  }
188
188
  /**
189
- * Batch Delete Advanced Prompt Optimization Jobs Response
189
+ * <p>Batch Delete Advanced Prompt Optimization Jobs Response</p>
190
190
  * @public
191
191
  */
192
192
  export interface BatchDeleteAdvancedPromptOptimizationJobResponse {
193
193
  /**
194
- * List of errors encountered during batch deletion.
194
+ * <p>A list of errors encountered during batch deletion.</p>
195
195
  * @public
196
196
  */
197
197
  errors: BatchDeleteAdvancedPromptOptimizationJobError[] | undefined;
198
198
  /**
199
- * List of successfully deleted advanced prompt optimization jobs.
199
+ * <p>A list of successfully deleted advanced prompt optimization jobs.</p>
200
200
  * @public
201
201
  */
202
202
  advancedPromptOptimizationJobs: BatchDeleteAdvancedPromptOptimizationJobItem[] | undefined;
203
203
  }
204
204
  /**
205
- * Inference configuration for a model.
205
+ * <p>Base inference parameters to pass to a model. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html">Inference parameters for foundation models</a>.</p>
206
206
  * @public
207
207
  */
208
208
  export interface InferenceConfiguration {
209
209
  /**
210
- * The maximum number of tokens to generate.
210
+ * <p>The maximum number of tokens to allow in the generated response. The default value is the maximum allowed value for the model that you are using.</p>
211
211
  * @public
212
212
  */
213
213
  maxTokens?: number | undefined;
214
214
  /**
215
- * The temperature for sampling.
215
+ * <p>The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.</p>
216
216
  * @public
217
217
  */
218
218
  temperature?: number | undefined;
219
219
  /**
220
- * The top-p value for nucleus sampling.
220
+ * <p>The percentage of most-likely candidates that the model considers for the next token. For example, if you choose a value of 0.8 for <code>topP</code>, the model selects from the top 80% of the probability distribution of tokens that could be next in the sequence.</p>
221
221
  * @public
222
222
  */
223
223
  topP?: number | undefined;
224
224
  /**
225
- * Stop sequences that end generation.
225
+ * <p>A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.</p>
226
226
  * @public
227
227
  */
228
228
  stopSequences?: string[] | undefined;
229
229
  }
230
230
  /**
231
- * Configuration for a model used in advanced prompt optimization.
231
+ * <p>Contains the configuration for a model used in an advanced prompt optimization job, including the model ID and inference parameters.</p>
232
232
  * @public
233
233
  */
234
234
  export interface ModelConfiguration {
235
235
  /**
236
- * The model ID.
236
+ * <p>The ID of the model to use for optimization.</p>
237
237
  * @public
238
238
  */
239
239
  modelId: string | undefined;
240
240
  /**
241
- * Inference configuration for the model.
241
+ * <p>The inference configuration for the model, including parameters such as maximum tokens, temperature, and top-p.</p>
242
242
  * @public
243
243
  */
244
244
  inferenceConfig?: InferenceConfiguration | undefined;
245
245
  /**
246
- * Additional model request fields.
246
+ * <p>Additional model request fields. Use this to pass model-specific parameters that are not included in the standard inference configuration.</p>
247
247
  * @public
248
248
  */
249
249
  additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
250
250
  }
251
251
  /**
252
- * Output data configuration for the advanced prompt optimization job.
252
+ * <p>Contains the output data configuration for an advanced prompt optimization job.</p>
253
253
  * @public
254
254
  */
255
255
  export interface AdvancedPromptOptimizationOutputConfig {
256
256
  /**
257
- * S3 URI prefix for the output location.
257
+ * <p>The S3 URI prefix where the optimization results will be written.</p>
258
258
  * @public
259
259
  */
260
260
  s3Uri: string | undefined;
@@ -276,220 +276,220 @@ export interface Tag {
276
276
  value: string | undefined;
277
277
  }
278
278
  /**
279
- * Create Advanced Prompt Optimization Job Request
279
+ * <p>Create Advanced Prompt Optimization Job Request</p>
280
280
  * @public
281
281
  */
282
282
  export interface CreateAdvancedPromptOptimizationJobRequest {
283
283
  /**
284
- * Name of the advanced prompt optimization job.
284
+ * <p>A name for the advanced prompt optimization job.</p>
285
285
  * @public
286
286
  */
287
287
  jobName: string | undefined;
288
288
  /**
289
- * Description of the advanced prompt optimization job.
289
+ * <p>A description of the advanced prompt optimization job.</p>
290
290
  * @public
291
291
  */
292
292
  jobDescription?: string | undefined;
293
293
  /**
294
- * Idempotency token for the request.
294
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.</p>
295
295
  * @public
296
296
  */
297
297
  clientToken?: string | undefined;
298
298
  /**
299
- * Input data configuration for the advanced prompt optimization job.
299
+ * <p>Specifies the S3 location of your JSONL input file containing prompt templates and evaluation samples.</p>
300
300
  * @public
301
301
  */
302
302
  inputConfig: AdvancedPromptOptimizationInputConfig | undefined;
303
303
  /**
304
- * Output data configuration for the advanced prompt optimization job.
304
+ * <p>Specifies the S3 location where optimization results will be stored.</p>
305
305
  * @public
306
306
  */
307
307
  outputConfig: AdvancedPromptOptimizationOutputConfig | undefined;
308
308
  /**
309
- * KMS key ARN for encrypting output data.
309
+ * <p>The Amazon Resource Name (ARN) of the KMS key used for encrypting the output data. If not specified, the output is encrypted with an Amazon-owned KMS key.</p>
310
310
  * @public
311
311
  */
312
312
  encryptionKeyArn?: string | undefined;
313
313
  /**
314
- * Tags to associate with the job.
314
+ * <p>Tags to associate with the advanced prompt optimization job.</p>
315
315
  * @public
316
316
  */
317
317
  tags?: Tag[] | undefined;
318
318
  /**
319
- * Model configurations for advanced prompt optimization.
319
+ * <p>A list of model configurations specifying the target models for prompt optimization. You can specify up to 5 models.</p>
320
320
  * @public
321
321
  */
322
322
  modelConfigurations: ModelConfiguration[] | undefined;
323
323
  }
324
324
  /**
325
- * Create Advanced Prompt Optimization Job Response
325
+ * <p>Create Advanced Prompt Optimization Job Response</p>
326
326
  * @public
327
327
  */
328
328
  export interface CreateAdvancedPromptOptimizationJobResponse {
329
329
  /**
330
- * ARN of the created advanced prompt optimization job.
330
+ * <p>The Amazon Resource Name (ARN) of the created advanced prompt optimization job.</p>
331
331
  * @public
332
332
  */
333
333
  jobArn: string | undefined;
334
334
  }
335
335
  /**
336
- * Get Advanced Prompt Optimization Job Request
336
+ * <p>Get Advanced Prompt Optimization Job Request</p>
337
337
  * @public
338
338
  */
339
339
  export interface GetAdvancedPromptOptimizationJobRequest {
340
340
  /**
341
- * ARN or ID of the advanced prompt optimization job.
341
+ * <p>The ARN or ID of the advanced prompt optimization job.</p>
342
342
  * @public
343
343
  */
344
344
  jobIdentifier: string | undefined;
345
345
  }
346
346
  /**
347
- * Get Advanced Prompt Optimization Job Response
347
+ * <p>Get Advanced Prompt Optimization Job Response</p>
348
348
  * @public
349
349
  */
350
350
  export interface GetAdvancedPromptOptimizationJobResponse {
351
351
  /**
352
- * ARN of the advanced prompt optimization job.
352
+ * <p>The Amazon Resource Name (ARN) of the advanced prompt optimization job.</p>
353
353
  * @public
354
354
  */
355
355
  jobArn: string | undefined;
356
356
  /**
357
- * Name of the advanced prompt optimization job.
357
+ * <p>The name of the advanced prompt optimization job.</p>
358
358
  * @public
359
359
  */
360
360
  jobName: string | undefined;
361
361
  /**
362
- * Description of the advanced prompt optimization job.
362
+ * <p>The description of the advanced prompt optimization job.</p>
363
363
  * @public
364
364
  */
365
365
  jobDescription?: string | undefined;
366
366
  /**
367
- * Status of the advanced prompt optimization job.
367
+ * <p>The status of the advanced prompt optimization job.</p>
368
368
  * @public
369
369
  */
370
370
  jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
371
371
  /**
372
- * Input data configuration for the advanced prompt optimization job.
372
+ * <p>The input data configuration for the optimization job.</p>
373
373
  * @public
374
374
  */
375
375
  inputConfig: AdvancedPromptOptimizationInputConfig | undefined;
376
376
  /**
377
- * Output data configuration for the advanced prompt optimization job.
377
+ * <p>The output data configuration for the optimization job.</p>
378
378
  * @public
379
379
  */
380
380
  outputConfig: AdvancedPromptOptimizationOutputConfig | undefined;
381
381
  /**
382
- * KMS key ARN used for encrypting output data.
382
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the output data.</p>
383
383
  * @public
384
384
  */
385
385
  encryptionKeyArn?: string | undefined;
386
386
  /**
387
- * Creation time of the advanced prompt optimization job.
387
+ * <p>The time at which the advanced prompt optimization job was created.</p>
388
388
  * @public
389
389
  */
390
390
  creationTime: Date | undefined;
391
391
  /**
392
- * Last modified time of the advanced prompt optimization job.
392
+ * <p>The time at which the advanced prompt optimization job was last modified.</p>
393
393
  * @public
394
394
  */
395
395
  lastModifiedTime?: Date | undefined;
396
396
  /**
397
- * Failure message if the advanced prompt optimization job failed.
397
+ * <p>If the job failed, a message describing the reason for the failure.</p>
398
398
  * @public
399
399
  */
400
400
  failureMessage?: string | undefined;
401
401
  /**
402
- * Model configurations for advanced prompt optimization.
402
+ * <p>The model configurations used in the optimization job.</p>
403
403
  * @public
404
404
  */
405
405
  modelConfigurations: ModelConfiguration[] | undefined;
406
406
  }
407
407
  /**
408
- * List Advanced Prompt Optimization Jobs Request
408
+ * <p>List Advanced Prompt Optimization Jobs Request</p>
409
409
  * @public
410
410
  */
411
411
  export interface ListAdvancedPromptOptimizationJobsRequest {
412
412
  /**
413
- * Maximum number of results to return.
413
+ * <p>The maximum number of results to return in the response.</p>
414
414
  * @public
415
415
  */
416
416
  maxResults?: number | undefined;
417
417
  /**
418
- * Pagination token for the next page of results.
418
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token in a subsequent request to get the next set of results.</p>
419
419
  * @public
420
420
  */
421
421
  nextToken?: string | undefined;
422
422
  /**
423
- * Field to sort by in the returned list of jobs.
423
+ * <p>The field to sort the results by.</p>
424
424
  * @public
425
425
  */
426
426
  sortBy?: SortJobsBy | undefined;
427
427
  /**
428
- * Sort order for the results.
428
+ * <p>The sort order for the results.</p>
429
429
  * @public
430
430
  */
431
431
  sortOrder?: SortOrder | undefined;
432
432
  }
433
433
  /**
434
- * Summary of an advanced prompt optimization job.
434
+ * <p>Contains a summary of an advanced prompt optimization job.</p>
435
435
  * @public
436
436
  */
437
437
  export interface AdvancedPromptOptimizationJobSummary {
438
438
  /**
439
- * ARN of the advanced prompt optimization job.
439
+ * <p>The Amazon Resource Name (ARN) of the job.</p>
440
440
  * @public
441
441
  */
442
442
  jobArn: string | undefined;
443
443
  /**
444
- * Name of the advanced prompt optimization job.
444
+ * <p>The name of the job.</p>
445
445
  * @public
446
446
  */
447
447
  jobName: string | undefined;
448
448
  /**
449
- * Status of the advanced prompt optimization job.
449
+ * <p>The status of the job.</p>
450
450
  * @public
451
451
  */
452
452
  jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
453
453
  /**
454
- * Creation time of the advanced prompt optimization job.
454
+ * <p>The time at which the job was created.</p>
455
455
  * @public
456
456
  */
457
457
  creationTime: Date | undefined;
458
458
  /**
459
- * Last modified time of the advanced prompt optimization job.
459
+ * <p>The time at which the job was last modified.</p>
460
460
  * @public
461
461
  */
462
462
  lastModifiedTime?: Date | undefined;
463
463
  }
464
464
  /**
465
- * List Advanced Prompt Optimization Jobs Response
465
+ * <p>List Advanced Prompt Optimization Jobs Response</p>
466
466
  * @public
467
467
  */
468
468
  export interface ListAdvancedPromptOptimizationJobsResponse {
469
469
  /**
470
- * List of advanced prompt optimization job summaries.
470
+ * <p>A list of advanced prompt optimization job summaries.</p>
471
471
  * @public
472
472
  */
473
473
  jobSummaries?: AdvancedPromptOptimizationJobSummary[] | undefined;
474
474
  /**
475
- * Pagination token for the next page of results.
475
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token in a subsequent request to get the next set of results.</p>
476
476
  * @public
477
477
  */
478
478
  nextToken?: string | undefined;
479
479
  }
480
480
  /**
481
- * Stop Advanced Prompt Optimization Job Request
481
+ * <p>Stop Advanced Prompt Optimization Job Request</p>
482
482
  * @public
483
483
  */
484
484
  export interface StopAdvancedPromptOptimizationJobRequest {
485
485
  /**
486
- * ARN or ID of the advanced prompt optimization job to stop.
486
+ * <p>The ARN or ID of the advanced prompt optimization job to stop.</p>
487
487
  * @public
488
488
  */
489
489
  jobIdentifier: string | undefined;
490
490
  }
491
491
  /**
492
- * Stop Advanced Prompt Optimization Job Response
492
+ * <p>Stop Advanced Prompt Optimization Job Response</p>
493
493
  * @public
494
494
  */
495
495
  export interface StopAdvancedPromptOptimizationJobResponse {
@@ -4615,6 +4615,50 @@ export interface UpdateCustomModelDeploymentResponse {
4615
4615
  */
4616
4616
  customModelDeploymentArn: string | undefined;
4617
4617
  }
4618
+ /**
4619
+ * <p>Contains the Amazon Resource Name (ARN) of a SageMaker AI model package to use as the data source for a custom model.</p>
4620
+ * @public
4621
+ */
4622
+ export interface ModelPackageArnDataSource {
4623
+ /**
4624
+ * <p>The Amazon Resource Name (ARN) of the SageMaker AI model package. The ARN must be for a model package of <code>restricted</code> type.</p> <p>To use a model package ARN, you must have the <code>sagemaker:DescribeModelPackage</code> and <code>sagemaker:AccessModelPackageData</code> permissions on the model package resource.</p>
4625
+ * @public
4626
+ */
4627
+ modelPackageArn: string | undefined;
4628
+ }
4629
+ /**
4630
+ * <p>The data source for a custom model. This is a union type that supports the following member:</p> <ul> <li> <p> <code>modelPackageArnDataSource</code> — Specifies a SageMaker AI model package as the data source.</p> </li> </ul>
4631
+ * @public
4632
+ */
4633
+ export type CustomModelDataSource = CustomModelDataSource.ModelPackageArnDataSourceMember | CustomModelDataSource.$UnknownMember;
4634
+ /**
4635
+ * @public
4636
+ */
4637
+ export declare namespace CustomModelDataSource {
4638
+ /**
4639
+ * <p>A SageMaker AI model package ARN as the data source for the custom model. When you specify a model package ARN, Amazon Bedrock resolves the model package to retrieve the model artifacts.</p>
4640
+ * @public
4641
+ */
4642
+ interface ModelPackageArnDataSourceMember {
4643
+ modelPackageArnDataSource: ModelPackageArnDataSource;
4644
+ $unknown?: never;
4645
+ }
4646
+ /**
4647
+ * @public
4648
+ */
4649
+ interface $UnknownMember {
4650
+ modelPackageArnDataSource?: never;
4651
+ $unknown: [string, any];
4652
+ }
4653
+ /**
4654
+ * @deprecated unused in schema-serde mode.
4655
+ *
4656
+ */
4657
+ interface Visitor<T> {
4658
+ modelPackageArnDataSource: (value: ModelPackageArnDataSource) => T;
4659
+ _: (name: string, value: any) => T;
4660
+ }
4661
+ }
4618
4662
  /**
4619
4663
  * <p>The Amazon S3 data source of the model to import. </p>
4620
4664
  * @public
@@ -4672,14 +4716,19 @@ export interface CreateCustomModelRequest {
4672
4716
  * <p>The data source for the model. The Amazon S3 URI in the model source must be for the Amazon-managed Amazon S3 bucket containing your model artifacts.</p>
4673
4717
  * @public
4674
4718
  */
4675
- modelSourceConfig: ModelDataSource | undefined;
4719
+ modelSourceConfig?: ModelDataSource | undefined;
4720
+ /**
4721
+ * <p>The data source for the custom model. Use this field to specify a SageMaker AI model package ARN as the source for your custom model. Amazon Bedrock resolves the model package to retrieve the model artifacts.</p> <p>You can specify either <code>customModelDataSource</code> or <code>modelSourceConfig</code>, but not both.</p>
4722
+ * @public
4723
+ */
4724
+ customModelDataSource?: CustomModelDataSource | undefined;
4676
4725
  /**
4677
4726
  * <p>The Amazon Resource Name (ARN) of the customer managed KMS key to encrypt the custom model. If you don't provide a KMS key, Amazon Bedrock uses an Amazon Web Services-managed KMS key to encrypt the model. </p> <p>If you provide a customer managed KMS key, your Amazon Bedrock service role must have permissions to use it. For more information see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/encryption-import-model.html">Encryption of imported models</a>. </p>
4678
4727
  * @public
4679
4728
  */
4680
4729
  modelKmsKeyArn?: string | undefined;
4681
4730
  /**
4682
- * <p>The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock assumes to perform tasks on your behalf. This role must have permissions to access the Amazon S3 bucket containing your model artifacts and the KMS key (if specified). For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-import-iam-role.html">Setting up an IAM service role for importing models</a> in the Amazon Bedrock User Guide.</p>
4731
+ * <p>The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock assumes to perform tasks on your behalf. This role must have permissions to access the Amazon S3 bucket containing your model artifacts and the KMS key (if specified). For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-import-iam-role.html">Setting up an IAM service role for importing models</a> in the Amazon Bedrock User Guide.</p> <p>This field is required when you use <code>modelSourceConfig</code> with an Amazon S3 data source. It is not required when you use <code>customModelDataSource</code> with a model package ARN, because Amazon Bedrock uses its own credentials to access the model artifacts.</p>
4683
4732
  * @public
4684
4733
  */
4685
4734
  roleArn?: string | undefined;
@@ -6949,65 +6998,3 @@ export interface GuardrailTopicPolicyConfig {
6949
6998
  */
6950
6999
  tierConfig?: GuardrailTopicsTierConfig | undefined;
6951
7000
  }
6952
- /**
6953
- * <p>The managed word list to configure for the guardrail.</p>
6954
- * @public
6955
- */
6956
- export interface GuardrailManagedWordsConfig {
6957
- /**
6958
- * <p>The managed word type to configure for the guardrail.</p>
6959
- * @public
6960
- */
6961
- type: GuardrailManagedWordsType | undefined;
6962
- /**
6963
- * <p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
6964
- * @public
6965
- */
6966
- inputAction?: GuardrailWordAction | undefined;
6967
- /**
6968
- * <p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
6969
- * @public
6970
- */
6971
- outputAction?: GuardrailWordAction | undefined;
6972
- /**
6973
- * <p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
6974
- * @public
6975
- */
6976
- inputEnabled?: boolean | undefined;
6977
- /**
6978
- * <p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
6979
- * @public
6980
- */
6981
- outputEnabled?: boolean | undefined;
6982
- }
6983
- /**
6984
- * <p>A word to configure for the guardrail.</p>
6985
- * @public
6986
- */
6987
- export interface GuardrailWordConfig {
6988
- /**
6989
- * <p>Text of the word configured for the guardrail to block.</p>
6990
- * @public
6991
- */
6992
- text: string | undefined;
6993
- /**
6994
- * <p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
6995
- * @public
6996
- */
6997
- inputAction?: GuardrailWordAction | undefined;
6998
- /**
6999
- * <p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
7000
- * @public
7001
- */
7002
- outputAction?: GuardrailWordAction | undefined;
7003
- /**
7004
- * <p>Specifies whether to enable guardrail evaluation on the intput. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
7005
- * @public
7006
- */
7007
- inputEnabled?: boolean | undefined;
7008
- /**
7009
- * <p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
7010
- * @public
7011
- */
7012
- outputEnabled?: boolean | undefined;
7013
- }
@@ -1,5 +1,67 @@
1
1
  import type { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelInvocationType, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
2
- import type { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentPolicyConfig, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailManagedWordsConfig, GuardrailSensitiveInformationPolicyConfig, GuardrailTopicPolicyConfig, GuardrailWordConfig, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
2
+ import type { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentPolicyConfig, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailSensitiveInformationPolicyConfig, GuardrailTopicPolicyConfig, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
3
+ /**
4
+ * <p>The managed word list to configure for the guardrail.</p>
5
+ * @public
6
+ */
7
+ export interface GuardrailManagedWordsConfig {
8
+ /**
9
+ * <p>The managed word type to configure for the guardrail.</p>
10
+ * @public
11
+ */
12
+ type: GuardrailManagedWordsType | undefined;
13
+ /**
14
+ * <p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
15
+ * @public
16
+ */
17
+ inputAction?: GuardrailWordAction | undefined;
18
+ /**
19
+ * <p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
20
+ * @public
21
+ */
22
+ outputAction?: GuardrailWordAction | undefined;
23
+ /**
24
+ * <p>Specifies whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
25
+ * @public
26
+ */
27
+ inputEnabled?: boolean | undefined;
28
+ /**
29
+ * <p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
30
+ * @public
31
+ */
32
+ outputEnabled?: boolean | undefined;
33
+ }
34
+ /**
35
+ * <p>A word to configure for the guardrail.</p>
36
+ * @public
37
+ */
38
+ export interface GuardrailWordConfig {
39
+ /**
40
+ * <p>Text of the word configured for the guardrail to block.</p>
41
+ * @public
42
+ */
43
+ text: string | undefined;
44
+ /**
45
+ * <p>Specifies the action to take when harmful content is detected in the input. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
46
+ * @public
47
+ */
48
+ inputAction?: GuardrailWordAction | undefined;
49
+ /**
50
+ * <p>Specifies the action to take when harmful content is detected in the output. Supported values include:</p> <ul> <li> <p> <code>BLOCK</code> – Block the content and replace it with blocked messaging.</p> </li> <li> <p> <code>NONE</code> – Take no action but return detection information in the trace response.</p> </li> </ul>
51
+ * @public
52
+ */
53
+ outputAction?: GuardrailWordAction | undefined;
54
+ /**
55
+ * <p>Specifies whether to enable guardrail evaluation on the intput. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
56
+ * @public
57
+ */
58
+ inputEnabled?: boolean | undefined;
59
+ /**
60
+ * <p>Specifies whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.</p>
61
+ * @public
62
+ */
63
+ outputEnabled?: boolean | undefined;
64
+ }
3
65
  /**
4
66
  * <p>Contains details about the word policy to configured for the guardrail.</p>
5
67
  * @public
@@ -371,6 +371,7 @@ export declare var ModelImportJobSummary$: StaticStructureSchema;
371
371
  export declare var ModelInvocationJobS3InputDataConfig$: StaticStructureSchema;
372
372
  export declare var ModelInvocationJobS3OutputDataConfig$: StaticStructureSchema;
373
373
  export declare var ModelInvocationJobSummary$: StaticStructureSchema;
374
+ export declare var ModelPackageArnDataSource$: StaticStructureSchema;
374
375
  export declare var Offer$: StaticStructureSchema;
375
376
  export declare var OrchestrationConfiguration$: StaticStructureSchema;
376
377
  export declare var OutputDataConfig$: StaticStructureSchema;
@@ -463,6 +464,7 @@ export declare var AutomatedReasoningPolicyMutation$: StaticUnionSchema;
463
464
  export declare var AutomatedReasoningPolicyTypeValueAnnotation$: StaticUnionSchema;
464
465
  export declare var AutomatedReasoningPolicyWorkflowTypeContent$: StaticUnionSchema;
465
466
  export declare var CustomizationConfig$: StaticUnionSchema;
467
+ export declare var CustomModelDataSource$: StaticUnionSchema;
466
468
  export declare var EndpointConfig$: StaticUnionSchema;
467
469
  export declare var EvaluationConfig$: StaticUnionSchema;
468
470
  export declare var EvaluationDatasetLocation$: StaticUnionSchema;
@@ -28,14 +28,12 @@ import {
28
28
  GuardrailContextualGroundingAction,
29
29
  GuardrailContextualGroundingFilterType,
30
30
  GuardrailFilterStrength,
31
- GuardrailManagedWordsType,
32
31
  GuardrailModality,
33
32
  GuardrailPiiEntityType,
34
33
  GuardrailSensitiveInformationAction,
35
34
  GuardrailTopicAction,
36
35
  GuardrailTopicsTierName,
37
36
  GuardrailTopicType,
38
- GuardrailWordAction,
39
37
  InputTags,
40
38
  ModelStatus,
41
39
  PerformanceConfigLatency,
@@ -1761,6 +1759,26 @@ export interface UpdateCustomModelDeploymentRequest {
1761
1759
  export interface UpdateCustomModelDeploymentResponse {
1762
1760
  customModelDeploymentArn: string | undefined;
1763
1761
  }
1762
+ export interface ModelPackageArnDataSource {
1763
+ modelPackageArn: string | undefined;
1764
+ }
1765
+ export type CustomModelDataSource =
1766
+ | CustomModelDataSource.ModelPackageArnDataSourceMember
1767
+ | CustomModelDataSource.$UnknownMember;
1768
+ export declare namespace CustomModelDataSource {
1769
+ interface ModelPackageArnDataSourceMember {
1770
+ modelPackageArnDataSource: ModelPackageArnDataSource;
1771
+ $unknown?: never;
1772
+ }
1773
+ interface $UnknownMember {
1774
+ modelPackageArnDataSource?: never;
1775
+ $unknown: [string, any];
1776
+ }
1777
+ interface Visitor<T> {
1778
+ modelPackageArnDataSource: (value: ModelPackageArnDataSource) => T;
1779
+ _: (name: string, value: any) => T;
1780
+ }
1781
+ }
1764
1782
  export interface S3DataSource {
1765
1783
  s3Uri: string | undefined;
1766
1784
  }
@@ -1783,7 +1801,8 @@ export declare namespace ModelDataSource {
1783
1801
  }
1784
1802
  export interface CreateCustomModelRequest {
1785
1803
  modelName: string | undefined;
1786
- modelSourceConfig: ModelDataSource | undefined;
1804
+ modelSourceConfig?: ModelDataSource | undefined;
1805
+ customModelDataSource?: CustomModelDataSource | undefined;
1787
1806
  modelKmsKeyArn?: string | undefined;
1788
1807
  roleArn?: string | undefined;
1789
1808
  modelTags?: Tag[] | undefined;
@@ -2519,17 +2538,3 @@ export interface GuardrailTopicPolicyConfig {
2519
2538
  topicsConfig: GuardrailTopicConfig[] | undefined;
2520
2539
  tierConfig?: GuardrailTopicsTierConfig | undefined;
2521
2540
  }
2522
- export interface GuardrailManagedWordsConfig {
2523
- type: GuardrailManagedWordsType | undefined;
2524
- inputAction?: GuardrailWordAction | undefined;
2525
- outputAction?: GuardrailWordAction | undefined;
2526
- inputEnabled?: boolean | undefined;
2527
- outputEnabled?: boolean | undefined;
2528
- }
2529
- export interface GuardrailWordConfig {
2530
- text: string | undefined;
2531
- inputAction?: GuardrailWordAction | undefined;
2532
- outputAction?: GuardrailWordAction | undefined;
2533
- inputEnabled?: boolean | undefined;
2534
- outputEnabled?: boolean | undefined;
2535
- }
@@ -61,10 +61,8 @@ import {
61
61
  GuardrailContentPolicyConfig,
62
62
  GuardrailContextualGroundingPolicyConfig,
63
63
  GuardrailCrossRegionConfig,
64
- GuardrailManagedWordsConfig,
65
64
  GuardrailSensitiveInformationPolicyConfig,
66
65
  GuardrailTopicPolicyConfig,
67
- GuardrailWordConfig,
68
66
  ImplicitFilterConfiguration,
69
67
  ModelDataSource,
70
68
  OrchestrationConfiguration,
@@ -77,6 +75,20 @@ import {
77
75
  VectorSearchRerankingConfiguration,
78
76
  VpcConfig,
79
77
  } from "./models_0";
78
+ export interface GuardrailManagedWordsConfig {
79
+ type: GuardrailManagedWordsType | undefined;
80
+ inputAction?: GuardrailWordAction | undefined;
81
+ outputAction?: GuardrailWordAction | undefined;
82
+ inputEnabled?: boolean | undefined;
83
+ outputEnabled?: boolean | undefined;
84
+ }
85
+ export interface GuardrailWordConfig {
86
+ text: string | undefined;
87
+ inputAction?: GuardrailWordAction | undefined;
88
+ outputAction?: GuardrailWordAction | undefined;
89
+ inputEnabled?: boolean | undefined;
90
+ outputEnabled?: boolean | undefined;
91
+ }
80
92
  export interface GuardrailWordPolicyConfig {
81
93
  wordsConfig?: GuardrailWordConfig[] | undefined;
82
94
  managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
@@ -371,6 +371,7 @@ export declare var ModelImportJobSummary$: StaticStructureSchema;
371
371
  export declare var ModelInvocationJobS3InputDataConfig$: StaticStructureSchema;
372
372
  export declare var ModelInvocationJobS3OutputDataConfig$: StaticStructureSchema;
373
373
  export declare var ModelInvocationJobSummary$: StaticStructureSchema;
374
+ export declare var ModelPackageArnDataSource$: StaticStructureSchema;
374
375
  export declare var Offer$: StaticStructureSchema;
375
376
  export declare var OrchestrationConfiguration$: StaticStructureSchema;
376
377
  export declare var OutputDataConfig$: StaticStructureSchema;
@@ -463,6 +464,7 @@ export declare var AutomatedReasoningPolicyMutation$: StaticUnionSchema;
463
464
  export declare var AutomatedReasoningPolicyTypeValueAnnotation$: StaticUnionSchema;
464
465
  export declare var AutomatedReasoningPolicyWorkflowTypeContent$: StaticUnionSchema;
465
466
  export declare var CustomizationConfig$: StaticUnionSchema;
467
+ export declare var CustomModelDataSource$: StaticUnionSchema;
466
468
  export declare var EndpointConfig$: StaticUnionSchema;
467
469
  export declare var EvaluationConfig$: StaticUnionSchema;
468
470
  export declare var EvaluationDatasetLocation$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
3
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
4
- "version": "3.1054.0",
4
+ "version": "3.1056.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock",
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.14",
25
- "@aws-sdk/credential-provider-node": "^3.972.45",
26
- "@aws-sdk/token-providers": "3.1054.0",
24
+ "@aws-sdk/core": "^3.974.15",
25
+ "@aws-sdk/credential-provider-node": "^3.972.46",
26
+ "@aws-sdk/token-providers": "3.1056.0",
27
27
  "@aws-sdk/types": "^3.973.9",
28
- "@smithy/core": "^3.24.3",
29
- "@smithy/fetch-http-handler": "^5.4.3",
30
- "@smithy/node-http-handler": "^4.7.3",
28
+ "@smithy/core": "^3.24.5",
29
+ "@smithy/fetch-http-handler": "^5.4.5",
30
+ "@smithy/node-http-handler": "^4.7.5",
31
31
  "@smithy/types": "^4.14.2",
32
32
  "tslib": "^2.6.2"
33
33
  },