@aws-sdk/client-bedrock-agentcore 3.1039.0 → 3.1041.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 +14 -0
- package/dist-cjs/schemas/schemas_0.js +43 -13
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +41 -11
- package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +10 -0
- package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +10 -0
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +7 -2
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +7 -1
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +25 -2
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +16 -6
- package/dist-types/models/enums.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +190 -72
- package/dist-types/models/models_1.d.ts +49 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -19
- package/dist-types/ts3.4/models/models_1.d.ts +12 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -952,6 +952,7 @@ const RecommendationType = {
|
|
|
952
952
|
};
|
|
953
953
|
const Oauth2FlowType = {
|
|
954
954
|
M2M: "M2M",
|
|
955
|
+
ON_BEHALF_OF_TOKEN_EXCHANGE: "ON_BEHALF_OF_TOKEN_EXCHANGE",
|
|
955
956
|
USER_FEDERATION: "USER_FEDERATION",
|
|
956
957
|
};
|
|
957
958
|
const SessionStatus = {
|
|
@@ -1054,6 +1055,18 @@ const OperatorType = {
|
|
|
1054
1055
|
const ExtractionJobStatus = {
|
|
1055
1056
|
FAILED: "FAILED",
|
|
1056
1057
|
};
|
|
1058
|
+
const MemoryRecordOperatorType = {
|
|
1059
|
+
AFTER: "AFTER",
|
|
1060
|
+
BEFORE: "BEFORE",
|
|
1061
|
+
CONTAINS: "CONTAINS",
|
|
1062
|
+
EQUALS_TO: "EQUALS_TO",
|
|
1063
|
+
EXISTS: "EXISTS",
|
|
1064
|
+
GREATER_THAN: "GREATER_THAN",
|
|
1065
|
+
GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
|
|
1066
|
+
LESS_THAN: "LESS_THAN",
|
|
1067
|
+
LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
|
|
1068
|
+
NOT_EXISTS: "NOT_EXISTS",
|
|
1069
|
+
};
|
|
1057
1070
|
const EventFilterCondition = {
|
|
1058
1071
|
HAS_EVENTS: "HAS_EVENTS",
|
|
1059
1072
|
};
|
|
@@ -1136,6 +1149,7 @@ exports.ListMemoryExtractionJobsCommand = ListMemoryExtractionJobsCommand;
|
|
|
1136
1149
|
exports.ListMemoryRecordsCommand = ListMemoryRecordsCommand;
|
|
1137
1150
|
exports.ListRecommendationsCommand = ListRecommendationsCommand;
|
|
1138
1151
|
exports.ListSessionsCommand = ListSessionsCommand;
|
|
1152
|
+
exports.MemoryRecordOperatorType = MemoryRecordOperatorType;
|
|
1139
1153
|
exports.MemoryRecordStatus = MemoryRecordStatus;
|
|
1140
1154
|
exports.MouseButton = MouseButton;
|
|
1141
1155
|
exports.OAuthGrantType = OAuthGrantType;
|
|
@@ -6,8 +6,8 @@ exports.InvokeAgentRuntimeRequest$ = exports.InvokeAgentRuntimeCommandResponse$
|
|
|
6
6
|
exports.MouseScrollArguments$ = exports.MouseMoveResult$ = exports.MouseMoveArguments$ = exports.MouseDragResult$ = exports.MouseDragArguments$ = exports.MouseClickResult$ = exports.MouseClickArguments$ = exports.MessageMetadata$ = exports.MemoryRecordUpdateInput$ = exports.MemoryRecordSummary$ = exports.MemoryRecordOutput$ = exports.MemoryRecordDeleteInput$ = exports.MemoryRecordCreateInput$ = exports.MemoryRecord$ = exports.MemoryMetadataFilterExpression$ = exports.McpDescriptor$ = exports.LiveViewStream$ = exports.ListSessionsOutput$ = exports.ListSessionsInput$ = exports.ListRecommendationsResponse$ = exports.ListRecommendationsRequest$ = exports.ListMemoryRecordsOutput$ = exports.ListMemoryRecordsInput$ = exports.ListMemoryExtractionJobsOutput$ = exports.ListMemoryExtractionJobsInput$ = exports.ListEventsOutput$ = exports.ListEventsInput$ = exports.ListCodeInterpreterSessionsResponse$ = exports.ListCodeInterpreterSessionsRequest$ = exports.ListBrowserSessionsResponse$ = exports.ListBrowserSessionsRequest$ = exports.ListBatchEvaluationsResponse$ = exports.ListBatchEvaluationsRequest$ = exports.ListActorsOutput$ = exports.ListActorsInput$ = exports.ListABTestsResponse$ = exports.ListABTestsRequest$ = exports.KeyTypeResult$ = exports.KeyTypeArguments$ = exports.KeyShortcutResult$ = exports.KeyShortcutArguments$ = exports.KeyPressResult$ = exports.KeyPressArguments$ = exports.InvokeHarnessResponse$ = exports.InvokeHarnessRequest$ = exports.InvokeCodeInterpreterResponse$ = exports.InvokeCodeInterpreterRequest$ = exports.InvokeBrowserResponse$ = exports.InvokeBrowserRequest$ = exports.InvokeAgentRuntimeResponse$ = void 0;
|
|
7
7
|
exports.SystemPromptConfigurationBundle$ = exports.StopRuntimeSessionResponse$ = exports.StopRuntimeSessionRequest$ = exports.StopCodeInterpreterSessionResponse$ = exports.StopCodeInterpreterSessionRequest$ = exports.StopBrowserSessionResponse$ = exports.StopBrowserSessionRequest$ = exports.StopBatchEvaluationResponse$ = exports.StopBatchEvaluationRequest$ = exports.StartRecommendationResponse$ = exports.StartRecommendationRequest$ = exports.StartMemoryExtractionJobOutput$ = exports.StartMemoryExtractionJobInput$ = exports.StartCodeInterpreterSessionResponse$ = exports.StartCodeInterpreterSessionRequest$ = exports.StartBrowserSessionResponse$ = exports.StartBrowserSessionRequest$ = exports.StartBatchEvaluationResponse$ = exports.StartBatchEvaluationRequest$ = exports.SpanContext$ = exports.SkillMdDefinition$ = exports.SkillDefinition$ = exports.SessionSummary$ = exports.SessionMetadataShape$ = exports.SessionFilterConfig$ = exports.SessionFilter$ = exports.ServerDefinition$ = exports.SecretsManagerLocation$ = exports.SearchRegistryRecordsResponse$ = exports.SearchRegistryRecordsRequest$ = exports.SearchCriteria$ = exports.ScreenshotResult$ = exports.ScreenshotArguments$ = exports.SaveBrowserSessionProfileResponse$ = exports.SaveBrowserSessionProfileRequest$ = exports.S3Location$ = exports.RetrieveMemoryRecordsOutput$ = exports.RetrieveMemoryRecordsInput$ = exports.ResponseChunk$ = exports.ResourceContent$ = exports.RegistryRecordSummary$ = exports.RecommendationSummary$ = exports.RecommendationResultConfigurationBundle$ = exports.RecommendationEvaluatorReference$ = exports.RecommendationEvaluationConfig$ = exports.ProxyConfiguration$ = exports.ProxyBypass$ = exports.PerVariantOnlineEvaluationConfig$ = exports.OAuthCredentialProvider$ = exports.MouseScrollResult$ = void 0;
|
|
8
8
|
exports.HarnessToolResultBlockDelta$ = exports.HarnessToolConfiguration$ = exports.HarnessSystemContentBlock$ = exports.HarnessSkill$ = exports.HarnessReasoningContentBlockDelta$ = exports.HarnessReasoningContentBlock$ = exports.HarnessModelConfiguration$ = exports.HarnessGatewayOutboundAuth$ = exports.HarnessContentBlockStart$ = exports.HarnessContentBlockDelta$ = exports.HarnessContentBlock$ = exports.GroundTruthTurnInput$ = exports.GroundTruthSource$ = exports.FilterValue$ = exports.ExtractionJobMessages$ = exports.EvaluationTarget$ = exports.EvaluationMetadata$ = exports.EvaluationInput$ = exports.EvaluationContent$ = exports.DataSourceConfig$ = exports.Context$ = exports.Content$ = exports.CodeInterpreterStreamOutput$ = exports.CertificateLocation$ = exports.BrowserActionResult$ = exports.BrowserAction$ = exports.AgentTracesConfig$ = exports.ABTestEvaluationConfig$ = exports.ViewPort$ = exports.VariantResult$ = exports.VariantConfiguration$ = exports.Variant$ = exports.ValidationExceptionField$ = exports.UpdateBrowserStreamResponse$ = exports.UpdateBrowserStreamRequest$ = exports.UpdateABTestResponse$ = exports.UpdateABTestRequest$ = exports.ToolsDefinition$ = exports.ToolResultStructuredContent$ = exports.ToolDescriptionTextInput$ = exports.ToolDescriptionRecommendationResult$ = exports.ToolDescriptionRecommendationConfig$ = exports.ToolDescriptionOutput$ = exports.ToolDescriptionInput$ = exports.ToolDescriptionConfigurationBundle$ = exports.ToolArguments$ = exports.TokenUsage$ = exports.TargetRef$ = exports.SystemPromptRecommendationResult$ = exports.SystemPromptRecommendationConfig$ = void 0;
|
|
9
|
-
exports.
|
|
10
|
-
exports.UpdateBrowserStream$ = exports.UpdateABTest$ = exports.StopRuntimeSession$ = exports.StopCodeInterpreterSession$ = exports.StopBrowserSession$ = exports.StopBatchEvaluation$ = exports.StartRecommendation$ = exports.StartMemoryExtractionJob$ = exports.StartCodeInterpreterSession$ = exports.StartBrowserSession$ = exports.StartBatchEvaluation$ = exports.SearchRegistryRecords$ = exports.SaveBrowserSessionProfile$ = exports.RetrieveMemoryRecords$ = exports.ListSessions$ = exports.ListRecommendations$ = exports.ListMemoryRecords$ = exports.ListMemoryExtractionJobs$ = exports.ListEvents$ = exports.ListCodeInterpreterSessions$ = exports.ListBrowserSessions$ = exports.ListBatchEvaluations$ = exports.ListActors$ = void 0;
|
|
9
|
+
exports.InvokeBrowser$ = exports.InvokeAgentRuntimeCommand$ = exports.InvokeAgentRuntime$ = exports.GetWorkloadAccessTokenForUserId$ = exports.GetWorkloadAccessTokenForJWT$ = exports.GetWorkloadAccessToken$ = exports.GetResourceOauth2Token$ = exports.GetResourceApiKey$ = exports.GetRecommendation$ = exports.GetMemoryRecord$ = exports.GetEvent$ = exports.GetCodeInterpreterSession$ = exports.GetBrowserSession$ = exports.GetBatchEvaluation$ = exports.GetAgentCard$ = exports.GetABTest$ = exports.Evaluate$ = exports.DeleteRecommendation$ = exports.DeleteMemoryRecord$ = exports.DeleteEvent$ = exports.DeleteBatchEvaluation$ = exports.DeleteABTest$ = exports.CreateEvent$ = exports.CreateABTest$ = exports.CompleteResourceTokenAuth$ = exports.BatchUpdateMemoryRecords$ = exports.BatchDeleteMemoryRecords$ = exports.BatchCreateMemoryRecords$ = exports.UserIdentifier$ = exports.ToolDescriptionSource$ = exports.ToolDescriptionConfig$ = exports.SystemPromptConfig$ = exports.StreamUpdate$ = exports.RightExpression$ = exports.ResourceLocation$ = exports.RecommendationResult$ = exports.RecommendationConfig$ = exports.ProxyCredentials$ = exports.Proxy$ = exports.PayloadType$ = exports.OutputConfig$ = exports.MetadataValue$ = exports.MemoryRecordRightExpression$ = exports.MemoryRecordMetadataValue$ = exports.MemoryRecordLeftExpression$ = exports.MemoryContent$ = exports.LeftExpression$ = exports.InvokeHarnessStreamOutput$ = exports.InvokeAgentRuntimeCommandStreamOutput$ = exports.HarnessToolResultContentBlock$ = void 0;
|
|
10
|
+
exports.UpdateBrowserStream$ = exports.UpdateABTest$ = exports.StopRuntimeSession$ = exports.StopCodeInterpreterSession$ = exports.StopBrowserSession$ = exports.StopBatchEvaluation$ = exports.StartRecommendation$ = exports.StartMemoryExtractionJob$ = exports.StartCodeInterpreterSession$ = exports.StartBrowserSession$ = exports.StartBatchEvaluation$ = exports.SearchRegistryRecords$ = exports.SaveBrowserSessionProfile$ = exports.RetrieveMemoryRecords$ = exports.ListSessions$ = exports.ListRecommendations$ = exports.ListMemoryRecords$ = exports.ListMemoryExtractionJobs$ = exports.ListEvents$ = exports.ListCodeInterpreterSessions$ = exports.ListBrowserSessions$ = exports.ListBatchEvaluations$ = exports.ListActors$ = exports.ListABTests$ = exports.InvokeHarness$ = exports.InvokeCodeInterpreter$ = void 0;
|
|
11
11
|
const _A = "Accept";
|
|
12
12
|
const _ABTEC = "ABTestEvaluationConfig";
|
|
13
13
|
const _ABTR = "ABTestResults";
|
|
@@ -315,8 +315,12 @@ const _MRCI = "MemoryRecordCreateInput";
|
|
|
315
315
|
const _MRCIL = "MemoryRecordsCreateInputList";
|
|
316
316
|
const _MRDI = "MemoryRecordDeleteInput";
|
|
317
317
|
const _MRDIL = "MemoryRecordsDeleteInputList";
|
|
318
|
+
const _MRLE = "MemoryRecordLeftExpression";
|
|
319
|
+
const _MRMM = "MemoryRecordMetadataMap";
|
|
320
|
+
const _MRMV = "MemoryRecordMetadataValue";
|
|
318
321
|
const _MRO = "MemoryRecordOutput";
|
|
319
322
|
const _MROL = "MemoryRecordsOutputList";
|
|
323
|
+
const _MRRE = "MemoryRecordRightExpression";
|
|
320
324
|
const _MRS = "MemoryRecordSummary";
|
|
321
325
|
const _MRSL = "MemoryRecordSummaryList";
|
|
322
326
|
const _MRUI = "MemoryRecordUpdateInput";
|
|
@@ -490,6 +494,7 @@ const _ac = "accept";
|
|
|
490
494
|
const _act = "action";
|
|
491
495
|
const _ar = "arguments";
|
|
492
496
|
const _as = "assertions";
|
|
497
|
+
const _au = "audiences";
|
|
493
498
|
const _b = "branch";
|
|
494
499
|
const _bA = "bundleArn";
|
|
495
500
|
const _bAa = "basicAuth";
|
|
@@ -551,6 +556,7 @@ const _dPi = "directoryPath";
|
|
|
551
556
|
const _dRU = "defaultReturnUrl";
|
|
552
557
|
const _dSC = "dataSourceConfig";
|
|
553
558
|
const _dT = "descriptorType";
|
|
559
|
+
const _dTV = "dateTimeValue";
|
|
554
560
|
const _dV = "doubleValue";
|
|
555
561
|
const _dX = "deltaX";
|
|
556
562
|
const _dY = "deltaY";
|
|
@@ -686,6 +692,7 @@ const _nOSI = "numberOfSessionsIgnored";
|
|
|
686
692
|
const _nOSIP = "numberOfSessionsInProgress";
|
|
687
693
|
const _nP = "namespacePath";
|
|
688
694
|
const _nT = "nextToken";
|
|
695
|
+
const _nV = "numberValue";
|
|
689
696
|
const _na = "namespace";
|
|
690
697
|
const _nam = "namespaces";
|
|
691
698
|
const _no = "none";
|
|
@@ -742,6 +749,7 @@ const _rTD = "recommendedToolDescription";
|
|
|
742
749
|
const _rUI = "runtimeUserId";
|
|
743
750
|
const _re = "records";
|
|
744
751
|
const _res = "resource";
|
|
752
|
+
const _reso = "resources";
|
|
745
753
|
const _resp = "response";
|
|
746
754
|
const _resu = "results";
|
|
747
755
|
const _resul = "result";
|
|
@@ -765,6 +773,7 @@ const _sIe = "sessionIds";
|
|
|
765
773
|
const _sIp = "spanId";
|
|
766
774
|
const _sIpa = "spanIds";
|
|
767
775
|
const _sIt = "strategyId";
|
|
776
|
+
const _sLV = "stringListValue";
|
|
768
777
|
const _sM = "skillMd";
|
|
769
778
|
const _sMe = "secretsManager";
|
|
770
779
|
const _sMes = "sessionMetadata";
|
|
@@ -1466,8 +1475,8 @@ exports.GetResourceApiKeyResponse$ = [3, n0, _GRAKRe,
|
|
|
1466
1475
|
];
|
|
1467
1476
|
exports.GetResourceOauth2TokenRequest$ = [3, n0, _GROTR,
|
|
1468
1477
|
0,
|
|
1469
|
-
[_wIT, _rCPN, _sc, _oF, _sU, _rORU, _fA, _cP, _cSu],
|
|
1470
|
-
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0]], 4
|
|
1478
|
+
[_wIT, _rCPN, _sc, _oF, _sU, _rORU, _fA, _cP, _cSu, _reso, _au],
|
|
1479
|
+
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0], 64 | 0, 64 | 0], 4
|
|
1471
1480
|
];
|
|
1472
1481
|
exports.GetResourceOauth2TokenResponse$ = [3, n0, _GROTRe,
|
|
1473
1482
|
0,
|
|
@@ -1796,8 +1805,8 @@ exports.ListMemoryExtractionJobsOutput$ = [3, n0, _LMEJO,
|
|
|
1796
1805
|
];
|
|
1797
1806
|
exports.ListMemoryRecordsInput$ = [3, n0, _LMRI,
|
|
1798
1807
|
0,
|
|
1799
|
-
[_mI, _na, _nP, _mSIe, _mRa, _nT],
|
|
1800
|
-
[[0, 1], 0, 0, 0, 1, 0], 1
|
|
1808
|
+
[_mI, _na, _nP, _mSIe, _mRa, _nT, _mF],
|
|
1809
|
+
[[0, 1], 0, 0, 0, 1, 0, () => MemoryMetadataFilterList], 1
|
|
1801
1810
|
];
|
|
1802
1811
|
exports.ListMemoryRecordsOutput$ = [3, n0, _LMRO,
|
|
1803
1812
|
0,
|
|
@@ -1837,17 +1846,17 @@ exports.McpDescriptor$ = [3, n0, _MD,
|
|
|
1837
1846
|
exports.MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
|
|
1838
1847
|
0,
|
|
1839
1848
|
[_le, _o, _ri],
|
|
1840
|
-
[() => exports.
|
|
1849
|
+
[() => exports.MemoryRecordLeftExpression$, 0, () => exports.MemoryRecordRightExpression$], 2
|
|
1841
1850
|
];
|
|
1842
1851
|
exports.MemoryRecord$ = [3, n0, _MR,
|
|
1843
1852
|
0,
|
|
1844
1853
|
[_mRI, _co, _mSIe, _nam, _cA, _met],
|
|
1845
|
-
[0, [() => exports.MemoryContent$, 0], 0, 64 | 0, 4, () =>
|
|
1854
|
+
[0, [() => exports.MemoryContent$, 0], 0, 64 | 0, 4, () => MemoryRecordMetadataMap], 5
|
|
1846
1855
|
];
|
|
1847
1856
|
exports.MemoryRecordCreateInput$ = [3, n0, _MRCI,
|
|
1848
1857
|
0,
|
|
1849
|
-
[_rIe, _nam, _co, _tim, _mSIe],
|
|
1850
|
-
[0, 64 | 0, [() => exports.MemoryContent$, 0], 4, 0], 4
|
|
1858
|
+
[_rIe, _nam, _co, _tim, _mSIe, _met],
|
|
1859
|
+
[0, 64 | 0, [() => exports.MemoryContent$, 0], 4, 0, () => MemoryRecordMetadataMap], 4
|
|
1851
1860
|
];
|
|
1852
1861
|
exports.MemoryRecordDeleteInput$ = [3, n0, _MRDI,
|
|
1853
1862
|
0,
|
|
@@ -1862,12 +1871,12 @@ exports.MemoryRecordOutput$ = [3, n0, _MRO,
|
|
|
1862
1871
|
exports.MemoryRecordSummary$ = [3, n0, _MRS,
|
|
1863
1872
|
0,
|
|
1864
1873
|
[_mRI, _co, _mSIe, _nam, _cA, _sco, _met],
|
|
1865
|
-
[0, [() => exports.MemoryContent$, 0], 0, 64 | 0, 4, 1, () =>
|
|
1874
|
+
[0, [() => exports.MemoryContent$, 0], 0, 64 | 0, 4, 1, () => MemoryRecordMetadataMap], 5
|
|
1866
1875
|
];
|
|
1867
1876
|
exports.MemoryRecordUpdateInput$ = [3, n0, _MRUI,
|
|
1868
1877
|
0,
|
|
1869
|
-
[_mRI, _tim, _co, _nam, _mSIe],
|
|
1870
|
-
[0, 4, [() => exports.MemoryContent$, 0], 64 | 0, 0], 2
|
|
1878
|
+
[_mRI, _tim, _co, _nam, _mSIe, _met],
|
|
1879
|
+
[0, 4, [() => exports.MemoryContent$, 0], 64 | 0, 0, () => MemoryRecordMetadataMap], 2
|
|
1871
1880
|
];
|
|
1872
1881
|
exports.MessageMetadata$ = [3, n0, _MM,
|
|
1873
1882
|
0,
|
|
@@ -2276,6 +2285,7 @@ var ABTestSummaryList = [1, n0, _ABTSL,
|
|
|
2276
2285
|
var ActorSummaryList = [1, n0, _ASL,
|
|
2277
2286
|
0, () => exports.ActorSummary$
|
|
2278
2287
|
];
|
|
2288
|
+
var AudiencesListType = 64 | 0;
|
|
2279
2289
|
var BatchEvaluationSummaryList = [1, n0, _BESL,
|
|
2280
2290
|
0, () => exports.BatchEvaluationSummary$
|
|
2281
2291
|
];
|
|
@@ -2421,6 +2431,7 @@ var RegistryRecordSummaryList = [1, n0, _RRSL,
|
|
|
2421
2431
|
0, [() => exports.RegistryRecordSummary$,
|
|
2422
2432
|
0]
|
|
2423
2433
|
];
|
|
2434
|
+
var ResourcesListType = 64 | 0;
|
|
2424
2435
|
var ScopesListType = 64 | 0;
|
|
2425
2436
|
var ServiceNameList = 64 | 0;
|
|
2426
2437
|
var SessionMetadataList = [1, n0, _SMLe,
|
|
@@ -2434,6 +2445,7 @@ var Spans = [1, n0, _Sp,
|
|
|
2434
2445
|
8, 15
|
|
2435
2446
|
];
|
|
2436
2447
|
var StringList = 64 | 0;
|
|
2448
|
+
var StringValueList = 64 | 0;
|
|
2437
2449
|
var TargetPathList = 64 | 0;
|
|
2438
2450
|
var ToolDescriptionList = [1, n0, _TDL,
|
|
2439
2451
|
0, [() => exports.ToolDescriptionInput$,
|
|
@@ -2462,6 +2474,9 @@ var CustomRequestParametersType = [2, n0, _CRPT,
|
|
|
2462
2474
|
var HttpHeadersMap = [2, n0, _HHM,
|
|
2463
2475
|
8, 0, 0
|
|
2464
2476
|
];
|
|
2477
|
+
var MemoryRecordMetadataMap = [2, n0, _MRMM,
|
|
2478
|
+
0, 0, () => exports.MemoryRecordMetadataValue$
|
|
2479
|
+
];
|
|
2465
2480
|
var MetadataMap = [2, n0, _MMe,
|
|
2466
2481
|
0, 0, () => exports.MetadataValue$
|
|
2467
2482
|
];
|
|
@@ -2637,6 +2652,21 @@ exports.MemoryContent$ = [4, n0, _MC,
|
|
|
2637
2652
|
[_te],
|
|
2638
2653
|
[[() => SensitiveString, 0]]
|
|
2639
2654
|
];
|
|
2655
|
+
exports.MemoryRecordLeftExpression$ = [4, n0, _MRLE,
|
|
2656
|
+
0,
|
|
2657
|
+
[_mK],
|
|
2658
|
+
[0]
|
|
2659
|
+
];
|
|
2660
|
+
exports.MemoryRecordMetadataValue$ = [4, n0, _MRMV,
|
|
2661
|
+
0,
|
|
2662
|
+
[_sVt, _sLV, _nV, _dTV],
|
|
2663
|
+
[0, 64 | 0, 1, 4]
|
|
2664
|
+
];
|
|
2665
|
+
exports.MemoryRecordRightExpression$ = [4, n0, _MRRE,
|
|
2666
|
+
0,
|
|
2667
|
+
[_mV],
|
|
2668
|
+
[() => exports.MemoryRecordMetadataValue$]
|
|
2669
|
+
];
|
|
2640
2670
|
exports.MetadataValue$ = [4, n0, _MV,
|
|
2641
2671
|
0,
|
|
2642
2672
|
[_sVt],
|
package/dist-es/models/enums.js
CHANGED
|
@@ -86,6 +86,7 @@ export const RecommendationType = {
|
|
|
86
86
|
};
|
|
87
87
|
export const Oauth2FlowType = {
|
|
88
88
|
M2M: "M2M",
|
|
89
|
+
ON_BEHALF_OF_TOKEN_EXCHANGE: "ON_BEHALF_OF_TOKEN_EXCHANGE",
|
|
89
90
|
USER_FEDERATION: "USER_FEDERATION",
|
|
90
91
|
};
|
|
91
92
|
export const SessionStatus = {
|
|
@@ -188,6 +189,18 @@ export const OperatorType = {
|
|
|
188
189
|
export const ExtractionJobStatus = {
|
|
189
190
|
FAILED: "FAILED",
|
|
190
191
|
};
|
|
192
|
+
export const MemoryRecordOperatorType = {
|
|
193
|
+
AFTER: "AFTER",
|
|
194
|
+
BEFORE: "BEFORE",
|
|
195
|
+
CONTAINS: "CONTAINS",
|
|
196
|
+
EQUALS_TO: "EQUALS_TO",
|
|
197
|
+
EXISTS: "EXISTS",
|
|
198
|
+
GREATER_THAN: "GREATER_THAN",
|
|
199
|
+
GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
|
|
200
|
+
LESS_THAN: "LESS_THAN",
|
|
201
|
+
LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
|
|
202
|
+
NOT_EXISTS: "NOT_EXISTS",
|
|
203
|
+
};
|
|
191
204
|
export const EventFilterCondition = {
|
|
192
205
|
HAS_EVENTS: "HAS_EVENTS",
|
|
193
206
|
};
|
|
@@ -305,8 +305,12 @@ const _MRCI = "MemoryRecordCreateInput";
|
|
|
305
305
|
const _MRCIL = "MemoryRecordsCreateInputList";
|
|
306
306
|
const _MRDI = "MemoryRecordDeleteInput";
|
|
307
307
|
const _MRDIL = "MemoryRecordsDeleteInputList";
|
|
308
|
+
const _MRLE = "MemoryRecordLeftExpression";
|
|
309
|
+
const _MRMM = "MemoryRecordMetadataMap";
|
|
310
|
+
const _MRMV = "MemoryRecordMetadataValue";
|
|
308
311
|
const _MRO = "MemoryRecordOutput";
|
|
309
312
|
const _MROL = "MemoryRecordsOutputList";
|
|
313
|
+
const _MRRE = "MemoryRecordRightExpression";
|
|
310
314
|
const _MRS = "MemoryRecordSummary";
|
|
311
315
|
const _MRSL = "MemoryRecordSummaryList";
|
|
312
316
|
const _MRUI = "MemoryRecordUpdateInput";
|
|
@@ -480,6 +484,7 @@ const _ac = "accept";
|
|
|
480
484
|
const _act = "action";
|
|
481
485
|
const _ar = "arguments";
|
|
482
486
|
const _as = "assertions";
|
|
487
|
+
const _au = "audiences";
|
|
483
488
|
const _b = "branch";
|
|
484
489
|
const _bA = "bundleArn";
|
|
485
490
|
const _bAa = "basicAuth";
|
|
@@ -541,6 +546,7 @@ const _dPi = "directoryPath";
|
|
|
541
546
|
const _dRU = "defaultReturnUrl";
|
|
542
547
|
const _dSC = "dataSourceConfig";
|
|
543
548
|
const _dT = "descriptorType";
|
|
549
|
+
const _dTV = "dateTimeValue";
|
|
544
550
|
const _dV = "doubleValue";
|
|
545
551
|
const _dX = "deltaX";
|
|
546
552
|
const _dY = "deltaY";
|
|
@@ -676,6 +682,7 @@ const _nOSI = "numberOfSessionsIgnored";
|
|
|
676
682
|
const _nOSIP = "numberOfSessionsInProgress";
|
|
677
683
|
const _nP = "namespacePath";
|
|
678
684
|
const _nT = "nextToken";
|
|
685
|
+
const _nV = "numberValue";
|
|
679
686
|
const _na = "namespace";
|
|
680
687
|
const _nam = "namespaces";
|
|
681
688
|
const _no = "none";
|
|
@@ -732,6 +739,7 @@ const _rTD = "recommendedToolDescription";
|
|
|
732
739
|
const _rUI = "runtimeUserId";
|
|
733
740
|
const _re = "records";
|
|
734
741
|
const _res = "resource";
|
|
742
|
+
const _reso = "resources";
|
|
735
743
|
const _resp = "response";
|
|
736
744
|
const _resu = "results";
|
|
737
745
|
const _resul = "result";
|
|
@@ -755,6 +763,7 @@ const _sIe = "sessionIds";
|
|
|
755
763
|
const _sIp = "spanId";
|
|
756
764
|
const _sIpa = "spanIds";
|
|
757
765
|
const _sIt = "strategyId";
|
|
766
|
+
const _sLV = "stringListValue";
|
|
758
767
|
const _sM = "skillMd";
|
|
759
768
|
const _sMe = "secretsManager";
|
|
760
769
|
const _sMes = "sessionMetadata";
|
|
@@ -1456,8 +1465,8 @@ export var GetResourceApiKeyResponse$ = [3, n0, _GRAKRe,
|
|
|
1456
1465
|
];
|
|
1457
1466
|
export var GetResourceOauth2TokenRequest$ = [3, n0, _GROTR,
|
|
1458
1467
|
0,
|
|
1459
|
-
[_wIT, _rCPN, _sc, _oF, _sU, _rORU, _fA, _cP, _cSu],
|
|
1460
|
-
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0]], 4
|
|
1468
|
+
[_wIT, _rCPN, _sc, _oF, _sU, _rORU, _fA, _cP, _cSu, _reso, _au],
|
|
1469
|
+
[[() => WorkloadIdentityTokenType, 0], 0, 64 | 0, 0, 0, 0, 2, [() => CustomRequestParametersType, 0], [() => State, 0], 64 | 0, 64 | 0], 4
|
|
1461
1470
|
];
|
|
1462
1471
|
export var GetResourceOauth2TokenResponse$ = [3, n0, _GROTRe,
|
|
1463
1472
|
0,
|
|
@@ -1786,8 +1795,8 @@ export var ListMemoryExtractionJobsOutput$ = [3, n0, _LMEJO,
|
|
|
1786
1795
|
];
|
|
1787
1796
|
export var ListMemoryRecordsInput$ = [3, n0, _LMRI,
|
|
1788
1797
|
0,
|
|
1789
|
-
[_mI, _na, _nP, _mSIe, _mRa, _nT],
|
|
1790
|
-
[[0, 1], 0, 0, 0, 1, 0], 1
|
|
1798
|
+
[_mI, _na, _nP, _mSIe, _mRa, _nT, _mF],
|
|
1799
|
+
[[0, 1], 0, 0, 0, 1, 0, () => MemoryMetadataFilterList], 1
|
|
1791
1800
|
];
|
|
1792
1801
|
export var ListMemoryRecordsOutput$ = [3, n0, _LMRO,
|
|
1793
1802
|
0,
|
|
@@ -1827,17 +1836,17 @@ export var McpDescriptor$ = [3, n0, _MD,
|
|
|
1827
1836
|
export var MemoryMetadataFilterExpression$ = [3, n0, _MMFE,
|
|
1828
1837
|
0,
|
|
1829
1838
|
[_le, _o, _ri],
|
|
1830
|
-
[() =>
|
|
1839
|
+
[() => MemoryRecordLeftExpression$, 0, () => MemoryRecordRightExpression$], 2
|
|
1831
1840
|
];
|
|
1832
1841
|
export var MemoryRecord$ = [3, n0, _MR,
|
|
1833
1842
|
0,
|
|
1834
1843
|
[_mRI, _co, _mSIe, _nam, _cA, _met],
|
|
1835
|
-
[0, [() => MemoryContent$, 0], 0, 64 | 0, 4, () =>
|
|
1844
|
+
[0, [() => MemoryContent$, 0], 0, 64 | 0, 4, () => MemoryRecordMetadataMap], 5
|
|
1836
1845
|
];
|
|
1837
1846
|
export var MemoryRecordCreateInput$ = [3, n0, _MRCI,
|
|
1838
1847
|
0,
|
|
1839
|
-
[_rIe, _nam, _co, _tim, _mSIe],
|
|
1840
|
-
[0, 64 | 0, [() => MemoryContent$, 0], 4, 0], 4
|
|
1848
|
+
[_rIe, _nam, _co, _tim, _mSIe, _met],
|
|
1849
|
+
[0, 64 | 0, [() => MemoryContent$, 0], 4, 0, () => MemoryRecordMetadataMap], 4
|
|
1841
1850
|
];
|
|
1842
1851
|
export var MemoryRecordDeleteInput$ = [3, n0, _MRDI,
|
|
1843
1852
|
0,
|
|
@@ -1852,12 +1861,12 @@ export var MemoryRecordOutput$ = [3, n0, _MRO,
|
|
|
1852
1861
|
export var MemoryRecordSummary$ = [3, n0, _MRS,
|
|
1853
1862
|
0,
|
|
1854
1863
|
[_mRI, _co, _mSIe, _nam, _cA, _sco, _met],
|
|
1855
|
-
[0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, () =>
|
|
1864
|
+
[0, [() => MemoryContent$, 0], 0, 64 | 0, 4, 1, () => MemoryRecordMetadataMap], 5
|
|
1856
1865
|
];
|
|
1857
1866
|
export var MemoryRecordUpdateInput$ = [3, n0, _MRUI,
|
|
1858
1867
|
0,
|
|
1859
|
-
[_mRI, _tim, _co, _nam, _mSIe],
|
|
1860
|
-
[0, 4, [() => MemoryContent$, 0], 64 | 0, 0], 2
|
|
1868
|
+
[_mRI, _tim, _co, _nam, _mSIe, _met],
|
|
1869
|
+
[0, 4, [() => MemoryContent$, 0], 64 | 0, 0, () => MemoryRecordMetadataMap], 2
|
|
1861
1870
|
];
|
|
1862
1871
|
export var MessageMetadata$ = [3, n0, _MM,
|
|
1863
1872
|
0,
|
|
@@ -2266,6 +2275,7 @@ var ABTestSummaryList = [1, n0, _ABTSL,
|
|
|
2266
2275
|
var ActorSummaryList = [1, n0, _ASL,
|
|
2267
2276
|
0, () => ActorSummary$
|
|
2268
2277
|
];
|
|
2278
|
+
var AudiencesListType = 64 | 0;
|
|
2269
2279
|
var BatchEvaluationSummaryList = [1, n0, _BESL,
|
|
2270
2280
|
0, () => BatchEvaluationSummary$
|
|
2271
2281
|
];
|
|
@@ -2411,6 +2421,7 @@ var RegistryRecordSummaryList = [1, n0, _RRSL,
|
|
|
2411
2421
|
0, [() => RegistryRecordSummary$,
|
|
2412
2422
|
0]
|
|
2413
2423
|
];
|
|
2424
|
+
var ResourcesListType = 64 | 0;
|
|
2414
2425
|
var ScopesListType = 64 | 0;
|
|
2415
2426
|
var ServiceNameList = 64 | 0;
|
|
2416
2427
|
var SessionMetadataList = [1, n0, _SMLe,
|
|
@@ -2424,6 +2435,7 @@ var Spans = [1, n0, _Sp,
|
|
|
2424
2435
|
8, 15
|
|
2425
2436
|
];
|
|
2426
2437
|
var StringList = 64 | 0;
|
|
2438
|
+
var StringValueList = 64 | 0;
|
|
2427
2439
|
var TargetPathList = 64 | 0;
|
|
2428
2440
|
var ToolDescriptionList = [1, n0, _TDL,
|
|
2429
2441
|
0, [() => ToolDescriptionInput$,
|
|
@@ -2452,6 +2464,9 @@ var CustomRequestParametersType = [2, n0, _CRPT,
|
|
|
2452
2464
|
var HttpHeadersMap = [2, n0, _HHM,
|
|
2453
2465
|
8, 0, 0
|
|
2454
2466
|
];
|
|
2467
|
+
var MemoryRecordMetadataMap = [2, n0, _MRMM,
|
|
2468
|
+
0, 0, () => MemoryRecordMetadataValue$
|
|
2469
|
+
];
|
|
2455
2470
|
var MetadataMap = [2, n0, _MMe,
|
|
2456
2471
|
0, 0, () => MetadataValue$
|
|
2457
2472
|
];
|
|
@@ -2627,6 +2642,21 @@ export var MemoryContent$ = [4, n0, _MC,
|
|
|
2627
2642
|
[_te],
|
|
2628
2643
|
[[() => SensitiveString, 0]]
|
|
2629
2644
|
];
|
|
2645
|
+
export var MemoryRecordLeftExpression$ = [4, n0, _MRLE,
|
|
2646
|
+
0,
|
|
2647
|
+
[_mK],
|
|
2648
|
+
[0]
|
|
2649
|
+
];
|
|
2650
|
+
export var MemoryRecordMetadataValue$ = [4, n0, _MRMV,
|
|
2651
|
+
0,
|
|
2652
|
+
[_sVt, _sLV, _nV, _dTV],
|
|
2653
|
+
[0, 64 | 0, 1, 4]
|
|
2654
|
+
];
|
|
2655
|
+
export var MemoryRecordRightExpression$ = [4, n0, _MRRE,
|
|
2656
|
+
0,
|
|
2657
|
+
[_mV],
|
|
2658
|
+
[() => MemoryRecordMetadataValue$]
|
|
2659
|
+
];
|
|
2630
2660
|
export var MetadataValue$ = [4, n0, _MV,
|
|
2631
2661
|
0,
|
|
2632
2662
|
[_sVt],
|
|
@@ -49,6 +49,16 @@ declare const BatchCreateMemoryRecordsCommand_base: {
|
|
|
49
49
|
* },
|
|
50
50
|
* timestamp: new Date("TIMESTAMP"), // required
|
|
51
51
|
* memoryStrategyId: "STRING_VALUE",
|
|
52
|
+
* metadata: { // MemoryRecordMetadataMap
|
|
53
|
+
* "<keys>": { // MemoryRecordMetadataValue Union: only one key present
|
|
54
|
+
* stringValue: "STRING_VALUE",
|
|
55
|
+
* stringListValue: [ // StringValueList
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* numberValue: Number("double"),
|
|
59
|
+
* dateTimeValue: new Date("TIMESTAMP"),
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
52
62
|
* },
|
|
53
63
|
* ],
|
|
54
64
|
* clientToken: "STRING_VALUE",
|
|
@@ -49,6 +49,16 @@ declare const BatchUpdateMemoryRecordsCommand_base: {
|
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* memoryStrategyId: "STRING_VALUE",
|
|
52
|
+
* metadata: { // MemoryRecordMetadataMap
|
|
53
|
+
* "<keys>": { // MemoryRecordMetadataValue Union: only one key present
|
|
54
|
+
* stringValue: "STRING_VALUE",
|
|
55
|
+
* stringListValue: [ // StringValueList
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* numberValue: Number("double"),
|
|
59
|
+
* dateTimeValue: new Date("TIMESTAMP"),
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
52
62
|
* },
|
|
53
63
|
* ],
|
|
54
64
|
* };
|
|
@@ -53,9 +53,14 @@ declare const GetMemoryRecordCommand_base: {
|
|
|
53
53
|
* // "STRING_VALUE",
|
|
54
54
|
* // ],
|
|
55
55
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
-
* // metadata: { //
|
|
57
|
-
* // "<keys>": { //
|
|
56
|
+
* // metadata: { // MemoryRecordMetadataMap
|
|
57
|
+
* // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
|
|
58
58
|
* // stringValue: "STRING_VALUE",
|
|
59
|
+
* // stringListValue: [ // StringValueList
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // numberValue: Number("double"),
|
|
63
|
+
* // dateTimeValue: new Date("TIMESTAMP"),
|
|
59
64
|
* // },
|
|
60
65
|
* // },
|
|
61
66
|
* // },
|
|
@@ -42,7 +42,7 @@ declare const GetResourceOauth2TokenCommand_base: {
|
|
|
42
42
|
* scopes: [ // ScopesListType // required
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
|
-
* oauth2Flow: "USER_FEDERATION" || "M2M", // required
|
|
45
|
+
* oauth2Flow: "USER_FEDERATION" || "M2M" || "ON_BEHALF_OF_TOKEN_EXCHANGE", // required
|
|
46
46
|
* sessionUri: "STRING_VALUE",
|
|
47
47
|
* resourceOauth2ReturnUrl: "STRING_VALUE",
|
|
48
48
|
* forceAuthentication: true || false,
|
|
@@ -50,6 +50,12 @@ declare const GetResourceOauth2TokenCommand_base: {
|
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* customState: "STRING_VALUE",
|
|
53
|
+
* resources: [ // ResourcesListType
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* audiences: [ // AudiencesListType
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
53
59
|
* };
|
|
54
60
|
* const command = new GetResourceOauth2TokenCommand(input);
|
|
55
61
|
* const response = await client.send(command);
|
|
@@ -43,6 +43,24 @@ declare const ListMemoryRecordsCommand_base: {
|
|
|
43
43
|
* memoryStrategyId: "STRING_VALUE",
|
|
44
44
|
* maxResults: Number("int"),
|
|
45
45
|
* nextToken: "STRING_VALUE",
|
|
46
|
+
* metadataFilters: [ // MemoryMetadataFilterList
|
|
47
|
+
* { // MemoryMetadataFilterExpression
|
|
48
|
+
* left: { // MemoryRecordLeftExpression Union: only one key present
|
|
49
|
+
* metadataKey: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* operator: "EQUALS_TO" || "EXISTS" || "NOT_EXISTS" || "BEFORE" || "AFTER" || "CONTAINS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS", // required
|
|
52
|
+
* right: { // MemoryRecordRightExpression Union: only one key present
|
|
53
|
+
* metadataValue: { // MemoryRecordMetadataValue Union: only one key present
|
|
54
|
+
* stringValue: "STRING_VALUE",
|
|
55
|
+
* stringListValue: [ // StringValueList
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* numberValue: Number("double"),
|
|
59
|
+
* dateTimeValue: new Date("TIMESTAMP"),
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
46
64
|
* };
|
|
47
65
|
* const command = new ListMemoryRecordsCommand(input);
|
|
48
66
|
* const response = await client.send(command);
|
|
@@ -59,9 +77,14 @@ declare const ListMemoryRecordsCommand_base: {
|
|
|
59
77
|
* // ],
|
|
60
78
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
79
|
* // score: Number("double"),
|
|
62
|
-
* // metadata: { //
|
|
63
|
-
* // "<keys>": { //
|
|
80
|
+
* // metadata: { // MemoryRecordMetadataMap
|
|
81
|
+
* // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
|
|
64
82
|
* // stringValue: "STRING_VALUE",
|
|
83
|
+
* // stringListValue: [ // StringValueList
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // numberValue: Number("double"),
|
|
87
|
+
* // dateTimeValue: new Date("TIMESTAMP"),
|
|
65
88
|
* // },
|
|
66
89
|
* // },
|
|
67
90
|
* // },
|
|
@@ -46,13 +46,18 @@ declare const RetrieveMemoryRecordsCommand_base: {
|
|
|
46
46
|
* topK: Number("int"),
|
|
47
47
|
* metadataFilters: [ // MemoryMetadataFilterList
|
|
48
48
|
* { // MemoryMetadataFilterExpression
|
|
49
|
-
* left: { //
|
|
49
|
+
* left: { // MemoryRecordLeftExpression Union: only one key present
|
|
50
50
|
* metadataKey: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
-
* operator: "EQUALS_TO" || "EXISTS" || "NOT_EXISTS", // required
|
|
53
|
-
* right: { //
|
|
54
|
-
* metadataValue: { //
|
|
52
|
+
* operator: "EQUALS_TO" || "EXISTS" || "NOT_EXISTS" || "BEFORE" || "AFTER" || "CONTAINS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS", // required
|
|
53
|
+
* right: { // MemoryRecordRightExpression Union: only one key present
|
|
54
|
+
* metadataValue: { // MemoryRecordMetadataValue Union: only one key present
|
|
55
55
|
* stringValue: "STRING_VALUE",
|
|
56
|
+
* stringListValue: [ // StringValueList
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* numberValue: Number("double"),
|
|
60
|
+
* dateTimeValue: new Date("TIMESTAMP"),
|
|
56
61
|
* },
|
|
57
62
|
* },
|
|
58
63
|
* },
|
|
@@ -76,9 +81,14 @@ declare const RetrieveMemoryRecordsCommand_base: {
|
|
|
76
81
|
* // ],
|
|
77
82
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
78
83
|
* // score: Number("double"),
|
|
79
|
-
* // metadata: { //
|
|
80
|
-
* // "<keys>": { //
|
|
84
|
+
* // metadata: { // MemoryRecordMetadataMap
|
|
85
|
+
* // "<keys>": { // MemoryRecordMetadataValue Union: only one key present
|
|
81
86
|
* // stringValue: "STRING_VALUE",
|
|
87
|
+
* // stringListValue: [ // StringValueList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // numberValue: Number("double"),
|
|
91
|
+
* // dateTimeValue: new Date("TIMESTAMP"),
|
|
82
92
|
* // },
|
|
83
93
|
* // },
|
|
84
94
|
* // },
|
|
@@ -210,6 +210,7 @@ export type RecommendationType = (typeof RecommendationType)[keyof typeof Recomm
|
|
|
210
210
|
*/
|
|
211
211
|
export declare const Oauth2FlowType: {
|
|
212
212
|
readonly M2M: "M2M";
|
|
213
|
+
readonly ON_BEHALF_OF_TOKEN_EXCHANGE: "ON_BEHALF_OF_TOKEN_EXCHANGE";
|
|
213
214
|
readonly USER_FEDERATION: "USER_FEDERATION";
|
|
214
215
|
};
|
|
215
216
|
/**
|
|
@@ -452,6 +453,26 @@ export declare const ExtractionJobStatus: {
|
|
|
452
453
|
* @public
|
|
453
454
|
*/
|
|
454
455
|
export type ExtractionJobStatus = (typeof ExtractionJobStatus)[keyof typeof ExtractionJobStatus];
|
|
456
|
+
/**
|
|
457
|
+
* @public
|
|
458
|
+
* @enum
|
|
459
|
+
*/
|
|
460
|
+
export declare const MemoryRecordOperatorType: {
|
|
461
|
+
readonly AFTER: "AFTER";
|
|
462
|
+
readonly BEFORE: "BEFORE";
|
|
463
|
+
readonly CONTAINS: "CONTAINS";
|
|
464
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
465
|
+
readonly EXISTS: "EXISTS";
|
|
466
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
467
|
+
readonly GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS";
|
|
468
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
469
|
+
readonly LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS";
|
|
470
|
+
readonly NOT_EXISTS: "NOT_EXISTS";
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
475
|
+
export type MemoryRecordOperatorType = (typeof MemoryRecordOperatorType)[keyof typeof MemoryRecordOperatorType];
|
|
455
476
|
/**
|
|
456
477
|
* @public
|
|
457
478
|
* @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, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, EventFilterCondition, ExtractionJobStatus, HarnessConversationRole, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, OperatorType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, EventFilterCondition, ExtractionJobStatus, HarnessConversationRole, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, LanguageRuntime, MemoryRecordOperatorType, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, OperatorType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -4973,6 +4973,16 @@ export interface GetResourceOauth2TokenRequest {
|
|
|
4973
4973
|
* @public
|
|
4974
4974
|
*/
|
|
4975
4975
|
customState?: string | undefined;
|
|
4976
|
+
/**
|
|
4977
|
+
* <p>The resources to include in the token request. These are used to specify the target resources for which the OAuth2 token is being requested.</p>
|
|
4978
|
+
* @public
|
|
4979
|
+
*/
|
|
4980
|
+
resources?: string[] | undefined;
|
|
4981
|
+
/**
|
|
4982
|
+
* <p>The audiences to include in the token request. These are used to specify the intended recipients of the OAuth2 token.</p>
|
|
4983
|
+
* @public
|
|
4984
|
+
*/
|
|
4985
|
+
audiences?: string[] | undefined;
|
|
4976
4986
|
}
|
|
4977
4987
|
/**
|
|
4978
4988
|
* @public
|
|
@@ -6938,6 +6948,81 @@ export declare namespace MemoryContent {
|
|
|
6938
6948
|
_: (name: string, value: any) => T;
|
|
6939
6949
|
}
|
|
6940
6950
|
}
|
|
6951
|
+
/**
|
|
6952
|
+
* <p>The value of a memory record metadata entry.</p>
|
|
6953
|
+
* @public
|
|
6954
|
+
*/
|
|
6955
|
+
export type MemoryRecordMetadataValue = MemoryRecordMetadataValue.DateTimeValueMember | MemoryRecordMetadataValue.NumberValueMember | MemoryRecordMetadataValue.StringListValueMember | MemoryRecordMetadataValue.StringValueMember | MemoryRecordMetadataValue.$UnknownMember;
|
|
6956
|
+
/**
|
|
6957
|
+
* @public
|
|
6958
|
+
*/
|
|
6959
|
+
export declare namespace MemoryRecordMetadataValue {
|
|
6960
|
+
/**
|
|
6961
|
+
* <p>A string value.</p>
|
|
6962
|
+
* @public
|
|
6963
|
+
*/
|
|
6964
|
+
interface StringValueMember {
|
|
6965
|
+
stringValue: string;
|
|
6966
|
+
stringListValue?: never;
|
|
6967
|
+
numberValue?: never;
|
|
6968
|
+
dateTimeValue?: never;
|
|
6969
|
+
$unknown?: never;
|
|
6970
|
+
}
|
|
6971
|
+
/**
|
|
6972
|
+
* <p>A list of string values.</p>
|
|
6973
|
+
* @public
|
|
6974
|
+
*/
|
|
6975
|
+
interface StringListValueMember {
|
|
6976
|
+
stringValue?: never;
|
|
6977
|
+
stringListValue: string[];
|
|
6978
|
+
numberValue?: never;
|
|
6979
|
+
dateTimeValue?: never;
|
|
6980
|
+
$unknown?: never;
|
|
6981
|
+
}
|
|
6982
|
+
/**
|
|
6983
|
+
* <p>A numeric value.</p>
|
|
6984
|
+
* @public
|
|
6985
|
+
*/
|
|
6986
|
+
interface NumberValueMember {
|
|
6987
|
+
stringValue?: never;
|
|
6988
|
+
stringListValue?: never;
|
|
6989
|
+
numberValue: number;
|
|
6990
|
+
dateTimeValue?: never;
|
|
6991
|
+
$unknown?: never;
|
|
6992
|
+
}
|
|
6993
|
+
/**
|
|
6994
|
+
* <p>A timestamp value in ISO 8601 UTC format.</p>
|
|
6995
|
+
* @public
|
|
6996
|
+
*/
|
|
6997
|
+
interface DateTimeValueMember {
|
|
6998
|
+
stringValue?: never;
|
|
6999
|
+
stringListValue?: never;
|
|
7000
|
+
numberValue?: never;
|
|
7001
|
+
dateTimeValue: Date;
|
|
7002
|
+
$unknown?: never;
|
|
7003
|
+
}
|
|
7004
|
+
/**
|
|
7005
|
+
* @public
|
|
7006
|
+
*/
|
|
7007
|
+
interface $UnknownMember {
|
|
7008
|
+
stringValue?: never;
|
|
7009
|
+
stringListValue?: never;
|
|
7010
|
+
numberValue?: never;
|
|
7011
|
+
dateTimeValue?: never;
|
|
7012
|
+
$unknown: [string, any];
|
|
7013
|
+
}
|
|
7014
|
+
/**
|
|
7015
|
+
* @deprecated unused in schema-serde mode.
|
|
7016
|
+
*
|
|
7017
|
+
*/
|
|
7018
|
+
interface Visitor<T> {
|
|
7019
|
+
stringValue: (value: string) => T;
|
|
7020
|
+
stringListValue: (value: string[]) => T;
|
|
7021
|
+
numberValue: (value: number) => T;
|
|
7022
|
+
dateTimeValue: (value: Date) => T;
|
|
7023
|
+
_: (name: string, value: any) => T;
|
|
7024
|
+
}
|
|
7025
|
+
}
|
|
6941
7026
|
/**
|
|
6942
7027
|
* <p>Input structure to create a new memory record.</p>
|
|
6943
7028
|
* @public
|
|
@@ -6968,6 +7053,11 @@ export interface MemoryRecordCreateInput {
|
|
|
6968
7053
|
* @public
|
|
6969
7054
|
*/
|
|
6970
7055
|
memoryStrategyId?: string | undefined;
|
|
7056
|
+
/**
|
|
7057
|
+
* <p>Metadata key-value pairs to be stored with the memory record.</p>
|
|
7058
|
+
* @public
|
|
7059
|
+
*/
|
|
7060
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
6971
7061
|
}
|
|
6972
7062
|
/**
|
|
6973
7063
|
* @public
|
|
@@ -7106,6 +7196,11 @@ export interface MemoryRecordUpdateInput {
|
|
|
7106
7196
|
* @public
|
|
7107
7197
|
*/
|
|
7108
7198
|
memoryStrategyId?: string | undefined;
|
|
7199
|
+
/**
|
|
7200
|
+
* <p>Metadata key-value pairs to be stored with the memory record.</p>
|
|
7201
|
+
* @public
|
|
7202
|
+
*/
|
|
7203
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
7109
7204
|
}
|
|
7110
7205
|
/**
|
|
7111
7206
|
* @public
|
|
@@ -7525,7 +7620,7 @@ export interface MemoryRecord {
|
|
|
7525
7620
|
* <p>A map of metadata key-value pairs associated with a memory record.</p>
|
|
7526
7621
|
* @public
|
|
7527
7622
|
*/
|
|
7528
|
-
metadata?: Record<string,
|
|
7623
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
7529
7624
|
}
|
|
7530
7625
|
/**
|
|
7531
7626
|
* @public
|
|
@@ -7902,6 +7997,93 @@ export interface ListMemoryExtractionJobsOutput {
|
|
|
7902
7997
|
*/
|
|
7903
7998
|
nextToken?: string | undefined;
|
|
7904
7999
|
}
|
|
8000
|
+
/**
|
|
8001
|
+
* <p>The left-hand side of a memory record metadata filter expression.</p>
|
|
8002
|
+
* @public
|
|
8003
|
+
*/
|
|
8004
|
+
export type MemoryRecordLeftExpression = MemoryRecordLeftExpression.MetadataKeyMember | MemoryRecordLeftExpression.$UnknownMember;
|
|
8005
|
+
/**
|
|
8006
|
+
* @public
|
|
8007
|
+
*/
|
|
8008
|
+
export declare namespace MemoryRecordLeftExpression {
|
|
8009
|
+
/**
|
|
8010
|
+
* <p>The metadata key to filter on.</p>
|
|
8011
|
+
* @public
|
|
8012
|
+
*/
|
|
8013
|
+
interface MetadataKeyMember {
|
|
8014
|
+
metadataKey: string;
|
|
8015
|
+
$unknown?: never;
|
|
8016
|
+
}
|
|
8017
|
+
/**
|
|
8018
|
+
* @public
|
|
8019
|
+
*/
|
|
8020
|
+
interface $UnknownMember {
|
|
8021
|
+
metadataKey?: never;
|
|
8022
|
+
$unknown: [string, any];
|
|
8023
|
+
}
|
|
8024
|
+
/**
|
|
8025
|
+
* @deprecated unused in schema-serde mode.
|
|
8026
|
+
*
|
|
8027
|
+
*/
|
|
8028
|
+
interface Visitor<T> {
|
|
8029
|
+
metadataKey: (value: string) => T;
|
|
8030
|
+
_: (name: string, value: any) => T;
|
|
8031
|
+
}
|
|
8032
|
+
}
|
|
8033
|
+
/**
|
|
8034
|
+
* <p>The right-hand side of a memory record metadata filter expression.</p>
|
|
8035
|
+
* @public
|
|
8036
|
+
*/
|
|
8037
|
+
export type MemoryRecordRightExpression = MemoryRecordRightExpression.MetadataValueMember | MemoryRecordRightExpression.$UnknownMember;
|
|
8038
|
+
/**
|
|
8039
|
+
* @public
|
|
8040
|
+
*/
|
|
8041
|
+
export declare namespace MemoryRecordRightExpression {
|
|
8042
|
+
/**
|
|
8043
|
+
* <p>The metadata value to compare against.</p>
|
|
8044
|
+
* @public
|
|
8045
|
+
*/
|
|
8046
|
+
interface MetadataValueMember {
|
|
8047
|
+
metadataValue: MemoryRecordMetadataValue;
|
|
8048
|
+
$unknown?: never;
|
|
8049
|
+
}
|
|
8050
|
+
/**
|
|
8051
|
+
* @public
|
|
8052
|
+
*/
|
|
8053
|
+
interface $UnknownMember {
|
|
8054
|
+
metadataValue?: never;
|
|
8055
|
+
$unknown: [string, any];
|
|
8056
|
+
}
|
|
8057
|
+
/**
|
|
8058
|
+
* @deprecated unused in schema-serde mode.
|
|
8059
|
+
*
|
|
8060
|
+
*/
|
|
8061
|
+
interface Visitor<T> {
|
|
8062
|
+
metadataValue: (value: MemoryRecordMetadataValue) => T;
|
|
8063
|
+
_: (name: string, value: any) => T;
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
/**
|
|
8067
|
+
* <p>Filters to apply to metadata associated with a memory. Specify the metadata key and value in the <code>left</code> and <code>right</code> fields and use the <code>operator</code> field to define the relationship to match.</p>
|
|
8068
|
+
* @public
|
|
8069
|
+
*/
|
|
8070
|
+
export interface MemoryMetadataFilterExpression {
|
|
8071
|
+
/**
|
|
8072
|
+
* <p>The metadata key to evaluate.</p>
|
|
8073
|
+
* @public
|
|
8074
|
+
*/
|
|
8075
|
+
left: MemoryRecordLeftExpression | undefined;
|
|
8076
|
+
/**
|
|
8077
|
+
* <p>The relationship between the metadata key and value to match when applying the metadata filter.</p>
|
|
8078
|
+
* @public
|
|
8079
|
+
*/
|
|
8080
|
+
operator: MemoryRecordOperatorType | undefined;
|
|
8081
|
+
/**
|
|
8082
|
+
* <p>The value to compare against. Required for all operators except EXISTS and NOT_EXISTS.</p>
|
|
8083
|
+
* @public
|
|
8084
|
+
*/
|
|
8085
|
+
right?: MemoryRecordRightExpression | undefined;
|
|
8086
|
+
}
|
|
7905
8087
|
/**
|
|
7906
8088
|
* @public
|
|
7907
8089
|
*/
|
|
@@ -7936,6 +8118,11 @@ export interface ListMemoryRecordsInput {
|
|
|
7936
8118
|
* @public
|
|
7937
8119
|
*/
|
|
7938
8120
|
nextToken?: string | undefined;
|
|
8121
|
+
/**
|
|
8122
|
+
* <p>A list of metadata filter expressions to scope the returned memory records.</p>
|
|
8123
|
+
* @public
|
|
8124
|
+
*/
|
|
8125
|
+
metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
|
|
7939
8126
|
}
|
|
7940
8127
|
/**
|
|
7941
8128
|
* <p>Contains summary information about a memory record.</p>
|
|
@@ -7976,7 +8163,7 @@ export interface MemoryRecordSummary {
|
|
|
7976
8163
|
* <p>A map of metadata key-value pairs associated with a memory record.</p>
|
|
7977
8164
|
* @public
|
|
7978
8165
|
*/
|
|
7979
|
-
metadata?: Record<string,
|
|
8166
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
7980
8167
|
}
|
|
7981
8168
|
/**
|
|
7982
8169
|
* @public
|
|
@@ -8070,27 +8257,6 @@ export interface ListSessionsOutput {
|
|
|
8070
8257
|
*/
|
|
8071
8258
|
nextToken?: string | undefined;
|
|
8072
8259
|
}
|
|
8073
|
-
/**
|
|
8074
|
-
* <p>Filters to apply to metadata associated with a memory. Specify the metadata key and value in the <code>left</code> and <code>right</code> fields and use the <code>operator</code> field to define the relationship to match.</p>
|
|
8075
|
-
* @public
|
|
8076
|
-
*/
|
|
8077
|
-
export interface MemoryMetadataFilterExpression {
|
|
8078
|
-
/**
|
|
8079
|
-
* <p>Left expression of the event metadata filter.</p>
|
|
8080
|
-
* @public
|
|
8081
|
-
*/
|
|
8082
|
-
left: LeftExpression | undefined;
|
|
8083
|
-
/**
|
|
8084
|
-
* <p>The relationship between the metadata key and value to match when applying the metadata filter.</p>
|
|
8085
|
-
* @public
|
|
8086
|
-
*/
|
|
8087
|
-
operator: OperatorType | undefined;
|
|
8088
|
-
/**
|
|
8089
|
-
* <p>Right expression of the <code>eventMetadata</code>filter.</p>
|
|
8090
|
-
* @public
|
|
8091
|
-
*/
|
|
8092
|
-
right?: RightExpression | undefined;
|
|
8093
|
-
}
|
|
8094
8260
|
/**
|
|
8095
8261
|
* <p>Contains search criteria for retrieving memory records.</p>
|
|
8096
8262
|
* @public
|
|
@@ -8244,51 +8410,3 @@ export interface CustomDescriptor {
|
|
|
8244
8410
|
*/
|
|
8245
8411
|
inlineContent?: string | undefined;
|
|
8246
8412
|
}
|
|
8247
|
-
/**
|
|
8248
|
-
* <p> The MCP server definition with a schema version and inline content. The <code>schemaVersion</code> identifies the version of the MCP server configuration schema.</p>
|
|
8249
|
-
* @public
|
|
8250
|
-
*/
|
|
8251
|
-
export interface ServerDefinition {
|
|
8252
|
-
/**
|
|
8253
|
-
* <p> The schema version of the MCP server configuration. The schema version identifies the format of the server definition content.</p>
|
|
8254
|
-
* @public
|
|
8255
|
-
*/
|
|
8256
|
-
schemaVersion?: string | undefined;
|
|
8257
|
-
/**
|
|
8258
|
-
* <p> The inline content of the server definition.</p>
|
|
8259
|
-
* @public
|
|
8260
|
-
*/
|
|
8261
|
-
inlineContent?: string | undefined;
|
|
8262
|
-
}
|
|
8263
|
-
/**
|
|
8264
|
-
* <p> The MCP tools definition with a protocol version and inline content. The <code>protocolVersion</code> identifies the MCP protocol version that the tools conform to. This differs from <code>schemaVersion</code> in the server definition, which identifies the server configuration schema format.</p>
|
|
8265
|
-
* @public
|
|
8266
|
-
*/
|
|
8267
|
-
export interface ToolsDefinition {
|
|
8268
|
-
/**
|
|
8269
|
-
* <p> The MCP protocol version that the tools conform to. This differs from the <code>schemaVersion</code> field in the server definition, which identifies the server configuration schema format.</p>
|
|
8270
|
-
* @public
|
|
8271
|
-
*/
|
|
8272
|
-
protocolVersion?: string | undefined;
|
|
8273
|
-
/**
|
|
8274
|
-
* <p> The inline content of the tools definition.</p>
|
|
8275
|
-
* @public
|
|
8276
|
-
*/
|
|
8277
|
-
inlineContent?: string | undefined;
|
|
8278
|
-
}
|
|
8279
|
-
/**
|
|
8280
|
-
* <p> The MCP (Model Context Protocol) descriptor configuration for a registry record. Contains the server definition and tools definition.</p>
|
|
8281
|
-
* @public
|
|
8282
|
-
*/
|
|
8283
|
-
export interface McpDescriptor {
|
|
8284
|
-
/**
|
|
8285
|
-
* <p> The MCP server definition that describes the server configuration.</p>
|
|
8286
|
-
* @public
|
|
8287
|
-
*/
|
|
8288
|
-
server: ServerDefinition | undefined;
|
|
8289
|
-
/**
|
|
8290
|
-
* <p> The MCP tools definition that describes the available tools.</p>
|
|
8291
|
-
* @public
|
|
8292
|
-
*/
|
|
8293
|
-
tools: ToolsDefinition | undefined;
|
|
8294
|
-
}
|
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import type { DescriptorType, RegistryRecordStatus } from "./enums";
|
|
2
|
-
import type { A2aDescriptor, AgentSkillsDescriptor, CustomDescriptor
|
|
2
|
+
import type { A2aDescriptor, AgentSkillsDescriptor, CustomDescriptor } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p> The MCP server definition with a schema version and inline content. The <code>schemaVersion</code> identifies the version of the MCP server configuration schema.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ServerDefinition {
|
|
8
|
+
/**
|
|
9
|
+
* <p> The schema version of the MCP server configuration. The schema version identifies the format of the server definition content.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
schemaVersion?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p> The inline content of the server definition.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
inlineContent?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p> The MCP tools definition with a protocol version and inline content. The <code>protocolVersion</code> identifies the MCP protocol version that the tools conform to. This differs from <code>schemaVersion</code> in the server definition, which identifies the server configuration schema format.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface ToolsDefinition {
|
|
24
|
+
/**
|
|
25
|
+
* <p> The MCP protocol version that the tools conform to. This differs from the <code>schemaVersion</code> field in the server definition, which identifies the server configuration schema format.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
protocolVersion?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p> The inline content of the tools definition.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
inlineContent?: string | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p> The MCP (Model Context Protocol) descriptor configuration for a registry record. Contains the server definition and tools definition.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface McpDescriptor {
|
|
40
|
+
/**
|
|
41
|
+
* <p> The MCP server definition that describes the server configuration.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
server: ServerDefinition | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p> The MCP tools definition that describes the available tools.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
tools: ToolsDefinition | undefined;
|
|
50
|
+
}
|
|
3
51
|
/**
|
|
4
52
|
* <p> Contains the descriptor configuration for a registry record. Only the field that matches the record's <code>descriptorType</code> is populated.</p>
|
|
5
53
|
* @public
|
|
@@ -310,6 +310,9 @@ export declare var InvokeAgentRuntimeCommandStreamOutput$: StaticUnionSchema;
|
|
|
310
310
|
export declare var InvokeHarnessStreamOutput$: StaticUnionSchema;
|
|
311
311
|
export declare var LeftExpression$: StaticUnionSchema;
|
|
312
312
|
export declare var MemoryContent$: StaticUnionSchema;
|
|
313
|
+
export declare var MemoryRecordLeftExpression$: StaticUnionSchema;
|
|
314
|
+
export declare var MemoryRecordMetadataValue$: StaticUnionSchema;
|
|
315
|
+
export declare var MemoryRecordRightExpression$: StaticUnionSchema;
|
|
313
316
|
export declare var MetadataValue$: StaticUnionSchema;
|
|
314
317
|
export declare var OutputConfig$: StaticUnionSchema;
|
|
315
318
|
export declare var PayloadType$: StaticUnionSchema;
|
|
@@ -114,6 +114,7 @@ export type RecommendationType =
|
|
|
114
114
|
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
115
115
|
export declare const Oauth2FlowType: {
|
|
116
116
|
readonly M2M: "M2M";
|
|
117
|
+
readonly ON_BEHALF_OF_TOKEN_EXCHANGE: "ON_BEHALF_OF_TOKEN_EXCHANGE";
|
|
117
118
|
readonly USER_FEDERATION: "USER_FEDERATION";
|
|
118
119
|
};
|
|
119
120
|
export type Oauth2FlowType =
|
|
@@ -247,6 +248,20 @@ export declare const ExtractionJobStatus: {
|
|
|
247
248
|
};
|
|
248
249
|
export type ExtractionJobStatus =
|
|
249
250
|
(typeof ExtractionJobStatus)[keyof typeof ExtractionJobStatus];
|
|
251
|
+
export declare const MemoryRecordOperatorType: {
|
|
252
|
+
readonly AFTER: "AFTER";
|
|
253
|
+
readonly BEFORE: "BEFORE";
|
|
254
|
+
readonly CONTAINS: "CONTAINS";
|
|
255
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
256
|
+
readonly EXISTS: "EXISTS";
|
|
257
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
258
|
+
readonly GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS";
|
|
259
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
260
|
+
readonly LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS";
|
|
261
|
+
readonly NOT_EXISTS: "NOT_EXISTS";
|
|
262
|
+
};
|
|
263
|
+
export type MemoryRecordOperatorType =
|
|
264
|
+
(typeof MemoryRecordOperatorType)[keyof typeof MemoryRecordOperatorType];
|
|
250
265
|
export declare const EventFilterCondition: {
|
|
251
266
|
readonly HAS_EVENTS: "HAS_EVENTS";
|
|
252
267
|
};
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
HarnessToolUseStatus,
|
|
23
23
|
HarnessToolUseType,
|
|
24
24
|
LanguageRuntime,
|
|
25
|
+
MemoryRecordOperatorType,
|
|
25
26
|
MemoryRecordStatus,
|
|
26
27
|
MouseButton,
|
|
27
28
|
Oauth2FlowType,
|
|
@@ -1759,6 +1760,8 @@ export interface GetResourceOauth2TokenRequest {
|
|
|
1759
1760
|
forceAuthentication?: boolean | undefined;
|
|
1760
1761
|
customParameters?: Record<string, string> | undefined;
|
|
1761
1762
|
customState?: string | undefined;
|
|
1763
|
+
resources?: string[] | undefined;
|
|
1764
|
+
audiences?: string[] | undefined;
|
|
1762
1765
|
}
|
|
1763
1766
|
export interface GetResourceOauth2TokenResponse {
|
|
1764
1767
|
authorizationUrl?: string | undefined;
|
|
@@ -2680,12 +2683,63 @@ export declare namespace MemoryContent {
|
|
|
2680
2683
|
_: (name: string, value: any) => T;
|
|
2681
2684
|
}
|
|
2682
2685
|
}
|
|
2686
|
+
export type MemoryRecordMetadataValue =
|
|
2687
|
+
| MemoryRecordMetadataValue.DateTimeValueMember
|
|
2688
|
+
| MemoryRecordMetadataValue.NumberValueMember
|
|
2689
|
+
| MemoryRecordMetadataValue.StringListValueMember
|
|
2690
|
+
| MemoryRecordMetadataValue.StringValueMember
|
|
2691
|
+
| MemoryRecordMetadataValue.$UnknownMember;
|
|
2692
|
+
export declare namespace MemoryRecordMetadataValue {
|
|
2693
|
+
interface StringValueMember {
|
|
2694
|
+
stringValue: string;
|
|
2695
|
+
stringListValue?: never;
|
|
2696
|
+
numberValue?: never;
|
|
2697
|
+
dateTimeValue?: never;
|
|
2698
|
+
$unknown?: never;
|
|
2699
|
+
}
|
|
2700
|
+
interface StringListValueMember {
|
|
2701
|
+
stringValue?: never;
|
|
2702
|
+
stringListValue: string[];
|
|
2703
|
+
numberValue?: never;
|
|
2704
|
+
dateTimeValue?: never;
|
|
2705
|
+
$unknown?: never;
|
|
2706
|
+
}
|
|
2707
|
+
interface NumberValueMember {
|
|
2708
|
+
stringValue?: never;
|
|
2709
|
+
stringListValue?: never;
|
|
2710
|
+
numberValue: number;
|
|
2711
|
+
dateTimeValue?: never;
|
|
2712
|
+
$unknown?: never;
|
|
2713
|
+
}
|
|
2714
|
+
interface DateTimeValueMember {
|
|
2715
|
+
stringValue?: never;
|
|
2716
|
+
stringListValue?: never;
|
|
2717
|
+
numberValue?: never;
|
|
2718
|
+
dateTimeValue: Date;
|
|
2719
|
+
$unknown?: never;
|
|
2720
|
+
}
|
|
2721
|
+
interface $UnknownMember {
|
|
2722
|
+
stringValue?: never;
|
|
2723
|
+
stringListValue?: never;
|
|
2724
|
+
numberValue?: never;
|
|
2725
|
+
dateTimeValue?: never;
|
|
2726
|
+
$unknown: [string, any];
|
|
2727
|
+
}
|
|
2728
|
+
interface Visitor<T> {
|
|
2729
|
+
stringValue: (value: string) => T;
|
|
2730
|
+
stringListValue: (value: string[]) => T;
|
|
2731
|
+
numberValue: (value: number) => T;
|
|
2732
|
+
dateTimeValue: (value: Date) => T;
|
|
2733
|
+
_: (name: string, value: any) => T;
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2683
2736
|
export interface MemoryRecordCreateInput {
|
|
2684
2737
|
requestIdentifier: string | undefined;
|
|
2685
2738
|
namespaces: string[] | undefined;
|
|
2686
2739
|
content: MemoryContent | undefined;
|
|
2687
2740
|
timestamp: Date | undefined;
|
|
2688
2741
|
memoryStrategyId?: string | undefined;
|
|
2742
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
2689
2743
|
}
|
|
2690
2744
|
export interface BatchCreateMemoryRecordsInput {
|
|
2691
2745
|
memoryId: string | undefined;
|
|
@@ -2720,6 +2774,7 @@ export interface MemoryRecordUpdateInput {
|
|
|
2720
2774
|
content?: MemoryContent | undefined;
|
|
2721
2775
|
namespaces?: string[] | undefined;
|
|
2722
2776
|
memoryStrategyId?: string | undefined;
|
|
2777
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
2723
2778
|
}
|
|
2724
2779
|
export interface BatchUpdateMemoryRecordsInput {
|
|
2725
2780
|
memoryId: string | undefined;
|
|
@@ -2853,7 +2908,7 @@ export interface MemoryRecord {
|
|
|
2853
2908
|
memoryStrategyId: string | undefined;
|
|
2854
2909
|
namespaces: string[] | undefined;
|
|
2855
2910
|
createdAt: Date | undefined;
|
|
2856
|
-
metadata?: Record<string,
|
|
2911
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
2857
2912
|
}
|
|
2858
2913
|
export interface GetMemoryRecordOutput {
|
|
2859
2914
|
memoryRecord: MemoryRecord | undefined;
|
|
@@ -2973,6 +3028,45 @@ export interface ListMemoryExtractionJobsOutput {
|
|
|
2973
3028
|
jobs: ExtractionJobMetadata[] | undefined;
|
|
2974
3029
|
nextToken?: string | undefined;
|
|
2975
3030
|
}
|
|
3031
|
+
export type MemoryRecordLeftExpression =
|
|
3032
|
+
| MemoryRecordLeftExpression.MetadataKeyMember
|
|
3033
|
+
| MemoryRecordLeftExpression.$UnknownMember;
|
|
3034
|
+
export declare namespace MemoryRecordLeftExpression {
|
|
3035
|
+
interface MetadataKeyMember {
|
|
3036
|
+
metadataKey: string;
|
|
3037
|
+
$unknown?: never;
|
|
3038
|
+
}
|
|
3039
|
+
interface $UnknownMember {
|
|
3040
|
+
metadataKey?: never;
|
|
3041
|
+
$unknown: [string, any];
|
|
3042
|
+
}
|
|
3043
|
+
interface Visitor<T> {
|
|
3044
|
+
metadataKey: (value: string) => T;
|
|
3045
|
+
_: (name: string, value: any) => T;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
export type MemoryRecordRightExpression =
|
|
3049
|
+
| MemoryRecordRightExpression.MetadataValueMember
|
|
3050
|
+
| MemoryRecordRightExpression.$UnknownMember;
|
|
3051
|
+
export declare namespace MemoryRecordRightExpression {
|
|
3052
|
+
interface MetadataValueMember {
|
|
3053
|
+
metadataValue: MemoryRecordMetadataValue;
|
|
3054
|
+
$unknown?: never;
|
|
3055
|
+
}
|
|
3056
|
+
interface $UnknownMember {
|
|
3057
|
+
metadataValue?: never;
|
|
3058
|
+
$unknown: [string, any];
|
|
3059
|
+
}
|
|
3060
|
+
interface Visitor<T> {
|
|
3061
|
+
metadataValue: (value: MemoryRecordMetadataValue) => T;
|
|
3062
|
+
_: (name: string, value: any) => T;
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
export interface MemoryMetadataFilterExpression {
|
|
3066
|
+
left: MemoryRecordLeftExpression | undefined;
|
|
3067
|
+
operator: MemoryRecordOperatorType | undefined;
|
|
3068
|
+
right?: MemoryRecordRightExpression | undefined;
|
|
3069
|
+
}
|
|
2976
3070
|
export interface ListMemoryRecordsInput {
|
|
2977
3071
|
memoryId: string | undefined;
|
|
2978
3072
|
namespace?: string | undefined;
|
|
@@ -2980,6 +3074,7 @@ export interface ListMemoryRecordsInput {
|
|
|
2980
3074
|
memoryStrategyId?: string | undefined;
|
|
2981
3075
|
maxResults?: number | undefined;
|
|
2982
3076
|
nextToken?: string | undefined;
|
|
3077
|
+
metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
|
|
2983
3078
|
}
|
|
2984
3079
|
export interface MemoryRecordSummary {
|
|
2985
3080
|
memoryRecordId: string | undefined;
|
|
@@ -2988,7 +3083,7 @@ export interface MemoryRecordSummary {
|
|
|
2988
3083
|
namespaces: string[] | undefined;
|
|
2989
3084
|
createdAt: Date | undefined;
|
|
2990
3085
|
score?: number | undefined;
|
|
2991
|
-
metadata?: Record<string,
|
|
3086
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
2992
3087
|
}
|
|
2993
3088
|
export interface ListMemoryRecordsOutput {
|
|
2994
3089
|
memoryRecordSummaries: MemoryRecordSummary[] | undefined;
|
|
@@ -3013,11 +3108,6 @@ export interface ListSessionsOutput {
|
|
|
3013
3108
|
sessionSummaries: SessionSummary[] | undefined;
|
|
3014
3109
|
nextToken?: string | undefined;
|
|
3015
3110
|
}
|
|
3016
|
-
export interface MemoryMetadataFilterExpression {
|
|
3017
|
-
left: LeftExpression | undefined;
|
|
3018
|
-
operator: OperatorType | undefined;
|
|
3019
|
-
right?: RightExpression | undefined;
|
|
3020
|
-
}
|
|
3021
3111
|
export interface SearchCriteria {
|
|
3022
3112
|
searchQuery: string | undefined;
|
|
3023
3113
|
memoryStrategyId?: string | undefined;
|
|
@@ -3056,15 +3146,3 @@ export interface SearchRegistryRecordsRequest {
|
|
|
3056
3146
|
export interface CustomDescriptor {
|
|
3057
3147
|
inlineContent?: string | undefined;
|
|
3058
3148
|
}
|
|
3059
|
-
export interface ServerDefinition {
|
|
3060
|
-
schemaVersion?: string | undefined;
|
|
3061
|
-
inlineContent?: string | undefined;
|
|
3062
|
-
}
|
|
3063
|
-
export interface ToolsDefinition {
|
|
3064
|
-
protocolVersion?: string | undefined;
|
|
3065
|
-
inlineContent?: string | undefined;
|
|
3066
|
-
}
|
|
3067
|
-
export interface McpDescriptor {
|
|
3068
|
-
server: ServerDefinition | undefined;
|
|
3069
|
-
tools: ToolsDefinition | undefined;
|
|
3070
|
-
}
|
|
@@ -3,8 +3,19 @@ import {
|
|
|
3
3
|
A2aDescriptor,
|
|
4
4
|
AgentSkillsDescriptor,
|
|
5
5
|
CustomDescriptor,
|
|
6
|
-
McpDescriptor,
|
|
7
6
|
} from "./models_0";
|
|
7
|
+
export interface ServerDefinition {
|
|
8
|
+
schemaVersion?: string | undefined;
|
|
9
|
+
inlineContent?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface ToolsDefinition {
|
|
12
|
+
protocolVersion?: string | undefined;
|
|
13
|
+
inlineContent?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface McpDescriptor {
|
|
16
|
+
server: ServerDefinition | undefined;
|
|
17
|
+
tools: ToolsDefinition | undefined;
|
|
18
|
+
}
|
|
8
19
|
export interface Descriptors {
|
|
9
20
|
mcp?: McpDescriptor | undefined;
|
|
10
21
|
a2a?: A2aDescriptor | undefined;
|
|
@@ -310,6 +310,9 @@ export declare var InvokeAgentRuntimeCommandStreamOutput$: StaticUnionSchema;
|
|
|
310
310
|
export declare var InvokeHarnessStreamOutput$: StaticUnionSchema;
|
|
311
311
|
export declare var LeftExpression$: StaticUnionSchema;
|
|
312
312
|
export declare var MemoryContent$: StaticUnionSchema;
|
|
313
|
+
export declare var MemoryRecordLeftExpression$: StaticUnionSchema;
|
|
314
|
+
export declare var MemoryRecordMetadataValue$: StaticUnionSchema;
|
|
315
|
+
export declare var MemoryRecordRightExpression$: StaticUnionSchema;
|
|
313
316
|
export declare var MetadataValue$: StaticUnionSchema;
|
|
314
317
|
export declare var OutputConfig$: StaticUnionSchema;
|
|
315
318
|
export declare var PayloadType$: StaticUnionSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1041.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.39",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.38",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.24",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/eventstream-serde-browser": "^4.2.14",
|