@aws-sdk/client-bedrock 3.940.0 → 3.944.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 +8 -0
- package/dist-cjs/index.js +93 -5
- package/dist-es/Bedrock.js +2 -0
- package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +66 -5
- package/dist-types/Bedrock.d.ts +7 -0
- package/dist-types/BedrockClient.d.ts +3 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +18 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +2 -1
- package/dist-types/commands/GetCustomModelCommand.d.ts +18 -1
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +18 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +166 -164
- package/dist-types/models/models_1.d.ts +168 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/Bedrock.d.ts +17 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -39
- package/dist-types/ts3.4/models/models_1.d.ts +41 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -954,6 +954,14 @@ UpdateAutomatedReasoningPolicyTestCase
|
|
|
954
954
|
|
|
955
955
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/UpdateAutomatedReasoningPolicyTestCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateAutomatedReasoningPolicyTestCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateAutomatedReasoningPolicyTestCaseCommandOutput/)
|
|
956
956
|
|
|
957
|
+
</details>
|
|
958
|
+
<details>
|
|
959
|
+
<summary>
|
|
960
|
+
UpdateCustomModelDeployment
|
|
961
|
+
</summary>
|
|
962
|
+
|
|
963
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/UpdateCustomModelDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateCustomModelDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/UpdateCustomModelDeploymentCommandOutput/)
|
|
964
|
+
|
|
957
965
|
</details>
|
|
958
966
|
<details>
|
|
959
967
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -432,6 +432,7 @@ const _CMCJr = "CreateModelCustomizationJob";
|
|
|
432
432
|
const _CMD = "CustomMetricDefinition";
|
|
433
433
|
const _CMDS = "CustomModelDeploymentSummary";
|
|
434
434
|
const _CMDSL = "CustomModelDeploymentSummaryList";
|
|
435
|
+
const _CMDUD = "CustomModelDeploymentUpdateDetails";
|
|
435
436
|
const _CMEMC = "CustomMetricEvaluatorModelConfig";
|
|
436
437
|
const _CMIJ = "CreateModelImportJob";
|
|
437
438
|
const _CMIJR = "CreateModelImportJobRequest";
|
|
@@ -593,6 +594,7 @@ const _GCP = "GuardrailContentPolicy";
|
|
|
593
594
|
const _GCPC = "GuardrailContentPolicyConfig";
|
|
594
595
|
const _GCRC = "GuardrailCrossRegionConfig";
|
|
595
596
|
const _GCRD = "GuardrailCrossRegionDetails";
|
|
597
|
+
const _GCr = "GraderConfig";
|
|
596
598
|
const _GCu = "GuardrailConfiguration";
|
|
597
599
|
const _GD = "GuardrailDescription";
|
|
598
600
|
const _GEJ = "GetEvaluationJob";
|
|
@@ -739,6 +741,7 @@ const _LFMAORi = "ListFoundationModelAgreementOffersResponse";
|
|
|
739
741
|
const _LFMR = "ListFoundationModelsRequest";
|
|
740
742
|
const _LFMRi = "ListFoundationModelsResponse";
|
|
741
743
|
const _LG = "ListGuardrails";
|
|
744
|
+
const _LGC = "LambdaGraderConfig";
|
|
742
745
|
const _LGR = "ListGuardrailsRequest";
|
|
743
746
|
const _LGRi = "ListGuardrailsResponse";
|
|
744
747
|
const _LIM = "ListImportedModels";
|
|
@@ -825,6 +828,8 @@ const _RCat = "RateCard";
|
|
|
825
828
|
const _RCo = "RoutingCriteria";
|
|
826
829
|
const _RF = "RetrievalFilter";
|
|
827
830
|
const _RFL = "RetrievalFilterList";
|
|
831
|
+
const _RFTC = "RFTConfig";
|
|
832
|
+
const _RFTHP = "RFTHyperParameters";
|
|
828
833
|
const _RIUE = "ResourceInUseException";
|
|
829
834
|
const _RMBF = "RequestMetadataBaseFilters";
|
|
830
835
|
const _RMF = "RequestMetadataFilters";
|
|
@@ -884,6 +889,9 @@ const _UARPRp = "UpdateAutomatedReasoningPolicyResponse";
|
|
|
884
889
|
const _UARPTC = "UpdateAutomatedReasoningPolicyTestCase";
|
|
885
890
|
const _UARPTCR = "UpdateAutomatedReasoningPolicyTestCaseRequest";
|
|
886
891
|
const _UARPTCRp = "UpdateAutomatedReasoningPolicyTestCaseResponse";
|
|
892
|
+
const _UCMD = "UpdateCustomModelDeployment";
|
|
893
|
+
const _UCMDR = "UpdateCustomModelDeploymentRequest";
|
|
894
|
+
const _UCMDRp = "UpdateCustomModelDeploymentResponse";
|
|
887
895
|
const _UG = "UpdateGuardrail";
|
|
888
896
|
const _UGR = "UpdateGuardrailRequest";
|
|
889
897
|
const _UGRp = "UpdateGuardrailResponse";
|
|
@@ -912,6 +920,7 @@ const _a = "annotation";
|
|
|
912
920
|
const _aA = "agreementAvailability";
|
|
913
921
|
const _aAn = "andAll";
|
|
914
922
|
const _aD = "agreementDuration";
|
|
923
|
+
const _aDDE = "audioDataDeliveryEnabled";
|
|
915
924
|
const _aE = "alternateExpression";
|
|
916
925
|
const _aEc = "acceptEula";
|
|
917
926
|
const _aMRF = "additionalModelRequestFields";
|
|
@@ -953,6 +962,7 @@ const _bOMy = "byOutputModality";
|
|
|
953
962
|
const _bP = "byProvider";
|
|
954
963
|
const _bRC = "bedrockRerankingConfiguration";
|
|
955
964
|
const _bS = "buildSteps";
|
|
965
|
+
const _bSa = "batchSize";
|
|
956
966
|
const _bWA = "buildWorkflowAssets";
|
|
957
967
|
const _bWI = "buildWorkflowId";
|
|
958
968
|
const _bWT = "buildWorkflowType";
|
|
@@ -1036,8 +1046,10 @@ const _eAFR = "expectedAggregatedFindingsResult";
|
|
|
1036
1046
|
const _eAn = "entitlementAvailability";
|
|
1037
1047
|
const _eC = "evaluationConfig";
|
|
1038
1048
|
const _eCn = "endpointConfig";
|
|
1049
|
+
const _eCp = "epochCount";
|
|
1039
1050
|
const _eDDE = "embeddingDataDeliveryEnabled";
|
|
1040
1051
|
const _eI = "endpointIdentifier";
|
|
1052
|
+
const _eIv = "evalInterval";
|
|
1041
1053
|
const _eJ = "evaluationJobs";
|
|
1042
1054
|
const _eM = "errorMessage";
|
|
1043
1055
|
const _eMC = "evaluatorModelConfig";
|
|
@@ -1077,6 +1089,7 @@ const _g = "guardrails";
|
|
|
1077
1089
|
const _gA = "guardrailArn";
|
|
1078
1090
|
const _gC = "guardContent";
|
|
1079
1091
|
const _gCe = "generationConfiguration";
|
|
1092
|
+
const _gCr = "graderConfig";
|
|
1080
1093
|
const _gCu = "guardrailConfiguration";
|
|
1081
1094
|
const _gCua = "guardrailsConfig";
|
|
1082
1095
|
const _gI = "guardrailIdentifier";
|
|
@@ -1115,6 +1128,7 @@ const _iMKKA = "importedModelKmsKeyArn";
|
|
|
1115
1128
|
const _iMKKI = "importedModelKmsKeyId";
|
|
1116
1129
|
const _iMN = "importedModelName";
|
|
1117
1130
|
const _iMT = "importedModelTags";
|
|
1131
|
+
const _iMTn = "inferenceMaxTokens";
|
|
1118
1132
|
const _iO = "isOwned";
|
|
1119
1133
|
const _iP = "inferenceParams";
|
|
1120
1134
|
const _iPA = "inferenceProfileArn";
|
|
@@ -1155,11 +1169,14 @@ const _kKA = "kmsKeyArn";
|
|
|
1155
1169
|
const _kKI = "kmsKeyId";
|
|
1156
1170
|
const _kP = "keyPrefix";
|
|
1157
1171
|
const _l = "logic";
|
|
1172
|
+
const _lA = "lambdaArn";
|
|
1158
1173
|
const _lC = "loggingConfig";
|
|
1159
1174
|
const _lCi = "listContains";
|
|
1160
1175
|
const _lDDSC = "largeDataDeliveryS3Config";
|
|
1176
|
+
const _lG = "lambdaGrader";
|
|
1161
1177
|
const _lGN = "logGroupName";
|
|
1162
1178
|
const _lMT = "lastModifiedTime";
|
|
1179
|
+
const _lR = "learningRate";
|
|
1163
1180
|
const _lT = "legalTerm";
|
|
1164
1181
|
const _lTOE = "lessThanOrEquals";
|
|
1165
1182
|
const _lTe = "lessThan";
|
|
@@ -1193,6 +1210,7 @@ const _mME = "marketplaceModelEndpoint";
|
|
|
1193
1210
|
const _mMEa = "marketplaceModelEndpoints";
|
|
1194
1211
|
const _mN = "modelName";
|
|
1195
1212
|
const _mNe = "metricNames";
|
|
1213
|
+
const _mPL = "maxPromptLength";
|
|
1196
1214
|
const _mR = "maxResults";
|
|
1197
1215
|
const _mRLFI = "maxResponseLengthForInference";
|
|
1198
1216
|
const _mS = "modelSource";
|
|
@@ -1287,7 +1305,9 @@ const _rCe = "regexesConfig";
|
|
|
1287
1305
|
const _rCer = "rerankingConfiguration";
|
|
1288
1306
|
const _rCet = "retrievalConfiguration";
|
|
1289
1307
|
const _rCetr = "retrieveConfig";
|
|
1308
|
+
const _rCf = "rftConfig";
|
|
1290
1309
|
const _rCo = "routingCriteria";
|
|
1310
|
+
const _rE = "reasoningEffort";
|
|
1291
1311
|
const _rI = "ruleId";
|
|
1292
1312
|
const _rIa = "ragIdentifiers";
|
|
1293
1313
|
const _rIu = "ruleIds";
|
|
@@ -1386,6 +1406,7 @@ const _tR = "testResult";
|
|
|
1386
1406
|
const _tRR = "testRunResult";
|
|
1387
1407
|
const _tRS = "testRunStatus";
|
|
1388
1408
|
const _tRe = "testResults";
|
|
1409
|
+
const _tSPP = "trainingSamplePerPrompt";
|
|
1389
1410
|
const _tT = "taskType";
|
|
1390
1411
|
const _ta = "tags";
|
|
1391
1412
|
const _te = "text";
|
|
@@ -1401,11 +1422,13 @@ const _uA = "updatedAt";
|
|
|
1401
1422
|
const _uB = "updatedBy";
|
|
1402
1423
|
const _uBPT = "usageBasedPricingTerm";
|
|
1403
1424
|
const _uC = "untranslatedClaims";
|
|
1425
|
+
const _uD = "updateDetails";
|
|
1404
1426
|
const _uFRF = "updateFromRulesFeedback";
|
|
1405
1427
|
const _uFSF = "updateFromScenarioFeedback";
|
|
1406
1428
|
const _uP = "untranslatedPremises";
|
|
1407
1429
|
const _uPR = "usePromptResponse";
|
|
1408
1430
|
const _uR = "updateRule";
|
|
1431
|
+
const _uS = "updateStatus";
|
|
1409
1432
|
const _uT = "unusedTypes";
|
|
1410
1433
|
const _uTV = "unusedTypeValues";
|
|
1411
1434
|
const _uTVp = "updateTypeValue";
|
|
@@ -2426,6 +2449,7 @@ var CustomModelDeploymentSummary = [
|
|
|
2426
2449
|
[_cMDA, _cMDN, _mA, _cA, _s, _lUA, _fMa],
|
|
2427
2450
|
[0, 0, 0, 5, 0, 5, 0],
|
|
2428
2451
|
];
|
|
2452
|
+
var CustomModelDeploymentUpdateDetails = [3, n0, _CMDUD, 0, [_mA, _uS], [0, 0]];
|
|
2429
2453
|
var CustomModelSummary = [
|
|
2430
2454
|
3,
|
|
2431
2455
|
n0,
|
|
@@ -2789,8 +2813,8 @@ var GetCustomModelDeploymentResponse = [
|
|
|
2789
2813
|
n0,
|
|
2790
2814
|
_GCMDRe,
|
|
2791
2815
|
0,
|
|
2792
|
-
[_cMDA, _mDN, _mA, _cA, _s, _d, _fMa, _lUA],
|
|
2793
|
-
[0, 0, 0, 5, 0, 0, 0, 5],
|
|
2816
|
+
[_cMDA, _mDN, _mA, _cA, _s, _d, _uD, _fMa, _lUA],
|
|
2817
|
+
[0, 0, 0, 5, 0, 0, () => CustomModelDeploymentUpdateDetails, 0, 5],
|
|
2794
2818
|
];
|
|
2795
2819
|
var GetCustomModelRequest = [3, n0, _GCMR, 0, [_mI], [[0, 1]]];
|
|
2796
2820
|
var GetCustomModelResponse = [
|
|
@@ -3469,6 +3493,7 @@ var KnowledgeBaseVectorSearchConfiguration = [
|
|
|
3469
3493
|
[() => VectorSearchRerankingConfiguration, 0],
|
|
3470
3494
|
],
|
|
3471
3495
|
];
|
|
3496
|
+
var LambdaGraderConfig = [3, n0, _LGC, 0, [_lA], [0]];
|
|
3472
3497
|
var LegalTerm = [3, n0, _LT, 0, [_ur], [0]];
|
|
3473
3498
|
var ListAutomatedReasoningPoliciesRequest = [
|
|
3474
3499
|
3,
|
|
@@ -4458,8 +4483,8 @@ var LoggingConfig = [
|
|
|
4458
4483
|
n0,
|
|
4459
4484
|
_LC,
|
|
4460
4485
|
0,
|
|
4461
|
-
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE],
|
|
4462
|
-
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2],
|
|
4486
|
+
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE, _aDDE],
|
|
4487
|
+
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2, 2],
|
|
4463
4488
|
];
|
|
4464
4489
|
var MarketplaceModelEndpoint = [
|
|
4465
4490
|
3,
|
|
@@ -4691,6 +4716,22 @@ var RetrieveConfig = [
|
|
|
4691
4716
|
[_kBI, _kBRC],
|
|
4692
4717
|
[0, [() => KnowledgeBaseRetrievalConfiguration, 0]],
|
|
4693
4718
|
];
|
|
4719
|
+
var RFTConfig = [
|
|
4720
|
+
3,
|
|
4721
|
+
n0,
|
|
4722
|
+
_RFTC,
|
|
4723
|
+
0,
|
|
4724
|
+
[_gCr, _hP],
|
|
4725
|
+
[() => GraderConfig, () => RFTHyperParameters],
|
|
4726
|
+
];
|
|
4727
|
+
var RFTHyperParameters = [
|
|
4728
|
+
3,
|
|
4729
|
+
n0,
|
|
4730
|
+
_RFTHP,
|
|
4731
|
+
0,
|
|
4732
|
+
[_eCp, _bSa, _lR, _mPL, _tSPP, _iMTn, _rE, _eIv],
|
|
4733
|
+
[1, 1, 1, 1, 1, 1, 0, 1],
|
|
4734
|
+
];
|
|
4694
4735
|
var RoutingCriteria = [3, n0, _RCo, 0, [_rQD], [1]];
|
|
4695
4736
|
var S3Config = [3, n0, _SC, 0, [_bN, _kP], [0, 0]];
|
|
4696
4737
|
var S3DataSource = [3, n0, _SDS, 0, [_sU], [0]];
|
|
@@ -4896,6 +4937,8 @@ var UpdateAutomatedReasoningPolicyTestCaseResponse = [
|
|
|
4896
4937
|
[_pA, _tCI],
|
|
4897
4938
|
[0, 0],
|
|
4898
4939
|
];
|
|
4940
|
+
var UpdateCustomModelDeploymentRequest = [3, n0, _UCMDR, 0, [_mA, _cMDI], [0, [0, 1]]];
|
|
4941
|
+
var UpdateCustomModelDeploymentResponse = [3, n0, _UCMDRp, 0, [_cMDA], [0]];
|
|
4899
4942
|
var UpdateGuardrailRequest = [
|
|
4900
4943
|
3,
|
|
4901
4944
|
n0,
|
|
@@ -5414,7 +5457,14 @@ var AutomatedReasoningPolicyWorkflowTypeContent = [
|
|
|
5414
5457
|
[() => AutomatedReasoningPolicyBuildWorkflowRepairContent, 0],
|
|
5415
5458
|
],
|
|
5416
5459
|
];
|
|
5417
|
-
var CustomizationConfig = [
|
|
5460
|
+
var CustomizationConfig = [
|
|
5461
|
+
3,
|
|
5462
|
+
n0,
|
|
5463
|
+
_CC,
|
|
5464
|
+
0,
|
|
5465
|
+
[_dC, _rCf],
|
|
5466
|
+
[() => DistillationConfig, () => RFTConfig],
|
|
5467
|
+
];
|
|
5418
5468
|
var EndpointConfig = [3, n0, _EC, 0, [_sMa], [() => SageMakerEndpoint]];
|
|
5419
5469
|
var EvaluationConfig = [
|
|
5420
5470
|
3,
|
|
@@ -5456,6 +5506,7 @@ var EvaluationPrecomputedRagSourceConfig = [
|
|
|
5456
5506
|
[() => EvaluationPrecomputedRetrieveSourceConfig, () => EvaluationPrecomputedRetrieveAndGenerateSourceConfig],
|
|
5457
5507
|
];
|
|
5458
5508
|
var EvaluatorModelConfig = [3, n0, _EMCva, 0, [_bEM], [() => BedrockEvaluatorModels]];
|
|
5509
|
+
var GraderConfig = [3, n0, _GCr, 0, [_lG], [() => LambdaGraderConfig]];
|
|
5459
5510
|
var InferenceProfileModelSource = [3, n0, _IPMS, 0, [_cF], [0]];
|
|
5460
5511
|
var InvocationLogSource = [3, n0, _ILS, 0, [_sU], [0]];
|
|
5461
5512
|
var KnowledgeBaseConfig = [
|
|
@@ -6485,6 +6536,16 @@ var UpdateAutomatedReasoningPolicyTestCase = [
|
|
|
6485
6536
|
() => UpdateAutomatedReasoningPolicyTestCaseRequest,
|
|
6486
6537
|
() => UpdateAutomatedReasoningPolicyTestCaseResponse,
|
|
6487
6538
|
];
|
|
6539
|
+
var UpdateCustomModelDeployment = [
|
|
6540
|
+
9,
|
|
6541
|
+
n0,
|
|
6542
|
+
_UCMD,
|
|
6543
|
+
{
|
|
6544
|
+
[_ht]: ["PATCH", "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", 202],
|
|
6545
|
+
},
|
|
6546
|
+
() => UpdateCustomModelDeploymentRequest,
|
|
6547
|
+
() => UpdateCustomModelDeploymentResponse,
|
|
6548
|
+
];
|
|
6488
6549
|
var UpdateGuardrail = [
|
|
6489
6550
|
9,
|
|
6490
6551
|
n0,
|
|
@@ -7644,6 +7705,18 @@ class UpdateAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
|
|
|
7644
7705
|
.build() {
|
|
7645
7706
|
}
|
|
7646
7707
|
|
|
7708
|
+
class UpdateCustomModelDeploymentCommand extends smithyClient.Command
|
|
7709
|
+
.classBuilder()
|
|
7710
|
+
.ep(commonParams)
|
|
7711
|
+
.m(function (Command, cs, config, o) {
|
|
7712
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
7713
|
+
})
|
|
7714
|
+
.s("AmazonBedrockControlPlaneService", "UpdateCustomModelDeployment", {})
|
|
7715
|
+
.n("BedrockClient", "UpdateCustomModelDeploymentCommand")
|
|
7716
|
+
.sc(UpdateCustomModelDeployment)
|
|
7717
|
+
.build() {
|
|
7718
|
+
}
|
|
7719
|
+
|
|
7647
7720
|
class UpdateGuardrailCommand extends smithyClient.Command
|
|
7648
7721
|
.classBuilder()
|
|
7649
7722
|
.ep(commonParams)
|
|
@@ -7775,6 +7848,7 @@ const commands = {
|
|
|
7775
7848
|
UpdateAutomatedReasoningPolicyCommand,
|
|
7776
7849
|
UpdateAutomatedReasoningPolicyAnnotationsCommand,
|
|
7777
7850
|
UpdateAutomatedReasoningPolicyTestCaseCommand,
|
|
7851
|
+
UpdateCustomModelDeploymentCommand,
|
|
7778
7852
|
UpdateGuardrailCommand,
|
|
7779
7853
|
UpdateMarketplaceModelEndpointCommand,
|
|
7780
7854
|
UpdateProvisionedModelThroughputCommand,
|
|
@@ -7899,6 +7973,11 @@ const CustomModelDeploymentStatus = {
|
|
|
7899
7973
|
CREATING: "Creating",
|
|
7900
7974
|
FAILED: "Failed",
|
|
7901
7975
|
};
|
|
7976
|
+
const CustomModelDeploymentUpdateStatus = {
|
|
7977
|
+
UPDATE_COMPLETED: "UpdateCompleted",
|
|
7978
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
7979
|
+
UPDATING: "Updating",
|
|
7980
|
+
};
|
|
7902
7981
|
const SortModelsBy = {
|
|
7903
7982
|
CREATION_TIME: "CreationTime",
|
|
7904
7983
|
};
|
|
@@ -7906,11 +7985,17 @@ const SortOrder = {
|
|
|
7906
7985
|
ASCENDING: "Ascending",
|
|
7907
7986
|
DESCENDING: "Descending",
|
|
7908
7987
|
};
|
|
7988
|
+
const ReasoningEffort = {
|
|
7989
|
+
HIGH: "high",
|
|
7990
|
+
LOW: "low",
|
|
7991
|
+
MEDIUM: "medium",
|
|
7992
|
+
};
|
|
7909
7993
|
const CustomizationType = {
|
|
7910
7994
|
CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
|
|
7911
7995
|
DISTILLATION: "DISTILLATION",
|
|
7912
7996
|
FINE_TUNING: "FINE_TUNING",
|
|
7913
7997
|
IMPORTED: "IMPORTED",
|
|
7998
|
+
REINFORCEMENT_FINE_TUNING: "REINFORCEMENT_FINE_TUNING",
|
|
7914
7999
|
};
|
|
7915
8000
|
const ModelStatus = {
|
|
7916
8001
|
ACTIVE: "Active",
|
|
@@ -8231,6 +8316,7 @@ exports.CreateModelInvocationJobCommand = CreateModelInvocationJobCommand;
|
|
|
8231
8316
|
exports.CreatePromptRouterCommand = CreatePromptRouterCommand;
|
|
8232
8317
|
exports.CreateProvisionedModelThroughputCommand = CreateProvisionedModelThroughputCommand;
|
|
8233
8318
|
exports.CustomModelDeploymentStatus = CustomModelDeploymentStatus;
|
|
8319
|
+
exports.CustomModelDeploymentUpdateStatus = CustomModelDeploymentUpdateStatus;
|
|
8234
8320
|
exports.CustomizationType = CustomizationType;
|
|
8235
8321
|
exports.DeleteAutomatedReasoningPolicyBuildWorkflowCommand = DeleteAutomatedReasoningPolicyBuildWorkflowCommand;
|
|
8236
8322
|
exports.DeleteAutomatedReasoningPolicyCommand = DeleteAutomatedReasoningPolicyCommand;
|
|
@@ -8337,6 +8423,7 @@ exports.PutEnforcedGuardrailConfigurationCommand = PutEnforcedGuardrailConfigura
|
|
|
8337
8423
|
exports.PutModelInvocationLoggingConfigurationCommand = PutModelInvocationLoggingConfigurationCommand;
|
|
8338
8424
|
exports.PutUseCaseForModelAccessCommand = PutUseCaseForModelAccessCommand;
|
|
8339
8425
|
exports.QueryTransformationType = QueryTransformationType;
|
|
8426
|
+
exports.ReasoningEffort = ReasoningEffort;
|
|
8340
8427
|
exports.RegionAvailability = RegionAvailability;
|
|
8341
8428
|
exports.RegisterMarketplaceModelEndpointCommand = RegisterMarketplaceModelEndpointCommand;
|
|
8342
8429
|
exports.RerankingMetadataSelectionMode = RerankingMetadataSelectionMode;
|
|
@@ -8364,6 +8451,7 @@ exports.UntagResourceCommand = UntagResourceCommand;
|
|
|
8364
8451
|
exports.UpdateAutomatedReasoningPolicyAnnotationsCommand = UpdateAutomatedReasoningPolicyAnnotationsCommand;
|
|
8365
8452
|
exports.UpdateAutomatedReasoningPolicyCommand = UpdateAutomatedReasoningPolicyCommand;
|
|
8366
8453
|
exports.UpdateAutomatedReasoningPolicyTestCaseCommand = UpdateAutomatedReasoningPolicyTestCaseCommand;
|
|
8454
|
+
exports.UpdateCustomModelDeploymentCommand = UpdateCustomModelDeploymentCommand;
|
|
8367
8455
|
exports.UpdateGuardrailCommand = UpdateGuardrailCommand;
|
|
8368
8456
|
exports.UpdateMarketplaceModelEndpointCommand = UpdateMarketplaceModelEndpointCommand;
|
|
8369
8457
|
exports.UpdateProvisionedModelThroughputCommand = UpdateProvisionedModelThroughputCommand;
|
package/dist-es/Bedrock.js
CHANGED
|
@@ -94,6 +94,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
94
94
|
import { UpdateAutomatedReasoningPolicyAnnotationsCommand, } from "./commands/UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
95
95
|
import { UpdateAutomatedReasoningPolicyCommand, } from "./commands/UpdateAutomatedReasoningPolicyCommand";
|
|
96
96
|
import { UpdateAutomatedReasoningPolicyTestCaseCommand, } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
97
|
+
import { UpdateCustomModelDeploymentCommand, } from "./commands/UpdateCustomModelDeploymentCommand";
|
|
97
98
|
import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
|
|
98
99
|
import { UpdateMarketplaceModelEndpointCommand, } from "./commands/UpdateMarketplaceModelEndpointCommand";
|
|
99
100
|
import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
@@ -192,6 +193,7 @@ const commands = {
|
|
|
192
193
|
UpdateAutomatedReasoningPolicyCommand,
|
|
193
194
|
UpdateAutomatedReasoningPolicyAnnotationsCommand,
|
|
194
195
|
UpdateAutomatedReasoningPolicyTestCaseCommand,
|
|
196
|
+
UpdateCustomModelDeploymentCommand,
|
|
195
197
|
UpdateGuardrailCommand,
|
|
196
198
|
UpdateMarketplaceModelEndpointCommand,
|
|
197
199
|
UpdateProvisionedModelThroughputCommand,
|
|
@@ -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 { UpdateCustomModelDeployment } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateCustomModelDeploymentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockControlPlaneService", "UpdateCustomModelDeployment", {})
|
|
13
|
+
.n("BedrockClient", "UpdateCustomModelDeploymentCommand")
|
|
14
|
+
.sc(UpdateCustomModelDeployment)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -92,6 +92,7 @@ export * from "./UntagResourceCommand";
|
|
|
92
92
|
export * from "./UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
93
93
|
export * from "./UpdateAutomatedReasoningPolicyCommand";
|
|
94
94
|
export * from "./UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
95
|
+
export * from "./UpdateCustomModelDeploymentCommand";
|
|
95
96
|
export * from "./UpdateGuardrailCommand";
|
|
96
97
|
export * from "./UpdateMarketplaceModelEndpointCommand";
|
|
97
98
|
export * from "./UpdateProvisionedModelThroughputCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -78,6 +78,11 @@ export const CustomModelDeploymentStatus = {
|
|
|
78
78
|
CREATING: "Creating",
|
|
79
79
|
FAILED: "Failed",
|
|
80
80
|
};
|
|
81
|
+
export const CustomModelDeploymentUpdateStatus = {
|
|
82
|
+
UPDATE_COMPLETED: "UpdateCompleted",
|
|
83
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
84
|
+
UPDATING: "Updating",
|
|
85
|
+
};
|
|
81
86
|
export const SortModelsBy = {
|
|
82
87
|
CREATION_TIME: "CreationTime",
|
|
83
88
|
};
|
|
@@ -85,11 +90,17 @@ export const SortOrder = {
|
|
|
85
90
|
ASCENDING: "Ascending",
|
|
86
91
|
DESCENDING: "Descending",
|
|
87
92
|
};
|
|
93
|
+
export const ReasoningEffort = {
|
|
94
|
+
HIGH: "high",
|
|
95
|
+
LOW: "low",
|
|
96
|
+
MEDIUM: "medium",
|
|
97
|
+
};
|
|
88
98
|
export const CustomizationType = {
|
|
89
99
|
CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
|
|
90
100
|
DISTILLATION: "DISTILLATION",
|
|
91
101
|
FINE_TUNING: "FINE_TUNING",
|
|
92
102
|
IMPORTED: "IMPORTED",
|
|
103
|
+
REINFORCEMENT_FINE_TUNING: "REINFORCEMENT_FINE_TUNING",
|
|
93
104
|
};
|
|
94
105
|
export const ModelStatus = {
|
|
95
106
|
ACTIVE: "Active",
|
|
@@ -181,6 +181,7 @@ const _CMCJr = "CreateModelCustomizationJob";
|
|
|
181
181
|
const _CMD = "CustomMetricDefinition";
|
|
182
182
|
const _CMDS = "CustomModelDeploymentSummary";
|
|
183
183
|
const _CMDSL = "CustomModelDeploymentSummaryList";
|
|
184
|
+
const _CMDUD = "CustomModelDeploymentUpdateDetails";
|
|
184
185
|
const _CMEMC = "CustomMetricEvaluatorModelConfig";
|
|
185
186
|
const _CMIJ = "CreateModelImportJob";
|
|
186
187
|
const _CMIJR = "CreateModelImportJobRequest";
|
|
@@ -342,6 +343,7 @@ const _GCP = "GuardrailContentPolicy";
|
|
|
342
343
|
const _GCPC = "GuardrailContentPolicyConfig";
|
|
343
344
|
const _GCRC = "GuardrailCrossRegionConfig";
|
|
344
345
|
const _GCRD = "GuardrailCrossRegionDetails";
|
|
346
|
+
const _GCr = "GraderConfig";
|
|
345
347
|
const _GCu = "GuardrailConfiguration";
|
|
346
348
|
const _GD = "GuardrailDescription";
|
|
347
349
|
const _GEJ = "GetEvaluationJob";
|
|
@@ -488,6 +490,7 @@ const _LFMAORi = "ListFoundationModelAgreementOffersResponse";
|
|
|
488
490
|
const _LFMR = "ListFoundationModelsRequest";
|
|
489
491
|
const _LFMRi = "ListFoundationModelsResponse";
|
|
490
492
|
const _LG = "ListGuardrails";
|
|
493
|
+
const _LGC = "LambdaGraderConfig";
|
|
491
494
|
const _LGR = "ListGuardrailsRequest";
|
|
492
495
|
const _LGRi = "ListGuardrailsResponse";
|
|
493
496
|
const _LIM = "ListImportedModels";
|
|
@@ -574,6 +577,8 @@ const _RCat = "RateCard";
|
|
|
574
577
|
const _RCo = "RoutingCriteria";
|
|
575
578
|
const _RF = "RetrievalFilter";
|
|
576
579
|
const _RFL = "RetrievalFilterList";
|
|
580
|
+
const _RFTC = "RFTConfig";
|
|
581
|
+
const _RFTHP = "RFTHyperParameters";
|
|
577
582
|
const _RIUE = "ResourceInUseException";
|
|
578
583
|
const _RMBF = "RequestMetadataBaseFilters";
|
|
579
584
|
const _RMF = "RequestMetadataFilters";
|
|
@@ -633,6 +638,9 @@ const _UARPRp = "UpdateAutomatedReasoningPolicyResponse";
|
|
|
633
638
|
const _UARPTC = "UpdateAutomatedReasoningPolicyTestCase";
|
|
634
639
|
const _UARPTCR = "UpdateAutomatedReasoningPolicyTestCaseRequest";
|
|
635
640
|
const _UARPTCRp = "UpdateAutomatedReasoningPolicyTestCaseResponse";
|
|
641
|
+
const _UCMD = "UpdateCustomModelDeployment";
|
|
642
|
+
const _UCMDR = "UpdateCustomModelDeploymentRequest";
|
|
643
|
+
const _UCMDRp = "UpdateCustomModelDeploymentResponse";
|
|
636
644
|
const _UG = "UpdateGuardrail";
|
|
637
645
|
const _UGR = "UpdateGuardrailRequest";
|
|
638
646
|
const _UGRp = "UpdateGuardrailResponse";
|
|
@@ -661,6 +669,7 @@ const _a = "annotation";
|
|
|
661
669
|
const _aA = "agreementAvailability";
|
|
662
670
|
const _aAn = "andAll";
|
|
663
671
|
const _aD = "agreementDuration";
|
|
672
|
+
const _aDDE = "audioDataDeliveryEnabled";
|
|
664
673
|
const _aE = "alternateExpression";
|
|
665
674
|
const _aEc = "acceptEula";
|
|
666
675
|
const _aMRF = "additionalModelRequestFields";
|
|
@@ -702,6 +711,7 @@ const _bOMy = "byOutputModality";
|
|
|
702
711
|
const _bP = "byProvider";
|
|
703
712
|
const _bRC = "bedrockRerankingConfiguration";
|
|
704
713
|
const _bS = "buildSteps";
|
|
714
|
+
const _bSa = "batchSize";
|
|
705
715
|
const _bWA = "buildWorkflowAssets";
|
|
706
716
|
const _bWI = "buildWorkflowId";
|
|
707
717
|
const _bWT = "buildWorkflowType";
|
|
@@ -785,8 +795,10 @@ const _eAFR = "expectedAggregatedFindingsResult";
|
|
|
785
795
|
const _eAn = "entitlementAvailability";
|
|
786
796
|
const _eC = "evaluationConfig";
|
|
787
797
|
const _eCn = "endpointConfig";
|
|
798
|
+
const _eCp = "epochCount";
|
|
788
799
|
const _eDDE = "embeddingDataDeliveryEnabled";
|
|
789
800
|
const _eI = "endpointIdentifier";
|
|
801
|
+
const _eIv = "evalInterval";
|
|
790
802
|
const _eJ = "evaluationJobs";
|
|
791
803
|
const _eM = "errorMessage";
|
|
792
804
|
const _eMC = "evaluatorModelConfig";
|
|
@@ -826,6 +838,7 @@ const _g = "guardrails";
|
|
|
826
838
|
const _gA = "guardrailArn";
|
|
827
839
|
const _gC = "guardContent";
|
|
828
840
|
const _gCe = "generationConfiguration";
|
|
841
|
+
const _gCr = "graderConfig";
|
|
829
842
|
const _gCu = "guardrailConfiguration";
|
|
830
843
|
const _gCua = "guardrailsConfig";
|
|
831
844
|
const _gI = "guardrailIdentifier";
|
|
@@ -864,6 +877,7 @@ const _iMKKA = "importedModelKmsKeyArn";
|
|
|
864
877
|
const _iMKKI = "importedModelKmsKeyId";
|
|
865
878
|
const _iMN = "importedModelName";
|
|
866
879
|
const _iMT = "importedModelTags";
|
|
880
|
+
const _iMTn = "inferenceMaxTokens";
|
|
867
881
|
const _iO = "isOwned";
|
|
868
882
|
const _iP = "inferenceParams";
|
|
869
883
|
const _iPA = "inferenceProfileArn";
|
|
@@ -904,11 +918,14 @@ const _kKA = "kmsKeyArn";
|
|
|
904
918
|
const _kKI = "kmsKeyId";
|
|
905
919
|
const _kP = "keyPrefix";
|
|
906
920
|
const _l = "logic";
|
|
921
|
+
const _lA = "lambdaArn";
|
|
907
922
|
const _lC = "loggingConfig";
|
|
908
923
|
const _lCi = "listContains";
|
|
909
924
|
const _lDDSC = "largeDataDeliveryS3Config";
|
|
925
|
+
const _lG = "lambdaGrader";
|
|
910
926
|
const _lGN = "logGroupName";
|
|
911
927
|
const _lMT = "lastModifiedTime";
|
|
928
|
+
const _lR = "learningRate";
|
|
912
929
|
const _lT = "legalTerm";
|
|
913
930
|
const _lTOE = "lessThanOrEquals";
|
|
914
931
|
const _lTe = "lessThan";
|
|
@@ -942,6 +959,7 @@ const _mME = "marketplaceModelEndpoint";
|
|
|
942
959
|
const _mMEa = "marketplaceModelEndpoints";
|
|
943
960
|
const _mN = "modelName";
|
|
944
961
|
const _mNe = "metricNames";
|
|
962
|
+
const _mPL = "maxPromptLength";
|
|
945
963
|
const _mR = "maxResults";
|
|
946
964
|
const _mRLFI = "maxResponseLengthForInference";
|
|
947
965
|
const _mS = "modelSource";
|
|
@@ -1036,7 +1054,9 @@ const _rCe = "regexesConfig";
|
|
|
1036
1054
|
const _rCer = "rerankingConfiguration";
|
|
1037
1055
|
const _rCet = "retrievalConfiguration";
|
|
1038
1056
|
const _rCetr = "retrieveConfig";
|
|
1057
|
+
const _rCf = "rftConfig";
|
|
1039
1058
|
const _rCo = "routingCriteria";
|
|
1059
|
+
const _rE = "reasoningEffort";
|
|
1040
1060
|
const _rI = "ruleId";
|
|
1041
1061
|
const _rIa = "ragIdentifiers";
|
|
1042
1062
|
const _rIu = "ruleIds";
|
|
@@ -1135,6 +1155,7 @@ const _tR = "testResult";
|
|
|
1135
1155
|
const _tRR = "testRunResult";
|
|
1136
1156
|
const _tRS = "testRunStatus";
|
|
1137
1157
|
const _tRe = "testResults";
|
|
1158
|
+
const _tSPP = "trainingSamplePerPrompt";
|
|
1138
1159
|
const _tT = "taskType";
|
|
1139
1160
|
const _ta = "tags";
|
|
1140
1161
|
const _te = "text";
|
|
@@ -1150,11 +1171,13 @@ const _uA = "updatedAt";
|
|
|
1150
1171
|
const _uB = "updatedBy";
|
|
1151
1172
|
const _uBPT = "usageBasedPricingTerm";
|
|
1152
1173
|
const _uC = "untranslatedClaims";
|
|
1174
|
+
const _uD = "updateDetails";
|
|
1153
1175
|
const _uFRF = "updateFromRulesFeedback";
|
|
1154
1176
|
const _uFSF = "updateFromScenarioFeedback";
|
|
1155
1177
|
const _uP = "untranslatedPremises";
|
|
1156
1178
|
const _uPR = "usePromptResponse";
|
|
1157
1179
|
const _uR = "updateRule";
|
|
1180
|
+
const _uS = "updateStatus";
|
|
1158
1181
|
const _uT = "unusedTypes";
|
|
1159
1182
|
const _uTV = "unusedTypeValues";
|
|
1160
1183
|
const _uTVp = "updateTypeValue";
|
|
@@ -2178,6 +2201,7 @@ export var CustomModelDeploymentSummary = [
|
|
|
2178
2201
|
[_cMDA, _cMDN, _mA, _cA, _s, _lUA, _fMa],
|
|
2179
2202
|
[0, 0, 0, 5, 0, 5, 0],
|
|
2180
2203
|
];
|
|
2204
|
+
export var CustomModelDeploymentUpdateDetails = [3, n0, _CMDUD, 0, [_mA, _uS], [0, 0]];
|
|
2181
2205
|
export var CustomModelSummary = [
|
|
2182
2206
|
3,
|
|
2183
2207
|
n0,
|
|
@@ -2541,8 +2565,8 @@ export var GetCustomModelDeploymentResponse = [
|
|
|
2541
2565
|
n0,
|
|
2542
2566
|
_GCMDRe,
|
|
2543
2567
|
0,
|
|
2544
|
-
[_cMDA, _mDN, _mA, _cA, _s, _d, _fMa, _lUA],
|
|
2545
|
-
[0, 0, 0, 5, 0, 0, 0, 5],
|
|
2568
|
+
[_cMDA, _mDN, _mA, _cA, _s, _d, _uD, _fMa, _lUA],
|
|
2569
|
+
[0, 0, 0, 5, 0, 0, () => CustomModelDeploymentUpdateDetails, 0, 5],
|
|
2546
2570
|
];
|
|
2547
2571
|
export var GetCustomModelRequest = [3, n0, _GCMR, 0, [_mI], [[0, 1]]];
|
|
2548
2572
|
export var GetCustomModelResponse = [
|
|
@@ -3221,6 +3245,7 @@ export var KnowledgeBaseVectorSearchConfiguration = [
|
|
|
3221
3245
|
[() => VectorSearchRerankingConfiguration, 0],
|
|
3222
3246
|
],
|
|
3223
3247
|
];
|
|
3248
|
+
export var LambdaGraderConfig = [3, n0, _LGC, 0, [_lA], [0]];
|
|
3224
3249
|
export var LegalTerm = [3, n0, _LT, 0, [_ur], [0]];
|
|
3225
3250
|
export var ListAutomatedReasoningPoliciesRequest = [
|
|
3226
3251
|
3,
|
|
@@ -4210,8 +4235,8 @@ export var LoggingConfig = [
|
|
|
4210
4235
|
n0,
|
|
4211
4236
|
_LC,
|
|
4212
4237
|
0,
|
|
4213
|
-
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE],
|
|
4214
|
-
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2],
|
|
4238
|
+
[_cWC, _sC, _tDDE, _iDDE, _eDDE, _vDDE, _aDDE],
|
|
4239
|
+
[() => CloudWatchConfig, () => S3Config, 2, 2, 2, 2, 2],
|
|
4215
4240
|
];
|
|
4216
4241
|
export var MarketplaceModelEndpoint = [
|
|
4217
4242
|
3,
|
|
@@ -4443,6 +4468,22 @@ export var RetrieveConfig = [
|
|
|
4443
4468
|
[_kBI, _kBRC],
|
|
4444
4469
|
[0, [() => KnowledgeBaseRetrievalConfiguration, 0]],
|
|
4445
4470
|
];
|
|
4471
|
+
export var RFTConfig = [
|
|
4472
|
+
3,
|
|
4473
|
+
n0,
|
|
4474
|
+
_RFTC,
|
|
4475
|
+
0,
|
|
4476
|
+
[_gCr, _hP],
|
|
4477
|
+
[() => GraderConfig, () => RFTHyperParameters],
|
|
4478
|
+
];
|
|
4479
|
+
export var RFTHyperParameters = [
|
|
4480
|
+
3,
|
|
4481
|
+
n0,
|
|
4482
|
+
_RFTHP,
|
|
4483
|
+
0,
|
|
4484
|
+
[_eCp, _bSa, _lR, _mPL, _tSPP, _iMTn, _rE, _eIv],
|
|
4485
|
+
[1, 1, 1, 1, 1, 1, 0, 1],
|
|
4486
|
+
];
|
|
4446
4487
|
export var RoutingCriteria = [3, n0, _RCo, 0, [_rQD], [1]];
|
|
4447
4488
|
export var S3Config = [3, n0, _SC, 0, [_bN, _kP], [0, 0]];
|
|
4448
4489
|
export var S3DataSource = [3, n0, _SDS, 0, [_sU], [0]];
|
|
@@ -4648,6 +4689,8 @@ export var UpdateAutomatedReasoningPolicyTestCaseResponse = [
|
|
|
4648
4689
|
[_pA, _tCI],
|
|
4649
4690
|
[0, 0],
|
|
4650
4691
|
];
|
|
4692
|
+
export var UpdateCustomModelDeploymentRequest = [3, n0, _UCMDR, 0, [_mA, _cMDI], [0, [0, 1]]];
|
|
4693
|
+
export var UpdateCustomModelDeploymentResponse = [3, n0, _UCMDRp, 0, [_cMDA], [0]];
|
|
4651
4694
|
export var UpdateGuardrailRequest = [
|
|
4652
4695
|
3,
|
|
4653
4696
|
n0,
|
|
@@ -5188,7 +5231,14 @@ export var AutomatedReasoningPolicyWorkflowTypeContent = [
|
|
|
5188
5231
|
[() => AutomatedReasoningPolicyBuildWorkflowRepairContent, 0],
|
|
5189
5232
|
],
|
|
5190
5233
|
];
|
|
5191
|
-
export var CustomizationConfig = [
|
|
5234
|
+
export var CustomizationConfig = [
|
|
5235
|
+
3,
|
|
5236
|
+
n0,
|
|
5237
|
+
_CC,
|
|
5238
|
+
0,
|
|
5239
|
+
[_dC, _rCf],
|
|
5240
|
+
[() => DistillationConfig, () => RFTConfig],
|
|
5241
|
+
];
|
|
5192
5242
|
export var EndpointConfig = [3, n0, _EC, 0, [_sMa], [() => SageMakerEndpoint]];
|
|
5193
5243
|
export var EvaluationConfig = [
|
|
5194
5244
|
3,
|
|
@@ -5230,6 +5280,7 @@ export var EvaluationPrecomputedRagSourceConfig = [
|
|
|
5230
5280
|
[() => EvaluationPrecomputedRetrieveSourceConfig, () => EvaluationPrecomputedRetrieveAndGenerateSourceConfig],
|
|
5231
5281
|
];
|
|
5232
5282
|
export var EvaluatorModelConfig = [3, n0, _EMCva, 0, [_bEM], [() => BedrockEvaluatorModels]];
|
|
5283
|
+
export var GraderConfig = [3, n0, _GCr, 0, [_lG], [() => LambdaGraderConfig]];
|
|
5233
5284
|
export var InferenceProfileModelSource = [3, n0, _IPMS, 0, [_cF], [0]];
|
|
5234
5285
|
export var InvocationLogSource = [3, n0, _ILS, 0, [_sU], [0]];
|
|
5235
5286
|
export var KnowledgeBaseConfig = [
|
|
@@ -6259,6 +6310,16 @@ export var UpdateAutomatedReasoningPolicyTestCase = [
|
|
|
6259
6310
|
() => UpdateAutomatedReasoningPolicyTestCaseRequest,
|
|
6260
6311
|
() => UpdateAutomatedReasoningPolicyTestCaseResponse,
|
|
6261
6312
|
];
|
|
6313
|
+
export var UpdateCustomModelDeployment = [
|
|
6314
|
+
9,
|
|
6315
|
+
n0,
|
|
6316
|
+
_UCMD,
|
|
6317
|
+
{
|
|
6318
|
+
[_ht]: ["PATCH", "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", 202],
|
|
6319
|
+
},
|
|
6320
|
+
() => UpdateCustomModelDeploymentRequest,
|
|
6321
|
+
() => UpdateCustomModelDeploymentResponse,
|
|
6322
|
+
];
|
|
6262
6323
|
export var UpdateGuardrail = [
|
|
6263
6324
|
9,
|
|
6264
6325
|
n0,
|
package/dist-types/Bedrock.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
94
94
|
import { UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyAnnotationsCommand";
|
|
95
95
|
import { UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyCommand";
|
|
96
96
|
import { UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
97
|
+
import { UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput } from "./commands/UpdateCustomModelDeploymentCommand";
|
|
97
98
|
import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
98
99
|
import { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
|
|
99
100
|
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
@@ -681,6 +682,12 @@ export interface Bedrock {
|
|
|
681
682
|
updateAutomatedReasoningPolicyTestCase(args: UpdateAutomatedReasoningPolicyTestCaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutomatedReasoningPolicyTestCaseCommandOutput>;
|
|
682
683
|
updateAutomatedReasoningPolicyTestCase(args: UpdateAutomatedReasoningPolicyTestCaseCommandInput, cb: (err: any, data?: UpdateAutomatedReasoningPolicyTestCaseCommandOutput) => void): void;
|
|
683
684
|
updateAutomatedReasoningPolicyTestCase(args: UpdateAutomatedReasoningPolicyTestCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutomatedReasoningPolicyTestCaseCommandOutput) => void): void;
|
|
685
|
+
/**
|
|
686
|
+
* @see {@link UpdateCustomModelDeploymentCommand}
|
|
687
|
+
*/
|
|
688
|
+
updateCustomModelDeployment(args: UpdateCustomModelDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCustomModelDeploymentCommandOutput>;
|
|
689
|
+
updateCustomModelDeployment(args: UpdateCustomModelDeploymentCommandInput, cb: (err: any, data?: UpdateCustomModelDeploymentCommandOutput) => void): void;
|
|
690
|
+
updateCustomModelDeployment(args: UpdateCustomModelDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCustomModelDeploymentCommandOutput) => void): void;
|
|
684
691
|
/**
|
|
685
692
|
* @see {@link UpdateGuardrailCommand}
|
|
686
693
|
*/
|