@aws-sdk/client-bedrock-agentcore 3.1152.0 → 3.1153.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 +89 -12
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +74 -11
- package/dist-types/commands/CreateEventCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventCommand.d.ts +1 -2
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +47 -0
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +131 -138
- package/dist-types/models/models_1.d.ts +140 -4
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -32
- package/dist-types/ts3.4/models/models_1.d.ts +34 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +4 -4
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
CodeInterpreterSessionStatus,
|
|
13
13
|
CommandExecutionStatus,
|
|
14
14
|
ContentBlockType,
|
|
15
|
-
|
|
15
|
+
FindingTargetType,
|
|
16
16
|
HarnessBedrockApiFormat,
|
|
17
17
|
HarnessConversationRole,
|
|
18
18
|
HarnessHookDecision,
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
HarnessToolUseStatus,
|
|
24
24
|
HarnessToolUseType,
|
|
25
25
|
InsightsFailureCategory,
|
|
26
|
+
InsightType,
|
|
26
27
|
LanguageRuntime,
|
|
27
28
|
MemoryRecordStatus,
|
|
28
29
|
MouseButton,
|
|
@@ -1483,6 +1484,34 @@ export interface FailureCategoryCluster {
|
|
|
1483
1484
|
export interface FailureAnalysisResultContent {
|
|
1484
1485
|
failures: FailureCategoryCluster[] | undefined;
|
|
1485
1486
|
}
|
|
1487
|
+
export interface SessionFinding {
|
|
1488
|
+
targetId?: string | undefined;
|
|
1489
|
+
targetType?: FindingTargetType | undefined;
|
|
1490
|
+
description: string | undefined;
|
|
1491
|
+
category?: string | undefined;
|
|
1492
|
+
confidence?: number | undefined;
|
|
1493
|
+
}
|
|
1494
|
+
export interface SampleSession {
|
|
1495
|
+
sessionId: string | undefined;
|
|
1496
|
+
lastSeenAt?: Date | undefined;
|
|
1497
|
+
findings?: SessionFinding[] | undefined;
|
|
1498
|
+
}
|
|
1499
|
+
export interface InsightRootCause {
|
|
1500
|
+
name: string | undefined;
|
|
1501
|
+
explanation: string | undefined;
|
|
1502
|
+
affectedSessionCount?: number | undefined;
|
|
1503
|
+
suggestedFix?: string | undefined;
|
|
1504
|
+
sampleSessions?: SampleSession[] | undefined;
|
|
1505
|
+
}
|
|
1506
|
+
export interface InsightResult {
|
|
1507
|
+
type: InsightType | undefined;
|
|
1508
|
+
name: string | undefined;
|
|
1509
|
+
description: string | undefined;
|
|
1510
|
+
createdAt: Date | undefined;
|
|
1511
|
+
affectedSessionCount?: number | undefined;
|
|
1512
|
+
sampleSessions?: SampleSession[] | undefined;
|
|
1513
|
+
rootCauses?: InsightRootCause[] | undefined;
|
|
1514
|
+
}
|
|
1486
1515
|
export interface Insight {
|
|
1487
1516
|
insightId: string | undefined;
|
|
1488
1517
|
}
|
|
@@ -1532,6 +1561,7 @@ export interface GetBatchEvaluationResponse {
|
|
|
1532
1561
|
dataSourceConfig?: DataSourceConfig | undefined;
|
|
1533
1562
|
outputConfig?: OutputConfig | undefined;
|
|
1534
1563
|
evaluationResults?: EvaluationJobResults | undefined;
|
|
1564
|
+
insightResults?: InsightResult[] | undefined;
|
|
1535
1565
|
failureAnalysisResult?: FailureAnalysisResultContent | undefined;
|
|
1536
1566
|
userIntentResult?: UserIntentClusteringResultContent | undefined;
|
|
1537
1567
|
executionSummaryResult?: ExecutionSummaryClusteringResultContent | undefined;
|
|
@@ -3283,34 +3313,3 @@ export declare namespace PayloadType {
|
|
|
3283
3313
|
_: (name: string, value: any) => T;
|
|
3284
3314
|
}
|
|
3285
3315
|
}
|
|
3286
|
-
export interface CreateEventInput {
|
|
3287
|
-
memoryId: string | undefined;
|
|
3288
|
-
actorId: string | undefined;
|
|
3289
|
-
sessionId?: string | undefined;
|
|
3290
|
-
eventTimestamp: Date | undefined;
|
|
3291
|
-
payload: PayloadType[] | undefined;
|
|
3292
|
-
branch?: Branch | undefined;
|
|
3293
|
-
clientToken?: string | undefined;
|
|
3294
|
-
metadata?: Record<string, MetadataValue> | undefined;
|
|
3295
|
-
extractionMode?: ExtractionMode | undefined;
|
|
3296
|
-
extractionConfig?: ExtractionConfig | undefined;
|
|
3297
|
-
}
|
|
3298
|
-
export interface Event {
|
|
3299
|
-
memoryId: string | undefined;
|
|
3300
|
-
actorId: string | undefined;
|
|
3301
|
-
sessionId: string | undefined;
|
|
3302
|
-
eventId: string | undefined;
|
|
3303
|
-
eventTimestamp: Date | undefined;
|
|
3304
|
-
payload: PayloadType[] | undefined;
|
|
3305
|
-
branch?: Branch | undefined;
|
|
3306
|
-
metadata?: Record<string, MetadataValue> | undefined;
|
|
3307
|
-
}
|
|
3308
|
-
export interface CreateEventOutput {
|
|
3309
|
-
event: Event | undefined;
|
|
3310
|
-
}
|
|
3311
|
-
export interface DeleteEventInput {
|
|
3312
|
-
memoryId: string | undefined;
|
|
3313
|
-
sessionId: string | undefined;
|
|
3314
|
-
eventId: string | undefined;
|
|
3315
|
-
actorId: string | undefined;
|
|
3316
|
-
}
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
DescriptorType,
|
|
7
7
|
EventFilterCondition,
|
|
8
8
|
ExtractionJobStatus,
|
|
9
|
+
ExtractionMode,
|
|
9
10
|
InstrumentBalanceToken,
|
|
10
11
|
MemoryRecordOperatorType,
|
|
11
12
|
OperatorType,
|
|
@@ -20,14 +21,46 @@ import {
|
|
|
20
21
|
A2aDescriptor,
|
|
21
22
|
ActorSummary,
|
|
22
23
|
AgentSkillsDescriptor,
|
|
24
|
+
Branch,
|
|
23
25
|
Conversational,
|
|
24
|
-
Event,
|
|
25
26
|
ExtractionConfig,
|
|
26
27
|
MemoryContent,
|
|
27
28
|
MemoryJsonData,
|
|
28
29
|
MemoryRecordMetadataValue,
|
|
29
30
|
MetadataValue,
|
|
31
|
+
PayloadType,
|
|
30
32
|
} from "./models_0";
|
|
33
|
+
export interface CreateEventInput {
|
|
34
|
+
memoryId: string | undefined;
|
|
35
|
+
actorId: string | undefined;
|
|
36
|
+
sessionId?: string | undefined;
|
|
37
|
+
eventTimestamp: Date | undefined;
|
|
38
|
+
payload: PayloadType[] | undefined;
|
|
39
|
+
branch?: Branch | undefined;
|
|
40
|
+
clientToken?: string | undefined;
|
|
41
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
42
|
+
extractionMode?: ExtractionMode | undefined;
|
|
43
|
+
extractionConfig?: ExtractionConfig | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface Event {
|
|
46
|
+
memoryId: string | undefined;
|
|
47
|
+
actorId: string | undefined;
|
|
48
|
+
sessionId: string | undefined;
|
|
49
|
+
eventId: string | undefined;
|
|
50
|
+
eventTimestamp: Date | undefined;
|
|
51
|
+
payload: PayloadType[] | undefined;
|
|
52
|
+
branch?: Branch | undefined;
|
|
53
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface CreateEventOutput {
|
|
56
|
+
event: Event | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface DeleteEventInput {
|
|
59
|
+
memoryId: string | undefined;
|
|
60
|
+
sessionId: string | undefined;
|
|
61
|
+
eventId: string | undefined;
|
|
62
|
+
actorId: string | undefined;
|
|
63
|
+
}
|
|
31
64
|
export interface DeleteEventOutput {
|
|
32
65
|
eventId: string | undefined;
|
|
33
66
|
}
|
|
@@ -199,6 +199,8 @@ export declare var InlineGroundTruth$: StaticStructureSchema;
|
|
|
199
199
|
export declare var InlineMemoryContent$: StaticStructureSchema;
|
|
200
200
|
export declare var InputContentBlock$: StaticStructureSchema;
|
|
201
201
|
export declare var Insight$: StaticStructureSchema;
|
|
202
|
+
export declare var InsightResult$: StaticStructureSchema;
|
|
203
|
+
export declare var InsightRootCause$: StaticStructureSchema;
|
|
202
204
|
export declare var InsightsFailureSignal$: StaticStructureSchema;
|
|
203
205
|
export declare var InvokeAgentRuntimeCommandRequest$: StaticStructureSchema;
|
|
204
206
|
export declare var InvokeAgentRuntimeCommandRequestBody$: StaticStructureSchema;
|
|
@@ -290,6 +292,7 @@ export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
290
292
|
export declare var RootCauseCluster$: StaticStructureSchema;
|
|
291
293
|
export declare var S3FilesConfiguration$: StaticStructureSchema;
|
|
292
294
|
export declare var S3Location$: StaticStructureSchema;
|
|
295
|
+
export declare var SampleSession$: StaticStructureSchema;
|
|
293
296
|
export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
|
|
294
297
|
export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
295
298
|
export declare var ScreenshotArguments$: StaticStructureSchema;
|
|
@@ -301,6 +304,7 @@ export declare var SecretsManagerLocation$: StaticStructureSchema;
|
|
|
301
304
|
export declare var ServerDefinition$: StaticStructureSchema;
|
|
302
305
|
export declare var SessionFilter$: StaticStructureSchema;
|
|
303
306
|
export declare var SessionFilterConfig$: StaticStructureSchema;
|
|
307
|
+
export declare var SessionFinding$: StaticStructureSchema;
|
|
304
308
|
export declare var SessionLimits$: StaticStructureSchema;
|
|
305
309
|
export declare var SessionMetadataShape$: StaticStructureSchema;
|
|
306
310
|
export declare var SessionSummary$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1153.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",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.4",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.87",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.36.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|