@aws-sdk/client-bedrock-agentcore 3.1152.0 → 3.1154.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
|
@@ -116,6 +116,53 @@ declare const GetBatchEvaluationCommand_base: {
|
|
|
116
116
|
* // },
|
|
117
117
|
* // ],
|
|
118
118
|
* // },
|
|
119
|
+
* // insightResults: [ // InsightResultList
|
|
120
|
+
* // { // InsightResult
|
|
121
|
+
* // type: "FAILURE", // required
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // description: "STRING_VALUE", // required
|
|
124
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
125
|
+
* // affectedSessionCount: Number("int"),
|
|
126
|
+
* // sampleSessions: [ // InsightSampleSessionList
|
|
127
|
+
* // { // SampleSession
|
|
128
|
+
* // sessionId: "STRING_VALUE", // required
|
|
129
|
+
* // lastSeenAt: new Date("TIMESTAMP"),
|
|
130
|
+
* // findings: [ // SessionFindingList
|
|
131
|
+
* // { // SessionFinding
|
|
132
|
+
* // targetId: "STRING_VALUE",
|
|
133
|
+
* // targetType: "SPAN_ID" || "TRACE_ID" || "SPAN_NAME",
|
|
134
|
+
* // description: "STRING_VALUE", // required
|
|
135
|
+
* // category: "STRING_VALUE",
|
|
136
|
+
* // confidence: Number("double"),
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // rootCauses: [ // InsightRootCauseList
|
|
142
|
+
* // { // InsightRootCause
|
|
143
|
+
* // name: "STRING_VALUE", // required
|
|
144
|
+
* // explanation: "STRING_VALUE", // required
|
|
145
|
+
* // affectedSessionCount: Number("int"),
|
|
146
|
+
* // suggestedFix: "STRING_VALUE",
|
|
147
|
+
* // sampleSessions: [
|
|
148
|
+
* // {
|
|
149
|
+
* // sessionId: "STRING_VALUE", // required
|
|
150
|
+
* // lastSeenAt: new Date("TIMESTAMP"),
|
|
151
|
+
* // findings: [
|
|
152
|
+
* // {
|
|
153
|
+
* // targetId: "STRING_VALUE",
|
|
154
|
+
* // targetType: "SPAN_ID" || "TRACE_ID" || "SPAN_NAME",
|
|
155
|
+
* // description: "STRING_VALUE", // required
|
|
156
|
+
* // category: "STRING_VALUE",
|
|
157
|
+
* // confidence: Number("double"),
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
119
166
|
* // failureAnalysisResult: { // FailureAnalysisResultContent
|
|
120
167
|
* // failures: [ // FailureCategoryClusterList // required
|
|
121
168
|
* // { // FailureCategoryCluster
|
|
@@ -252,6 +252,30 @@ export declare const RecommendationStatus: {
|
|
|
252
252
|
* @public
|
|
253
253
|
*/
|
|
254
254
|
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
* @enum
|
|
258
|
+
*/
|
|
259
|
+
export declare const FindingTargetType: {
|
|
260
|
+
readonly SPAN_ID: "SPAN_ID";
|
|
261
|
+
readonly SPAN_NAME: "SPAN_NAME";
|
|
262
|
+
readonly TRACE_ID: "TRACE_ID";
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export type FindingTargetType = (typeof FindingTargetType)[keyof typeof FindingTargetType];
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @enum
|
|
271
|
+
*/
|
|
272
|
+
export declare const InsightType: {
|
|
273
|
+
readonly FAILURE: "FAILURE";
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
255
279
|
/**
|
|
256
280
|
* @public
|
|
257
281
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType,
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, FindingTargetType, HarnessBedrockApiFormat, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, InsightType, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, RecordExpiryAction, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -4163,6 +4163,130 @@ export interface FailureAnalysisResultContent {
|
|
|
4163
4163
|
*/
|
|
4164
4164
|
failures: FailureCategoryCluster[] | undefined;
|
|
4165
4165
|
}
|
|
4166
|
+
/**
|
|
4167
|
+
* <p>A failure found in a session.</p>
|
|
4168
|
+
* @public
|
|
4169
|
+
*/
|
|
4170
|
+
export interface SessionFinding {
|
|
4171
|
+
/**
|
|
4172
|
+
* <p>The identifier or name of the location in the session where the failure was found, interpreted according to <code>targetType</code>.</p>
|
|
4173
|
+
* @public
|
|
4174
|
+
*/
|
|
4175
|
+
targetId?: string | undefined;
|
|
4176
|
+
/**
|
|
4177
|
+
* <p>The type of location that <code>targetId</code> refers to.</p>
|
|
4178
|
+
* @public
|
|
4179
|
+
*/
|
|
4180
|
+
targetType?: FindingTargetType | undefined;
|
|
4181
|
+
/**
|
|
4182
|
+
* <p>A description of the failure.</p>
|
|
4183
|
+
* @public
|
|
4184
|
+
*/
|
|
4185
|
+
description: string | undefined;
|
|
4186
|
+
/**
|
|
4187
|
+
* <p>The category of the failure.</p>
|
|
4188
|
+
* @public
|
|
4189
|
+
*/
|
|
4190
|
+
category?: string | undefined;
|
|
4191
|
+
/**
|
|
4192
|
+
* <p>The confidence that the finding is a failure, from 0 to 1.</p>
|
|
4193
|
+
* @public
|
|
4194
|
+
*/
|
|
4195
|
+
confidence?: number | undefined;
|
|
4196
|
+
}
|
|
4197
|
+
/**
|
|
4198
|
+
* <p>A session affected by an insight or root cause. Use the session ID to find the per-session evaluation results in CloudWatch Logs.</p>
|
|
4199
|
+
* @public
|
|
4200
|
+
*/
|
|
4201
|
+
export interface SampleSession {
|
|
4202
|
+
/**
|
|
4203
|
+
* <p>The unique identifier of the session.</p>
|
|
4204
|
+
* @public
|
|
4205
|
+
*/
|
|
4206
|
+
sessionId: string | undefined;
|
|
4207
|
+
/**
|
|
4208
|
+
* <p>The latest timestamp observed for the session in the batch evaluation input.</p>
|
|
4209
|
+
* @public
|
|
4210
|
+
*/
|
|
4211
|
+
lastSeenAt?: Date | undefined;
|
|
4212
|
+
/**
|
|
4213
|
+
* <p>The failures found in the session that belong to the insight or root cause, up to 10.</p>
|
|
4214
|
+
* @public
|
|
4215
|
+
*/
|
|
4216
|
+
findings?: SessionFinding[] | undefined;
|
|
4217
|
+
}
|
|
4218
|
+
/**
|
|
4219
|
+
* <p>A root cause that contributes to an insight.</p>
|
|
4220
|
+
* @public
|
|
4221
|
+
*/
|
|
4222
|
+
export interface InsightRootCause {
|
|
4223
|
+
/**
|
|
4224
|
+
* <p>A generated label for the root cause.</p>
|
|
4225
|
+
* @public
|
|
4226
|
+
*/
|
|
4227
|
+
name: string | undefined;
|
|
4228
|
+
/**
|
|
4229
|
+
* <p>An explanation of how the root cause leads to the failures in the insight.</p>
|
|
4230
|
+
* @public
|
|
4231
|
+
*/
|
|
4232
|
+
explanation: string | undefined;
|
|
4233
|
+
/**
|
|
4234
|
+
* <p>The number of distinct sessions affected by the root cause. A session can be affected by more than one root cause of the same insight.</p>
|
|
4235
|
+
* @public
|
|
4236
|
+
*/
|
|
4237
|
+
affectedSessionCount?: number | undefined;
|
|
4238
|
+
/**
|
|
4239
|
+
* <p>A suggested change to the agent that addresses the root cause.</p>
|
|
4240
|
+
* @public
|
|
4241
|
+
*/
|
|
4242
|
+
suggestedFix?: string | undefined;
|
|
4243
|
+
/**
|
|
4244
|
+
* <p>A sample of up to 10 sessions affected by the root cause.</p>
|
|
4245
|
+
* @public
|
|
4246
|
+
*/
|
|
4247
|
+
sampleSessions?: SampleSession[] | undefined;
|
|
4248
|
+
}
|
|
4249
|
+
/**
|
|
4250
|
+
* <p>An insight that groups related failures found across the sessions in a batch evaluation.</p>
|
|
4251
|
+
* @public
|
|
4252
|
+
*/
|
|
4253
|
+
export interface InsightResult {
|
|
4254
|
+
/**
|
|
4255
|
+
* <p>The type of insight. <code>FAILURE</code> indicates a group of related failures.</p>
|
|
4256
|
+
* @public
|
|
4257
|
+
*/
|
|
4258
|
+
type: InsightType | undefined;
|
|
4259
|
+
/**
|
|
4260
|
+
* <p>A generated label for the insight. The name is not an identifier and can differ between batch evaluations.</p>
|
|
4261
|
+
* @public
|
|
4262
|
+
*/
|
|
4263
|
+
name: string | undefined;
|
|
4264
|
+
/**
|
|
4265
|
+
* <p>A description of the failure pattern that the insight represents.</p>
|
|
4266
|
+
* @public
|
|
4267
|
+
*/
|
|
4268
|
+
description: string | undefined;
|
|
4269
|
+
/**
|
|
4270
|
+
* <p>The timestamp when the insight was generated.</p>
|
|
4271
|
+
* @public
|
|
4272
|
+
*/
|
|
4273
|
+
createdAt: Date | undefined;
|
|
4274
|
+
/**
|
|
4275
|
+
* <p>The number of distinct sessions affected by the insight.</p>
|
|
4276
|
+
* @public
|
|
4277
|
+
*/
|
|
4278
|
+
affectedSessionCount?: number | undefined;
|
|
4279
|
+
/**
|
|
4280
|
+
* <p>A sample of up to 10 sessions affected by the insight. Returned only when the insight has no root causes. Otherwise, sample sessions are returned for each root cause.</p>
|
|
4281
|
+
* @public
|
|
4282
|
+
*/
|
|
4283
|
+
sampleSessions?: SampleSession[] | undefined;
|
|
4284
|
+
/**
|
|
4285
|
+
* <p>The root causes identified for the insight.</p>
|
|
4286
|
+
* @public
|
|
4287
|
+
*/
|
|
4288
|
+
rootCauses?: InsightRootCause[] | undefined;
|
|
4289
|
+
}
|
|
4166
4290
|
/**
|
|
4167
4291
|
* <p>A reference to an insight analysis to run against sessions during batch evaluation. Insights provide deeper analysis beyond individual evaluator scores, including failure detection, user intent clustering, and execution summarization.</p>
|
|
4168
4292
|
* @public
|
|
@@ -4345,6 +4469,11 @@ export interface GetBatchEvaluationResponse {
|
|
|
4345
4469
|
* @public
|
|
4346
4470
|
*/
|
|
4347
4471
|
evaluationResults?: EvaluationJobResults | undefined;
|
|
4472
|
+
/**
|
|
4473
|
+
* <p>The insights generated when the batch evaluation includes the <code>Builtin.FailureAnalysis</code> evaluator. Each insight groups related failures found across the evaluated sessions. An empty list means that no failures were found. If the analysis fails, this field is omitted and <code>errorDetails</code> describes the error.</p>
|
|
4474
|
+
* @public
|
|
4475
|
+
*/
|
|
4476
|
+
insightResults?: InsightResult[] | undefined;
|
|
4348
4477
|
/**
|
|
4349
4478
|
* <p>The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.</p>
|
|
4350
4479
|
* @public
|
|
@@ -7163,7 +7292,7 @@ export declare namespace HarnessGatewayOutboundAuth {
|
|
|
7163
7292
|
$unknown?: never;
|
|
7164
7293
|
}
|
|
7165
7294
|
/**
|
|
7166
|
-
* <p>OAuth 2.0 authentication via AgentCore Identity.</p>
|
|
7295
|
+
* <p>OAuth 2.0 authentication via AgentCore Identity.</p> <p>The <code>AUTHORIZATION_CODE</code> grant type is not supported for outbound authentication from a harness to an AgentCore Gateway, even when <code>defaultReturnUrl</code> is specified.</p>
|
|
7167
7296
|
* @public
|
|
7168
7297
|
*/
|
|
7169
7298
|
interface OauthMember {
|
|
@@ -8693,139 +8822,3 @@ export declare namespace PayloadType {
|
|
|
8693
8822
|
_: (name: string, value: any) => T;
|
|
8694
8823
|
}
|
|
8695
8824
|
}
|
|
8696
|
-
/**
|
|
8697
|
-
* @public
|
|
8698
|
-
*/
|
|
8699
|
-
export interface CreateEventInput {
|
|
8700
|
-
/**
|
|
8701
|
-
* <p>The identifier of the AgentCore Memory resource in which to create the event.</p>
|
|
8702
|
-
* @public
|
|
8703
|
-
*/
|
|
8704
|
-
memoryId: string | undefined;
|
|
8705
|
-
/**
|
|
8706
|
-
* <p>The identifier of the actor associated with this event. An actor represents an entity that participates in sessions and generates events.</p>
|
|
8707
|
-
* @public
|
|
8708
|
-
*/
|
|
8709
|
-
actorId: string | undefined;
|
|
8710
|
-
/**
|
|
8711
|
-
* <p>The identifier of the session in which this event occurs. A session represents a sequence of related events.</p>
|
|
8712
|
-
* @public
|
|
8713
|
-
*/
|
|
8714
|
-
sessionId?: string | undefined;
|
|
8715
|
-
/**
|
|
8716
|
-
* <p>The timestamp when the event occurred. If not specified, the current time is used.</p>
|
|
8717
|
-
* @public
|
|
8718
|
-
*/
|
|
8719
|
-
eventTimestamp: Date | undefined;
|
|
8720
|
-
/**
|
|
8721
|
-
* <p>The content payload of the event. This can include conversational data, JSON data, or binary content.</p>
|
|
8722
|
-
* @public
|
|
8723
|
-
*/
|
|
8724
|
-
payload: PayloadType[] | undefined;
|
|
8725
|
-
/**
|
|
8726
|
-
* <p>The branch information for this event. Branches allow for organizing events into different conversation threads or paths.</p>
|
|
8727
|
-
* @public
|
|
8728
|
-
*/
|
|
8729
|
-
branch?: Branch | undefined;
|
|
8730
|
-
/**
|
|
8731
|
-
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, AgentCore ignores the request, but does not return an error.</p>
|
|
8732
|
-
* @public
|
|
8733
|
-
*/
|
|
8734
|
-
clientToken?: string | undefined;
|
|
8735
|
-
/**
|
|
8736
|
-
* <p>The key-value metadata to attach to the event.</p>
|
|
8737
|
-
* @public
|
|
8738
|
-
*/
|
|
8739
|
-
metadata?: Record<string, MetadataValue> | undefined;
|
|
8740
|
-
/**
|
|
8741
|
-
* <p>Controls long-term memory extraction for this event. When set to <code>SKIP</code>, the event is stored in short-term memory but is excluded from long-term memory extraction. If not specified, the event is processed for extraction as usual.</p>
|
|
8742
|
-
* @public
|
|
8743
|
-
*/
|
|
8744
|
-
extractionMode?: ExtractionMode | undefined;
|
|
8745
|
-
/**
|
|
8746
|
-
* <p>The extraction configuration for long-term memory records. Use this parameter to specify namespace variable keys and their values for namespace substitution during extraction.</p>
|
|
8747
|
-
* @public
|
|
8748
|
-
*/
|
|
8749
|
-
extractionConfig?: ExtractionConfig | undefined;
|
|
8750
|
-
}
|
|
8751
|
-
/**
|
|
8752
|
-
* <p>Contains information about an event in an AgentCore Memory resource.</p>
|
|
8753
|
-
* @public
|
|
8754
|
-
*/
|
|
8755
|
-
export interface Event {
|
|
8756
|
-
/**
|
|
8757
|
-
* <p>The identifier of the AgentCore Memory resource containing the event.</p>
|
|
8758
|
-
* @public
|
|
8759
|
-
*/
|
|
8760
|
-
memoryId: string | undefined;
|
|
8761
|
-
/**
|
|
8762
|
-
* <p>The identifier of the actor associated with the event.</p>
|
|
8763
|
-
* @public
|
|
8764
|
-
*/
|
|
8765
|
-
actorId: string | undefined;
|
|
8766
|
-
/**
|
|
8767
|
-
* <p>The identifier of the session containing the event.</p>
|
|
8768
|
-
* @public
|
|
8769
|
-
*/
|
|
8770
|
-
sessionId: string | undefined;
|
|
8771
|
-
/**
|
|
8772
|
-
* <p>The unique identifier of the event.</p>
|
|
8773
|
-
* @public
|
|
8774
|
-
*/
|
|
8775
|
-
eventId: string | undefined;
|
|
8776
|
-
/**
|
|
8777
|
-
* <p>The timestamp when the event occurred.</p>
|
|
8778
|
-
* @public
|
|
8779
|
-
*/
|
|
8780
|
-
eventTimestamp: Date | undefined;
|
|
8781
|
-
/**
|
|
8782
|
-
* <p>The content payload of the event.</p>
|
|
8783
|
-
* @public
|
|
8784
|
-
*/
|
|
8785
|
-
payload: PayloadType[] | undefined;
|
|
8786
|
-
/**
|
|
8787
|
-
* <p>The branch information for the event.</p>
|
|
8788
|
-
* @public
|
|
8789
|
-
*/
|
|
8790
|
-
branch?: Branch | undefined;
|
|
8791
|
-
/**
|
|
8792
|
-
* <p>Metadata associated with an event.</p>
|
|
8793
|
-
* @public
|
|
8794
|
-
*/
|
|
8795
|
-
metadata?: Record<string, MetadataValue> | undefined;
|
|
8796
|
-
}
|
|
8797
|
-
/**
|
|
8798
|
-
* @public
|
|
8799
|
-
*/
|
|
8800
|
-
export interface CreateEventOutput {
|
|
8801
|
-
/**
|
|
8802
|
-
* <p>The event that was created.</p>
|
|
8803
|
-
* @public
|
|
8804
|
-
*/
|
|
8805
|
-
event: Event | undefined;
|
|
8806
|
-
}
|
|
8807
|
-
/**
|
|
8808
|
-
* @public
|
|
8809
|
-
*/
|
|
8810
|
-
export interface DeleteEventInput {
|
|
8811
|
-
/**
|
|
8812
|
-
* <p>The identifier of the AgentCore Memory resource from which to delete the event.</p>
|
|
8813
|
-
* @public
|
|
8814
|
-
*/
|
|
8815
|
-
memoryId: string | undefined;
|
|
8816
|
-
/**
|
|
8817
|
-
* <p>The identifier of the session containing the event to delete.</p>
|
|
8818
|
-
* @public
|
|
8819
|
-
*/
|
|
8820
|
-
sessionId: string | undefined;
|
|
8821
|
-
/**
|
|
8822
|
-
* <p>The identifier of the event to delete.</p>
|
|
8823
|
-
* @public
|
|
8824
|
-
*/
|
|
8825
|
-
eventId: string | undefined;
|
|
8826
|
-
/**
|
|
8827
|
-
* <p>The identifier of the actor associated with the event to delete.</p>
|
|
8828
|
-
* @public
|
|
8829
|
-
*/
|
|
8830
|
-
actorId: string | undefined;
|
|
8831
|
-
}
|
|
@@ -1,6 +1,142 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
|
-
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor,
|
|
2
|
+
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, ExtractionMode, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
|
+
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, Branch, Conversational, ExtractionConfig, MemoryContent, MemoryJsonData, MemoryRecordMetadataValue, MetadataValue, PayloadType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CreateEventInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The identifier of the AgentCore Memory resource in which to create the event.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
memoryId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The identifier of the actor associated with this event. An actor represents an entity that participates in sessions and generates events.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
actorId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The identifier of the session in which this event occurs. A session represents a sequence of related events.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
sessionId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The timestamp when the event occurred. If not specified, the current time is used.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
eventTimestamp: Date | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The content payload of the event. This can include conversational data, JSON data, or binary content.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
payload: PayloadType[] | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The branch information for this event. Branches allow for organizing events into different conversation threads or paths.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
branch?: Branch | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, AgentCore ignores the request, but does not return an error.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
clientToken?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The key-value metadata to attach to the event.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>Controls long-term memory extraction for this event. When set to <code>SKIP</code>, the event is stored in short-term memory but is excluded from long-term memory extraction. If not specified, the event is processed for extraction as usual.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
extractionMode?: ExtractionMode | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The extraction configuration for long-term memory records. Use this parameter to specify namespace variable keys and their values for namespace substitution during extraction.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
extractionConfig?: ExtractionConfig | undefined;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <p>Contains information about an event in an AgentCore Memory resource.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export interface Event {
|
|
64
|
+
/**
|
|
65
|
+
* <p>The identifier of the AgentCore Memory resource containing the event.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
memoryId: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The identifier of the actor associated with the event.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
actorId: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The identifier of the session containing the event.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
sessionId: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The unique identifier of the event.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
eventId: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The timestamp when the event occurred.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
eventTimestamp: Date | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The content payload of the event.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
payload: PayloadType[] | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The branch information for the event.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
branch?: Branch | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>Metadata associated with an event.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export interface CreateEventOutput {
|
|
109
|
+
/**
|
|
110
|
+
* <p>The event that was created.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
event: Event | undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export interface DeleteEventInput {
|
|
119
|
+
/**
|
|
120
|
+
* <p>The identifier of the AgentCore Memory resource from which to delete the event.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
memoryId: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The identifier of the session containing the event to delete.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
sessionId: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The identifier of the event to delete.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
eventId: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The identifier of the actor associated with the event to delete.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
actorId: string | undefined;
|
|
139
|
+
}
|
|
4
140
|
/**
|
|
5
141
|
* @public
|
|
6
142
|
*/
|
|
@@ -758,7 +894,7 @@ export interface ListMemoryRecordsInput {
|
|
|
758
894
|
*/
|
|
759
895
|
memoryId: string | undefined;
|
|
760
896
|
/**
|
|
761
|
-
* <p>The namespace
|
|
897
|
+
* <p>The exact namespace to filter memory records by. Returns all memory records that matches the provided namespace. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
762
898
|
* @public
|
|
763
899
|
*/
|
|
764
900
|
namespace?: string | undefined;
|
|
@@ -962,7 +1098,7 @@ export interface RetrieveMemoryRecordsInput {
|
|
|
962
1098
|
*/
|
|
963
1099
|
memoryId: string | undefined;
|
|
964
1100
|
/**
|
|
965
|
-
* <p>The namespace
|
|
1101
|
+
* <p>The exact namespace to filter memory records by. Searches for memory records that matches the provided namespace value. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
966
1102
|
* @public
|
|
967
1103
|
*/
|
|
968
1104
|
namespace?: string | undefined;
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { CreateEventInput, CreateEventOutput } from "../models/
|
|
2
|
+
import { CreateEventInput, CreateEventOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateEventCommandInput extends CreateEventInput {}
|
|
5
5
|
export interface CreateEventCommandOutput extends CreateEventOutput, __MetadataBearer {}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { DeleteEventInput } from "../models/
|
|
3
|
-
import { DeleteEventOutput } from "../models/models_1";
|
|
2
|
+
import { DeleteEventInput, DeleteEventOutput } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface DeleteEventCommandInput extends DeleteEventInput {}
|
|
6
5
|
export interface DeleteEventCommandOutput extends DeleteEventOutput, __MetadataBearer {}
|
|
@@ -150,6 +150,16 @@ export declare const RecommendationStatus: {
|
|
|
150
150
|
readonly PENDING: "PENDING";
|
|
151
151
|
};
|
|
152
152
|
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
153
|
+
export declare const FindingTargetType: {
|
|
154
|
+
readonly SPAN_ID: "SPAN_ID";
|
|
155
|
+
readonly SPAN_NAME: "SPAN_NAME";
|
|
156
|
+
readonly TRACE_ID: "TRACE_ID";
|
|
157
|
+
};
|
|
158
|
+
export type FindingTargetType = (typeof FindingTargetType)[keyof typeof FindingTargetType];
|
|
159
|
+
export declare const InsightType: {
|
|
160
|
+
readonly FAILURE: "FAILURE";
|
|
161
|
+
};
|
|
162
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
153
163
|
export declare const ResultDestination: {
|
|
154
164
|
readonly DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP";
|
|
155
165
|
readonly SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP";
|