@aws-sdk/client-bedrock 3.1023.0 → 3.1025.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist-cjs/index.js +47 -0
- package/dist-cjs/schemas/schemas_0.js +73 -15
- package/dist-es/Bedrock.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +64 -6
- package/dist-types/Bedrock.d.ts +21 -0
- package/dist-types/BedrockClient.d.ts +5 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +26 -19
- package/dist-types/models/models_1.d.ts +77 -1
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/Bedrock.d.ts +51 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -5
- package/dist-types/ts3.4/models/models_1.d.ts +23 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -412,6 +412,13 @@ DeleteProvisionedModelThroughput
|
|
|
412
412
|
</details>
|
|
413
413
|
<details>
|
|
414
414
|
<summary>
|
|
415
|
+
DeleteResourcePolicy
|
|
416
|
+
</summary>
|
|
417
|
+
|
|
418
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteResourcePolicyCommandOutput/)
|
|
419
|
+
</details>
|
|
420
|
+
<details>
|
|
421
|
+
<summary>
|
|
415
422
|
DeregisterMarketplaceModelEndpoint
|
|
416
423
|
</summary>
|
|
417
424
|
|
|
@@ -587,6 +594,13 @@ GetProvisionedModelThroughput
|
|
|
587
594
|
</details>
|
|
588
595
|
<details>
|
|
589
596
|
<summary>
|
|
597
|
+
GetResourcePolicy
|
|
598
|
+
</summary>
|
|
599
|
+
|
|
600
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetResourcePolicyCommandOutput/)
|
|
601
|
+
</details>
|
|
602
|
+
<details>
|
|
603
|
+
<summary>
|
|
590
604
|
GetUseCaseForModelAccess
|
|
591
605
|
</summary>
|
|
592
606
|
|
|
@@ -755,6 +769,13 @@ PutModelInvocationLoggingConfiguration
|
|
|
755
769
|
</details>
|
|
756
770
|
<details>
|
|
757
771
|
<summary>
|
|
772
|
+
PutResourcePolicy
|
|
773
|
+
</summary>
|
|
774
|
+
|
|
775
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/PutResourcePolicyCommandOutput/)
|
|
776
|
+
</details>
|
|
777
|
+
<details>
|
|
778
|
+
<summary>
|
|
758
779
|
PutUseCaseForModelAccess
|
|
759
780
|
</summary>
|
|
760
781
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -518,6 +518,18 @@ class DeleteProvisionedModelThroughputCommand extends smithyClient.Command
|
|
|
518
518
|
.build() {
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
+
class DeleteResourcePolicyCommand extends smithyClient.Command
|
|
522
|
+
.classBuilder()
|
|
523
|
+
.ep(commonParams)
|
|
524
|
+
.m(function (Command, cs, config, o) {
|
|
525
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
526
|
+
})
|
|
527
|
+
.s("AmazonBedrockControlPlaneService", "DeleteResourcePolicy", {})
|
|
528
|
+
.n("BedrockClient", "DeleteResourcePolicyCommand")
|
|
529
|
+
.sc(schemas_0.DeleteResourcePolicy$)
|
|
530
|
+
.build() {
|
|
531
|
+
}
|
|
532
|
+
|
|
521
533
|
class DeregisterMarketplaceModelEndpointCommand extends smithyClient.Command
|
|
522
534
|
.classBuilder()
|
|
523
535
|
.ep(commonParams)
|
|
@@ -818,6 +830,18 @@ class GetProvisionedModelThroughputCommand extends smithyClient.Command
|
|
|
818
830
|
.build() {
|
|
819
831
|
}
|
|
820
832
|
|
|
833
|
+
class GetResourcePolicyCommand extends smithyClient.Command
|
|
834
|
+
.classBuilder()
|
|
835
|
+
.ep(commonParams)
|
|
836
|
+
.m(function (Command, cs, config, o) {
|
|
837
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
838
|
+
})
|
|
839
|
+
.s("AmazonBedrockControlPlaneService", "GetResourcePolicy", {})
|
|
840
|
+
.n("BedrockClient", "GetResourcePolicyCommand")
|
|
841
|
+
.sc(schemas_0.GetResourcePolicy$)
|
|
842
|
+
.build() {
|
|
843
|
+
}
|
|
844
|
+
|
|
821
845
|
class GetUseCaseForModelAccessCommand extends smithyClient.Command
|
|
822
846
|
.classBuilder()
|
|
823
847
|
.ep(commonParams)
|
|
@@ -1106,6 +1130,18 @@ class PutModelInvocationLoggingConfigurationCommand extends smithyClient.Command
|
|
|
1106
1130
|
.build() {
|
|
1107
1131
|
}
|
|
1108
1132
|
|
|
1133
|
+
class PutResourcePolicyCommand extends smithyClient.Command
|
|
1134
|
+
.classBuilder()
|
|
1135
|
+
.ep(commonParams)
|
|
1136
|
+
.m(function (Command, cs, config, o) {
|
|
1137
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1138
|
+
})
|
|
1139
|
+
.s("AmazonBedrockControlPlaneService", "PutResourcePolicy", {})
|
|
1140
|
+
.n("BedrockClient", "PutResourcePolicyCommand")
|
|
1141
|
+
.sc(schemas_0.PutResourcePolicy$)
|
|
1142
|
+
.build() {
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1109
1145
|
class PutUseCaseForModelAccessCommand extends smithyClient.Command
|
|
1110
1146
|
.classBuilder()
|
|
1111
1147
|
.ep(commonParams)
|
|
@@ -1368,6 +1404,7 @@ const commands = {
|
|
|
1368
1404
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
1369
1405
|
DeletePromptRouterCommand,
|
|
1370
1406
|
DeleteProvisionedModelThroughputCommand,
|
|
1407
|
+
DeleteResourcePolicyCommand,
|
|
1371
1408
|
DeregisterMarketplaceModelEndpointCommand,
|
|
1372
1409
|
ExportAutomatedReasoningPolicyVersionCommand,
|
|
1373
1410
|
GetAutomatedReasoningPolicyCommand,
|
|
@@ -1393,6 +1430,7 @@ const commands = {
|
|
|
1393
1430
|
GetModelInvocationLoggingConfigurationCommand,
|
|
1394
1431
|
GetPromptRouterCommand,
|
|
1395
1432
|
GetProvisionedModelThroughputCommand,
|
|
1433
|
+
GetResourcePolicyCommand,
|
|
1396
1434
|
GetUseCaseForModelAccessCommand,
|
|
1397
1435
|
ListAutomatedReasoningPoliciesCommand,
|
|
1398
1436
|
ListAutomatedReasoningPolicyBuildWorkflowsCommand,
|
|
@@ -1417,6 +1455,7 @@ const commands = {
|
|
|
1417
1455
|
ListTagsForResourceCommand,
|
|
1418
1456
|
PutEnforcedGuardrailConfigurationCommand,
|
|
1419
1457
|
PutModelInvocationLoggingConfigurationCommand,
|
|
1458
|
+
PutResourcePolicyCommand,
|
|
1420
1459
|
PutUseCaseForModelAccessCommand,
|
|
1421
1460
|
RegisterMarketplaceModelEndpointCommand,
|
|
1422
1461
|
StartAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
@@ -1458,6 +1497,10 @@ class Bedrock extends BedrockClient {
|
|
|
1458
1497
|
}
|
|
1459
1498
|
smithyClient.createAggregatedClient(commands, Bedrock, { paginators });
|
|
1460
1499
|
|
|
1500
|
+
const SelectiveGuardingMode = {
|
|
1501
|
+
COMPREHENSIVE: "COMPREHENSIVE",
|
|
1502
|
+
SELECTIVE: "SELECTIVE",
|
|
1503
|
+
};
|
|
1461
1504
|
const InputTags = {
|
|
1462
1505
|
HONOR: "HONOR",
|
|
1463
1506
|
IGNORE: "IGNORE",
|
|
@@ -1899,6 +1942,7 @@ exports.DeleteMarketplaceModelEndpointCommand = DeleteMarketplaceModelEndpointCo
|
|
|
1899
1942
|
exports.DeleteModelInvocationLoggingConfigurationCommand = DeleteModelInvocationLoggingConfigurationCommand;
|
|
1900
1943
|
exports.DeletePromptRouterCommand = DeletePromptRouterCommand;
|
|
1901
1944
|
exports.DeleteProvisionedModelThroughputCommand = DeleteProvisionedModelThroughputCommand;
|
|
1945
|
+
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
1902
1946
|
exports.DeregisterMarketplaceModelEndpointCommand = DeregisterMarketplaceModelEndpointCommand;
|
|
1903
1947
|
exports.EntitlementAvailability = EntitlementAvailability;
|
|
1904
1948
|
exports.EvaluationJobStatus = EvaluationJobStatus;
|
|
@@ -1931,6 +1975,7 @@ exports.GetModelInvocationJobCommand = GetModelInvocationJobCommand;
|
|
|
1931
1975
|
exports.GetModelInvocationLoggingConfigurationCommand = GetModelInvocationLoggingConfigurationCommand;
|
|
1932
1976
|
exports.GetPromptRouterCommand = GetPromptRouterCommand;
|
|
1933
1977
|
exports.GetProvisionedModelThroughputCommand = GetProvisionedModelThroughputCommand;
|
|
1978
|
+
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
1934
1979
|
exports.GetUseCaseForModelAccessCommand = GetUseCaseForModelAccessCommand;
|
|
1935
1980
|
exports.GuardrailContentFilterAction = GuardrailContentFilterAction;
|
|
1936
1981
|
exports.GuardrailContentFilterType = GuardrailContentFilterType;
|
|
@@ -1988,6 +2033,7 @@ exports.PromptRouterType = PromptRouterType;
|
|
|
1988
2033
|
exports.ProvisionedModelStatus = ProvisionedModelStatus;
|
|
1989
2034
|
exports.PutEnforcedGuardrailConfigurationCommand = PutEnforcedGuardrailConfigurationCommand;
|
|
1990
2035
|
exports.PutModelInvocationLoggingConfigurationCommand = PutModelInvocationLoggingConfigurationCommand;
|
|
2036
|
+
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
1991
2037
|
exports.PutUseCaseForModelAccessCommand = PutUseCaseForModelAccessCommand;
|
|
1992
2038
|
exports.QueryTransformationType = QueryTransformationType;
|
|
1993
2039
|
exports.ReasoningEffort = ReasoningEffort;
|
|
@@ -1997,6 +2043,7 @@ exports.RerankingMetadataSelectionMode = RerankingMetadataSelectionMode;
|
|
|
1997
2043
|
exports.RetrieveAndGenerateType = RetrieveAndGenerateType;
|
|
1998
2044
|
exports.S3InputFormat = S3InputFormat;
|
|
1999
2045
|
exports.SearchType = SearchType;
|
|
2046
|
+
exports.SelectiveGuardingMode = SelectiveGuardingMode;
|
|
2000
2047
|
exports.SortByProvisionedModels = SortByProvisionedModels;
|
|
2001
2048
|
exports.SortJobsBy = SortJobsBy;
|
|
2002
2049
|
exports.SortModelsBy = SortModelsBy;
|
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AutomatedReasoningPolicyBuildWorkflowRepairContent$ = exports.AutomatedReasoningPolicyBuildWorkflowDocument$ = exports.AutomatedReasoningPolicyBuildStepMessage$ = exports.AutomatedReasoningPolicyBuildStep$ = exports.AutomatedReasoningPolicyBuildResultAssetManifestEntry$ = exports.AutomatedReasoningPolicyBuildResultAssetManifest$ = exports.AutomatedReasoningPolicyBuildLogEntry$ = exports.AutomatedReasoningPolicyBuildLog$ = exports.AutomatedReasoningPolicyAtomicStatement$ = exports.AutomatedReasoningPolicyAnnotatedLine$ = exports.AutomatedReasoningPolicyAnnotatedChunk$ = exports.AutomatedReasoningPolicyAddVariableMutation$ = exports.AutomatedReasoningPolicyAddVariableAnnotation$ = exports.AutomatedReasoningPolicyAddTypeValue$ = exports.AutomatedReasoningPolicyAddTypeMutation$ = exports.AutomatedReasoningPolicyAddTypeAnnotation$ = exports.AutomatedReasoningPolicyAddRuleMutation$ = exports.AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation$ = exports.AutomatedReasoningPolicyAddRuleAnnotation$ = exports.AutomatedReasoningLogicStatement$ = exports.AutomatedReasoningCheckValidFinding$ = exports.AutomatedReasoningCheckTranslationOption$ = exports.AutomatedReasoningCheckTranslationAmbiguousFinding$ = exports.AutomatedReasoningCheckTranslation$ = exports.AutomatedReasoningCheckTooComplexFinding$ = exports.AutomatedReasoningCheckScenario$ = exports.AutomatedReasoningCheckSatisfiableFinding$ = exports.AutomatedReasoningCheckRule$ = exports.AutomatedReasoningCheckNoTranslationsFinding$ = exports.AutomatedReasoningCheckLogicWarning$ = exports.AutomatedReasoningCheckInvalidFinding$ = exports.AutomatedReasoningCheckInputTextReference$ = exports.AutomatedReasoningCheckImpossibleFinding$ = exports.AutomatedEvaluationCustomMetricConfig$ = exports.AutomatedEvaluationConfig$ = exports.AgreementAvailability$ = exports.AccountEnforcedGuardrailOutputConfiguration$ = exports.AccountEnforcedGuardrailInferenceInputConfiguration$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ThrottlingException$ = exports.ServiceUnavailableException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.BedrockServiceException$ = void 0;
|
|
4
4
|
exports.CancelAutomatedReasoningPolicyBuildWorkflowResponse$ = exports.CancelAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.ByteContentDoc$ = exports.BedrockEvaluatorModel$ = exports.BatchDeleteEvaluationJobResponse$ = exports.BatchDeleteEvaluationJobRequest$ = exports.BatchDeleteEvaluationJobItem$ = exports.BatchDeleteEvaluationJobError$ = exports.AutomatedReasoningPolicyVariableReport$ = exports.AutomatedReasoningPolicyUpdateVariableMutation$ = exports.AutomatedReasoningPolicyUpdateVariableAnnotation$ = exports.AutomatedReasoningPolicyUpdateTypeValue$ = exports.AutomatedReasoningPolicyUpdateTypeMutation$ = exports.AutomatedReasoningPolicyUpdateTypeAnnotation$ = exports.AutomatedReasoningPolicyUpdateRuleMutation$ = exports.AutomatedReasoningPolicyUpdateRuleAnnotation$ = exports.AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation$ = exports.AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation$ = exports.AutomatedReasoningPolicyTestResult$ = exports.AutomatedReasoningPolicyTestCase$ = exports.AutomatedReasoningPolicySummary$ = exports.AutomatedReasoningPolicyStatementReference$ = exports.AutomatedReasoningPolicyStatementLocation$ = exports.AutomatedReasoningPolicySourceDocument$ = exports.AutomatedReasoningPolicyScenarios$ = exports.AutomatedReasoningPolicyScenario$ = exports.AutomatedReasoningPolicyRuleReport$ = exports.AutomatedReasoningPolicyReportSourceDocument$ = exports.AutomatedReasoningPolicyPlanning$ = exports.AutomatedReasoningPolicyIngestContentAnnotation$ = exports.AutomatedReasoningPolicyGeneratedTestCases$ = exports.AutomatedReasoningPolicyGeneratedTestCase$ = exports.AutomatedReasoningPolicyFidelityReport$ = exports.AutomatedReasoningPolicyDisjointRuleSet$ = exports.AutomatedReasoningPolicyDeleteVariableMutation$ = exports.AutomatedReasoningPolicyDeleteVariableAnnotation$ = exports.AutomatedReasoningPolicyDeleteTypeValue$ = exports.AutomatedReasoningPolicyDeleteTypeMutation$ = exports.AutomatedReasoningPolicyDeleteTypeAnnotation$ = exports.AutomatedReasoningPolicyDeleteRuleMutation$ = exports.AutomatedReasoningPolicyDeleteRuleAnnotation$ = exports.AutomatedReasoningPolicyDefinitionVariable$ = exports.AutomatedReasoningPolicyDefinitionTypeValuePair$ = exports.AutomatedReasoningPolicyDefinitionTypeValue$ = exports.AutomatedReasoningPolicyDefinitionType$ = exports.AutomatedReasoningPolicyDefinitionRule$ = exports.AutomatedReasoningPolicyDefinitionQualityReport$ = exports.AutomatedReasoningPolicyDefinition$ = exports.AutomatedReasoningPolicyBuildWorkflowSummary$ = exports.AutomatedReasoningPolicyBuildWorkflowSource$ = void 0;
|
|
5
5
|
exports.DeleteCustomModelDeploymentRequest$ = exports.DeleteAutomatedReasoningPolicyTestCaseResponse$ = exports.DeleteAutomatedReasoningPolicyTestCaseRequest$ = exports.DeleteAutomatedReasoningPolicyResponse$ = exports.DeleteAutomatedReasoningPolicyRequest$ = exports.DeleteAutomatedReasoningPolicyBuildWorkflowResponse$ = exports.DeleteAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.DataProcessingDetails$ = exports.CustomModelUnits$ = exports.CustomModelSummary$ = exports.CustomModelDeploymentUpdateDetails$ = exports.CustomModelDeploymentSummary$ = exports.CustomMetricEvaluatorModelConfig$ = exports.CustomMetricDefinition$ = exports.CustomMetricBedrockEvaluatorModel$ = exports.CreateProvisionedModelThroughputResponse$ = exports.CreateProvisionedModelThroughputRequest$ = exports.CreatePromptRouterResponse$ = exports.CreatePromptRouterRequest$ = exports.CreateModelInvocationJobResponse$ = exports.CreateModelInvocationJobRequest$ = exports.CreateModelImportJobResponse$ = exports.CreateModelImportJobRequest$ = exports.CreateModelCustomizationJobResponse$ = exports.CreateModelCustomizationJobRequest$ = exports.CreateModelCopyJobResponse$ = exports.CreateModelCopyJobRequest$ = exports.CreateMarketplaceModelEndpointResponse$ = exports.CreateMarketplaceModelEndpointRequest$ = exports.CreateInferenceProfileResponse$ = exports.CreateInferenceProfileRequest$ = exports.CreateGuardrailVersionResponse$ = exports.CreateGuardrailVersionRequest$ = exports.CreateGuardrailResponse$ = exports.CreateGuardrailRequest$ = exports.CreateFoundationModelAgreementResponse$ = exports.CreateFoundationModelAgreementRequest$ = exports.CreateEvaluationJobResponse$ = exports.CreateEvaluationJobRequest$ = exports.CreateCustomModelResponse$ = exports.CreateCustomModelRequest$ = exports.CreateCustomModelDeploymentResponse$ = exports.CreateCustomModelDeploymentRequest$ = exports.CreateAutomatedReasoningPolicyVersionResponse$ = exports.CreateAutomatedReasoningPolicyVersionRequest$ = exports.CreateAutomatedReasoningPolicyTestCaseResponse$ = exports.CreateAutomatedReasoningPolicyTestCaseRequest$ = exports.CreateAutomatedReasoningPolicyResponse$ = exports.CreateAutomatedReasoningPolicyRequest$ = exports.CloudWatchConfig$ = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.UpdateProvisionedModelThroughput$ = void 0;
|
|
6
|
+
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.DeleteResourcePolicyResponse$ = exports.DeleteResourcePolicyRequest$ = 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
|
+
exports.GuardrailAutomatedReasoningPolicy$ = exports.GetUseCaseForModelAccessResponse$ = exports.GetUseCaseForModelAccessRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = 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$ = exports.GetAutomatedReasoningPolicyBuildWorkflowRequest$ = exports.GetAutomatedReasoningPolicyAnnotationsResponse$ = void 0;
|
|
8
|
+
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$ = exports.GuardrailContentFilterConfig$ = exports.GuardrailContentFilter$ = exports.GuardrailConfiguration$ = exports.GuardrailAutomatedReasoningPolicyConfig$ = void 0;
|
|
9
|
+
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$ = exports.ListAutomatedReasoningPolicyTestResultsRequest$ = exports.ListAutomatedReasoningPolicyTestCasesResponse$ = exports.ListAutomatedReasoningPolicyTestCasesRequest$ = exports.ListAutomatedReasoningPolicyBuildWorkflowsResponse$ = void 0;
|
|
10
|
+
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.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$ = void 0;
|
|
11
|
+
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$ = exports.UpdateAutomatedReasoningPolicyAnnotationsRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrainingMetrics$ = exports.TrainingDetails$ = exports.TrainingDataConfig$ = exports.TextInferenceConfig$ = void 0;
|
|
12
|
+
exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssets$ = exports.GetAutomatedReasoningPolicyBuildWorkflow$ = exports.GetAutomatedReasoningPolicyAnnotations$ = exports.GetAutomatedReasoningPolicy$ = 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$ = 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$ = exports.RatingScaleItemValue$ = exports.RAGConfig$ = exports.ModelInvocationJobOutputDataConfig$ = exports.ModelInvocationJobInputDataConfig$ = exports.ModelDataSource$ = exports.KnowledgeBaseConfig$ = exports.InvocationLogSource$ = void 0;
|
|
13
|
+
exports.StopEvaluationJob$ = 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$ = exports.ListCustomModels$ = exports.ListCustomModelDeployments$ = exports.ListAutomatedReasoningPolicyTestResults$ = exports.ListAutomatedReasoningPolicyTestCases$ = exports.ListAutomatedReasoningPolicyBuildWorkflows$ = exports.ListAutomatedReasoningPolicies$ = 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$ = 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$ = void 0;
|
|
15
15
|
const _AA = "AgreementAvailability";
|
|
16
16
|
const _ADE = "AccessDeniedException";
|
|
17
17
|
const _AEC = "AutomatedEvaluationConfig";
|
|
@@ -294,6 +294,9 @@ const _DPR = "DimensionalPriceRate";
|
|
|
294
294
|
const _DPRR = "DeletePromptRouterRequest";
|
|
295
295
|
const _DPRRe = "DeletePromptRouterResponse";
|
|
296
296
|
const _DPRe = "DeletePromptRouter";
|
|
297
|
+
const _DRP = "DeleteResourcePolicy";
|
|
298
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
299
|
+
const _DRPRe = "DeleteResourcePolicyResponse";
|
|
297
300
|
const _EARPV = "ExportAutomatedReasoningPolicyVersion";
|
|
298
301
|
const _EARPVR = "ExportAutomatedReasoningPolicyVersionRequest";
|
|
299
302
|
const _EARPVRx = "ExportAutomatedReasoningPolicyVersionResponse";
|
|
@@ -448,6 +451,9 @@ const _GPRRe = "GetPromptRouterResponse";
|
|
|
448
451
|
const _GR = "GuardrailRegex";
|
|
449
452
|
const _GRC = "GuardrailRegexConfig";
|
|
450
453
|
const _GRCu = "GuardrailRegexesConfig";
|
|
454
|
+
const _GRP = "GetResourcePolicy";
|
|
455
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
456
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
451
457
|
const _GRu = "GuardrailRegexes";
|
|
452
458
|
const _GS = "GuardrailSummary";
|
|
453
459
|
const _GSIP = "GuardrailSensitiveInformationPolicy";
|
|
@@ -604,6 +610,9 @@ const _PMILCRu = "PutModelInvocationLoggingConfigurationResponse";
|
|
|
604
610
|
const _PMS = "ProvisionedModelSummary";
|
|
605
611
|
const _PMSr = "ProvisionedModelSummaries";
|
|
606
612
|
const _PRD = "PromptRouterDescription";
|
|
613
|
+
const _PRP = "PutResourcePolicy";
|
|
614
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
615
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
607
616
|
const _PRS = "PromptRouterSummary";
|
|
608
617
|
const _PRSr = "PromptRouterSummaries";
|
|
609
618
|
const _PRTM = "PromptRouterTargetModel";
|
|
@@ -644,6 +653,7 @@ const _SARPTW = "StartAutomatedReasoningPolicyTestWorkflow";
|
|
|
644
653
|
const _SARPTWR = "StartAutomatedReasoningPolicyTestWorkflowRequest";
|
|
645
654
|
const _SARPTWRt = "StartAutomatedReasoningPolicyTestWorkflowResponse";
|
|
646
655
|
const _SC = "S3Config";
|
|
656
|
+
const _SCG = "SelectiveContentGuarding";
|
|
647
657
|
const _SD = "StatusDetails";
|
|
648
658
|
const _SDS = "S3DataSource";
|
|
649
659
|
const _SEJ = "StopEvaluationJob";
|
|
@@ -1122,7 +1132,8 @@ const _rA = "roleArn";
|
|
|
1122
1132
|
const _rAGC = "retrieveAndGenerateConfig";
|
|
1123
1133
|
const _rAGSC = "retrieveAndGenerateSourceConfig";
|
|
1124
1134
|
const _rARN = "resourceARN";
|
|
1125
|
-
const _rAe = "
|
|
1135
|
+
const _rAe = "resourceArn";
|
|
1136
|
+
const _rAeg = "regionAvailability";
|
|
1126
1137
|
const _rC = "ruleCount";
|
|
1127
1138
|
const _rCS = "ragConfigSummary";
|
|
1128
1139
|
const _rCa = "rateCard";
|
|
@@ -1140,6 +1151,7 @@ const _rIu = "ruleIds";
|
|
|
1140
1151
|
const _rM = "ratingMethod";
|
|
1141
1152
|
const _rMF = "requestMetadataFilters";
|
|
1142
1153
|
const _rN = "resourceName";
|
|
1154
|
+
const _rP = "resourcePolicy";
|
|
1143
1155
|
const _rPD = "refundPolicyDescription";
|
|
1144
1156
|
const _rQD = "responseQualityDifference";
|
|
1145
1157
|
const _rR = "ruleReports";
|
|
@@ -1155,6 +1167,7 @@ const _sAI = "sourceAccountId";
|
|
|
1155
1167
|
const _sB = "sortBy";
|
|
1156
1168
|
const _sBO = "s3BucketOwner";
|
|
1157
1169
|
const _sC = "s3Config";
|
|
1170
|
+
const _sCG = "selectiveContentGuarding";
|
|
1158
1171
|
const _sCo = "sourceContent";
|
|
1159
1172
|
const _sCt = "stringContains";
|
|
1160
1173
|
const _sD = "statusDetails";
|
|
@@ -1198,6 +1211,7 @@ const _se = "server";
|
|
|
1198
1211
|
const _so = "sources";
|
|
1199
1212
|
const _st = "status";
|
|
1200
1213
|
const _sta = "statements";
|
|
1214
|
+
const _sy = "system";
|
|
1201
1215
|
const _t = "translation";
|
|
1202
1216
|
const _tA = "translationAmbiguous";
|
|
1203
1217
|
const _tC = "typeCount";
|
|
@@ -1421,13 +1435,13 @@ var PromptRouterDescription = [0, n0, _PRD, 8, 0];
|
|
|
1421
1435
|
var TextPromptTemplate = [0, n0, _TPT, 8, 0];
|
|
1422
1436
|
exports.AccountEnforcedGuardrailInferenceInputConfiguration$ = [3, n0, _AEGIIC,
|
|
1423
1437
|
0,
|
|
1424
|
-
[_gI, _gV,
|
|
1425
|
-
[0, 0,
|
|
1438
|
+
[_gI, _gV, _sCG, _mE],
|
|
1439
|
+
[0, 0, () => exports.SelectiveContentGuarding$, () => exports.ModelEnforcement$], 2
|
|
1426
1440
|
];
|
|
1427
1441
|
exports.AccountEnforcedGuardrailOutputConfiguration$ = [3, n0, _AEGOC,
|
|
1428
1442
|
0,
|
|
1429
|
-
[_cI, _gA, _gIu, _iT, _gV, _cA, _cB, _uA, _uB, _o, _mE],
|
|
1430
|
-
[0, 0, 0, 0, 0, 5, 0, 5, 0, 0, () => exports.ModelEnforcement$]
|
|
1443
|
+
[_cI, _gA, _gIu, _iT, _sCG, _gV, _cA, _cB, _uA, _uB, _o, _mE],
|
|
1444
|
+
[0, 0, 0, 0, () => exports.SelectiveContentGuarding$, 0, 5, 0, 5, 0, 0, () => exports.ModelEnforcement$]
|
|
1431
1445
|
];
|
|
1432
1446
|
exports.AgreementAvailability$ = [3, n0, _AA,
|
|
1433
1447
|
0,
|
|
@@ -2214,6 +2228,16 @@ exports.DeleteProvisionedModelThroughputResponse$ = [3, n0, _DPMTRe,
|
|
|
2214
2228
|
[],
|
|
2215
2229
|
[]
|
|
2216
2230
|
];
|
|
2231
|
+
exports.DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
|
|
2232
|
+
0,
|
|
2233
|
+
[_rAe],
|
|
2234
|
+
[[0, 1]], 1
|
|
2235
|
+
];
|
|
2236
|
+
exports.DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
|
|
2237
|
+
0,
|
|
2238
|
+
[],
|
|
2239
|
+
[]
|
|
2240
|
+
];
|
|
2217
2241
|
exports.DeregisterMarketplaceModelEndpointRequest$ = [3, n0, _DMMERer,
|
|
2218
2242
|
0,
|
|
2219
2243
|
[_eA],
|
|
@@ -2451,7 +2475,7 @@ exports.GetFoundationModelAvailabilityRequest$ = [3, n0, _GFMAR,
|
|
|
2451
2475
|
];
|
|
2452
2476
|
exports.GetFoundationModelAvailabilityResponse$ = [3, n0, _GFMARe,
|
|
2453
2477
|
0,
|
|
2454
|
-
[_mIo, _aA, _aSu, _eAn,
|
|
2478
|
+
[_mIo, _aA, _aSu, _eAn, _rAeg],
|
|
2455
2479
|
[0, () => exports.AgreementAvailability$, 0, 0, 0], 5
|
|
2456
2480
|
];
|
|
2457
2481
|
exports.GetFoundationModelRequest$ = [3, n0, _GFMR,
|
|
@@ -2574,6 +2598,16 @@ exports.GetProvisionedModelThroughputResponse$ = [3, n0, _GPMTRe,
|
|
|
2574
2598
|
[_mU, _dMU, _pMN, _pMA, _mA, _dMA, _fMA, _st, _cTr, _lMT, _fMa, _cD, _cET],
|
|
2575
2599
|
[1, 1, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 5], 10
|
|
2576
2600
|
];
|
|
2601
|
+
exports.GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
2602
|
+
0,
|
|
2603
|
+
[_rAe],
|
|
2604
|
+
[[0, 1]], 1
|
|
2605
|
+
];
|
|
2606
|
+
exports.GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
2607
|
+
0,
|
|
2608
|
+
[_rP],
|
|
2609
|
+
[0]
|
|
2610
|
+
];
|
|
2577
2611
|
exports.GetUseCaseForModelAccessRequest$ = [3, n0, _GUCFMAR,
|
|
2578
2612
|
0,
|
|
2579
2613
|
[],
|
|
@@ -3159,6 +3193,16 @@ exports.PutModelInvocationLoggingConfigurationResponse$ = [3, n0, _PMILCRu,
|
|
|
3159
3193
|
[],
|
|
3160
3194
|
[]
|
|
3161
3195
|
];
|
|
3196
|
+
exports.PutResourcePolicyRequest$ = [3, n0, _PRPR,
|
|
3197
|
+
0,
|
|
3198
|
+
[_rAe, _rP],
|
|
3199
|
+
[0, 0], 2
|
|
3200
|
+
];
|
|
3201
|
+
exports.PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
3202
|
+
0,
|
|
3203
|
+
[_rAe],
|
|
3204
|
+
[0]
|
|
3205
|
+
];
|
|
3162
3206
|
exports.PutUseCaseForModelAccessRequest$ = [3, n0, _PUCFMAR,
|
|
3163
3207
|
0,
|
|
3164
3208
|
[_fD],
|
|
@@ -3239,6 +3283,11 @@ exports.SageMakerEndpoint$ = [3, n0, _SME,
|
|
|
3239
3283
|
[_iIC, _iTn, _eRx, _kEK, _vp],
|
|
3240
3284
|
[1, 0, 0, 0, () => exports.VpcConfig$], 3
|
|
3241
3285
|
];
|
|
3286
|
+
exports.SelectiveContentGuarding$ = [3, n0, _SCG,
|
|
3287
|
+
0,
|
|
3288
|
+
[_sy, _me],
|
|
3289
|
+
[0, 0]
|
|
3290
|
+
];
|
|
3242
3291
|
exports.StartAutomatedReasoningPolicyBuildWorkflowRequest$ = [3, n0, _SARPBWR,
|
|
3243
3292
|
0,
|
|
3244
3293
|
[_pA, _bWT, _sCo, _cRT],
|
|
@@ -4100,6 +4149,9 @@ exports.DeletePromptRouter$ = [9, n0, _DPRe,
|
|
|
4100
4149
|
exports.DeleteProvisionedModelThroughput$ = [9, n0, _DPMT,
|
|
4101
4150
|
{ [_ht]: ["DELETE", "/provisioned-model-throughput/{provisionedModelId}", 200] }, () => exports.DeleteProvisionedModelThroughputRequest$, () => exports.DeleteProvisionedModelThroughputResponse$
|
|
4102
4151
|
];
|
|
4152
|
+
exports.DeleteResourcePolicy$ = [9, n0, _DRP,
|
|
4153
|
+
{ [_ht]: ["DELETE", "/resource-policy/{resourceArn}", 200] }, () => exports.DeleteResourcePolicyRequest$, () => exports.DeleteResourcePolicyResponse$
|
|
4154
|
+
];
|
|
4103
4155
|
exports.DeregisterMarketplaceModelEndpoint$ = [9, n0, _DMMEe,
|
|
4104
4156
|
{ [_ht]: ["DELETE", "/marketplace-model/endpoints/{endpointArn}/registration", 200] }, () => exports.DeregisterMarketplaceModelEndpointRequest$, () => exports.DeregisterMarketplaceModelEndpointResponse$
|
|
4105
4157
|
];
|
|
@@ -4175,6 +4227,9 @@ exports.GetPromptRouter$ = [9, n0, _GPR,
|
|
|
4175
4227
|
exports.GetProvisionedModelThroughput$ = [9, n0, _GPMT,
|
|
4176
4228
|
{ [_ht]: ["GET", "/provisioned-model-throughput/{provisionedModelId}", 200] }, () => exports.GetProvisionedModelThroughputRequest$, () => exports.GetProvisionedModelThroughputResponse$
|
|
4177
4229
|
];
|
|
4230
|
+
exports.GetResourcePolicy$ = [9, n0, _GRP,
|
|
4231
|
+
{ [_ht]: ["GET", "/resource-policy/{resourceArn}", 200] }, () => exports.GetResourcePolicyRequest$, () => exports.GetResourcePolicyResponse$
|
|
4232
|
+
];
|
|
4178
4233
|
exports.GetUseCaseForModelAccess$ = [9, n0, _GUCFMA,
|
|
4179
4234
|
{ [_ht]: ["GET", "/use-case-for-model-access", 200] }, () => exports.GetUseCaseForModelAccessRequest$, () => exports.GetUseCaseForModelAccessResponse$
|
|
4180
4235
|
];
|
|
@@ -4247,6 +4302,9 @@ exports.PutEnforcedGuardrailConfiguration$ = [9, n0, _PEGC,
|
|
|
4247
4302
|
exports.PutModelInvocationLoggingConfiguration$ = [9, n0, _PMILC,
|
|
4248
4303
|
{ [_ht]: ["PUT", "/logging/modelinvocations", 200] }, () => exports.PutModelInvocationLoggingConfigurationRequest$, () => exports.PutModelInvocationLoggingConfigurationResponse$
|
|
4249
4304
|
];
|
|
4305
|
+
exports.PutResourcePolicy$ = [9, n0, _PRP,
|
|
4306
|
+
{ [_ht]: ["POST", "/resource-policy", 201] }, () => exports.PutResourcePolicyRequest$, () => exports.PutResourcePolicyResponse$
|
|
4307
|
+
];
|
|
4250
4308
|
exports.PutUseCaseForModelAccess$ = [9, n0, _PUCFMA,
|
|
4251
4309
|
{ [_ht]: ["POST", "/use-case-for-model-access", 201] }, () => exports.PutUseCaseForModelAccessRequest$, () => exports.PutUseCaseForModelAccessResponse$
|
|
4252
4310
|
];
|
package/dist-es/Bedrock.js
CHANGED
|
@@ -33,6 +33,7 @@ import { DeleteMarketplaceModelEndpointCommand, } from "./commands/DeleteMarketp
|
|
|
33
33
|
import { DeleteModelInvocationLoggingConfigurationCommand, } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
34
34
|
import { DeletePromptRouterCommand, } from "./commands/DeletePromptRouterCommand";
|
|
35
35
|
import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
36
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
36
37
|
import { DeregisterMarketplaceModelEndpointCommand, } from "./commands/DeregisterMarketplaceModelEndpointCommand";
|
|
37
38
|
import { ExportAutomatedReasoningPolicyVersionCommand, } from "./commands/ExportAutomatedReasoningPolicyVersionCommand";
|
|
38
39
|
import { GetAutomatedReasoningPolicyAnnotationsCommand, } from "./commands/GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
@@ -58,6 +59,7 @@ import { GetModelInvocationJobCommand, } from "./commands/GetModelInvocationJobC
|
|
|
58
59
|
import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetModelInvocationLoggingConfigurationCommand";
|
|
59
60
|
import { GetPromptRouterCommand, } from "./commands/GetPromptRouterCommand";
|
|
60
61
|
import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
|
|
62
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
61
63
|
import { GetUseCaseForModelAccessCommand, } from "./commands/GetUseCaseForModelAccessCommand";
|
|
62
64
|
import { ListAutomatedReasoningPoliciesCommand, } from "./commands/ListAutomatedReasoningPoliciesCommand";
|
|
63
65
|
import { ListAutomatedReasoningPolicyBuildWorkflowsCommand, } from "./commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
@@ -82,6 +84,7 @@ import { ListProvisionedModelThroughputsCommand, } from "./commands/ListProvisio
|
|
|
82
84
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
83
85
|
import { PutEnforcedGuardrailConfigurationCommand, } from "./commands/PutEnforcedGuardrailConfigurationCommand";
|
|
84
86
|
import { PutModelInvocationLoggingConfigurationCommand, } from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
87
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
85
88
|
import { PutUseCaseForModelAccessCommand, } from "./commands/PutUseCaseForModelAccessCommand";
|
|
86
89
|
import { RegisterMarketplaceModelEndpointCommand, } from "./commands/RegisterMarketplaceModelEndpointCommand";
|
|
87
90
|
import { StartAutomatedReasoningPolicyBuildWorkflowCommand, } from "./commands/StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -150,6 +153,7 @@ const commands = {
|
|
|
150
153
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
151
154
|
DeletePromptRouterCommand,
|
|
152
155
|
DeleteProvisionedModelThroughputCommand,
|
|
156
|
+
DeleteResourcePolicyCommand,
|
|
153
157
|
DeregisterMarketplaceModelEndpointCommand,
|
|
154
158
|
ExportAutomatedReasoningPolicyVersionCommand,
|
|
155
159
|
GetAutomatedReasoningPolicyCommand,
|
|
@@ -175,6 +179,7 @@ const commands = {
|
|
|
175
179
|
GetModelInvocationLoggingConfigurationCommand,
|
|
176
180
|
GetPromptRouterCommand,
|
|
177
181
|
GetProvisionedModelThroughputCommand,
|
|
182
|
+
GetResourcePolicyCommand,
|
|
178
183
|
GetUseCaseForModelAccessCommand,
|
|
179
184
|
ListAutomatedReasoningPoliciesCommand,
|
|
180
185
|
ListAutomatedReasoningPolicyBuildWorkflowsCommand,
|
|
@@ -199,6 +204,7 @@ const commands = {
|
|
|
199
204
|
ListTagsForResourceCommand,
|
|
200
205
|
PutEnforcedGuardrailConfigurationCommand,
|
|
201
206
|
PutModelInvocationLoggingConfigurationCommand,
|
|
207
|
+
PutResourcePolicyCommand,
|
|
202
208
|
PutUseCaseForModelAccessCommand,
|
|
203
209
|
RegisterMarketplaceModelEndpointCommand,
|
|
204
210
|
StartAutomatedReasoningPolicyBuildWorkflowCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockControlPlaneService", "DeleteResourcePolicy", {})
|
|
13
|
+
.n("BedrockClient", "DeleteResourcePolicyCommand")
|
|
14
|
+
.sc(DeleteResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockControlPlaneService", "GetResourcePolicy", {})
|
|
13
|
+
.n("BedrockClient", "GetResourcePolicyCommand")
|
|
14
|
+
.sc(GetResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutResourcePolicyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockControlPlaneService", "PutResourcePolicy", {})
|
|
13
|
+
.n("BedrockClient", "PutResourcePolicyCommand")
|
|
14
|
+
.sc(PutResourcePolicy$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./DeleteMarketplaceModelEndpointCommand";
|
|
|
31
31
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
32
32
|
export * from "./DeletePromptRouterCommand";
|
|
33
33
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
34
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
34
35
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
35
36
|
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
36
37
|
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
@@ -56,6 +57,7 @@ export * from "./GetModelInvocationJobCommand";
|
|
|
56
57
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
57
58
|
export * from "./GetPromptRouterCommand";
|
|
58
59
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
60
|
+
export * from "./GetResourcePolicyCommand";
|
|
59
61
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
60
62
|
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
61
63
|
export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
@@ -80,6 +82,7 @@ export * from "./ListProvisionedModelThroughputsCommand";
|
|
|
80
82
|
export * from "./ListTagsForResourceCommand";
|
|
81
83
|
export * from "./PutEnforcedGuardrailConfigurationCommand";
|
|
82
84
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
85
|
+
export * from "./PutResourcePolicyCommand";
|
|
83
86
|
export * from "./PutUseCaseForModelAccessCommand";
|
|
84
87
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
85
88
|
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|