@aws-sdk/client-bedrock-agentcore 3.936.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.
- package/README.md +17 -1
- package/dist-cjs/index.js +131 -3
- package/dist-es/BedrockAgentCore.js +4 -0
- package/dist-es/commands/ListMemoryExtractionJobsCommand.js +16 -0
- package/dist-es/commands/StartMemoryExtractionJobCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/pagination/ListMemoryExtractionJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +96 -3
- package/dist-types/BedrockAgentCore.d.ts +15 -1
- package/dist-types/BedrockAgentCoreClient.d.ts +5 -3
- package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +118 -0
- package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +207 -10
- package/dist-types/pagination/ListMemoryExtractionJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/pagination/ListMemoryExtractionJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript BedrockAgentCore Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<
|
|
9
|
+
<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>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
|
@@ -386,6 +386,14 @@ ListEvents
|
|
|
386
386
|
|
|
387
387
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/ListEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListEventsCommandOutput/)
|
|
388
388
|
|
|
389
|
+
</details>
|
|
390
|
+
<details>
|
|
391
|
+
<summary>
|
|
392
|
+
ListMemoryExtractionJobs
|
|
393
|
+
</summary>
|
|
394
|
+
|
|
395
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/ListMemoryExtractionJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListMemoryExtractionJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListMemoryExtractionJobsCommandOutput/)
|
|
396
|
+
|
|
389
397
|
</details>
|
|
390
398
|
<details>
|
|
391
399
|
<summary>
|
|
@@ -426,6 +434,14 @@ StartCodeInterpreterSession
|
|
|
426
434
|
|
|
427
435
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/StartCodeInterpreterSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StartCodeInterpreterSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StartCodeInterpreterSessionCommandOutput/)
|
|
428
436
|
|
|
437
|
+
</details>
|
|
438
|
+
<details>
|
|
439
|
+
<summary>
|
|
440
|
+
StartMemoryExtractionJob
|
|
441
|
+
</summary>
|
|
442
|
+
|
|
443
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/StartMemoryExtractionJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StartMemoryExtractionJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StartMemoryExtractionJobCommandOutput/)
|
|
444
|
+
|
|
429
445
|
</details>
|
|
430
446
|
<details>
|
|
431
447
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -310,6 +310,7 @@ const _CRTARo = "CompleteResourceTokenAuthResponse";
|
|
|
310
310
|
const _CRVT = "CustomRequestValueType";
|
|
311
311
|
const _CT = "Content-Type";
|
|
312
312
|
const _Co = "Content";
|
|
313
|
+
const _D = "Document";
|
|
313
314
|
const _DE = "DeleteEvent";
|
|
314
315
|
const _DEI = "DeleteEventInput";
|
|
315
316
|
const _DEO = "DeleteEventOutput";
|
|
@@ -317,6 +318,11 @@ const _DMR = "DeleteMemoryRecord";
|
|
|
317
318
|
const _DMRI = "DeleteMemoryRecordInput";
|
|
318
319
|
const _DMRO = "DeleteMemoryRecordOutput";
|
|
319
320
|
const _E = "Event";
|
|
321
|
+
const _EJ = "ExtractionJob";
|
|
322
|
+
const _EJFI = "ExtractionJobFilterInput";
|
|
323
|
+
const _EJM = "ExtractionJobMetadata";
|
|
324
|
+
const _EJML = "ExtractionJobMetadataList";
|
|
325
|
+
const _EJMx = "ExtractionJobMessages";
|
|
320
326
|
const _EL = "EventList";
|
|
321
327
|
const _EMFE = "EventMetadataFilterExpression";
|
|
322
328
|
const _EMFL = "EventMetadataFilterList";
|
|
@@ -374,6 +380,9 @@ const _LE = "LeftExpression";
|
|
|
374
380
|
const _LEI = "ListEventsInput";
|
|
375
381
|
const _LEO = "ListEventsOutput";
|
|
376
382
|
const _LEi = "ListEvents";
|
|
383
|
+
const _LMEJ = "ListMemoryExtractionJobs";
|
|
384
|
+
const _LMEJI = "ListMemoryExtractionJobsInput";
|
|
385
|
+
const _LMEJO = "ListMemoryExtractionJobsOutput";
|
|
377
386
|
const _LMR = "ListMemoryRecords";
|
|
378
387
|
const _LMRI = "ListMemoryRecordsInput";
|
|
379
388
|
const _LMRO = "ListMemoryRecordsOutput";
|
|
@@ -382,7 +391,9 @@ const _LSI = "ListSessionsInput";
|
|
|
382
391
|
const _LSO = "ListSessionsOutput";
|
|
383
392
|
const _LVS = "LiveViewStream";
|
|
384
393
|
const _MC = "MemoryContent";
|
|
385
|
-
const
|
|
394
|
+
const _ML = "MessagesList";
|
|
395
|
+
const _MM = "MessageMetadata";
|
|
396
|
+
const _MMe = "MetadataMap";
|
|
386
397
|
const _MPV = "Mcp-Protocol-Version";
|
|
387
398
|
const _MR = "MemoryRecord";
|
|
388
399
|
const _MRCI = "MemoryRecordCreateInput";
|
|
@@ -422,6 +433,9 @@ const _SCISRto = "StopCodeInterpreterSessionRequest";
|
|
|
422
433
|
const _SCISRtop = "StopCodeInterpreterSessionResponse";
|
|
423
434
|
const _SCISt = "StopCodeInterpreterSession";
|
|
424
435
|
const _SE = "ServiceException";
|
|
436
|
+
const _SMEJ = "StartMemoryExtractionJob";
|
|
437
|
+
const _SMEJI = "StartMemoryExtractionJobInput";
|
|
438
|
+
const _SMEJO = "StartMemoryExtractionJobOutput";
|
|
425
439
|
const _SQEE = "ServiceQuotaExceededException";
|
|
426
440
|
const _SRS = "StopRuntimeSession";
|
|
427
441
|
const _SRSR = "StopRuntimeSessionRequest";
|
|
@@ -485,6 +499,7 @@ const _e = "error";
|
|
|
485
499
|
const _eC = "errorCode";
|
|
486
500
|
const _eCx = "exitCode";
|
|
487
501
|
const _eI = "eventId";
|
|
502
|
+
const _eJ = "extractionJob";
|
|
488
503
|
const _eM = "eventMetadata";
|
|
489
504
|
const _eMr = "errorMessage";
|
|
490
505
|
const _eT = "eventTimestamp";
|
|
@@ -495,6 +510,7 @@ const _f = "filter";
|
|
|
495
510
|
const _fA = "forceAuthentication";
|
|
496
511
|
const _fL = "fieldList";
|
|
497
512
|
const _fR = "failedRecords";
|
|
513
|
+
const _fRa = "failureReason";
|
|
498
514
|
const _h = "height";
|
|
499
515
|
const _hE = "httpError";
|
|
500
516
|
const _hH = "httpHeader";
|
|
@@ -506,13 +522,18 @@ const _iP = "includePayloads";
|
|
|
506
522
|
const _iPB = "includeParentBranches";
|
|
507
523
|
const _iSE = "internalServerException";
|
|
508
524
|
const _iT = "idempotencyToken";
|
|
525
|
+
const _j = "jobs";
|
|
526
|
+
const _jI = "jobId";
|
|
527
|
+
const _jID = "jobID";
|
|
509
528
|
const _l = "left";
|
|
510
529
|
const _lUA = "lastUpdatedAt";
|
|
511
530
|
const _lVS = "liveViewStream";
|
|
512
531
|
const _la = "language";
|
|
513
532
|
const _m = "message";
|
|
514
533
|
const _mI = "memoryId";
|
|
534
|
+
const _mIe = "messageIndex";
|
|
515
535
|
const _mK = "metadataKey";
|
|
536
|
+
const _mL = "messagesList";
|
|
516
537
|
const _mPV = "mcpProtocolVersion";
|
|
517
538
|
const _mR = "memoryRecord";
|
|
518
539
|
const _mRI = "memoryRecordId";
|
|
@@ -523,6 +544,7 @@ const _mSIe = "memoryStrategyId";
|
|
|
523
544
|
const _mT = "mimeType";
|
|
524
545
|
const _mV = "metadataValue";
|
|
525
546
|
const _me = "metadata";
|
|
547
|
+
const _mes = "messages";
|
|
526
548
|
const _n = "name";
|
|
527
549
|
const _nT = "nextToken";
|
|
528
550
|
const _na = "namespace";
|
|
@@ -553,6 +575,7 @@ const _sCe = "searchCriteria";
|
|
|
553
575
|
const _sCt = "statusCode";
|
|
554
576
|
const _sE = "streamEndpoint";
|
|
555
577
|
const _sI = "sessionId";
|
|
578
|
+
const _sIt = "strategyId";
|
|
556
579
|
const _sQ = "searchQuery";
|
|
557
580
|
const _sQEE = "serviceQuotaExceededException";
|
|
558
581
|
const _sR = "successfulRecords";
|
|
@@ -605,6 +628,7 @@ var ApiKeyType = [0, n0, _AKT, 8, 0];
|
|
|
605
628
|
var AuthorizationUrlType = [0, n0, _AUT, 8, 0];
|
|
606
629
|
var Body = [0, n0, _B, 8, 21];
|
|
607
630
|
var CustomRequestValueType = [0, n0, _CRVT, 8, 0];
|
|
631
|
+
var Document = [0, n0, _D, 8, 15];
|
|
608
632
|
var ResponseStream = [
|
|
609
633
|
0,
|
|
610
634
|
n0,
|
|
@@ -804,6 +828,16 @@ var EventMetadataFilterExpression = [
|
|
|
804
828
|
[_l, _o, _ri],
|
|
805
829
|
[() => LeftExpression, 0, () => RightExpression],
|
|
806
830
|
];
|
|
831
|
+
var ExtractionJob = [3, n0, _EJ, 0, [_jI], [0]];
|
|
832
|
+
var ExtractionJobFilterInput = [3, n0, _EJFI, 0, [_sIt, _sI, _aI, _st], [0, 0, 0, 0]];
|
|
833
|
+
var ExtractionJobMetadata = [
|
|
834
|
+
3,
|
|
835
|
+
n0,
|
|
836
|
+
_EJM,
|
|
837
|
+
0,
|
|
838
|
+
[_jID, _mes, _st, _fRa, _sIt, _sI, _aI],
|
|
839
|
+
[0, () => ExtractionJobMessages, 0, 0, 0, 0, 0],
|
|
840
|
+
];
|
|
807
841
|
var FilterInput = [
|
|
808
842
|
3,
|
|
809
843
|
n0,
|
|
@@ -1252,6 +1286,22 @@ var ListEventsInput = [
|
|
|
1252
1286
|
[[0, 1], [0, 1], [0, 1], 2, () => FilterInput, 1, 0],
|
|
1253
1287
|
];
|
|
1254
1288
|
var ListEventsOutput = [3, n0, _LEO, 0, [_eve, _nT], [[() => EventList, 0], 0]];
|
|
1289
|
+
var ListMemoryExtractionJobsInput = [
|
|
1290
|
+
3,
|
|
1291
|
+
n0,
|
|
1292
|
+
_LMEJI,
|
|
1293
|
+
0,
|
|
1294
|
+
[_mI, _mRa, _f, _nT],
|
|
1295
|
+
[[0, 1], 1, () => ExtractionJobFilterInput, 0],
|
|
1296
|
+
];
|
|
1297
|
+
var ListMemoryExtractionJobsOutput = [
|
|
1298
|
+
3,
|
|
1299
|
+
n0,
|
|
1300
|
+
_LMEJO,
|
|
1301
|
+
0,
|
|
1302
|
+
[_j, _nT],
|
|
1303
|
+
[() => ExtractionJobMetadataList, 0],
|
|
1304
|
+
];
|
|
1255
1305
|
var ListMemoryRecordsInput = [
|
|
1256
1306
|
3,
|
|
1257
1307
|
n0,
|
|
@@ -1305,6 +1355,7 @@ var MemoryRecordUpdateInput = [
|
|
|
1305
1355
|
[_mRI, _ti, _co, _nam, _mSIe],
|
|
1306
1356
|
[0, 4, [() => MemoryContent, 0], 64 | 0, 0],
|
|
1307
1357
|
];
|
|
1358
|
+
var MessageMetadata = [3, n0, _MM, 0, [_eI, _mIe], [0, 1]];
|
|
1308
1359
|
var ResourceContent = [3, n0, _RC, 0, [_t, _u, _mT, _te, _bl], [0, 0, 0, 0, 21]];
|
|
1309
1360
|
var ResourceNotFoundException = [
|
|
1310
1361
|
-3,
|
|
@@ -1446,6 +1497,15 @@ var StartCodeInterpreterSessionResponse = [
|
|
|
1446
1497
|
[_cII, _sI, _cA],
|
|
1447
1498
|
[0, 0, 5],
|
|
1448
1499
|
];
|
|
1500
|
+
var StartMemoryExtractionJobInput = [
|
|
1501
|
+
3,
|
|
1502
|
+
n0,
|
|
1503
|
+
_SMEJI,
|
|
1504
|
+
0,
|
|
1505
|
+
[_mI, _eJ, _cT],
|
|
1506
|
+
[[0, 1], () => ExtractionJob, [0, 4]],
|
|
1507
|
+
];
|
|
1508
|
+
var StartMemoryExtractionJobOutput = [3, n0, _SMEJO, 0, [_jI], [0]];
|
|
1449
1509
|
var StopBrowserSessionRequest = [
|
|
1450
1510
|
3,
|
|
1451
1511
|
n0,
|
|
@@ -1659,17 +1719,19 @@ var CodeInterpreterSessionSummaries = [1, n0, _CISSo, 0, () => CodeInterpreterSe
|
|
|
1659
1719
|
var ContentBlockList = [1, n0, _CBL, 0, () => ContentBlock];
|
|
1660
1720
|
var EventList = [1, n0, _EL, 0, [() => Event, 0]];
|
|
1661
1721
|
var EventMetadataFilterList = [1, n0, _EMFL, 0, () => EventMetadataFilterExpression];
|
|
1722
|
+
var ExtractionJobMetadataList = [1, n0, _EJML, 0, () => ExtractionJobMetadata];
|
|
1662
1723
|
var InputContentBlockList = [1, n0, _ICBL, 0, [() => InputContentBlock, 0]];
|
|
1663
1724
|
var MemoryRecordsCreateInputList = [1, n0, _MRCIL, 0, [() => MemoryRecordCreateInput, 0]];
|
|
1664
1725
|
var MemoryRecordsDeleteInputList = [1, n0, _MRDIL, 0, () => MemoryRecordDeleteInput];
|
|
1665
1726
|
var MemoryRecordsOutputList = [1, n0, _MROL, 0, () => MemoryRecordOutput];
|
|
1666
1727
|
var MemoryRecordSummaryList = [1, n0, _MRSL, 0, [() => MemoryRecordSummary, 0]];
|
|
1667
1728
|
var MemoryRecordsUpdateInputList = [1, n0, _MRUIL, 0, [() => MemoryRecordUpdateInput, 0]];
|
|
1729
|
+
var MessagesList = [1, n0, _ML, 0, () => MessageMetadata];
|
|
1668
1730
|
var PayloadTypeList = [1, n0, _PTL, 0, [() => PayloadType, 0]];
|
|
1669
1731
|
var SessionSummaryList = [1, n0, _SSL, 0, () => SessionSummary];
|
|
1670
1732
|
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
1671
1733
|
var CustomRequestParametersType = [2, n0, _CRPT, 0, [0, 0], [() => CustomRequestValueType, 0]];
|
|
1672
|
-
var MetadataMap = [2, n0,
|
|
1734
|
+
var MetadataMap = [2, n0, _MMe, 0, 0, () => MetadataValue];
|
|
1673
1735
|
var CodeInterpreterStreamOutput = [
|
|
1674
1736
|
3,
|
|
1675
1737
|
n0,
|
|
@@ -1690,10 +1752,21 @@ var CodeInterpreterStreamOutput = [
|
|
|
1690
1752
|
],
|
|
1691
1753
|
];
|
|
1692
1754
|
var Content = [3, n0, _Co, 0, [_te], [[() => SensitiveString, 0]]];
|
|
1755
|
+
var ExtractionJobMessages = [3, n0, _EJMx, 0, [_mL], [() => MessagesList]];
|
|
1693
1756
|
var LeftExpression = [3, n0, _LE, 0, [_mK], [0]];
|
|
1694
1757
|
var MemoryContent = [3, n0, _MC, 0, [_te], [[() => SensitiveString, 0]]];
|
|
1695
1758
|
var MetadataValue = [3, n0, _MV, 0, [_sV], [0]];
|
|
1696
|
-
var PayloadType = [
|
|
1759
|
+
var PayloadType = [
|
|
1760
|
+
3,
|
|
1761
|
+
n0,
|
|
1762
|
+
_PT,
|
|
1763
|
+
0,
|
|
1764
|
+
[_con, _bl],
|
|
1765
|
+
[
|
|
1766
|
+
[() => Conversational, 0],
|
|
1767
|
+
[() => Document, 0],
|
|
1768
|
+
],
|
|
1769
|
+
];
|
|
1697
1770
|
var RightExpression = [3, n0, _RE, 0, [_mV], [() => MetadataValue]];
|
|
1698
1771
|
var StreamUpdate = [3, n0, _SU, 0, [_aSU], [() => AutomationStreamUpdate]];
|
|
1699
1772
|
var UserIdentifier = [3, n0, _UI, 0, [_uT, _uIs], [[() => UserTokenType, 0], 0]];
|
|
@@ -1927,6 +2000,16 @@ var ListEvents = [
|
|
|
1927
2000
|
() => ListEventsInput,
|
|
1928
2001
|
() => ListEventsOutput,
|
|
1929
2002
|
];
|
|
2003
|
+
var ListMemoryExtractionJobs = [
|
|
2004
|
+
9,
|
|
2005
|
+
n0,
|
|
2006
|
+
_LMEJ,
|
|
2007
|
+
{
|
|
2008
|
+
[_ht]: ["POST", "/memories/{memoryId}/extractionJobs", 200],
|
|
2009
|
+
},
|
|
2010
|
+
() => ListMemoryExtractionJobsInput,
|
|
2011
|
+
() => ListMemoryExtractionJobsOutput,
|
|
2012
|
+
];
|
|
1930
2013
|
var ListMemoryRecords = [
|
|
1931
2014
|
9,
|
|
1932
2015
|
n0,
|
|
@@ -1977,6 +2060,16 @@ var StartCodeInterpreterSession = [
|
|
|
1977
2060
|
() => StartCodeInterpreterSessionRequest,
|
|
1978
2061
|
() => StartCodeInterpreterSessionResponse,
|
|
1979
2062
|
];
|
|
2063
|
+
var StartMemoryExtractionJob = [
|
|
2064
|
+
9,
|
|
2065
|
+
n0,
|
|
2066
|
+
_SMEJ,
|
|
2067
|
+
{
|
|
2068
|
+
[_ht]: ["POST", "/memories/{memoryId}/extractionJobs/start", 200],
|
|
2069
|
+
},
|
|
2070
|
+
() => StartMemoryExtractionJobInput,
|
|
2071
|
+
() => StartMemoryExtractionJobOutput,
|
|
2072
|
+
];
|
|
1980
2073
|
var StopBrowserSession = [
|
|
1981
2074
|
9,
|
|
1982
2075
|
n0,
|
|
@@ -2298,6 +2391,18 @@ class ListEventsCommand extends smithyClient.Command
|
|
|
2298
2391
|
.build() {
|
|
2299
2392
|
}
|
|
2300
2393
|
|
|
2394
|
+
class ListMemoryExtractionJobsCommand extends smithyClient.Command
|
|
2395
|
+
.classBuilder()
|
|
2396
|
+
.ep(commonParams)
|
|
2397
|
+
.m(function (Command, cs, config, o) {
|
|
2398
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2399
|
+
})
|
|
2400
|
+
.s("AmazonBedrockAgentCore", "ListMemoryExtractionJobs", {})
|
|
2401
|
+
.n("BedrockAgentCoreClient", "ListMemoryExtractionJobsCommand")
|
|
2402
|
+
.sc(ListMemoryExtractionJobs)
|
|
2403
|
+
.build() {
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2301
2406
|
class ListMemoryRecordsCommand extends smithyClient.Command
|
|
2302
2407
|
.classBuilder()
|
|
2303
2408
|
.ep(commonParams)
|
|
@@ -2358,6 +2463,18 @@ class StartCodeInterpreterSessionCommand extends smithyClient.Command
|
|
|
2358
2463
|
.build() {
|
|
2359
2464
|
}
|
|
2360
2465
|
|
|
2466
|
+
class StartMemoryExtractionJobCommand extends smithyClient.Command
|
|
2467
|
+
.classBuilder()
|
|
2468
|
+
.ep(commonParams)
|
|
2469
|
+
.m(function (Command, cs, config, o) {
|
|
2470
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2471
|
+
})
|
|
2472
|
+
.s("AmazonBedrockAgentCore", "StartMemoryExtractionJob", {})
|
|
2473
|
+
.n("BedrockAgentCoreClient", "StartMemoryExtractionJobCommand")
|
|
2474
|
+
.sc(StartMemoryExtractionJob)
|
|
2475
|
+
.build() {
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2361
2478
|
class StopBrowserSessionCommand extends smithyClient.Command
|
|
2362
2479
|
.classBuilder()
|
|
2363
2480
|
.ep(commonParams)
|
|
@@ -2430,11 +2547,13 @@ const commands = {
|
|
|
2430
2547
|
ListBrowserSessionsCommand,
|
|
2431
2548
|
ListCodeInterpreterSessionsCommand,
|
|
2432
2549
|
ListEventsCommand,
|
|
2550
|
+
ListMemoryExtractionJobsCommand,
|
|
2433
2551
|
ListMemoryRecordsCommand,
|
|
2434
2552
|
ListSessionsCommand,
|
|
2435
2553
|
RetrieveMemoryRecordsCommand,
|
|
2436
2554
|
StartBrowserSessionCommand,
|
|
2437
2555
|
StartCodeInterpreterSessionCommand,
|
|
2556
|
+
StartMemoryExtractionJobCommand,
|
|
2438
2557
|
StopBrowserSessionCommand,
|
|
2439
2558
|
StopCodeInterpreterSessionCommand,
|
|
2440
2559
|
StopRuntimeSessionCommand,
|
|
@@ -2448,6 +2567,8 @@ const paginateListActors = core.createPaginator(BedrockAgentCoreClient, ListActo
|
|
|
2448
2567
|
|
|
2449
2568
|
const paginateListEvents = core.createPaginator(BedrockAgentCoreClient, ListEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
2450
2569
|
|
|
2570
|
+
const paginateListMemoryExtractionJobs = core.createPaginator(BedrockAgentCoreClient, ListMemoryExtractionJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
2571
|
+
|
|
2451
2572
|
const paginateListMemoryRecords = core.createPaginator(BedrockAgentCoreClient, ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
2452
2573
|
|
|
2453
2574
|
const paginateListSessions = core.createPaginator(BedrockAgentCoreClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2529,6 +2650,9 @@ const OperatorType = {
|
|
|
2529
2650
|
EXISTS: "EXISTS",
|
|
2530
2651
|
NOT_EXISTS: "NOT_EXISTS",
|
|
2531
2652
|
};
|
|
2653
|
+
const ExtractionJobStatus = {
|
|
2654
|
+
FAILED: "FAILED",
|
|
2655
|
+
};
|
|
2532
2656
|
|
|
2533
2657
|
Object.defineProperty(exports, "$Command", {
|
|
2534
2658
|
enumerable: true,
|
|
@@ -2554,6 +2678,7 @@ exports.ContentBlockType = ContentBlockType;
|
|
|
2554
2678
|
exports.CreateEventCommand = CreateEventCommand;
|
|
2555
2679
|
exports.DeleteEventCommand = DeleteEventCommand;
|
|
2556
2680
|
exports.DeleteMemoryRecordCommand = DeleteMemoryRecordCommand;
|
|
2681
|
+
exports.ExtractionJobStatus = ExtractionJobStatus;
|
|
2557
2682
|
exports.GetAgentCardCommand = GetAgentCardCommand;
|
|
2558
2683
|
exports.GetBrowserSessionCommand = GetBrowserSessionCommand;
|
|
2559
2684
|
exports.GetCodeInterpreterSessionCommand = GetCodeInterpreterSessionCommand;
|
|
@@ -2572,6 +2697,7 @@ exports.ListActorsCommand = ListActorsCommand;
|
|
|
2572
2697
|
exports.ListBrowserSessionsCommand = ListBrowserSessionsCommand;
|
|
2573
2698
|
exports.ListCodeInterpreterSessionsCommand = ListCodeInterpreterSessionsCommand;
|
|
2574
2699
|
exports.ListEventsCommand = ListEventsCommand;
|
|
2700
|
+
exports.ListMemoryExtractionJobsCommand = ListMemoryExtractionJobsCommand;
|
|
2575
2701
|
exports.ListMemoryRecordsCommand = ListMemoryRecordsCommand;
|
|
2576
2702
|
exports.ListSessionsCommand = ListSessionsCommand;
|
|
2577
2703
|
exports.MemoryRecordStatus = MemoryRecordStatus;
|
|
@@ -2588,6 +2714,7 @@ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
|
2588
2714
|
exports.SessionStatus = SessionStatus;
|
|
2589
2715
|
exports.StartBrowserSessionCommand = StartBrowserSessionCommand;
|
|
2590
2716
|
exports.StartCodeInterpreterSessionCommand = StartCodeInterpreterSessionCommand;
|
|
2717
|
+
exports.StartMemoryExtractionJobCommand = StartMemoryExtractionJobCommand;
|
|
2591
2718
|
exports.StopBrowserSessionCommand = StopBrowserSessionCommand;
|
|
2592
2719
|
exports.StopCodeInterpreterSessionCommand = StopCodeInterpreterSessionCommand;
|
|
2593
2720
|
exports.StopRuntimeSessionCommand = StopRuntimeSessionCommand;
|
|
@@ -2601,6 +2728,7 @@ exports.ValidationException = ValidationException$1;
|
|
|
2601
2728
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2602
2729
|
exports.paginateListActors = paginateListActors;
|
|
2603
2730
|
exports.paginateListEvents = paginateListEvents;
|
|
2731
|
+
exports.paginateListMemoryExtractionJobs = paginateListMemoryExtractionJobs;
|
|
2604
2732
|
exports.paginateListMemoryRecords = paginateListMemoryRecords;
|
|
2605
2733
|
exports.paginateListSessions = paginateListSessions;
|
|
2606
2734
|
exports.paginateRetrieveMemoryRecords = paginateRetrieveMemoryRecords;
|
|
@@ -23,11 +23,13 @@ import { ListActorsCommand } from "./commands/ListActorsCommand";
|
|
|
23
23
|
import { ListBrowserSessionsCommand, } from "./commands/ListBrowserSessionsCommand";
|
|
24
24
|
import { ListCodeInterpreterSessionsCommand, } from "./commands/ListCodeInterpreterSessionsCommand";
|
|
25
25
|
import { ListEventsCommand } from "./commands/ListEventsCommand";
|
|
26
|
+
import { ListMemoryExtractionJobsCommand, } from "./commands/ListMemoryExtractionJobsCommand";
|
|
26
27
|
import { ListMemoryRecordsCommand, } from "./commands/ListMemoryRecordsCommand";
|
|
27
28
|
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
28
29
|
import { RetrieveMemoryRecordsCommand, } from "./commands/RetrieveMemoryRecordsCommand";
|
|
29
30
|
import { StartBrowserSessionCommand, } from "./commands/StartBrowserSessionCommand";
|
|
30
31
|
import { StartCodeInterpreterSessionCommand, } from "./commands/StartCodeInterpreterSessionCommand";
|
|
32
|
+
import { StartMemoryExtractionJobCommand, } from "./commands/StartMemoryExtractionJobCommand";
|
|
31
33
|
import { StopBrowserSessionCommand, } from "./commands/StopBrowserSessionCommand";
|
|
32
34
|
import { StopCodeInterpreterSessionCommand, } from "./commands/StopCodeInterpreterSessionCommand";
|
|
33
35
|
import { StopRuntimeSessionCommand, } from "./commands/StopRuntimeSessionCommand";
|
|
@@ -56,11 +58,13 @@ const commands = {
|
|
|
56
58
|
ListBrowserSessionsCommand,
|
|
57
59
|
ListCodeInterpreterSessionsCommand,
|
|
58
60
|
ListEventsCommand,
|
|
61
|
+
ListMemoryExtractionJobsCommand,
|
|
59
62
|
ListMemoryRecordsCommand,
|
|
60
63
|
ListSessionsCommand,
|
|
61
64
|
RetrieveMemoryRecordsCommand,
|
|
62
65
|
StartBrowserSessionCommand,
|
|
63
66
|
StartCodeInterpreterSessionCommand,
|
|
67
|
+
StartMemoryExtractionJobCommand,
|
|
64
68
|
StopBrowserSessionCommand,
|
|
65
69
|
StopCodeInterpreterSessionCommand,
|
|
66
70
|
StopRuntimeSessionCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListMemoryExtractionJobs } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListMemoryExtractionJobsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListMemoryExtractionJobs", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListMemoryExtractionJobsCommand")
|
|
14
|
+
.sc(ListMemoryExtractionJobs)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartMemoryExtractionJob } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartMemoryExtractionJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "StartMemoryExtractionJob", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "StartMemoryExtractionJobCommand")
|
|
14
|
+
.sc(StartMemoryExtractionJob)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListMemoryExtractionJobsCommand, } from "../commands/ListMemoryExtractionJobsCommand";
|
|
4
|
+
export const paginateListMemoryExtractionJobs = createPaginator(BedrockAgentCoreClient, ListMemoryExtractionJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListActorsPaginator";
|
|
3
3
|
export * from "./ListEventsPaginator";
|
|
4
|
+
export * from "./ListMemoryExtractionJobsPaginator";
|
|
4
5
|
export * from "./ListMemoryRecordsPaginator";
|
|
5
6
|
export * from "./ListSessionsPaginator";
|
|
6
7
|
export * from "./RetrieveMemoryRecordsPaginator";
|