@aws-sdk/client-bedrock-agentcore 3.1124.0 → 3.1126.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 +17 -9
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +13 -8
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +8 -3
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +16 -3
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +26 -6
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -3
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1125.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -1156,6 +1156,7 @@ const _l = "location";
|
|
|
1156
1156
|
const _lA = "linkedAccounts";
|
|
1157
1157
|
const _lGA = "logGroupArns";
|
|
1158
1158
|
const _lGN = "logGroupNames";
|
|
1159
|
+
const _lGNP = "logGroupNamePrefixes";
|
|
1159
1160
|
const _lGNo = "logGroupName";
|
|
1160
1161
|
const _lLMC = "liteLlmModelConfig";
|
|
1161
1162
|
const _lM = "latencyMs";
|
|
@@ -1180,7 +1181,8 @@ const _mK = "metadataKey";
|
|
|
1180
1181
|
const _mL = "messagesList";
|
|
1181
1182
|
const _mM = "mcpMethod";
|
|
1182
1183
|
const _mMo = "mouseMove";
|
|
1183
|
-
const _mN = "
|
|
1184
|
+
const _mN = "metricsNamespace";
|
|
1185
|
+
const _mNc = "mcpName";
|
|
1184
1186
|
const _mP = "mountPath";
|
|
1185
1187
|
const _mPV = "mcpProtocolVersion";
|
|
1186
1188
|
const _mR = "memoryRecord";
|
|
@@ -1277,6 +1279,7 @@ const _rCe = "recommendationConfig";
|
|
|
1277
1279
|
const _rCea = "reasoningContent";
|
|
1278
1280
|
const _rCed = "redactedContent";
|
|
1279
1281
|
const _rCo = "rootCause";
|
|
1282
|
+
const _rD = "resultDestination";
|
|
1280
1283
|
const _rE = "requestExpiry";
|
|
1281
1284
|
const _rEI = "rootEventId";
|
|
1282
1285
|
const _rH = "requestHost";
|
|
@@ -1743,8 +1746,8 @@ var CloudWatchLogsRule$ = [3, n0, _CWLR,
|
|
|
1743
1746
|
];
|
|
1744
1747
|
var CloudWatchLogsSource$ = [3, n0, _CWLS,
|
|
1745
1748
|
0,
|
|
1746
|
-
[_sN, _lGN, _fC],
|
|
1747
|
-
[64 | 0, 64 | 0, () => CloudWatchFilterConfig$],
|
|
1749
|
+
[_sN, _lGN, _lGNP, _fC],
|
|
1750
|
+
[64 | 0, 64 | 0, 64 | 0, () => CloudWatchFilterConfig$], 1
|
|
1748
1751
|
];
|
|
1749
1752
|
var CloudWatchLogsTraceConfig$ = [3, n0, _CWLTC,
|
|
1750
1753
|
0,
|
|
@@ -1753,8 +1756,8 @@ var CloudWatchLogsTraceConfig$ = [3, n0, _CWLTC,
|
|
|
1753
1756
|
];
|
|
1754
1757
|
var CloudWatchOutputConfig$ = [3, n0, _CWOC,
|
|
1755
1758
|
0,
|
|
1756
|
-
[_lGNo, _lSN],
|
|
1757
|
-
[0, 0
|
|
1759
|
+
[_lGNo, _lSN, _mN, _rD],
|
|
1760
|
+
[0, 0, 0, 0]
|
|
1758
1761
|
];
|
|
1759
1762
|
var CodeInterpreterResult$ = [3, n0, _CIR,
|
|
1760
1763
|
0,
|
|
@@ -2488,7 +2491,7 @@ var InvokeAgentRuntimeCommandResponse$ = [3, n0, _IARCRn,
|
|
|
2488
2491
|
];
|
|
2489
2492
|
var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
|
|
2490
2493
|
0,
|
|
2491
|
-
[_aRA, _p, _cTon, _ac, _mSI, _rSI, _mPV, _mM,
|
|
2494
|
+
[_aRA, _p, _cTon, _ac, _mSI, _rSI, _mPV, _mM, _mNc, _rUI, _tI, _tPr, _tS, _ba, _q, _aIc],
|
|
2492
2495
|
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _Ac }], [0, { [_hH]: _MSI }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _MPV }], [0, { [_hH]: _MM }], [0, { [_hH]: _MN }], [0, { [_hH]: _XABARUI }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
2493
2496
|
];
|
|
2494
2497
|
var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
|
|
@@ -3008,8 +3011,8 @@ var SpanContext$ = [3, n0, _SCp,
|
|
|
3008
3011
|
];
|
|
3009
3012
|
var StartBatchEvaluationRequest$ = [3, n0, _SBER,
|
|
3010
3013
|
0,
|
|
3011
|
-
[_bEN, _dSC, _ev, _i, _cT, _eMva, _ta, _kKA, _d],
|
|
3012
|
-
[0, () => DataSourceConfig$, () => EvaluatorList, () => InsightList, [0, 4], () => EvaluationMetadata$, 128 | 0, 0, 0], 2
|
|
3014
|
+
[_bEN, _dSC, _ev, _i, _cT, _eMva, _ta, _kKA, _d, _oC],
|
|
3015
|
+
[0, () => DataSourceConfig$, () => EvaluatorList, () => InsightList, [0, 4], () => EvaluationMetadata$, 128 | 0, 0, 0, () => OutputConfig$], 2
|
|
3013
3016
|
];
|
|
3014
3017
|
var StartBatchEvaluationResponse$ = [3, n0, _SBERt,
|
|
3015
3018
|
0,
|
|
@@ -4569,6 +4572,10 @@ const RecommendationStatus = {
|
|
|
4569
4572
|
IN_PROGRESS: "IN_PROGRESS",
|
|
4570
4573
|
PENDING: "PENDING",
|
|
4571
4574
|
};
|
|
4575
|
+
const ResultDestination = {
|
|
4576
|
+
DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP",
|
|
4577
|
+
SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP",
|
|
4578
|
+
};
|
|
4572
4579
|
const RecommendationType = {
|
|
4573
4580
|
SYSTEM_PROMPT_RECOMMENDATION: "SYSTEM_PROMPT_RECOMMENDATION",
|
|
4574
4581
|
TOOL_DESCRIPTION_RECOMMENDATION: "TOOL_DESCRIPTION_RECOMMENDATION",
|
|
@@ -5249,6 +5256,7 @@ exports.ResourceLocation$ = ResourceLocation$;
|
|
|
5249
5256
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
5250
5257
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
5251
5258
|
exports.ResponseChunk$ = ResponseChunk$;
|
|
5259
|
+
exports.ResultDestination = ResultDestination;
|
|
5252
5260
|
exports.RetrieveMemoryRecords$ = RetrieveMemoryRecords$;
|
|
5253
5261
|
exports.RetrieveMemoryRecordsCommand = RetrieveMemoryRecordsCommand;
|
|
5254
5262
|
exports.RetrieveMemoryRecordsInput$ = RetrieveMemoryRecordsInput$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -124,6 +124,10 @@ export const RecommendationStatus = {
|
|
|
124
124
|
IN_PROGRESS: "IN_PROGRESS",
|
|
125
125
|
PENDING: "PENDING",
|
|
126
126
|
};
|
|
127
|
+
export const ResultDestination = {
|
|
128
|
+
DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP",
|
|
129
|
+
SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP",
|
|
130
|
+
};
|
|
127
131
|
export const RecommendationType = {
|
|
128
132
|
SYSTEM_PROMPT_RECOMMENDATION: "SYSTEM_PROMPT_RECOMMENDATION",
|
|
129
133
|
TOOL_DESCRIPTION_RECOMMENDATION: "TOOL_DESCRIPTION_RECOMMENDATION",
|
|
@@ -825,6 +825,7 @@ const _l = "location";
|
|
|
825
825
|
const _lA = "linkedAccounts";
|
|
826
826
|
const _lGA = "logGroupArns";
|
|
827
827
|
const _lGN = "logGroupNames";
|
|
828
|
+
const _lGNP = "logGroupNamePrefixes";
|
|
828
829
|
const _lGNo = "logGroupName";
|
|
829
830
|
const _lLMC = "liteLlmModelConfig";
|
|
830
831
|
const _lM = "latencyMs";
|
|
@@ -849,7 +850,8 @@ const _mK = "metadataKey";
|
|
|
849
850
|
const _mL = "messagesList";
|
|
850
851
|
const _mM = "mcpMethod";
|
|
851
852
|
const _mMo = "mouseMove";
|
|
852
|
-
const _mN = "
|
|
853
|
+
const _mN = "metricsNamespace";
|
|
854
|
+
const _mNc = "mcpName";
|
|
853
855
|
const _mP = "mountPath";
|
|
854
856
|
const _mPV = "mcpProtocolVersion";
|
|
855
857
|
const _mR = "memoryRecord";
|
|
@@ -946,6 +948,7 @@ const _rCe = "recommendationConfig";
|
|
|
946
948
|
const _rCea = "reasoningContent";
|
|
947
949
|
const _rCed = "redactedContent";
|
|
948
950
|
const _rCo = "rootCause";
|
|
951
|
+
const _rD = "resultDestination";
|
|
949
952
|
const _rE = "requestExpiry";
|
|
950
953
|
const _rEI = "rootEventId";
|
|
951
954
|
const _rH = "requestHost";
|
|
@@ -1415,8 +1418,8 @@ export var CloudWatchLogsRule$ = [3, n0, _CWLR,
|
|
|
1415
1418
|
];
|
|
1416
1419
|
export var CloudWatchLogsSource$ = [3, n0, _CWLS,
|
|
1417
1420
|
0,
|
|
1418
|
-
[_sN, _lGN, _fC],
|
|
1419
|
-
[64 | 0, 64 | 0, () => CloudWatchFilterConfig$],
|
|
1421
|
+
[_sN, _lGN, _lGNP, _fC],
|
|
1422
|
+
[64 | 0, 64 | 0, 64 | 0, () => CloudWatchFilterConfig$], 1
|
|
1420
1423
|
];
|
|
1421
1424
|
export var CloudWatchLogsTraceConfig$ = [3, n0, _CWLTC,
|
|
1422
1425
|
0,
|
|
@@ -1425,8 +1428,8 @@ export var CloudWatchLogsTraceConfig$ = [3, n0, _CWLTC,
|
|
|
1425
1428
|
];
|
|
1426
1429
|
export var CloudWatchOutputConfig$ = [3, n0, _CWOC,
|
|
1427
1430
|
0,
|
|
1428
|
-
[_lGNo, _lSN],
|
|
1429
|
-
[0, 0
|
|
1431
|
+
[_lGNo, _lSN, _mN, _rD],
|
|
1432
|
+
[0, 0, 0, 0]
|
|
1430
1433
|
];
|
|
1431
1434
|
export var CodeInterpreterResult$ = [3, n0, _CIR,
|
|
1432
1435
|
0,
|
|
@@ -2160,7 +2163,7 @@ export var InvokeAgentRuntimeCommandResponse$ = [3, n0, _IARCRn,
|
|
|
2160
2163
|
];
|
|
2161
2164
|
export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
|
|
2162
2165
|
0,
|
|
2163
|
-
[_aRA, _p, _cTon, _ac, _mSI, _rSI, _mPV, _mM,
|
|
2166
|
+
[_aRA, _p, _cTon, _ac, _mSI, _rSI, _mPV, _mM, _mNc, _rUI, _tI, _tPr, _tS, _ba, _q, _aIc],
|
|
2164
2167
|
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _Ac }], [0, { [_hH]: _MSI }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _MPV }], [0, { [_hH]: _MM }], [0, { [_hH]: _MN }], [0, { [_hH]: _XABARUI }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
2165
2168
|
];
|
|
2166
2169
|
export var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
|
|
@@ -2680,8 +2683,8 @@ export var SpanContext$ = [3, n0, _SCp,
|
|
|
2680
2683
|
];
|
|
2681
2684
|
export var StartBatchEvaluationRequest$ = [3, n0, _SBER,
|
|
2682
2685
|
0,
|
|
2683
|
-
[_bEN, _dSC, _ev, _i, _cT, _eMva, _ta, _kKA, _d],
|
|
2684
|
-
[0, () => DataSourceConfig$, () => EvaluatorList, () => InsightList, [0, 4], () => EvaluationMetadata$, 128 | 0, 0, 0], 2
|
|
2686
|
+
[_bEN, _dSC, _ev, _i, _cT, _eMva, _ta, _kKA, _d, _oC],
|
|
2687
|
+
[0, () => DataSourceConfig$, () => EvaluatorList, () => InsightList, [0, 4], () => EvaluationMetadata$, 128 | 0, 0, 0, () => OutputConfig$], 2
|
|
2685
2688
|
];
|
|
2686
2689
|
export var StartBatchEvaluationResponse$ = [3, n0, _SBERt,
|
|
2687
2690
|
0,
|
|
@@ -3052,6 +3055,8 @@ var LinkedAccountList = [1, n0, _LAL,
|
|
|
3052
3055
|
0]
|
|
3053
3056
|
];
|
|
3054
3057
|
var LogGroupArnList = 64 | 0;
|
|
3058
|
+
var LogGroupNameList = 64 | 0;
|
|
3059
|
+
var LogGroupNamePrefixList = 64 | 0;
|
|
3055
3060
|
var MemoryMetadataFilterList = [1, n0, _MMFL,
|
|
3056
3061
|
0, () => MemoryMetadataFilterExpression$
|
|
3057
3062
|
];
|
|
@@ -59,7 +59,10 @@ declare const GetBatchEvaluationCommand_base: {
|
|
|
59
59
|
* // serviceNames: [ // EvaluationStringList // required
|
|
60
60
|
* // "STRING_VALUE",
|
|
61
61
|
* // ],
|
|
62
|
-
* // logGroupNames: [ //
|
|
62
|
+
* // logGroupNames: [ // LogGroupNameList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // logGroupNamePrefixes: [ // LogGroupNamePrefixList
|
|
63
66
|
* // "STRING_VALUE",
|
|
64
67
|
* // ],
|
|
65
68
|
* // filterConfig: { // CloudWatchFilterConfig
|
|
@@ -82,8 +85,10 @@ declare const GetBatchEvaluationCommand_base: {
|
|
|
82
85
|
* // },
|
|
83
86
|
* // outputConfig: { // OutputConfig Union: only one key present
|
|
84
87
|
* // cloudWatchConfig: { // CloudWatchOutputConfig
|
|
85
|
-
* // logGroupName: "STRING_VALUE",
|
|
86
|
-
* // logStreamName: "STRING_VALUE",
|
|
88
|
+
* // logGroupName: "STRING_VALUE",
|
|
89
|
+
* // logStreamName: "STRING_VALUE",
|
|
90
|
+
* // metricsNamespace: "STRING_VALUE",
|
|
91
|
+
* // resultDestination: "DEDICATED_LOG_GROUP" || "SOURCE_LOG_GROUP",
|
|
87
92
|
* // },
|
|
88
93
|
* // },
|
|
89
94
|
* // evaluationResults: { // EvaluationJobResults
|
|
@@ -50,7 +50,10 @@ declare const StartBatchEvaluationCommand_base: {
|
|
|
50
50
|
* serviceNames: [ // EvaluationStringList // required
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
|
-
* logGroupNames: [ //
|
|
53
|
+
* logGroupNames: [ // LogGroupNameList
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* logGroupNamePrefixes: [ // LogGroupNamePrefixList
|
|
54
57
|
* "STRING_VALUE",
|
|
55
58
|
* ],
|
|
56
59
|
* filterConfig: { // CloudWatchFilterConfig
|
|
@@ -112,6 +115,14 @@ declare const StartBatchEvaluationCommand_base: {
|
|
|
112
115
|
* },
|
|
113
116
|
* kmsKeyArn: "STRING_VALUE",
|
|
114
117
|
* description: "STRING_VALUE",
|
|
118
|
+
* outputConfig: { // OutputConfig Union: only one key present
|
|
119
|
+
* cloudWatchConfig: { // CloudWatchOutputConfig
|
|
120
|
+
* logGroupName: "STRING_VALUE",
|
|
121
|
+
* logStreamName: "STRING_VALUE",
|
|
122
|
+
* metricsNamespace: "STRING_VALUE",
|
|
123
|
+
* resultDestination: "DEDICATED_LOG_GROUP" || "SOURCE_LOG_GROUP",
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
115
126
|
* };
|
|
116
127
|
* const command = new StartBatchEvaluationCommand(input);
|
|
117
128
|
* const response = await client.send(command);
|
|
@@ -133,8 +144,10 @@ declare const StartBatchEvaluationCommand_base: {
|
|
|
133
144
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
134
145
|
* // outputConfig: { // OutputConfig Union: only one key present
|
|
135
146
|
* // cloudWatchConfig: { // CloudWatchOutputConfig
|
|
136
|
-
* // logGroupName: "STRING_VALUE",
|
|
137
|
-
* // logStreamName: "STRING_VALUE",
|
|
147
|
+
* // logGroupName: "STRING_VALUE",
|
|
148
|
+
* // logStreamName: "STRING_VALUE",
|
|
149
|
+
* // metricsNamespace: "STRING_VALUE",
|
|
150
|
+
* // resultDestination: "DEDICATED_LOG_GROUP" || "SOURCE_LOG_GROUP",
|
|
138
151
|
* // },
|
|
139
152
|
* // },
|
|
140
153
|
* // tags: { // TagsMap
|
|
@@ -252,6 +252,18 @@ export declare const RecommendationStatus: {
|
|
|
252
252
|
* @public
|
|
253
253
|
*/
|
|
254
254
|
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
* @enum
|
|
258
|
+
*/
|
|
259
|
+
export declare const ResultDestination: {
|
|
260
|
+
readonly DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP";
|
|
261
|
+
readonly SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export type ResultDestination = (typeof ResultDestination)[keyof typeof ResultDestination];
|
|
255
267
|
/**
|
|
256
268
|
* @public
|
|
257
269
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -3810,10 +3810,15 @@ export interface CloudWatchLogsSource {
|
|
|
3810
3810
|
*/
|
|
3811
3811
|
serviceNames: string[] | undefined;
|
|
3812
3812
|
/**
|
|
3813
|
-
* <p>The list of CloudWatch log group names to read agent traces from. Maximum of
|
|
3813
|
+
* <p>The list of CloudWatch log group names to read agent traces from. Maximum of 10 log groups.</p>
|
|
3814
3814
|
* @public
|
|
3815
3815
|
*/
|
|
3816
|
-
logGroupNames
|
|
3816
|
+
logGroupNames?: string[] | undefined;
|
|
3817
|
+
/**
|
|
3818
|
+
* <p>The list of CloudWatch log group name prefixes to read agent traces from. Specify this instead of <code>logGroupNames</code> to match log groups by prefix. Maximum of 5 prefixes. Specify either <code>logGroupNames</code> or <code>logGroupNamePrefixes</code>, not both. One of the two is required.</p>
|
|
3819
|
+
* @public
|
|
3820
|
+
*/
|
|
3821
|
+
logGroupNamePrefixes?: string[] | undefined;
|
|
3817
3822
|
/**
|
|
3818
3823
|
* <p>Optional filter configuration to narrow down which sessions to evaluate.</p>
|
|
3819
3824
|
* @public
|
|
@@ -4154,15 +4159,25 @@ export interface Insight {
|
|
|
4154
4159
|
*/
|
|
4155
4160
|
export interface CloudWatchOutputConfig {
|
|
4156
4161
|
/**
|
|
4157
|
-
* <p>The name of the CloudWatch log group where evaluation results will be written.</p>
|
|
4162
|
+
* <p>The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when <code>resultDestination</code> is <code>SOURCE_LOG_GROUP</code>, because results are written back to the trace source log group. The name can't be under the service-reserved <code>/aws/bedrock-agentcore/evaluations/</code> namespace, apart from the service-managed default group.</p>
|
|
4158
4163
|
* @public
|
|
4159
4164
|
*/
|
|
4160
|
-
logGroupName
|
|
4165
|
+
logGroupName?: string | undefined;
|
|
4161
4166
|
/**
|
|
4162
4167
|
* <p>The name of the CloudWatch log stream where evaluation results will be written.</p>
|
|
4163
4168
|
* @public
|
|
4164
4169
|
*/
|
|
4165
|
-
logStreamName
|
|
4170
|
+
logStreamName?: string | undefined;
|
|
4171
|
+
/**
|
|
4172
|
+
* <p>The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value, the service publishes metrics to <code>Bedrock-AgentCore/Evaluations</code>. This value can't begin with <code>AWS/</code>.</p>
|
|
4173
|
+
* @public
|
|
4174
|
+
*/
|
|
4175
|
+
metricsNamespace?: string | undefined;
|
|
4176
|
+
/**
|
|
4177
|
+
* <p>The destination where evaluation results are written. Valid values:</p> <ul> <li> <p> <code>DEDICATED_LOG_GROUP</code> (default) – Writes results to a dedicated result log group.</p> </li> <li> <p> <code>SOURCE_LOG_GROUP</code> – Writes results back to the log group that the agent traces were read from. If you use this value, don't specify <code>logGroupName</code>.</p> </li> </ul>
|
|
4178
|
+
* @public
|
|
4179
|
+
*/
|
|
4180
|
+
resultDestination?: ResultDestination | undefined;
|
|
4166
4181
|
}
|
|
4167
4182
|
/**
|
|
4168
4183
|
* <p>Output destination configuration.</p>
|
|
@@ -5284,6 +5299,11 @@ export interface StartBatchEvaluationRequest {
|
|
|
5284
5299
|
* @public
|
|
5285
5300
|
*/
|
|
5286
5301
|
description?: string | undefined;
|
|
5302
|
+
/**
|
|
5303
|
+
* <p>Output destination configuration.</p>
|
|
5304
|
+
* @public
|
|
5305
|
+
*/
|
|
5306
|
+
outputConfig?: OutputConfig | undefined;
|
|
5287
5307
|
}
|
|
5288
5308
|
/**
|
|
5289
5309
|
* @public
|
|
@@ -150,6 +150,11 @@ export declare const RecommendationStatus: {
|
|
|
150
150
|
readonly PENDING: "PENDING";
|
|
151
151
|
};
|
|
152
152
|
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
153
|
+
export declare const ResultDestination: {
|
|
154
|
+
readonly DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP";
|
|
155
|
+
readonly SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP";
|
|
156
|
+
};
|
|
157
|
+
export type ResultDestination = (typeof ResultDestination)[keyof typeof ResultDestination];
|
|
153
158
|
export declare const RecommendationType: {
|
|
154
159
|
readonly SYSTEM_PROMPT_RECOMMENDATION: "SYSTEM_PROMPT_RECOMMENDATION";
|
|
155
160
|
readonly TOOL_DESCRIPTION_RECOMMENDATION: "TOOL_DESCRIPTION_RECOMMENDATION";
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
RecommendationStatus,
|
|
32
32
|
RecommendationType,
|
|
33
33
|
ResourceContentType,
|
|
34
|
+
ResultDestination,
|
|
34
35
|
Role,
|
|
35
36
|
ScreenshotFormat,
|
|
36
37
|
SessionStatus,
|
|
@@ -1380,7 +1381,8 @@ export interface CloudWatchFilterConfig {
|
|
|
1380
1381
|
}
|
|
1381
1382
|
export interface CloudWatchLogsSource {
|
|
1382
1383
|
serviceNames: string[] | undefined;
|
|
1383
|
-
logGroupNames
|
|
1384
|
+
logGroupNames?: string[] | undefined;
|
|
1385
|
+
logGroupNamePrefixes?: string[] | undefined;
|
|
1384
1386
|
filterConfig?: CloudWatchFilterConfig | undefined;
|
|
1385
1387
|
}
|
|
1386
1388
|
export interface OnlineEvaluationConfigSource {
|
|
@@ -1477,8 +1479,10 @@ export interface Insight {
|
|
|
1477
1479
|
insightId: string | undefined;
|
|
1478
1480
|
}
|
|
1479
1481
|
export interface CloudWatchOutputConfig {
|
|
1480
|
-
logGroupName
|
|
1481
|
-
logStreamName
|
|
1482
|
+
logGroupName?: string | undefined;
|
|
1483
|
+
logStreamName?: string | undefined;
|
|
1484
|
+
metricsNamespace?: string | undefined;
|
|
1485
|
+
resultDestination?: ResultDestination | undefined;
|
|
1482
1486
|
}
|
|
1483
1487
|
export type OutputConfig = OutputConfig.CloudWatchConfigMember | OutputConfig.$UnknownMember;
|
|
1484
1488
|
export declare namespace OutputConfig {
|
|
@@ -1846,6 +1850,7 @@ export interface StartBatchEvaluationRequest {
|
|
|
1846
1850
|
tags?: Record<string, string> | undefined;
|
|
1847
1851
|
kmsKeyArn?: string | undefined;
|
|
1848
1852
|
description?: string | undefined;
|
|
1853
|
+
outputConfig?: OutputConfig | undefined;
|
|
1849
1854
|
}
|
|
1850
1855
|
export interface StartBatchEvaluationResponse {
|
|
1851
1856
|
batchEvaluationId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1126.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore 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",
|
|
6
6
|
"license": "Apache-2.0",
|