@aws-sdk/client-bedrock-agent 3.609.0 → 3.614.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 +168 -0
- package/dist-cjs/index.js +2007 -14
- package/dist-es/BedrockAgent.js +42 -0
- package/dist-es/commands/CreateDataSourceCommand.js +2 -1
- package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
- package/dist-es/commands/CreateFlowCommand.js +25 -0
- package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
- package/dist-es/commands/CreatePromptCommand.js +25 -0
- package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
- package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
- package/dist-es/commands/DeleteFlowCommand.js +24 -0
- package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
- package/dist-es/commands/DeletePromptCommand.js +24 -0
- package/dist-es/commands/GetDataSourceCommand.js +2 -1
- package/dist-es/commands/GetFlowAliasCommand.js +24 -0
- package/dist-es/commands/GetFlowCommand.js +25 -0
- package/dist-es/commands/GetFlowVersionCommand.js +25 -0
- package/dist-es/commands/GetPromptCommand.js +25 -0
- package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
- package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
- package/dist-es/commands/ListFlowsCommand.js +24 -0
- package/dist-es/commands/ListPromptsCommand.js +24 -0
- package/dist-es/commands/PrepareFlowCommand.js +24 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
- package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
- package/dist-es/commands/UpdateFlowCommand.js +25 -0
- package/dist-es/commands/UpdatePromptCommand.js +25 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +418 -0
- package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowsPaginator.js +4 -0
- package/dist-es/pagination/ListPromptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1041 -25
- package/dist-types/BedrockAgent.d.ts +149 -0
- package/dist-types/BedrockAgentClient.d.ts +23 -2
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
- package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
- package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
- package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
- package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCommand.d.ts +6 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
- package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
- package/dist-types/commands/GetFlowCommand.d.ts +202 -0
- package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
- package/dist-types/commands/GetPromptCommand.d.ts +112 -0
- package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
- package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
- package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
- package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +4252 -772
- package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
- package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
- package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
- package/package.json +20 -20
|
@@ -5,13 +5,22 @@ import { CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput
|
|
|
5
5
|
import { CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput } from "./commands/CreateAgentAliasCommand";
|
|
6
6
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
7
7
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
8
|
+
import { CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput } from "./commands/CreateFlowAliasCommand";
|
|
9
|
+
import { CreateFlowCommandInput, CreateFlowCommandOutput } from "./commands/CreateFlowCommand";
|
|
10
|
+
import { CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput } from "./commands/CreateFlowVersionCommand";
|
|
8
11
|
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
12
|
+
import { CreatePromptCommandInput, CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
|
|
13
|
+
import { CreatePromptVersionCommandInput, CreatePromptVersionCommandOutput } from "./commands/CreatePromptVersionCommand";
|
|
9
14
|
import { DeleteAgentActionGroupCommandInput, DeleteAgentActionGroupCommandOutput } from "./commands/DeleteAgentActionGroupCommand";
|
|
10
15
|
import { DeleteAgentAliasCommandInput, DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
11
16
|
import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
12
17
|
import { DeleteAgentVersionCommandInput, DeleteAgentVersionCommandOutput } from "./commands/DeleteAgentVersionCommand";
|
|
13
18
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
19
|
+
import { DeleteFlowAliasCommandInput, DeleteFlowAliasCommandOutput } from "./commands/DeleteFlowAliasCommand";
|
|
20
|
+
import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
|
|
21
|
+
import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from "./commands/DeleteFlowVersionCommand";
|
|
14
22
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
23
|
+
import { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
|
|
15
24
|
import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
16
25
|
import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
|
|
17
26
|
import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "./commands/GetAgentAliasCommand";
|
|
@@ -19,18 +28,27 @@ import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgent
|
|
|
19
28
|
import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "./commands/GetAgentKnowledgeBaseCommand";
|
|
20
29
|
import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
21
30
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
31
|
+
import { GetFlowAliasCommandInput, GetFlowAliasCommandOutput } from "./commands/GetFlowAliasCommand";
|
|
32
|
+
import { GetFlowCommandInput, GetFlowCommandOutput } from "./commands/GetFlowCommand";
|
|
33
|
+
import { GetFlowVersionCommandInput, GetFlowVersionCommandOutput } from "./commands/GetFlowVersionCommand";
|
|
22
34
|
import { GetIngestionJobCommandInput, GetIngestionJobCommandOutput } from "./commands/GetIngestionJobCommand";
|
|
23
35
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
36
|
+
import { GetPromptCommandInput, GetPromptCommandOutput } from "./commands/GetPromptCommand";
|
|
24
37
|
import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
|
|
25
38
|
import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
26
39
|
import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "./commands/ListAgentKnowledgeBasesCommand";
|
|
27
40
|
import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
28
41
|
import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
29
42
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
43
|
+
import { ListFlowAliasesCommandInput, ListFlowAliasesCommandOutput } from "./commands/ListFlowAliasesCommand";
|
|
44
|
+
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
45
|
+
import { ListFlowVersionsCommandInput, ListFlowVersionsCommandOutput } from "./commands/ListFlowVersionsCommand";
|
|
30
46
|
import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "./commands/ListIngestionJobsCommand";
|
|
31
47
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
48
|
+
import { ListPromptsCommandInput, ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
|
|
32
49
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
50
|
import { PrepareAgentCommandInput, PrepareAgentCommandOutput } from "./commands/PrepareAgentCommand";
|
|
51
|
+
import { PrepareFlowCommandInput, PrepareFlowCommandOutput } from "./commands/PrepareFlowCommand";
|
|
34
52
|
import { StartIngestionJobCommandInput, StartIngestionJobCommandOutput } from "./commands/StartIngestionJobCommand";
|
|
35
53
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
54
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -39,7 +57,10 @@ import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "./c
|
|
|
39
57
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
40
58
|
import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "./commands/UpdateAgentKnowledgeBaseCommand";
|
|
41
59
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
60
|
+
import { UpdateFlowAliasCommandInput, UpdateFlowAliasCommandOutput } from "./commands/UpdateFlowAliasCommand";
|
|
61
|
+
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
|
|
42
62
|
import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "./commands/UpdateKnowledgeBaseCommand";
|
|
63
|
+
import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "./commands/UpdatePromptCommand";
|
|
43
64
|
export interface BedrockAgent {
|
|
44
65
|
/**
|
|
45
66
|
* @see {@link AssociateAgentKnowledgeBaseCommand}
|
|
@@ -71,12 +92,42 @@ export interface BedrockAgent {
|
|
|
71
92
|
createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
|
|
72
93
|
createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
73
94
|
createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link CreateFlowCommand}
|
|
97
|
+
*/
|
|
98
|
+
createFlow(args: CreateFlowCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowCommandOutput>;
|
|
99
|
+
createFlow(args: CreateFlowCommandInput, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
|
|
100
|
+
createFlow(args: CreateFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link CreateFlowAliasCommand}
|
|
103
|
+
*/
|
|
104
|
+
createFlowAlias(args: CreateFlowAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowAliasCommandOutput>;
|
|
105
|
+
createFlowAlias(args: CreateFlowAliasCommandInput, cb: (err: any, data?: CreateFlowAliasCommandOutput) => void): void;
|
|
106
|
+
createFlowAlias(args: CreateFlowAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFlowAliasCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link CreateFlowVersionCommand}
|
|
109
|
+
*/
|
|
110
|
+
createFlowVersion(args: CreateFlowVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowVersionCommandOutput>;
|
|
111
|
+
createFlowVersion(args: CreateFlowVersionCommandInput, cb: (err: any, data?: CreateFlowVersionCommandOutput) => void): void;
|
|
112
|
+
createFlowVersion(args: CreateFlowVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFlowVersionCommandOutput) => void): void;
|
|
74
113
|
/**
|
|
75
114
|
* @see {@link CreateKnowledgeBaseCommand}
|
|
76
115
|
*/
|
|
77
116
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
78
117
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
79
118
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link CreatePromptCommand}
|
|
121
|
+
*/
|
|
122
|
+
createPrompt(args: CreatePromptCommandInput, options?: __HttpHandlerOptions): Promise<CreatePromptCommandOutput>;
|
|
123
|
+
createPrompt(args: CreatePromptCommandInput, cb: (err: any, data?: CreatePromptCommandOutput) => void): void;
|
|
124
|
+
createPrompt(args: CreatePromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePromptCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link CreatePromptVersionCommand}
|
|
127
|
+
*/
|
|
128
|
+
createPromptVersion(args: CreatePromptVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreatePromptVersionCommandOutput>;
|
|
129
|
+
createPromptVersion(args: CreatePromptVersionCommandInput, cb: (err: any, data?: CreatePromptVersionCommandOutput) => void): void;
|
|
130
|
+
createPromptVersion(args: CreatePromptVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePromptVersionCommandOutput) => void): void;
|
|
80
131
|
/**
|
|
81
132
|
* @see {@link DeleteAgentCommand}
|
|
82
133
|
*/
|
|
@@ -107,12 +158,36 @@ export interface BedrockAgent {
|
|
|
107
158
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
108
159
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
109
160
|
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link DeleteFlowCommand}
|
|
163
|
+
*/
|
|
164
|
+
deleteFlow(args: DeleteFlowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowCommandOutput>;
|
|
165
|
+
deleteFlow(args: DeleteFlowCommandInput, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
|
|
166
|
+
deleteFlow(args: DeleteFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link DeleteFlowAliasCommand}
|
|
169
|
+
*/
|
|
170
|
+
deleteFlowAlias(args: DeleteFlowAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowAliasCommandOutput>;
|
|
171
|
+
deleteFlowAlias(args: DeleteFlowAliasCommandInput, cb: (err: any, data?: DeleteFlowAliasCommandOutput) => void): void;
|
|
172
|
+
deleteFlowAlias(args: DeleteFlowAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFlowAliasCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link DeleteFlowVersionCommand}
|
|
175
|
+
*/
|
|
176
|
+
deleteFlowVersion(args: DeleteFlowVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowVersionCommandOutput>;
|
|
177
|
+
deleteFlowVersion(args: DeleteFlowVersionCommandInput, cb: (err: any, data?: DeleteFlowVersionCommandOutput) => void): void;
|
|
178
|
+
deleteFlowVersion(args: DeleteFlowVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFlowVersionCommandOutput) => void): void;
|
|
110
179
|
/**
|
|
111
180
|
* @see {@link DeleteKnowledgeBaseCommand}
|
|
112
181
|
*/
|
|
113
182
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
114
183
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
115
184
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
185
|
+
/**
|
|
186
|
+
* @see {@link DeletePromptCommand}
|
|
187
|
+
*/
|
|
188
|
+
deletePrompt(args: DeletePromptCommandInput, options?: __HttpHandlerOptions): Promise<DeletePromptCommandOutput>;
|
|
189
|
+
deletePrompt(args: DeletePromptCommandInput, cb: (err: any, data?: DeletePromptCommandOutput) => void): void;
|
|
190
|
+
deletePrompt(args: DeletePromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePromptCommandOutput) => void): void;
|
|
116
191
|
/**
|
|
117
192
|
* @see {@link DisassociateAgentKnowledgeBaseCommand}
|
|
118
193
|
*/
|
|
@@ -155,6 +230,24 @@ export interface BedrockAgent {
|
|
|
155
230
|
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
156
231
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
157
232
|
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link GetFlowCommand}
|
|
235
|
+
*/
|
|
236
|
+
getFlow(args: GetFlowCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowCommandOutput>;
|
|
237
|
+
getFlow(args: GetFlowCommandInput, cb: (err: any, data?: GetFlowCommandOutput) => void): void;
|
|
238
|
+
getFlow(args: GetFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowCommandOutput) => void): void;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link GetFlowAliasCommand}
|
|
241
|
+
*/
|
|
242
|
+
getFlowAlias(args: GetFlowAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowAliasCommandOutput>;
|
|
243
|
+
getFlowAlias(args: GetFlowAliasCommandInput, cb: (err: any, data?: GetFlowAliasCommandOutput) => void): void;
|
|
244
|
+
getFlowAlias(args: GetFlowAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowAliasCommandOutput) => void): void;
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link GetFlowVersionCommand}
|
|
247
|
+
*/
|
|
248
|
+
getFlowVersion(args: GetFlowVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowVersionCommandOutput>;
|
|
249
|
+
getFlowVersion(args: GetFlowVersionCommandInput, cb: (err: any, data?: GetFlowVersionCommandOutput) => void): void;
|
|
250
|
+
getFlowVersion(args: GetFlowVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowVersionCommandOutput) => void): void;
|
|
158
251
|
/**
|
|
159
252
|
* @see {@link GetIngestionJobCommand}
|
|
160
253
|
*/
|
|
@@ -167,6 +260,12 @@ export interface BedrockAgent {
|
|
|
167
260
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
168
261
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
169
262
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
263
|
+
/**
|
|
264
|
+
* @see {@link GetPromptCommand}
|
|
265
|
+
*/
|
|
266
|
+
getPrompt(args: GetPromptCommandInput, options?: __HttpHandlerOptions): Promise<GetPromptCommandOutput>;
|
|
267
|
+
getPrompt(args: GetPromptCommandInput, cb: (err: any, data?: GetPromptCommandOutput) => void): void;
|
|
268
|
+
getPrompt(args: GetPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPromptCommandOutput) => void): void;
|
|
170
269
|
/**
|
|
171
270
|
* @see {@link ListAgentActionGroupsCommand}
|
|
172
271
|
*/
|
|
@@ -204,6 +303,25 @@ export interface BedrockAgent {
|
|
|
204
303
|
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
205
304
|
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
206
305
|
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
306
|
+
/**
|
|
307
|
+
* @see {@link ListFlowAliasesCommand}
|
|
308
|
+
*/
|
|
309
|
+
listFlowAliases(args: ListFlowAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowAliasesCommandOutput>;
|
|
310
|
+
listFlowAliases(args: ListFlowAliasesCommandInput, cb: (err: any, data?: ListFlowAliasesCommandOutput) => void): void;
|
|
311
|
+
listFlowAliases(args: ListFlowAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowAliasesCommandOutput) => void): void;
|
|
312
|
+
/**
|
|
313
|
+
* @see {@link ListFlowsCommand}
|
|
314
|
+
*/
|
|
315
|
+
listFlows(): Promise<ListFlowsCommandOutput>;
|
|
316
|
+
listFlows(args: ListFlowsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowsCommandOutput>;
|
|
317
|
+
listFlows(args: ListFlowsCommandInput, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
|
|
318
|
+
listFlows(args: ListFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
|
|
319
|
+
/**
|
|
320
|
+
* @see {@link ListFlowVersionsCommand}
|
|
321
|
+
*/
|
|
322
|
+
listFlowVersions(args: ListFlowVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowVersionsCommandOutput>;
|
|
323
|
+
listFlowVersions(args: ListFlowVersionsCommandInput, cb: (err: any, data?: ListFlowVersionsCommandOutput) => void): void;
|
|
324
|
+
listFlowVersions(args: ListFlowVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowVersionsCommandOutput) => void): void;
|
|
207
325
|
/**
|
|
208
326
|
* @see {@link ListIngestionJobsCommand}
|
|
209
327
|
*/
|
|
@@ -217,6 +335,13 @@ export interface BedrockAgent {
|
|
|
217
335
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
|
|
218
336
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
219
337
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
338
|
+
/**
|
|
339
|
+
* @see {@link ListPromptsCommand}
|
|
340
|
+
*/
|
|
341
|
+
listPrompts(): Promise<ListPromptsCommandOutput>;
|
|
342
|
+
listPrompts(args: ListPromptsCommandInput, options?: __HttpHandlerOptions): Promise<ListPromptsCommandOutput>;
|
|
343
|
+
listPrompts(args: ListPromptsCommandInput, cb: (err: any, data?: ListPromptsCommandOutput) => void): void;
|
|
344
|
+
listPrompts(args: ListPromptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPromptsCommandOutput) => void): void;
|
|
220
345
|
/**
|
|
221
346
|
* @see {@link ListTagsForResourceCommand}
|
|
222
347
|
*/
|
|
@@ -229,6 +354,12 @@ export interface BedrockAgent {
|
|
|
229
354
|
prepareAgent(args: PrepareAgentCommandInput, options?: __HttpHandlerOptions): Promise<PrepareAgentCommandOutput>;
|
|
230
355
|
prepareAgent(args: PrepareAgentCommandInput, cb: (err: any, data?: PrepareAgentCommandOutput) => void): void;
|
|
231
356
|
prepareAgent(args: PrepareAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareAgentCommandOutput) => void): void;
|
|
357
|
+
/**
|
|
358
|
+
* @see {@link PrepareFlowCommand}
|
|
359
|
+
*/
|
|
360
|
+
prepareFlow(args: PrepareFlowCommandInput, options?: __HttpHandlerOptions): Promise<PrepareFlowCommandOutput>;
|
|
361
|
+
prepareFlow(args: PrepareFlowCommandInput, cb: (err: any, data?: PrepareFlowCommandOutput) => void): void;
|
|
362
|
+
prepareFlow(args: PrepareFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PrepareFlowCommandOutput) => void): void;
|
|
232
363
|
/**
|
|
233
364
|
* @see {@link StartIngestionJobCommand}
|
|
234
365
|
*/
|
|
@@ -277,12 +408,30 @@ export interface BedrockAgent {
|
|
|
277
408
|
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
278
409
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
279
410
|
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link UpdateFlowCommand}
|
|
413
|
+
*/
|
|
414
|
+
updateFlow(args: UpdateFlowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowCommandOutput>;
|
|
415
|
+
updateFlow(args: UpdateFlowCommandInput, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
|
|
416
|
+
updateFlow(args: UpdateFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
|
|
417
|
+
/**
|
|
418
|
+
* @see {@link UpdateFlowAliasCommand}
|
|
419
|
+
*/
|
|
420
|
+
updateFlowAlias(args: UpdateFlowAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowAliasCommandOutput>;
|
|
421
|
+
updateFlowAlias(args: UpdateFlowAliasCommandInput, cb: (err: any, data?: UpdateFlowAliasCommandOutput) => void): void;
|
|
422
|
+
updateFlowAlias(args: UpdateFlowAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFlowAliasCommandOutput) => void): void;
|
|
280
423
|
/**
|
|
281
424
|
* @see {@link UpdateKnowledgeBaseCommand}
|
|
282
425
|
*/
|
|
283
426
|
updateKnowledgeBase(args: UpdateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKnowledgeBaseCommandOutput>;
|
|
284
427
|
updateKnowledgeBase(args: UpdateKnowledgeBaseCommandInput, cb: (err: any, data?: UpdateKnowledgeBaseCommandOutput) => void): void;
|
|
285
428
|
updateKnowledgeBase(args: UpdateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKnowledgeBaseCommandOutput) => void): void;
|
|
429
|
+
/**
|
|
430
|
+
* @see {@link UpdatePromptCommand}
|
|
431
|
+
*/
|
|
432
|
+
updatePrompt(args: UpdatePromptCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePromptCommandOutput>;
|
|
433
|
+
updatePrompt(args: UpdatePromptCommandInput, cb: (err: any, data?: UpdatePromptCommandOutput) => void): void;
|
|
434
|
+
updatePrompt(args: UpdatePromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePromptCommandOutput) => void): void;
|
|
286
435
|
}
|
|
287
436
|
/**
|
|
288
437
|
* <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
@@ -12,13 +12,22 @@ import { CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput
|
|
|
12
12
|
import { CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput } from "./commands/CreateAgentAliasCommand";
|
|
13
13
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
14
14
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
15
|
+
import { CreateFlowAliasCommandInput, CreateFlowAliasCommandOutput } from "./commands/CreateFlowAliasCommand";
|
|
16
|
+
import { CreateFlowCommandInput, CreateFlowCommandOutput } from "./commands/CreateFlowCommand";
|
|
17
|
+
import { CreateFlowVersionCommandInput, CreateFlowVersionCommandOutput } from "./commands/CreateFlowVersionCommand";
|
|
15
18
|
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
19
|
+
import { CreatePromptCommandInput, CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
|
|
20
|
+
import { CreatePromptVersionCommandInput, CreatePromptVersionCommandOutput } from "./commands/CreatePromptVersionCommand";
|
|
16
21
|
import { DeleteAgentActionGroupCommandInput, DeleteAgentActionGroupCommandOutput } from "./commands/DeleteAgentActionGroupCommand";
|
|
17
22
|
import { DeleteAgentAliasCommandInput, DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
18
23
|
import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
19
24
|
import { DeleteAgentVersionCommandInput, DeleteAgentVersionCommandOutput } from "./commands/DeleteAgentVersionCommand";
|
|
20
25
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
26
|
+
import { DeleteFlowAliasCommandInput, DeleteFlowAliasCommandOutput } from "./commands/DeleteFlowAliasCommand";
|
|
27
|
+
import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
|
|
28
|
+
import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from "./commands/DeleteFlowVersionCommand";
|
|
21
29
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
30
|
+
import { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
|
|
22
31
|
import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
23
32
|
import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
|
|
24
33
|
import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "./commands/GetAgentAliasCommand";
|
|
@@ -26,18 +35,27 @@ import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgent
|
|
|
26
35
|
import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "./commands/GetAgentKnowledgeBaseCommand";
|
|
27
36
|
import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
28
37
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
38
|
+
import { GetFlowAliasCommandInput, GetFlowAliasCommandOutput } from "./commands/GetFlowAliasCommand";
|
|
39
|
+
import { GetFlowCommandInput, GetFlowCommandOutput } from "./commands/GetFlowCommand";
|
|
40
|
+
import { GetFlowVersionCommandInput, GetFlowVersionCommandOutput } from "./commands/GetFlowVersionCommand";
|
|
29
41
|
import { GetIngestionJobCommandInput, GetIngestionJobCommandOutput } from "./commands/GetIngestionJobCommand";
|
|
30
42
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
43
|
+
import { GetPromptCommandInput, GetPromptCommandOutput } from "./commands/GetPromptCommand";
|
|
31
44
|
import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
|
|
32
45
|
import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
33
46
|
import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "./commands/ListAgentKnowledgeBasesCommand";
|
|
34
47
|
import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
35
48
|
import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
36
49
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
50
|
+
import { ListFlowAliasesCommandInput, ListFlowAliasesCommandOutput } from "./commands/ListFlowAliasesCommand";
|
|
51
|
+
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
52
|
+
import { ListFlowVersionsCommandInput, ListFlowVersionsCommandOutput } from "./commands/ListFlowVersionsCommand";
|
|
37
53
|
import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "./commands/ListIngestionJobsCommand";
|
|
38
54
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
55
|
+
import { ListPromptsCommandInput, ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
|
|
39
56
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
57
|
import { PrepareAgentCommandInput, PrepareAgentCommandOutput } from "./commands/PrepareAgentCommand";
|
|
58
|
+
import { PrepareFlowCommandInput, PrepareFlowCommandOutput } from "./commands/PrepareFlowCommand";
|
|
41
59
|
import { StartIngestionJobCommandInput, StartIngestionJobCommandOutput } from "./commands/StartIngestionJobCommand";
|
|
42
60
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
43
61
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -46,18 +64,21 @@ import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "./c
|
|
|
46
64
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
47
65
|
import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "./commands/UpdateAgentKnowledgeBaseCommand";
|
|
48
66
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
67
|
+
import { UpdateFlowAliasCommandInput, UpdateFlowAliasCommandOutput } from "./commands/UpdateFlowAliasCommand";
|
|
68
|
+
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
|
|
49
69
|
import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "./commands/UpdateKnowledgeBaseCommand";
|
|
70
|
+
import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "./commands/UpdatePromptCommand";
|
|
50
71
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
51
72
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
52
73
|
export { __Client };
|
|
53
74
|
/**
|
|
54
75
|
* @public
|
|
55
76
|
*/
|
|
56
|
-
export type ServiceInputTypes = AssociateAgentKnowledgeBaseCommandInput | CreateAgentActionGroupCommandInput | CreateAgentAliasCommandInput | CreateAgentCommandInput | CreateDataSourceCommandInput | CreateKnowledgeBaseCommandInput | DeleteAgentActionGroupCommandInput | DeleteAgentAliasCommandInput | DeleteAgentCommandInput | DeleteAgentVersionCommandInput | DeleteDataSourceCommandInput | DeleteKnowledgeBaseCommandInput | DisassociateAgentKnowledgeBaseCommandInput | GetAgentActionGroupCommandInput | GetAgentAliasCommandInput | GetAgentCommandInput | GetAgentKnowledgeBaseCommandInput | GetAgentVersionCommandInput | GetDataSourceCommandInput | GetIngestionJobCommandInput | GetKnowledgeBaseCommandInput | ListAgentActionGroupsCommandInput | ListAgentAliasesCommandInput | ListAgentKnowledgeBasesCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListDataSourcesCommandInput | ListIngestionJobsCommandInput | ListKnowledgeBasesCommandInput | ListTagsForResourceCommandInput | PrepareAgentCommandInput | StartIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateKnowledgeBaseCommandInput;
|
|
77
|
+
export type ServiceInputTypes = AssociateAgentKnowledgeBaseCommandInput | CreateAgentActionGroupCommandInput | CreateAgentAliasCommandInput | CreateAgentCommandInput | CreateDataSourceCommandInput | CreateFlowAliasCommandInput | CreateFlowCommandInput | CreateFlowVersionCommandInput | CreateKnowledgeBaseCommandInput | CreatePromptCommandInput | CreatePromptVersionCommandInput | DeleteAgentActionGroupCommandInput | DeleteAgentAliasCommandInput | DeleteAgentCommandInput | DeleteAgentVersionCommandInput | DeleteDataSourceCommandInput | DeleteFlowAliasCommandInput | DeleteFlowCommandInput | DeleteFlowVersionCommandInput | DeleteKnowledgeBaseCommandInput | DeletePromptCommandInput | DisassociateAgentKnowledgeBaseCommandInput | GetAgentActionGroupCommandInput | GetAgentAliasCommandInput | GetAgentCommandInput | GetAgentKnowledgeBaseCommandInput | GetAgentVersionCommandInput | GetDataSourceCommandInput | GetFlowAliasCommandInput | GetFlowCommandInput | GetFlowVersionCommandInput | GetIngestionJobCommandInput | GetKnowledgeBaseCommandInput | GetPromptCommandInput | ListAgentActionGroupsCommandInput | ListAgentAliasesCommandInput | ListAgentKnowledgeBasesCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListDataSourcesCommandInput | ListFlowAliasesCommandInput | ListFlowVersionsCommandInput | ListFlowsCommandInput | ListIngestionJobsCommandInput | ListKnowledgeBasesCommandInput | ListPromptsCommandInput | ListTagsForResourceCommandInput | PrepareAgentCommandInput | PrepareFlowCommandInput | StartIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateFlowAliasCommandInput | UpdateFlowCommandInput | UpdateKnowledgeBaseCommandInput | UpdatePromptCommandInput;
|
|
57
78
|
/**
|
|
58
79
|
* @public
|
|
59
80
|
*/
|
|
60
|
-
export type ServiceOutputTypes = AssociateAgentKnowledgeBaseCommandOutput | CreateAgentActionGroupCommandOutput | CreateAgentAliasCommandOutput | CreateAgentCommandOutput | CreateDataSourceCommandOutput | CreateKnowledgeBaseCommandOutput | DeleteAgentActionGroupCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentCommandOutput | DeleteAgentVersionCommandOutput | DeleteDataSourceCommandOutput | DeleteKnowledgeBaseCommandOutput | DisassociateAgentKnowledgeBaseCommandOutput | GetAgentActionGroupCommandOutput | GetAgentAliasCommandOutput | GetAgentCommandOutput | GetAgentKnowledgeBaseCommandOutput | GetAgentVersionCommandOutput | GetDataSourceCommandOutput | GetIngestionJobCommandOutput | GetKnowledgeBaseCommandOutput | ListAgentActionGroupsCommandOutput | ListAgentAliasesCommandOutput | ListAgentKnowledgeBasesCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListDataSourcesCommandOutput | ListIngestionJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListTagsForResourceCommandOutput | PrepareAgentCommandOutput | StartIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateKnowledgeBaseCommandOutput;
|
|
81
|
+
export type ServiceOutputTypes = AssociateAgentKnowledgeBaseCommandOutput | CreateAgentActionGroupCommandOutput | CreateAgentAliasCommandOutput | CreateAgentCommandOutput | CreateDataSourceCommandOutput | CreateFlowAliasCommandOutput | CreateFlowCommandOutput | CreateFlowVersionCommandOutput | CreateKnowledgeBaseCommandOutput | CreatePromptCommandOutput | CreatePromptVersionCommandOutput | DeleteAgentActionGroupCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentCommandOutput | DeleteAgentVersionCommandOutput | DeleteDataSourceCommandOutput | DeleteFlowAliasCommandOutput | DeleteFlowCommandOutput | DeleteFlowVersionCommandOutput | DeleteKnowledgeBaseCommandOutput | DeletePromptCommandOutput | DisassociateAgentKnowledgeBaseCommandOutput | GetAgentActionGroupCommandOutput | GetAgentAliasCommandOutput | GetAgentCommandOutput | GetAgentKnowledgeBaseCommandOutput | GetAgentVersionCommandOutput | GetDataSourceCommandOutput | GetFlowAliasCommandOutput | GetFlowCommandOutput | GetFlowVersionCommandOutput | GetIngestionJobCommandOutput | GetKnowledgeBaseCommandOutput | GetPromptCommandOutput | ListAgentActionGroupsCommandOutput | ListAgentAliasesCommandOutput | ListAgentKnowledgeBasesCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListDataSourcesCommandOutput | ListFlowAliasesCommandOutput | ListFlowVersionsCommandOutput | ListFlowsCommandOutput | ListIngestionJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListPromptsCommandOutput | ListTagsForResourceCommandOutput | PrepareAgentCommandOutput | PrepareFlowCommandOutput | StartIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateFlowAliasCommandOutput | UpdateFlowCommandOutput | UpdateKnowledgeBaseCommandOutput | UpdatePromptCommandOutput;
|
|
61
82
|
/**
|
|
62
83
|
* @public
|
|
63
84
|
*/
|
|
@@ -28,7 +28,11 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.</p>
|
|
31
|
-
* <p>To allow your agent to request the user for additional information when trying to complete a task,
|
|
31
|
+
* <p>To allow your agent to request the user for additional information when trying to complete a task,
|
|
32
|
+
* add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.UserInput</code>. </p>
|
|
33
|
+
* <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task,
|
|
34
|
+
* add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.CodeInterpreter</code>. </p>
|
|
35
|
+
* <p>You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html">Observation</a> reprompting the user for more information.</p>
|
|
32
36
|
* @example
|
|
33
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
38
|
* ```javascript
|
|
@@ -41,7 +45,7 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
41
45
|
* actionGroupName: "STRING_VALUE", // required
|
|
42
46
|
* clientToken: "STRING_VALUE",
|
|
43
47
|
* description: "STRING_VALUE",
|
|
44
|
-
* parentActionGroupSignature: "AMAZON.UserInput",
|
|
48
|
+
* parentActionGroupSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
45
49
|
* actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
46
50
|
* lambda: "STRING_VALUE",
|
|
47
51
|
* customControl: "RETURN_CONTROL",
|
|
@@ -82,7 +86,7 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
82
86
|
* // description: "STRING_VALUE",
|
|
83
87
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
84
88
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
85
|
-
* // parentActionSignature: "AMAZON.UserInput",
|
|
89
|
+
* // parentActionSignature: "AMAZON.UserInput" || "AMAZON.CodeInterpreter",
|
|
86
90
|
* // actionGroupExecutor: { // ActionGroupExecutor Union: only one key present
|
|
87
91
|
* // lambda: "STRING_VALUE",
|
|
88
92
|
* // customControl: "RETURN_CONTROL",
|
|
@@ -45,7 +45,12 @@ declare const CreateAgentCommand_base: {
|
|
|
45
45
|
* </ul>
|
|
46
46
|
* </li>
|
|
47
47
|
* <li>
|
|
48
|
-
* <p>To
|
|
48
|
+
* <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object.
|
|
49
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html">Configure memory</a>.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object.
|
|
53
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p>
|
|
49
54
|
* </li>
|
|
50
55
|
* <li>
|
|
51
56
|
* <p>If you 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>
|
|
@@ -94,6 +99,12 @@ declare const CreateAgentCommand_base: {
|
|
|
94
99
|
* guardrailIdentifier: "STRING_VALUE",
|
|
95
100
|
* guardrailVersion: "STRING_VALUE",
|
|
96
101
|
* },
|
|
102
|
+
* memoryConfiguration: { // MemoryConfiguration
|
|
103
|
+
* enabledMemoryTypes: [ // EnabledMemoryTypes // required
|
|
104
|
+
* "SESSION_SUMMARY",
|
|
105
|
+
* ],
|
|
106
|
+
* storageDays: Number("int"),
|
|
107
|
+
* },
|
|
97
108
|
* };
|
|
98
109
|
* const command = new CreateAgentCommand(input);
|
|
99
110
|
* const response = await client.send(command);
|
|
@@ -145,6 +156,12 @@ declare const CreateAgentCommand_base: {
|
|
|
145
156
|
* // guardrailIdentifier: "STRING_VALUE",
|
|
146
157
|
* // guardrailVersion: "STRING_VALUE",
|
|
147
158
|
* // },
|
|
159
|
+
* // memoryConfiguration: { // MemoryConfiguration
|
|
160
|
+
* // enabledMemoryTypes: [ // EnabledMemoryTypes // required
|
|
161
|
+
* // "SESSION_SUMMARY",
|
|
162
|
+
* // ],
|
|
163
|
+
* // storageDays: Number("int"),
|
|
164
|
+
* // },
|
|
148
165
|
* // },
|
|
149
166
|
* // };
|
|
150
167
|
*
|