@aws-sdk/client-bedrock-agent 3.702.0 → 3.705.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 +72 -0
- package/dist-cjs/index.js +772 -28
- package/dist-es/BedrockAgent.js +18 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +75 -18
- package/dist-es/models/models_1.js +71 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +392 -0
- package/dist-types/BedrockAgent.d.ts +63 -0
- package/dist-types/BedrockAgentClient.d.ts +11 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
- package/dist-types/commands/GetAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +589 -475
- package/dist-types/models/models_1.d.ts +923 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +153 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +185 -153
- package/dist-types/ts3.4/models/models_1.d.ts +270 -4
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BedrockAgentClient } from "./BedrockAgentClient";
|
|
3
|
+
import { AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput } from "./commands/AssociateAgentCollaboratorCommand";
|
|
3
4
|
import { AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput } from "./commands/AssociateAgentKnowledgeBaseCommand";
|
|
4
5
|
import { CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput } from "./commands/CreateAgentActionGroupCommand";
|
|
5
6
|
import { CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput } from "./commands/CreateAgentAliasCommand";
|
|
@@ -20,10 +21,13 @@ import { DeleteFlowAliasCommandInput, DeleteFlowAliasCommandOutput } from "./com
|
|
|
20
21
|
import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
|
|
21
22
|
import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from "./commands/DeleteFlowVersionCommand";
|
|
22
23
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
24
|
+
import { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
23
25
|
import { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
|
|
26
|
+
import { DisassociateAgentCollaboratorCommandInput, DisassociateAgentCollaboratorCommandOutput } from "./commands/DisassociateAgentCollaboratorCommand";
|
|
24
27
|
import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
25
28
|
import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
|
|
26
29
|
import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "./commands/GetAgentAliasCommand";
|
|
30
|
+
import { GetAgentCollaboratorCommandInput, GetAgentCollaboratorCommandOutput } from "./commands/GetAgentCollaboratorCommand";
|
|
27
31
|
import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
28
32
|
import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "./commands/GetAgentKnowledgeBaseCommand";
|
|
29
33
|
import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
@@ -33,9 +37,12 @@ import { GetFlowCommandInput, GetFlowCommandOutput } from "./commands/GetFlowCom
|
|
|
33
37
|
import { GetFlowVersionCommandInput, GetFlowVersionCommandOutput } from "./commands/GetFlowVersionCommand";
|
|
34
38
|
import { GetIngestionJobCommandInput, GetIngestionJobCommandOutput } from "./commands/GetIngestionJobCommand";
|
|
35
39
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
40
|
+
import { GetKnowledgeBaseDocumentsCommandInput, GetKnowledgeBaseDocumentsCommandOutput } from "./commands/GetKnowledgeBaseDocumentsCommand";
|
|
36
41
|
import { GetPromptCommandInput, GetPromptCommandOutput } from "./commands/GetPromptCommand";
|
|
42
|
+
import { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
37
43
|
import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
|
|
38
44
|
import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
45
|
+
import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "./commands/ListAgentCollaboratorsCommand";
|
|
39
46
|
import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "./commands/ListAgentKnowledgeBasesCommand";
|
|
40
47
|
import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
41
48
|
import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
@@ -44,6 +51,7 @@ import { ListFlowAliasesCommandInput, ListFlowAliasesCommandOutput } from "./com
|
|
|
44
51
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
45
52
|
import { ListFlowVersionsCommandInput, ListFlowVersionsCommandOutput } from "./commands/ListFlowVersionsCommand";
|
|
46
53
|
import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "./commands/ListIngestionJobsCommand";
|
|
54
|
+
import { ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput } from "./commands/ListKnowledgeBaseDocumentsCommand";
|
|
47
55
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
48
56
|
import { ListPromptsCommandInput, ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
|
|
49
57
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -55,6 +63,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
55
63
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
56
64
|
import { UpdateAgentActionGroupCommandInput, UpdateAgentActionGroupCommandOutput } from "./commands/UpdateAgentActionGroupCommand";
|
|
57
65
|
import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "./commands/UpdateAgentAliasCommand";
|
|
66
|
+
import { UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput } from "./commands/UpdateAgentCollaboratorCommand";
|
|
58
67
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
59
68
|
import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "./commands/UpdateAgentKnowledgeBaseCommand";
|
|
60
69
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
@@ -64,6 +73,12 @@ import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } fro
|
|
|
64
73
|
import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "./commands/UpdatePromptCommand";
|
|
65
74
|
import { ValidateFlowDefinitionCommandInput, ValidateFlowDefinitionCommandOutput } from "./commands/ValidateFlowDefinitionCommand";
|
|
66
75
|
export interface BedrockAgent {
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link AssociateAgentCollaboratorCommand}
|
|
78
|
+
*/
|
|
79
|
+
associateAgentCollaborator(args: AssociateAgentCollaboratorCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAgentCollaboratorCommandOutput>;
|
|
80
|
+
associateAgentCollaborator(args: AssociateAgentCollaboratorCommandInput, cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void): void;
|
|
81
|
+
associateAgentCollaborator(args: AssociateAgentCollaboratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void): void;
|
|
67
82
|
/**
|
|
68
83
|
* @see {@link AssociateAgentKnowledgeBaseCommand}
|
|
69
84
|
*/
|
|
@@ -184,12 +199,24 @@ export interface BedrockAgent {
|
|
|
184
199
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
185
200
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
186
201
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
202
|
+
/**
|
|
203
|
+
* @see {@link DeleteKnowledgeBaseDocumentsCommand}
|
|
204
|
+
*/
|
|
205
|
+
deleteKnowledgeBaseDocuments(args: DeleteKnowledgeBaseDocumentsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
|
|
206
|
+
deleteKnowledgeBaseDocuments(args: DeleteKnowledgeBaseDocumentsCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
207
|
+
deleteKnowledgeBaseDocuments(args: DeleteKnowledgeBaseDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
187
208
|
/**
|
|
188
209
|
* @see {@link DeletePromptCommand}
|
|
189
210
|
*/
|
|
190
211
|
deletePrompt(args: DeletePromptCommandInput, options?: __HttpHandlerOptions): Promise<DeletePromptCommandOutput>;
|
|
191
212
|
deletePrompt(args: DeletePromptCommandInput, cb: (err: any, data?: DeletePromptCommandOutput) => void): void;
|
|
192
213
|
deletePrompt(args: DeletePromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePromptCommandOutput) => void): void;
|
|
214
|
+
/**
|
|
215
|
+
* @see {@link DisassociateAgentCollaboratorCommand}
|
|
216
|
+
*/
|
|
217
|
+
disassociateAgentCollaborator(args: DisassociateAgentCollaboratorCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAgentCollaboratorCommandOutput>;
|
|
218
|
+
disassociateAgentCollaborator(args: DisassociateAgentCollaboratorCommandInput, cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void): void;
|
|
219
|
+
disassociateAgentCollaborator(args: DisassociateAgentCollaboratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void): void;
|
|
193
220
|
/**
|
|
194
221
|
* @see {@link DisassociateAgentKnowledgeBaseCommand}
|
|
195
222
|
*/
|
|
@@ -214,6 +241,12 @@ export interface BedrockAgent {
|
|
|
214
241
|
getAgentAlias(args: GetAgentAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentAliasCommandOutput>;
|
|
215
242
|
getAgentAlias(args: GetAgentAliasCommandInput, cb: (err: any, data?: GetAgentAliasCommandOutput) => void): void;
|
|
216
243
|
getAgentAlias(args: GetAgentAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentAliasCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link GetAgentCollaboratorCommand}
|
|
246
|
+
*/
|
|
247
|
+
getAgentCollaborator(args: GetAgentCollaboratorCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentCollaboratorCommandOutput>;
|
|
248
|
+
getAgentCollaborator(args: GetAgentCollaboratorCommandInput, cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void): void;
|
|
249
|
+
getAgentCollaborator(args: GetAgentCollaboratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void): void;
|
|
217
250
|
/**
|
|
218
251
|
* @see {@link GetAgentKnowledgeBaseCommand}
|
|
219
252
|
*/
|
|
@@ -262,12 +295,24 @@ export interface BedrockAgent {
|
|
|
262
295
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
263
296
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
264
297
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
298
|
+
/**
|
|
299
|
+
* @see {@link GetKnowledgeBaseDocumentsCommand}
|
|
300
|
+
*/
|
|
301
|
+
getKnowledgeBaseDocuments(args: GetKnowledgeBaseDocumentsCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseDocumentsCommandOutput>;
|
|
302
|
+
getKnowledgeBaseDocuments(args: GetKnowledgeBaseDocumentsCommandInput, cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
303
|
+
getKnowledgeBaseDocuments(args: GetKnowledgeBaseDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
265
304
|
/**
|
|
266
305
|
* @see {@link GetPromptCommand}
|
|
267
306
|
*/
|
|
268
307
|
getPrompt(args: GetPromptCommandInput, options?: __HttpHandlerOptions): Promise<GetPromptCommandOutput>;
|
|
269
308
|
getPrompt(args: GetPromptCommandInput, cb: (err: any, data?: GetPromptCommandOutput) => void): void;
|
|
270
309
|
getPrompt(args: GetPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPromptCommandOutput) => void): void;
|
|
310
|
+
/**
|
|
311
|
+
* @see {@link IngestKnowledgeBaseDocumentsCommand}
|
|
312
|
+
*/
|
|
313
|
+
ingestKnowledgeBaseDocuments(args: IngestKnowledgeBaseDocumentsCommandInput, options?: __HttpHandlerOptions): Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
|
|
314
|
+
ingestKnowledgeBaseDocuments(args: IngestKnowledgeBaseDocumentsCommandInput, cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
315
|
+
ingestKnowledgeBaseDocuments(args: IngestKnowledgeBaseDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
271
316
|
/**
|
|
272
317
|
* @see {@link ListAgentActionGroupsCommand}
|
|
273
318
|
*/
|
|
@@ -280,6 +325,12 @@ export interface BedrockAgent {
|
|
|
280
325
|
listAgentAliases(args: ListAgentAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentAliasesCommandOutput>;
|
|
281
326
|
listAgentAliases(args: ListAgentAliasesCommandInput, cb: (err: any, data?: ListAgentAliasesCommandOutput) => void): void;
|
|
282
327
|
listAgentAliases(args: ListAgentAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentAliasesCommandOutput) => void): void;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link ListAgentCollaboratorsCommand}
|
|
330
|
+
*/
|
|
331
|
+
listAgentCollaborators(args: ListAgentCollaboratorsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentCollaboratorsCommandOutput>;
|
|
332
|
+
listAgentCollaborators(args: ListAgentCollaboratorsCommandInput, cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void): void;
|
|
333
|
+
listAgentCollaborators(args: ListAgentCollaboratorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void): void;
|
|
283
334
|
/**
|
|
284
335
|
* @see {@link ListAgentKnowledgeBasesCommand}
|
|
285
336
|
*/
|
|
@@ -330,6 +381,12 @@ export interface BedrockAgent {
|
|
|
330
381
|
listIngestionJobs(args: ListIngestionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListIngestionJobsCommandOutput>;
|
|
331
382
|
listIngestionJobs(args: ListIngestionJobsCommandInput, cb: (err: any, data?: ListIngestionJobsCommandOutput) => void): void;
|
|
332
383
|
listIngestionJobs(args: ListIngestionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIngestionJobsCommandOutput) => void): void;
|
|
384
|
+
/**
|
|
385
|
+
* @see {@link ListKnowledgeBaseDocumentsCommand}
|
|
386
|
+
*/
|
|
387
|
+
listKnowledgeBaseDocuments(args: ListKnowledgeBaseDocumentsCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBaseDocumentsCommandOutput>;
|
|
388
|
+
listKnowledgeBaseDocuments(args: ListKnowledgeBaseDocumentsCommandInput, cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
389
|
+
listKnowledgeBaseDocuments(args: ListKnowledgeBaseDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void): void;
|
|
333
390
|
/**
|
|
334
391
|
* @see {@link ListKnowledgeBasesCommand}
|
|
335
392
|
*/
|
|
@@ -404,6 +461,12 @@ export interface BedrockAgent {
|
|
|
404
461
|
updateAgentAlias(args: UpdateAgentAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentAliasCommandOutput>;
|
|
405
462
|
updateAgentAlias(args: UpdateAgentAliasCommandInput, cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void): void;
|
|
406
463
|
updateAgentAlias(args: UpdateAgentAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void): void;
|
|
464
|
+
/**
|
|
465
|
+
* @see {@link UpdateAgentCollaboratorCommand}
|
|
466
|
+
*/
|
|
467
|
+
updateAgentCollaborator(args: UpdateAgentCollaboratorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentCollaboratorCommandOutput>;
|
|
468
|
+
updateAgentCollaborator(args: UpdateAgentCollaboratorCommandInput, cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void): void;
|
|
469
|
+
updateAgentCollaborator(args: UpdateAgentCollaboratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void): void;
|
|
407
470
|
/**
|
|
408
471
|
* @see {@link UpdateAgentKnowledgeBaseCommand}
|
|
409
472
|
*/
|
|
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput } from "./commands/AssociateAgentCollaboratorCommand";
|
|
10
11
|
import { AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput } from "./commands/AssociateAgentKnowledgeBaseCommand";
|
|
11
12
|
import { CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput } from "./commands/CreateAgentActionGroupCommand";
|
|
12
13
|
import { CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput } from "./commands/CreateAgentAliasCommand";
|
|
@@ -27,10 +28,13 @@ import { DeleteFlowAliasCommandInput, DeleteFlowAliasCommandOutput } from "./com
|
|
|
27
28
|
import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
|
|
28
29
|
import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from "./commands/DeleteFlowVersionCommand";
|
|
29
30
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
31
|
+
import { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
30
32
|
import { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
|
|
33
|
+
import { DisassociateAgentCollaboratorCommandInput, DisassociateAgentCollaboratorCommandOutput } from "./commands/DisassociateAgentCollaboratorCommand";
|
|
31
34
|
import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
32
35
|
import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "./commands/GetAgentActionGroupCommand";
|
|
33
36
|
import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "./commands/GetAgentAliasCommand";
|
|
37
|
+
import { GetAgentCollaboratorCommandInput, GetAgentCollaboratorCommandOutput } from "./commands/GetAgentCollaboratorCommand";
|
|
34
38
|
import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
35
39
|
import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "./commands/GetAgentKnowledgeBaseCommand";
|
|
36
40
|
import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
@@ -40,9 +44,12 @@ import { GetFlowCommandInput, GetFlowCommandOutput } from "./commands/GetFlowCom
|
|
|
40
44
|
import { GetFlowVersionCommandInput, GetFlowVersionCommandOutput } from "./commands/GetFlowVersionCommand";
|
|
41
45
|
import { GetIngestionJobCommandInput, GetIngestionJobCommandOutput } from "./commands/GetIngestionJobCommand";
|
|
42
46
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
47
|
+
import { GetKnowledgeBaseDocumentsCommandInput, GetKnowledgeBaseDocumentsCommandOutput } from "./commands/GetKnowledgeBaseDocumentsCommand";
|
|
43
48
|
import { GetPromptCommandInput, GetPromptCommandOutput } from "./commands/GetPromptCommand";
|
|
49
|
+
import { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
44
50
|
import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "./commands/ListAgentActionGroupsCommand";
|
|
45
51
|
import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
52
|
+
import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "./commands/ListAgentCollaboratorsCommand";
|
|
46
53
|
import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "./commands/ListAgentKnowledgeBasesCommand";
|
|
47
54
|
import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
48
55
|
import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
@@ -51,6 +58,7 @@ import { ListFlowAliasesCommandInput, ListFlowAliasesCommandOutput } from "./com
|
|
|
51
58
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
|
|
52
59
|
import { ListFlowVersionsCommandInput, ListFlowVersionsCommandOutput } from "./commands/ListFlowVersionsCommand";
|
|
53
60
|
import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "./commands/ListIngestionJobsCommand";
|
|
61
|
+
import { ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput } from "./commands/ListKnowledgeBaseDocumentsCommand";
|
|
54
62
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
55
63
|
import { ListPromptsCommandInput, ListPromptsCommandOutput } from "./commands/ListPromptsCommand";
|
|
56
64
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -62,6 +70,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
62
70
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
63
71
|
import { UpdateAgentActionGroupCommandInput, UpdateAgentActionGroupCommandOutput } from "./commands/UpdateAgentActionGroupCommand";
|
|
64
72
|
import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "./commands/UpdateAgentAliasCommand";
|
|
73
|
+
import { UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput } from "./commands/UpdateAgentCollaboratorCommand";
|
|
65
74
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
66
75
|
import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "./commands/UpdateAgentKnowledgeBaseCommand";
|
|
67
76
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
@@ -76,11 +85,11 @@ export { __Client };
|
|
|
76
85
|
/**
|
|
77
86
|
* @public
|
|
78
87
|
*/
|
|
79
|
-
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 | StopIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateFlowAliasCommandInput | UpdateFlowCommandInput | UpdateKnowledgeBaseCommandInput | UpdatePromptCommandInput | ValidateFlowDefinitionCommandInput;
|
|
88
|
+
export type ServiceInputTypes = AssociateAgentCollaboratorCommandInput | AssociateAgentKnowledgeBaseCommandInput | CreateAgentActionGroupCommandInput | CreateAgentAliasCommandInput | CreateAgentCommandInput | CreateDataSourceCommandInput | CreateFlowAliasCommandInput | CreateFlowCommandInput | CreateFlowVersionCommandInput | CreateKnowledgeBaseCommandInput | CreatePromptCommandInput | CreatePromptVersionCommandInput | DeleteAgentActionGroupCommandInput | DeleteAgentAliasCommandInput | DeleteAgentCommandInput | DeleteAgentVersionCommandInput | DeleteDataSourceCommandInput | DeleteFlowAliasCommandInput | DeleteFlowCommandInput | DeleteFlowVersionCommandInput | DeleteKnowledgeBaseCommandInput | DeleteKnowledgeBaseDocumentsCommandInput | DeletePromptCommandInput | DisassociateAgentCollaboratorCommandInput | DisassociateAgentKnowledgeBaseCommandInput | GetAgentActionGroupCommandInput | GetAgentAliasCommandInput | GetAgentCollaboratorCommandInput | GetAgentCommandInput | GetAgentKnowledgeBaseCommandInput | GetAgentVersionCommandInput | GetDataSourceCommandInput | GetFlowAliasCommandInput | GetFlowCommandInput | GetFlowVersionCommandInput | GetIngestionJobCommandInput | GetKnowledgeBaseCommandInput | GetKnowledgeBaseDocumentsCommandInput | GetPromptCommandInput | IngestKnowledgeBaseDocumentsCommandInput | ListAgentActionGroupsCommandInput | ListAgentAliasesCommandInput | ListAgentCollaboratorsCommandInput | ListAgentKnowledgeBasesCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListDataSourcesCommandInput | ListFlowAliasesCommandInput | ListFlowVersionsCommandInput | ListFlowsCommandInput | ListIngestionJobsCommandInput | ListKnowledgeBaseDocumentsCommandInput | ListKnowledgeBasesCommandInput | ListPromptsCommandInput | ListTagsForResourceCommandInput | PrepareAgentCommandInput | PrepareFlowCommandInput | StartIngestionJobCommandInput | StopIngestionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentActionGroupCommandInput | UpdateAgentAliasCommandInput | UpdateAgentCollaboratorCommandInput | UpdateAgentCommandInput | UpdateAgentKnowledgeBaseCommandInput | UpdateDataSourceCommandInput | UpdateFlowAliasCommandInput | UpdateFlowCommandInput | UpdateKnowledgeBaseCommandInput | UpdatePromptCommandInput | ValidateFlowDefinitionCommandInput;
|
|
80
89
|
/**
|
|
81
90
|
* @public
|
|
82
91
|
*/
|
|
83
|
-
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 | StopIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateFlowAliasCommandOutput | UpdateFlowCommandOutput | UpdateKnowledgeBaseCommandOutput | UpdatePromptCommandOutput | ValidateFlowDefinitionCommandOutput;
|
|
92
|
+
export type ServiceOutputTypes = AssociateAgentCollaboratorCommandOutput | AssociateAgentKnowledgeBaseCommandOutput | CreateAgentActionGroupCommandOutput | CreateAgentAliasCommandOutput | CreateAgentCommandOutput | CreateDataSourceCommandOutput | CreateFlowAliasCommandOutput | CreateFlowCommandOutput | CreateFlowVersionCommandOutput | CreateKnowledgeBaseCommandOutput | CreatePromptCommandOutput | CreatePromptVersionCommandOutput | DeleteAgentActionGroupCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentCommandOutput | DeleteAgentVersionCommandOutput | DeleteDataSourceCommandOutput | DeleteFlowAliasCommandOutput | DeleteFlowCommandOutput | DeleteFlowVersionCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteKnowledgeBaseDocumentsCommandOutput | DeletePromptCommandOutput | DisassociateAgentCollaboratorCommandOutput | DisassociateAgentKnowledgeBaseCommandOutput | GetAgentActionGroupCommandOutput | GetAgentAliasCommandOutput | GetAgentCollaboratorCommandOutput | GetAgentCommandOutput | GetAgentKnowledgeBaseCommandOutput | GetAgentVersionCommandOutput | GetDataSourceCommandOutput | GetFlowAliasCommandOutput | GetFlowCommandOutput | GetFlowVersionCommandOutput | GetIngestionJobCommandOutput | GetKnowledgeBaseCommandOutput | GetKnowledgeBaseDocumentsCommandOutput | GetPromptCommandOutput | IngestKnowledgeBaseDocumentsCommandOutput | ListAgentActionGroupsCommandOutput | ListAgentAliasesCommandOutput | ListAgentCollaboratorsCommandOutput | ListAgentKnowledgeBasesCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListDataSourcesCommandOutput | ListFlowAliasesCommandOutput | ListFlowVersionsCommandOutput | ListFlowsCommandOutput | ListIngestionJobsCommandOutput | ListKnowledgeBaseDocumentsCommandOutput | ListKnowledgeBasesCommandOutput | ListPromptsCommandOutput | ListTagsForResourceCommandOutput | PrepareAgentCommandOutput | PrepareFlowCommandOutput | StartIngestionJobCommandOutput | StopIngestionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentActionGroupCommandOutput | UpdateAgentAliasCommandOutput | UpdateAgentCollaboratorCommandOutput | UpdateAgentCommandOutput | UpdateAgentKnowledgeBaseCommandOutput | UpdateDataSourceCommandOutput | UpdateFlowAliasCommandOutput | UpdateFlowCommandOutput | UpdateKnowledgeBaseCommandOutput | UpdatePromptCommandOutput | ValidateFlowDefinitionCommandOutput;
|
|
84
93
|
/**
|
|
85
94
|
* @public
|
|
86
95
|
*/
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { AssociateAgentCollaboratorRequest, AssociateAgentCollaboratorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateAgentCollaboratorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateAgentCollaboratorCommandInput extends AssociateAgentCollaboratorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateAgentCollaboratorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateAgentCollaboratorCommandOutput extends AssociateAgentCollaboratorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateAgentCollaboratorCommand_base: {
|
|
25
|
+
new (input: AssociateAgentCollaboratorCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AssociateAgentCollaboratorCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Makes an agent a collaborator for another agent.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, AssociateAgentCollaboratorCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, AssociateAgentCollaboratorCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // AssociateAgentCollaboratorRequest
|
|
38
|
+
* agentId: "STRING_VALUE", // required
|
|
39
|
+
* agentVersion: "STRING_VALUE", // required
|
|
40
|
+
* agentDescriptor: { // AgentDescriptor
|
|
41
|
+
* aliasArn: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* collaboratorName: "STRING_VALUE", // required
|
|
44
|
+
* collaborationInstruction: "STRING_VALUE", // required
|
|
45
|
+
* relayConversationHistory: "TO_COLLABORATOR" || "DISABLED",
|
|
46
|
+
* clientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new AssociateAgentCollaboratorCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // AssociateAgentCollaboratorResponse
|
|
51
|
+
* // agentCollaborator: { // AgentCollaborator
|
|
52
|
+
* // agentId: "STRING_VALUE", // required
|
|
53
|
+
* // agentVersion: "STRING_VALUE", // required
|
|
54
|
+
* // agentDescriptor: { // AgentDescriptor
|
|
55
|
+
* // aliasArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // collaboratorId: "STRING_VALUE", // required
|
|
58
|
+
* // collaborationInstruction: "STRING_VALUE", // required
|
|
59
|
+
* // collaboratorName: "STRING_VALUE", // required
|
|
60
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // relayConversationHistory: "TO_COLLABORATOR" || "DISABLED",
|
|
63
|
+
* // clientToken: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param AssociateAgentCollaboratorCommandInput - {@link AssociateAgentCollaboratorCommandInput}
|
|
70
|
+
* @returns {@link AssociateAgentCollaboratorCommandOutput}
|
|
71
|
+
* @see {@link AssociateAgentCollaboratorCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link AssociateAgentCollaboratorCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>There was a conflict performing an operation.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link BedrockAgentServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class AssociateAgentCollaboratorCommand extends AssociateAgentCollaboratorCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: AssociateAgentCollaboratorRequest;
|
|
106
|
+
output: AssociateAgentCollaboratorResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: AssociateAgentCollaboratorCommandInput;
|
|
110
|
+
output: AssociateAgentCollaboratorCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { AssociateAgentKnowledgeBaseRequest, AssociateAgentKnowledgeBaseResponse } from "../models/
|
|
4
|
+
import { AssociateAgentKnowledgeBaseRequest, AssociateAgentKnowledgeBaseResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -100,6 +100,7 @@ declare const CreateAgentCommand_base: {
|
|
|
100
100
|
* ],
|
|
101
101
|
* },
|
|
102
102
|
* parserMode: "DEFAULT" || "OVERRIDDEN",
|
|
103
|
+
* foundationModel: "STRING_VALUE",
|
|
103
104
|
* },
|
|
104
105
|
* ],
|
|
105
106
|
* overrideLambda: "STRING_VALUE",
|
|
@@ -114,6 +115,7 @@ declare const CreateAgentCommand_base: {
|
|
|
114
115
|
* ],
|
|
115
116
|
* storageDays: Number("int"),
|
|
116
117
|
* },
|
|
118
|
+
* agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
|
|
117
119
|
* };
|
|
118
120
|
* const command = new CreateAgentCommand(input);
|
|
119
121
|
* const response = await client.send(command);
|
|
@@ -163,6 +165,7 @@ declare const CreateAgentCommand_base: {
|
|
|
163
165
|
* // ],
|
|
164
166
|
* // },
|
|
165
167
|
* // parserMode: "DEFAULT" || "OVERRIDDEN",
|
|
168
|
+
* // foundationModel: "STRING_VALUE",
|
|
166
169
|
* // },
|
|
167
170
|
* // ],
|
|
168
171
|
* // overrideLambda: "STRING_VALUE",
|
|
@@ -177,6 +180,7 @@ declare const CreateAgentCommand_base: {
|
|
|
177
180
|
* // ],
|
|
178
181
|
* // storageDays: Number("int"),
|
|
179
182
|
* // },
|
|
183
|
+
* // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
|
|
180
184
|
* // },
|
|
181
185
|
* // };
|
|
182
186
|
*
|
|
@@ -27,7 +27,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Connects a knowledge base to a data source. You specify the configuration for the specific data source service in the <code>dataSourceConfiguration</code> field.</p>
|
|
31
31
|
* <important>
|
|
32
32
|
* <p>You can't change the <code>chunkingConfiguration</code> after you create the data source connector.</p>
|
|
33
33
|
* </important>
|
|
@@ -43,7 +43,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
44
|
* description: "STRING_VALUE",
|
|
45
45
|
* dataSourceConfiguration: { // DataSourceConfiguration
|
|
46
|
-
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
|
|
46
|
+
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
47
47
|
* s3Configuration: { // S3DataSourceConfiguration
|
|
48
48
|
* bucketArn: "STRING_VALUE", // required
|
|
49
49
|
* inclusionPrefixes: [ // S3Prefixes
|
|
@@ -213,7 +213,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
213
213
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
214
214
|
* // description: "STRING_VALUE",
|
|
215
215
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
216
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
|
|
216
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
217
217
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
218
218
|
* // bucketArn: "STRING_VALUE", // required
|
|
219
219
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/
|
|
4
|
+
import { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/
|
|
4
|
+
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { DeleteKnowledgeBaseDocumentsRequest, DeleteKnowledgeBaseDocumentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteKnowledgeBaseDocumentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteKnowledgeBaseDocumentsCommandInput extends DeleteKnowledgeBaseDocumentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteKnowledgeBaseDocumentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteKnowledgeBaseDocumentsCommandOutput extends DeleteKnowledgeBaseDocumentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteKnowledgeBaseDocumentsCommand_base: {
|
|
25
|
+
new (input: DeleteKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteKnowledgeBaseDocumentsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes documents from a data source and syncs the changes to the knowledge base that is connected to it. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-real-time-ingestion.html">Ingest documents into a knowledge base in real-time</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, DeleteKnowledgeBaseDocumentsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, DeleteKnowledgeBaseDocumentsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // DeleteKnowledgeBaseDocumentsRequest
|
|
38
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
39
|
+
* dataSourceId: "STRING_VALUE", // required
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* documentIdentifiers: [ // DocumentIdentifiers // required
|
|
42
|
+
* { // DocumentIdentifier
|
|
43
|
+
* dataSourceType: "CUSTOM" || "S3", // required
|
|
44
|
+
* s3: { // S3Location
|
|
45
|
+
* uri: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* custom: { // CustomDocumentIdentifier
|
|
48
|
+
* id: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
53
|
+
* const command = new DeleteKnowledgeBaseDocumentsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // DeleteKnowledgeBaseDocumentsResponse
|
|
56
|
+
* // documentDetails: [ // KnowledgeBaseDocumentDetails
|
|
57
|
+
* // { // KnowledgeBaseDocumentDetail
|
|
58
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
59
|
+
* // dataSourceId: "STRING_VALUE", // required
|
|
60
|
+
* // status: "INDEXED" || "PARTIALLY_INDEXED" || "PENDING" || "FAILED" || "METADATA_PARTIALLY_INDEXED" || "METADATA_UPDATE_FAILED" || "IGNORED" || "NOT_FOUND" || "STARTING" || "IN_PROGRESS" || "DELETING" || "DELETE_IN_PROGRESS", // required
|
|
61
|
+
* // identifier: { // DocumentIdentifier
|
|
62
|
+
* // dataSourceType: "CUSTOM" || "S3", // required
|
|
63
|
+
* // s3: { // S3Location
|
|
64
|
+
* // uri: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // custom: { // CustomDocumentIdentifier
|
|
67
|
+
* // id: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // statusReason: "STRING_VALUE",
|
|
71
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param DeleteKnowledgeBaseDocumentsCommandInput - {@link DeleteKnowledgeBaseDocumentsCommandInput}
|
|
79
|
+
* @returns {@link DeleteKnowledgeBaseDocumentsCommandOutput}
|
|
80
|
+
* @see {@link DeleteKnowledgeBaseDocumentsCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link DeleteKnowledgeBaseDocumentsCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
94
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link BedrockAgentServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class DeleteKnowledgeBaseDocumentsCommand extends DeleteKnowledgeBaseDocumentsCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: DeleteKnowledgeBaseDocumentsRequest;
|
|
112
|
+
output: DeleteKnowledgeBaseDocumentsResponse;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: DeleteKnowledgeBaseDocumentsCommandInput;
|
|
116
|
+
output: DeleteKnowledgeBaseDocumentsCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|