@aws-sdk/client-bedrock-agent 3.703.0 → 3.706.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 (59) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +559 -88
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  6. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  7. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  8. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
  10. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  11. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  12. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
  13. package/dist-es/commands/index.js +5 -0
  14. package/dist-es/models/models_0.js +48 -57
  15. package/dist-es/models/models_1.js +142 -1
  16. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +184 -0
  19. package/dist-types/BedrockAgent.d.ts +35 -0
  20. package/dist-types/BedrockAgentClient.d.ts +7 -2
  21. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  22. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  23. package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
  24. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
  25. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  26. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  27. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  28. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  29. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
  30. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
  31. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  33. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  35. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
  37. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +434 -356
  40. package/dist-types/models/models_1.d.ts +802 -18
  41. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
  45. package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +130 -112
  55. package/dist-types/ts3.4/models/models_1.d.ts +283 -3
  56. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  59. 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>;
@@ -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";
@@ -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";
@@ -22,9 +23,11 @@ import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from ".
22
23
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
23
24
  import { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "../commands/DeleteKnowledgeBaseDocumentsCommand";
24
25
  import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
26
+ import { DisassociateAgentCollaboratorCommandInput, DisassociateAgentCollaboratorCommandOutput } from "../commands/DisassociateAgentCollaboratorCommand";
25
27
  import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "../commands/DisassociateAgentKnowledgeBaseCommand";
26
28
  import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "../commands/GetAgentActionGroupCommand";
27
29
  import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "../commands/GetAgentAliasCommand";
30
+ import { GetAgentCollaboratorCommandInput, GetAgentCollaboratorCommandOutput } from "../commands/GetAgentCollaboratorCommand";
28
31
  import { GetAgentCommandInput, GetAgentCommandOutput } from "../commands/GetAgentCommand";
29
32
  import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "../commands/GetAgentKnowledgeBaseCommand";
30
33
  import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "../commands/GetAgentVersionCommand";
@@ -39,6 +42,7 @@ import { GetPromptCommandInput, GetPromptCommandOutput } from "../commands/GetPr
39
42
  import { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "../commands/IngestKnowledgeBaseDocumentsCommand";
40
43
  import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "../commands/ListAgentActionGroupsCommand";
41
44
  import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "../commands/ListAgentAliasesCommand";
45
+ import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "../commands/ListAgentCollaboratorsCommand";
42
46
  import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "../commands/ListAgentKnowledgeBasesCommand";
43
47
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
44
48
  import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "../commands/ListAgentVersionsCommand";
@@ -59,6 +63,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
59
63
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
60
64
  import { UpdateAgentActionGroupCommandInput, UpdateAgentActionGroupCommandOutput } from "../commands/UpdateAgentActionGroupCommand";
61
65
  import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "../commands/UpdateAgentAliasCommand";
66
+ import { UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput } from "../commands/UpdateAgentCollaboratorCommand";
62
67
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "../commands/UpdateAgentCommand";
63
68
  import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "../commands/UpdateAgentKnowledgeBaseCommand";
64
69
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
@@ -67,6 +72,10 @@ import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "../commands/Upd
67
72
  import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "../commands/UpdateKnowledgeBaseCommand";
68
73
  import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
69
74
  import { ValidateFlowDefinitionCommandInput, ValidateFlowDefinitionCommandOutput } from "../commands/ValidateFlowDefinitionCommand";
75
+ /**
76
+ * serializeAws_restJson1AssociateAgentCollaboratorCommand
77
+ */
78
+ export declare const se_AssociateAgentCollaboratorCommand: (input: AssociateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
79
  /**
71
80
  * serializeAws_restJson1AssociateAgentKnowledgeBaseCommand
72
81
  */
@@ -155,6 +164,10 @@ export declare const se_DeleteKnowledgeBaseDocumentsCommand: (input: DeleteKnowl
155
164
  * serializeAws_restJson1DeletePromptCommand
156
165
  */
157
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>;
158
171
  /**
159
172
  * serializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
160
173
  */
@@ -171,6 +184,10 @@ export declare const se_GetAgentActionGroupCommand: (input: GetAgentActionGroupC
171
184
  * serializeAws_restJson1GetAgentAliasCommand
172
185
  */
173
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>;
174
191
  /**
175
192
  * serializeAws_restJson1GetAgentKnowledgeBaseCommand
176
193
  */
@@ -223,6 +240,10 @@ export declare const se_ListAgentActionGroupsCommand: (input: ListAgentActionGro
223
240
  * serializeAws_restJson1ListAgentAliasesCommand
224
241
  */
225
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>;
226
247
  /**
227
248
  * serializeAws_restJson1ListAgentKnowledgeBasesCommand
228
249
  */
@@ -307,6 +328,10 @@ export declare const se_UpdateAgentActionGroupCommand: (input: UpdateAgentAction
307
328
  * serializeAws_restJson1UpdateAgentAliasCommand
308
329
  */
309
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>;
310
335
  /**
311
336
  * serializeAws_restJson1UpdateAgentKnowledgeBaseCommand
312
337
  */
@@ -335,6 +360,10 @@ export declare const se_UpdatePromptCommand: (input: UpdatePromptCommandInput, c
335
360
  * serializeAws_restJson1ValidateFlowDefinitionCommand
336
361
  */
337
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>;
338
367
  /**
339
368
  * deserializeAws_restJson1AssociateAgentKnowledgeBaseCommand
340
369
  */
@@ -423,6 +452,10 @@ export declare const de_DeleteKnowledgeBaseDocumentsCommand: (output: __HttpResp
423
452
  * deserializeAws_restJson1DeletePromptCommand
424
453
  */
425
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>;
426
459
  /**
427
460
  * deserializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
428
461
  */
@@ -439,6 +472,10 @@ export declare const de_GetAgentActionGroupCommand: (output: __HttpResponse, con
439
472
  * deserializeAws_restJson1GetAgentAliasCommand
440
473
  */
441
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>;
442
479
  /**
443
480
  * deserializeAws_restJson1GetAgentKnowledgeBaseCommand
444
481
  */
@@ -491,6 +528,10 @@ export declare const de_ListAgentActionGroupsCommand: (output: __HttpResponse, c
491
528
  * deserializeAws_restJson1ListAgentAliasesCommand
492
529
  */
493
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>;
494
535
  /**
495
536
  * deserializeAws_restJson1ListAgentKnowledgeBasesCommand
496
537
  */
@@ -575,6 +616,10 @@ export declare const de_UpdateAgentActionGroupCommand: (output: __HttpResponse,
575
616
  * deserializeAws_restJson1UpdateAgentAliasCommand
576
617
  */
577
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>;
578
623
  /**
579
624
  * deserializeAws_restJson1UpdateAgentKnowledgeBaseCommand
580
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,
@@ -88,6 +92,10 @@ import {
88
92
  DeletePromptCommandInput,
89
93
  DeletePromptCommandOutput,
90
94
  } from "./commands/DeletePromptCommand";
95
+ import {
96
+ DisassociateAgentCollaboratorCommandInput,
97
+ DisassociateAgentCollaboratorCommandOutput,
98
+ } from "./commands/DisassociateAgentCollaboratorCommand";
91
99
  import {
92
100
  DisassociateAgentKnowledgeBaseCommandInput,
93
101
  DisassociateAgentKnowledgeBaseCommandOutput,
@@ -100,6 +108,10 @@ import {
100
108
  GetAgentAliasCommandInput,
101
109
  GetAgentAliasCommandOutput,
102
110
  } from "./commands/GetAgentAliasCommand";
111
+ import {
112
+ GetAgentCollaboratorCommandInput,
113
+ GetAgentCollaboratorCommandOutput,
114
+ } from "./commands/GetAgentCollaboratorCommand";
103
115
  import {
104
116
  GetAgentCommandInput,
105
117
  GetAgentCommandOutput,
@@ -156,6 +168,10 @@ import {
156
168
  ListAgentAliasesCommandInput,
157
169
  ListAgentAliasesCommandOutput,
158
170
  } from "./commands/ListAgentAliasesCommand";
171
+ import {
172
+ ListAgentCollaboratorsCommandInput,
173
+ ListAgentCollaboratorsCommandOutput,
174
+ } from "./commands/ListAgentCollaboratorsCommand";
159
175
  import {
160
176
  ListAgentKnowledgeBasesCommandInput,
161
177
  ListAgentKnowledgeBasesCommandOutput,
@@ -236,6 +252,10 @@ import {
236
252
  UpdateAgentAliasCommandInput,
237
253
  UpdateAgentAliasCommandOutput,
238
254
  } from "./commands/UpdateAgentAliasCommand";
255
+ import {
256
+ UpdateAgentCollaboratorCommandInput,
257
+ UpdateAgentCollaboratorCommandOutput,
258
+ } from "./commands/UpdateAgentCollaboratorCommand";
239
259
  import {
240
260
  UpdateAgentCommandInput,
241
261
  UpdateAgentCommandOutput,
@@ -269,6 +289,19 @@ import {
269
289
  ValidateFlowDefinitionCommandOutput,
270
290
  } from "./commands/ValidateFlowDefinitionCommand";
271
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;
272
305
  associateAgentKnowledgeBase(
273
306
  args: AssociateAgentKnowledgeBaseCommandInput,
274
307
  options?: __HttpHandlerOptions
@@ -555,6 +588,19 @@ export interface BedrockAgent {
555
588
  options: __HttpHandlerOptions,
556
589
  cb: (err: any, data?: DeletePromptCommandOutput) => void
557
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;
558
604
  disassociateAgentKnowledgeBase(
559
605
  args: DisassociateAgentKnowledgeBaseCommandInput,
560
606
  options?: __HttpHandlerOptions
@@ -607,6 +653,19 @@ export interface BedrockAgent {
607
653
  options: __HttpHandlerOptions,
608
654
  cb: (err: any, data?: GetAgentAliasCommandOutput) => void
609
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;
610
669
  getAgentKnowledgeBase(
611
670
  args: GetAgentKnowledgeBaseCommandInput,
612
671
  options?: __HttpHandlerOptions
@@ -776,6 +835,19 @@ export interface BedrockAgent {
776
835
  options: __HttpHandlerOptions,
777
836
  cb: (err: any, data?: ListAgentAliasesCommandOutput) => void
778
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;
779
851
  listAgentKnowledgeBases(
780
852
  args: ListAgentKnowledgeBasesCommandInput,
781
853
  options?: __HttpHandlerOptions
@@ -1053,6 +1125,19 @@ export interface BedrockAgent {
1053
1125
  options: __HttpHandlerOptions,
1054
1126
  cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void
1055
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;
1056
1141
  updateAgentKnowledgeBase(
1057
1142
  args: UpdateAgentKnowledgeBaseCommandInput,
1058
1143
  options?: __HttpHandlerOptions
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssociateAgentCollaboratorCommandInput,
50
+ AssociateAgentCollaboratorCommandOutput,
51
+ } from "./commands/AssociateAgentCollaboratorCommand";
48
52
  import {
49
53
  AssociateAgentKnowledgeBaseCommandInput,
50
54
  AssociateAgentKnowledgeBaseCommandOutput,
@@ -133,6 +137,10 @@ import {
133
137
  DeletePromptCommandInput,
134
138
  DeletePromptCommandOutput,
135
139
  } from "./commands/DeletePromptCommand";
140
+ import {
141
+ DisassociateAgentCollaboratorCommandInput,
142
+ DisassociateAgentCollaboratorCommandOutput,
143
+ } from "./commands/DisassociateAgentCollaboratorCommand";
136
144
  import {
137
145
  DisassociateAgentKnowledgeBaseCommandInput,
138
146
  DisassociateAgentKnowledgeBaseCommandOutput,
@@ -145,6 +153,10 @@ import {
145
153
  GetAgentAliasCommandInput,
146
154
  GetAgentAliasCommandOutput,
147
155
  } from "./commands/GetAgentAliasCommand";
156
+ import {
157
+ GetAgentCollaboratorCommandInput,
158
+ GetAgentCollaboratorCommandOutput,
159
+ } from "./commands/GetAgentCollaboratorCommand";
148
160
  import {
149
161
  GetAgentCommandInput,
150
162
  GetAgentCommandOutput,
@@ -201,6 +213,10 @@ import {
201
213
  ListAgentAliasesCommandInput,
202
214
  ListAgentAliasesCommandOutput,
203
215
  } from "./commands/ListAgentAliasesCommand";
216
+ import {
217
+ ListAgentCollaboratorsCommandInput,
218
+ ListAgentCollaboratorsCommandOutput,
219
+ } from "./commands/ListAgentCollaboratorsCommand";
204
220
  import {
205
221
  ListAgentKnowledgeBasesCommandInput,
206
222
  ListAgentKnowledgeBasesCommandOutput,
@@ -281,6 +297,10 @@ import {
281
297
  UpdateAgentAliasCommandInput,
282
298
  UpdateAgentAliasCommandOutput,
283
299
  } from "./commands/UpdateAgentAliasCommand";
300
+ import {
301
+ UpdateAgentCollaboratorCommandInput,
302
+ UpdateAgentCollaboratorCommandOutput,
303
+ } from "./commands/UpdateAgentCollaboratorCommand";
284
304
  import {
285
305
  UpdateAgentCommandInput,
286
306
  UpdateAgentCommandOutput,
@@ -321,6 +341,7 @@ import {
321
341
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
322
342
  export { __Client };
323
343
  export type ServiceInputTypes =
344
+ | AssociateAgentCollaboratorCommandInput
324
345
  | AssociateAgentKnowledgeBaseCommandInput
325
346
  | CreateAgentActionGroupCommandInput
326
347
  | CreateAgentAliasCommandInput
@@ -343,9 +364,11 @@ export type ServiceInputTypes =
343
364
  | DeleteKnowledgeBaseCommandInput
344
365
  | DeleteKnowledgeBaseDocumentsCommandInput
345
366
  | DeletePromptCommandInput
367
+ | DisassociateAgentCollaboratorCommandInput
346
368
  | DisassociateAgentKnowledgeBaseCommandInput
347
369
  | GetAgentActionGroupCommandInput
348
370
  | GetAgentAliasCommandInput
371
+ | GetAgentCollaboratorCommandInput
349
372
  | GetAgentCommandInput
350
373
  | GetAgentKnowledgeBaseCommandInput
351
374
  | GetAgentVersionCommandInput
@@ -360,6 +383,7 @@ export type ServiceInputTypes =
360
383
  | IngestKnowledgeBaseDocumentsCommandInput
361
384
  | ListAgentActionGroupsCommandInput
362
385
  | ListAgentAliasesCommandInput
386
+ | ListAgentCollaboratorsCommandInput
363
387
  | ListAgentKnowledgeBasesCommandInput
364
388
  | ListAgentVersionsCommandInput
365
389
  | ListAgentsCommandInput
@@ -380,6 +404,7 @@ export type ServiceInputTypes =
380
404
  | UntagResourceCommandInput
381
405
  | UpdateAgentActionGroupCommandInput
382
406
  | UpdateAgentAliasCommandInput
407
+ | UpdateAgentCollaboratorCommandInput
383
408
  | UpdateAgentCommandInput
384
409
  | UpdateAgentKnowledgeBaseCommandInput
385
410
  | UpdateDataSourceCommandInput
@@ -389,6 +414,7 @@ export type ServiceInputTypes =
389
414
  | UpdatePromptCommandInput
390
415
  | ValidateFlowDefinitionCommandInput;
391
416
  export type ServiceOutputTypes =
417
+ | AssociateAgentCollaboratorCommandOutput
392
418
  | AssociateAgentKnowledgeBaseCommandOutput
393
419
  | CreateAgentActionGroupCommandOutput
394
420
  | CreateAgentAliasCommandOutput
@@ -411,9 +437,11 @@ export type ServiceOutputTypes =
411
437
  | DeleteKnowledgeBaseCommandOutput
412
438
  | DeleteKnowledgeBaseDocumentsCommandOutput
413
439
  | DeletePromptCommandOutput
440
+ | DisassociateAgentCollaboratorCommandOutput
414
441
  | DisassociateAgentKnowledgeBaseCommandOutput
415
442
  | GetAgentActionGroupCommandOutput
416
443
  | GetAgentAliasCommandOutput
444
+ | GetAgentCollaboratorCommandOutput
417
445
  | GetAgentCommandOutput
418
446
  | GetAgentKnowledgeBaseCommandOutput
419
447
  | GetAgentVersionCommandOutput
@@ -428,6 +456,7 @@ export type ServiceOutputTypes =
428
456
  | IngestKnowledgeBaseDocumentsCommandOutput
429
457
  | ListAgentActionGroupsCommandOutput
430
458
  | ListAgentAliasesCommandOutput
459
+ | ListAgentCollaboratorsCommandOutput
431
460
  | ListAgentKnowledgeBasesCommandOutput
432
461
  | ListAgentVersionsCommandOutput
433
462
  | ListAgentsCommandOutput
@@ -448,6 +477,7 @@ export type ServiceOutputTypes =
448
477
  | UntagResourceCommandOutput
449
478
  | UpdateAgentActionGroupCommandOutput
450
479
  | UpdateAgentAliasCommandOutput
480
+ | UpdateAgentCollaboratorCommandOutput
451
481
  | UpdateAgentCommandOutput
452
482
  | UpdateAgentKnowledgeBaseCommandOutput
453
483
  | UpdateDataSourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ AssociateAgentCollaboratorRequest,
10
+ AssociateAgentCollaboratorResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AssociateAgentCollaboratorCommandInput
15
+ extends AssociateAgentCollaboratorRequest {}
16
+ export interface AssociateAgentCollaboratorCommandOutput
17
+ extends AssociateAgentCollaboratorResponse,
18
+ __MetadataBearer {}
19
+ declare const AssociateAgentCollaboratorCommand_base: {
20
+ new (
21
+ input: AssociateAgentCollaboratorCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AssociateAgentCollaboratorCommandInput,
24
+ AssociateAgentCollaboratorCommandOutput,
25
+ BedrockAgentClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: AssociateAgentCollaboratorCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AssociateAgentCollaboratorCommandInput,
33
+ AssociateAgentCollaboratorCommandOutput,
34
+ BedrockAgentClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AssociateAgentCollaboratorCommand extends AssociateAgentCollaboratorCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssociateAgentCollaboratorRequest;
44
+ output: AssociateAgentCollaboratorResponse;
45
+ };
46
+ sdk: {
47
+ input: AssociateAgentCollaboratorCommandInput;
48
+ output: AssociateAgentCollaboratorCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ DisassociateAgentCollaboratorRequest,
10
+ DisassociateAgentCollaboratorResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DisassociateAgentCollaboratorCommandInput
15
+ extends DisassociateAgentCollaboratorRequest {}
16
+ export interface DisassociateAgentCollaboratorCommandOutput
17
+ extends DisassociateAgentCollaboratorResponse,
18
+ __MetadataBearer {}
19
+ declare const DisassociateAgentCollaboratorCommand_base: {
20
+ new (
21
+ input: DisassociateAgentCollaboratorCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DisassociateAgentCollaboratorCommandInput,
24
+ DisassociateAgentCollaboratorCommandOutput,
25
+ BedrockAgentClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DisassociateAgentCollaboratorCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DisassociateAgentCollaboratorCommandInput,
33
+ DisassociateAgentCollaboratorCommandOutput,
34
+ BedrockAgentClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DisassociateAgentCollaboratorCommand extends DisassociateAgentCollaboratorCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DisassociateAgentCollaboratorRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DisassociateAgentCollaboratorCommandInput;
48
+ output: DisassociateAgentCollaboratorCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ GetAgentCollaboratorRequest,
10
+ GetAgentCollaboratorResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetAgentCollaboratorCommandInput
15
+ extends GetAgentCollaboratorRequest {}
16
+ export interface GetAgentCollaboratorCommandOutput
17
+ extends GetAgentCollaboratorResponse,
18
+ __MetadataBearer {}
19
+ declare const GetAgentCollaboratorCommand_base: {
20
+ new (
21
+ input: GetAgentCollaboratorCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetAgentCollaboratorCommandInput,
24
+ GetAgentCollaboratorCommandOutput,
25
+ BedrockAgentClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetAgentCollaboratorCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetAgentCollaboratorCommandInput,
33
+ GetAgentCollaboratorCommandOutput,
34
+ BedrockAgentClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetAgentCollaboratorCommand extends GetAgentCollaboratorCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetAgentCollaboratorRequest;
44
+ output: GetAgentCollaboratorResponse;
45
+ };
46
+ sdk: {
47
+ input: GetAgentCollaboratorCommandInput;
48
+ output: GetAgentCollaboratorCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  IngestKnowledgeBaseDocumentsRequest,
10
10
  IngestKnowledgeBaseDocumentsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface IngestKnowledgeBaseDocumentsCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ ListAgentCollaboratorsRequest,
10
+ ListAgentCollaboratorsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListAgentCollaboratorsCommandInput
15
+ extends ListAgentCollaboratorsRequest {}
16
+ export interface ListAgentCollaboratorsCommandOutput
17
+ extends ListAgentCollaboratorsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListAgentCollaboratorsCommand_base: {
20
+ new (
21
+ input: ListAgentCollaboratorsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListAgentCollaboratorsCommandInput,
24
+ ListAgentCollaboratorsCommandOutput,
25
+ BedrockAgentClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListAgentCollaboratorsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListAgentCollaboratorsCommandInput,
33
+ ListAgentCollaboratorsCommandOutput,
34
+ BedrockAgentClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListAgentCollaboratorsCommand extends ListAgentCollaboratorsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListAgentCollaboratorsRequest;
44
+ output: ListAgentCollaboratorsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListAgentCollaboratorsCommandInput;
48
+ output: ListAgentCollaboratorsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListKnowledgeBaseDocumentsRequest,
10
10
  ListKnowledgeBaseDocumentsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListKnowledgeBaseDocumentsCommandInput