@aws-sdk/client-bedrock-agent-runtime 3.1111.0 → 3.1113.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.
@@ -139,6 +139,39 @@ declare const AgenticRetrieveStreamCommand_base: {
139
139
  * userContext: { // UserContext
140
140
  * userId: "STRING_VALUE", // required
141
141
  * },
142
+ * memoryConfiguration: { // AgenticRetrieveMemoryConfiguration
143
+ * memoryId: "STRING_VALUE", // required
144
+ * sessionBinding: { // AgenticRetrieveMemorySessionBinding
145
+ * actorId: "STRING_VALUE", // required
146
+ * sessionId: "STRING_VALUE", // required
147
+ * },
148
+ * retrievalConfigs: [ // AgenticRetrieveMemoryRetrievalConfigList
149
+ * { // AgenticRetrieveMemoryRetrievalConfig
150
+ * namespace: "STRING_VALUE",
151
+ * namespacePath: "STRING_VALUE",
152
+ * strategyId: "STRING_VALUE",
153
+ * metadataFilters: [ // AgenticRetrieveMemoryMetadataFilterList
154
+ * { // AgenticRetrieveMemoryMetadataFilter
155
+ * left: { // AgenticRetrieveMemoryMetadataFilterLeft Union: only one key present
156
+ * metadataKey: "STRING_VALUE",
157
+ * },
158
+ * operator: "EQUALS_TO" || "EXISTS" || "NOT_EXISTS" || "BEFORE" || "AFTER" || "CONTAINS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS", // required
159
+ * right: { // AgenticRetrieveMemoryMetadataFilterRight Union: only one key present
160
+ * metadataValue: { // AgenticRetrieveMemoryMetadataValue Union: only one key present
161
+ * stringValue: "STRING_VALUE",
162
+ * numberValue: Number("double"),
163
+ * stringListValue: [ // AgenticRetrieveMemoryMetadataStringList
164
+ * "STRING_VALUE",
165
+ * ],
166
+ * dateTimeValue: new Date("TIMESTAMP"),
167
+ * },
168
+ * },
169
+ * },
170
+ * ],
171
+ * },
172
+ * ],
173
+ * persistenceMode: "DEFAULT" || "NONE",
174
+ * },
142
175
  * generateResponse: true || false,
143
176
  * };
144
177
  * const command = new AgenticRetrieveStreamCommand(input);
