@aws-sdk/client-bedrock-agentcore 3.935.0 → 3.937.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.
Files changed (32) hide show
  1. package/README.md +17 -1
  2. package/dist-cjs/index.js +131 -3
  3. package/dist-es/BedrockAgentCore.js +4 -0
  4. package/dist-es/commands/ListMemoryExtractionJobsCommand.js +16 -0
  5. package/dist-es/commands/StartMemoryExtractionJobCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/pagination/ListMemoryExtractionJobsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +96 -3
  11. package/dist-types/BedrockAgentCore.d.ts +15 -1
  12. package/dist-types/BedrockAgentCoreClient.d.ts +5 -3
  13. package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +118 -0
  14. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +96 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/index.d.ts +1 -1
  17. package/dist-types/models/enums.d.ts +11 -0
  18. package/dist-types/models/models_0.d.ts +207 -10
  19. package/dist-types/pagination/ListMemoryExtractionJobsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +14 -0
  22. package/dist-types/ts3.4/BedrockAgentCore.d.ts +34 -0
  23. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  27. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +58 -0
  29. package/dist-types/ts3.4/pagination/ListMemoryExtractionJobsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  32. package/package.json +12 -12
@@ -40,6 +40,7 @@ const _CRTARo = "CompleteResourceTokenAuthResponse";
40
40
  const _CRVT = "CustomRequestValueType";
41
41
  const _CT = "Content-Type";
42
42
  const _Co = "Content";
43
+ const _D = "Document";
43
44
  const _DE = "DeleteEvent";
44
45
  const _DEI = "DeleteEventInput";
45
46
  const _DEO = "DeleteEventOutput";
@@ -47,6 +48,11 @@ const _DMR = "DeleteMemoryRecord";
47
48
  const _DMRI = "DeleteMemoryRecordInput";
48
49
  const _DMRO = "DeleteMemoryRecordOutput";
49
50
  const _E = "Event";
51
+ const _EJ = "ExtractionJob";
52
+ const _EJFI = "ExtractionJobFilterInput";
53
+ const _EJM = "ExtractionJobMetadata";
54
+ const _EJML = "ExtractionJobMetadataList";
55
+ const _EJMx = "ExtractionJobMessages";
50
56
  const _EL = "EventList";
51
57
  const _EMFE = "EventMetadataFilterExpression";
52
58
  const _EMFL = "EventMetadataFilterList";
@@ -104,6 +110,9 @@ const _LE = "LeftExpression";
104
110
  const _LEI = "ListEventsInput";
105
111
  const _LEO = "ListEventsOutput";
106
112
  const _LEi = "ListEvents";
113
+ const _LMEJ = "ListMemoryExtractionJobs";
114
+ const _LMEJI = "ListMemoryExtractionJobsInput";
115
+ const _LMEJO = "ListMemoryExtractionJobsOutput";
107
116
  const _LMR = "ListMemoryRecords";
108
117
  const _LMRI = "ListMemoryRecordsInput";
109
118
  const _LMRO = "ListMemoryRecordsOutput";
@@ -112,7 +121,9 @@ const _LSI = "ListSessionsInput";
112
121
  const _LSO = "ListSessionsOutput";
113
122
  const _LVS = "LiveViewStream";
114
123
  const _MC = "MemoryContent";
115
- const _MM = "MetadataMap";
124
+ const _ML = "MessagesList";
125
+ const _MM = "MessageMetadata";
126
+ const _MMe = "MetadataMap";
116
127
  const _MPV = "Mcp-Protocol-Version";
117
128
  const _MR = "MemoryRecord";
118
129
  const _MRCI = "MemoryRecordCreateInput";
@@ -152,6 +163,9 @@ const _SCISRto = "StopCodeInterpreterSessionRequest";
152
163
  const _SCISRtop = "StopCodeInterpreterSessionResponse";
153
164
  const _SCISt = "StopCodeInterpreterSession";
154
165
  const _SE = "ServiceException";
166
+ const _SMEJ = "StartMemoryExtractionJob";
167
+ const _SMEJI = "StartMemoryExtractionJobInput";
168
+ const _SMEJO = "StartMemoryExtractionJobOutput";
155
169
  const _SQEE = "ServiceQuotaExceededException";
156
170
  const _SRS = "StopRuntimeSession";
157
171
  const _SRSR = "StopRuntimeSessionRequest";
@@ -215,6 +229,7 @@ const _e = "error";
215
229
  const _eC = "errorCode";
