@aws-sdk/client-bedrock-agent-runtime 3.649.0 → 3.650.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 +6 -18
- package/dist-es/commands/DeleteAgentMemoryCommand.js +1 -3
- package/dist-es/commands/GetAgentMemoryCommand.js +1 -3
- package/dist-es/commands/InvokeAgentCommand.js +1 -3
- package/dist-es/commands/InvokeFlowCommand.js +1 -3
- package/dist-es/commands/RetrieveAndGenerateCommand.js +1 -3
- package/dist-es/commands/RetrieveCommand.js +1 -3
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -2420,9 +2420,7 @@ var _xabami = "x-amz-bedrock-agent-memory-id";
|
|
|
2420
2420
|
var _xabasi = "x-amz-bedrock-agent-session-id";
|
|
2421
2421
|
|
|
2422
2422
|
// src/commands/DeleteAgentMemoryCommand.ts
|
|
2423
|
-
var _DeleteAgentMemoryCommand = class _DeleteAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2424
|
-
...commonParams
|
|
2425
|
-
}).m(function(Command, cs, config, o) {
|
|
2423
|
+
var _DeleteAgentMemoryCommand = class _DeleteAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2426
2424
|
return [
|
|
2427
2425
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2428
2426
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2436,9 +2434,7 @@ var DeleteAgentMemoryCommand = _DeleteAgentMemoryCommand;
|
|
|
2436
2434
|
|
|
2437
2435
|
|
|
2438
2436
|
|
|
2439
|
-
var _GetAgentMemoryCommand = class _GetAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2440
|
-
...commonParams
|
|
2441
|
-
}).m(function(Command, cs, config, o) {
|
|
2437
|
+
var _GetAgentMemoryCommand = class _GetAgentMemoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2442
2438
|
return [
|
|
2443
2439
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2444
2440
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2452,9 +2448,7 @@ var GetAgentMemoryCommand = _GetAgentMemoryCommand;
|
|
|
2452
2448
|
|
|
2453
2449
|
|
|
2454
2450
|
|
|
2455
|
-
var _InvokeAgentCommand = class _InvokeAgentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2456
|
-
...commonParams
|
|
2457
|
-
}).m(function(Command, cs, config, o) {
|
|
2451
|
+
var _InvokeAgentCommand = class _InvokeAgentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2458
2452
|
return [
|
|
2459
2453
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2460
2454
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2475,9 +2469,7 @@ var InvokeAgentCommand = _InvokeAgentCommand;
|
|
|
2475
2469
|
|
|
2476
2470
|
|
|
2477
2471
|
|
|
2478
|
-
var _InvokeFlowCommand = class _InvokeFlowCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2479
|
-
...commonParams
|
|
2480
|
-
}).m(function(Command, cs, config, o) {
|
|
2472
|
+
var _InvokeFlowCommand = class _InvokeFlowCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2481
2473
|
return [
|
|
2482
2474
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2483
2475
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2498,9 +2490,7 @@ var InvokeFlowCommand = _InvokeFlowCommand;
|
|
|
2498
2490
|
|
|
2499
2491
|
|
|
2500
2492
|
|
|
2501
|
-
var _RetrieveAndGenerateCommand = class _RetrieveAndGenerateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2502
|
-
...commonParams
|
|
2503
|
-
}).m(function(Command, cs, config, o) {
|
|
2493
|
+
var _RetrieveAndGenerateCommand = class _RetrieveAndGenerateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2504
2494
|
return [
|
|
2505
2495
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2506
2496
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -2514,9 +2504,7 @@ var RetrieveAndGenerateCommand = _RetrieveAndGenerateCommand;
|
|
|
2514
2504
|
|
|
2515
2505
|
|
|
2516
2506
|
|
|
2517
|
-
var _RetrieveCommand = class _RetrieveCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2518
|
-
...commonParams
|
|
2519
|
-
}).m(function(Command, cs, config, o) {
|
|
2507
|
+
var _RetrieveCommand = class _RetrieveCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2520
2508
|
return [
|
|
2521
2509
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2522
2510
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_DeleteAgentMemoryCommand, se_DeleteAgentMemoryCommand } from "../pro
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteAgentMemoryCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetAgentMemoryCommand, se_GetAgentMemoryCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetAgentMemoryCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_InvokeAgentCommand, se_InvokeAgentCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class InvokeAgentCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_InvokeFlowCommand, se_InvokeFlowCommand } from "../protocols/Aws_res
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class InvokeFlowCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_RetrieveAndGenerateCommand, se_RetrieveAndGenerateCommand } from "..
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RetrieveAndGenerateCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_RetrieveCommand, se_RetrieveCommand } from "../protocols/Aws_restJso
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RetrieveCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -27,7 +27,7 @@ declare const RetrieveAndGenerateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.</p>
|
|
30
|
+
* <p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a>. The response only cites sources that are relevant to the query.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -4179,12 +4179,12 @@ export interface KnowledgeBaseConfiguration {
|
|
|
4179
4179
|
*/
|
|
4180
4180
|
export interface KnowledgeBaseRetrieveAndGenerateConfiguration {
|
|
4181
4181
|
/**
|
|
4182
|
-
* <p>The unique identifier of the knowledge base that is queried
|
|
4182
|
+
* <p>The unique identifier of the knowledge base that is queried.</p>
|
|
4183
4183
|
* @public
|
|
4184
4184
|
*/
|
|
4185
4185
|
knowledgeBaseId: string | undefined;
|
|
4186
4186
|
/**
|
|
4187
|
-
* <p>The ARN of the foundation model used to generate a response.</p>
|
|
4187
|
+
* <p>The ARN of the foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> used to generate a response.</p>
|
|
4188
4188
|
* @public
|
|
4189
4189
|
*/
|
|
4190
4190
|
modelArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.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-runtime",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
25
|
"@aws-sdk/core": "3.649.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|