@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.
Files changed (71) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +772 -28
  3. package/dist-es/BedrockAgent.js +18 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
  6. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  7. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  8. package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
  9. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
  10. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  11. package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
  12. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +75 -18
  15. package/dist-es/models/models_1.js +71 -1
  16. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  17. package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +392 -0
  20. package/dist-types/BedrockAgent.d.ts +63 -0
  21. package/dist-types/BedrockAgentClient.d.ts +11 -2
  22. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  23. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  25. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
  29. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  30. package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  31. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  32. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  33. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  34. package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
  35. package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
  36. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
  37. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  38. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
  39. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  40. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  41. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  42. package/dist-types/commands/index.d.ts +9 -0
  43. package/dist-types/models/models_0.d.ts +589 -475
  44. package/dist-types/models/models_1.d.ts +923 -1
  45. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +2 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  49. package/dist-types/ts3.4/BedrockAgent.d.ts +153 -0
  50. package/dist-types/ts3.4/BedrockAgentClient.d.ts +54 -0
  51. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +185 -153
  66. package/dist-types/ts3.4/models/models_1.d.ts +270 -4
  67. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  71. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "../commands/ListAgentCollaboratorsCommand";
3
+ import { BedrockAgentPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListAgentCollaborators: (config: BedrockAgentPaginationConfiguration, input: ListAgentCollaboratorsCommandInput, ...rest: any[]) => Paginator<ListAgentCollaboratorsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput } from "../commands/ListKnowledgeBaseDocumentsCommand";
3
+ import { BedrockAgentPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListKnowledgeBaseDocuments: (config: BedrockAgentPaginationConfiguration, input: ListKnowledgeBaseDocumentsCommandInput, ...rest: any[]) => Paginator<ListKnowledgeBaseDocumentsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAgentActionGroupsPaginator";
3
3
  export * from "./ListAgentAliasesPaginator";
4
+ export * from "./ListAgentCollaboratorsPaginator";
4
5
  export * from "./ListAgentKnowledgeBasesPaginator";
5
6
  export * from "./ListAgentVersionsPaginator";
6
7
  export * from "./ListAgentsPaginator";
@@ -9,5 +10,6 @@ export * from "./ListFlowAliasesPaginator";
9
10
  export * from "./ListFlowVersionsPaginator";
10
11
  export * from "./ListFlowsPaginator";
11
12
  export * from "./ListIngestionJobsPaginator";
13
+ export * from "./ListKnowledgeBaseDocumentsPaginator";
12
14
  export * from "./ListKnowledgeBasesPaginator";
13
15
  export * from "./ListPromptsPaginator";
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
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 "../co
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/GetFlowCo
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 "../co
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/T
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";
@@ -63,6 +72,10 @@ import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "../commands/Upd
63
72
  import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "../commands/UpdateKnowledgeBaseCommand";
64
73
  import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
65
74
  import { ValidateFlowDefinitionCommandInput, ValidateFlowDefinitionCommandOutput } from "../commands/ValidateFlowDefinitionCommand";
75
+ /**
76
+ * serializeAws_restJson1AssociateAgentCollaboratorCommand
77
+ */
78
+ export declare const se_AssociateAgentCollaboratorCommand: (input: AssociateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
79
  /**
67
80
  * serializeAws_restJson1AssociateAgentKnowledgeBaseCommand
68
81
  */
@@ -143,10 +156,18 @@ export declare const se_DeleteFlowVersionCommand: (input: DeleteFlowVersionComma
143
156
  * serializeAws_restJson1DeleteKnowledgeBaseCommand
144
157
  */
145
158
  export declare const se_DeleteKnowledgeBaseCommand: (input: DeleteKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
159
+ /**
160
+ * serializeAws_restJson1DeleteKnowledgeBaseDocumentsCommand
161
+ */
162
+ export declare const se_DeleteKnowledgeBaseDocumentsCommand: (input: DeleteKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
146
163
  /**
147
164
  * serializeAws_restJson1DeletePromptCommand
148
165
  */
149
166
  export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
+ /**
168
+ * serializeAws_restJson1DisassociateAgentCollaboratorCommand
169
+ */
170
+ export declare const se_DisassociateAgentCollaboratorCommand: (input: DisassociateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
171
  /**
151
172
  * serializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
152
173
  */
@@ -163,6 +184,10 @@ export declare const se_GetAgentActionGroupCommand: (input: GetAgentActionGroupC
163
184
  * serializeAws_restJson1GetAgentAliasCommand
164
185
  */
165
186
  export declare const se_GetAgentAliasCommand: (input: GetAgentAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
187
+ /**
188
+ * serializeAws_restJson1GetAgentCollaboratorCommand
189
+ */
190
+ export declare const se_GetAgentCollaboratorCommand: (input: GetAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
166
191
  /**
167
192
  * serializeAws_restJson1GetAgentKnowledgeBaseCommand
168
193
  */
@@ -195,10 +220,18 @@ export declare const se_GetIngestionJobCommand: (input: GetIngestionJobCommandIn
195
220
  * serializeAws_restJson1GetKnowledgeBaseCommand
196
221
  */
197
222
  export declare const se_GetKnowledgeBaseCommand: (input: GetKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
+ /**
224
+ * serializeAws_restJson1GetKnowledgeBaseDocumentsCommand
225
+ */
226
+ export declare const se_GetKnowledgeBaseDocumentsCommand: (input: GetKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
198
227
  /**
199
228
  * serializeAws_restJson1GetPromptCommand
200
229
  */
201
230
  export declare const se_GetPromptCommand: (input: GetPromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
231
+ /**
232
+ * serializeAws_restJson1IngestKnowledgeBaseDocumentsCommand
233
+ */
234
+ export declare const se_IngestKnowledgeBaseDocumentsCommand: (input: IngestKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
202
235
  /**
203
236
  * serializeAws_restJson1ListAgentActionGroupsCommand
204
237
  */
@@ -207,6 +240,10 @@ export declare const se_ListAgentActionGroupsCommand: (input: ListAgentActionGro
207
240
  * serializeAws_restJson1ListAgentAliasesCommand
208
241
  */
209
242
  export declare const se_ListAgentAliasesCommand: (input: ListAgentAliasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
243
+ /**
244
+ * serializeAws_restJson1ListAgentCollaboratorsCommand
245
+ */
246
+ export declare const se_ListAgentCollaboratorsCommand: (input: ListAgentCollaboratorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
210
247
  /**
211
248
  * serializeAws_restJson1ListAgentKnowledgeBasesCommand
212
249
  */
@@ -239,6 +276,10 @@ export declare const se_ListFlowVersionsCommand: (input: ListFlowVersionsCommand
239
276
  * serializeAws_restJson1ListIngestionJobsCommand
240
277
  */
241
278
  export declare const se_ListIngestionJobsCommand: (input: ListIngestionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
279
+ /**
280
+ * serializeAws_restJson1ListKnowledgeBaseDocumentsCommand
281
+ */
282
+ export declare const se_ListKnowledgeBaseDocumentsCommand: (input: ListKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
242
283
  /**
243
284
  * serializeAws_restJson1ListKnowledgeBasesCommand
244
285
  */
@@ -287,6 +328,10 @@ export declare const se_UpdateAgentActionGroupCommand: (input: UpdateAgentAction
287
328
  * serializeAws_restJson1UpdateAgentAliasCommand
288
329
  */
289
330
  export declare const se_UpdateAgentAliasCommand: (input: UpdateAgentAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
331
+ /**
332
+ * serializeAws_restJson1UpdateAgentCollaboratorCommand
333
+ */
334
+ export declare const se_UpdateAgentCollaboratorCommand: (input: UpdateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
290
335
  /**
291
336
  * serializeAws_restJson1UpdateAgentKnowledgeBaseCommand
292
337
  */
@@ -315,6 +360,10 @@ export declare const se_UpdatePromptCommand: (input: UpdatePromptCommandInput, c
315
360
  * serializeAws_restJson1ValidateFlowDefinitionCommand
316
361
  */
317
362
  export declare const se_ValidateFlowDefinitionCommand: (input: ValidateFlowDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
363
+ /**
364
+ * deserializeAws_restJson1AssociateAgentCollaboratorCommand
365
+ */
366
+ export declare const de_AssociateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateAgentCollaboratorCommandOutput>;
318
367
  /**
319
368
  * deserializeAws_restJson1AssociateAgentKnowledgeBaseCommand
320
369
  */
@@ -395,10 +444,18 @@ export declare const de_DeleteFlowVersionCommand: (output: __HttpResponse, conte
395
444
  * deserializeAws_restJson1DeleteKnowledgeBaseCommand
396
445
  */
397
446
  export declare const de_DeleteKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseCommandOutput>;
447
+ /**
448
+ * deserializeAws_restJson1DeleteKnowledgeBaseDocumentsCommand
449
+ */
450
+ export declare const de_DeleteKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
398
451
  /**
399
452
  * deserializeAws_restJson1DeletePromptCommand
400
453
  */
401
454
  export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
455
+ /**
456
+ * deserializeAws_restJson1DisassociateAgentCollaboratorCommand
457
+ */
458
+ export declare const de_DisassociateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateAgentCollaboratorCommandOutput>;
402
459
  /**
403
460
  * deserializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
404
461
  */
@@ -415,6 +472,10 @@ export declare const de_GetAgentActionGroupCommand: (output: __HttpResponse, con
415
472
  * deserializeAws_restJson1GetAgentAliasCommand
416
473
  */
417
474
  export declare const de_GetAgentAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentAliasCommandOutput>;
475
+ /**
476
+ * deserializeAws_restJson1GetAgentCollaboratorCommand
477
+ */
478
+ export declare const de_GetAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentCollaboratorCommandOutput>;
418
479
  /**
419
480
  * deserializeAws_restJson1GetAgentKnowledgeBaseCommand
420
481
  */
@@ -447,10 +508,18 @@ export declare const de_GetIngestionJobCommand: (output: __HttpResponse, context
447
508
  * deserializeAws_restJson1GetKnowledgeBaseCommand
448
509
  */
449
510
  export declare const de_GetKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseCommandOutput>;
511
+ /**
512
+ * deserializeAws_restJson1GetKnowledgeBaseDocumentsCommand
513
+ */
514
+ export declare const de_GetKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseDocumentsCommandOutput>;
450
515
  /**
451
516
  * deserializeAws_restJson1GetPromptCommand
452
517
  */
453
518
  export declare const de_GetPromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPromptCommandOutput>;
519
+ /**
520
+ * deserializeAws_restJson1IngestKnowledgeBaseDocumentsCommand
521
+ */
522
+ export declare const de_IngestKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
454
523
  /**
455
524
  * deserializeAws_restJson1ListAgentActionGroupsCommand
456
525
  */
@@ -459,6 +528,10 @@ export declare const de_ListAgentActionGroupsCommand: (output: __HttpResponse, c
459
528
  * deserializeAws_restJson1ListAgentAliasesCommand
460
529
  */
461
530
  export declare const de_ListAgentAliasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentAliasesCommandOutput>;
531
+ /**
532
+ * deserializeAws_restJson1ListAgentCollaboratorsCommand
533
+ */
534
+ export declare const de_ListAgentCollaboratorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentCollaboratorsCommandOutput>;
462
535
  /**
463
536
  * deserializeAws_restJson1ListAgentKnowledgeBasesCommand
464
537
  */
@@ -491,6 +564,10 @@ export declare const de_ListFlowVersionsCommand: (output: __HttpResponse, contex
491
564
  * deserializeAws_restJson1ListIngestionJobsCommand
492
565
  */
493
566
  export declare const de_ListIngestionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIngestionJobsCommandOutput>;
567
+ /**
568
+ * deserializeAws_restJson1ListKnowledgeBaseDocumentsCommand
569
+ */
570
+ export declare const de_ListKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKnowledgeBaseDocumentsCommandOutput>;
494
571
  /**
495
572
  * deserializeAws_restJson1ListKnowledgeBasesCommand
496
573
  */
@@ -539,6 +616,10 @@ export declare const de_UpdateAgentActionGroupCommand: (output: __HttpResponse,
539
616
  * deserializeAws_restJson1UpdateAgentAliasCommand
540
617
  */
541
618
  export declare const de_UpdateAgentAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentAliasCommandOutput>;
619
+ /**
620
+ * deserializeAws_restJson1UpdateAgentCollaboratorCommand
621
+ */
622
+ export declare const de_UpdateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentCollaboratorCommandOutput>;
542
623
  /**
543
624
  * deserializeAws_restJson1UpdateAgentKnowledgeBaseCommand
544
625
  */
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BedrockAgentClient } from "./BedrockAgentClient";
3
+ import {
4
+ AssociateAgentCollaboratorCommandInput,
5
+ AssociateAgentCollaboratorCommandOutput,
6
+ } from "./commands/AssociateAgentCollaboratorCommand";
3
7
  import {
4
8
  AssociateAgentKnowledgeBaseCommandInput,
5
9
  AssociateAgentKnowledgeBaseCommandOutput,
@@ -80,10 +84,18 @@ import {
80
84
  DeleteKnowledgeBaseCommandInput,
81
85
  DeleteKnowledgeBaseCommandOutput,
82
86
  } from "./commands/DeleteKnowledgeBaseCommand";
87
+ import {
88
+ DeleteKnowledgeBaseDocumentsCommandInput,
89
+ DeleteKnowledgeBaseDocumentsCommandOutput,
90
+ } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
83
91
  import {
84
92
  DeletePromptCommandInput,
85
93
  DeletePromptCommandOutput,
86
94
  } from "./commands/DeletePromptCommand";
95
+ import {
96
+ DisassociateAgentCollaboratorCommandInput,
97
+ DisassociateAgentCollaboratorCommandOutput,
98
+ } from "./commands/DisassociateAgentCollaboratorCommand";
87
99
  import {
88
100
  DisassociateAgentKnowledgeBaseCommandInput,
89
101
  DisassociateAgentKnowledgeBaseCommandOutput,
@@ -96,6 +108,10 @@ import {
96
108
  GetAgentAliasCommandInput,
97
109
  GetAgentAliasCommandOutput,
98
110
  } from "./commands/GetAgentAliasCommand";
111
+ import {
112
+ GetAgentCollaboratorCommandInput,
113
+ GetAgentCollaboratorCommandOutput,
114
+ } from "./commands/GetAgentCollaboratorCommand";
99
115
  import {
100
116
  GetAgentCommandInput,
101
117
  GetAgentCommandOutput,
@@ -132,10 +148,18 @@ import {
132
148
  GetKnowledgeBaseCommandInput,
133
149
  GetKnowledgeBaseCommandOutput,
134
150
  } from "./commands/GetKnowledgeBaseCommand";
151
+ import {
152
+ GetKnowledgeBaseDocumentsCommandInput,
153
+ GetKnowledgeBaseDocumentsCommandOutput,
154
+ } from "./commands/GetKnowledgeBaseDocumentsCommand";
135
155
  import {
136
156
  GetPromptCommandInput,
137
157
  GetPromptCommandOutput,
138
158
  } from "./commands/GetPromptCommand";
159
+ import {
160
+ IngestKnowledgeBaseDocumentsCommandInput,
161
+ IngestKnowledgeBaseDocumentsCommandOutput,
162
+ } from "./commands/IngestKnowledgeBaseDocumentsCommand";
139
163
  import {
140
164
  ListAgentActionGroupsCommandInput,
141
165
  ListAgentActionGroupsCommandOutput,
@@ -144,6 +168,10 @@ import {
144
168
  ListAgentAliasesCommandInput,
145
169
  ListAgentAliasesCommandOutput,
146
170
  } from "./commands/ListAgentAliasesCommand";
171
+ import {
172
+ ListAgentCollaboratorsCommandInput,
173
+ ListAgentCollaboratorsCommandOutput,
174
+ } from "./commands/ListAgentCollaboratorsCommand";
147
175
  import {
148
176
  ListAgentKnowledgeBasesCommandInput,
149
177
  ListAgentKnowledgeBasesCommandOutput,
@@ -176,6 +204,10 @@ import {
176
204
  ListIngestionJobsCommandInput,
177
205
  ListIngestionJobsCommandOutput,
178
206
  } from "./commands/ListIngestionJobsCommand";
207
+ import {
208
+ ListKnowledgeBaseDocumentsCommandInput,
209
+ ListKnowledgeBaseDocumentsCommandOutput,
210
+ } from "./commands/ListKnowledgeBaseDocumentsCommand";
179
211
  import {
180
212
  ListKnowledgeBasesCommandInput,
181
213
  ListKnowledgeBasesCommandOutput,
@@ -220,6 +252,10 @@ import {
220
252
  UpdateAgentAliasCommandInput,
221
253
  UpdateAgentAliasCommandOutput,
222
254
  } from "./commands/UpdateAgentAliasCommand";
255
+ import {
256
+ UpdateAgentCollaboratorCommandInput,
257
+ UpdateAgentCollaboratorCommandOutput,
258
+ } from "./commands/UpdateAgentCollaboratorCommand";
223
259
  import {
224
260
  UpdateAgentCommandInput,
225
261
  UpdateAgentCommandOutput,
@@ -253,6 +289,19 @@ import {
253
289
  ValidateFlowDefinitionCommandOutput,
254
290
  } from "./commands/ValidateFlowDefinitionCommand";
255
291
  export interface BedrockAgent {
292
+ associateAgentCollaborator(
293
+ args: AssociateAgentCollaboratorCommandInput,
294
+ options?: __HttpHandlerOptions
295
+ ): Promise<AssociateAgentCollaboratorCommandOutput>;
296
+ associateAgentCollaborator(
297
+ args: AssociateAgentCollaboratorCommandInput,
298
+ cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
299
+ ): void;
300
+ associateAgentCollaborator(
301
+ args: AssociateAgentCollaboratorCommandInput,
302
+ options: __HttpHandlerOptions,
303
+ cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
304
+ ): void;
256
305
  associateAgentKnowledgeBase(
257
306
  args: AssociateAgentKnowledgeBaseCommandInput,
258
307
  options?: __HttpHandlerOptions
@@ -513,6 +562,19 @@ export interface BedrockAgent {
513
562
  options: __HttpHandlerOptions,
514
563
  cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void
515
564
  ): void;
565
+ deleteKnowledgeBaseDocuments(
566
+ args: DeleteKnowledgeBaseDocumentsCommandInput,
567
+ options?: __HttpHandlerOptions
568
+ ): Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
569
+ deleteKnowledgeBaseDocuments(
570
+ args: DeleteKnowledgeBaseDocumentsCommandInput,
571
+ cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void
572
+ ): void;
573
+ deleteKnowledgeBaseDocuments(
574
+ args: DeleteKnowledgeBaseDocumentsCommandInput,
575
+ options: __HttpHandlerOptions,
576
+ cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void
577
+ ): void;
516
578
  deletePrompt(
517
579
  args: DeletePromptCommandInput,
518
580
  options?: __HttpHandlerOptions
@@ -526,6 +588,19 @@ export interface BedrockAgent {
526
588
  options: __HttpHandlerOptions,
527
589
  cb: (err: any, data?: DeletePromptCommandOutput) => void
528
590
  ): void;
591
+ disassociateAgentCollaborator(
592
+ args: DisassociateAgentCollaboratorCommandInput,
593
+ options?: __HttpHandlerOptions
594
+ ): Promise<DisassociateAgentCollaboratorCommandOutput>;
595
+ disassociateAgentCollaborator(
596
+ args: DisassociateAgentCollaboratorCommandInput,
597
+ cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
598
+ ): void;
599
+ disassociateAgentCollaborator(
600
+ args: DisassociateAgentCollaboratorCommandInput,
601
+ options: __HttpHandlerOptions,
602
+ cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
603
+ ): void;
529
604
  disassociateAgentKnowledgeBase(
530
605
  args: DisassociateAgentKnowledgeBaseCommandInput,
531
606
  options?: __HttpHandlerOptions
@@ -578,6 +653,19 @@ export interface BedrockAgent {
578
653
  options: __HttpHandlerOptions,
579
654
  cb: (err: any, data?: GetAgentAliasCommandOutput) => void
580
655
  ): void;
656
+ getAgentCollaborator(
657
+ args: GetAgentCollaboratorCommandInput,
658
+ options?: __HttpHandlerOptions
659
+ ): Promise<GetAgentCollaboratorCommandOutput>;
660
+ getAgentCollaborator(
661
+ args: GetAgentCollaboratorCommandInput,
662
+ cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
663
+ ): void;
664
+ getAgentCollaborator(
665
+ args: GetAgentCollaboratorCommandInput,
666
+ options: __HttpHandlerOptions,
667
+ cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
668
+ ): void;
581
669
  getAgentKnowledgeBase(
582
670
  args: GetAgentKnowledgeBaseCommandInput,
583
671
  options?: __HttpHandlerOptions
@@ -682,6 +770,19 @@ export interface BedrockAgent {
682
770
  options: __HttpHandlerOptions,
683
771
  cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void
684
772
  ): void;
773
+ getKnowledgeBaseDocuments(
774
+ args: GetKnowledgeBaseDocumentsCommandInput,
775
+ options?: __HttpHandlerOptions
776
+ ): Promise<GetKnowledgeBaseDocumentsCommandOutput>;
777
+ getKnowledgeBaseDocuments(
778
+ args: GetKnowledgeBaseDocumentsCommandInput,
779
+ cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void
780
+ ): void;
781
+ getKnowledgeBaseDocuments(
782
+ args: GetKnowledgeBaseDocumentsCommandInput,
783
+ options: __HttpHandlerOptions,
784
+ cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void
785
+ ): void;
685
786
  getPrompt(
686
787
  args: GetPromptCommandInput,
687
788
  options?: __HttpHandlerOptions
@@ -695,6 +796,19 @@ export interface BedrockAgent {
695
796
  options: __HttpHandlerOptions,
696
797
  cb: (err: any, data?: GetPromptCommandOutput) => void
697
798
  ): void;
799
+ ingestKnowledgeBaseDocuments(
800
+ args: IngestKnowledgeBaseDocumentsCommandInput,
801
+ options?: __HttpHandlerOptions
802
+ ): Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
803
+ ingestKnowledgeBaseDocuments(
804
+ args: IngestKnowledgeBaseDocumentsCommandInput,
805
+ cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void
806
+ ): void;
807
+ ingestKnowledgeBaseDocuments(
808
+ args: IngestKnowledgeBaseDocumentsCommandInput,
809
+ options: __HttpHandlerOptions,
810
+ cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void
811
+ ): void;
698
812
  listAgentActionGroups(
699
813
  args: ListAgentActionGroupsCommandInput,
700
814
  options?: __HttpHandlerOptions
@@ -721,6 +835,19 @@ export interface BedrockAgent {
721
835
  options: __HttpHandlerOptions,
722
836
  cb: (err: any, data?: ListAgentAliasesCommandOutput) => void
723
837
  ): void;
838
+ listAgentCollaborators(
839
+ args: ListAgentCollaboratorsCommandInput,
840
+ options?: __HttpHandlerOptions
841
+ ): Promise<ListAgentCollaboratorsCommandOutput>;
842
+ listAgentCollaborators(
843
+ args: ListAgentCollaboratorsCommandInput,
844
+ cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
845
+ ): void;
846
+ listAgentCollaborators(
847
+ args: ListAgentCollaboratorsCommandInput,
848
+ options: __HttpHandlerOptions,
849
+ cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
850
+ ): void;
724
851
  listAgentKnowledgeBases(
725
852
  args: ListAgentKnowledgeBasesCommandInput,
726
853
  options?: __HttpHandlerOptions
@@ -827,6 +954,19 @@ export interface BedrockAgent {
827
954
  options: __HttpHandlerOptions,
828
955
  cb: (err: any, data?: ListIngestionJobsCommandOutput) => void
829
956
  ): void;
957
+ listKnowledgeBaseDocuments(
958
+ args: ListKnowledgeBaseDocumentsCommandInput,
959
+ options?: __HttpHandlerOptions
960
+ ): Promise<ListKnowledgeBaseDocumentsCommandOutput>;
961
+ listKnowledgeBaseDocuments(
962
+ args: ListKnowledgeBaseDocumentsCommandInput,
963
+ cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void
964
+ ): void;
965
+ listKnowledgeBaseDocuments(
966
+ args: ListKnowledgeBaseDocumentsCommandInput,
967
+ options: __HttpHandlerOptions,
968
+ cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void
969
+ ): void;
830
970
  listKnowledgeBases(): Promise<ListKnowledgeBasesCommandOutput>;
831
971
  listKnowledgeBases(
832
972
  args: ListKnowledgeBasesCommandInput,
@@ -985,6 +1125,19 @@ export interface BedrockAgent {
985
1125
  options: __HttpHandlerOptions,
986
1126
  cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void
987
1127
  ): void;
1128
+ updateAgentCollaborator(
1129
+ args: UpdateAgentCollaboratorCommandInput,
1130
+ options?: __HttpHandlerOptions
1131
+ ): Promise<UpdateAgentCollaboratorCommandOutput>;
1132
+ updateAgentCollaborator(
1133
+ args: UpdateAgentCollaboratorCommandInput,
1134
+ cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1135
+ ): void;
1136
+ updateAgentCollaborator(
1137
+ args: UpdateAgentCollaboratorCommandInput,
1138
+ options: __HttpHandlerOptions,
1139
+ cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1140
+ ): void;
988
1141
  updateAgentKnowledgeBase(
989
1142
  args: UpdateAgentKnowledgeBaseCommandInput,
990
1143
  options?: __HttpHandlerOptions