@aws-sdk/client-qconnect 3.665.0 → 3.666.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 (107) hide show
  1. package/README.md +166 -0
  2. package/dist-cjs/index.js +1501 -102
  3. package/dist-es/QConnect.js +38 -0
  4. package/dist-es/commands/CreateAIAgentCommand.js +22 -0
  5. package/dist-es/commands/CreateAIAgentVersionCommand.js +22 -0
  6. package/dist-es/commands/CreateAIPromptCommand.js +23 -0
  7. package/dist-es/commands/CreateAIPromptVersionCommand.js +23 -0
  8. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/DeleteAIAgentCommand.js +22 -0
  10. package/dist-es/commands/DeleteAIAgentVersionCommand.js +22 -0
  11. package/dist-es/commands/DeleteAIPromptCommand.js +22 -0
  12. package/dist-es/commands/DeleteAIPromptVersionCommand.js +22 -0
  13. package/dist-es/commands/GetAIAgentCommand.js +22 -0
  14. package/dist-es/commands/GetAIPromptCommand.js +23 -0
  15. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  16. package/dist-es/commands/ListAIAgentVersionsCommand.js +22 -0
  17. package/dist-es/commands/ListAIAgentsCommand.js +22 -0
  18. package/dist-es/commands/ListAIPromptVersionsCommand.js +22 -0
  19. package/dist-es/commands/ListAIPromptsCommand.js +22 -0
  20. package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -1
  21. package/dist-es/commands/RemoveAssistantAIAgentCommand.js +22 -0
  22. package/dist-es/commands/UpdateAIAgentCommand.js +22 -0
  23. package/dist-es/commands/UpdateAIPromptCommand.js +23 -0
  24. package/dist-es/commands/UpdateAssistantAIAgentCommand.js +22 -0
  25. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -1
  26. package/dist-es/commands/UpdateSessionDataCommand.js +23 -0
  27. package/dist-es/commands/index.js +19 -0
  28. package/dist-es/models/models_0.js +310 -46
  29. package/dist-es/pagination/ListAIAgentVersionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAIAgentsPaginator.js +4 -0
  31. package/dist-es/pagination/ListAIPromptVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListAIPromptsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +4 -0
  34. package/dist-es/protocols/Aws_restJson1.js +692 -8
  35. package/dist-types/QConnect.d.ts +148 -1
  36. package/dist-types/QConnectClient.d.ts +36 -3
  37. package/dist-types/commands/CreateAIAgentCommand.d.ts +252 -0
  38. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +180 -0
  39. package/dist-types/commands/CreateAIPromptCommand.d.ts +132 -0
  40. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +120 -0
  41. package/dist-types/commands/CreateAssistantCommand.d.ts +5 -0
  42. package/dist-types/commands/CreateContentAssociationCommand.d.ts +5 -6
  43. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +108 -0
  44. package/dist-types/commands/CreateSessionCommand.d.ts +10 -0
  45. package/dist-types/commands/DeleteAIAgentCommand.d.ts +82 -0
  46. package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +89 -0
  47. package/dist-types/commands/DeleteAIPromptCommand.d.ts +82 -0
  48. package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +89 -0
  49. package/dist-types/commands/GetAIAgentCommand.d.ts +168 -0
  50. package/dist-types/commands/GetAIPromptCommand.d.ts +108 -0
  51. package/dist-types/commands/GetAssistantCommand.d.ts +5 -0
  52. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +56 -0
  53. package/dist-types/commands/GetRecommendationsCommand.d.ts +20 -0
  54. package/dist-types/commands/GetSessionCommand.d.ts +5 -0
  55. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +176 -0
  56. package/dist-types/commands/ListAIAgentsCommand.d.ts +172 -0
  57. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +111 -0
  58. package/dist-types/commands/ListAIPromptsCommand.d.ts +107 -0
  59. package/dist-types/commands/ListAssistantsCommand.d.ts +5 -0
  60. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +52 -0
  61. package/dist-types/commands/QueryAssistantCommand.d.ts +30 -1
  62. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +83 -0
  63. package/dist-types/commands/UpdateAIAgentCommand.d.ts +244 -0
  64. package/dist-types/commands/UpdateAIPromptCommand.d.ts +121 -0
  65. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +112 -0
  66. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +56 -0
  67. package/dist-types/commands/UpdateSessionCommand.d.ts +10 -0
  68. package/dist-types/commands/UpdateSessionDataCommand.d.ts +100 -0
  69. package/dist-types/commands/index.d.ts +19 -0
  70. package/dist-types/index.d.ts +15 -1
  71. package/dist-types/models/models_0.d.ts +2454 -275
  72. package/dist-types/pagination/ListAIAgentVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListAIAgentsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListAIPromptVersionsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListAIPromptsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +171 -0
  78. package/dist-types/ts3.4/QConnect.d.ts +323 -0
  79. package/dist-types/ts3.4/QConnectClient.d.ts +116 -2
  80. package/dist-types/ts3.4/commands/CreateAIAgentCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/CreateAIAgentVersionCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/CreateAIPromptCommand.d.ts +50 -0
  83. package/dist-types/ts3.4/commands/CreateAIPromptVersionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteAIAgentCommand.d.ts +50 -0
  85. package/dist-types/ts3.4/commands/DeleteAIAgentVersionCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/DeleteAIPromptCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/DeleteAIPromptVersionCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/GetAIAgentCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/GetAIPromptCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/ListAIAgentVersionsCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/ListAIAgentsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/ListAIPromptVersionsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/ListAIPromptsCommand.d.ts +50 -0
  94. package/dist-types/ts3.4/commands/RemoveAssistantAIAgentCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/UpdateAIAgentCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/UpdateAIPromptCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/UpdateAssistantAIAgentCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/UpdateSessionDataCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +794 -103
  101. package/dist-types/ts3.4/pagination/ListAIAgentVersionsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/ListAIAgentsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListAIPromptVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListAIPromptsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  106. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
  107. package/package.json +12 -12
