@aws-sdk/client-bedrock-agent 3.1129.0 → 3.1130.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 +1 -1
- package/dist-cjs/index.js +9 -8
- package/dist-es/models/enums.js +4 -3
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/BedrockAgent.d.ts +1 -1
- package/dist-types/BedrockAgentClient.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +24 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +12 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +24 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +12 -11
- package/dist-types/models/models_0.d.ts +5 -5
- package/dist-types/models/models_1.d.ts +46 -32
- package/dist-types/ts3.4/models/enums.d.ts +6 -5
- package/dist-types/ts3.4/models/models_1.d.ts +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript BedrockAgent Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
9
|
+
<note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1129.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1467,8 +1467,8 @@ var BedrockDataAutomationConfiguration$ = [3, n0, _BDAC,
|
|
|
1467
1467
|
];
|
|
1468
1468
|
var BedrockEmbeddingModelConfiguration$ = [3, n0, _BEMC,
|
|
1469
1469
|
0,
|
|
1470
|
-
[_di, _eDT, _au, _vi],
|
|
1471
|
-
[1, 0, () => AudioConfigurations, () => VideoConfigurations]
|
|
1470
|
+
[_di, _eDT, _au, _vi, _mCo],
|
|
1471
|
+
[1, 0, () => AudioConfigurations, () => VideoConfigurations, 15]
|
|
1472
1472
|
];
|
|
1473
1473
|
var BedrockFoundationModelConfiguration$ = [3, n0, _BFMC,
|
|
1474
1474
|
0,
|
|
@@ -2447,8 +2447,8 @@ var MalformedNodeInputExpressionFlowValidationDetails$ = [3, n0, _MNIEFVD,
|
|
|
2447
2447
|
];
|
|
2448
2448
|
var ManagedKnowledgeBaseConfiguration$ = [3, n0, _MKBC,
|
|
2449
2449
|
0,
|
|
2450
|
-
[_eMT, _eMA, _eMC, _sSEC],
|
|
2451
|
-
[0, 0, () => EmbeddingModelConfiguration$, () => ServerSideEncryptionConfiguration$]
|
|
2450
|
+
[_eMT, _eMA, _eMC, _sSEC, _sDSC],
|
|
2451
|
+
[0, 0, () => EmbeddingModelConfiguration$, () => ServerSideEncryptionConfiguration$, () => SupplementalDataStorageConfiguration$]
|
|
2452
2452
|
];
|
|
2453
2453
|
var ManagedKnowledgeBaseConnectorConfiguration$ = [3, n0, _MKBCC,
|
|
2454
2454
|
0,
|
|
@@ -4423,6 +4423,7 @@ const ParsingModality = {
|
|
|
4423
4423
|
const ParsingStrategy = {
|
|
4424
4424
|
BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
|
|
4425
4425
|
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
4426
|
+
MULTI_MODAL_EMBEDDINGS: "MULTI_MODAL_EMBEDDINGS",
|
|
4426
4427
|
SMART_PARSING: "SMART_PARSING",
|
|
4427
4428
|
};
|
|
4428
4429
|
const DataSourceStatus = {
|
|
@@ -4617,6 +4618,9 @@ const EmbeddingModelType = {
|
|
|
4617
4618
|
CUSTOM: "CUSTOM",
|
|
4618
4619
|
MANAGED: "MANAGED",
|
|
4619
4620
|
};
|
|
4621
|
+
const SupplementalDataStorageLocationType = {
|
|
4622
|
+
S3: "S3",
|
|
4623
|
+
};
|
|
4620
4624
|
const RedshiftProvisionedAuthType = {
|
|
4621
4625
|
IAM: "IAM",
|
|
4622
4626
|
USERNAME: "USERNAME",
|
|
@@ -4647,9 +4651,6 @@ const KnowledgeBaseType = {
|
|
|
4647
4651
|
SQL: "SQL",
|
|
4648
4652
|
VECTOR: "VECTOR",
|
|
4649
4653
|
};
|
|
4650
|
-
const SupplementalDataStorageLocationType = {
|
|
4651
|
-
S3: "S3",
|
|
4652
|
-
};
|
|
4653
4654
|
const KnowledgeBaseStorageType = {
|
|
4654
4655
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
4655
4656
|
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
package/dist-es/models/enums.js
CHANGED
|
@@ -159,6 +159,7 @@ export const ParsingModality = {
|
|
|
159
159
|
export const ParsingStrategy = {
|
|
160
160
|
BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
|
|
161
161
|
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
162
|
+
MULTI_MODAL_EMBEDDINGS: "MULTI_MODAL_EMBEDDINGS",
|
|
162
163
|
SMART_PARSING: "SMART_PARSING",
|
|
163
164
|
};
|
|
164
165
|
export const DataSourceStatus = {
|
|
@@ -353,6 +354,9 @@ export const EmbeddingModelType = {
|
|
|
353
354
|
CUSTOM: "CUSTOM",
|
|
354
355
|
MANAGED: "MANAGED",
|
|
355
356
|
};
|
|
357
|
+
export const SupplementalDataStorageLocationType = {
|
|
358
|
+
S3: "S3",
|
|
359
|
+
};
|
|
356
360
|
export const RedshiftProvisionedAuthType = {
|
|
357
361
|
IAM: "IAM",
|
|
358
362
|
USERNAME: "USERNAME",
|
|
@@ -383,9 +387,6 @@ export const KnowledgeBaseType = {
|
|
|
383
387
|
SQL: "SQL",
|
|
384
388
|
VECTOR: "VECTOR",
|
|
385
389
|
};
|
|
386
|
-
export const SupplementalDataStorageLocationType = {
|
|
387
|
-
S3: "S3",
|
|
388
|
-
};
|
|
389
390
|
export const KnowledgeBaseStorageType = {
|
|
390
391
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
391
392
|
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
@@ -1243,8 +1243,8 @@ export var BedrockDataAutomationConfiguration$ = [3, n0, _BDAC,
|
|
|
1243
1243
|
];
|
|
1244
1244
|
export var BedrockEmbeddingModelConfiguration$ = [3, n0, _BEMC,
|
|
1245
1245
|
0,
|
|
1246
|
-
[_di, _eDT, _au, _vi],
|
|
1247
|
-
[1, 0, () => AudioConfigurations, () => VideoConfigurations]
|
|
1246
|
+
[_di, _eDT, _au, _vi, _mCo],
|
|
1247
|
+
[1, 0, () => AudioConfigurations, () => VideoConfigurations, 15]
|
|
1248
1248
|
];
|
|
1249
1249
|
export var BedrockFoundationModelConfiguration$ = [3, n0, _BFMC,
|
|
1250
1250
|
0,
|
|
@@ -2223,8 +2223,8 @@ export var MalformedNodeInputExpressionFlowValidationDetails$ = [3, n0, _MNIEFVD
|
|
|
2223
2223
|
];
|
|
2224
2224
|
export var ManagedKnowledgeBaseConfiguration$ = [3, n0, _MKBC,
|
|
2225
2225
|
0,
|
|
2226
|
-
[_eMT, _eMA, _eMC, _sSEC],
|
|
2227
|
-
[0, 0, () => EmbeddingModelConfiguration$, () => ServerSideEncryptionConfiguration$]
|
|
2226
|
+
[_eMT, _eMA, _eMC, _sSEC, _sDSC],
|
|
2227
|
+
[0, 0, () => EmbeddingModelConfiguration$, () => ServerSideEncryptionConfiguration$, () => SupplementalDataStorageConfiguration$]
|
|
2228
2228
|
];
|
|
2229
2229
|
export var ManagedKnowledgeBaseConnectorConfiguration$ = [3, n0, _MKBCC,
|
|
2230
2230
|
0,
|
|
@@ -630,7 +630,7 @@ export interface BedrockAgent {
|
|
|
630
630
|
paginateListPrompts(args?: ListPromptsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPromptsCommandOutput>;
|
|
631
631
|
}
|
|
632
632
|
/**
|
|
633
|
-
* <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
633
|
+
* <note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
634
634
|
* @public
|
|
635
635
|
*/
|
|
636
636
|
export declare class BedrockAgent extends BedrockAgentClient implements BedrockAgent {
|
|
@@ -243,7 +243,7 @@ export type BedrockAgentClientResolvedConfigType = __SmithyResolvedConfiguration
|
|
|
243
243
|
export interface BedrockAgentClientResolvedConfig extends BedrockAgentClientResolvedConfigType {
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
|
-
* <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
246
|
+
* <note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
247
247
|
* @public
|
|
248
248
|
*/
|
|
249
249
|
export declare class BedrockAgentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ declare const CreateAgentCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p> </li> <li> <p>If your agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul>
|
|
27
|
+
* <note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p> </li> <li> <p>If your agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -222,7 +222,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
222
222
|
* ],
|
|
223
223
|
* },
|
|
224
224
|
* parsingConfiguration: { // ParsingConfiguration
|
|
225
|
-
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
225
|
+
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING" || "MULTI_MODAL_EMBEDDINGS", // required
|
|
226
226
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
227
227
|
* modelArn: "STRING_VALUE", // required
|
|
228
228
|
* parsingPrompt: { // ParsingPrompt
|
|
@@ -437,7 +437,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
437
437
|
* // ],
|
|
438
438
|
* // },
|
|
439
439
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
440
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
440
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING" || "MULTI_MODAL_EMBEDDINGS", // required
|
|
441
441
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
442
442
|
* // modelArn: "STRING_VALUE", // required
|
|
443
443
|
* // parsingPrompt: { // ParsingPrompt
|
|
@@ -60,6 +60,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
+
* modelConfiguration: "DOCUMENT_VALUE",
|
|
63
64
|
* },
|
|
64
65
|
* },
|
|
65
66
|
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -94,11 +95,22 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
94
95
|
* },
|
|
95
96
|
* },
|
|
96
97
|
* ],
|
|
98
|
+
* modelConfiguration: "DOCUMENT_VALUE",
|
|
97
99
|
* },
|
|
98
100
|
* },
|
|
99
101
|
* serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
100
102
|
* kmsKeyArn: "STRING_VALUE",
|
|
101
103
|
* },
|
|
104
|
+
* supplementalDataStorageConfiguration: {
|
|
105
|
+
* storageLocations: [ // required
|
|
106
|
+
* {
|
|
107
|
+
* type: "S3", // required
|
|
108
|
+
* s3Location: {
|
|
109
|
+
* uri: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
102
114
|
* },
|
|
103
115
|
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
104
116
|
* kendraIndexArn: "STRING_VALUE", // required
|
|
@@ -280,6 +292,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
280
292
|
* // },
|
|
281
293
|
* // },
|
|
282
294
|
* // ],
|
|
295
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
283
296
|
* // },
|
|
284
297
|
* // },
|
|
285
298
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -314,11 +327,22 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
314
327
|
* // },
|
|
315
328
|
* // },
|
|
316
329
|
* // ],
|
|
330
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
317
331
|
* // },
|
|
318
332
|
* // },
|
|
319
333
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
320
334
|
* // kmsKeyArn: "STRING_VALUE",
|
|
321
335
|
* // },
|
|
336
|
+
* // supplementalDataStorageConfiguration: {
|
|
337
|
+
* // storageLocations: [ // required
|
|
338
|
+
* // {
|
|
339
|
+
* // type: "S3", // required
|
|
340
|
+
* // s3Location: {
|
|
341
|
+
* // uri: "STRING_VALUE", // required
|
|
342
|
+
* // },
|
|
343
|
+
* // },
|
|
344
|
+
* // ],
|
|
345
|
+
* // },
|
|
322
346
|
* // },
|
|
323
347
|
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
324
348
|
* // kendraIndexArn: "STRING_VALUE", // required
|
|
@@ -229,7 +229,7 @@ declare const GetDataSourceCommand_base: {
|
|
|
229
229
|
* // ],
|
|
230
230
|
* // },
|
|
231
231
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
232
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
232
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING" || "MULTI_MODAL_EMBEDDINGS", // required
|
|
233
233
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
234
234
|
* // modelArn: "STRING_VALUE", // required
|
|
235
235
|
* // parsingPrompt: { // ParsingPrompt
|
|
@@ -67,6 +67,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
70
71
|
* // },
|
|
71
72
|
* // },
|
|
72
73
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -101,11 +102,22 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
101
102
|
* // },
|
|
102
103
|
* // },
|
|
103
104
|
* // ],
|
|
105
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
104
106
|
* // },
|
|
105
107
|
* // },
|
|
106
108
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
107
109
|
* // kmsKeyArn: "STRING_VALUE",
|
|
108
110
|
* // },
|
|
111
|
+
* // supplementalDataStorageConfiguration: {
|
|
112
|
+
* // storageLocations: [ // required
|
|
113
|
+
* // {
|
|
114
|
+
* // type: "S3", // required
|
|
115
|
+
* // s3Location: {
|
|
116
|
+
* // uri: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
109
121
|
* // },
|
|
110
122
|
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
111
123
|
* // kendraIndexArn: "STRING_VALUE", // required
|
|
@@ -222,7 +222,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
222
222
|
* ],
|
|
223
223
|
* },
|
|
224
224
|
* parsingConfiguration: { // ParsingConfiguration
|
|
225
|
-
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
225
|
+
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING" || "MULTI_MODAL_EMBEDDINGS", // required
|
|
226
226
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
227
227
|
* modelArn: "STRING_VALUE", // required
|
|
228
228
|
* parsingPrompt: { // ParsingPrompt
|
|
@@ -437,7 +437,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
437
437
|
* // ],
|
|
438
438
|
* // },
|
|
439
439
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
440
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING", // required
|
|
440
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION" || "SMART_PARSING" || "MULTI_MODAL_EMBEDDINGS", // required
|
|
441
441
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
442
442
|
* // modelArn: "STRING_VALUE", // required
|
|
443
443
|
* // parsingPrompt: { // ParsingPrompt
|
|
@@ -60,6 +60,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
+
* modelConfiguration: "DOCUMENT_VALUE",
|
|
63
64
|
* },
|
|
64
65
|
* },
|
|
65
66
|
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -94,11 +95,22 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
94
95
|
* },
|
|
95
96
|
* },
|
|
96
97
|
* ],
|
|
98
|
+
* modelConfiguration: "DOCUMENT_VALUE",
|
|
97
99
|
* },
|
|
98
100
|
* },
|
|
99
101
|
* serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
100
102
|
* kmsKeyArn: "STRING_VALUE",
|
|
101
103
|
* },
|
|
104
|
+
* supplementalDataStorageConfiguration: {
|
|
105
|
+
* storageLocations: [ // required
|
|
106
|
+
* {
|
|
107
|
+
* type: "S3", // required
|
|
108
|
+
* s3Location: {
|
|
109
|
+
* uri: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
102
114
|
* },
|
|
103
115
|
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
104
116
|
* kendraIndexArn: "STRING_VALUE", // required
|
|
@@ -277,6 +289,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
277
289
|
* // },
|
|
278
290
|
* // },
|
|
279
291
|
* // ],
|
|
292
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
280
293
|
* // },
|
|
281
294
|
* // },
|
|
282
295
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -311,11 +324,22 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
311
324
|
* // },
|
|
312
325
|
* // },
|
|
313
326
|
* // ],
|
|
327
|
+
* // modelConfiguration: "DOCUMENT_VALUE",
|
|
314
328
|
* // },
|
|
315
329
|
* // },
|
|
316
330
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
317
331
|
* // kmsKeyArn: "STRING_VALUE",
|
|
318
332
|
* // },
|
|
333
|
+
* // supplementalDataStorageConfiguration: {
|
|
334
|
+
* // storageLocations: [ // required
|
|
335
|
+
* // {
|
|
336
|
+
* // type: "S3", // required
|
|
337
|
+
* // s3Location: {
|
|
338
|
+
* // uri: "STRING_VALUE", // required
|
|
339
|
+
* // },
|
|
340
|
+
* // },
|
|
341
|
+
* // ],
|
|
342
|
+
* // },
|
|
319
343
|
* // },
|
|
320
344
|
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
321
345
|
* // kendraIndexArn: "STRING_VALUE", // required
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
2
|
+
* <note> <p>Amazon Bedrock Agents (now Amazon Bedrock Agents Classic) is no longer open to new customers. For capabilities similar to Bedrock Agents Classic, explore Amazon Bedrock AgentCore. Existing customers can continue to use the service as normal. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html">Amazon Bedrock Agents Classic availability change</a>.</p> </note> <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -441,6 +441,7 @@ export type ParsingModality = (typeof ParsingModality)[keyof typeof ParsingModal
|
|
|
441
441
|
export declare const ParsingStrategy: {
|
|
442
442
|
readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
|
|
443
443
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
444
|
+
readonly MULTI_MODAL_EMBEDDINGS: "MULTI_MODAL_EMBEDDINGS";
|
|
444
445
|
readonly SMART_PARSING: "SMART_PARSING";
|
|
445
446
|
};
|
|
446
447
|
/**
|
|
@@ -887,6 +888,17 @@ export declare const EmbeddingModelType: {
|
|
|
887
888
|
* @public
|
|
888
889
|
*/
|
|
889
890
|
export type EmbeddingModelType = (typeof EmbeddingModelType)[keyof typeof EmbeddingModelType];
|
|
891
|
+
/**
|
|
892
|
+
* @public
|
|
893
|
+
* @enum
|
|
894
|
+
*/
|
|
895
|
+
export declare const SupplementalDataStorageLocationType: {
|
|
896
|
+
readonly S3: "S3";
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export type SupplementalDataStorageLocationType = (typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
890
902
|
/**
|
|
891
903
|
* @public
|
|
892
904
|
* @enum
|
|
@@ -973,17 +985,6 @@ export declare const KnowledgeBaseType: {
|
|
|
973
985
|
* @public
|
|
974
986
|
*/
|
|
975
987
|
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
976
|
-
/**
|
|
977
|
-
* @public
|
|
978
|
-
* @enum
|
|
979
|
-
*/
|
|
980
|
-
export declare const SupplementalDataStorageLocationType: {
|
|
981
|
-
readonly S3: "S3";
|
|
982
|
-
};
|
|
983
|
-
/**
|
|
984
|
-
* @public
|
|
985
|
-
*/
|
|
986
|
-
export type SupplementalDataStorageLocationType = (typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
987
988
|
/**
|
|
988
989
|
* @public
|
|
989
990
|
* @enum
|
|
@@ -2182,7 +2182,7 @@ export interface DeletionProtectionConfiguration {
|
|
|
2182
2182
|
*/
|
|
2183
2183
|
export interface AudioExtractionConfiguration {
|
|
2184
2184
|
/**
|
|
2185
|
-
* Whether audio extraction is enabled or disabled
|
|
2185
|
+
* <p>Whether audio extraction is enabled or disabled.</p>
|
|
2186
2186
|
* @public
|
|
2187
2187
|
*/
|
|
2188
2188
|
audioExtractionStatus: EnabledOrDisabledState | undefined;
|
|
@@ -2193,7 +2193,7 @@ export interface AudioExtractionConfiguration {
|
|
|
2193
2193
|
*/
|
|
2194
2194
|
export interface ImageExtractionConfiguration {
|
|
2195
2195
|
/**
|
|
2196
|
-
* Whether image extraction is enabled or disabled
|
|
2196
|
+
* <p>Whether image extraction is enabled or disabled.</p>
|
|
2197
2197
|
* @public
|
|
2198
2198
|
*/
|
|
2199
2199
|
imageExtractionStatus: EnabledOrDisabledState | undefined;
|
|
@@ -2204,7 +2204,7 @@ export interface ImageExtractionConfiguration {
|
|
|
2204
2204
|
*/
|
|
2205
2205
|
export interface VideoExtractionConfiguration {
|
|
2206
2206
|
/**
|
|
2207
|
-
* Whether video extraction is enabled or disabled
|
|
2207
|
+
* <p>Whether video extraction is enabled or disabled.</p>
|
|
2208
2208
|
* @public
|
|
2209
2209
|
*/
|
|
2210
2210
|
videoExtractionStatus: EnabledOrDisabledState | undefined;
|
|
@@ -2937,7 +2937,7 @@ export interface BedrockFoundationModelConfiguration {
|
|
|
2937
2937
|
*/
|
|
2938
2938
|
export interface ParsingConfiguration {
|
|
2939
2939
|
/**
|
|
2940
|
-
* <p>The parsing strategy for the data source
|
|
2940
|
+
* <p>The parsing strategy for the data source.</p> <p>For managed knowledge bases, the strategy that you can select depends on the embedding model that your knowledge base uses:</p> <ul> <li> <p>If your knowledge base uses a native multimodal embedding model, specify <code>MULTI_MODAL_EMBEDDINGS</code>. With this strategy, files are sent directly to the embedding model instead of being parsed into text. This is the only strategy that is supported for these knowledge bases.</p> </li> <li> <p>Otherwise, specify <code>SMART_PARSING</code>.</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-customize-ingestion.html">Customize ingestion for managed knowledge bases</a>.</p>
|
|
2941
2941
|
* @public
|
|
2942
2942
|
*/
|
|
2943
2943
|
parsingStrategy: ParsingStrategy | undefined;
|
|
@@ -4076,7 +4076,7 @@ export interface ToolSpecification {
|
|
|
4076
4076
|
*/
|
|
4077
4077
|
inputSchema: ToolInputSchema | undefined;
|
|
4078
4078
|
/**
|
|
4079
|
-
* Whether
|
|
4079
|
+
* <p>Whether the tool schema is strictly enforced.</p>
|
|
4080
4080
|
* @public
|
|
4081
4081
|
*/
|
|
4082
4082
|
strict?: boolean | undefined;
|
|
@@ -40,15 +40,24 @@ export interface BedrockEmbeddingModelConfiguration {
|
|
|
40
40
|
*/
|
|
41
41
|
embeddingDataType?: EmbeddingDataType | undefined;
|
|
42
42
|
/**
|
|
43
|
-
* <p>Configuration settings for processing audio content in multimodal knowledge bases.</p>
|
|
43
|
+
* <p>Configuration settings for processing audio content in multimodal knowledge bases.</p> <important> <p>This field is deprecated. Use <code>modelConfiguration</code> instead.</p> </important>
|
|
44
|
+
*
|
|
45
|
+
* @deprecated (since 2026-09-01) Use Managed Knowledge Base's modelConfiguration field. https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html.
|
|
44
46
|
* @public
|
|
45
47
|
*/
|
|
46
48
|
audio?: AudioConfiguration[] | undefined;
|
|
47
49
|
/**
|
|
48
|
-
* <p>Configuration settings for processing video content in multimodal knowledge bases.</p>
|
|
50
|
+
* <p>Configuration settings for processing video content in multimodal knowledge bases.</p> <important> <p>This field is deprecated. Use <code>modelConfiguration</code> instead.</p> </important>
|
|
51
|
+
*
|
|
52
|
+
* @deprecated (since 2026-09-01) Use Managed Knowledge Base's modelConfiguration field. https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html.
|
|
49
53
|
* @public
|
|
50
54
|
*/
|
|
51
55
|
video?: VideoConfiguration[] | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Model-specific configuration for the embedding model, provided as a JSON object. Use this field to specify settings that apply to the embedding model that you selected, such as how audio and video files are divided into segments.</p> <p>The fields that this object accepts depend on the embedding model. For the settings that each model accepts, see the documentation for that model.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
modelConfiguration?: __DocumentType | undefined;
|
|
52
61
|
}
|
|
53
62
|
/**
|
|
54
63
|
* <p>The configuration details for the embeddings model.</p>
|
|
@@ -61,13 +70,40 @@ export interface EmbeddingModelConfiguration {
|
|
|
61
70
|
*/
|
|
62
71
|
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
|
|
63
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>Contains information about a storage location for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface SupplementalDataStorageLocation {
|
|
78
|
+
/**
|
|
79
|
+
* <p>Specifies the storage service used for this location.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Contains information about the Amazon S3 location for the extracted multimedia content.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
s3Location?: S3Location | undefined;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>Specifies configurations for the storage location of multimedia content (images, audio, and video) extracted from multimodal documents in your data source. This content can be retrieved and returned to the end user with timestamp references for audio and video segments.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export interface SupplementalDataStorageConfiguration {
|
|
94
|
+
/**
|
|
95
|
+
* <p>A list of objects specifying storage locations for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
99
|
+
}
|
|
64
100
|
/**
|
|
65
101
|
* <p>Configurations for a managed knowledge base.</p>
|
|
66
102
|
* @public
|
|
67
103
|
*/
|
|
68
104
|
export interface ManagedKnowledgeBaseConfiguration {
|
|
69
105
|
/**
|
|
70
|
-
* <p>Choose
|
|
106
|
+
* <p>Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model.</p>
|
|
71
107
|
* @public
|
|
72
108
|
*/
|
|
73
109
|
embeddingModelType?: EmbeddingModelType | undefined;
|
|
@@ -77,7 +113,7 @@ export interface ManagedKnowledgeBaseConfiguration {
|
|
|
77
113
|
*/
|
|
78
114
|
embeddingModelArn?: string | undefined;
|
|
79
115
|
/**
|
|
80
|
-
* <p>The configuration details for the embeddings model.</p>
|
|
116
|
+
* <p>The configuration details for the embeddings model. Not required when choosing the MANAGED embeddingModelType.</p>
|
|
81
117
|
* @public
|
|
82
118
|
*/
|
|
83
119
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
@@ -86,6 +122,11 @@ export interface ManagedKnowledgeBaseConfiguration {
|
|
|
86
122
|
* @public
|
|
87
123
|
*/
|
|
88
124
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>Use this object to specify the Amazon S3 location that the knowledge base uses to process and ingest multimodal content. This field is required when you use a native multimodal embedding model.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
supplementalDataStorageConfiguration?: SupplementalDataStorageConfiguration | undefined;
|
|
89
130
|
}
|
|
90
131
|
/**
|
|
91
132
|
* <p>Contains configurations for authentication to an Amazon Redshift provisioned data warehouse. Specify the type of authentication to use in the <code>type</code> field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.</p>
|
|
@@ -352,33 +393,6 @@ export interface SqlKnowledgeBaseConfiguration {
|
|
|
352
393
|
*/
|
|
353
394
|
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
354
395
|
}
|
|
355
|
-
/**
|
|
356
|
-
* <p>Contains information about a storage location for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
|
|
357
|
-
* @public
|
|
358
|
-
*/
|
|
359
|
-
export interface SupplementalDataStorageLocation {
|
|
360
|
-
/**
|
|
361
|
-
* <p>Specifies the storage service used for this location.</p>
|
|
362
|
-
* @public
|
|
363
|
-
*/
|
|
364
|
-
type: SupplementalDataStorageLocationType | undefined;
|
|
365
|
-
/**
|
|
366
|
-
* <p>Contains information about the Amazon S3 location for the extracted multimedia content.</p>
|
|
367
|
-
* @public
|
|
368
|
-
*/
|
|
369
|
-
s3Location?: S3Location | undefined;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* <p>Specifies configurations for the storage location of multimedia content (images, audio, and video) extracted from multimodal documents in your data source. This content can be retrieved and returned to the end user with timestamp references for audio and video segments.</p>
|
|
373
|
-
* @public
|
|
374
|
-
*/
|
|
375
|
-
export interface SupplementalDataStorageConfiguration {
|
|
376
|
-
/**
|
|
377
|
-
* <p>A list of objects specifying storage locations for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
381
|
-
}
|
|
382
396
|
/**
|
|
383
397
|
* <p>Contains details about the model used to create vector embeddings for the knowledge base.</p>
|
|
384
398
|
* @public
|
|
@@ -416,7 +430,7 @@ export interface KnowledgeBaseConfiguration {
|
|
|
416
430
|
*/
|
|
417
431
|
vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration | undefined;
|
|
418
432
|
/**
|
|
419
|
-
* <p>
|
|
433
|
+
* <p>Contains configuration details for a knowledge base that uses a vector store fully managed by Amazon Bedrock. Specify this object when the knowledge base type is MANAGED.</p>
|
|
420
434
|
* @public
|
|
421
435
|
*/
|
|
422
436
|
managedKnowledgeBaseConfiguration?: ManagedKnowledgeBaseConfiguration | undefined;
|
|
@@ -199,6 +199,7 @@ export type ParsingModality = (typeof ParsingModality)[keyof typeof ParsingModal
|
|
|
199
199
|
export declare const ParsingStrategy: {
|
|
200
200
|
readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
|
|
201
201
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
202
|
+
readonly MULTI_MODAL_EMBEDDINGS: "MULTI_MODAL_EMBEDDINGS";
|
|
202
203
|
readonly SMART_PARSING: "SMART_PARSING";
|
|
203
204
|
};
|
|
204
205
|
export type ParsingStrategy = (typeof ParsingStrategy)[keyof typeof ParsingStrategy];
|
|
@@ -435,6 +436,11 @@ export declare const EmbeddingModelType: {
|
|
|
435
436
|
readonly MANAGED: "MANAGED";
|
|
436
437
|
};
|
|
437
438
|
export type EmbeddingModelType = (typeof EmbeddingModelType)[keyof typeof EmbeddingModelType];
|
|
439
|
+
export declare const SupplementalDataStorageLocationType: {
|
|
440
|
+
readonly S3: "S3";
|
|
441
|
+
};
|
|
442
|
+
export type SupplementalDataStorageLocationType =
|
|
443
|
+
(typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
438
444
|
export declare const RedshiftProvisionedAuthType: {
|
|
439
445
|
readonly IAM: "IAM";
|
|
440
446
|
readonly USERNAME: "USERNAME";
|
|
@@ -476,11 +482,6 @@ export declare const KnowledgeBaseType: {
|
|
|
476
482
|
readonly VECTOR: "VECTOR";
|
|
477
483
|
};
|
|
478
484
|
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
479
|
-
export declare const SupplementalDataStorageLocationType: {
|
|
480
|
-
readonly S3: "S3";
|
|
481
|
-
};
|
|
482
|
-
export type SupplementalDataStorageLocationType =
|
|
483
|
-
(typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
484
485
|
export declare const KnowledgeBaseStorageType: {
|
|
485
486
|
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
486
487
|
readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
|
|
@@ -62,15 +62,24 @@ export interface BedrockEmbeddingModelConfiguration {
|
|
|
62
62
|
embeddingDataType?: EmbeddingDataType | undefined;
|
|
63
63
|
audio?: AudioConfiguration[] | undefined;
|
|
64
64
|
video?: VideoConfiguration[] | undefined;
|
|
65
|
+
modelConfiguration?: __DocumentType | undefined;
|
|
65
66
|
}
|
|
66
67
|
export interface EmbeddingModelConfiguration {
|
|
67
68
|
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
|
|
68
69
|
}
|
|
70
|
+
export interface SupplementalDataStorageLocation {
|
|
71
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
72
|
+
s3Location?: S3Location | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface SupplementalDataStorageConfiguration {
|
|
75
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
76
|
+
}
|
|
69
77
|
export interface ManagedKnowledgeBaseConfiguration {
|
|
70
78
|
embeddingModelType?: EmbeddingModelType | undefined;
|
|
71
79
|
embeddingModelArn?: string | undefined;
|
|
72
80
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
73
81
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined;
|
|
82
|
+
supplementalDataStorageConfiguration?: SupplementalDataStorageConfiguration | undefined;
|
|
74
83
|
}
|
|
75
84
|
export interface RedshiftProvisionedAuthConfiguration {
|
|
76
85
|
type: RedshiftProvisionedAuthType | undefined;
|
|
@@ -137,13 +146,6 @@ export interface SqlKnowledgeBaseConfiguration {
|
|
|
137
146
|
type: QueryEngineType | undefined;
|
|
138
147
|
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
139
148
|
}
|
|
140
|
-
export interface SupplementalDataStorageLocation {
|
|
141
|
-
type: SupplementalDataStorageLocationType | undefined;
|
|
142
|
-
s3Location?: S3Location | undefined;
|
|
143
|
-
}
|
|
144
|
-
export interface SupplementalDataStorageConfiguration {
|
|
145
|
-
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
146
|
-
}
|
|
147
149
|
export interface VectorKnowledgeBaseConfiguration {
|
|
148
150
|
embeddingModelArn: string | undefined;
|
|
149
151
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1130.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent",
|
|
6
6
|
"license": "Apache-2.0",
|