@aws-sdk/client-bedrock-agent-runtime 3.697.0 → 3.701.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 +8 -0
- package/dist-cjs/index.js +505 -2
- package/dist-es/BedrockAgentRuntime.js +2 -0
- package/dist-es/commands/InvokeInlineAgentCommand.js +27 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +208 -0
- package/dist-es/protocols/Aws_restJson1.js +210 -0
- package/dist-types/BedrockAgentRuntime.d.ts +7 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +3 -2
- package/dist-types/commands/InvokeAgentCommand.d.ts +16 -6
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +761 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1227 -44
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +527 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
|
@@ -4,6 +4,7 @@ import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from ".
|
|
|
4
4
|
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
|
|
5
5
|
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "../commands/InvokeAgentCommand";
|
|
6
6
|
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "../commands/InvokeFlowCommand";
|
|
7
|
+
import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "../commands/InvokeInlineAgentCommand";
|
|
7
8
|
import { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "../commands/OptimizePromptCommand";
|
|
8
9
|
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "../commands/RetrieveAndGenerateCommand";
|
|
9
10
|
import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
|
|
@@ -23,6 +24,10 @@ export declare const se_InvokeAgentCommand: (input: InvokeAgentCommandInput, con
|
|
|
23
24
|
* serializeAws_restJson1InvokeFlowCommand
|
|
24
25
|
*/
|
|
25
26
|
export declare const se_InvokeFlowCommand: (input: InvokeFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1InvokeInlineAgentCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_InvokeInlineAgentCommand: (input: InvokeInlineAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
31
|
/**
|
|
27
32
|
* serializeAws_restJson1OptimizePromptCommand
|
|
28
33
|
*/
|
|
@@ -51,6 +56,10 @@ export declare const de_InvokeAgentCommand: (output: __HttpResponse, context: __
|
|
|
51
56
|
* deserializeAws_restJson1InvokeFlowCommand
|
|
52
57
|
*/
|
|
53
58
|
export declare const de_InvokeFlowCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeFlowCommandOutput>;
|
|
59
|
+
/**
|
|
60
|
+
* deserializeAws_restJson1InvokeInlineAgentCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const de_InvokeInlineAgentCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeInlineAgentCommandOutput>;
|
|
54
63
|
/**
|
|
55
64
|
* deserializeAws_restJson1OptimizePromptCommand
|
|
56
65
|
*/
|
|
@@ -16,6 +16,10 @@ import {
|
|
|
16
16
|
InvokeFlowCommandInput,
|
|
17
17
|
InvokeFlowCommandOutput,
|
|
18
18
|
} from "./commands/InvokeFlowCommand";
|
|
19
|
+
import {
|
|
20
|
+
InvokeInlineAgentCommandInput,
|
|
21
|
+
InvokeInlineAgentCommandOutput,
|
|
22
|
+
} from "./commands/InvokeInlineAgentCommand";
|
|
19
23
|
import {
|
|
20
24
|
OptimizePromptCommandInput,
|
|
21
25
|
OptimizePromptCommandOutput,
|
|
@@ -81,6 +85,19 @@ export interface BedrockAgentRuntime {
|
|
|
81
85
|
options: __HttpHandlerOptions,
|
|
82
86
|
cb: (err: any, data?: InvokeFlowCommandOutput) => void
|
|
83
87
|
): void;
|
|
88
|
+
invokeInlineAgent(
|
|
89
|
+
args: InvokeInlineAgentCommandInput,
|
|
90
|
+
options?: __HttpHandlerOptions
|
|
91
|
+
): Promise<InvokeInlineAgentCommandOutput>;
|
|
92
|
+
invokeInlineAgent(
|
|
93
|
+
args: InvokeInlineAgentCommandInput,
|
|
94
|
+
cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void
|
|
95
|
+
): void;
|
|
96
|
+
invokeInlineAgent(
|
|
97
|
+
args: InvokeInlineAgentCommandInput,
|
|
98
|
+
options: __HttpHandlerOptions,
|
|
99
|
+
cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void
|
|
100
|
+
): void;
|
|
84
101
|
optimizePrompt(
|
|
85
102
|
args: OptimizePromptCommandInput,
|
|
86
103
|
options?: __HttpHandlerOptions
|
|
@@ -66,6 +66,10 @@ import {
|
|
|
66
66
|
InvokeFlowCommandInput,
|
|
67
67
|
InvokeFlowCommandOutput,
|
|
68
68
|
} from "./commands/InvokeFlowCommand";
|
|
69
|
+
import {
|
|
70
|
+
InvokeInlineAgentCommandInput,
|
|
71
|
+
InvokeInlineAgentCommandOutput,
|
|
72
|
+
} from "./commands/InvokeInlineAgentCommand";
|
|
69
73
|
import {
|
|
70
74
|
OptimizePromptCommandInput,
|
|
71
75
|
OptimizePromptCommandOutput,
|
|
@@ -90,6 +94,7 @@ export type ServiceInputTypes =
|
|
|
90
94
|
| GetAgentMemoryCommandInput
|
|
91
95
|
| InvokeAgentCommandInput
|
|
92
96
|
| InvokeFlowCommandInput
|
|
97
|
+
| InvokeInlineAgentCommandInput
|
|
93
98
|
| OptimizePromptCommandInput
|
|
94
99
|
| RetrieveAndGenerateCommandInput
|
|
95
100
|
| RetrieveCommandInput;
|
|
@@ -98,6 +103,7 @@ export type ServiceOutputTypes =
|
|
|
98
103
|
| GetAgentMemoryCommandOutput
|
|
99
104
|
| InvokeAgentCommandOutput
|
|
100
105
|
| InvokeFlowCommandOutput
|
|
106
|
+
| InvokeInlineAgentCommandOutput
|
|
101
107
|
| OptimizePromptCommandOutput
|
|
102
108
|
| RetrieveAndGenerateCommandOutput
|
|
103
109
|
| RetrieveCommandOutput;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentRuntimeClient";
|
|
8
|
+
import {
|
|
9
|
+
InvokeInlineAgentRequest,
|
|
10
|
+
InvokeInlineAgentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface InvokeInlineAgentCommandInput
|
|
15
|
+
extends InvokeInlineAgentRequest {}
|
|
16
|
+
export interface InvokeInlineAgentCommandOutput
|
|
17
|
+
extends InvokeInlineAgentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const InvokeInlineAgentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: InvokeInlineAgentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
InvokeInlineAgentCommandInput,
|
|
24
|
+
InvokeInlineAgentCommandOutput,
|
|
25
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: InvokeInlineAgentCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
InvokeInlineAgentCommandInput,
|
|
33
|
+
InvokeInlineAgentCommandOutput,
|
|
34
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class InvokeInlineAgentCommand extends InvokeInlineAgentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: InvokeInlineAgentRequest;
|
|
44
|
+
output: InvokeInlineAgentResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: InvokeInlineAgentCommandInput;
|
|
48
|
+
output: InvokeInlineAgentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./DeleteAgentMemoryCommand";
|
|
|
2
2
|
export * from "./GetAgentMemoryCommand";
|
|
3
3
|
export * from "./InvokeAgentCommand";
|
|
4
4
|
export * from "./InvokeFlowCommand";
|
|
5
|
+
export * from "./InvokeInlineAgentCommand";
|
|
5
6
|
export * from "./OptimizePromptCommand";
|
|
6
7
|
export * from "./RetrieveAndGenerateCommand";
|
|
7
8
|
export * from "./RetrieveCommand";
|