@@ -1,4 +1,20 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreateAIAgentCommandInput,
4
+ CreateAIAgentCommandOutput,
5
+ } from "./commands/CreateAIAgentCommand";
6
+ import {
7
+ CreateAIAgentVersionCommandInput,
8
+ CreateAIAgentVersionCommandOutput,
9
+ } from "./commands/CreateAIAgentVersionCommand";
10
+ import {
11
+ CreateAIPromptCommandInput,
12
+ CreateAIPromptCommandOutput,
13
+ } from "./commands/CreateAIPromptCommand";
14
+ import {
15
+ CreateAIPromptVersionCommandInput,
16
+ CreateAIPromptVersionCommandOutput,
17
+ } from "./commands/CreateAIPromptVersionCommand";
2
18
  import {
3
19
  CreateAssistantAssociationCommandInput,
4
20
  CreateAssistantAssociationCommandOutput,
@@ -27,6 +43,22 @@ import {
27
43
  CreateSessionCommandInput,
28
44
  CreateSessionCommandOutput,
29
45
  } from "./commands/CreateSessionCommand";
46
+ import {
47
+ DeleteAIAgentCommandInput,
48
+ DeleteAIAgentCommandOutput,
49
+ } from "./commands/DeleteAIAgentCommand";
50
+ import {
51
+ DeleteAIAgentVersionCommandInput,
52
+ DeleteAIAgentVersionCommandOutput,
53
+ } from "./commands/DeleteAIAgentVersionCommand";
54
+ import {
55
+ DeleteAIPromptCommandInput,
56
+ DeleteAIPromptCommandOutput,
57
+ } from "./commands/DeleteAIPromptCommand";
58
+ import {
59
+ DeleteAIPromptVersionCommandInput,
60
+ DeleteAIPromptVersionCommandOutput,
61
+ } from "./commands/DeleteAIPromptVersionCommand";
30
62
  import {
31
63
  DeleteAssistantAssociationCommandInput,
32
64
  DeleteAssistantAssociationCommandOutput,
@@ -55,6 +87,14 @@ import {
55
87
  DeleteQuickResponseCommandInput,
56
88
  DeleteQuickResponseCommandOutput,
57
89
  } from "./commands/DeleteQuickResponseCommand";
90
+ import {
91
+ GetAIAgentCommandInput,
92
+ GetAIAgentCommandOutput,
93
+ } from "./commands/GetAIAgentCommand";
94
+ import {
95
+ GetAIPromptCommandInput,
96
+ GetAIPromptCommandOutput,
97
+ } from "./commands/GetAIPromptCommand";
58
98
  import {
59
99
  GetAssistantAssociationCommandInput,
60
100
  GetAssistantAssociationCommandOutput,
@@ -95,6 +135,22 @@ import {
95
135
  GetSessionCommandInput,
96
136
  GetSessionCommandOutput,
97
137
  } from "./commands/GetSessionCommand";
138
+ import {
139
+ ListAIAgentsCommandInput,
140
+ ListAIAgentsCommandOutput,
141
+ } from "./commands/ListAIAgentsCommand";
142
+ import {
143
+ ListAIAgentVersionsCommandInput,
144
+ ListAIAgentVersionsCommandOutput,
145
+ } from "./commands/ListAIAgentVersionsCommand";
146
+ import {
147
+ ListAIPromptsCommandInput,
148
+ ListAIPromptsCommandOutput,
149
+ } from "./commands/ListAIPromptsCommand";
150
+ import {
151
+ ListAIPromptVersionsCommandInput,
152
+ ListAIPromptVersionsCommandOutput,
153
+ } from "./commands/ListAIPromptVersionsCommand";
98
154
  import {
99
155
  ListAssistantAssociationsCommandInput,
100
156
  ListAssistantAssociationsCommandOutput,
@@ -139,6 +195,10 @@ import {
139
195
  QueryAssistantCommandInput,
140
196
  QueryAssistantCommandOutput,
141
197
  } from "./commands/QueryAssistantCommand";
198
+ import {
199
+ RemoveAssistantAIAgentCommandInput,
200
+ RemoveAssistantAIAgentCommandOutput,
201
+ } from "./commands/RemoveAssistantAIAgentCommand";
142
202
  import {
143
203
  RemoveKnowledgeBaseTemplateUriCommandInput,
144
204
  RemoveKnowledgeBaseTemplateUriCommandOutput,
@@ -171,6 +231,18 @@ import {
171
231
  UntagResourceCommandInput,
172
232
  UntagResourceCommandOutput,
173
233
  } from "./commands/UntagResourceCommand";
234
+ import {
235
+ UpdateAIAgentCommandInput,
236
+ UpdateAIAgentCommandOutput,
237
+ } from "./commands/UpdateAIAgentCommand";
238
+ import {
239
+ UpdateAIPromptCommandInput,
240
+ UpdateAIPromptCommandOutput,
241
+ } from "./commands/UpdateAIPromptCommand";
242
+ import {
243
+ UpdateAssistantAIAgentCommandInput,
244
+ UpdateAssistantAIAgentCommandOutput,
245
+ } from "./commands/UpdateAssistantAIAgentCommand";
174
246
  import {
175
247
  UpdateContentCommandInput,
176
248
  UpdateContentCommandOutput,
@@ -187,8 +259,64 @@ import {
187
259
  UpdateSessionCommandInput,
188
260
  UpdateSessionCommandOutput,
189
261
  } from "./commands/UpdateSessionCommand";
262
+ import {
263
+ UpdateSessionDataCommandInput,
264
+ UpdateSessionDataCommandOutput,
265
+ } from "./commands/UpdateSessionDataCommand";
190
266
  import { QConnectClient } from "./QConnectClient";
191
267
  export interface QConnect {
268
+ createAIAgent(
269
+ args: CreateAIAgentCommandInput,
270
+ options?: __HttpHandlerOptions
271
+ ): Promise<CreateAIAgentCommandOutput>;
272
+ createAIAgent(
273
+ args: CreateAIAgentCommandInput,
274
+ cb: (err: any, data?: CreateAIAgentCommandOutput) => void
275
+ ): void;
276
+ createAIAgent(
277
+ args: CreateAIAgentCommandInput,
278
+ options: __HttpHandlerOptions,
279
+ cb: (err: any, data?: CreateAIAgentCommandOutput) => void
280
+ ): void;
281
+ createAIAgentVersion(
282
+ args: CreateAIAgentVersionCommandInput,
283
+ options?: __HttpHandlerOptions
284
+ ): Promise<CreateAIAgentVersionCommandOutput>;
285
+ createAIAgentVersion(
286
+ args: CreateAIAgentVersionCommandInput,
287
+ cb: (err: any, data?: CreateAIAgentVersionCommandOutput) => void
288
+ ): void;
289
+ createAIAgentVersion(
290
+ args: CreateAIAgentVersionCommandInput,
291
+ options: __HttpHandlerOptions,
292
+ cb: (err: any, data?: CreateAIAgentVersionCommandOutput) => void
293
+ ): void;
294
+ createAIPrompt(
295
+ args: CreateAIPromptCommandInput,
296
+ options?: __HttpHandlerOptions
297
+ ): Promise<CreateAIPromptCommandOutput>;
298
+ createAIPrompt(
299
+ args: CreateAIPromptCommandInput,
300
+ cb: (err: any, data?: CreateAIPromptCommandOutput) => void
301
+ ): void;
302
+ createAIPrompt(
303
+ args: CreateAIPromptCommandInput,
304
+ options: __HttpHandlerOptions,
305
+ cb: (err: any, data?: CreateAIPromptCommandOutput) => void
306
+ ): void;
307
+ createAIPromptVersion(
308
+ args: CreateAIPromptVersionCommandInput,
309
+ options?: __HttpHandlerOptions
310
+ ): Promise<CreateAIPromptVersionCommandOutput>;
311
+ createAIPromptVersion(
312
+ args: CreateAIPromptVersionCommandInput,
313
+ cb: (err: any, data?: CreateAIPromptVersionCommandOutput) => void
314
+ ): void;
315
+ createAIPromptVersion(
316
+ args: CreateAIPromptVersionCommandInput,
317
+ options: __HttpHandlerOptions,
318
+ cb: (err: any, data?: CreateAIPromptVersionCommandOutput) => void
319
+ ): void;
192
320
  createAssistant(
193
321
  args: CreateAssistantCommandInput,
194
322
  options?: __HttpHandlerOptions
@@ -280,6 +408,58 @@ export interface QConnect {
280
408
  options: __HttpHandlerOptions,
281
409
  cb: (err: any, data?: CreateSessionCommandOutput) => void
282
410
  ): void;
411
+ deleteAIAgent(
412
+ args: DeleteAIAgentCommandInput,
413
+ options?: __HttpHandlerOptions
414
+ ): Promise<DeleteAIAgentCommandOutput>;
415
+ deleteAIAgent(
416
+ args: DeleteAIAgentCommandInput,
417
+ cb: (err: any, data?: DeleteAIAgentCommandOutput) => void
418
+ ): void;
419
+ deleteAIAgent(
420
+ args: DeleteAIAgentCommandInput,
421
+ options: __HttpHandlerOptions,
422
+ cb: (err: any, data?: DeleteAIAgentCommandOutput) => void
423
+ ): void;
424
+ deleteAIAgentVersion(
425
+ args: DeleteAIAgentVersionCommandInput,
426
+ options?: __HttpHandlerOptions
427
+ ): Promise<DeleteAIAgentVersionCommandOutput>;
428
+ deleteAIAgentVersion(
429
+ args: DeleteAIAgentVersionCommandInput,
430
+ cb: (err: any, data?: DeleteAIAgentVersionCommandOutput) => void
431
+ ): void;
432
+ deleteAIAgentVersion(
433
+ args: DeleteAIAgentVersionCommandInput,
434
+ options: __HttpHandlerOptions,
435
+ cb: (err: any, data?: DeleteAIAgentVersionCommandOutput) => void
436
+ ): void;
437
+ deleteAIPrompt(
438
+ args: DeleteAIPromptCommandInput,
439
+ options?: __HttpHandlerOptions
440
+ ): Promise<DeleteAIPromptCommandOutput>;
441
+ deleteAIPrompt(
442
+ args: DeleteAIPromptCommandInput,
443
+ cb: (err: any, data?: DeleteAIPromptCommandOutput) => void
444
+ ): void;
445
+ deleteAIPrompt(
446
+ args: DeleteAIPromptCommandInput,
447
+ options: __HttpHandlerOptions,
448
+ cb: (err: any, data?: DeleteAIPromptCommandOutput) => void
449
+ ): void;
450
+ deleteAIPromptVersion(
451
+ args: DeleteAIPromptVersionCommandInput,
452
+ options?: __HttpHandlerOptions
453
+ ): Promise<DeleteAIPromptVersionCommandOutput>;
454
+ deleteAIPromptVersion(
455
+ args: DeleteAIPromptVersionCommandInput,
456
+ cb: (err: any, data?: DeleteAIPromptVersionCommandOutput) => void
457
+ ): void;
458
+ deleteAIPromptVersion(
459
+ args: DeleteAIPromptVersionCommandInput,
460
+ options: __HttpHandlerOptions,
461
+ cb: (err: any, data?: DeleteAIPromptVersionCommandOutput) => void
462
+ ): void;
283
463
  deleteAssistant(
284
464
  args: DeleteAssistantCommandInput,
285
465
  options?: __HttpHandlerOptions
@@ -371,6 +551,32 @@ export interface QConnect {
371
551
  options: __HttpHandlerOptions,
372
552
  cb: (err: any, data?: DeleteQuickResponseCommandOutput) => void
373
553
  ): void;
554
+ getAIAgent(
555
+ args: GetAIAgentCommandInput,
556
+ options?: __HttpHandlerOptions
557
+ ): Promise<GetAIAgentCommandOutput>;
558
+ getAIAgent(
559
+ args: GetAIAgentCommandInput,
560
+ cb: (err: any, data?: GetAIAgentCommandOutput) => void
561
+ ): void;
562
+ getAIAgent(
563
+ args: GetAIAgentCommandInput,
564
+ options: __HttpHandlerOptions,
565
+ cb: (err: any, data?: GetAIAgentCommandOutput) => void
566
+ ): void;
567
+ getAIPrompt(
568
+ args: GetAIPromptCommandInput,
569
+ options?: __HttpHandlerOptions
570
+ ): Promise<GetAIPromptCommandOutput>;
571
+ getAIPrompt(
572
+ args: GetAIPromptCommandInput,
573
+ cb: (err: any, data?: GetAIPromptCommandOutput) => void
574
+ ): void;
575
+ getAIPrompt(
576
+ args: GetAIPromptCommandInput,
577
+ options: __HttpHandlerOptions,
578
+ cb: (err: any, data?: GetAIPromptCommandOutput) => void
579
+ ): void;
374
580
  getAssistant(
375
581
  args: GetAssistantCommandInput,
376
582
  options?: __HttpHandlerOptions
@@ -501,6 +707,58 @@ export interface QConnect {
501
707
  options: __HttpHandlerOptions,
502
708
  cb: (err: any, data?: GetSessionCommandOutput) => void
503
709
  ): void;
710
+ listAIAgents(
711
+ args: ListAIAgentsCommandInput,
712
+ options?: __HttpHandlerOptions
713
+ ): Promise<ListAIAgentsCommandOutput>;
714
+ listAIAgents(
715
+ args: ListAIAgentsCommandInput,
716
+ cb: (err: any, data?: ListAIAgentsCommandOutput) => void
717
+ ): void;
718
+ listAIAgents(
719
+ args: ListAIAgentsCommandInput,
720
+ options: __HttpHandlerOptions,
721
+ cb: (err: any, data?: ListAIAgentsCommandOutput) => void
722
+ ): void;
723
+ listAIAgentVersions(
724
+ args: ListAIAgentVersionsCommandInput,
725
+ options?: __HttpHandlerOptions
726
+ ): Promise<ListAIAgentVersionsCommandOutput>;
727
+ listAIAgentVersions(
728
+ args: ListAIAgentVersionsCommandInput,
729
+ cb: (err: any, data?: ListAIAgentVersionsCommandOutput) => void
730
+ ): void;
731
+ listAIAgentVersions(
732
+ args: ListAIAgentVersionsCommandInput,
733
+ options: __HttpHandlerOptions,
734
+ cb: (err: any, data?: ListAIAgentVersionsCommandOutput) => void
735
+ ): void;
736
+ listAIPrompts(
737
+ args: ListAIPromptsCommandInput,
738
+ options?: __HttpHandlerOptions
739
+ ): Promise<ListAIPromptsCommandOutput>;
740
+ listAIPrompts(
741
+ args: ListAIPromptsCommandInput,
742
+ cb: (err: any, data?: ListAIPromptsCommandOutput) => void
743
+ ): void;
744
+ listAIPrompts(
745
+ args: ListAIPromptsCommandInput,
746
+ options: __HttpHandlerOptions,
747
+ cb: (err: any, data?: ListAIPromptsCommandOutput) => void
748
+ ): void;
749
+ listAIPromptVersions(
750
+ args: ListAIPromptVersionsCommandInput,
751
+ options?: __HttpHandlerOptions
752
+ ): Promise<ListAIPromptVersionsCommandOutput>;
753
+ listAIPromptVersions(
754
+ args: ListAIPromptVersionsCommandInput,
755
+ cb: (err: any, data?: ListAIPromptVersionsCommandOutput) => void
756
+ ): void;
757
+ listAIPromptVersions(
758
+ args: ListAIPromptVersionsCommandInput,
759
+ options: __HttpHandlerOptions,
760
+ cb: (err: any, data?: ListAIPromptVersionsCommandOutput) => void
761
+ ): void;
504
762
  listAssistantAssociations(
505
763
  args: ListAssistantAssociationsCommandInput,
506
764
  options?: __HttpHandlerOptions
@@ -646,6 +904,19 @@ export interface QConnect {
646
904
  options: __HttpHandlerOptions,
647
905
  cb: (err: any, data?: QueryAssistantCommandOutput) => void
648
906
  ): void;
907
+ removeAssistantAIAgent(
908
+ args: RemoveAssistantAIAgentCommandInput,
909
+ options?: __HttpHandlerOptions
910
+ ): Promise<RemoveAssistantAIAgentCommandOutput>;
911
+ removeAssistantAIAgent(
912
+ args: RemoveAssistantAIAgentCommandInput,
913
+ cb: (err: any, data?: RemoveAssistantAIAgentCommandOutput) => void
914
+ ): void;
915
+ removeAssistantAIAgent(
916
+ args: RemoveAssistantAIAgentCommandInput,
917
+ options: __HttpHandlerOptions,
918
+ cb: (err: any, data?: RemoveAssistantAIAgentCommandOutput) => void
919
+ ): void;
649
920
  removeKnowledgeBaseTemplateUri(
650
921
  args: RemoveKnowledgeBaseTemplateUriCommandInput,
651
922
  options?: __HttpHandlerOptions
@@ -750,6 +1021,45 @@ export interface QConnect {
750
1021
  options: __HttpHandlerOptions,
751
1022
  cb: (err: any, data?: UntagResourceCommandOutput) => void
752
1023
  ): void;
1024
+ updateAIAgent(
1025
+ args: UpdateAIAgentCommandInput,
1026
+ options?: __HttpHandlerOptions
1027
+ ): Promise<UpdateAIAgentCommandOutput>;
1028
+ updateAIAgent(
1029
+ args: UpdateAIAgentCommandInput,
1030
+ cb: (err: any, data?: UpdateAIAgentCommandOutput) => void
1031
+ ): void;
1032
+ updateAIAgent(
1033
+ args: UpdateAIAgentCommandInput,
1034
+ options: __HttpHandlerOptions,
1035
+ cb: (err: any, data?: UpdateAIAgentCommandOutput) => void
1036
+ ): void;
1037
+ updateAIPrompt(
1038
+ args: UpdateAIPromptCommandInput,
1039
+ options?: __HttpHandlerOptions
1040
+ ): Promise<UpdateAIPromptCommandOutput>;
1041
+ updateAIPrompt(
1042
+ args: UpdateAIPromptCommandInput,
1043
+ cb: (err: any, data?: UpdateAIPromptCommandOutput) => void
1044
+ ): void;
1045
+ updateAIPrompt(
1046
+ args: UpdateAIPromptCommandInput,
1047
+ options: __HttpHandlerOptions,
1048
+ cb: (err: any, data?: UpdateAIPromptCommandOutput) => void
1049
+ ): void;
1050
+ updateAssistantAIAgent(
1051
+ args: UpdateAssistantAIAgentCommandInput,
1052
+ options?: __HttpHandlerOptions
1053
+ ): Promise<UpdateAssistantAIAgentCommandOutput>;
1054
+ updateAssistantAIAgent(
1055
+ args: UpdateAssistantAIAgentCommandInput,
1056
+ cb: (err: any, data?: UpdateAssistantAIAgentCommandOutput) => void
1057
+ ): void;
1058
+ updateAssistantAIAgent(
1059
+ args: UpdateAssistantAIAgentCommandInput,
1060
+ options: __HttpHandlerOptions,
1061
+ cb: (err: any, data?: UpdateAssistantAIAgentCommandOutput) => void
1062
+ ): void;
753
1063
  updateContent(
754
1064
  args: UpdateContentCommandInput,
755
1065
  options?: __HttpHandlerOptions
@@ -802,5 +1112,18 @@ export interface QConnect {
802
1112
  options: __HttpHandlerOptions,
803
1113
  cb: (err: any, data?: UpdateSessionCommandOutput) => void
804
1114
  ): void;
1115
+ updateSessionData(
1116
+ args: UpdateSessionDataCommandInput,
1117
+ options?: __HttpHandlerOptions
1118
+ ): Promise<UpdateSessionDataCommandOutput>;
1119
+ updateSessionData(
1120
+ args: UpdateSessionDataCommandInput,
1121
+ cb: (err: any, data?: UpdateSessionDataCommandOutput) => void
1122
+ ): void;
1123
+ updateSessionData(
1124
+ args: UpdateSessionDataCommandInput,
1125
+ options: __HttpHandlerOptions,
1126
+ cb: (err: any, data?: UpdateSessionDataCommandOutput) => void
1127
+ ): void;
805
1128
  }
806
1129
  export declare class QConnect extends QConnectClient implements QConnect {}
@@ -45,6 +45,22 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CreateAIAgentCommandInput,
50
+ CreateAIAgentCommandOutput,
51
+ } from "./commands/CreateAIAgentCommand";
52
+ import {
53
+ CreateAIAgentVersionCommandInput,
54
+ CreateAIAgentVersionCommandOutput,
55
+ } from "./commands/CreateAIAgentVersionCommand";
56
+ import {
57
+ CreateAIPromptCommandInput,
58
+ CreateAIPromptCommandOutput,
59
+ } from "./commands/CreateAIPromptCommand";
60
+ import {
61
+ CreateAIPromptVersionCommandInput,
62
+ CreateAIPromptVersionCommandOutput,
63
+ } from "./commands/CreateAIPromptVersionCommand";
48
64
  import {
49
65
  CreateAssistantAssociationCommandInput,
50
66
  CreateAssistantAssociationCommandOutput,
@@ -73,6 +89,22 @@ import {
73
89
  CreateSessionCommandInput,
74
90
  CreateSessionCommandOutput,
75
91
  } from "./commands/CreateSessionCommand";
92
+ import {
93
+ DeleteAIAgentCommandInput,
94
+ DeleteAIAgentCommandOutput,
95
+ } from "./commands/DeleteAIAgentCommand";
96
+ import {
97
+ DeleteAIAgentVersionCommandInput,
98
+ DeleteAIAgentVersionCommandOutput,
99
+ } from "./commands/DeleteAIAgentVersionCommand";
100
+ import {
101
+ DeleteAIPromptCommandInput,
102
+ DeleteAIPromptCommandOutput,
103
+ } from "./commands/DeleteAIPromptCommand";
104
+ import {
105
+ DeleteAIPromptVersionCommandInput,
106
+ DeleteAIPromptVersionCommandOutput,
107
+ } from "./commands/DeleteAIPromptVersionCommand";
76
108
  import {
77
109
  DeleteAssistantAssociationCommandInput,
78
110
  DeleteAssistantAssociationCommandOutput,
@@ -101,6 +133,14 @@ import {
101
133
  DeleteQuickResponseCommandInput,
102
134
  DeleteQuickResponseCommandOutput,
103
135
  } from "./commands/DeleteQuickResponseCommand";
136
+ import {
137
+ GetAIAgentCommandInput,
138
+ GetAIAgentCommandOutput,
139
+ } from "./commands/GetAIAgentCommand";
140
+ import {
141
+ GetAIPromptCommandInput,
142
+ GetAIPromptCommandOutput,
143
+ } from "./commands/GetAIPromptCommand";
104
144
  import {
105
145
  GetAssistantAssociationCommandInput,
106
146
  GetAssistantAssociationCommandOutput,
@@ -141,6 +181,22 @@ import {
141
181
  GetSessionCommandInput,
142
182
  GetSessionCommandOutput,
143
183
  } from "./commands/GetSessionCommand";
184
+ import {
185
+ ListAIAgentsCommandInput,
186
+ ListAIAgentsCommandOutput,
187
+ } from "./commands/ListAIAgentsCommand";
188
+ import {
189
+ ListAIAgentVersionsCommandInput,
190
+ ListAIAgentVersionsCommandOutput,
191
+ } from "./commands/ListAIAgentVersionsCommand";
192
+ import {
193
+ ListAIPromptsCommandInput,
194
+ ListAIPromptsCommandOutput,
195
+ } from "./commands/ListAIPromptsCommand";
196
+ import {
197
+ ListAIPromptVersionsCommandInput,
198
+ ListAIPromptVersionsCommandOutput,
199
+ } from "./commands/ListAIPromptVersionsCommand";
144
200
  import {
145
201
  ListAssistantAssociationsCommandInput,
146
202
  ListAssistantAssociationsCommandOutput,
@@ -185,6 +241,10 @@ import {
185
241
  QueryAssistantCommandInput,
186
242
  QueryAssistantCommandOutput,
187
243
  } from "./commands/QueryAssistantCommand";
244
+ import {
245
+ RemoveAssistantAIAgentCommandInput,
246
+ RemoveAssistantAIAgentCommandOutput,
247
+ } from "./commands/RemoveAssistantAIAgentCommand";
188
248
  import {
189
249
  RemoveKnowledgeBaseTemplateUriCommandInput,
190
250
  RemoveKnowledgeBaseTemplateUriCommandOutput,
@@ -217,6 +277,18 @@ import {
217
277
  UntagResourceCommandInput,
218
278
  UntagResourceCommandOutput,
219
279
  } from "./commands/UntagResourceCommand";
280
+ import {
281
+ UpdateAIAgentCommandInput,
282
+ UpdateAIAgentCommandOutput,
283
+ } from "./commands/UpdateAIAgentCommand";
284
+ import {
285
+ UpdateAIPromptCommandInput,
286
+ UpdateAIPromptCommandOutput,
287
+ } from "./commands/UpdateAIPromptCommand";
288
+ import {
289
+ UpdateAssistantAIAgentCommandInput,
290
+ UpdateAssistantAIAgentCommandOutput,
291
+ } from "./commands/UpdateAssistantAIAgentCommand";
220
292
  import {
221
293
  UpdateContentCommandInput,
222
294
  UpdateContentCommandOutput,
@@ -233,6 +305,10 @@ import {
233
305
  UpdateSessionCommandInput,
234
306
  UpdateSessionCommandOutput,
235
307
  } from "./commands/UpdateSessionCommand";
308
+ import {
309
+ UpdateSessionDataCommandInput,
310
+ UpdateSessionDataCommandOutput,
311
+ } from "./commands/UpdateSessionDataCommand";
236
312
  import {
237
313
  ClientInputEndpointParameters,
238
314
  ClientResolvedEndpointParameters,
@@ -241,6 +317,10 @@ import {
241
317
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
242
318
  export { __Client };
243
319
  export type ServiceInputTypes =
320
+ | CreateAIAgentCommandInput
321
+ | CreateAIAgentVersionCommandInput
322
+ | CreateAIPromptCommandInput
323
+ | CreateAIPromptVersionCommandInput
244
324
  | CreateAssistantAssociationCommandInput
245
325
  | CreateAssistantCommandInput
246
326
  | CreateContentAssociationCommandInput
@@ -248,6 +328,10 @@ export type ServiceInputTypes =
248
328
  | CreateKnowledgeBaseCommandInput
249
329
  | CreateQuickResponseCommandInput
250
330
  | CreateSessionCommandInput
331
+ | DeleteAIAgentCommandInput
332
+ | DeleteAIAgentVersionCommandInput
333
+ | DeleteAIPromptCommandInput
334
+ | DeleteAIPromptVersionCommandInput
251
335
  | DeleteAssistantAssociationCommandInput
252
336
  | DeleteAssistantCommandInput
253
337
  | DeleteContentAssociationCommandInput
@@ -255,6 +339,8 @@ export type ServiceInputTypes =
255
339
  | DeleteImportJobCommandInput
256
340
  | DeleteKnowledgeBaseCommandInput
257
341
  | DeleteQuickResponseCommandInput
342
+ | GetAIAgentCommandInput
343
+ | GetAIPromptCommandInput
258
344
  | GetAssistantAssociationCommandInput
259
345
  | GetAssistantCommandInput
260
346
  | GetContentAssociationCommandInput
@@ -265,6 +351,10 @@ export type ServiceInputTypes =
265
351
  | GetQuickResponseCommandInput
266
352
  | GetRecommendationsCommandInput
267
353
  | GetSessionCommandInput
354
+ | ListAIAgentVersionsCommandInput
355
+ | ListAIAgentsCommandInput
356
+ | ListAIPromptVersionsCommandInput
357
+ | ListAIPromptsCommandInput
268
358
  | ListAssistantAssociationsCommandInput
269
359
  | ListAssistantsCommandInput
270
360
  | ListContentAssociationsCommandInput
@@ -276,6 +366,7 @@ export type ServiceInputTypes =
276
366
  | NotifyRecommendationsReceivedCommandInput
277
367
  | PutFeedbackCommandInput
278
368
  | QueryAssistantCommandInput
369
+ | RemoveAssistantAIAgentCommandInput
279
370
  | RemoveKnowledgeBaseTemplateUriCommandInput
280
371
  | SearchContentCommandInput
281
372
  | SearchQuickResponsesCommandInput
@@ -284,11 +375,19 @@ export type ServiceInputTypes =
284
375
  | StartImportJobCommandInput
285
376
  | TagResourceCommandInput
286
377
  | UntagResourceCommandInput
378
+ | UpdateAIAgentCommandInput
379
+ | UpdateAIPromptCommandInput
380
+ | UpdateAssistantAIAgentCommandInput
287
381
  | UpdateContentCommandInput
288
382
  | UpdateKnowledgeBaseTemplateUriCommandInput
289
383
  | UpdateQuickResponseCommandInput
290
- | UpdateSessionCommandInput;
384
+ | UpdateSessionCommandInput
385
+ | UpdateSessionDataCommandInput;
291
386
  export type ServiceOutputTypes =
387
+ | CreateAIAgentCommandOutput
388
+ | CreateAIAgentVersionCommandOutput
389
+ | CreateAIPromptCommandOutput
390
+ | CreateAIPromptVersionCommandOutput
292
391
  | CreateAssistantAssociationCommandOutput
293
392
  | CreateAssistantCommandOutput
294
393
  | CreateContentAssociationCommandOutput
@@ -296,6 +395,10 @@ export type ServiceOutputTypes =
296
395
  | CreateKnowledgeBaseCommandOutput
297
396
  | CreateQuickResponseCommandOutput
298
397
  | CreateSessionCommandOutput
398
+ | DeleteAIAgentCommandOutput
399
+ | DeleteAIAgentVersionCommandOutput
400
+ | DeleteAIPromptCommandOutput
401
+ | DeleteAIPromptVersionCommandOutput
299
402
  | DeleteAssistantAssociationCommandOutput
300
403
  | DeleteAssistantCommandOutput
301
404
  | DeleteContentAssociationCommandOutput
@@ -303,6 +406,8 @@ export type ServiceOutputTypes =
303
406
  | DeleteImportJobCommandOutput
304
407
  | DeleteKnowledgeBaseCommandOutput
305
408
  | DeleteQuickResponseCommandOutput
409
+ | GetAIAgentCommandOutput
410
+ | GetAIPromptCommandOutput
306
411
  | GetAssistantAssociationCommandOutput
307
412
  | GetAssistantCommandOutput
308
413
  | GetContentAssociationCommandOutput
@@ -313,6 +418,10 @@ export type ServiceOutputTypes =
313
418
  | GetQuickResponseCommandOutput
314
419
  | GetRecommendationsCommandOutput
315
420
  | GetSessionCommandOutput
421
+ | ListAIAgentVersionsCommandOutput
422
+ | ListAIAgentsCommandOutput
423
+ | ListAIPromptVersionsCommandOutput
424
+ | ListAIPromptsCommandOutput
316
425
  | ListAssistantAssociationsCommandOutput
317
426
  | ListAssistantsCommandOutput
318
427
  | ListContentAssociationsCommandOutput
@@ -324,6 +433,7 @@ export type ServiceOutputTypes =
324
433
  | NotifyRecommendationsReceivedCommandOutput
325
434
  | PutFeedbackCommandOutput
326
435
  | QueryAssistantCommandOutput
436
+ | RemoveAssistantAIAgentCommandOutput
327
437
  | RemoveKnowledgeBaseTemplateUriCommandOutput
328
438
  | SearchContentCommandOutput
329
439
  | SearchQuickResponsesCommandOutput
@@ -332,10 +442,14 @@ export type ServiceOutputTypes =
332
442
  | StartImportJobCommandOutput
333
443
  | TagResourceCommandOutput
334
444
  | UntagResourceCommandOutput
445
+ | UpdateAIAgentCommandOutput
446
+ | UpdateAIPromptCommandOutput
447
+ | UpdateAssistantAIAgentCommandOutput
335
448
  | UpdateContentCommandOutput
336
449
  | UpdateKnowledgeBaseTemplateUriCommandOutput
337
450
  | UpdateQuickResponseCommandOutput
338
- | UpdateSessionCommandOutput;
451
+ | UpdateSessionCommandOutput
452
+ | UpdateSessionDataCommandOutput;
339
453
  export interface ClientDefaults
340
454
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
341
455
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateAIAgentRequest,
5
+ CreateAIAgentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateAIAgentCommandInput extends CreateAIAgentRequest {}
15
+ export interface CreateAIAgentCommandOutput
16
+ extends CreateAIAgentResponse,
17
+ __MetadataBearer {}
18
+ declare const CreateAIAgentCommand_base: {
19
+ new (
20
+ input: CreateAIAgentCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateAIAgentCommandInput,
23
+ CreateAIAgentCommandOutput,
24
+ QConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: CreateAIAgentCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateAIAgentCommandInput,
32
+ CreateAIAgentCommandOutput,
33
+ QConnectClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CreateAIAgentCommand extends CreateAIAgentCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: CreateAIAgentRequest;
43
+ output: CreateAIAgentResponse;
44
+ };
45
+ sdk: {
46
+ input: CreateAIAgentCommandInput;
47
+ output: CreateAIAgentCommandOutput;
48
+ };
49
+ };
50
+ }