@aws-sdk/client-bedrock-agentcore-control 3.1098.0 → 3.1100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +25 -7
- package/dist-es/schemas/schemas_0.js +22 -6
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +9 -0
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluatorCommand.d.ts +9 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +55 -83
- package/dist-types/models/models_1.d.ts +84 -67
- package/dist-types/models/models_2.d.ts +65 -0
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRegistryRecordCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +19 -18
- package/dist-types/ts3.4/models/models_1.d.ts +18 -20
- package/dist-types/ts3.4/models/models_2.d.ts +15 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1099.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -997,6 +997,7 @@ const _OECS = "OnlineEvaluationConfigSummary";
|
|
|
997
997
|
const _OECSL = "OnlineEvaluationConfigSummaryList";
|
|
998
998
|
const _OPCI = "Oauth2ProviderConfigInput";
|
|
999
999
|
const _OPCO = "Oauth2ProviderConfigOutput";
|
|
1000
|
+
const _OREMC = "OpenResponsesEvaluatorModelConfig";
|
|
1000
1001
|
const _P = "Prompt";
|
|
1001
1002
|
const _PC = "ProtocolConfiguration";
|
|
1002
1003
|
const _PCP = "PaymentCredentialProviders";
|
|
@@ -1037,8 +1038,9 @@ const _PTC = "PassthroughTargetConfiguration";
|
|
|
1037
1038
|
const _Po = "Policy";
|
|
1038
1039
|
const _Pol = "Policies";
|
|
1039
1040
|
const _R = "Rule";
|
|
1040
|
-
const _RC = "
|
|
1041
|
-
const _RCe = "
|
|
1041
|
+
const _RC = "ReasoningConfiguration";
|
|
1042
|
+
const _RCe = "RecordingConfig";
|
|
1043
|
+
const _RCef = "ReflectionConfiguration";
|
|
1042
1044
|
const _RHC = "RequestHeaderConfiguration";
|
|
1043
1045
|
const _RL = "ResourceLocation";
|
|
1044
1046
|
const _RLEE = "ResourceLimitExceededException";
|
|
@@ -1479,6 +1481,7 @@ const _eS = "executionStatus";
|
|
|
1479
1481
|
const _eT = "evaluatorType";
|
|
1480
1482
|
const _eTx = "extractionType";
|
|
1481
1483
|
const _eV = "environmentVariables";
|
|
1484
|
+
const _ef = "effort";
|
|
1482
1485
|
const _en = "enabled";
|
|
1483
1486
|
const _end = "endpoint";
|
|
1484
1487
|
const _endp = "endpoints";
|
|
@@ -1602,6 +1605,7 @@ const _mM = "modelMapping";
|
|
|
1602
1605
|
const _mMC = "managedMemoryConfiguration";
|
|
1603
1606
|
const _mMS = "modifyMemoryStrategies";
|
|
1604
1607
|
const _mOPC = "microsoftOauth2ProviderConfig";
|
|
1608
|
+
const _mOT = "maxOutputTokens";
|
|
1605
1609
|
const _mP = "mountPath";
|
|
1606
1610
|
const _mPa = "matchPrincipals";
|
|
1607
1611
|
const _mPat = "matchPaths";
|
|
@@ -1718,6 +1722,7 @@ const _rCI = "resourceConfigurationIdentifier";
|
|
|
1718
1722
|
const _rCe = "retrievalConfig";
|
|
1719
1723
|
const _rD = "routingDomain";
|
|
1720
1724
|
const _rE = "runtimeEndpoints";
|
|
1725
|
+
const _rEMC = "responsesEvaluatorModelConfig";
|
|
1721
1726
|
const _rGA = "resourceGatewayArn";
|
|
1722
1727
|
const _rHA = "requestHeaderAllowlist";
|
|
1723
1728
|
const _rHC = "requestHeaderConfiguration";
|
|
@@ -1737,6 +1742,7 @@ const _rTT = "routeToTarget";
|
|
|
1737
1742
|
const _rTa = "rawText";
|
|
1738
1743
|
const _rV = "recordVersion";
|
|
1739
1744
|
const _re = "recording";
|
|
1745
|
+
const _rea = "reasoning";
|
|
1740
1746
|
const _ref = "reflection";
|
|
1741
1747
|
const _reg = "region";
|
|
1742
1748
|
const _regi = "registries";
|
|
@@ -4086,6 +4092,11 @@ var OnlineEvaluationConfigSummary$ = [3, n0, _OECS,
|
|
|
4086
4092
|
[_oECA, _oECI, _oECN, _st, _eS, _cA, _uA, _d, _fR, _in, _cC],
|
|
4087
4093
|
[0, 0, 0, 0, 0, 4, 4, [() => EvaluationConfigDescription, 0], 0, () => InsightList, () => ClusteringConfig$], 7
|
|
4088
4094
|
];
|
|
4095
|
+
var OpenResponsesEvaluatorModelConfig$ = [3, n0, _OREMC,
|
|
4096
|
+
0,
|
|
4097
|
+
[_mI, _mOT, _te, _tP, _rea],
|
|
4098
|
+
[0, 1, 1, 1, () => ReasoningConfiguration$], 1
|
|
4099
|
+
];
|
|
4089
4100
|
var OutputConfig$ = [3, n0, _OC,
|
|
4090
4101
|
0,
|
|
4091
4102
|
[_cWC],
|
|
@@ -4191,7 +4202,12 @@ var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
|
4191
4202
|
[_po],
|
|
4192
4203
|
[0], 1
|
|
4193
4204
|
];
|
|
4194
|
-
var
|
|
4205
|
+
var ReasoningConfiguration$ = [3, n0, _RC,
|
|
4206
|
+
0,
|
|
4207
|
+
[_ef],
|
|
4208
|
+
[0]
|
|
4209
|
+
];
|
|
4210
|
+
var RecordingConfig$ = [3, n0, _RCe,
|
|
4195
4211
|
0,
|
|
4196
4212
|
[_en, _sL],
|
|
4197
4213
|
[2, () => S3Location$]
|
|
@@ -5406,8 +5422,8 @@ var EvaluatorConfig$ = [4, n0, _ECv,
|
|
|
5406
5422
|
];
|
|
5407
5423
|
var EvaluatorModelConfig$ = [4, n0, _EMC,
|
|
5408
5424
|
0,
|
|
5409
|
-
[_bEMC],
|
|
5410
|
-
[() => BedrockEvaluatorModelConfig$]
|
|
5425
|
+
[_bEMC, _rEMC],
|
|
5426
|
+
[() => BedrockEvaluatorModelConfig$, () => OpenResponsesEvaluatorModelConfig$]
|
|
5411
5427
|
];
|
|
5412
5428
|
var EvaluatorReference$ = [4, n0, _ER,
|
|
5413
5429
|
0,
|
|
@@ -5589,7 +5605,7 @@ var RatingScale$ = [4, n0, _RSa,
|
|
|
5589
5605
|
[_nu, _ca],
|
|
5590
5606
|
[() => NumericalScaleDefinitions, () => CategoricalScaleDefinitions]
|
|
5591
5607
|
];
|
|
5592
|
-
var ReflectionConfiguration$ = [4, n0,
|
|
5608
|
+
var ReflectionConfiguration$ = [4, n0, _RCef,
|
|
5593
5609
|
0,
|
|
5594
5610
|
[_cRC, _eRC],
|
|
5595
5611
|
[[() => CustomReflectionConfiguration$, 0], [() => EpisodicReflectionConfiguration$, 0]]
|
|
@@ -8652,6 +8668,7 @@ exports.OnBehalfOfTokenExchangeGrantTypeType = OnBehalfOfTokenExchangeGrantTypeT
|
|
|
8652
8668
|
exports.OnlineEvaluationConfigStatus = OnlineEvaluationConfigStatus;
|
|
8653
8669
|
exports.OnlineEvaluationConfigSummary$ = OnlineEvaluationConfigSummary$;
|
|
8654
8670
|
exports.OnlineEvaluationExecutionStatus = OnlineEvaluationExecutionStatus;
|
|
8671
|
+
exports.OpenResponsesEvaluatorModelConfig$ = OpenResponsesEvaluatorModelConfig$;
|
|
8655
8672
|
exports.OutputConfig$ = OutputConfig$;
|
|
8656
8673
|
exports.OverrideType = OverrideType;
|
|
8657
8674
|
exports.PassthroughProtocolType = PassthroughProtocolType;
|
|
@@ -8693,6 +8710,7 @@ exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
|
8693
8710
|
exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
|
|
8694
8711
|
exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
|
|
8695
8712
|
exports.RatingScale$ = RatingScale$;
|
|
8713
|
+
exports.ReasoningConfiguration$ = ReasoningConfiguration$;
|
|
8696
8714
|
exports.RecordingConfig$ = RecordingConfig$;
|
|
8697
8715
|
exports.ReflectionConfiguration$ = ReflectionConfiguration$;
|
|
8698
8716
|
exports.RegistryAuthorizerType = RegistryAuthorizerType;
|
|
@@ -682,6 +682,7 @@ const _OECS = "OnlineEvaluationConfigSummary";
|
|
|
682
682
|
const _OECSL = "OnlineEvaluationConfigSummaryList";
|
|
683
683
|
const _OPCI = "Oauth2ProviderConfigInput";
|
|
684
684
|
const _OPCO = "Oauth2ProviderConfigOutput";
|
|
685
|
+
const _OREMC = "OpenResponsesEvaluatorModelConfig";
|
|
685
686
|
const _P = "Prompt";
|
|
686
687
|
const _PC = "ProtocolConfiguration";
|
|
687
688
|
const _PCP = "PaymentCredentialProviders";
|
|
@@ -722,8 +723,9 @@ const _PTC = "PassthroughTargetConfiguration";
|
|
|
722
723
|
const _Po = "Policy";
|
|
723
724
|
const _Pol = "Policies";
|
|
724
725
|
const _R = "Rule";
|
|
725
|
-
const _RC = "
|
|
726
|
-
const _RCe = "
|
|
726
|
+
const _RC = "ReasoningConfiguration";
|
|
727
|
+
const _RCe = "RecordingConfig";
|
|
728
|
+
const _RCef = "ReflectionConfiguration";
|
|
727
729
|
const _RHC = "RequestHeaderConfiguration";
|
|
728
730
|
const _RL = "ResourceLocation";
|
|
729
731
|
const _RLEE = "ResourceLimitExceededException";
|
|
@@ -1164,6 +1166,7 @@ const _eS = "executionStatus";
|
|
|
1164
1166
|
const _eT = "evaluatorType";
|
|
1165
1167
|
const _eTx = "extractionType";
|
|
1166
1168
|
const _eV = "environmentVariables";
|
|
1169
|
+
const _ef = "effort";
|
|
1167
1170
|
const _en = "enabled";
|
|
1168
1171
|
const _end = "endpoint";
|
|
1169
1172
|
const _endp = "endpoints";
|
|
@@ -1287,6 +1290,7 @@ const _mM = "modelMapping";
|
|
|
1287
1290
|
const _mMC = "managedMemoryConfiguration";
|
|
1288
1291
|
const _mMS = "modifyMemoryStrategies";
|
|
1289
1292
|
const _mOPC = "microsoftOauth2ProviderConfig";
|
|
1293
|
+
const _mOT = "maxOutputTokens";
|
|
1290
1294
|
const _mP = "mountPath";
|
|
1291
1295
|
const _mPa = "matchPrincipals";
|
|
1292
1296
|
const _mPat = "matchPaths";
|
|
@@ -1403,6 +1407,7 @@ const _rCI = "resourceConfigurationIdentifier";
|
|
|
1403
1407
|
const _rCe = "retrievalConfig";
|
|
1404
1408
|
const _rD = "routingDomain";
|
|
1405
1409
|
const _rE = "runtimeEndpoints";
|
|
1410
|
+
const _rEMC = "responsesEvaluatorModelConfig";
|
|
1406
1411
|
const _rGA = "resourceGatewayArn";
|
|
1407
1412
|
const _rHA = "requestHeaderAllowlist";
|
|
1408
1413
|
const _rHC = "requestHeaderConfiguration";
|
|
@@ -1422,6 +1427,7 @@ const _rTT = "routeToTarget";
|
|
|
1422
1427
|
const _rTa = "rawText";
|
|
1423
1428
|
const _rV = "recordVersion";
|
|
1424
1429
|
const _re = "recording";
|
|
1430
|
+
const _rea = "reasoning";
|
|
1425
1431
|
const _ref = "reflection";
|
|
1426
1432
|
const _reg = "region";
|
|
1427
1433
|
const _regi = "registries";
|
|
@@ -3774,6 +3780,11 @@ export var OnlineEvaluationConfigSummary$ = [3, n0, _OECS,
|
|
|
3774
3780
|
[_oECA, _oECI, _oECN, _st, _eS, _cA, _uA, _d, _fR, _in, _cC],
|
|
3775
3781
|
[0, 0, 0, 0, 0, 4, 4, [() => EvaluationConfigDescription, 0], 0, () => InsightList, () => ClusteringConfig$], 7
|
|
3776
3782
|
];
|
|
3783
|
+
export var OpenResponsesEvaluatorModelConfig$ = [3, n0, _OREMC,
|
|
3784
|
+
0,
|
|
3785
|
+
[_mI, _mOT, _te, _tP, _rea],
|
|
3786
|
+
[0, 1, 1, 1, () => ReasoningConfiguration$], 1
|
|
3787
|
+
];
|
|
3777
3788
|
export var OutputConfig$ = [3, n0, _OC,
|
|
3778
3789
|
0,
|
|
3779
3790
|
[_cWC],
|
|
@@ -3879,7 +3890,12 @@ export var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
|
3879
3890
|
[_po],
|
|
3880
3891
|
[0], 1
|
|
3881
3892
|
];
|
|
3882
|
-
export var
|
|
3893
|
+
export var ReasoningConfiguration$ = [3, n0, _RC,
|
|
3894
|
+
0,
|
|
3895
|
+
[_ef],
|
|
3896
|
+
[0]
|
|
3897
|
+
];
|
|
3898
|
+
export var RecordingConfig$ = [3, n0, _RCe,
|
|
3883
3899
|
0,
|
|
3884
3900
|
[_en, _sL],
|
|
3885
3901
|
[2, () => S3Location$]
|
|
@@ -5140,8 +5156,8 @@ export var EvaluatorConfig$ = [4, n0, _ECv,
|
|
|
5140
5156
|
];
|
|
5141
5157
|
export var EvaluatorModelConfig$ = [4, n0, _EMC,
|
|
5142
5158
|
0,
|
|
5143
|
-
[_bEMC],
|
|
5144
|
-
[() => BedrockEvaluatorModelConfig$]
|
|
5159
|
+
[_bEMC, _rEMC],
|
|
5160
|
+
[() => BedrockEvaluatorModelConfig$, () => OpenResponsesEvaluatorModelConfig$]
|
|
5145
5161
|
];
|
|
5146
5162
|
export var EvaluatorReference$ = [4, n0, _ER,
|
|
5147
5163
|
0,
|
|
@@ -5323,7 +5339,7 @@ export var RatingScale$ = [4, n0, _RSa,
|
|
|
5323
5339
|
[_nu, _ca],
|
|
5324
5340
|
[() => NumericalScaleDefinitions, () => CategoricalScaleDefinitions]
|
|
5325
5341
|
];
|
|
5326
|
-
export var ReflectionConfiguration$ = [4, n0,
|
|
5342
|
+
export var ReflectionConfiguration$ = [4, n0, _RCef,
|
|
5327
5343
|
0,
|
|
5328
5344
|
[_cRC, _eRC],
|
|
5329
5345
|
[[() => CustomReflectionConfiguration$, 0], [() => EpisodicReflectionConfiguration$, 0]]
|
|
@@ -68,6 +68,15 @@ declare const CreateEvaluatorCommand_base: {
|
|
|
68
68
|
* },
|
|
69
69
|
* additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
70
70
|
* },
|
|
71
|
+
* responsesEvaluatorModelConfig: { // OpenResponsesEvaluatorModelConfig
|
|
72
|
+
* modelId: "STRING_VALUE", // required
|
|
73
|
+
* maxOutputTokens: Number("int"),
|
|
74
|
+
* temperature: Number("float"),
|
|
75
|
+
* topP: Number("float"),
|
|
76
|
+
* reasoning: { // ReasoningConfiguration
|
|
77
|
+
* effort: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
71
80
|
* },
|
|
72
81
|
* },
|
|
73
82
|
* codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { CreateRegistryRecordRequest, CreateRegistryRecordResponse } from "../models/
|
|
2
|
+
import type { CreateRegistryRecordRequest, CreateRegistryRecordResponse } from "../models/models_2";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -75,6 +75,15 @@ declare const GetEvaluatorCommand_base: {
|
|
|
75
75
|
* // },
|
|
76
76
|
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
77
77
|
* // },
|
|
78
|
+
* // responsesEvaluatorModelConfig: { // OpenResponsesEvaluatorModelConfig
|
|
79
|
+
* // modelId: "STRING_VALUE", // required
|
|
80
|
+
* // maxOutputTokens: Number("int"),
|
|
81
|
+
* // temperature: Number("float"),
|
|
82
|
+
* // topP: Number("float"),
|
|
83
|
+
* // reasoning: { // ReasoningConfiguration
|
|
84
|
+
* // effort: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
78
87
|
* // },
|
|
79
88
|
* // },
|
|
80
89
|
* // codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
|
|
@@ -68,6 +68,15 @@ declare const UpdateEvaluatorCommand_base: {
|
|
|
68
68
|
* },
|
|
69
69
|
* additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
70
70
|
* },
|
|
71
|
+
* responsesEvaluatorModelConfig: { // OpenResponsesEvaluatorModelConfig
|
|
72
|
+
* modelId: "STRING_VALUE", // required
|
|
73
|
+
* maxOutputTokens: Number("int"),
|
|
74
|
+
* temperature: Number("float"),
|
|
75
|
+
* topP: Number("float"),
|
|
76
|
+
* reasoning: { // ReasoningConfiguration
|
|
77
|
+
* effort: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
71
80
|
* },
|
|
72
81
|
* },
|
|
73
82
|
* codeBased: { // CodeBasedEvaluatorConfig Union: only one key present
|
|
@@ -4523,11 +4523,53 @@ export interface BedrockEvaluatorModelConfig {
|
|
|
4523
4523
|
*/
|
|
4524
4524
|
additionalModelRequestFields?: __DocumentType | undefined;
|
|
4525
4525
|
}
|
|
4526
|
+
/**
|
|
4527
|
+
* <p> The reasoning configuration that controls how a reasoning model allocates effort during evaluation. </p>
|
|
4528
|
+
* @public
|
|
4529
|
+
*/
|
|
4530
|
+
export interface ReasoningConfiguration {
|
|
4531
|
+
/**
|
|
4532
|
+
* <p> The level of reasoning effort the model applies when generating a response. For supported values, see the model provider's documentation. </p>
|
|
4533
|
+
* @public
|
|
4534
|
+
*/
|
|
4535
|
+
effort?: string | undefined;
|
|
4536
|
+
}
|
|
4537
|
+
/**
|
|
4538
|
+
* <p> The configuration for using models served through the OpenResponses API in evaluator assessments, including model selection and inference parameters. </p>
|
|
4539
|
+
* @public
|
|
4540
|
+
*/
|
|
4541
|
+
export interface OpenResponsesEvaluatorModelConfig {
|
|
4542
|
+
/**
|
|
4543
|
+
* <p> The identifier of the model to use for evaluation. </p>
|
|
4544
|
+
* @public
|
|
4545
|
+
*/
|
|
4546
|
+
modelId: string | undefined;
|
|
4547
|
+
/**
|
|
4548
|
+
* <p> The maximum number of tokens to generate in the model response, including visible output and reasoning tokens. </p>
|
|
4549
|
+
* @public
|
|
4550
|
+
*/
|
|
4551
|
+
maxOutputTokens?: number | undefined;
|
|
4552
|
+
/**
|
|
4553
|
+
* <p> The temperature value that controls randomness in the model's responses. Lower values produce more deterministic outputs. </p>
|
|
4554
|
+
* @public
|
|
4555
|
+
*/
|
|
4556
|
+
temperature?: number | undefined;
|
|
4557
|
+
/**
|
|
4558
|
+
* <p> The top-p sampling parameter that controls the diversity of the model's responses by limiting the cumulative probability of token choices. </p>
|
|
4559
|
+
* @public
|
|
4560
|
+
*/
|
|
4561
|
+
topP?: number | undefined;
|
|
4562
|
+
/**
|
|
4563
|
+
* <p> The reasoning configuration for reasoning models. Non-reasoning models ignore this configuration. </p>
|
|
4564
|
+
* @public
|
|
4565
|
+
*/
|
|
4566
|
+
reasoning?: ReasoningConfiguration | undefined;
|
|
4567
|
+
}
|
|
4526
4568
|
/**
|
|
4527
4569
|
* <p> The model configuration that specifies which foundation model to use for evaluation and how to configure it. </p>
|
|
4528
4570
|
* @public
|
|
4529
4571
|
*/
|
|
4530
|
-
export type EvaluatorModelConfig = EvaluatorModelConfig.BedrockEvaluatorModelConfigMember | EvaluatorModelConfig.$UnknownMember;
|
|
4572
|
+
export type EvaluatorModelConfig = EvaluatorModelConfig.BedrockEvaluatorModelConfigMember | EvaluatorModelConfig.ResponsesEvaluatorModelConfigMember | EvaluatorModelConfig.$UnknownMember;
|
|
4531
4573
|
/**
|
|
4532
4574
|
* @public
|
|
4533
4575
|
*/
|
|
@@ -4538,6 +4580,16 @@ export declare namespace EvaluatorModelConfig {
|
|
|
4538
4580
|
*/
|
|
4539
4581
|
interface BedrockEvaluatorModelConfigMember {
|
|
4540
4582
|
bedrockEvaluatorModelConfig: BedrockEvaluatorModelConfig;
|
|
4583
|
+
responsesEvaluatorModelConfig?: never;
|
|
4584
|
+
$unknown?: never;
|
|
4585
|
+
}
|
|
4586
|
+
/**
|
|
4587
|
+
* <p> The OpenResponses model configuration for evaluation. </p>
|
|
4588
|
+
* @public
|
|
4589
|
+
*/
|
|
4590
|
+
interface ResponsesEvaluatorModelConfigMember {
|
|
4591
|
+
bedrockEvaluatorModelConfig?: never;
|
|
4592
|
+
responsesEvaluatorModelConfig: OpenResponsesEvaluatorModelConfig;
|
|
4541
4593
|
$unknown?: never;
|
|
4542
4594
|
}
|
|
4543
4595
|
/**
|
|
@@ -4545,6 +4597,7 @@ export declare namespace EvaluatorModelConfig {
|
|
|
4545
4597
|
*/
|
|
4546
4598
|
interface $UnknownMember {
|
|
4547
4599
|
bedrockEvaluatorModelConfig?: never;
|
|
4600
|
+
responsesEvaluatorModelConfig?: never;
|
|
4548
4601
|
$unknown: [string, any];
|
|
4549
4602
|
}
|
|
4550
4603
|
/**
|
|
@@ -4553,6 +4606,7 @@ export declare namespace EvaluatorModelConfig {
|
|
|
4553
4606
|
*/
|
|
4554
4607
|
interface Visitor<T> {
|
|
4555
4608
|
bedrockEvaluatorModelConfig: (value: BedrockEvaluatorModelConfig) => T;
|
|
4609
|
+
responsesEvaluatorModelConfig: (value: OpenResponsesEvaluatorModelConfig) => T;
|
|
4556
4610
|
_: (name: string, value: any) => T;
|
|
4557
4611
|
}
|
|
4558
4612
|
}
|
|
@@ -7917,88 +7971,6 @@ export interface HarnessBedrockModelConfig {
|
|
|
7917
7971
|
*/
|
|
7918
7972
|
additionalParams?: __DocumentType | undefined;
|
|
7919
7973
|
}
|
|
7920
|
-
/**
|
|
7921
|
-
* <p>Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
7922
|
-
* @public
|
|
7923
|
-
*/
|
|
7924
|
-
export interface HarnessGeminiModelConfig {
|
|
7925
|
-
/**
|
|
7926
|
-
* <p>The Gemini model ID.</p>
|
|
7927
|
-
* @public
|
|
7928
|
-
*/
|
|
7929
|
-
modelId: string | undefined;
|
|
7930
|
-
/**
|
|
7931
|
-
* <p>The ARN of your Gemini API key on AgentCore Identity.</p>
|
|
7932
|
-
* @public
|
|
7933
|
-
*/
|
|
7934
|
-
apiKeyArn: string | undefined;
|
|
7935
|
-
/**
|
|
7936
|
-
* <p>The maximum number of tokens to allow in the generated response per model call.</p>
|
|
7937
|
-
* @public
|
|
7938
|
-
*/
|
|
7939
|
-
maxTokens?: number | undefined;
|
|
7940
|
-
/**
|
|
7941
|
-
* <p>The temperature to set when calling the model.</p>
|
|
7942
|
-
* @public
|
|
7943
|
-
*/
|
|
7944
|
-
temperature?: number | undefined;
|
|
7945
|
-
/**
|
|
7946
|
-
* <p>The topP set when calling the model.</p>
|
|
7947
|
-
* @public
|
|
7948
|
-
*/
|
|
7949
|
-
topP?: number | undefined;
|
|
7950
|
-
/**
|
|
7951
|
-
* <p>The topK set when calling the model.</p>
|
|
7952
|
-
* @public
|
|
7953
|
-
*/
|
|
7954
|
-
topK?: number | undefined;
|
|
7955
|
-
/**
|
|
7956
|
-
* <p>Provider-specific parameters passed through to the Gemini model provider unchanged.</p>
|
|
7957
|
-
* @public
|
|
7958
|
-
*/
|
|
7959
|
-
additionalParams?: __DocumentType | undefined;
|
|
7960
|
-
}
|
|
7961
|
-
/**
|
|
7962
|
-
* <p>Configuration for a LiteLLM model provider, enabling connection to third-party model providers.</p>
|
|
7963
|
-
* @public
|
|
7964
|
-
*/
|
|
7965
|
-
export interface HarnessLiteLlmModelConfig {
|
|
7966
|
-
/**
|
|
7967
|
-
* <p>The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").</p>
|
|
7968
|
-
* @public
|
|
7969
|
-
*/
|
|
7970
|
-
modelId: string | undefined;
|
|
7971
|
-
/**
|
|
7972
|
-
* <p>The ARN of the API key in AgentCore Identity for authenticating with the model provider.</p>
|
|
7973
|
-
* @public
|
|
7974
|
-
*/
|
|
7975
|
-
apiKeyArn?: string | undefined;
|
|
7976
|
-
/**
|
|
7977
|
-
* <p>The base URL for the model provider's API endpoint.</p>
|
|
7978
|
-
* @public
|
|
7979
|
-
*/
|
|
7980
|
-
apiBase?: string | undefined;
|
|
7981
|
-
/**
|
|
7982
|
-
* <p>The maximum number of tokens to allow in the generated response per iteration.</p>
|
|
7983
|
-
* @public
|
|
7984
|
-
*/
|
|
7985
|
-
maxTokens?: number | undefined;
|
|
7986
|
-
/**
|
|
7987
|
-
* <p>The temperature to set when calling the model.</p>
|
|
7988
|
-
* @public
|
|
7989
|
-
*/
|
|
7990
|
-
temperature?: number | undefined;
|
|
7991
|
-
/**
|
|
7992
|
-
* <p>The topP set when calling the model.</p>
|
|
7993
|
-
* @public
|
|
7994
|
-
*/
|
|
7995
|
-
topP?: number | undefined;
|
|
7996
|
-
/**
|
|
7997
|
-
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
7998
|
-
* @public
|
|
7999
|
-
*/
|
|
8000
|
-
additionalParams?: __DocumentType | undefined;
|
|
8001
|
-
}
|
|
8002
7974
|
/**
|
|
8003
7975
|
* @public
|
|
8004
7976
|
*/
|
|
@@ -1,6 +1,88 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType,
|
|
3
|
-
import type { A2aDescriptor, AgentSkillsDescriptor, AuthorizerConfiguration, FilesystemConfiguration, HarnessBedrockModelConfig, HarnessEnvironmentArtifact, HarnessEnvironmentProviderRequest,
|
|
2
|
+
import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType, EnforcementMode, ExtractionType, FilterOperator, FindingType, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, SecretSourceType, SigningAlgorithm, Status } from "./enums";
|
|
3
|
+
import type { A2aDescriptor, AgentSkillsDescriptor, AuthorizerConfiguration, FilesystemConfiguration, HarnessBedrockModelConfig, HarnessEnvironmentArtifact, HarnessEnvironmentProviderRequest, HarnessMemoryConfiguration, LifecycleConfiguration, NetworkConfiguration, OAuthCredentialProvider, PrivateEndpoint, PrivateEndpointOverride, Secret, SecretReference, Unit, WorkloadIdentityDetails } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface HarnessGeminiModelConfig {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The Gemini model ID.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
modelId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ARN of your Gemini API key on AgentCore Identity.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
apiKeyArn: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The maximum number of tokens to allow in the generated response per model call.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
maxTokens?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The temperature to set when calling the model.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
temperature?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The topP set when calling the model.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
topP?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The topK set when calling the model.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
topK?: number | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Provider-specific parameters passed through to the Gemini model provider unchanged.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
additionalParams?: __DocumentType | undefined;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>Configuration for a LiteLLM model provider, enabling connection to third-party model providers.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface HarnessLiteLlmModelConfig {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
modelId: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The ARN of the API key in AgentCore Identity for authenticating with the model provider.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
apiKeyArn?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The base URL for the model provider's API endpoint.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
apiBase?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The maximum number of tokens to allow in the generated response per iteration.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
maxTokens?: number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The temperature to set when calling the model.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
temperature?: number | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The topP set when calling the model.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
topP?: number | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
additionalParams?: __DocumentType | undefined;
|
|
85
|
+
}
|
|
4
86
|
/**
|
|
5
87
|
* <p>Configuration for an OpenAI model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
6
88
|
* @public
|
|
@@ -8827,68 +8909,3 @@ export interface SynchronizationConfiguration {
|
|
|
8827
8909
|
*/
|
|
8828
8910
|
fromUrl?: FromUrlSynchronizationConfiguration | undefined;
|
|
8829
8911
|
}
|
|
8830
|
-
/**
|
|
8831
|
-
* @public
|
|
8832
|
-
*/
|
|
8833
|
-
export interface CreateRegistryRecordRequest {
|
|
8834
|
-
/**
|
|
8835
|
-
* <p>The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</p>
|
|
8836
|
-
* @public
|
|
8837
|
-
*/
|
|
8838
|
-
registryId: string | undefined;
|
|
8839
|
-
/**
|
|
8840
|
-
* <p>The name of the registry record.</p>
|
|
8841
|
-
* @public
|
|
8842
|
-
*/
|
|
8843
|
-
name: string | undefined;
|
|
8844
|
-
/**
|
|
8845
|
-
* <p>A description of the registry record.</p>
|
|
8846
|
-
* @public
|
|
8847
|
-
*/
|
|
8848
|
-
description?: string | undefined;
|
|
8849
|
-
/**
|
|
8850
|
-
* <p>The descriptor type of the registry record.</p> <ul> <li> <p> <code>MCP</code> - Model Context Protocol descriptor for MCP-compatible servers and tools.</p> </li> <li> <p> <code>A2A</code> - Agent-to-Agent protocol descriptor.</p> </li> <li> <p> <code>CUSTOM</code> - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.</p> </li> <li> <p> <code>AGENT_SKILLS</code> - Agent skills descriptor for defining agent skill definitions.</p> </li> </ul>
|
|
8851
|
-
* @public
|
|
8852
|
-
*/
|
|
8853
|
-
descriptorType: DescriptorType | undefined;
|
|
8854
|
-
/**
|
|
8855
|
-
* <p>The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the <code>descriptorType</code> you specify.</p>
|
|
8856
|
-
* @public
|
|
8857
|
-
*/
|
|
8858
|
-
descriptors?: Descriptors | undefined;
|
|
8859
|
-
/**
|
|
8860
|
-
* <p>The version of the registry record. Use this to track different versions of the record's content.</p>
|
|
8861
|
-
* @public
|
|
8862
|
-
*/
|
|
8863
|
-
recordVersion?: string | undefined;
|
|
8864
|
-
/**
|
|
8865
|
-
* <p>The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include <code>FROM_URL</code> and <code>NONE</code>.</p>
|
|
8866
|
-
* @public
|
|
8867
|
-
*/
|
|
8868
|
-
synchronizationType?: SynchronizationType | undefined;
|
|
8869
|
-
/**
|
|
8870
|
-
* <p>The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.</p>
|
|
8871
|
-
* @public
|
|
8872
|
-
*/
|
|
8873
|
-
synchronizationConfiguration?: SynchronizationConfiguration | undefined;
|
|
8874
|
-
/**
|
|
8875
|
-
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
8876
|
-
* @public
|
|
8877
|
-
*/
|
|
8878
|
-
clientToken?: string | undefined;
|
|
8879
|
-
}
|
|
8880
|
-
/**
|
|
8881
|
-
* @public
|
|
8882
|
-
*/
|
|
8883
|
-
export interface CreateRegistryRecordResponse {
|
|
8884
|
-
/**
|
|
8885
|
-
* <p>The Amazon Resource Name (ARN) of the created registry record.</p>
|
|
8886
|
-
* @public
|
|
8887
|
-
*/
|
|
8888
|
-
recordArn: string | undefined;
|
|
8889
|
-
/**
|
|
8890
|
-
* <p>The status of the registry record. Set to <code>CREATING</code> while the asynchronous workflow is in progress.</p>
|
|
8891
|
-
* @public
|
|
8892
|
-
*/
|
|
8893
|
-
status: RegistryRecordStatus | undefined;
|
|
8894
|
-
}
|
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
import type { DescriptorType, RegistryAuthorizerType, RegistryRecordStatus, RegistryStatus, SchemaType, SynchronizationType, TargetProtocolType, TargetStatus } from "./enums";
|
|
2
2
|
import type { A2aDescriptor, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AuthorizationData, AuthorizerConfiguration, ConnectorTargetConfiguration, CredentialProviderConfiguration, HttpTargetConfiguration, InferenceTargetConfiguration, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MetadataConfiguration, PrivateEndpoint, S3Configuration, SkillDefinition, SkillMdDefinition } from "./models_0";
|
|
3
3
|
import type { CustomDescriptor, Descriptors, ServerDefinition, SynchronizationConfiguration, ToolsDefinition, UpdatedAuthorizerConfiguration, UpdatedDescription } from "./models_1";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CreateRegistryRecordRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
registryId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The name of the registry record.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
name: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>A description of the registry record.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
description?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The descriptor type of the registry record.</p> <ul> <li> <p> <code>MCP</code> - Model Context Protocol descriptor for MCP-compatible servers and tools.</p> </li> <li> <p> <code>A2A</code> - Agent-to-Agent protocol descriptor.</p> </li> <li> <p> <code>CUSTOM</code> - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.</p> </li> <li> <p> <code>AGENT_SKILLS</code> - Agent skills descriptor for defining agent skill definitions.</p> </li> </ul>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
descriptorType: DescriptorType | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the <code>descriptorType</code> you specify.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
descriptors?: Descriptors | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The version of the registry record. Use this to track different versions of the record's content.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
recordVersion?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include <code>FROM_URL</code> and <code>NONE</code>.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
synchronizationType?: SynchronizationType | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
synchronizationConfiguration?: SynchronizationConfiguration | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
clientToken?: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export interface CreateRegistryRecordResponse {
|
|
58
|
+
/**
|
|
59
|
+
* <p>The Amazon Resource Name (ARN) of the created registry record.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
recordArn: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The status of the registry record. Set to <code>CREATING</code> while the asynchronous workflow is in progress.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
status: RegistryRecordStatus | undefined;
|
|
68
|
+
}
|
|
4
69
|
/**
|
|
5
70
|
* @public
|
|
6
71
|
*/
|
|
@@ -436,6 +436,7 @@ export declare var Oauth2CredentialProviderItem$: StaticStructureSchema;
|
|
|
436
436
|
export declare var OAuthCredentialProvider$: StaticStructureSchema;
|
|
437
437
|
export declare var OnBehalfOfTokenExchangeConfigType$: StaticStructureSchema;
|
|
438
438
|
export declare var OnlineEvaluationConfigSummary$: StaticStructureSchema;
|
|
439
|
+
export declare var OpenResponsesEvaluatorModelConfig$: StaticStructureSchema;
|
|
439
440
|
export declare var OutputConfig$: StaticStructureSchema;
|
|
440
441
|
export declare var PassthroughTargetConfiguration$: StaticStructureSchema;
|
|
441
442
|
export declare var PaymentConnectorSummary$: StaticStructureSchema;
|
|
@@ -457,6 +458,7 @@ export declare var ProtocolConfiguration$: StaticStructureSchema;
|
|
|
457
458
|
export declare var ProviderPrefix$: StaticStructureSchema;
|
|
458
459
|
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
459
460
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
461
|
+
export declare var ReasoningConfiguration$: StaticStructureSchema;
|
|
460
462
|
export declare var RecordingConfig$: StaticStructureSchema;
|
|
461
463
|
export declare var RegistryRecordCredentialProviderConfiguration$: StaticStructureSchema;
|
|
462
464
|
export declare var RegistryRecordIamCredentialProvider$: StaticStructureSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { CreateRegistryRecordRequest, CreateRegistryRecordResponse } from "../models/
|
|
2
|
+
import { CreateRegistryRecordRequest, CreateRegistryRecordResponse } from "../models/models_2";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateRegistryRecordCommandInput extends CreateRegistryRecordRequest {}
|
|
5
5
|
export interface CreateRegistryRecordCommandOutput
|
|
@@ -1325,20 +1325,39 @@ export interface BedrockEvaluatorModelConfig {
|
|
|
1325
1325
|
inferenceConfig?: InferenceConfiguration | undefined;
|
|
1326
1326
|
additionalModelRequestFields?: __DocumentType | undefined;
|
|
1327
1327
|
}
|
|
1328
|
+
export interface ReasoningConfiguration {
|
|
1329
|
+
effort?: string | undefined;
|
|
1330
|
+
}
|
|
1331
|
+
export interface OpenResponsesEvaluatorModelConfig {
|
|
1332
|
+
modelId: string | undefined;
|
|
1333
|
+
maxOutputTokens?: number | undefined;
|
|
1334
|
+
temperature?: number | undefined;
|
|
1335
|
+
topP?: number | undefined;
|
|
1336
|
+
reasoning?: ReasoningConfiguration | undefined;
|
|
1337
|
+
}
|
|
1328
1338
|
export type EvaluatorModelConfig =
|
|
1329
1339
|
| EvaluatorModelConfig.BedrockEvaluatorModelConfigMember
|
|
1340
|
+
| EvaluatorModelConfig.ResponsesEvaluatorModelConfigMember
|
|
1330
1341
|
| EvaluatorModelConfig.$UnknownMember;
|
|
1331
1342
|
export declare namespace EvaluatorModelConfig {
|
|
1332
1343
|
interface BedrockEvaluatorModelConfigMember {
|
|
1333
1344
|
bedrockEvaluatorModelConfig: BedrockEvaluatorModelConfig;
|
|
1345
|
+
responsesEvaluatorModelConfig?: never;
|
|
1346
|
+
$unknown?: never;
|
|
1347
|
+
}
|
|
1348
|
+
interface ResponsesEvaluatorModelConfigMember {
|
|
1349
|
+
bedrockEvaluatorModelConfig?: never;
|
|
1350
|
+
responsesEvaluatorModelConfig: OpenResponsesEvaluatorModelConfig;
|
|
1334
1351
|
$unknown?: never;
|
|
1335
1352
|
}
|
|
1336
1353
|
interface $UnknownMember {
|
|
1337
1354
|
bedrockEvaluatorModelConfig?: never;
|
|
1355
|
+
responsesEvaluatorModelConfig?: never;
|
|
1338
1356
|
$unknown: [string, any];
|
|
1339
1357
|
}
|
|
1340
1358
|
interface Visitor<T> {
|
|
1341
1359
|
bedrockEvaluatorModelConfig: (value: BedrockEvaluatorModelConfig) => T;
|
|
1360
|
+
responsesEvaluatorModelConfig: (value: OpenResponsesEvaluatorModelConfig) => T;
|
|
1342
1361
|
_: (name: string, value: any) => T;
|
|
1343
1362
|
}
|
|
1344
1363
|
}
|
|
@@ -2349,22 +2368,4 @@ export interface HarnessBedrockModelConfig {
|
|
|
2349
2368
|
apiFormat?: HarnessBedrockApiFormat | undefined;
|
|
2350
2369
|
additionalParams?: __DocumentType | undefined;
|
|
2351
2370
|
}
|
|
2352
|
-
export interface HarnessGeminiModelConfig {
|
|
2353
|
-
modelId: string | undefined;
|
|
2354
|
-
apiKeyArn: string | undefined;
|
|
2355
|
-
maxTokens?: number | undefined;
|
|
2356
|
-
temperature?: number | undefined;
|
|
2357
|
-
topP?: number | undefined;
|
|
2358
|
-
topK?: number | undefined;
|
|
2359
|
-
additionalParams?: __DocumentType | undefined;
|
|
2360
|
-
}
|
|
2361
|
-
export interface HarnessLiteLlmModelConfig {
|
|
2362
|
-
modelId: string | undefined;
|
|
2363
|
-
apiKeyArn?: string | undefined;
|
|
2364
|
-
apiBase?: string | undefined;
|
|
2365
|
-
maxTokens?: number | undefined;
|
|
2366
|
-
temperature?: number | undefined;
|
|
2367
|
-
topP?: number | undefined;
|
|
2368
|
-
additionalParams?: __DocumentType | undefined;
|
|
2369
|
-
}
|
|
2370
2371
|
export interface Unit {}
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
ContentLevel,
|
|
7
7
|
ContentType,
|
|
8
8
|
CredentialProviderVendorType,
|
|
9
|
-
DescriptorType,
|
|
10
9
|
EnforcementMode,
|
|
11
10
|
ExtractionType,
|
|
12
11
|
FilterOperator,
|
|
@@ -35,11 +34,9 @@ import {
|
|
|
35
34
|
PolicyValidationMode,
|
|
36
35
|
RegistryRecordCredentialProviderType,
|
|
37
36
|
RegistryRecordOAuthGrantType,
|
|
38
|
-
RegistryRecordStatus,
|
|
39
37
|
SecretSourceType,
|
|
40
38
|
SigningAlgorithm,
|
|
41
39
|
Status,
|
|
42
|
-
SynchronizationType,
|
|
43
40
|
} from "./enums";
|
|
44
41
|
import {
|
|
45
42
|
A2aDescriptor,
|
|
@@ -49,8 +46,6 @@ import {
|
|
|
49
46
|
HarnessBedrockModelConfig,
|
|
50
47
|
HarnessEnvironmentArtifact,
|
|
51
48
|
HarnessEnvironmentProviderRequest,
|
|
52
|
-
HarnessGeminiModelConfig,
|
|
53
|
-
HarnessLiteLlmModelConfig,
|
|
54
49
|
HarnessMemoryConfiguration,
|
|
55
50
|
LifecycleConfiguration,
|
|
56
51
|
NetworkConfiguration,
|
|
@@ -62,6 +57,24 @@ import {
|
|
|
62
57
|
Unit,
|
|
63
58
|
WorkloadIdentityDetails,
|
|
64
59
|
} from "./models_0";
|
|
60
|
+
export interface HarnessGeminiModelConfig {
|
|
61
|
+
modelId: string | undefined;
|
|
62
|
+
apiKeyArn: string | undefined;
|
|
63
|
+
maxTokens?: number | undefined;
|
|
64
|
+
temperature?: number | undefined;
|
|
65
|
+
topP?: number | undefined;
|
|
66
|
+
topK?: number | undefined;
|
|
67
|
+
additionalParams?: __DocumentType | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface HarnessLiteLlmModelConfig {
|
|
70
|
+
modelId: string | undefined;
|
|
71
|
+
apiKeyArn?: string | undefined;
|
|
72
|
+
apiBase?: string | undefined;
|
|
73
|
+
maxTokens?: number | undefined;
|
|
74
|
+
temperature?: number | undefined;
|
|
75
|
+
topP?: number | undefined;
|
|
76
|
+
additionalParams?: __DocumentType | undefined;
|
|
77
|
+
}
|
|
65
78
|
export interface HarnessOpenAiModelConfig {
|
|
66
79
|
modelId: string | undefined;
|
|
67
80
|
apiKeyArn: string | undefined;
|
|
@@ -3038,18 +3051,3 @@ export interface FromUrlSynchronizationConfiguration {
|
|
|
3038
3051
|
export interface SynchronizationConfiguration {
|
|
3039
3052
|
fromUrl?: FromUrlSynchronizationConfiguration | undefined;
|
|
3040
3053
|
}
|
|
3041
|
-
export interface CreateRegistryRecordRequest {
|
|
3042
|
-
registryId: string | undefined;
|
|
3043
|
-
name: string | undefined;
|
|
3044
|
-
description?: string | undefined;
|
|
3045
|
-
descriptorType: DescriptorType | undefined;
|
|
3046
|
-
descriptors?: Descriptors | undefined;
|
|
3047
|
-
recordVersion?: string | undefined;
|
|
3048
|
-
synchronizationType?: SynchronizationType | undefined;
|
|
3049
|
-
synchronizationConfiguration?: SynchronizationConfiguration | undefined;
|
|
3050
|
-
clientToken?: string | undefined;
|
|
3051
|
-
}
|
|
3052
|
-
export interface CreateRegistryRecordResponse {
|
|
3053
|
-
recordArn: string | undefined;
|
|
3054
|
-
status: RegistryRecordStatus | undefined;
|
|
3055
|
-
}
|
|
@@ -36,6 +36,21 @@ import {
|
|
|
36
36
|
UpdatedAuthorizerConfiguration,
|
|
37
37
|
UpdatedDescription,
|
|
38
38
|
} from "./models_1";
|
|
39
|
+
export interface CreateRegistryRecordRequest {
|
|
40
|
+
registryId: string | undefined;
|
|
41
|
+
name: string | undefined;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
descriptorType: DescriptorType | undefined;
|
|
44
|
+
descriptors?: Descriptors | undefined;
|
|
45
|
+
recordVersion?: string | undefined;
|
|
46
|
+
synchronizationType?: SynchronizationType | undefined;
|
|
47
|
+
synchronizationConfiguration?: SynchronizationConfiguration | undefined;
|
|
48
|
+
clientToken?: string | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface CreateRegistryRecordResponse {
|
|
51
|
+
recordArn: string | undefined;
|
|
52
|
+
status: RegistryRecordStatus | undefined;
|
|
53
|
+
}
|
|
39
54
|
export interface DeleteRegistryRecordRequest {
|
|
40
55
|
registryId: string | undefined;
|
|
41
56
|
recordId: string | undefined;
|
|
@@ -436,6 +436,7 @@ export declare var Oauth2CredentialProviderItem$: StaticStructureSchema;
|
|
|
436
436
|
export declare var OAuthCredentialProvider$: StaticStructureSchema;
|
|
437
437
|
export declare var OnBehalfOfTokenExchangeConfigType$: StaticStructureSchema;
|
|
438
438
|
export declare var OnlineEvaluationConfigSummary$: StaticStructureSchema;
|
|
439
|
+
export declare var OpenResponsesEvaluatorModelConfig$: StaticStructureSchema;
|
|
439
440
|
export declare var OutputConfig$: StaticStructureSchema;
|
|
440
441
|
export declare var PassthroughTargetConfiguration$: StaticStructureSchema;
|
|
441
442
|
export declare var PaymentConnectorSummary$: StaticStructureSchema;
|
|
@@ -457,6 +458,7 @@ export declare var ProtocolConfiguration$: StaticStructureSchema;
|
|
|
457
458
|
export declare var ProviderPrefix$: StaticStructureSchema;
|
|
458
459
|
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
459
460
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
461
|
+
export declare var ReasoningConfiguration$: StaticStructureSchema;
|
|
460
462
|
export declare var RecordingConfig$: StaticStructureSchema;
|
|
461
463
|
export declare var RegistryRecordCredentialProviderConfiguration$: StaticStructureSchema;
|
|
462
464
|
export declare var RegistryRecordIamCredentialProvider$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1100.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore-control",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.977.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.977.4",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.76",
|
|
51
51
|
"@aws-sdk/types": "^3.974.2",
|
|
52
52
|
"@smithy/core": "^3.31.1",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.6.13",
|