@aws-sdk/client-bedrock 3.1003.0 → 3.1005.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/schemas/schemas_0.js +21 -9
- package/dist-es/schemas/schemas_0.js +15 -4
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +3 -0
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +8 -0
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +26 -11
- package/dist-types/models/models_1.d.ts +13 -2
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -3
- package/dist-types/ts3.4/models/models_1.d.ts +4 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +12 -12
|
@@ -6,11 +6,12 @@ exports.DeleteCustomModelDeploymentRequest$ = exports.DeleteAutomatedReasoningPo
|
|
|
6
6
|
exports.GetAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.GetAutomatedReasoningPolicyAnnotationsResponse$ = exports.GetAutomatedReasoningPolicyAnnotationsRequest$ = exports.GenerationConfiguration$ = exports.FoundationModelSummary$ = exports.FoundationModelLifecycle$ = exports.FoundationModelDetails$ = exports.FilterAttribute$ = exports.FieldForReranking$ = exports.ExternalSourcesRetrieveAndGenerateConfiguration$ = exports.ExternalSourcesGenerationConfiguration$ = exports.ExternalSource$ = exports.ExportAutomatedReasoningPolicyVersionResponse$ = exports.ExportAutomatedReasoningPolicyVersionRequest$ = exports.EvaluationSummary$ = exports.EvaluationRagConfigSummary$ = exports.EvaluationPrecomputedRetrieveSourceConfig$ = exports.EvaluationPrecomputedRetrieveAndGenerateSourceConfig$ = exports.EvaluationPrecomputedInferenceSource$ = exports.EvaluationOutputDataConfig$ = exports.EvaluationModelConfigSummary$ = exports.EvaluationInferenceConfigSummary$ = exports.EvaluationDatasetMetricConfig$ = exports.EvaluationDataset$ = exports.EvaluationBedrockModel$ = exports.DistillationConfig$ = exports.DimensionalPriceRate$ = exports.DeregisterMarketplaceModelEndpointResponse$ = exports.DeregisterMarketplaceModelEndpointRequest$ = exports.DeleteProvisionedModelThroughputResponse$ = exports.DeleteProvisionedModelThroughputRequest$ = exports.DeletePromptRouterResponse$ = exports.DeletePromptRouterRequest$ = exports.DeleteModelInvocationLoggingConfigurationResponse$ = exports.DeleteModelInvocationLoggingConfigurationRequest$ = exports.DeleteMarketplaceModelEndpointResponse$ = exports.DeleteMarketplaceModelEndpointRequest$ = exports.DeleteInferenceProfileResponse$ = exports.DeleteInferenceProfileRequest$ = exports.DeleteImportedModelResponse$ = exports.DeleteImportedModelRequest$ = exports.DeleteGuardrailResponse$ = exports.DeleteGuardrailRequest$ = exports.DeleteFoundationModelAgreementResponse$ = exports.DeleteFoundationModelAgreementRequest$ = exports.DeleteEnforcedGuardrailConfigurationResponse$ = exports.DeleteEnforcedGuardrailConfigurationRequest$ = exports.DeleteCustomModelResponse$ = exports.DeleteCustomModelRequest$ = exports.DeleteCustomModelDeploymentResponse$ = void 0;
|
|
7
7
|
exports.GuardrailContentFilterConfig$ = exports.GuardrailContentFilter$ = exports.GuardrailConfiguration$ = exports.GuardrailAutomatedReasoningPolicyConfig$ = exports.GuardrailAutomatedReasoningPolicy$ = exports.GetUseCaseForModelAccessResponse$ = exports.GetUseCaseForModelAccessRequest$ = exports.GetProvisionedModelThroughputResponse$ = exports.GetProvisionedModelThroughputRequest$ = exports.GetPromptRouterResponse$ = exports.GetPromptRouterRequest$ = exports.GetModelInvocationLoggingConfigurationResponse$ = exports.GetModelInvocationLoggingConfigurationRequest$ = 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$ = void 0;
|
|
8
8
|
exports.ListAutomatedReasoningPolicyTestResultsRequest$ = exports.ListAutomatedReasoningPolicyTestCasesResponse$ = exports.ListAutomatedReasoningPolicyTestCasesRequest$ = exports.ListAutomatedReasoningPolicyBuildWorkflowsResponse$ = exports.ListAutomatedReasoningPolicyBuildWorkflowsRequest$ = exports.ListAutomatedReasoningPoliciesResponse$ = exports.ListAutomatedReasoningPoliciesRequest$ = exports.LegalTerm$ = exports.LambdaGraderConfig$ = exports.KnowledgeBaseVectorSearchConfiguration$ = exports.KnowledgeBaseRetrieveAndGenerateConfiguration$ = exports.KnowledgeBaseRetrievalConfiguration$ = exports.KbInferenceConfig$ = exports.InvocationLogsConfig$ = exports.InferenceProfileSummary$ = exports.InferenceProfileModel$ = 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$ = void 0;
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
9
|
+
exports.OutputDataConfig$ = exports.OrchestrationConfiguration$ = exports.Offer$ = exports.ModelInvocationJobSummary$ = exports.ModelInvocationJobS3OutputDataConfig$ = exports.ModelInvocationJobS3InputDataConfig$ = exports.ModelImportJobSummary$ = exports.ModelEnforcement$ = exports.ModelCustomizationJobSummary$ = exports.ModelCopyJobSummary$ = exports.MetadataConfigurationForReranking$ = exports.MetadataAttributeSchema$ = exports.MarketplaceModelEndpointSummary$ = exports.MarketplaceModelEndpoint$ = exports.LoggingConfig$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListProvisionedModelThroughputsResponse$ = 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$ = void 0;
|
|
10
|
+
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.StatusDetails$ = exports.StartAutomatedReasoningPolicyTestWorkflowResponse$ = exports.StartAutomatedReasoningPolicyTestWorkflowRequest$ = exports.StartAutomatedReasoningPolicyBuildWorkflowResponse$ = exports.StartAutomatedReasoningPolicyBuildWorkflowRequest$ = 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.PutModelInvocationLoggingConfigurationResponse$ = exports.PutModelInvocationLoggingConfigurationRequest$ = exports.PutEnforcedGuardrailConfigurationResponse$ = exports.PutEnforcedGuardrailConfigurationRequest$ = exports.ProvisionedModelSummary$ = exports.PromptTemplate$ = exports.PromptRouterTargetModel$ = exports.PromptRouterSummary$ = exports.PricingTerm$ = exports.PerformanceConfiguration$ = void 0;
|
|
11
|
+
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$ = 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$ = void 0;
|
|
12
|
+
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.ExportAutomatedReasoningPolicyVersion$ = exports.DeregisterMarketplaceModelEndpoint$ = 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$ = 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.CancelAutomatedReasoningPolicyBuildWorkflow$ = exports.BatchDeleteEvaluationJob$ = exports.RetrievalFilter$ = exports.RerankingMetadataSelectiveModeConfiguration$ = exports.RequestMetadataFilters$ = void 0;
|
|
13
|
+
exports.UpdateMarketplaceModelEndpoint$ = exports.UpdateGuardrail$ = exports.UpdateCustomModelDeployment$ = exports.UpdateAutomatedReasoningPolicyTestCase$ = exports.UpdateAutomatedReasoningPolicyAnnotations$ = exports.UpdateAutomatedReasoningPolicy$ = exports.UntagResource$ = exports.TagResource$ = exports.StopModelInvocationJob$ = exports.StopModelCustomizationJob$ = exports.StopEvaluationJob$ = exports.StartAutomatedReasoningPolicyTestWorkflow$ = exports.StartAutomatedReasoningPolicyBuildWorkflow$ = exports.RegisterMarketplaceModelEndpoint$ = exports.PutUseCaseForModelAccess$ = 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$ = exports.ListCustomModels$ = exports.ListCustomModelDeployments$ = exports.ListAutomatedReasoningPolicyTestResults$ = exports.ListAutomatedReasoningPolicyTestCases$ = exports.ListAutomatedReasoningPolicyBuildWorkflows$ = exports.ListAutomatedReasoningPolicies$ = exports.GetUseCaseForModelAccess$ = exports.GetProvisionedModelThroughput$ = exports.GetPromptRouter$ = exports.GetModelInvocationLoggingConfiguration$ = exports.GetModelInvocationJob$ = exports.GetModelImportJob$ = exports.GetModelCustomizationJob$ = exports.GetModelCopyJob$ = exports.GetMarketplaceModelEndpoint$ = exports.GetInferenceProfile$ = exports.GetImportedModel$ = exports.GetGuardrail$ = void 0;
|
|
14
|
+
exports.UpdateProvisionedModelThroughput$ = void 0;
|
|
14
15
|
const _AA = "AgreementAvailability";
|
|
15
16
|
const _ADE = "AccessDeniedException";
|
|
16
17
|
const _AEC = "AutomatedEvaluationConfig";
|
|
@@ -576,6 +577,7 @@ const _MCJSo = "ModelCustomizationJobSummary";
|
|
|
576
577
|
const _MCJSod = "ModelCopyJobSummaries";
|
|
577
578
|
const _MCJSode = "ModelCustomizationJobSummaries";
|
|
578
579
|
const _MDS = "ModelDataSource";
|
|
580
|
+
const _ME = "ModelEnforcement";
|
|
579
581
|
const _MIJIDC = "ModelInvocationJobInputDataConfig";
|
|
580
582
|
const _MIJODC = "ModelInvocationJobOutputDataConfig";
|
|
581
583
|
const _MIJS = "ModelImportJobSummary";
|
|
@@ -857,6 +859,7 @@ const _eJ = "evaluationJobs";
|
|
|
857
859
|
const _eM = "errorMessage";
|
|
858
860
|
const _eMC = "evaluatorModelConfig";
|
|
859
861
|
const _eMI = "evaluatorModelIdentifiers";
|
|
862
|
+
const _eMx = "excludedModels";
|
|
860
863
|
const _eN = "endpointName";
|
|
861
864
|
const _eOLT = "endOfLifeTime";
|
|
862
865
|
const _eR = "expectedResult";
|
|
@@ -937,6 +940,7 @@ const _iMKKI = "importedModelKmsKeyId";
|
|
|
937
940
|
const _iMN = "importedModelName";
|
|
938
941
|
const _iMT = "importedModelTags";
|
|
939
942
|
const _iMTn = "inferenceMaxTokens";
|
|
943
|
+
const _iMn = "includedModels";
|
|
940
944
|
const _iO = "isOwned";
|
|
941
945
|
const _iP = "inferenceParams";
|
|
942
946
|
const _iPA = "inferenceProfileArn";
|
|
@@ -1013,6 +1017,7 @@ const _mD = "modelDetails";
|
|
|
1013
1017
|
const _mDN = "modelDeploymentName";
|
|
1014
1018
|
const _mDS = "modelDataSource";
|
|
1015
1019
|
const _mDSo = "modelDeploymentSummaries";
|
|
1020
|
+
const _mE = "modelEnforcement";
|
|
1016
1021
|
const _mI = "modelIdentifier";
|
|
1017
1022
|
const _mIJS = "modelImportJobSummaries";
|
|
1018
1023
|
const _mIT = "modelInvocationType";
|
|
@@ -1412,13 +1417,13 @@ var PromptRouterDescription = [0, n0, _PRD, 8, 0];
|
|
|
1412
1417
|
var TextPromptTemplate = [0, n0, _TPT, 8, 0];
|
|
1413
1418
|
exports.AccountEnforcedGuardrailInferenceInputConfiguration$ = [3, n0, _AEGIIC,
|
|
1414
1419
|
0,
|
|
1415
|
-
[_gI, _gV, _iT],
|
|
1416
|
-
[0, 0, 0], 3
|
|
1420
|
+
[_gI, _gV, _iT, _mE],
|
|
1421
|
+
[0, 0, 0, () => exports.ModelEnforcement$], 3
|
|
1417
1422
|
];
|
|
1418
1423
|
exports.AccountEnforcedGuardrailOutputConfiguration$ = [3, n0, _AEGOC,
|
|
1419
1424
|
0,
|
|
1420
|
-
[_cI, _gA, _gIu, _iT, _gV, _cA, _cB, _uA, _uB, _o],
|
|
1421
|
-
[0, 0, 0, 0, 0, 5, 0, 5, 0, 0]
|
|
1425
|
+
[_cI, _gA, _gIu, _iT, _gV, _cA, _cB, _uA, _uB, _o, _mE],
|
|
1426
|
+
[0, 0, 0, 0, 0, 5, 0, 5, 0, 0, () => exports.ModelEnforcement$]
|
|
1422
1427
|
];
|
|
1423
1428
|
exports.AgreementAvailability$ = [3, n0, _AA,
|
|
1424
1429
|
0,
|
|
@@ -3060,6 +3065,11 @@ exports.ModelCustomizationJobSummary$ = [3, n0, _MCJSo,
|
|
|
3060
3065
|
[_jA, _bMA, _jN, _st, _cTr, _sD, _lMT, _eT, _cMA, _cMN, _cTu],
|
|
3061
3066
|
[0, 0, 0, 0, 5, () => exports.StatusDetails$, 5, 5, 0, 0, 0], 5
|
|
3062
3067
|
];
|
|
3068
|
+
exports.ModelEnforcement$ = [3, n0, _ME,
|
|
3069
|
+
0,
|
|
3070
|
+
[_iMn, _eMx],
|
|
3071
|
+
[64 | 0, 64 | 0], 2
|
|
3072
|
+
];
|
|
3063
3073
|
exports.ModelImportJobSummary$ = [3, n0, _MIJS,
|
|
3064
3074
|
0,
|
|
3065
3075
|
[_jA, _jN, _st, _cTr, _lMT, _eT, _iMA, _iMN],
|
|
@@ -3650,6 +3660,7 @@ var EvaluationSummaries = [1, n0, _ESv,
|
|
|
3650
3660
|
];
|
|
3651
3661
|
var EvaluationTaskTypes = 64 | 0;
|
|
3652
3662
|
var EvaluatorModelIdentifiers = 64 | 0;
|
|
3663
|
+
var ExcludedModelsList = 64 | 0;
|
|
3653
3664
|
var ExternalSources = [1, n0, _ESxt,
|
|
3654
3665
|
0, [() => exports.ExternalSource$,
|
|
3655
3666
|
0]
|
|
@@ -3739,6 +3750,7 @@ var HumanEvaluationCustomMetrics = [1, n0, _HECMu,
|
|
|
3739
3750
|
var ImportedModelSummaryList = [1, n0, _IMSL,
|
|
3740
3751
|
0, () => exports.ImportedModelSummary$
|
|
3741
3752
|
];
|
|
3753
|
+
var IncludedModelsList = 64 | 0;
|
|
3742
3754
|
var InferenceProfileModels = [1, n0, _IPMn,
|
|
3743
3755
|
0, () => exports.InferenceProfileModel$
|
|
3744
3756
|
];
|
|
@@ -563,6 +563,7 @@ const _MCJSo = "ModelCustomizationJobSummary";
|
|
|
563
563
|
const _MCJSod = "ModelCopyJobSummaries";
|
|
564
564
|
const _MCJSode = "ModelCustomizationJobSummaries";
|
|
565
565
|
const _MDS = "ModelDataSource";
|
|
566
|
+
const _ME = "ModelEnforcement";
|
|
566
567
|
const _MIJIDC = "ModelInvocationJobInputDataConfig";
|
|
567
568
|
const _MIJODC = "ModelInvocationJobOutputDataConfig";
|
|
568
569
|
const _MIJS = "ModelImportJobSummary";
|
|
@@ -844,6 +845,7 @@ const _eJ = "evaluationJobs";
|
|
|
844
845
|
const _eM = "errorMessage";
|
|
845
846
|
const _eMC = "evaluatorModelConfig";
|
|
846
847
|
const _eMI = "evaluatorModelIdentifiers";
|
|
848
|
+
const _eMx = "excludedModels";
|
|
847
849
|
const _eN = "endpointName";
|
|
848
850
|
const _eOLT = "endOfLifeTime";
|
|
849
851
|
const _eR = "expectedResult";
|
|
@@ -924,6 +926,7 @@ const _iMKKI = "importedModelKmsKeyId";
|
|
|
924
926
|
const _iMN = "importedModelName";
|
|
925
927
|
const _iMT = "importedModelTags";
|
|
926
928
|
const _iMTn = "inferenceMaxTokens";
|
|
929
|
+
const _iMn = "includedModels";
|
|
927
930
|
const _iO = "isOwned";
|
|
928
931
|
const _iP = "inferenceParams";
|
|
929
932
|
const _iPA = "inferenceProfileArn";
|
|
@@ -1000,6 +1003,7 @@ const _mD = "modelDetails";
|
|
|
1000
1003
|
const _mDN = "modelDeploymentName";
|
|
1001
1004
|
const _mDS = "modelDataSource";
|
|
1002
1005
|
const _mDSo = "modelDeploymentSummaries";
|
|
1006
|
+
const _mE = "modelEnforcement";
|
|
1003
1007
|
const _mI = "modelIdentifier";
|
|
1004
1008
|
const _mIJS = "modelImportJobSummaries";
|
|
1005
1009
|
const _mIT = "modelInvocationType";
|
|
@@ -1399,13 +1403,13 @@ var PromptRouterDescription = [0, n0, _PRD, 8, 0];
|
|
|
1399
1403
|
var TextPromptTemplate = [0, n0, _TPT, 8, 0];
|
|
1400
1404
|
export var AccountEnforcedGuardrailInferenceInputConfiguration$ = [3, n0, _AEGIIC,
|
|
1401
1405
|
0,
|
|
1402
|
-
[_gI, _gV, _iT],
|
|
1403
|
-
[0, 0, 0], 3
|
|
1406
|
+
[_gI, _gV, _iT, _mE],
|
|
1407
|
+
[0, 0, 0, () => ModelEnforcement$], 3
|
|
1404
1408
|
];
|
|
1405
1409
|
export var AccountEnforcedGuardrailOutputConfiguration$ = [3, n0, _AEGOC,
|
|
1406
1410
|
0,
|
|
1407
|
-
[_cI, _gA, _gIu, _iT, _gV, _cA, _cB, _uA, _uB, _o],
|
|
1408
|
-
[0, 0, 0, 0, 0, 5, 0, 5, 0, 0]
|
|
1411
|
+
[_cI, _gA, _gIu, _iT, _gV, _cA, _cB, _uA, _uB, _o, _mE],
|
|
1412
|
+
[0, 0, 0, 0, 0, 5, 0, 5, 0, 0, () => ModelEnforcement$]
|
|
1409
1413
|
];
|
|
1410
1414
|
export var AgreementAvailability$ = [3, n0, _AA,
|
|
1411
1415
|
0,
|
|
@@ -3047,6 +3051,11 @@ export var ModelCustomizationJobSummary$ = [3, n0, _MCJSo,
|
|
|
3047
3051
|
[_jA, _bMA, _jN, _st, _cTr, _sD, _lMT, _eT, _cMA, _cMN, _cTu],
|
|
3048
3052
|
[0, 0, 0, 0, 5, () => StatusDetails$, 5, 5, 0, 0, 0], 5
|
|
3049
3053
|
];
|
|
3054
|
+
export var ModelEnforcement$ = [3, n0, _ME,
|
|
3055
|
+
0,
|
|
3056
|
+
[_iMn, _eMx],
|
|
3057
|
+
[64 | 0, 64 | 0], 2
|
|
3058
|
+
];
|
|
3050
3059
|
export var ModelImportJobSummary$ = [3, n0, _MIJS,
|
|
3051
3060
|
0,
|
|
3052
3061
|
[_jA, _jN, _st, _cTr, _lMT, _eT, _iMA, _iMN],
|
|
@@ -3637,6 +3646,7 @@ var EvaluationSummaries = [1, n0, _ESv,
|
|
|
3637
3646
|
];
|
|
3638
3647
|
var EvaluationTaskTypes = 64 | 0;
|
|
3639
3648
|
var EvaluatorModelIdentifiers = 64 | 0;
|
|
3649
|
+
var ExcludedModelsList = 64 | 0;
|
|
3640
3650
|
var ExternalSources = [1, n0, _ESxt,
|
|
3641
3651
|
0, [() => ExternalSource$,
|
|
3642
3652
|
0]
|
|
@@ -3726,6 +3736,7 @@ var HumanEvaluationCustomMetrics = [1, n0, _HECMu,
|
|
|
3726
3736
|
var ImportedModelSummaryList = [1, n0, _IMSL,
|
|
3727
3737
|
0, () => ImportedModelSummary$
|
|
3728
3738
|
];
|
|
3739
|
+
var IncludedModelsList = 64 | 0;
|
|
3729
3740
|
var InferenceProfileModels = [1, n0, _IPMn,
|
|
3730
3741
|
0, () => InferenceProfileModel$
|
|
3731
3742
|
];
|
|
@@ -61,6 +61,9 @@ declare const DeleteGuardrailCommand_base: {
|
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
62
|
* <p>An internal server error occurred. Retry your request.</p>
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
65
|
+
* <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
|
|
66
|
+
*
|
|
64
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
68
|
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
66
69
|
*
|
|
@@ -54,6 +54,14 @@ declare const ListEnforcedGuardrailsConfigurationCommand_base: {
|
|
|
54
54
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
55
55
|
* // updatedBy: "STRING_VALUE",
|
|
56
56
|
* // owner: "STRING_VALUE",
|
|
57
|
+
* // modelEnforcement: { // ModelEnforcement
|
|
58
|
+
* // includedModels: [ // IncludedModelsList // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // excludedModels: [ // ExcludedModelsList // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
57
65
|
* // },
|
|
58
66
|
* // ],
|
|
59
67
|
* // nextToken: "STRING_VALUE",
|
|
@@ -42,6 +42,14 @@ declare const PutEnforcedGuardrailConfigurationCommand_base: {
|
|
|
42
42
|
* guardrailIdentifier: "STRING_VALUE", // required
|
|
43
43
|
* guardrailVersion: "STRING_VALUE", // required
|
|
44
44
|
* inputTags: "HONOR" || "IGNORE", // required
|
|
45
|
+
* modelEnforcement: { // ModelEnforcement
|
|
46
|
+
* includedModels: [ // IncludedModelsList // required
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* excludedModels: [ // ExcludedModelsList // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
45
53
|
* },
|
|
46
54
|
* };
|
|
47
55
|
* const command = new PutEnforcedGuardrailConfigurationCommand(input);
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import { 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, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Model-specific information for the enforced guardrail configuration.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ModelEnforcement {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Models to enforce the guardrail on.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
includedModels: string[] | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>Models to exclude from enforcement of the guardrail.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
excludedModels: string[] | undefined;
|
|
18
|
+
}
|
|
3
19
|
/**
|
|
4
20
|
* <p>Account-level enforced guardrail input configuration.</p>
|
|
5
21
|
* @public
|
|
@@ -20,6 +36,11 @@ export interface AccountEnforcedGuardrailInferenceInputConfiguration {
|
|
|
20
36
|
* @public
|
|
21
37
|
*/
|
|
22
38
|
inputTags: InputTags | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
modelEnforcement?: ModelEnforcement | undefined;
|
|
23
44
|
}
|
|
24
45
|
/**
|
|
25
46
|
* <p>Account enforced guardrail output configuration.</p>
|
|
@@ -76,6 +97,11 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
|
76
97
|
* @public
|
|
77
98
|
*/
|
|
78
99
|
owner?: ConfigurationOwner | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>Model-specific information for the enforced guardrail configuration.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
modelEnforcement?: ModelEnforcement | undefined;
|
|
79
105
|
}
|
|
80
106
|
/**
|
|
81
107
|
* <p>Information about the agreement availability</p>
|
|
@@ -7041,14 +7067,3 @@ export interface GuardrailSensitiveInformationPolicy {
|
|
|
7041
7067
|
*/
|
|
7042
7068
|
regexes?: GuardrailRegex[] | undefined;
|
|
7043
7069
|
}
|
|
7044
|
-
/**
|
|
7045
|
-
* <p>The tier that your guardrail uses for denied topic filters.</p>
|
|
7046
|
-
* @public
|
|
7047
|
-
*/
|
|
7048
|
-
export interface GuardrailTopicsTier {
|
|
7049
|
-
/**
|
|
7050
|
-
* <p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html">cross-Region inference</a>.</p> </li> </ul>
|
|
7051
|
-
* @public
|
|
7052
|
-
*/
|
|
7053
|
-
tierName: GuardrailTopicsTierName | undefined;
|
|
7054
|
-
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailManagedWordsType, GuardrailStatus, GuardrailTopicAction, 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, type CustomizationConfig, type EvaluationConfig, type EvaluationOutputDataConfig, type ExternalSourcesRetrieveAndGenerateConfiguration, type GenerationConfiguration, type GuardrailAutomatedReasoningPolicy, type GuardrailAutomatedReasoningPolicyConfig, type GuardrailContentPolicy, type GuardrailContentPolicyConfig, type GuardrailContextualGroundingPolicy, type GuardrailContextualGroundingPolicyConfig, type GuardrailCrossRegionConfig, type GuardrailCrossRegionDetails, type GuardrailSensitiveInformationPolicy, type GuardrailSensitiveInformationPolicyConfig, type GuardrailTopicPolicyConfig, type
|
|
1
|
+
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailManagedWordsType, 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, type CustomizationConfig, type EvaluationConfig, type EvaluationOutputDataConfig, type ExternalSourcesRetrieveAndGenerateConfiguration, type GenerationConfiguration, type GuardrailAutomatedReasoningPolicy, type GuardrailAutomatedReasoningPolicyConfig, type GuardrailContentPolicy, type GuardrailContentPolicyConfig, type GuardrailContextualGroundingPolicy, type GuardrailContextualGroundingPolicyConfig, type GuardrailCrossRegionConfig, type GuardrailCrossRegionDetails, type GuardrailSensitiveInformationPolicy, type GuardrailSensitiveInformationPolicyConfig, type GuardrailTopicPolicyConfig, type GuardrailWordPolicyConfig, type ImplicitFilterConfiguration, type ModelDataSource, type OrchestrationConfiguration, type OutputDataConfig, type TrainingDataConfig, type TrainingMetrics, type ValidationDataConfig, type VectorSearchRerankingConfiguration, type VpcConfig, EvaluationModelConfig, EvaluationPrecomputedRagSourceConfig, FilterAttribute, Tag, ValidatorMetric } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The tier that your guardrail uses for denied topic filters.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface GuardrailTopicsTier {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html">cross-Region inference</a>.</p> </li> </ul>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
tierName: GuardrailTopicsTierName | undefined;
|
|
13
|
+
}
|
|
3
14
|
/**
|
|
4
15
|
* <p>Details about topics for the guardrail to identify and deny.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax">GetGuardrail response body</a> </p> </li> </ul>
|
|
5
16
|
* @public
|
|
@@ -347,6 +347,7 @@ export declare var MetadataAttributeSchema$: StaticStructureSchema;
|
|
|
347
347
|
export declare var MetadataConfigurationForReranking$: StaticStructureSchema;
|
|
348
348
|
export declare var ModelCopyJobSummary$: StaticStructureSchema;
|
|
349
349
|
export declare var ModelCustomizationJobSummary$: StaticStructureSchema;
|
|
350
|
+
export declare var ModelEnforcement$: StaticStructureSchema;
|
|
350
351
|
export declare var ModelImportJobSummary$: StaticStructureSchema;
|
|
351
352
|
export declare var ModelInvocationJobS3InputDataConfig$: StaticStructureSchema;
|
|
352
353
|
export declare var ModelInvocationJobS3OutputDataConfig$: StaticStructureSchema;
|
|
@@ -47,10 +47,15 @@ import {
|
|
|
47
47
|
Status,
|
|
48
48
|
VectorSearchRerankingConfigurationType,
|
|
49
49
|
} from "./enums";
|
|
50
|
+
export interface ModelEnforcement {
|
|
51
|
+
includedModels: string[] | undefined;
|
|
52
|
+
excludedModels: string[] | undefined;
|
|
53
|
+
}
|
|
50
54
|
export interface AccountEnforcedGuardrailInferenceInputConfiguration {
|
|
51
55
|
guardrailIdentifier: string | undefined;
|
|
52
56
|
guardrailVersion: string | undefined;
|
|
53
57
|
inputTags: InputTags | undefined;
|
|
58
|
+
modelEnforcement?: ModelEnforcement | undefined;
|
|
54
59
|
}
|
|
55
60
|
export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
56
61
|
configId?: string | undefined;
|
|
@@ -63,6 +68,7 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
|
63
68
|
updatedAt?: Date | undefined;
|
|
64
69
|
updatedBy?: string | undefined;
|
|
65
70
|
owner?: ConfigurationOwner | undefined;
|
|
71
|
+
modelEnforcement?: ModelEnforcement | undefined;
|
|
66
72
|
}
|
|
67
73
|
export interface AgreementAvailability {
|
|
68
74
|
status: AgreementStatus | undefined;
|
|
@@ -2542,6 +2548,3 @@ export interface GuardrailSensitiveInformationPolicy {
|
|
|
2542
2548
|
piiEntities?: GuardrailPiiEntity[] | undefined;
|
|
2543
2549
|
regexes?: GuardrailRegex[] | undefined;
|
|
2544
2550
|
}
|
|
2545
|
-
export interface GuardrailTopicsTier {
|
|
2546
|
-
tierName: GuardrailTopicsTierName | undefined;
|
|
2547
|
-
}
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
GuardrailManagedWordsType,
|
|
12
12
|
GuardrailStatus,
|
|
13
13
|
GuardrailTopicAction,
|
|
14
|
+
GuardrailTopicsTierName,
|
|
14
15
|
GuardrailTopicType,
|
|
15
16
|
GuardrailWordAction,
|
|
16
17
|
InferenceProfileStatus,
|
|
@@ -55,7 +56,6 @@ import {
|
|
|
55
56
|
GuardrailSensitiveInformationPolicy,
|
|
56
57
|
GuardrailSensitiveInformationPolicyConfig,
|
|
57
58
|
GuardrailTopicPolicyConfig,
|
|
58
|
-
GuardrailTopicsTier,
|
|
59
59
|
GuardrailWordPolicyConfig,
|
|
60
60
|
ImplicitFilterConfiguration,
|
|
61
61
|
ModelDataSource,
|
|
@@ -72,6 +72,9 @@ import {
|
|
|
72
72
|
Tag,
|
|
73
73
|
ValidatorMetric,
|
|
74
74
|
} from "./models_0";
|
|
75
|
+
export interface GuardrailTopicsTier {
|
|
76
|
+
tierName: GuardrailTopicsTierName | undefined;
|
|
77
|
+
}
|
|
75
78
|
export interface GuardrailTopic {
|
|
76
79
|
name: string | undefined;
|
|
77
80
|
definition: string | undefined;
|
|
@@ -347,6 +347,7 @@ export declare var MetadataAttributeSchema$: StaticStructureSchema;
|
|
|
347
347
|
export declare var MetadataConfigurationForReranking$: StaticStructureSchema;
|
|
348
348
|
export declare var ModelCopyJobSummary$: StaticStructureSchema;
|
|
349
349
|
export declare var ModelCustomizationJobSummary$: StaticStructureSchema;
|
|
350
|
+
export declare var ModelEnforcement$: StaticStructureSchema;
|
|
350
351
|
export declare var ModelImportJobSummary$: StaticStructureSchema;
|
|
351
352
|
export declare var ModelInvocationJobS3InputDataConfig$: StaticStructureSchema;
|
|
352
353
|
export declare var ModelInvocationJobS3OutputDataConfig$: StaticStructureSchema;
|
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.
|
|
4
|
+
"version": "3.1005.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,39 +21,39 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.19",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.19",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.7",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.7",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.7",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.20",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.7",
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
+
"@aws-sdk/token-providers": "3.1005.0",
|
|
32
32
|
"@aws-sdk/types": "^3.973.5",
|
|
33
33
|
"@aws-sdk/util-endpoints": "^3.996.4",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "^3.972.7",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.973.5",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.10",
|
|
37
|
-
"@smithy/core": "^3.23.
|
|
37
|
+
"@smithy/core": "^3.23.9",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.13",
|
|
39
39
|
"@smithy/hash-node": "^4.2.11",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.11",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.11",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.23",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.40",
|
|
44
44
|
"@smithy/middleware-serde": "^4.2.12",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.11",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.11",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.14",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.11",
|
|
49
|
-
"@smithy/smithy-client": "^4.12.
|
|
49
|
+
"@smithy/smithy-client": "^4.12.3",
|
|
50
50
|
"@smithy/types": "^4.13.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.11",
|
|
52
52
|
"@smithy/util-base64": "^4.3.2",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.39",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.42",
|
|
57
57
|
"@smithy/util-endpoints": "^3.3.2",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.11",
|
|
59
59
|
"@smithy/util-retry": "^4.2.11",
|