@aws-sdk/client-bedrock-agentcore 3.1066.0 → 3.1068.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 +36 -0
- package/dist-cjs/schemas/schemas_0.js +226 -54
- 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 +1 -1
|
@@ -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, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType,
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, 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";
|
|
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>
|
|
@@ -271,6 +271,81 @@ export interface ActorSummary {
|
|
|
271
271
|
*/
|
|
272
272
|
actorId: string | undefined;
|
|
273
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* <p>A signal indicating a detected failure within a span.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
export interface InsightsFailureSignal {
|
|
279
|
+
/**
|
|
280
|
+
* Failure category taxonomy for agent session insights.
|
|
281
|
+
* Values must stay in sync with the category registry in AgentCoreLens
|
|
282
|
+
* (amzn_agentcore_lens.config.failure_detection.FAILURE_CATEGORIES).
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
category: InsightsFailureCategory | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The evidence supporting the failure detection.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
evidence: string | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* <p>The confidence score of the failure detection.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
confidence: number | undefined;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* <p>Details about a specific span where a failure was detected.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export interface FailureSpanDetail {
|
|
302
|
+
/**
|
|
303
|
+
* <p>The unique identifier of the span where the failure occurred.</p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
spanId: string | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* <p>The trace identifier associated with the failure span.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
traceId: string | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* <p>The failure signals detected in this span.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
signals: InsightsFailureSignal[] | undefined;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* <p>A session affected by a detected failure pattern, including root cause details.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export interface AffectedSession {
|
|
323
|
+
/**
|
|
324
|
+
* <p>The unique identifier of the affected session.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
sessionId: string | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* <p>An explanation of how the failure manifested in this session.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
explanation: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The type of fix recommended for this failure.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
fixType: string | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The specific fix recommendation for this session.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
recommendation: string | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The list of spans where failures were detected in this session.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
failureSpans: FailureSpanDetail[] | undefined;
|
|
348
|
+
}
|
|
274
349
|
/**
|
|
275
350
|
* @public
|
|
276
351
|
*/
|
|
@@ -881,6 +956,17 @@ export interface AgentSkillsDescriptor {
|
|
|
881
956
|
*/
|
|
882
957
|
skillDefinition?: SkillDefinition | undefined;
|
|
883
958
|
}
|
|
959
|
+
/**
|
|
960
|
+
* <p>Configuration for using a batch evaluation as the source of agent traces for recommendations.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
export interface BatchEvaluationTraceConfig {
|
|
964
|
+
/**
|
|
965
|
+
* <p>The ARN of the completed batch evaluation to use as the trace source.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
batchEvaluationArn: string | undefined;
|
|
969
|
+
}
|
|
884
970
|
/**
|
|
885
971
|
* <p>A value used in filter comparisons, supporting different data types.</p>
|
|
886
972
|
* @public
|
|
@@ -1007,7 +1093,7 @@ export interface CloudWatchLogsTraceConfig {
|
|
|
1007
1093
|
* <p>The configuration specifying where to read agent traces from for recommendation analysis.</p>
|
|
1008
1094
|
* @public
|
|
1009
1095
|
*/
|
|
1010
|
-
export type AgentTracesConfig = AgentTracesConfig.CloudwatchLogsMember | AgentTracesConfig.SessionSpansMember | AgentTracesConfig.$UnknownMember;
|
|
1096
|
+
export type AgentTracesConfig = AgentTracesConfig.BatchEvaluationMember | AgentTracesConfig.CloudwatchLogsMember | AgentTracesConfig.SessionSpansMember | AgentTracesConfig.$UnknownMember;
|
|
1011
1097
|
/**
|
|
1012
1098
|
* @public
|
|
1013
1099
|
*/
|
|
@@ -1019,6 +1105,7 @@ export declare namespace AgentTracesConfig {
|
|
|
1019
1105
|
interface SessionSpansMember {
|
|
1020
1106
|
sessionSpans: __DocumentType[];
|
|
1021
1107
|
cloudwatchLogs?: never;
|
|
1108
|
+
batchEvaluation?: never;
|
|
1022
1109
|
$unknown?: never;
|
|
1023
1110
|
}
|
|
1024
1111
|
/**
|
|
@@ -1028,6 +1115,17 @@ export declare namespace AgentTracesConfig {
|
|
|
1028
1115
|
interface CloudwatchLogsMember {
|
|
1029
1116
|
sessionSpans?: never;
|
|
1030
1117
|
cloudwatchLogs: CloudWatchLogsTraceConfig;
|
|
1118
|
+
batchEvaluation?: never;
|
|
1119
|
+
$unknown?: never;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* <p>Use a completed batch evaluation as the source of agent traces.</p>
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
interface BatchEvaluationMember {
|
|
1126
|
+
sessionSpans?: never;
|
|
1127
|
+
cloudwatchLogs?: never;
|
|
1128
|
+
batchEvaluation: BatchEvaluationTraceConfig;
|
|
1031
1129
|
$unknown?: never;
|
|
1032
1130
|
}
|
|
1033
1131
|
/**
|
|
@@ -1036,6 +1134,7 @@ export declare namespace AgentTracesConfig {
|
|
|
1036
1134
|
interface $UnknownMember {
|
|
1037
1135
|
sessionSpans?: never;
|
|
1038
1136
|
cloudwatchLogs?: never;
|
|
1137
|
+
batchEvaluation?: never;
|
|
1039
1138
|
$unknown: [string, any];
|
|
1040
1139
|
}
|
|
1041
1140
|
/**
|
|
@@ -1045,6 +1144,7 @@ export declare namespace AgentTracesConfig {
|
|
|
1045
1144
|
interface Visitor<T> {
|
|
1046
1145
|
sessionSpans: (value: __DocumentType[]) => T;
|
|
1047
1146
|
cloudwatchLogs: (value: CloudWatchLogsTraceConfig) => T;
|
|
1147
|
+
batchEvaluation: (value: BatchEvaluationTraceConfig) => T;
|
|
1048
1148
|
_: (name: string, value: any) => T;
|
|
1049
1149
|
}
|
|
1050
1150
|
}
|
|
@@ -2915,6 +3015,11 @@ export interface CreateABTestRequest {
|
|
|
2915
3015
|
* @public
|
|
2916
3016
|
*/
|
|
2917
3017
|
clientToken?: string | undefined;
|
|
3018
|
+
/**
|
|
3019
|
+
* <p>A map of tag keys and values to associate with the A/B test.</p>
|
|
3020
|
+
* @public
|
|
3021
|
+
*/
|
|
3022
|
+
tags?: Record<string, string> | undefined;
|
|
2918
3023
|
}
|
|
2919
3024
|
/**
|
|
2920
3025
|
* @public
|
|
@@ -3528,11 +3633,27 @@ export interface CloudWatchLogsSource {
|
|
|
3528
3633
|
*/
|
|
3529
3634
|
filterConfig?: CloudWatchFilterConfig | undefined;
|
|
3530
3635
|
}
|
|
3636
|
+
/**
|
|
3637
|
+
* <p>A reference to an existing online evaluation configuration to use as the data source for batch evaluation.</p>
|
|
3638
|
+
* @public
|
|
3639
|
+
*/
|
|
3640
|
+
export interface OnlineEvaluationConfigSource {
|
|
3641
|
+
/**
|
|
3642
|
+
* <p>The Amazon Resource Name (ARN) of the online evaluation configuration to use as the session source.</p>
|
|
3643
|
+
* @public
|
|
3644
|
+
*/
|
|
3645
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
3646
|
+
/**
|
|
3647
|
+
* <p>Optional session filter configuration to narrow down which sessions from the online evaluation configuration to include.</p>
|
|
3648
|
+
* @public
|
|
3649
|
+
*/
|
|
3650
|
+
sessionFilterConfig?: SessionFilterConfig | undefined;
|
|
3651
|
+
}
|
|
3531
3652
|
/**
|
|
3532
3653
|
* <p>Configuration for the data source used in evaluation.</p>
|
|
3533
3654
|
* @public
|
|
3534
3655
|
*/
|
|
3535
|
-
export type DataSourceConfig = DataSourceConfig.CloudWatchLogsMember | DataSourceConfig.$UnknownMember;
|
|
3656
|
+
export type DataSourceConfig = DataSourceConfig.CloudWatchLogsMember | DataSourceConfig.OnlineEvaluationConfigSourceMember | DataSourceConfig.$UnknownMember;
|
|
3536
3657
|
/**
|
|
3537
3658
|
* @public
|
|
3538
3659
|
*/
|
|
@@ -3543,6 +3664,16 @@ export declare namespace DataSourceConfig {
|
|
|
3543
3664
|
*/
|
|
3544
3665
|
interface CloudWatchLogsMember {
|
|
3545
3666
|
cloudWatchLogs: CloudWatchLogsSource;
|
|
3667
|
+
onlineEvaluationConfigSource?: never;
|
|
3668
|
+
$unknown?: never;
|
|
3669
|
+
}
|
|
3670
|
+
/**
|
|
3671
|
+
* Reference an existing OnlineEvaluationConfig as session source
|
|
3672
|
+
* @public
|
|
3673
|
+
*/
|
|
3674
|
+
interface OnlineEvaluationConfigSourceMember {
|
|
3675
|
+
cloudWatchLogs?: never;
|
|
3676
|
+
onlineEvaluationConfigSource: OnlineEvaluationConfigSource;
|
|
3546
3677
|
$unknown?: never;
|
|
3547
3678
|
}
|
|
3548
3679
|
/**
|
|
@@ -3550,6 +3681,7 @@ export declare namespace DataSourceConfig {
|
|
|
3550
3681
|
*/
|
|
3551
3682
|
interface $UnknownMember {
|
|
3552
3683
|
cloudWatchLogs?: never;
|
|
3684
|
+
onlineEvaluationConfigSource?: never;
|
|
3553
3685
|
$unknown: [string, any];
|
|
3554
3686
|
}
|
|
3555
3687
|
/**
|
|
@@ -3558,6 +3690,7 @@ export declare namespace DataSourceConfig {
|
|
|
3558
3690
|
*/
|
|
3559
3691
|
interface Visitor<T> {
|
|
3560
3692
|
cloudWatchLogs: (value: CloudWatchLogsSource) => T;
|
|
3693
|
+
onlineEvaluationConfigSource: (value: OnlineEvaluationConfigSource) => T;
|
|
3561
3694
|
_: (name: string, value: any) => T;
|
|
3562
3695
|
}
|
|
3563
3696
|
}
|
|
@@ -3635,7 +3768,7 @@ export interface EvaluationJobResults {
|
|
|
3635
3768
|
evaluatorSummaries?: EvaluatorSummary[] | undefined;
|
|
3636
3769
|
}
|
|
3637
3770
|
/**
|
|
3638
|
-
*
|
|
3771
|
+
* An evaluator to run against sessions
|
|
3639
3772
|
* @public
|
|
3640
3773
|
*/
|
|
3641
3774
|
export interface Evaluator {
|
|
@@ -3645,6 +3778,190 @@ export interface Evaluator {
|
|
|
3645
3778
|
*/
|
|
3646
3779
|
evaluatorId: string | undefined;
|
|
3647
3780
|
}
|
|
3781
|
+
/**
|
|
3782
|
+
* <p>A session associated with an execution summary cluster.</p>
|
|
3783
|
+
* @public
|
|
3784
|
+
*/
|
|
3785
|
+
export interface ExecutionSummaryAffectedSession {
|
|
3786
|
+
/**
|
|
3787
|
+
* <p>The unique identifier of the session.</p>
|
|
3788
|
+
* @public
|
|
3789
|
+
*/
|
|
3790
|
+
sessionId: string | undefined;
|
|
3791
|
+
/**
|
|
3792
|
+
* <p>The approach taken by the agent during this session.</p>
|
|
3793
|
+
* @public
|
|
3794
|
+
*/
|
|
3795
|
+
approachTaken: string | undefined;
|
|
3796
|
+
/**
|
|
3797
|
+
* <p>The final outcome of the session.</p>
|
|
3798
|
+
* @public
|
|
3799
|
+
*/
|
|
3800
|
+
finalOutcome: string | undefined;
|
|
3801
|
+
}
|
|
3802
|
+
/**
|
|
3803
|
+
* <p>A cluster of similar execution patterns identified across sessions.</p>
|
|
3804
|
+
* @public
|
|
3805
|
+
*/
|
|
3806
|
+
export interface ExecutionSummaryCluster {
|
|
3807
|
+
/**
|
|
3808
|
+
* <p>The unique identifier of the execution summary cluster.</p>
|
|
3809
|
+
* @public
|
|
3810
|
+
*/
|
|
3811
|
+
clusterId: number | undefined;
|
|
3812
|
+
/**
|
|
3813
|
+
* <p>The name of the execution pattern cluster.</p>
|
|
3814
|
+
* @public
|
|
3815
|
+
*/
|
|
3816
|
+
name: string | undefined;
|
|
3817
|
+
/**
|
|
3818
|
+
* <p>A description of the execution pattern.</p>
|
|
3819
|
+
* @public
|
|
3820
|
+
*/
|
|
3821
|
+
description: string | undefined;
|
|
3822
|
+
/**
|
|
3823
|
+
* <p>The number of sessions with this execution pattern.</p>
|
|
3824
|
+
* @public
|
|
3825
|
+
*/
|
|
3826
|
+
affectedSessionCount: number | undefined;
|
|
3827
|
+
/**
|
|
3828
|
+
* <p>The list of sessions with this execution pattern.</p>
|
|
3829
|
+
* @public
|
|
3830
|
+
*/
|
|
3831
|
+
affectedSessions: ExecutionSummaryAffectedSession[] | undefined;
|
|
3832
|
+
}
|
|
3833
|
+
/**
|
|
3834
|
+
* Customer-facing execution summary clustering result written to S3.
|
|
3835
|
+
* @public
|
|
3836
|
+
*/
|
|
3837
|
+
export interface ExecutionSummaryClusteringResultContent {
|
|
3838
|
+
/**
|
|
3839
|
+
* <p>The list of execution summary clusters identified across analyzed sessions.</p>
|
|
3840
|
+
* @public
|
|
3841
|
+
*/
|
|
3842
|
+
executionSummaries: ExecutionSummaryCluster[] | undefined;
|
|
3843
|
+
}
|
|
3844
|
+
/**
|
|
3845
|
+
* <p>A cluster of similar root causes identified within a failure subcategory.</p>
|
|
3846
|
+
* @public
|
|
3847
|
+
*/
|
|
3848
|
+
export interface RootCauseCluster {
|
|
3849
|
+
/**
|
|
3850
|
+
* <p>The unique identifier of the root cause cluster.</p>
|
|
3851
|
+
* @public
|
|
3852
|
+
*/
|
|
3853
|
+
clusterId: number | undefined;
|
|
3854
|
+
/**
|
|
3855
|
+
* <p>The name of the root cause cluster.</p>
|
|
3856
|
+
* @public
|
|
3857
|
+
*/
|
|
3858
|
+
name: string | undefined;
|
|
3859
|
+
/**
|
|
3860
|
+
* <p>The root cause explanation for this cluster of failures.</p>
|
|
3861
|
+
* @public
|
|
3862
|
+
*/
|
|
3863
|
+
rootCause: string | undefined;
|
|
3864
|
+
/**
|
|
3865
|
+
* <p>The recommended fix for this root cause.</p>
|
|
3866
|
+
* @public
|
|
3867
|
+
*/
|
|
3868
|
+
recommendation: string | undefined;
|
|
3869
|
+
/**
|
|
3870
|
+
* <p>The number of sessions affected by this root cause.</p>
|
|
3871
|
+
* @public
|
|
3872
|
+
*/
|
|
3873
|
+
affectedSessionCount: number | undefined;
|
|
3874
|
+
/**
|
|
3875
|
+
* <p>The list of sessions affected by this root cause.</p>
|
|
3876
|
+
* @public
|
|
3877
|
+
*/
|
|
3878
|
+
affectedSessions: AffectedSession[] | undefined;
|
|
3879
|
+
}
|
|
3880
|
+
/**
|
|
3881
|
+
* <p>A subcategory of failures within a top-level failure category.</p>
|
|
3882
|
+
* @public
|
|
3883
|
+
*/
|
|
3884
|
+
export interface FailureSubCategoryCluster {
|
|
3885
|
+
/**
|
|
3886
|
+
* <p>The unique identifier of the failure subcategory cluster.</p>
|
|
3887
|
+
* @public
|
|
3888
|
+
*/
|
|
3889
|
+
clusterId: number | undefined;
|
|
3890
|
+
/**
|
|
3891
|
+
* <p>The name of the failure subcategory.</p>
|
|
3892
|
+
* @public
|
|
3893
|
+
*/
|
|
3894
|
+
name: string | undefined;
|
|
3895
|
+
/**
|
|
3896
|
+
* <p>A description of the failure subcategory pattern.</p>
|
|
3897
|
+
* @public
|
|
3898
|
+
*/
|
|
3899
|
+
description: string | undefined;
|
|
3900
|
+
/**
|
|
3901
|
+
* <p>The number of sessions affected by this failure subcategory.</p>
|
|
3902
|
+
* @public
|
|
3903
|
+
*/
|
|
3904
|
+
affectedSessionCount: number | undefined;
|
|
3905
|
+
/**
|
|
3906
|
+
* <p>The list of root cause clusters identified within this subcategory.</p>
|
|
3907
|
+
* @public
|
|
3908
|
+
*/
|
|
3909
|
+
rootCauses: RootCauseCluster[] | undefined;
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* <p>A top-level failure category identified by clustering similar failure patterns across sessions.</p>
|
|
3913
|
+
* @public
|
|
3914
|
+
*/
|
|
3915
|
+
export interface FailureCategoryCluster {
|
|
3916
|
+
/**
|
|
3917
|
+
* <p>The unique identifier of the failure category cluster.</p>
|
|
3918
|
+
* @public
|
|
3919
|
+
*/
|
|
3920
|
+
clusterId: number | undefined;
|
|
3921
|
+
/**
|
|
3922
|
+
* <p>The name of the failure category.</p>
|
|
3923
|
+
* @public
|
|
3924
|
+
*/
|
|
3925
|
+
name: string | undefined;
|
|
3926
|
+
/**
|
|
3927
|
+
* <p>A description of the failure category pattern.</p>
|
|
3928
|
+
* @public
|
|
3929
|
+
*/
|
|
3930
|
+
description: string | undefined;
|
|
3931
|
+
/**
|
|
3932
|
+
* <p>The number of sessions affected by this failure category.</p>
|
|
3933
|
+
* @public
|
|
3934
|
+
*/
|
|
3935
|
+
affectedSessionCount: number | undefined;
|
|
3936
|
+
/**
|
|
3937
|
+
* <p>The list of failure subcategories within this category.</p>
|
|
3938
|
+
* @public
|
|
3939
|
+
*/
|
|
3940
|
+
subCategories: FailureSubCategoryCluster[] | undefined;
|
|
3941
|
+
}
|
|
3942
|
+
/**
|
|
3943
|
+
* Unified customer-facing clustering result written to S3.
|
|
3944
|
+
* @public
|
|
3945
|
+
*/
|
|
3946
|
+
export interface FailureAnalysisResultContent {
|
|
3947
|
+
/**
|
|
3948
|
+
* <p>The list of failure category clusters identified across analyzed sessions.</p>
|
|
3949
|
+
* @public
|
|
3950
|
+
*/
|
|
3951
|
+
failures: FailureCategoryCluster[] | undefined;
|
|
3952
|
+
}
|
|
3953
|
+
/**
|
|
3954
|
+
* A reference to an insight analysis to run against sessions.
|
|
3955
|
+
* @public
|
|
3956
|
+
*/
|
|
3957
|
+
export interface Insight {
|
|
3958
|
+
/**
|
|
3959
|
+
* Canonical insight identifiers using the Builtin.Insight.* naming convention.
|
|
3960
|
+
* Used by BatchEvaluate, InternalEvaluate, and ServiceEngineEvaluate flows.
|
|
3961
|
+
* @public
|
|
3962
|
+
*/
|
|
3963
|
+
insightId: string | undefined;
|
|
3964
|
+
}
|
|
3648
3965
|
/**
|
|
3649
3966
|
* <p>CloudWatch Logs destination for batch evaluation results.</p>
|
|
3650
3967
|
* @public
|
|
@@ -3694,6 +4011,64 @@ export declare namespace OutputConfig {
|
|
|
3694
4011
|
_: (name: string, value: any) => T;
|
|
3695
4012
|
}
|
|
3696
4013
|
}
|
|
4014
|
+
/**
|
|
4015
|
+
* <p>A session associated with a user intent cluster.</p>
|
|
4016
|
+
* @public
|
|
4017
|
+
*/
|
|
4018
|
+
export interface UserIntentAffectedSession {
|
|
4019
|
+
/**
|
|
4020
|
+
* <p>The unique identifier of the session.</p>
|
|
4021
|
+
* @public
|
|
4022
|
+
*/
|
|
4023
|
+
sessionId: string | undefined;
|
|
4024
|
+
/**
|
|
4025
|
+
* <p>The user messages from this session that contributed to the intent cluster.</p>
|
|
4026
|
+
* @public
|
|
4027
|
+
*/
|
|
4028
|
+
userMessages: string[] | undefined;
|
|
4029
|
+
}
|
|
4030
|
+
/**
|
|
4031
|
+
* <p>A cluster of similar user intents identified across sessions.</p>
|
|
4032
|
+
* @public
|
|
4033
|
+
*/
|
|
4034
|
+
export interface UserIntentCluster {
|
|
4035
|
+
/**
|
|
4036
|
+
* <p>The unique identifier of the user intent cluster.</p>
|
|
4037
|
+
* @public
|
|
4038
|
+
*/
|
|
4039
|
+
clusterId: number | undefined;
|
|
4040
|
+
/**
|
|
4041
|
+
* <p>The name of the user intent cluster.</p>
|
|
4042
|
+
* @public
|
|
4043
|
+
*/
|
|
4044
|
+
name: string | undefined;
|
|
4045
|
+
/**
|
|
4046
|
+
* <p>A description of the user intent pattern.</p>
|
|
4047
|
+
* @public
|
|
4048
|
+
*/
|
|
4049
|
+
description: string | undefined;
|
|
4050
|
+
/**
|
|
4051
|
+
* <p>The number of sessions with this user intent.</p>
|
|
4052
|
+
* @public
|
|
4053
|
+
*/
|
|
4054
|
+
affectedSessionCount: number | undefined;
|
|
4055
|
+
/**
|
|
4056
|
+
* <p>The list of sessions with this user intent.</p>
|
|
4057
|
+
* @public
|
|
4058
|
+
*/
|
|
4059
|
+
affectedSessions: UserIntentAffectedSession[] | undefined;
|
|
4060
|
+
}
|
|
4061
|
+
/**
|
|
4062
|
+
* Customer-facing user intent clustering result written to S3.
|
|
4063
|
+
* @public
|
|
4064
|
+
*/
|
|
4065
|
+
export interface UserIntentClusteringResultContent {
|
|
4066
|
+
/**
|
|
4067
|
+
* <p>The list of user intent clusters identified across analyzed sessions.</p>
|
|
4068
|
+
* @public
|
|
4069
|
+
*/
|
|
4070
|
+
userIntents: UserIntentCluster[] | undefined;
|
|
4071
|
+
}
|
|
3697
4072
|
/**
|
|
3698
4073
|
* @public
|
|
3699
4074
|
*/
|
|
@@ -3728,6 +4103,11 @@ export interface GetBatchEvaluationResponse {
|
|
|
3728
4103
|
* @public
|
|
3729
4104
|
*/
|
|
3730
4105
|
evaluators?: Evaluator[] | undefined;
|
|
4106
|
+
/**
|
|
4107
|
+
* <p>The list of insight analyses applied during the batch evaluation.</p>
|
|
4108
|
+
* @public
|
|
4109
|
+
*/
|
|
4110
|
+
insights?: Insight[] | undefined;
|
|
3731
4111
|
/**
|
|
3732
4112
|
* <p>The data source configuration specifying where agent traces are pulled from.</p>
|
|
3733
4113
|
* @public
|
|
@@ -3743,6 +4123,21 @@ export interface GetBatchEvaluationResponse {
|
|
|
3743
4123
|
* @public
|
|
3744
4124
|
*/
|
|
3745
4125
|
evaluationResults?: EvaluationJobResults | undefined;
|
|
4126
|
+
/**
|
|
4127
|
+
* Unified customer-facing clustering result written to S3.
|
|
4128
|
+
* @public
|
|
4129
|
+
*/
|
|
4130
|
+
failureAnalysisResult?: FailureAnalysisResultContent | undefined;
|
|
4131
|
+
/**
|
|
4132
|
+
* Customer-facing user intent clustering result written to S3.
|
|
4133
|
+
* @public
|
|
4134
|
+
*/
|
|
4135
|
+
userIntentResult?: UserIntentClusteringResultContent | undefined;
|
|
4136
|
+
/**
|
|
4137
|
+
* Customer-facing execution summary clustering result written to S3.
|
|
4138
|
+
* @public
|
|
4139
|
+
*/
|
|
4140
|
+
executionSummaryResult?: ExecutionSummaryClusteringResultContent | undefined;
|
|
3746
4141
|
/**
|
|
3747
4142
|
* <p>The error details if the batch evaluation encountered failures.</p>
|
|
3748
4143
|
* @public
|
|
@@ -3758,6 +4153,11 @@ export interface GetBatchEvaluationResponse {
|
|
|
3758
4153
|
* @public
|
|
3759
4154
|
*/
|
|
3760
4155
|
updatedAt?: Date | undefined;
|
|
4156
|
+
/**
|
|
4157
|
+
* <p>The ARN of the KMS key used to encrypt evaluation data.</p>
|
|
4158
|
+
* @public
|
|
4159
|
+
*/
|
|
4160
|
+
kmsKeyArn?: string | undefined;
|
|
3761
4161
|
}
|
|
3762
4162
|
/**
|
|
3763
4163
|
* @public
|
|
@@ -3876,7 +4276,7 @@ export interface SystemPromptRecommendationConfig {
|
|
|
3876
4276
|
* <p>The evaluation configuration specifying which evaluator to use for assessing recommendation quality.</p>
|
|
3877
4277
|
* @public
|
|
3878
4278
|
*/
|
|
3879
|
-
evaluationConfig
|
|
4279
|
+
evaluationConfig?: RecommendationEvaluationConfig | undefined;
|
|
3880
4280
|
}
|
|
3881
4281
|
/**
|
|
3882
4282
|
* <p>Maps a tool name to its JSON path within a configuration bundle.</p>
|
|
@@ -4112,6 +4512,11 @@ export interface SystemPromptRecommendationResult {
|
|
|
4112
4512
|
* @public
|
|
4113
4513
|
*/
|
|
4114
4514
|
configurationBundle?: RecommendationResultConfigurationBundle | undefined;
|
|
4515
|
+
/**
|
|
4516
|
+
* <p>An explanation of why the recommendation was generated and what patterns were identified in the agent traces.</p>
|
|
4517
|
+
* @public
|
|
4518
|
+
*/
|
|
4519
|
+
explanation?: string | undefined;
|
|
4115
4520
|
/**
|
|
4116
4521
|
* <p>The error code if the recommendation failed.</p>
|
|
4117
4522
|
* @public
|
|
@@ -4138,6 +4543,11 @@ export interface ToolDescriptionOutput {
|
|
|
4138
4543
|
* @public
|
|
4139
4544
|
*/
|
|
4140
4545
|
recommendedToolDescription?: string | undefined;
|
|
4546
|
+
/**
|
|
4547
|
+
* <p>An explanation of why the recommendation was generated for this tool and what patterns were identified in the agent traces.</p>
|
|
4548
|
+
* @public
|
|
4549
|
+
*/
|
|
4550
|
+
explanation?: string | undefined;
|
|
4141
4551
|
}
|
|
4142
4552
|
/**
|
|
4143
4553
|
* <p>The result of a tool description recommendation, containing optimized descriptions.</p>
|
|
@@ -4264,6 +4674,11 @@ export interface GetRecommendationResponse {
|
|
|
4264
4674
|
* @public
|
|
4265
4675
|
*/
|
|
4266
4676
|
recommendationResult?: RecommendationResult | undefined;
|
|
4677
|
+
/**
|
|
4678
|
+
* <p>The ARN of the KMS key used to encrypt recommendation data.</p>
|
|
4679
|
+
* @public
|
|
4680
|
+
*/
|
|
4681
|
+
kmsKeyArn?: string | undefined;
|
|
4267
4682
|
}
|
|
4268
4683
|
/**
|
|
4269
4684
|
* @public
|
|
@@ -4350,6 +4765,11 @@ export interface BatchEvaluationSummary {
|
|
|
4350
4765
|
* @public
|
|
4351
4766
|
*/
|
|
4352
4767
|
evaluators?: Evaluator[] | undefined;
|
|
4768
|
+
/**
|
|
4769
|
+
* <p>The list of insight analyses applied during the batch evaluation.</p>
|
|
4770
|
+
* @public
|
|
4771
|
+
*/
|
|
4772
|
+
insights?: Insight[] | undefined;
|
|
4353
4773
|
/**
|
|
4354
4774
|
* <p>The aggregated evaluation results.</p>
|
|
4355
4775
|
* @public
|
|
@@ -4360,6 +4780,11 @@ export interface BatchEvaluationSummary {
|
|
|
4360
4780
|
* @public
|
|
4361
4781
|
*/
|
|
4362
4782
|
errorDetails?: string[] | undefined;
|
|
4783
|
+
/**
|
|
4784
|
+
* <p>The ARN of the KMS key used to encrypt evaluation data.</p>
|
|
4785
|
+
* @public
|
|
4786
|
+
*/
|
|
4787
|
+
kmsKeyArn?: string | undefined;
|
|
4363
4788
|
/**
|
|
4364
4789
|
* <p>The timestamp when the batch evaluation was last updated.</p>
|
|
4365
4790
|
* @public
|
|
@@ -4638,6 +5063,11 @@ export interface StartBatchEvaluationRequest {
|
|
|
4638
5063
|
* @public
|
|
4639
5064
|
*/
|
|
4640
5065
|
evaluators?: Evaluator[] | undefined;
|
|
5066
|
+
/**
|
|
5067
|
+
* <p>The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.</p>
|
|
5068
|
+
* @public
|
|
5069
|
+
*/
|
|
5070
|
+
insights?: Insight[] | undefined;
|
|
4641
5071
|
/**
|
|
4642
5072
|
* <p>The data source configuration that specifies where to pull agent session traces from for evaluation.</p>
|
|
4643
5073
|
* @public
|
|
@@ -4653,6 +5083,16 @@ export interface StartBatchEvaluationRequest {
|
|
|
4653
5083
|
* @public
|
|
4654
5084
|
*/
|
|
4655
5085
|
evaluationMetadata?: EvaluationMetadata | undefined;
|
|
5086
|
+
/**
|
|
5087
|
+
* <p>A map of tag keys and values to associate with the batch evaluation.</p>
|
|
5088
|
+
* @public
|
|
5089
|
+
*/
|
|
5090
|
+
tags?: Record<string, string> | undefined;
|
|
5091
|
+
/**
|
|
5092
|
+
* <p>The ARN of the KMS key used to encrypt evaluation data. If provided, customer data is encrypted at rest with the specified key.</p>
|
|
5093
|
+
* @public
|
|
5094
|
+
*/
|
|
5095
|
+
kmsKeyArn?: string | undefined;
|
|
4656
5096
|
/**
|
|
4657
5097
|
* <p>The description of the batch evaluation.</p>
|
|
4658
5098
|
* @public
|
|
@@ -4683,6 +5123,11 @@ export interface StartBatchEvaluationResponse {
|
|
|
4683
5123
|
* @public
|
|
4684
5124
|
*/
|
|
4685
5125
|
evaluators?: Evaluator[] | undefined;
|
|
5126
|
+
/**
|
|
5127
|
+
* <p>The list of insight analyses applied during the batch evaluation.</p>
|
|
5128
|
+
* @public
|
|
5129
|
+
*/
|
|
5130
|
+
insights?: Insight[] | undefined;
|
|
4686
5131
|
/**
|
|
4687
5132
|
* <p>The status of the batch evaluation.</p>
|
|
4688
5133
|
* @public
|
|
@@ -4698,6 +5143,16 @@ export interface StartBatchEvaluationResponse {
|
|
|
4698
5143
|
* @public
|
|
4699
5144
|
*/
|
|
4700
5145
|
outputConfig?: OutputConfig | undefined;
|
|
5146
|
+
/**
|
|
5147
|
+
* <p>The tags associated with the batch evaluation.</p>
|
|
5148
|
+
* @public
|
|
5149
|
+
*/
|
|
5150
|
+
tags?: Record<string, string> | undefined;
|
|
5151
|
+
/**
|
|
5152
|
+
* <p>The ARN of the KMS key used to encrypt evaluation data.</p>
|
|
5153
|
+
* @public
|
|
5154
|
+
*/
|
|
5155
|
+
kmsKeyArn?: string | undefined;
|
|
4701
5156
|
/**
|
|
4702
5157
|
* <p>The description of the batch evaluation.</p>
|
|
4703
5158
|
* @public
|
|
@@ -4728,11 +5183,21 @@ export interface StartRecommendationRequest {
|
|
|
4728
5183
|
* @public
|
|
4729
5184
|
*/
|
|
4730
5185
|
recommendationConfig: RecommendationConfig | undefined;
|
|
5186
|
+
/**
|
|
5187
|
+
* <p>The ARN of the KMS key used to encrypt recommendation data. If provided, customer data is encrypted at rest with the specified key.</p>
|
|
5188
|
+
* @public
|
|
5189
|
+
*/
|
|
5190
|
+
kmsKeyArn?: string | undefined;
|
|
4731
5191
|
/**
|
|
4732
5192
|
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.</p>
|
|
4733
5193
|
* @public
|
|
4734
5194
|
*/
|
|
4735
5195
|
clientToken?: string | undefined;
|
|
5196
|
+
/**
|
|
5197
|
+
* <p>A map of tag keys and values to associate with the recommendation.</p>
|
|
5198
|
+
* @public
|
|
5199
|
+
*/
|
|
5200
|
+
tags?: Record<string, string> | undefined;
|
|
4736
5201
|
}
|
|
4737
5202
|
/**
|
|
4738
5203
|
* @public
|
|
@@ -8124,434 +8589,3 @@ export declare namespace RightExpression {
|
|
|
8124
8589
|
_: (name: string, value: any) => T;
|
|
8125
8590
|
}
|
|
8126
8591
|
}
|
|
8127
|
-
/**
|
|
8128
|
-
* <p>Filter expression for retrieving events based on metadata associated with an event.</p>
|
|
8129
|
-
* @public
|
|
8130
|
-
*/
|
|
8131
|
-
export interface EventMetadataFilterExpression {
|
|
8132
|
-
/**
|
|
8133
|
-
* <p>Left operand of the event metadata filter expression.</p>
|
|
8134
|
-
* @public
|
|
8135
|
-
*/
|
|
8136
|
-
left: LeftExpression | undefined;
|
|
8137
|
-
/**
|
|
8138
|
-
* <p>Operator applied to the event metadata filter expression.</p>
|
|
8139
|
-
* @public
|
|
8140
|
-
*/
|
|
8141
|
-
operator: OperatorType | undefined;
|
|
8142
|
-
/**
|
|
8143
|
-
* <p>Right operand of the event metadata filter expression.</p>
|
|
8144
|
-
* @public
|
|
8145
|
-
*/
|
|
8146
|
-
right?: RightExpression | undefined;
|
|
8147
|
-
}
|
|
8148
|
-
/**
|
|
8149
|
-
* <p>Contains filter criteria for listing events.</p>
|
|
8150
|
-
* @public
|
|
8151
|
-
*/
|
|
8152
|
-
export interface FilterInput {
|
|
8153
|
-
/**
|
|
8154
|
-
* <p>The branch filter criteria to apply when listing events.</p>
|
|
8155
|
-
* @public
|
|
8156
|
-
*/
|
|
8157
|
-
branch?: BranchFilter | undefined;
|
|
8158
|
-
/**
|
|
8159
|
-
* <p>Event metadata filter criteria to apply when retrieving events.</p>
|
|
8160
|
-
* @public
|
|
8161
|
-
*/
|
|
8162
|
-
eventMetadata?: EventMetadataFilterExpression[] | undefined;
|
|
8163
|
-
}
|
|
8164
|
-
/**
|
|
8165
|
-
* @public
|
|
8166
|
-
*/
|
|
8167
|
-
export interface ListEventsInput {
|
|
8168
|
-
/**
|
|
8169
|
-
* <p>The identifier of the AgentCore Memory resource for which to list events.</p>
|
|
8170
|
-
* @public
|
|
8171
|
-
*/
|
|
8172
|
-
memoryId: string | undefined;
|
|
8173
|
-
/**
|
|
8174
|
-
* <p>The identifier of the session for which to list events.</p>
|
|
8175
|
-
* @public
|
|
8176
|
-
*/
|
|
8177
|
-
sessionId: string | undefined;
|
|
8178
|
-
/**
|
|
8179
|
-
* <p>The identifier of the actor for which to list events.</p>
|
|
8180
|
-
* @public
|
|
8181
|
-
*/
|
|
8182
|
-
actorId: string | undefined;
|
|
8183
|
-
/**
|
|
8184
|
-
* <p>Specifies whether to include event payloads in the response. Set to true to include payloads, or false to exclude them.</p>
|
|
8185
|
-
* @public
|
|
8186
|
-
*/
|
|
8187
|
-
includePayloads?: boolean | undefined;
|
|
8188
|
-
/**
|
|
8189
|
-
* <p>Filter criteria to apply when listing events.</p>
|
|
8190
|
-
* @public
|
|
8191
|
-
*/
|
|
8192
|
-
filter?: FilterInput | undefined;
|
|
8193
|
-
/**
|
|
8194
|
-
* <p>The maximum number of results to return in a single call. The default value is 20.</p>
|
|
8195
|
-
* @public
|
|
8196
|
-
*/
|
|
8197
|
-
maxResults?: number | undefined;
|
|
8198
|
-
/**
|
|
8199
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
8200
|
-
* @public
|
|
8201
|
-
*/
|
|
8202
|
-
nextToken?: string | undefined;
|
|
8203
|
-
}
|
|
8204
|
-
/**
|
|
8205
|
-
* @public
|
|
8206
|
-
*/
|
|
8207
|
-
export interface ListEventsOutput {
|
|
8208
|
-
/**
|
|
8209
|
-
* <p>The list of events that match the specified criteria.</p>
|
|
8210
|
-
* @public
|
|
8211
|
-
*/
|
|
8212
|
-
events: Event[] | undefined;
|
|
8213
|
-
/**
|
|
8214
|
-
* <p>The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.</p>
|
|
8215
|
-
* @public
|
|
8216
|
-
*/
|
|
8217
|
-
nextToken?: string | undefined;
|
|
8218
|
-
}
|
|
8219
|
-
/**
|
|
8220
|
-
* <p>Filters for querying memory extraction jobs based on various criteria.</p>
|
|
8221
|
-
* @public
|
|
8222
|
-
*/
|
|
8223
|
-
export interface ExtractionJobFilterInput {
|
|
8224
|
-
/**
|
|
8225
|
-
* <p>The memory strategy identifier to filter extraction jobs by. If specified, only extraction jobs with this strategy ID are returned.</p>
|
|
8226
|
-
* @public
|
|
8227
|
-
*/
|
|
8228
|
-
strategyId?: string | undefined;
|
|
8229
|
-
/**
|
|
8230
|
-
* <p>The unique identifier of the session. If specified, only extraction jobs with this session ID are returned.</p>
|
|
8231
|
-
* @public
|
|
8232
|
-
*/
|
|
8233
|
-
sessionId?: string | undefined;
|
|
8234
|
-
/**
|
|
8235
|
-
* <p>The identifier of the actor. If specified, only extraction jobs with this actor ID are returned.</p>
|
|
8236
|
-
* @public
|
|
8237
|
-
*/
|
|
8238
|
-
actorId?: string | undefined;
|
|
8239
|
-
/**
|
|
8240
|
-
* <p>The status of the extraction job. If specified, only extraction jobs with this status are returned.</p>
|
|
8241
|
-
* @public
|
|
8242
|
-
*/
|
|
8243
|
-
status?: ExtractionJobStatus | undefined;
|
|
8244
|
-
}
|
|
8245
|
-
/**
|
|
8246
|
-
* @public
|
|
8247
|
-
*/
|
|
8248
|
-
export interface ListMemoryExtractionJobsInput {
|
|
8249
|
-
/**
|
|
8250
|
-
* <p>The unique identifier of the memory to list extraction jobs for.</p>
|
|
8251
|
-
* @public
|
|
8252
|
-
*/
|
|
8253
|
-
memoryId: string | undefined;
|
|
8254
|
-
/**
|
|
8255
|
-
* <p>The maximum number of results to return in a single call. The default value is 20.</p>
|
|
8256
|
-
* @public
|
|
8257
|
-
*/
|
|
8258
|
-
maxResults?: number | undefined;
|
|
8259
|
-
/**
|
|
8260
|
-
* <p>Filter criteria to apply when listing extraction jobs.</p>
|
|
8261
|
-
* @public
|
|
8262
|
-
*/
|
|
8263
|
-
filter?: ExtractionJobFilterInput | undefined;
|
|
8264
|
-
/**
|
|
8265
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
8266
|
-
* @public
|
|
8267
|
-
*/
|
|
8268
|
-
nextToken?: string | undefined;
|
|
8269
|
-
}
|
|
8270
|
-
/**
|
|
8271
|
-
* <p>Metadata information associated with this message.</p>
|
|
8272
|
-
* @public
|
|
8273
|
-
*/
|
|
8274
|
-
export interface MessageMetadata {
|
|
8275
|
-
/**
|
|
8276
|
-
* <p>The identifier of the event associated with this message.</p>
|
|
8277
|
-
* @public
|
|
8278
|
-
*/
|
|
8279
|
-
eventId: string | undefined;
|
|
8280
|
-
/**
|
|
8281
|
-
* <p>The position of this message within that event’s ordered list of messages.</p>
|
|
8282
|
-
* @public
|
|
8283
|
-
*/
|
|
8284
|
-
messageIndex: number | undefined;
|
|
8285
|
-
}
|
|
8286
|
-
/**
|
|
8287
|
-
* <p>The list of messages that compose this extraction job.</p>
|
|
8288
|
-
* @public
|
|
8289
|
-
*/
|
|
8290
|
-
export type ExtractionJobMessages = ExtractionJobMessages.MessagesListMember | ExtractionJobMessages.$UnknownMember;
|
|
8291
|
-
/**
|
|
8292
|
-
* @public
|
|
8293
|
-
*/
|
|
8294
|
-
export declare namespace ExtractionJobMessages {
|
|
8295
|
-
/**
|
|
8296
|
-
* <p>The list of messages that compose this extraction job.</p>
|
|
8297
|
-
* @public
|
|
8298
|
-
*/
|
|
8299
|
-
interface MessagesListMember {
|
|
8300
|
-
messagesList: MessageMetadata[];
|
|
8301
|
-
$unknown?: never;
|
|
8302
|
-
}
|
|
8303
|
-
/**
|
|
8304
|
-
* @public
|
|
8305
|
-
*/
|
|
8306
|
-
interface $UnknownMember {
|
|
8307
|
-
messagesList?: never;
|
|
8308
|
-
$unknown: [string, any];
|
|
8309
|
-
}
|
|
8310
|
-
/**
|
|
8311
|
-
* @deprecated unused in schema-serde mode.
|
|
8312
|
-
*
|
|
8313
|
-
*/
|
|
8314
|
-
interface Visitor<T> {
|
|
8315
|
-
messagesList: (value: MessageMetadata[]) => T;
|
|
8316
|
-
_: (name: string, value: any) => T;
|
|
8317
|
-
}
|
|
8318
|
-
}
|
|
8319
|
-
/**
|
|
8320
|
-
* <p>Metadata information associated with this extraction job.</p>
|
|
8321
|
-
* @public
|
|
8322
|
-
*/
|
|
8323
|
-
export interface ExtractionJobMetadata {
|
|
8324
|
-
/**
|
|
8325
|
-
* <p>The unique identifier for the extraction job.</p>
|
|
8326
|
-
* @public
|
|
8327
|
-
*/
|
|
8328
|
-
jobID: string | undefined;
|
|
8329
|
-
/**
|
|
8330
|
-
* <p>The messages associated with the extraction job.</p>
|
|
8331
|
-
* @public
|
|
8332
|
-
*/
|
|
8333
|
-
messages: ExtractionJobMessages | undefined;
|
|
8334
|
-
/**
|
|
8335
|
-
* <p>The current status of the extraction job.</p>
|
|
8336
|
-
* @public
|
|
8337
|
-
*/
|
|
8338
|
-
status?: ExtractionJobStatus | undefined;
|
|
8339
|
-
/**
|
|
8340
|
-
* <p>The cause of failure, if the job did not complete successfully.</p>
|
|
8341
|
-
* @public
|
|
8342
|
-
*/
|
|
8343
|
-
failureReason?: string | undefined;
|
|
8344
|
-
/**
|
|
8345
|
-
* <p>The identifier of the memory strategy for this extraction job.</p>
|
|
8346
|
-
* @public
|
|
8347
|
-
*/
|
|
8348
|
-
strategyId?: string | undefined;
|
|
8349
|
-
/**
|
|
8350
|
-
* <p>The identifier of the session for this extraction job.</p>
|
|
8351
|
-
* @public
|
|
8352
|
-
*/
|
|
8353
|
-
sessionId?: string | undefined;
|
|
8354
|
-
/**
|
|
8355
|
-
* <p>The identifier of the actor for this extraction job.</p>
|
|
8356
|
-
* @public
|
|
8357
|
-
*/
|
|
8358
|
-
actorId?: string | undefined;
|
|
8359
|
-
}
|
|
8360
|
-
/**
|
|
8361
|
-
* @public
|
|
8362
|
-
*/
|
|
8363
|
-
export interface ListMemoryExtractionJobsOutput {
|
|
8364
|
-
/**
|
|
8365
|
-
* <p>List of extraction job metadata matching the specified criteria.</p>
|
|
8366
|
-
* @public
|
|
8367
|
-
*/
|
|
8368
|
-
jobs: ExtractionJobMetadata[] | undefined;
|
|
8369
|
-
/**
|
|
8370
|
-
* <p>Token to retrieve the next page of results, if available.</p>
|
|
8371
|
-
* @public
|
|
8372
|
-
*/
|
|
8373
|
-
nextToken?: string | undefined;
|
|
8374
|
-
}
|
|
8375
|
-
/**
|
|
8376
|
-
* <p>The left-hand side of a memory record metadata filter expression.</p>
|
|
8377
|
-
* @public
|
|
8378
|
-
*/
|
|
8379
|
-
export type MemoryRecordLeftExpression = MemoryRecordLeftExpression.MetadataKeyMember | MemoryRecordLeftExpression.$UnknownMember;
|
|
8380
|
-
/**
|
|
8381
|
-
* @public
|
|
8382
|
-
*/
|
|
8383
|
-
export declare namespace MemoryRecordLeftExpression {
|
|
8384
|
-
/**
|
|
8385
|
-
* <p>The metadata key to filter on.</p>
|
|
8386
|
-
* @public
|
|
8387
|
-
*/
|
|
8388
|
-
interface MetadataKeyMember {
|
|
8389
|
-
metadataKey: string;
|
|
8390
|
-
$unknown?: never;
|
|
8391
|
-
}
|
|
8392
|
-
/**
|
|
8393
|
-
* @public
|
|
8394
|
-
*/
|
|
8395
|
-
interface $UnknownMember {
|
|
8396
|
-
metadataKey?: never;
|
|
8397
|
-
$unknown: [string, any];
|
|
8398
|
-
}
|
|
8399
|
-
/**
|
|
8400
|
-
* @deprecated unused in schema-serde mode.
|
|
8401
|
-
*
|
|
8402
|
-
*/
|
|
8403
|
-
interface Visitor<T> {
|
|
8404
|
-
metadataKey: (value: string) => T;
|
|
8405
|
-
_: (name: string, value: any) => T;
|
|
8406
|
-
}
|
|
8407
|
-
}
|
|
8408
|
-
/**
|
|
8409
|
-
* <p>The right-hand side of a memory record metadata filter expression.</p>
|
|
8410
|
-
* @public
|
|
8411
|
-
*/
|
|
8412
|
-
export type MemoryRecordRightExpression = MemoryRecordRightExpression.MetadataValueMember | MemoryRecordRightExpression.$UnknownMember;
|
|
8413
|
-
/**
|
|
8414
|
-
* @public
|
|
8415
|
-
*/
|
|
8416
|
-
export declare namespace MemoryRecordRightExpression {
|
|
8417
|
-
/**
|
|
8418
|
-
* <p>The metadata value to compare against.</p>
|
|
8419
|
-
* @public
|
|
8420
|
-
*/
|
|
8421
|
-
interface MetadataValueMember {
|
|
8422
|
-
metadataValue: MemoryRecordMetadataValue;
|
|
8423
|
-
$unknown?: never;
|
|
8424
|
-
}
|
|
8425
|
-
/**
|
|
8426
|
-
* @public
|
|
8427
|
-
*/
|
|
8428
|
-
interface $UnknownMember {
|
|
8429
|
-
metadataValue?: never;
|
|
8430
|
-
$unknown: [string, any];
|
|
8431
|
-
}
|
|
8432
|
-
/**
|
|
8433
|
-
* @deprecated unused in schema-serde mode.
|
|
8434
|
-
*
|
|
8435
|
-
*/
|
|
8436
|
-
interface Visitor<T> {
|
|
8437
|
-
metadataValue: (value: MemoryRecordMetadataValue) => T;
|
|
8438
|
-
_: (name: string, value: any) => T;
|
|
8439
|
-
}
|
|
8440
|
-
}
|
|
8441
|
-
/**
|
|
8442
|
-
* <p>Filters to apply to metadata associated with a memory. Specify the metadata key and value in the <code>left</code> and <code>right</code> fields and use the <code>operator</code> field to define the relationship to match.</p>
|
|
8443
|
-
* @public
|
|
8444
|
-
*/
|
|
8445
|
-
export interface MemoryMetadataFilterExpression {
|
|
8446
|
-
/**
|
|
8447
|
-
* <p>The metadata key to evaluate.</p>
|
|
8448
|
-
* @public
|
|
8449
|
-
*/
|
|
8450
|
-
left: MemoryRecordLeftExpression | undefined;
|
|
8451
|
-
/**
|
|
8452
|
-
* <p>The relationship between the metadata key and value to match when applying the metadata filter.</p>
|
|
8453
|
-
* @public
|
|
8454
|
-
*/
|
|
8455
|
-
operator: MemoryRecordOperatorType | undefined;
|
|
8456
|
-
/**
|
|
8457
|
-
* <p>The value to compare against. Required for all operators except EXISTS and NOT_EXISTS.</p>
|
|
8458
|
-
* @public
|
|
8459
|
-
*/
|
|
8460
|
-
right?: MemoryRecordRightExpression | undefined;
|
|
8461
|
-
}
|
|
8462
|
-
/**
|
|
8463
|
-
* @public
|
|
8464
|
-
*/
|
|
8465
|
-
export interface ListMemoryRecordsInput {
|
|
8466
|
-
/**
|
|
8467
|
-
* <p>The identifier of the AgentCore Memory resource for which to list memory records.</p>
|
|
8468
|
-
* @public
|
|
8469
|
-
*/
|
|
8470
|
-
memoryId: string | undefined;
|
|
8471
|
-
/**
|
|
8472
|
-
* <p>The namespace prefix to filter memory records by. Returns all memory records in namespaces that start with the provided prefix. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
8473
|
-
* @public
|
|
8474
|
-
*/
|
|
8475
|
-
namespace?: string | undefined;
|
|
8476
|
-
/**
|
|
8477
|
-
* <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
8478
|
-
* @public
|
|
8479
|
-
*/
|
|
8480
|
-
namespacePath?: string | undefined;
|
|
8481
|
-
/**
|
|
8482
|
-
* <p>The memory strategy identifier to filter memory records by. If specified, only memory records with this strategy ID are returned.</p>
|
|
8483
|
-
* @public
|
|
8484
|
-
*/
|
|
8485
|
-
memoryStrategyId?: string | undefined;
|
|
8486
|
-
/**
|
|
8487
|
-
* <p>The maximum number of results to return in a single call. The default value is 20.</p>
|
|
8488
|
-
* @public
|
|
8489
|
-
*/
|
|
8490
|
-
maxResults?: number | undefined;
|
|
8491
|
-
/**
|
|
8492
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
|
|
8493
|
-
* @public
|
|
8494
|
-
*/
|
|
8495
|
-
nextToken?: string | undefined;
|
|
8496
|
-
/**
|
|
8497
|
-
* <p>A list of metadata filter expressions to scope the returned memory records.</p>
|
|
8498
|
-
* @public
|
|
8499
|
-
*/
|
|
8500
|
-
metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
|
|
8501
|
-
}
|
|
8502
|
-
/**
|
|
8503
|
-
* <p>Contains summary information about a memory record.</p>
|
|
8504
|
-
* @public
|
|
8505
|
-
*/
|
|
8506
|
-
export interface MemoryRecordSummary {
|
|
8507
|
-
/**
|
|
8508
|
-
* <p>The unique identifier of the memory record.</p>
|
|
8509
|
-
* @public
|
|
8510
|
-
*/
|
|
8511
|
-
memoryRecordId: string | undefined;
|
|
8512
|
-
/**
|
|
8513
|
-
* <p>The content of the memory record.</p>
|
|
8514
|
-
* @public
|
|
8515
|
-
*/
|
|
8516
|
-
content: MemoryContent | undefined;
|
|
8517
|
-
/**
|
|
8518
|
-
* <p>The identifier of the memory strategy associated with this record.</p>
|
|
8519
|
-
* @public
|
|
8520
|
-
*/
|
|
8521
|
-
memoryStrategyId: string | undefined;
|
|
8522
|
-
/**
|
|
8523
|
-
* <p>The namespaces associated with this memory record.</p>
|
|
8524
|
-
* @public
|
|
8525
|
-
*/
|
|
8526
|
-
namespaces: string[] | undefined;
|
|
8527
|
-
/**
|
|
8528
|
-
* <p>The timestamp when the memory record was created.</p>
|
|
8529
|
-
* @public
|
|
8530
|
-
*/
|
|
8531
|
-
createdAt: Date | undefined;
|
|
8532
|
-
/**
|
|
8533
|
-
* <p>The relevance score of the memory record when returned as part of a search result. Higher values indicate greater relevance to the search query.</p>
|
|
8534
|
-
* @public
|
|
8535
|
-
*/
|
|
8536
|
-
score?: number | undefined;
|
|
8537
|
-
/**
|
|
8538
|
-
* <p>A map of metadata key-value pairs associated with a memory record.</p>
|
|
8539
|
-
* @public
|
|
8540
|
-
*/
|
|
8541
|
-
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
8542
|
-
}
|
|
8543
|
-
/**
|
|
8544
|
-
* @public
|
|
8545
|
-
*/
|
|
8546
|
-
export interface ListMemoryRecordsOutput {
|
|
8547
|
-
/**
|
|
8548
|
-
* <p>The list of memory record summaries that match the specified criteria.</p>
|
|
8549
|
-
* @public
|
|
8550
|
-
*/
|
|
8551
|
-
memoryRecordSummaries: MemoryRecordSummary[] | undefined;
|
|
8552
|
-
/**
|
|
8553
|
-
* <p>The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.</p>
|
|
8554
|
-
* @public
|
|
8555
|
-
*/
|
|
8556
|
-
nextToken?: string | undefined;
|
|
8557
|
-
}
|