@@ -181,7 +214,7 @@ declare const AgenticRetrieveStreamCommand_base: {
181
214
  * // id: "STRING_VALUE", // required
182
215
  * // timestamp: Number("long"), // required
183
216
  * // attributes: { // AgenticRetrieveTraceEventAttributes
184
- * // step: "Planning" || "Retrieval" || "SpeculativeRetrieval" || "FullDocumentExpansion", // required
217
+ * // step: "Planning" || "Retrieval" || "SpeculativeRetrieval" || "FullDocumentExpansion" || "SessionHistoryLoad", // required
185
218
  * // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
186
219
  * // message: "STRING_VALUE", // required
187
220
  * // actions: [ // AgenticRetrieveActions
@@ -200,6 +233,15 @@ declare const AgenticRetrieveStreamCommand_base: {
200
233
  * // documentId: "STRING_VALUE",
201
234
  * // sourceRetriever: "<AgenticRetrieveSourceRetriever>",
202
235
  * // },
236
+ * // memoryRetrieve: { // AgenticRetrieveMemoryRetrieveDetails
237
+ * // inputQuery: {
238
+ * // text: "STRING_VALUE",
239
+ * // },
240
+ * // memoryId: "STRING_VALUE", // required
241
+ * // namespace: "STRING_VALUE",
242
+ * // namespacePath: "STRING_VALUE",
243
+ * // strategyId: "STRING_VALUE",
244
+ * // },
203
245
  * // },
204
246
  * // ],
205
247
  * // warnings: [ // AgenticRetrieveWarnings
@@ -223,7 +265,7 @@ declare const AgenticRetrieveStreamCommand_base: {
223
265
  * // retrievalMetadata: [ // AgenticRetrieveSourceMetadataList
224
266
  * // { // AgenticRetrieveSourceMetadata
225
267
  * // identifier: "STRING_VALUE",
226
- * // retrievalType: "BedrockKnowledgeBase",
268
+ * // retrievalType: "BedrockKnowledgeBase" || "BedrockAgentCoreMemory",
227
269
  * // },
228
270
  * // ],
229
271
  * // retrievalResponse: [ // AgenticRetrieveTraceResults
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateSessionRequest } from "../models/models_0";
3
- import type { CreateSessionResponse } from "../models/models_1";
2
+ import type { CreateSessionRequest, CreateSessionResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { RetrieveAndGenerateStreamResponse } from "../models/models_0";
3
- import type { RetrieveAndGenerateStreamRequest } from "../models/models_1";
2
+ import type { RetrieveAndGenerateStreamRequest, RetrieveAndGenerateStreamResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { RetrieveResponse } from "../models/models_0";
3
- import type { RetrieveRequest } from "../models/models_1";
2
+ import type { RetrieveRequest, RetrieveResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -198,6 +198,74 @@ export declare const GuardrailAction: {
198
198
  * @public
199
199
  */
200
200
  export type GuardrailAction = (typeof GuardrailAction)[keyof typeof GuardrailAction];
201
+ /**
202
+ * @public
203
+ * @enum
204
+ */
205
+ export declare const AgenticRetrieveMemoryPersistenceMode: {
206
+ /**
207
+ * <p>Specifies that the question and the agent-generated answer are persisted to the session. This is the default when persistenceMode is omitted.</p>
208
+ */
209
+ readonly DEFAULT: "DEFAULT";
210
+ /**
211
+ * <p>Specifies that the session is left unchanged.</p>
212
+ */
213
+ readonly NONE: "NONE";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type AgenticRetrieveMemoryPersistenceMode = (typeof AgenticRetrieveMemoryPersistenceMode)[keyof typeof AgenticRetrieveMemoryPersistenceMode];
219
+ /**
220
+ * @public
221
+ * @enum
222
+ */
223
+ export declare const AgenticRetrieveMemoryMetadataFilterOperator: {
224
+ /**
225
+ * <p>The AFTER operator matches memory records whose timestamp metadata value falls after the supplied value.</p>
226
+ */
227
+ readonly AFTER: "AFTER";
228
+ /**
229
+ * <p>The BEFORE operator matches memory records whose timestamp metadata value falls before the supplied value.</p>
230
+ */
231
+ readonly BEFORE: "BEFORE";
232
+ /**
233
+ * <p>The CONTAINS operator matches memory records whose metadata value contains the supplied value.</p>
234
+ */
235
+ readonly CONTAINS: "CONTAINS";
236
+ /**
237
+ * <p>The EQUALS_TO operator matches memory records whose metadata value equals the supplied value.</p>
238
+ */
239
+ readonly EQUALS_TO: "EQUALS_TO";
240
+ /**
241
+ * <p>The EXISTS operator matches memory records that carry the metadata key, whatever its value. This operator takes no right operand.</p>
242
+ */
243
+ readonly EXISTS: "EXISTS";
244
+ /**
245
+ * <p>The GREATER_THAN operator matches memory records whose numeric metadata value is greater than the supplied value.</p>
246
+ */
247
+ readonly GREATER_THAN: "GREATER_THAN";
248
+ /**
249
+ * <p>The GREATER_THAN_OR_EQUALS operator matches memory records whose numeric metadata value is greater than or equal to the supplied value.</p>
250
+ */
251
+ readonly GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS";
252
+ /**
253
+ * <p>The LESS_THAN operator matches memory records whose numeric metadata value is less than the supplied value.</p>
254
+ */
255
+ readonly LESS_THAN: "LESS_THAN";
256
+ /**
257
+ * <p>The LESS_THAN_OR_EQUALS operator matches memory records whose numeric metadata value is less than or equal to the supplied value.</p>
258
+ */
259
+ readonly LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS";
260
+ /**
261
+ * <p>The NOT_EXISTS operator matches memory records that do not carry the metadata key. This operator takes no right operand.</p>
262
+ */
263
+ readonly NOT_EXISTS: "NOT_EXISTS";
264
+ };
265
+ /**
266
+ * @public
267
+ */
268
+ export type AgenticRetrieveMemoryMetadataFilterOperator = (typeof AgenticRetrieveMemoryMetadataFilterOperator)[keyof typeof AgenticRetrieveMemoryMetadataFilterOperator];
201
269
  /**
202
270
  * @public
203
271
  * @enum
@@ -215,6 +283,10 @@ export type ConversationRole = (typeof ConversationRole)[keyof typeof Conversati
215
283
  * @enum
216
284
  */
217
285
  export declare const AgenticRetrieveType: {
286
+ /**
287
+ * <p>An AgentCore Memory resource. Long-term memory retrievals report under the Retrieval step with this source type.</p>
288
+ */
289
+ readonly BEDROCK_AGENT_CORE_MEMORY: "BedrockAgentCoreMemory";
218
290
  /**
219
291
  * <p>A Bedrock knowledge base retrieval source.</p>
220
292
  */
@@ -263,6 +335,10 @@ export declare const AgenticRetrieveStep: {
263
335
  * <p>The retrieval phase where data is fetched.</p>
264
336
  */
265
337
  readonly RETRIEVAL: "Retrieval";
338
+ /**
339
+ * <p>The phase that restores prior session history from AgentCore Memory short-term memory, before the agent begins work.</p>
340
+ */
341
+ readonly SESSION_HISTORY_LOAD: "SessionHistoryLoad";
266
342
  /**
267
343
  * <p>A speculative retrieval phase for optimization.</p>
268
344
  */