216
230
  const _eCx = "exitCode";
217
231
  const _eI = "eventId";
232
+ const _eJ = "extractionJob";
218
233
  const _eM = "eventMetadata";
219
234
  const _eMr = "errorMessage";
220
235
  const _eT = "eventTimestamp";
@@ -225,6 +240,7 @@ const _f = "filter";
225
240
  const _fA = "forceAuthentication";
226
241
  const _fL = "fieldList";
227
242
  const _fR = "failedRecords";
243
+ const _fRa = "failureReason";
228
244
  const _h = "height";
229
245
  const _hE = "httpError";
230
246
  const _hH = "httpHeader";
@@ -236,13 +252,18 @@ const _iP = "includePayloads";
236
252
  const _iPB = "includeParentBranches";
237
253
  const _iSE = "internalServerException";
238
254
  const _iT = "idempotencyToken";
255
+ const _j = "jobs";
256
+ const _jI = "jobId";
257
+ const _jID = "jobID";
239
258
  const _l = "left";
240
259
  const _lUA = "lastUpdatedAt";
241
260
  const _lVS = "liveViewStream";
242
261
  const _la = "language";
243
262
  const _m = "message";
244
263
  const _mI = "memoryId";
264
+ const _mIe = "messageIndex";
245
265
  const _mK = "metadataKey";
266
+ const _mL = "messagesList";
246
267
  const _mPV = "mcpProtocolVersion";
247
268
  const _mR = "memoryRecord";
248
269
  const _mRI = "memoryRecordId";
@@ -253,6 +274,7 @@ const _mSIe = "memoryStrategyId";
253
274
  const _mT = "mimeType";
254
275
  const _mV = "metadataValue";
255
276
  const _me = "metadata";
277
+ const _mes = "messages";
256
278
  const _n = "name";
257
279
  const _nT = "nextToken";
258
280
  const _na = "namespace";
@@ -283,6 +305,7 @@ const _sCe = "searchCriteria";
283
305
  const _sCt = "statusCode";
284
306
  const _sE = "streamEndpoint";
285
307
  const _sI = "sessionId";
308
+ const _sIt = "strategyId";
286
309
  const _sQ = "searchQuery";
287
310
  const _sQEE = "serviceQuotaExceededException";
288
311
  const _sR = "successfulRecords";
@@ -338,6 +361,7 @@ export var ApiKeyType = [0, n0, _AKT, 8, 0];
338
361
  export var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
339
362
  export var Body = [0, n0, _B, 8, 21];
340
363
  export var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
