@aws-sdk/client-bedrock-agentcore 3.1030.0 → 3.1031.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.
@@ -429,6 +429,7 @@ const _mc = "mcp";
429
429
  const _me = "metadata";
430
430
  const _mes = "messages";
431
431
  const _n = "name";
432
+ const _nP = "namespacePath";
432
433
  const _nT = "nextToken";
433
434
  const _na = "namespace";
434
435
  const _nam = "namespaces";
@@ -1137,8 +1138,8 @@ exports.ListMemoryExtractionJobsOutput$ = [3, n0, _LMEJO,
1137
1138
  ];
1138
1139
  exports.ListMemoryRecordsInput$ = [3, n0, _LMRI,
1139
1140
  0,
1140
- [_mI, _na, _mSIe, _mRa, _nT],
1141
- [[0, 1], 0, 0, 1, 0], 2
1141
+ [_mI, _na, _nP, _mSIe, _mRa, _nT],
1142
+ [[0, 1], 0, 0, 0, 1, 0], 1
1142
1143
  ];
1143
1144
  exports.ListMemoryRecordsOutput$ = [3, n0, _LMRO,
1144
1145
  0,
@@ -1272,8 +1273,8 @@ exports.ResponseChunk$ = [3, n0, _RCe,
1272
1273
  ];
1273
1274
  exports.RetrieveMemoryRecordsInput$ = [3, n0, _RMRI,
1274
1275
  0,
1275
- [_mI, _na, _sCe, _nT, _mRa],
1276
- [[0, 1], 0, [() => exports.SearchCriteria$, 0], 0, 1], 3
1276
+ [_mI, _sCe, _na, _nP, _nT, _mRa],
1277
+ [[0, 1], [() => exports.SearchCriteria$, 0], 0, 0, 0, 1], 2
1277
1278
  ];
1278
1279
  exports.RetrieveMemoryRecordsOutput$ = [3, n0, _RMRO,
1279
1280
  0,
@@ -422,6 +422,7 @@ const _mc = "mcp";
422
422
  const _me = "metadata";
423
423
  const _mes = "messages";
424
424
  const _n = "name";
425
+ const _nP = "namespacePath";
425
426
  const _nT = "nextToken";
426
427
  const _na = "namespace";
427
428
  const _nam = "namespaces";
@@ -1130,8 +1131,8 @@ export var ListMemoryExtractionJobsOutput$ = [3, n0, _LMEJO,
1130
1131
  ];
1131
1132
  export var ListMemoryRecordsInput$ = [3, n0, _LMRI,
1132
1133
  0,
1133
- [_mI, _na, _mSIe, _mRa, _nT],
1134
- [[0, 1], 0, 0, 1, 0], 2
1134
+ [_mI, _na, _nP, _mSIe, _mRa, _nT],
1135
+ [[0, 1], 0, 0, 0, 1, 0], 1
1135
1136
  ];
1136
1137
  export var ListMemoryRecordsOutput$ = [3, n0, _LMRO,
1137
1138
  0,
@@ -1265,8 +1266,8 @@ export var ResponseChunk$ = [3, n0, _RCe,
1265
1266
  ];
1266
1267
  export var RetrieveMemoryRecordsInput$ = [3, n0, _RMRI,
1267
1268
  0,
1268
- [_mI, _na, _sCe, _nT, _mRa],
1269
- [[0, 1], 0, [() => SearchCriteria$, 0], 0, 1], 3
1269
+ [_mI, _sCe, _na, _nP, _nT, _mRa],
1270
+ [[0, 1], [() => SearchCriteria$, 0], 0, 0, 0, 1], 2
1270
1271
  ];
1271
1272
  export var RetrieveMemoryRecordsOutput$ = [3, n0, _RMRO,
1272
1273
  0,
@@ -38,7 +38,8 @@ declare const ListMemoryRecordsCommand_base: {
38
38
  * const client = new BedrockAgentCoreClient(config);
39
39
  * const input = { // ListMemoryRecordsInput
40
40
  * memoryId: "STRING_VALUE", // required
41
- * namespace: "STRING_VALUE", // required
41
+ * namespace: "STRING_VALUE",
42
+ * namespacePath: "STRING_VALUE",
42
43
  * memoryStrategyId: "STRING_VALUE",
43
44
  * maxResults: Number("int"),
44
45
  * nextToken: "STRING_VALUE",
@@ -38,7 +38,8 @@ declare const RetrieveMemoryRecordsCommand_base: {
38
38
  * const client = new BedrockAgentCoreClient(config);
39
39
  * const input = { // RetrieveMemoryRecordsInput
40
40
  * memoryId: "STRING_VALUE", // required
41
- * namespace: "STRING_VALUE", // required
41
+ * namespace: "STRING_VALUE",
42
+ * namespacePath: "STRING_VALUE",
42
43
  * searchCriteria: { // SearchCriteria
43
44
  * searchQuery: "STRING_VALUE", // required
44
45
  * memoryStrategyId: "STRING_VALUE",
@@ -4316,7 +4316,12 @@ export interface ListMemoryRecordsInput {
4316
4316
  * <p>The namespace prefix to filter memory records by. Returns all memory records in namespaces that start with the provided prefix.</p>
4317
4317
  * @public
4318
4318
  */
4319
- namespace: string | undefined;
4319
+ namespace?: string | undefined;
4320
+ /**
4321
+ * <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy.</p>
4322
+ * @public
4323
+ */
4324
+ namespacePath?: string | undefined;
4320
4325
  /**
4321
4326
  * <p>The memory strategy identifier to filter memory records by. If specified, only memory records with this strategy ID are returned.</p>
4322
4327
  * @public
@@ -4526,7 +4531,12 @@ export interface RetrieveMemoryRecordsInput {
4526
4531
  * <p>The namespace prefix to filter memory records by. Searches for memory records in namespaces that start with the provided prefix.</p>
4527
4532
  * @public
4528
4533
  */
4529
- namespace: string | undefined;
4534
+ namespace?: string | undefined;
4535
+ /**
4536
+ * <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy.</p>
4537
+ * @public
4538
+ */
4539
+ namespacePath?: string | undefined;
4530
4540
  /**
4531
4541
  * <p>The search criteria to use for finding relevant memory records. This includes the search query, memory strategy ID, and other search parameters.</p>
4532
4542
  * @public
@@ -1572,7 +1572,8 @@ export interface ListMemoryExtractionJobsOutput {
1572
1572
  }
1573
1573
  export interface ListMemoryRecordsInput {
1574
1574
  memoryId: string | undefined;
1575
- namespace: string | undefined;
1575
+ namespace?: string | undefined;
1576
+ namespacePath?: string | undefined;
1576
1577
  memoryStrategyId?: string | undefined;
1577
1578
  maxResults?: number | undefined;
1578
1579
  nextToken?: string | undefined;
@@ -1622,7 +1623,8 @@ export interface SearchCriteria {
1622
1623
  }
1623
1624
  export interface RetrieveMemoryRecordsInput {
1624
1625
  memoryId: string | undefined;
1625
- namespace: string | undefined;
1626
+ namespace?: string | undefined;
1627
+ namespacePath?: string | undefined;
1626
1628
  searchCriteria: SearchCriteria | undefined;
1627
1629
  nextToken?: string | undefined;
1628
1630
  maxResults?: number | undefined;
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.1030.0",
4
+ "version": "3.1031.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,45 +21,45 @@
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.973.27",
25
- "@aws-sdk/credential-provider-node": "^3.972.30",
26
- "@aws-sdk/middleware-host-header": "^3.972.9",
27
- "@aws-sdk/middleware-logger": "^3.972.9",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.10",
29
- "@aws-sdk/middleware-user-agent": "^3.972.29",
30
- "@aws-sdk/region-config-resolver": "^3.972.11",
31
- "@aws-sdk/types": "^3.973.7",
32
- "@aws-sdk/util-endpoints": "^3.996.6",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.9",
34
- "@aws-sdk/util-user-agent-node": "^3.973.15",
35
- "@smithy/config-resolver": "^4.4.14",
36
- "@smithy/core": "^3.23.14",
37
- "@smithy/eventstream-serde-browser": "^4.2.13",
38
- "@smithy/eventstream-serde-config-resolver": "^4.3.13",
39
- "@smithy/eventstream-serde-node": "^4.2.13",
40
- "@smithy/fetch-http-handler": "^5.3.16",
41
- "@smithy/hash-node": "^4.2.13",
42
- "@smithy/invalid-dependency": "^4.2.13",
43
- "@smithy/middleware-content-length": "^4.2.13",
44
- "@smithy/middleware-endpoint": "^4.4.29",
45
- "@smithy/middleware-retry": "^4.5.0",
46
- "@smithy/middleware-serde": "^4.2.17",
47
- "@smithy/middleware-stack": "^4.2.13",
48
- "@smithy/node-config-provider": "^4.3.13",
49
- "@smithy/node-http-handler": "^4.5.2",
50
- "@smithy/protocol-http": "^5.3.13",
51
- "@smithy/smithy-client": "^4.12.9",
52
- "@smithy/types": "^4.14.0",
53
- "@smithy/url-parser": "^4.2.13",
24
+ "@aws-sdk/core": "^3.974.0",
25
+ "@aws-sdk/credential-provider-node": "^3.972.31",
26
+ "@aws-sdk/middleware-host-header": "^3.972.10",
27
+ "@aws-sdk/middleware-logger": "^3.972.10",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.30",
30
+ "@aws-sdk/region-config-resolver": "^3.972.12",
31
+ "@aws-sdk/types": "^3.973.8",
32
+ "@aws-sdk/util-endpoints": "^3.996.7",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.16",
35
+ "@smithy/config-resolver": "^4.4.16",
36
+ "@smithy/core": "^3.23.15",
37
+ "@smithy/eventstream-serde-browser": "^4.2.14",
38
+ "@smithy/eventstream-serde-config-resolver": "^4.3.14",
39
+ "@smithy/eventstream-serde-node": "^4.2.14",
40
+ "@smithy/fetch-http-handler": "^5.3.17",
41
+ "@smithy/hash-node": "^4.2.14",
42
+ "@smithy/invalid-dependency": "^4.2.14",
43
+ "@smithy/middleware-content-length": "^4.2.14",
44
+ "@smithy/middleware-endpoint": "^4.4.30",
45
+ "@smithy/middleware-retry": "^4.5.3",
46
+ "@smithy/middleware-serde": "^4.2.18",
47
+ "@smithy/middleware-stack": "^4.2.14",
48
+ "@smithy/node-config-provider": "^4.3.14",
49
+ "@smithy/node-http-handler": "^4.5.3",
50
+ "@smithy/protocol-http": "^5.3.14",
51
+ "@smithy/smithy-client": "^4.12.11",
52
+ "@smithy/types": "^4.14.1",
53
+ "@smithy/url-parser": "^4.2.14",
54
54
  "@smithy/util-base64": "^4.3.2",
55
55
  "@smithy/util-body-length-browser": "^4.2.2",
56
56
  "@smithy/util-body-length-node": "^4.2.3",
57
- "@smithy/util-defaults-mode-browser": "^4.3.45",
58
- "@smithy/util-defaults-mode-node": "^4.2.49",
59
- "@smithy/util-endpoints": "^3.3.4",
60
- "@smithy/util-middleware": "^4.2.13",
61
- "@smithy/util-retry": "^4.3.0",
62
- "@smithy/util-stream": "^4.5.22",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.47",
58
+ "@smithy/util-defaults-mode-node": "^4.2.52",
59
+ "@smithy/util-endpoints": "^3.4.1",
60
+ "@smithy/util-middleware": "^4.2.14",
61
+ "@smithy/util-retry": "^4.3.2",
62
+ "@smithy/util-stream": "^4.5.23",
63
63
  "@smithy/util-utf8": "^4.2.2",
64
64
  "tslib": "^2.6.2"
65
65
  },