@aws-sdk/client-bedrock-agentcore 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +284 -268
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +4 -8
- package/dist-cjs/models/errors.js +29 -46
- package/dist-cjs/runtimeConfig.browser.js +24 -28
- package/dist-cjs/runtimeConfig.js +32 -36
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +21 -25
- package/dist-cjs/schemas/schemas_0.js +1241 -692
- package/dist-es/models/enums.js +35 -0
- package/dist-es/schemas/schemas_0.js +216 -45
- package/dist-types/commands/CreateABTestCommand.d.ts +3 -0
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +96 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +9 -0
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +6 -0
- package/dist-types/commands/ListEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +1 -1
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +25 -0
- package/dist-types/commands/StartRecommendationCommand.d.ts +16 -0
- package/dist-types/models/enums.d.ts +43 -0
- package/dist-types/models/models_0.d.ts +470 -436
- package/dist-types/models/models_1.d.ts +433 -2
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +122 -133
- package/dist-types/ts3.4/models/models_1.d.ts +138 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +8 -8
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
CodeInterpreterSessionStatus,
|
|
15
15
|
CommandExecutionStatus,
|
|
16
16
|
ContentBlockType,
|
|
17
|
-
ExtractionJobStatus,
|
|
18
17
|
HarnessBedrockApiFormat,
|
|
19
18
|
HarnessConversationRole,
|
|
20
19
|
HarnessOpenAiApiFormat,
|
|
@@ -22,13 +21,12 @@ import {
|
|
|
22
21
|
HarnessToolType,
|
|
23
22
|
HarnessToolUseStatus,
|
|
24
23
|
HarnessToolUseType,
|
|
24
|
+
InsightsFailureCategory,
|
|
25
25
|
LanguageRuntime,
|
|
26
|
-
MemoryRecordOperatorType,
|
|
27
26
|
MemoryRecordStatus,
|
|
28
27
|
MouseButton,
|
|
29
28
|
Oauth2FlowType,
|
|
30
29
|
OAuthGrantType,
|
|
31
|
-
OperatorType,
|
|
32
30
|
PaymentHttpMethodType,
|
|
33
31
|
ProgrammingLanguage,
|
|
34
32
|
RecommendationStatus,
|
|
@@ -131,6 +129,23 @@ export interface ABTestSummary {
|
|
|
131
129
|
export interface ActorSummary {
|
|
132
130
|
actorId: string | undefined;
|
|
133
131
|
}
|
|
132
|
+
export interface InsightsFailureSignal {
|
|
133
|
+
category: InsightsFailureCategory | undefined;
|
|
134
|
+
evidence: string | undefined;
|
|
135
|
+
confidence: number | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface FailureSpanDetail {
|
|
138
|
+
spanId: string | undefined;
|
|
139
|
+
traceId: string | undefined;
|
|
140
|
+
signals: InsightsFailureSignal[] | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface AffectedSession {
|
|
143
|
+
sessionId: string | undefined;
|
|
144
|
+
explanation: string | undefined;
|
|
145
|
+
fixType: string | undefined;
|
|
146
|
+
recommendation: string | undefined;
|
|
147
|
+
failureSpans: FailureSpanDetail[] | undefined;
|
|
148
|
+
}
|
|
134
149
|
export interface GetAgentCardRequest {
|
|
135
150
|
runtimeSessionId?: string | undefined;
|
|
136
151
|
agentRuntimeArn: string | undefined;
|
|
@@ -357,6 +372,9 @@ export interface AgentSkillsDescriptor {
|
|
|
357
372
|
skillMd: SkillMdDefinition | undefined;
|
|
358
373
|
skillDefinition?: SkillDefinition | undefined;
|
|
359
374
|
}
|
|
375
|
+
export interface BatchEvaluationTraceConfig {
|
|
376
|
+
batchEvaluationArn: string | undefined;
|
|
377
|
+
}
|
|
360
378
|
export type FilterValue =
|
|
361
379
|
| FilterValue.BooleanValueMember
|
|
362
380
|
| FilterValue.DoubleValueMember
|
|
@@ -410,6 +428,7 @@ export interface CloudWatchLogsTraceConfig {
|
|
|
410
428
|
rule?: CloudWatchLogsRule | undefined;
|
|
411
429
|
}
|
|
412
430
|
export type AgentTracesConfig =
|
|
431
|
+
| AgentTracesConfig.BatchEvaluationMember
|
|
413
432
|
| AgentTracesConfig.CloudwatchLogsMember
|
|
414
433
|
| AgentTracesConfig.SessionSpansMember
|
|
415
434
|
| AgentTracesConfig.$UnknownMember;
|
|
@@ -417,21 +436,31 @@ export declare namespace AgentTracesConfig {
|
|
|
417
436
|
interface SessionSpansMember {
|
|
418
437
|
sessionSpans: __DocumentType[];
|
|
419
438
|
cloudwatchLogs?: never;
|
|
439
|
+
batchEvaluation?: never;
|
|
420
440
|
$unknown?: never;
|
|
421
441
|
}
|
|
422
442
|
interface CloudwatchLogsMember {
|
|
423
443
|
sessionSpans?: never;
|
|
424
444
|
cloudwatchLogs: CloudWatchLogsTraceConfig;
|
|
445
|
+
batchEvaluation?: never;
|
|
446
|
+
$unknown?: never;
|
|
447
|
+
}
|
|
448
|
+
interface BatchEvaluationMember {
|
|
449
|
+
sessionSpans?: never;
|
|
450
|
+
cloudwatchLogs?: never;
|
|
451
|
+
batchEvaluation: BatchEvaluationTraceConfig;
|
|
425
452
|
$unknown?: never;
|
|
426
453
|
}
|
|
427
454
|
interface $UnknownMember {
|
|
428
455
|
sessionSpans?: never;
|
|
429
456
|
cloudwatchLogs?: never;
|
|
457
|
+
batchEvaluation?: never;
|
|
430
458
|
$unknown: [string, any];
|
|
431
459
|
}
|
|
432
460
|
interface Visitor<T> {
|
|
433
461
|
sessionSpans: (value: __DocumentType[]) => T;
|
|
434
462
|
cloudwatchLogs: (value: CloudWatchLogsTraceConfig) => T;
|
|
463
|
+
batchEvaluation: (value: BatchEvaluationTraceConfig) => T;
|
|
435
464
|
_: (name: string, value: any) => T;
|
|
436
465
|
}
|
|
437
466
|
}
|
|
@@ -1109,6 +1138,7 @@ export interface CreateABTestRequest {
|
|
|
1109
1138
|
roleArn: string | undefined;
|
|
1110
1139
|
enableOnCreate?: boolean | undefined;
|
|
1111
1140
|
clientToken?: string | undefined;
|
|
1141
|
+
tags?: Record<string, string> | undefined;
|
|
1112
1142
|
}
|
|
1113
1143
|
export interface CreateABTestResponse {
|
|
1114
1144
|
abTestId: string | undefined;
|
|
@@ -1297,20 +1327,33 @@ export interface CloudWatchLogsSource {
|
|
|
1297
1327
|
logGroupNames: string[] | undefined;
|
|
1298
1328
|
filterConfig?: CloudWatchFilterConfig | undefined;
|
|
1299
1329
|
}
|
|
1330
|
+
export interface OnlineEvaluationConfigSource {
|
|
1331
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
1332
|
+
sessionFilterConfig?: SessionFilterConfig | undefined;
|
|
1333
|
+
}
|
|
1300
1334
|
export type DataSourceConfig =
|
|
1301
1335
|
| DataSourceConfig.CloudWatchLogsMember
|
|
1336
|
+
| DataSourceConfig.OnlineEvaluationConfigSourceMember
|
|
1302
1337
|
| DataSourceConfig.$UnknownMember;
|
|
1303
1338
|
export declare namespace DataSourceConfig {
|
|
1304
1339
|
interface CloudWatchLogsMember {
|
|
1305
1340
|
cloudWatchLogs: CloudWatchLogsSource;
|
|
1341
|
+
onlineEvaluationConfigSource?: never;
|
|
1342
|
+
$unknown?: never;
|
|
1343
|
+
}
|
|
1344
|
+
interface OnlineEvaluationConfigSourceMember {
|
|
1345
|
+
cloudWatchLogs?: never;
|
|
1346
|
+
onlineEvaluationConfigSource: OnlineEvaluationConfigSource;
|
|
1306
1347
|
$unknown?: never;
|
|
1307
1348
|
}
|
|
1308
1349
|
interface $UnknownMember {
|
|
1309
1350
|
cloudWatchLogs?: never;
|
|
1351
|
+
onlineEvaluationConfigSource?: never;
|
|
1310
1352
|
$unknown: [string, any];
|
|
1311
1353
|
}
|
|
1312
1354
|
interface Visitor<T> {
|
|
1313
1355
|
cloudWatchLogs: (value: CloudWatchLogsSource) => T;
|
|
1356
|
+
onlineEvaluationConfigSource: (value: OnlineEvaluationConfigSource) => T;
|
|
1314
1357
|
_: (name: string, value: any) => T;
|
|
1315
1358
|
}
|
|
1316
1359
|
}
|
|
@@ -1334,6 +1377,49 @@ export interface EvaluationJobResults {
|
|
|
1334
1377
|
export interface Evaluator {
|
|
1335
1378
|
evaluatorId: string | undefined;
|
|
1336
1379
|
}
|
|
1380
|
+
export interface ExecutionSummaryAffectedSession {
|
|
1381
|
+
sessionId: string | undefined;
|
|
1382
|
+
approachTaken: string | undefined;
|
|
1383
|
+
finalOutcome: string | undefined;
|
|
1384
|
+
}
|
|
1385
|
+
export interface ExecutionSummaryCluster {
|
|
1386
|
+
clusterId: number | undefined;
|
|
1387
|
+
name: string | undefined;
|
|
1388
|
+
description: string | undefined;
|
|
1389
|
+
affectedSessionCount: number | undefined;
|
|
1390
|
+
affectedSessions: ExecutionSummaryAffectedSession[] | undefined;
|
|
1391
|
+
}
|
|
1392
|
+
export interface ExecutionSummaryClusteringResultContent {
|
|
1393
|
+
executionSummaries: ExecutionSummaryCluster[] | undefined;
|
|
1394
|
+
}
|
|
1395
|
+
export interface RootCauseCluster {
|
|
1396
|
+
clusterId: number | undefined;
|
|
1397
|
+
name: string | undefined;
|
|
1398
|
+
rootCause: string | undefined;
|
|
1399
|
+
recommendation: string | undefined;
|
|
1400
|
+
affectedSessionCount: number | undefined;
|
|
1401
|
+
affectedSessions: AffectedSession[] | undefined;
|
|
1402
|
+
}
|
|
1403
|
+
export interface FailureSubCategoryCluster {
|
|
1404
|
+
clusterId: number | undefined;
|
|
1405
|
+
name: string | undefined;
|
|
1406
|
+
description: string | undefined;
|
|
1407
|
+
affectedSessionCount: number | undefined;
|
|
1408
|
+
rootCauses: RootCauseCluster[] | undefined;
|
|
1409
|
+
}
|
|
1410
|
+
export interface FailureCategoryCluster {
|
|
1411
|
+
clusterId: number | undefined;
|
|
1412
|
+
name: string | undefined;
|
|
1413
|
+
description: string | undefined;
|
|
1414
|
+
affectedSessionCount: number | undefined;
|
|
1415
|
+
subCategories: FailureSubCategoryCluster[] | undefined;
|
|
1416
|
+
}
|
|
1417
|
+
export interface FailureAnalysisResultContent {
|
|
1418
|
+
failures: FailureCategoryCluster[] | undefined;
|
|
1419
|
+
}
|
|
1420
|
+
export interface Insight {
|
|
1421
|
+
insightId: string | undefined;
|
|
1422
|
+
}
|
|
1337
1423
|
export interface CloudWatchOutputConfig {
|
|
1338
1424
|
logGroupName: string | undefined;
|
|
1339
1425
|
logStreamName: string | undefined;
|
|
@@ -1355,6 +1441,20 @@ export declare namespace OutputConfig {
|
|
|
1355
1441
|
_: (name: string, value: any) => T;
|
|
1356
1442
|
}
|
|
1357
1443
|
}
|
|
1444
|
+
export interface UserIntentAffectedSession {
|
|
1445
|
+
sessionId: string | undefined;
|
|
1446
|
+
userMessages: string[] | undefined;
|
|
1447
|
+
}
|
|
1448
|
+
export interface UserIntentCluster {
|
|
1449
|
+
clusterId: number | undefined;
|
|
1450
|
+
name: string | undefined;
|
|
1451
|
+
description: string | undefined;
|
|
1452
|
+
affectedSessionCount: number | undefined;
|
|
1453
|
+
affectedSessions: UserIntentAffectedSession[] | undefined;
|
|
1454
|
+
}
|
|
1455
|
+
export interface UserIntentClusteringResultContent {
|
|
1456
|
+
userIntents: UserIntentCluster[] | undefined;
|
|
1457
|
+
}
|
|
1358
1458
|
export interface GetBatchEvaluationResponse {
|
|
1359
1459
|
batchEvaluationId: string | undefined;
|
|
1360
1460
|
batchEvaluationArn: string | undefined;
|
|
@@ -1362,12 +1462,17 @@ export interface GetBatchEvaluationResponse {
|
|
|
1362
1462
|
status: BatchEvaluationStatus | undefined;
|
|
1363
1463
|
createdAt: Date | undefined;
|
|
1364
1464
|
evaluators?: Evaluator[] | undefined;
|
|
1465
|
+
insights?: Insight[] | undefined;
|
|
1365
1466
|
dataSourceConfig?: DataSourceConfig | undefined;
|
|
1366
1467
|
outputConfig?: OutputConfig | undefined;
|
|
1367
1468
|
evaluationResults?: EvaluationJobResults | undefined;
|
|
1469
|
+
failureAnalysisResult?: FailureAnalysisResultContent | undefined;
|
|
1470
|
+
userIntentResult?: UserIntentClusteringResultContent | undefined;
|
|
1471
|
+
executionSummaryResult?: ExecutionSummaryClusteringResultContent | undefined;
|
|
1368
1472
|
errorDetails?: string[] | undefined;
|
|
1369
1473
|
description?: string | undefined;
|
|
1370
1474
|
updatedAt?: Date | undefined;
|
|
1475
|
+
kmsKeyArn?: string | undefined;
|
|
1371
1476
|
}
|
|
1372
1477
|
export interface GetRecommendationRequest {
|
|
1373
1478
|
recommendationId: string | undefined;
|
|
@@ -1412,7 +1517,7 @@ export declare namespace SystemPromptConfig {
|
|
|
1412
1517
|
export interface SystemPromptRecommendationConfig {
|
|
1413
1518
|
systemPrompt: SystemPromptConfig | undefined;
|
|
1414
1519
|
agentTraces: AgentTracesConfig | undefined;
|
|
1415
|
-
evaluationConfig
|
|
1520
|
+
evaluationConfig?: RecommendationEvaluationConfig | undefined;
|
|
1416
1521
|
}
|
|
1417
1522
|
export interface ConfigurationBundleToolEntry {
|
|
1418
1523
|
toolName: string | undefined;
|
|
@@ -1514,12 +1619,14 @@ export interface RecommendationResultConfigurationBundle {
|
|
|
1514
1619
|
export interface SystemPromptRecommendationResult {
|
|
1515
1620
|
recommendedSystemPrompt?: string | undefined;
|
|
1516
1621
|
configurationBundle?: RecommendationResultConfigurationBundle | undefined;
|
|
1622
|
+
explanation?: string | undefined;
|
|
1517
1623
|
errorCode?: string | undefined;
|
|
1518
1624
|
errorMessage?: string | undefined;
|
|
1519
1625
|
}
|
|
1520
1626
|
export interface ToolDescriptionOutput {
|
|
1521
1627
|
toolName: string | undefined;
|
|
1522
1628
|
recommendedToolDescription?: string | undefined;
|
|
1629
|
+
explanation?: string | undefined;
|
|
1523
1630
|
}
|
|
1524
1631
|
export interface ToolDescriptionRecommendationResult {
|
|
1525
1632
|
tools?: ToolDescriptionOutput[] | undefined;
|
|
@@ -1568,6 +1675,7 @@ export interface GetRecommendationResponse {
|
|
|
1568
1675
|
createdAt: Date | undefined;
|
|
1569
1676
|
updatedAt: Date | undefined;
|
|
1570
1677
|
recommendationResult?: RecommendationResult | undefined;
|
|
1678
|
+
kmsKeyArn?: string | undefined;
|
|
1571
1679
|
}
|
|
1572
1680
|
export interface ListABTestsRequest {
|
|
1573
1681
|
maxResults?: number | undefined;
|
|
@@ -1589,8 +1697,10 @@ export interface BatchEvaluationSummary {
|
|
|
1589
1697
|
createdAt: Date | undefined;
|
|
1590
1698
|
description?: string | undefined;
|
|
1591
1699
|
evaluators?: Evaluator[] | undefined;
|
|
1700
|
+
insights?: Insight[] | undefined;
|
|
1592
1701
|
evaluationResults?: EvaluationJobResults | undefined;
|
|
1593
1702
|
errorDetails?: string[] | undefined;
|
|
1703
|
+
kmsKeyArn?: string | undefined;
|
|
1594
1704
|
updatedAt?: Date | undefined;
|
|
1595
1705
|
}
|
|
1596
1706
|
export interface ListBatchEvaluationsResponse {
|
|
@@ -1685,9 +1795,12 @@ export declare namespace EvaluationMetadata {
|
|
|
1685
1795
|
export interface StartBatchEvaluationRequest {
|
|
1686
1796
|
batchEvaluationName: string | undefined;
|
|
1687
1797
|
evaluators?: Evaluator[] | undefined;
|
|
1798
|
+
insights?: Insight[] | undefined;
|
|
1688
1799
|
dataSourceConfig: DataSourceConfig | undefined;
|
|
1689
1800
|
clientToken?: string | undefined;
|
|
1690
1801
|
evaluationMetadata?: EvaluationMetadata | undefined;
|
|
1802
|
+
tags?: Record<string, string> | undefined;
|
|
1803
|
+
kmsKeyArn?: string | undefined;
|
|
1691
1804
|
description?: string | undefined;
|
|
1692
1805
|
}
|
|
1693
1806
|
export interface StartBatchEvaluationResponse {
|
|
@@ -1695,9 +1808,12 @@ export interface StartBatchEvaluationResponse {
|
|
|
1695
1808
|
batchEvaluationArn: string | undefined;
|
|
1696
1809
|
batchEvaluationName: string | undefined;
|
|
1697
1810
|
evaluators?: Evaluator[] | undefined;
|
|
1811
|
+
insights?: Insight[] | undefined;
|
|
1698
1812
|
status: BatchEvaluationStatus | undefined;
|
|
1699
1813
|
createdAt: Date | undefined;
|
|
1700
1814
|
outputConfig?: OutputConfig | undefined;
|
|
1815
|
+
tags?: Record<string, string> | undefined;
|
|
1816
|
+
kmsKeyArn?: string | undefined;
|
|
1701
1817
|
description?: string | undefined;
|
|
1702
1818
|
}
|
|
1703
1819
|
export interface StartRecommendationRequest {
|
|
@@ -1705,7 +1821,9 @@ export interface StartRecommendationRequest {
|
|
|
1705
1821
|
description?: string | undefined;
|
|
1706
1822
|
type: RecommendationType | undefined;
|
|
1707
1823
|
recommendationConfig: RecommendationConfig | undefined;
|
|
1824
|
+
kmsKeyArn?: string | undefined;
|
|
1708
1825
|
clientToken?: string | undefined;
|
|
1826
|
+
tags?: Record<string, string> | undefined;
|
|
1709
1827
|
}
|
|
1710
1828
|
export interface StartRecommendationResponse {
|
|
1711
1829
|
recommendationId: string | undefined;
|
|
@@ -3104,132 +3222,3 @@ export declare namespace RightExpression {
|
|
|
3104
3222
|
_: (name: string, value: any) => T;
|
|
3105
3223
|
}
|
|
3106
3224
|
}
|
|
3107
|
-
export interface EventMetadataFilterExpression {
|
|
3108
|
-
left: LeftExpression | undefined;
|
|
3109
|
-
operator: OperatorType | undefined;
|
|
3110
|
-
right?: RightExpression | undefined;
|
|
3111
|
-
}
|
|
3112
|
-
export interface FilterInput {
|
|
3113
|
-
branch?: BranchFilter | undefined;
|
|
3114
|
-
eventMetadata?: EventMetadataFilterExpression[] | undefined;
|
|
3115
|
-
}
|
|
3116
|
-
export interface ListEventsInput {
|
|
3117
|
-
memoryId: string | undefined;
|
|
3118
|
-
sessionId: string | undefined;
|
|
3119
|
-
actorId: string | undefined;
|
|
3120
|
-
includePayloads?: boolean | undefined;
|
|
3121
|
-
filter?: FilterInput | undefined;
|
|
3122
|
-
maxResults?: number | undefined;
|
|
3123
|
-
nextToken?: string | undefined;
|
|
3124
|
-
}
|
|
3125
|
-
export interface ListEventsOutput {
|
|
3126
|
-
events: Event[] | undefined;
|
|
3127
|
-
nextToken?: string | undefined;
|
|
3128
|
-
}
|
|
3129
|
-
export interface ExtractionJobFilterInput {
|
|
3130
|
-
strategyId?: string | undefined;
|
|
3131
|
-
sessionId?: string | undefined;
|
|
3132
|
-
actorId?: string | undefined;
|
|
3133
|
-
status?: ExtractionJobStatus | undefined;
|
|
3134
|
-
}
|
|
3135
|
-
export interface ListMemoryExtractionJobsInput {
|
|
3136
|
-
memoryId: string | undefined;
|
|
3137
|
-
maxResults?: number | undefined;
|
|
3138
|
-
filter?: ExtractionJobFilterInput | undefined;
|
|
3139
|
-
nextToken?: string | undefined;
|
|
3140
|
-
}
|
|
3141
|
-
export interface MessageMetadata {
|
|
3142
|
-
eventId: string | undefined;
|
|
3143
|
-
messageIndex: number | undefined;
|
|
3144
|
-
}
|
|
3145
|
-
export type ExtractionJobMessages =
|
|
3146
|
-
| ExtractionJobMessages.MessagesListMember
|
|
3147
|
-
| ExtractionJobMessages.$UnknownMember;
|
|
3148
|
-
export declare namespace ExtractionJobMessages {
|
|
3149
|
-
interface MessagesListMember {
|
|
3150
|
-
messagesList: MessageMetadata[];
|
|
3151
|
-
$unknown?: never;
|
|
3152
|
-
}
|
|
3153
|
-
interface $UnknownMember {
|
|
3154
|
-
messagesList?: never;
|
|
3155
|
-
$unknown: [string, any];
|
|
3156
|
-
}
|
|
3157
|
-
interface Visitor<T> {
|
|
3158
|
-
messagesList: (value: MessageMetadata[]) => T;
|
|
3159
|
-
_: (name: string, value: any) => T;
|
|
3160
|
-
}
|
|
3161
|
-
}
|
|
3162
|
-
export interface ExtractionJobMetadata {
|
|
3163
|
-
jobID: string | undefined;
|
|
3164
|
-
messages: ExtractionJobMessages | undefined;
|
|
3165
|
-
status?: ExtractionJobStatus | undefined;
|
|
3166
|
-
failureReason?: string | undefined;
|
|
3167
|
-
strategyId?: string | undefined;
|
|
3168
|
-
sessionId?: string | undefined;
|
|
3169
|
-
actorId?: string | undefined;
|
|
3170
|
-
}
|
|
3171
|
-
export interface ListMemoryExtractionJobsOutput {
|
|
3172
|
-
jobs: ExtractionJobMetadata[] | undefined;
|
|
3173
|
-
nextToken?: string | undefined;
|
|
3174
|
-
}
|
|
3175
|
-
export type MemoryRecordLeftExpression =
|
|
3176
|
-
| MemoryRecordLeftExpression.MetadataKeyMember
|
|
3177
|
-
| MemoryRecordLeftExpression.$UnknownMember;
|
|
3178
|
-
export declare namespace MemoryRecordLeftExpression {
|
|
3179
|
-
interface MetadataKeyMember {
|
|
3180
|
-
metadataKey: string;
|
|
3181
|
-
$unknown?: never;
|
|
3182
|
-
}
|
|
3183
|
-
interface $UnknownMember {
|
|
3184
|
-
metadataKey?: never;
|
|
3185
|
-
$unknown: [string, any];
|
|
3186
|
-
}
|
|
3187
|
-
interface Visitor<T> {
|
|
3188
|
-
metadataKey: (value: string) => T;
|
|
3189
|
-
_: (name: string, value: any) => T;
|
|
3190
|
-
}
|
|
3191
|
-
}
|
|
3192
|
-
export type MemoryRecordRightExpression =
|
|
3193
|
-
| MemoryRecordRightExpression.MetadataValueMember
|
|
3194
|
-
| MemoryRecordRightExpression.$UnknownMember;
|
|
3195
|
-
export declare namespace MemoryRecordRightExpression {
|
|
3196
|
-
interface MetadataValueMember {
|
|
3197
|
-
metadataValue: MemoryRecordMetadataValue;
|
|
3198
|
-
$unknown?: never;
|
|
3199
|
-
}
|
|
3200
|
-
interface $UnknownMember {
|
|
3201
|
-
metadataValue?: never;
|
|
3202
|
-
$unknown: [string, any];
|
|
3203
|
-
}
|
|
3204
|
-
interface Visitor<T> {
|
|
3205
|
-
metadataValue: (value: MemoryRecordMetadataValue) => T;
|
|
3206
|
-
_: (name: string, value: any) => T;
|
|
3207
|
-
}
|
|
3208
|
-
}
|
|
3209
|
-
export interface MemoryMetadataFilterExpression {
|
|
3210
|
-
left: MemoryRecordLeftExpression | undefined;
|
|
3211
|
-
operator: MemoryRecordOperatorType | undefined;
|
|
3212
|
-
right?: MemoryRecordRightExpression | undefined;
|
|
3213
|
-
}
|
|
3214
|
-
export interface ListMemoryRecordsInput {
|
|
3215
|
-
memoryId: string | undefined;
|
|
3216
|
-
namespace?: string | undefined;
|
|
3217
|
-
namespacePath?: string | undefined;
|
|
3218
|
-
memoryStrategyId?: string | undefined;
|
|
3219
|
-
maxResults?: number | undefined;
|
|
3220
|
-
nextToken?: string | undefined;
|
|
3221
|
-
metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
|
|
3222
|
-
}
|
|
3223
|
-
export interface MemoryRecordSummary {
|
|
3224
|
-
memoryRecordId: string | undefined;
|
|
3225
|
-
content: MemoryContent | undefined;
|
|
3226
|
-
memoryStrategyId: string | undefined;
|
|
3227
|
-
namespaces: string[] | undefined;
|
|
3228
|
-
createdAt: Date | undefined;
|
|
3229
|
-
score?: number | undefined;
|
|
3230
|
-
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
3231
|
-
}
|
|
3232
|
-
export interface ListMemoryRecordsOutput {
|
|
3233
|
-
memoryRecordSummaries: MemoryRecordSummary[] | undefined;
|
|
3234
|
-
nextToken?: string | undefined;
|
|
3235
|
-
}
|
|
@@ -5,7 +5,10 @@ import {
|
|
|
5
5
|
Currency,
|
|
6
6
|
DescriptorType,
|
|
7
7
|
EventFilterCondition,
|
|
8
|
+
ExtractionJobStatus,
|
|
8
9
|
InstrumentBalanceToken,
|
|
10
|
+
MemoryRecordOperatorType,
|
|
11
|
+
OperatorType,
|
|
9
12
|
PaymentInstrumentStatus,
|
|
10
13
|
PaymentInstrumentType,
|
|
11
14
|
PaymentSessionStatus,
|
|
@@ -16,9 +19,142 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
A2aDescriptor,
|
|
18
21
|
AgentSkillsDescriptor,
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
BranchFilter,
|
|
23
|
+
Event,
|
|
24
|
+
LeftExpression,
|
|
25
|
+
MemoryContent,
|
|
26
|
+
MemoryRecordMetadataValue,
|
|
27
|
+
RightExpression,
|
|
21
28
|
} from "./models_0";
|
|
29
|
+
export interface EventMetadataFilterExpression {
|
|
30
|
+
left: LeftExpression | undefined;
|
|
31
|
+
operator: OperatorType | undefined;
|
|
32
|
+
right?: RightExpression | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface FilterInput {
|
|
35
|
+
branch?: BranchFilter | undefined;
|
|
36
|
+
eventMetadata?: EventMetadataFilterExpression[] | undefined;
|
|
37
|
+
}
|
|
38
|
+
export interface ListEventsInput {
|
|
39
|
+
memoryId: string | undefined;
|
|
40
|
+
sessionId: string | undefined;
|
|
41
|
+
actorId: string | undefined;
|
|
42
|
+
includePayloads?: boolean | undefined;
|
|
43
|
+
filter?: FilterInput | undefined;
|
|
44
|
+
maxResults?: number | undefined;
|
|
45
|
+
nextToken?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface ListEventsOutput {
|
|
48
|
+
events: Event[] | undefined;
|
|
49
|
+
nextToken?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface ExtractionJobFilterInput {
|
|
52
|
+
strategyId?: string | undefined;
|
|
53
|
+
sessionId?: string | undefined;
|
|
54
|
+
actorId?: string | undefined;
|
|
55
|
+
status?: ExtractionJobStatus | undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface ListMemoryExtractionJobsInput {
|
|
58
|
+
memoryId: string | undefined;
|
|
59
|
+
maxResults?: number | undefined;
|
|
60
|
+
filter?: ExtractionJobFilterInput | undefined;
|
|
61
|
+
nextToken?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface MessageMetadata {
|
|
64
|
+
eventId: string | undefined;
|
|
65
|
+
messageIndex: number | undefined;
|
|
66
|
+
}
|
|
67
|
+
export type ExtractionJobMessages =
|
|
68
|
+
| ExtractionJobMessages.MessagesListMember
|
|
69
|
+
| ExtractionJobMessages.$UnknownMember;
|
|
70
|
+
export declare namespace ExtractionJobMessages {
|
|
71
|
+
interface MessagesListMember {
|
|
72
|
+
messagesList: MessageMetadata[];
|
|
73
|
+
$unknown?: never;
|
|
74
|
+
}
|
|
75
|
+
interface $UnknownMember {
|
|
76
|
+
messagesList?: never;
|
|
77
|
+
$unknown: [string, any];
|
|
78
|
+
}
|
|
79
|
+
interface Visitor<T> {
|
|
80
|
+
messagesList: (value: MessageMetadata[]) => T;
|
|
81
|
+
_: (name: string, value: any) => T;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export interface ExtractionJobMetadata {
|
|
85
|
+
jobID: string | undefined;
|
|
86
|
+
messages: ExtractionJobMessages | undefined;
|
|
87
|
+
status?: ExtractionJobStatus | undefined;
|
|
88
|
+
failureReason?: string | undefined;
|
|
89
|
+
strategyId?: string | undefined;
|
|
90
|
+
sessionId?: string | undefined;
|
|
91
|
+
actorId?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ListMemoryExtractionJobsOutput {
|
|
94
|
+
jobs: ExtractionJobMetadata[] | undefined;
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export type MemoryRecordLeftExpression =
|
|
98
|
+
| MemoryRecordLeftExpression.MetadataKeyMember
|
|
99
|
+
| MemoryRecordLeftExpression.$UnknownMember;
|
|
100
|
+
export declare namespace MemoryRecordLeftExpression {
|
|
101
|
+
interface MetadataKeyMember {
|
|
102
|
+
metadataKey: string;
|
|
103
|
+
$unknown?: never;
|
|
104
|
+
}
|
|
105
|
+
interface $UnknownMember {
|
|
106
|
+
metadataKey?: never;
|
|
107
|
+
$unknown: [string, any];
|
|
108
|
+
}
|
|
109
|
+
interface Visitor<T> {
|
|
110
|
+
metadataKey: (value: string) => T;
|
|
111
|
+
_: (name: string, value: any) => T;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export type MemoryRecordRightExpression =
|
|
115
|
+
| MemoryRecordRightExpression.MetadataValueMember
|
|
116
|
+
| MemoryRecordRightExpression.$UnknownMember;
|
|
117
|
+
export declare namespace MemoryRecordRightExpression {
|
|
118
|
+
interface MetadataValueMember {
|
|
119
|
+
metadataValue: MemoryRecordMetadataValue;
|
|
120
|
+
$unknown?: never;
|
|
121
|
+
}
|
|
122
|
+
interface $UnknownMember {
|
|
123
|
+
metadataValue?: never;
|
|
124
|
+
$unknown: [string, any];
|
|
125
|
+
}
|
|
126
|
+
interface Visitor<T> {
|
|
127
|
+
metadataValue: (value: MemoryRecordMetadataValue) => T;
|
|
128
|
+
_: (name: string, value: any) => T;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
export interface MemoryMetadataFilterExpression {
|
|
132
|
+
left: MemoryRecordLeftExpression | undefined;
|
|
133
|
+
operator: MemoryRecordOperatorType | undefined;
|
|
134
|
+
right?: MemoryRecordRightExpression | undefined;
|
|
135
|
+
}
|
|
136
|
+
export interface ListMemoryRecordsInput {
|
|
137
|
+
memoryId: string | undefined;
|
|
138
|
+
namespace?: string | undefined;
|
|
139
|
+
namespacePath?: string | undefined;
|
|
140
|
+
memoryStrategyId?: string | undefined;
|
|
141
|
+
maxResults?: number | undefined;
|
|
142
|
+
nextToken?: string | undefined;
|
|
143
|
+
metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface MemoryRecordSummary {
|
|
146
|
+
memoryRecordId: string | undefined;
|
|
147
|
+
content: MemoryContent | undefined;
|
|
148
|
+
memoryStrategyId: string | undefined;
|
|
149
|
+
namespaces: string[] | undefined;
|
|
150
|
+
createdAt: Date | undefined;
|
|
151
|
+
score?: number | undefined;
|
|
152
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
153
|
+
}
|
|
154
|
+
export interface ListMemoryRecordsOutput {
|
|
155
|
+
memoryRecordSummaries: MemoryRecordSummary[] | undefined;
|
|
156
|
+
nextToken?: string | undefined;
|
|
157
|
+
}
|
|
22
158
|
export interface SessionFilter {
|
|
23
159
|
eventFilter?: EventFilterCondition | undefined;
|
|
24
160
|
}
|
|
@@ -25,6 +25,7 @@ export declare var A2aDescriptor$: StaticStructureSchema;
|
|
|
25
25
|
export declare var ABTestResults$: StaticStructureSchema;
|
|
26
26
|
export declare var ABTestSummary$: StaticStructureSchema;
|
|
27
27
|
export declare var ActorSummary$: StaticStructureSchema;
|
|
28
|
+
export declare var AffectedSession$: StaticStructureSchema;
|
|
28
29
|
export declare var AgentCardDefinition$: StaticStructureSchema;
|
|
29
30
|
export declare var AgentSkillsDescriptor$: StaticStructureSchema;
|
|
30
31
|
export declare var Amount$: StaticStructureSchema;
|
|
@@ -37,6 +38,7 @@ export declare var BatchCreateMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
37
38
|
export declare var BatchDeleteMemoryRecordsInput$: StaticStructureSchema;
|
|
38
39
|
export declare var BatchDeleteMemoryRecordsOutput$: StaticStructureSchema;
|
|
39
40
|
export declare var BatchEvaluationSummary$: StaticStructureSchema;
|
|
41
|
+
export declare var BatchEvaluationTraceConfig$: StaticStructureSchema;
|
|
40
42
|
export declare var BatchUpdateMemoryRecordsInput$: StaticStructureSchema;
|
|
41
43
|
export declare var BatchUpdateMemoryRecordsOutput$: StaticStructureSchema;
|
|
42
44
|
export declare var Branch$: StaticStructureSchema;
|
|
@@ -107,10 +109,17 @@ export declare var EvaluatorStatistics$: StaticStructureSchema;
|
|
|
107
109
|
export declare var EvaluatorSummary$: StaticStructureSchema;
|
|
108
110
|
export declare var Event$: StaticStructureSchema;
|
|
109
111
|
export declare var EventMetadataFilterExpression$: StaticStructureSchema;
|
|
112
|
+
export declare var ExecutionSummaryAffectedSession$: StaticStructureSchema;
|
|
113
|
+
export declare var ExecutionSummaryCluster$: StaticStructureSchema;
|
|
114
|
+
export declare var ExecutionSummaryClusteringResultContent$: StaticStructureSchema;
|
|
110
115
|
export declare var ExternalProxy$: StaticStructureSchema;
|
|
111
116
|
export declare var ExtractionJob$: StaticStructureSchema;
|
|
112
117
|
export declare var ExtractionJobFilterInput$: StaticStructureSchema;
|
|
113
118
|
export declare var ExtractionJobMetadata$: StaticStructureSchema;
|
|
119
|
+
export declare var FailureAnalysisResultContent$: StaticStructureSchema;
|
|
120
|
+
export declare var FailureCategoryCluster$: StaticStructureSchema;
|
|
121
|
+
export declare var FailureSpanDetail$: StaticStructureSchema;
|
|
122
|
+
export declare var FailureSubCategoryCluster$: StaticStructureSchema;
|
|
114
123
|
export declare var FilterInput$: StaticStructureSchema;
|
|
115
124
|
export declare var GatewayFilter$: StaticStructureSchema;
|
|
116
125
|
export declare var GetABTestRequest$: StaticStructureSchema;
|
|
@@ -178,6 +187,8 @@ export declare var HarnessToolUseBlockDelta$: StaticStructureSchema;
|
|
|
178
187
|
export declare var HarnessToolUseBlockStart$: StaticStructureSchema;
|
|
179
188
|
export declare var InlineGroundTruth$: StaticStructureSchema;
|
|
180
189
|
export declare var InputContentBlock$: StaticStructureSchema;
|
|
190
|
+
export declare var Insight$: StaticStructureSchema;
|
|
191
|
+
export declare var InsightsFailureSignal$: StaticStructureSchema;
|
|
181
192
|
export declare var InvokeAgentRuntimeCommandRequest$: StaticStructureSchema;
|
|
182
193
|
export declare var InvokeAgentRuntimeCommandRequestBody$: StaticStructureSchema;
|
|
183
194
|
export declare var InvokeAgentRuntimeCommandResponse$: StaticStructureSchema;
|
|
@@ -242,6 +253,7 @@ export declare var MouseScrollArguments$: StaticStructureSchema;
|
|
|
242
253
|
export declare var MouseScrollResult$: StaticStructureSchema;
|
|
243
254
|
export declare var OAuth2Authentication$: StaticStructureSchema;
|
|
244
255
|
export declare var OAuthCredentialProvider$: StaticStructureSchema;
|
|
256
|
+
export declare var OnlineEvaluationConfigSource$: StaticStructureSchema;
|
|
245
257
|
export declare var PaymentInstrument$: StaticStructureSchema;
|
|
246
258
|
export declare var PaymentInstrumentSummary$: StaticStructureSchema;
|
|
247
259
|
export declare var PaymentSession$: StaticStructureSchema;
|
|
@@ -260,6 +272,7 @@ export declare var ResourceContent$: StaticStructureSchema;
|
|
|
260
272
|
export declare var ResponseChunk$: StaticStructureSchema;
|
|
261
273
|
export declare var RetrieveMemoryRecordsInput$: StaticStructureSchema;
|
|
262
274
|
export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
|
|
275
|
+
export declare var RootCauseCluster$: StaticStructureSchema;
|
|
263
276
|
export declare var S3Location$: StaticStructureSchema;
|
|
264
277
|
export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
|
|
265
278
|
export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
@@ -317,6 +330,9 @@ export declare var UpdateABTestRequest$: StaticStructureSchema;
|
|
|
317
330
|
export declare var UpdateABTestResponse$: StaticStructureSchema;
|
|
318
331
|
export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
|
|
319
332
|
export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
|
|
333
|
+
export declare var UserIntentAffectedSession$: StaticStructureSchema;
|
|
334
|
+
export declare var UserIntentCluster$: StaticStructureSchema;
|
|
335
|
+
export declare var UserIntentClusteringResultContent$: StaticStructureSchema;
|
|
320
336
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
321
337
|
export declare var Variant$: StaticStructureSchema;
|
|
322
338
|
export declare var VariantConfiguration$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.974.21",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
26
|
+
"@aws-sdk/types": "^3.973.13",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
29
|
"@smithy/node-http-handler": "^4.7.6",
|