@aws-sdk/client-bedrock-agent 3.777.0 → 3.787.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.
@@ -206,6 +206,7 @@ declare const CreateKnowledgeBaseCommand_base: {
206
206
  * vectorField: "STRING_VALUE", // required
207
207
  * textField: "STRING_VALUE", // required
208
208
  * metadataField: "STRING_VALUE", // required
209
+ * customMetadataField: "STRING_VALUE",
209
210
  * },
210
211
  * },
211
212
  * mongoDbAtlasConfiguration: { // MongoDbAtlasConfiguration
@@ -220,6 +221,7 @@ declare const CreateKnowledgeBaseCommand_base: {
220
221
  * metadataField: "STRING_VALUE", // required
221
222
  * },
222
223
  * endpointServiceName: "STRING_VALUE",
224
+ * textIndexName: "STRING_VALUE",
223
225
  * },
224
226
  * neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
225
227
  * graphArn: "STRING_VALUE", // required
@@ -378,6 +380,7 @@ declare const CreateKnowledgeBaseCommand_base: {
378
380
  * // vectorField: "STRING_VALUE", // required
379
381
  * // textField: "STRING_VALUE", // required
380
382
  * // metadataField: "STRING_VALUE", // required
383
+ * // customMetadataField: "STRING_VALUE",
381
384
  * // },
382
385
  * // },
383
386
  * // mongoDbAtlasConfiguration: { // MongoDbAtlasConfiguration
@@ -392,6 +395,7 @@ declare const CreateKnowledgeBaseCommand_base: {
392
395
  * // metadataField: "STRING_VALUE", // required
393
396
  * // },
394
397
  * // endpointServiceName: "STRING_VALUE",
398
+ * // textIndexName: "STRING_VALUE",
395
399
  * // },
396
400
  * // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
397
401
  * // graphArn: "STRING_VALUE", // required
@@ -182,6 +182,7 @@ declare const GetKnowledgeBaseCommand_base: {
182
182
  * // vectorField: "STRING_VALUE", // required
183
183
  * // textField: "STRING_VALUE", // required
184
184
  * // metadataField: "STRING_VALUE", // required
185
+ * // customMetadataField: "STRING_VALUE",
185
186
  * // },
186
187
  * // },
187
188
  * // mongoDbAtlasConfiguration: { // MongoDbAtlasConfiguration
@@ -196,6 +197,7 @@ declare const GetKnowledgeBaseCommand_base: {
196
197
  * // metadataField: "STRING_VALUE", // required
197
198
  * // },
198
199
  * // endpointServiceName: "STRING_VALUE",
200
+ * // textIndexName: "STRING_VALUE",
199
201
  * // },
200
202
  * // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
201
203
  * // graphArn: "STRING_VALUE", // required
@@ -194,6 +194,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
194
194
  * vectorField: "STRING_VALUE", // required
195
195
  * textField: "STRING_VALUE", // required
196
196
  * metadataField: "STRING_VALUE", // required
197
+ * customMetadataField: "STRING_VALUE",
197
198
  * },
198
199
  * },
199
200
  * mongoDbAtlasConfiguration: { // MongoDbAtlasConfiguration
@@ -208,6 +209,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
208
209
  * metadataField: "STRING_VALUE", // required
209
210
  * },
210
211
  * endpointServiceName: "STRING_VALUE",
212
+ * textIndexName: "STRING_VALUE",
211
213
  * },
212
214
  * neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
213
215
  * graphArn: "STRING_VALUE", // required
@@ -363,6 +365,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
363
365
  * // vectorField: "STRING_VALUE", // required
364
366
  * // textField: "STRING_VALUE", // required
365
367
  * // metadataField: "STRING_VALUE", // required
368
+ * // customMetadataField: "STRING_VALUE",
366
369
  * // },
367
370
  * // },
368
371
  * // mongoDbAtlasConfiguration: { // MongoDbAtlasConfiguration
@@ -377,6 +380,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
377
380
  * // metadataField: "STRING_VALUE", // required
378
381
  * // },
379
382
  * // endpointServiceName: "STRING_VALUE",
383
+ * // textIndexName: "STRING_VALUE",
380
384
  * // },
381
385
  * // neptuneAnalyticsConfiguration: { // NeptuneAnalyticsConfiguration
382
386
  * // graphArn: "STRING_VALUE", // required
@@ -1179,6 +1179,12 @@ export interface MongoDbAtlasConfiguration {
1179
1179
  * @public
1180
1180
  */
1181
1181
  endpointServiceName?: string | undefined;
1182
+ /**
1183
+ * <p>The name of the text search index in the MongoDB collection. This is required for using the hybrid search
1184
+ * feature.</p>
1185
+ * @public
1186
+ */
1187
+ textIndexName?: string | undefined;
1182
1188
  }
1183
1189
  /**
1184
1190
  * <p>Contains the names of the fields to which to map information about the vector store.</p>
@@ -1373,6 +1379,12 @@ export interface RdsFieldMapping {
1373
1379
  * @public
1374
1380
  */
1375
1381
  metadataField: string | undefined;
1382
+ /**
1383
+ * <p>Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from
1384
+ * your data source.</p>
1385
+ * @public
1386
+ */
1387
+ customMetadataField?: string | undefined;
1376
1388
  }
1377
1389
  /**
1378
1390
  * <p>Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html">Create a vector index in Amazon RDS</a>.</p>
@@ -343,6 +343,7 @@ export interface MongoDbAtlasConfiguration {
343
343
  credentialsSecretArn: string | undefined;
344
344
  fieldMapping: MongoDbAtlasFieldMapping | undefined;
345
345
  endpointServiceName?: string | undefined;
346
+ textIndexName?: string | undefined;
346
347
  }
347
348
  export interface NeptuneAnalyticsFieldMapping {
348
349
  textField: string | undefined;
@@ -388,6 +389,7 @@ export interface RdsFieldMapping {
388
389
  vectorField: string | undefined;
389
390
  textField: string | undefined;
390
391
  metadataField: string | undefined;
392
+ customMetadataField?: string | undefined;
391
393
  }
392
394
  export interface RdsConfiguration {
393
395
  resourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.777.0",
4
+ "version": "3.787.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.777.0",
24
+ "@aws-sdk/credential-provider-node": "3.787.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.787.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.787.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",