364
+ export var Document = [0, n0, _D, 8, 15];
341
365
  export var ResponseStream = [
342
366
  0,
343
367
  n0,
@@ -537,6 +561,16 @@ export var EventMetadataFilterExpression = [
537
561
  [_l, _o, _ri],
538
562
  [() => LeftExpression, 0, () => RightExpression],
539
563
  ];
564
+ export var ExtractionJob = [3, n0, _EJ, 0, [_jI], [0]];
565
+ export var ExtractionJobFilterInput = [3, n0, _EJFI, 0, [_sIt, _sI, _aI, _st], [0, 0, 0, 0]];
566
+ export var ExtractionJobMetadata = [
567
+ 3,
568
+ n0,
569
+ _EJM,
570
+ 0,
571
+ [_jID, _mes, _st, _fRa, _sIt, _sI, _aI],
572
+ [0, () => ExtractionJobMessages, 0, 0, 0, 0, 0],
573
+ ];
540
574
  export var FilterInput = [
541
575
  3,
542
576
  n0,
@@ -985,6 +1019,22 @@ export var ListEventsInput = [
985
1019
  [[0, 1], [0, 1], [0, 1], 2, () => FilterInput, 1, 0],
986
1020
  ];
987
1021
  export var ListEventsOutput = [3, n0, _LEO, 0, [_eve, _nT], [[() => EventList, 0], 0]];
1022
+ export var ListMemoryExtractionJobsInput = [
1023
+ 3,
1024
+ n0,
1025
+ _LMEJI,
1026
+ 0,
1027
+ [_mI, _mRa, _f, _nT],
1028
+ [[0, 1], 1, () => ExtractionJobFilterInput, 0],
1029
+ ];
1030
+ export var ListMemoryExtractionJobsOutput = [
1031
+ 3,
1032
+ n0,
1033
+ _LMEJO,
1034
+ 0,
1035
+ [_j, _nT],
1036
+ [() => ExtractionJobMetadataList, 0],
1037
+ ];
988
1038
  export var ListMemoryRecordsInput = [
989
1039
  3,
990
1040
  n0,
@@ -1038,6 +1088,7 @@ export var MemoryRecordUpdateInput = [
1038
1088
  [_mRI, _ti, _co, _nam, _mSIe],
1039
1089
  [0, 4, [() => MemoryContent, 0], 64 | 0, 0],
1040
1090
  ];
1091
+ export var MessageMetadata = [3, n0, _MM, 0, [_eI, _mIe], [0, 1]];
1041
1092
  export var ResourceContent = [3, n0, _RC, 0, [_t, _u, _mT, _te, _bl], [0, 0, 0, 0, 21]];
1042
1093
  export var ResourceNotFoundException = [
1043
1094
  -3,
@@ -1179,6 +1230,15 @@ export var StartCodeInterpreterSessionResponse = [
1179
1230
  [_cII, _sI, _cA],
1180
1231
  [0, 0, 5],
1181
1232
  ];
1233
+ export var StartMemoryExtractionJobInput = [
1234
+ 3,
1235
+ n0,
1236
+ _SMEJI,
1237
+ 0,
1238
+ [_mI, _eJ, _cT],
1239
+ [[0, 1], () => ExtractionJob, [0, 4]],
1240
+ ];
1241
+ export var StartMemoryExtractionJobOutput = [3, n0, _SMEJO, 0, [_jI], [0]];
1182
1242
  export var StopBrowserSessionRequest = [
1183
1243
  3,
1184
1244
  n0,
@@ -1393,12 +1453,14 @@ export var CodeInterpreterSessionSummaries = [1, n0, _CISSo, 0, () => CodeInterp
1393
1453
  export var ContentBlockList = [1, n0, _CBL, 0, () => ContentBlock];
1394
1454
  export var EventList = [1, n0, _EL, 0, [() => Event, 0]];
1395
1455
  export var EventMetadataFilterList = [1, n0, _EMFL, 0, () => EventMetadataFilterExpression];
1456
+ export var ExtractionJobMetadataList = [1, n0, _EJML, 0, () => ExtractionJobMetadata];
1396
1457
  export var InputContentBlockList = [1, n0, _ICBL, 0, [() => InputContentBlock, 0]];
1397
1458
  export var MemoryRecordsCreateInputList = [1, n0, _MRCIL, 0, [() => MemoryRecordCreateInput, 0]];
1398
1459
  export var MemoryRecordsDeleteInputList = [1, n0, _MRDIL, 0, () => MemoryRecordDeleteInput];
1399
1460
  export var MemoryRecordsOutputList = [1, n0, _MROL, 0, () => MemoryRecordOutput];
1400
1461
  export var MemoryRecordSummaryList = [1, n0, _MRSL, 0, [() => MemoryRecordSummary, 0]];
1401
1462
  export var MemoryRecordsUpdateInputList = [1, n0, _MRUIL, 0, [() => MemoryRecordUpdateInput, 0]];
1463
+ export var MessagesList = [1, n0, _ML, 0, () => MessageMetadata];
1402
1464
  export var NamespacesList = 64 | 0;
1403
1465
  export var PayloadTypeList = [1, n0, _PTL, 0, [() => PayloadType, 0]];
1404
1466
  export var ScopesListType = 64 | 0;
@@ -1406,7 +1468,7 @@ export var SessionSummaryList = [1, n0, _SSL, 0, () => SessionSummary];
1406
1468
  export var StringList = 64 | 0;
1407
1469
  export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1408
1470
  export var CustomRequestParametersType = [2, n0, _CRPT, 0, [0, 0], [() => CustomRequestValueType, 0]];
1409
- export var MetadataMap = [2, n0, _MM, 0, 0, () => MetadataValue];
1471
+ export var MetadataMap = [2, n0, _MMe, 0, 0, () => MetadataValue];
1410
1472
  export var CodeInterpreterStreamOutput = [
1411
1473
  3,
1412
1474
  n0,
@@ -1427,10 +1489,21 @@ export var CodeInterpreterStreamOutput = [
1427
1489
  ],
1428
1490
  ];
1429
1491
  export var Content = [3, n0, _Co, 0, [_te], [[() => SensitiveString, 0]]];
1492
+ export var ExtractionJobMessages = [3, n0, _EJMx, 0, [_mL], [() => MessagesList]];
1430
1493
  export var LeftExpression = [3, n0, _LE, 0, [_mK], [0]];
1431
1494
  export var MemoryContent = [3, n0, _MC, 0, [_te], [[() => SensitiveString, 0]]];
1432
1495
  export var MetadataValue = [3, n0, _MV, 0, [_sV], [0]];
1433
- export var PayloadType = [3, n0, _PT, 0, [_con, _bl], [[() => Conversational, 0], 15]];
1496
+ export var PayloadType = [
1497
+ 3,
1498
+ n0,
1499
+ _PT,
1500
+ 0,
1501
+ [_con, _bl],
1502
+ [
1503
+ [() => Conversational, 0],
1504
+ [() => Document, 0],
1505
+ ],
1506
+ ];
1434
1507
  export var RightExpression = [3, n0, _RE, 0, [_mV], [() => MetadataValue]];
1435
1508
  export var StreamUpdate = [3, n0, _SU, 0, [_aSU], [() => AutomationStreamUpdate]];
1436
1509
  export var UserIdentifier = [3, n0, _UI, 0, [_uT, _uIs], [[() => UserTokenType, 0], 0]];
@@ -1664,6 +1737,16 @@ export var ListEvents = [
1664
1737
  () => ListEventsInput,
1665
1738
  () => ListEventsOutput,
1666
1739
  ];
1740
+ export var ListMemoryExtractionJobs = [
1741
+ 9,
1742
+ n0,
1743
+ _LMEJ,
1744
+ {
1745
+ [_ht]: ["POST", "/memories/{memoryId}/extractionJobs", 200],
1746
+ },
1747
+ () => ListMemoryExtractionJobsInput,
1748
+ () => ListMemoryExtractionJobsOutput,
1749
+ ];
1667
1750
  export var ListMemoryRecords = [
1668
1751
  9,
1669
1752
  n0,
@@ -1714,6 +1797,16 @@ export var StartCodeInterpreterSession = [
1714
1797
  () => StartCodeInterpreterSessionRequest,
1715
1798
  () => StartCodeInterpreterSessionResponse,
1716
1799
  ];
1800
+ export var StartMemoryExtractionJob = [
1801
+ 9,
1802
+ n0,
1803
+ _SMEJ,
1804
+ {
1805
+ [_ht]: ["POST", "/memories/{memoryId}/extractionJobs/start", 200],
1806
+ },
1807
+ () => StartMemoryExtractionJobInput,
1808
+ () => StartMemoryExtractionJobOutput,
1809
+ ];
1717
1810
  export var StopBrowserSession = [
1718
1811
  9,
1719
1812
  n0,
@@ -23,11 +23,13 @@ import { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/List
23
23
  import { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
24
24
  import { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
25
25
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
26
+ import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
26
27
  import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
27
28
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
28
29
  import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
29
30
  import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
30
31
  import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
32
+ import { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
31
33
  import { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
32
34
  import { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
33
35
  import { StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
@@ -171,6 +173,12 @@ export interface BedrockAgentCore {
171
173
  listEvents(args: ListEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventsCommandOutput>;
172
174
  listEvents(args: ListEventsCommandInput, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
173
175
  listEvents(args: ListEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
176
+ /**
177
+ * @see {@link ListMemoryExtractionJobsCommand}
178
+ */
179
+ listMemoryExtractionJobs(args: ListMemoryExtractionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListMemoryExtractionJobsCommandOutput>;
180
+ listMemoryExtractionJobs(args: ListMemoryExtractionJobsCommandInput, cb: (err: any, data?: ListMemoryExtractionJobsCommandOutput) => void): void;
181
+ listMemoryExtractionJobs(args: ListMemoryExtractionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMemoryExtractionJobsCommandOutput) => void): void;
174
182
  /**
175
183
  * @see {@link ListMemoryRecordsCommand}
176
184
  */
@@ -201,6 +209,12 @@ export interface BedrockAgentCore {
201
209
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartCodeInterpreterSessionCommandOutput>;
202
210
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, cb: (err: any, data?: StartCodeInterpreterSessionCommandOutput) => void): void;
203
211
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCodeInterpreterSessionCommandOutput) => void): void;
212
+ /**
213
+ * @see {@link StartMemoryExtractionJobCommand}
214
+ */
215
+ startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartMemoryExtractionJobCommandOutput>;
216
+ startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, cb: (err: any, data?: StartMemoryExtractionJobCommandOutput) => void): void;
217
+ startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMemoryExtractionJobCommandOutput) => void): void;
204
218
  /**
205
219
  * @see {@link StopBrowserSessionCommand}
206
220
  */
@@ -227,7 +241,7 @@ export interface BedrockAgentCore {
227
241
  updateBrowserStream(args: UpdateBrowserStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrowserStreamCommandOutput) => void): void;
228
242
  }
229
243
  /**
230
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
244
+ * <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
231
245
  * @public
232
246
  */
233
247
  export declare class BedrockAgentCore extends BedrockAgentCoreClient implements BedrockAgentCore {
@@ -31,11 +31,13 @@ import { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/List
31
31
  import { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
32
32
  import { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
33
33
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
34
+ import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
34
35
  import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
35
36
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
36
37
  import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
37
38
  import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
38
39
  import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
40
+ import { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
39
41
  import { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
40
42
  import { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
41
43
  import { StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
@@ -46,11 +48,11 @@ export { __Client };
46
48
  /**
47
49
  * @public
48
50
  */
49
- export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
51
+ export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
50
52
  /**
51
53
  * @public
52
54
  */
53
- export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
55
+ export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
54
56
  /**
55
57
  * @public
56
58
  */
@@ -220,7 +222,7 @@ export type BedrockAgentCoreClientResolvedConfigType = __SmithyResolvedConfigura
220
222
  export interface BedrockAgentCoreClientResolvedConfig extends BedrockAgentCoreClientResolvedConfigType {
221
223
  }
222
224
  /**
223
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
225
+ * <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
224
226
  * @public
225
227
  */
226
228
  export declare class BedrockAgentCoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentCoreClientResolvedConfig> {
@@ -0,0 +1,118 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import { ListMemoryExtractionJobsInput, ListMemoryExtractionJobsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListMemoryExtractionJobsCommand}.
14
+ */
15
+ export interface ListMemoryExtractionJobsCommandInput extends ListMemoryExtractionJobsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMemoryExtractionJobsCommand}.
21
+ */
22
+ export interface ListMemoryExtractionJobsCommandOutput extends ListMemoryExtractionJobsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListMemoryExtractionJobsCommand_base: {
25
+ new (input: ListMemoryExtractionJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListMemoryExtractionJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all long-term memory extraction jobs that are eligible to be started with optional filtering.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListMemoryExtractionJobs</code> permission.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, ListMemoryExtractionJobsCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, ListMemoryExtractionJobsCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // ListMemoryExtractionJobsInput
40
+ * memoryId: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * filter: { // ExtractionJobFilterInput
43
+ * strategyId: "STRING_VALUE",
44
+ * sessionId: "STRING_VALUE",
45
+ * actorId: "STRING_VALUE",
46
+ * status: "FAILED",
47
+ * },
48
+ * nextToken: "STRING_VALUE",
49
+ * };
50
+ * const command = new ListMemoryExtractionJobsCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ListMemoryExtractionJobsOutput
53
+ * // jobs: [ // ExtractionJobMetadataList // required
54
+ * // { // ExtractionJobMetadata
55
+ * // jobID: "STRING_VALUE", // required
56
+ * // messages: { // ExtractionJobMessages Union: only one key present
57
+ * // messagesList: [ // MessagesList
58
+ * // { // MessageMetadata
59
+ * // eventId: "STRING_VALUE", // required
60
+ * // messageIndex: Number("int"), // required
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // status: "FAILED",
65
+ * // failureReason: "STRING_VALUE",
66
+ * // strategyId: "STRING_VALUE",
67
+ * // sessionId: "STRING_VALUE",
68
+ * // actorId: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // nextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListMemoryExtractionJobsCommandInput - {@link ListMemoryExtractionJobsCommandInput}
77
+ * @returns {@link ListMemoryExtractionJobsCommandOutput}
78
+ * @see {@link ListMemoryExtractionJobsCommandInput} for command's `input` shape.
79
+ * @see {@link ListMemoryExtractionJobsCommandOutput} for command's `response` shape.
80
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
87
+ *
88
+ * @throws {@link ServiceException} (server fault)
89
+ * <p>The service encountered an internal error. Try your request again later.</p>
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
93
+ *
94
+ * @throws {@link ThrottledException} (client fault)
95
+ * <p>The request was denied due to request throttling. Reduce the frequency of requests and try again.</p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
99
+ *
100
+ * @throws {@link BedrockAgentCoreServiceException}
101
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class ListMemoryExtractionJobsCommand extends ListMemoryExtractionJobsCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: ListMemoryExtractionJobsInput;
111
+ output: ListMemoryExtractionJobsOutput;
112
+ };
113
+ sdk: {
114
+ input: ListMemoryExtractionJobsCommandInput;
115
+ output: ListMemoryExtractionJobsCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import { StartMemoryExtractionJobInput, StartMemoryExtractionJobOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartMemoryExtractionJobCommand}.
14
+ */
15
+ export interface StartMemoryExtractionJobCommandInput extends StartMemoryExtractionJobInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartMemoryExtractionJobCommand}.
21
+ */
22
+ export interface StartMemoryExtractionJobCommandOutput extends StartMemoryExtractionJobOutput, __MetadataBearer {
23
+ }
24
+ declare const StartMemoryExtractionJobCommand_base: {
25
+ new (input: StartMemoryExtractionJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartMemoryExtractionJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records. When earlier extraction attempts have left events unprocessed, this job will pick up and extract those as well. </p> <p>To use this operation, you must have the <code>bedrock-agentcore:StartMemoryExtractionJob</code> permission.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, StartMemoryExtractionJobCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, StartMemoryExtractionJobCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // StartMemoryExtractionJobInput
40
+ * memoryId: "STRING_VALUE", // required
41
+ * extractionJob: { // ExtractionJob
42
+ * jobId: "STRING_VALUE", // required
43
+ * },
44
+ * clientToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new StartMemoryExtractionJobCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // StartMemoryExtractionJobOutput
49
+ * // jobId: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param StartMemoryExtractionJobCommandInput - {@link StartMemoryExtractionJobCommandInput}
55
+ * @returns {@link StartMemoryExtractionJobCommandOutput}
56
+ * @see {@link StartMemoryExtractionJobCommandInput} for command's `input` shape.
57
+ * @see {@link StartMemoryExtractionJobCommandOutput} for command's `response` shape.
58
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
65
+ *
66
+ * @throws {@link ServiceException} (server fault)
67
+ * <p>The service encountered an internal error. Try your request again later.</p>
68
+ *
69
+ * @throws {@link ServiceQuotaExceededException} (client fault)
70
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
71
+ *
72
+ * @throws {@link ThrottledException} (client fault)
73
+ * <p>The request was denied due to request throttling. Reduce the frequency of requests and try again.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
77
+ *
78
+ * @throws {@link BedrockAgentCoreServiceException}
79
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class StartMemoryExtractionJobCommand extends StartMemoryExtractionJobCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: StartMemoryExtractionJobInput;
89
+ output: StartMemoryExtractionJobOutput;
90
+ };
91
+ sdk: {
92
+ input: StartMemoryExtractionJobCommandInput;
93
+ output: StartMemoryExtractionJobCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -21,11 +21,13 @@ export * from "./ListActorsCommand";
21
21
  export * from "./ListBrowserSessionsCommand";
22
22
  export * from "./ListCodeInterpreterSessionsCommand";
23
23
  export * from "./ListEventsCommand";
24
+ export * from "./ListMemoryExtractionJobsCommand";
24
25
  export * from "./ListMemoryRecordsCommand";
25
26
  export * from "./ListSessionsCommand";
26
27
  export * from "./RetrieveMemoryRecordsCommand";
27
28
  export * from "./StartBrowserSessionCommand";
28
29
  export * from "./StartCodeInterpreterSessionCommand";
30
+ export * from "./StartMemoryExtractionJobCommand";
29
31
  export * from "./StopBrowserSessionCommand";
30
32
  export * from "./StopCodeInterpreterSessionCommand";
31
33
  export * from "./StopRuntimeSessionCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <note> <p>Amazon Bedrock AgentCore is in preview release and is subject to change.</p> </note> <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
2
+ * <p>Welcome to the Amazon Bedrock AgentCore Data Plane API reference. Data Plane actions process and handle data or workloads within Amazon Web Services services. </p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -185,3 +185,14 @@ export declare const OperatorType: {
185
185
  * @public
186
186
  */
187
187
  export type OperatorType = (typeof OperatorType)[keyof typeof OperatorType];
188
+ /**
189
+ * @public
190
+ * @enum
191
+ */
192
+ export declare const ExtractionJobStatus: {
193
+ readonly FAILED: "FAILED";
194
+ };
195
+ /**
196
+ * @public
197
+ */
198
+ export type ExtractionJobStatus = (typeof ExtractionJobStatus)[keyof typeof ExtractionJobStatus];