@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,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CreateAIAgentCommandInput, CreateAIAgentCommandOutput } from "./commands/CreateAIAgentCommand";
3
+ import { CreateAIAgentVersionCommandInput, CreateAIAgentVersionCommandOutput } from "./commands/CreateAIAgentVersionCommand";
4
+ import { CreateAIPromptCommandInput, CreateAIPromptCommandOutput } from "./commands/CreateAIPromptCommand";
5
+ import { CreateAIPromptVersionCommandInput, CreateAIPromptVersionCommandOutput } from "./commands/CreateAIPromptVersionCommand";
2
6
  import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "./commands/CreateAssistantAssociationCommand";
3
7
  import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
4
8
  import { CreateContentAssociationCommandInput, CreateContentAssociationCommandOutput } from "./commands/CreateContentAssociationCommand";
@@ -6,6 +10,10 @@ import { CreateContentCommandInput, CreateContentCommandOutput } from "./command
6
10
  import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
7
11
  import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
8
12
  import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
13
+ import { DeleteAIAgentCommandInput, DeleteAIAgentCommandOutput } from "./commands/DeleteAIAgentCommand";
14
+ import { DeleteAIAgentVersionCommandInput, DeleteAIAgentVersionCommandOutput } from "./commands/DeleteAIAgentVersionCommand";
15
+ import { DeleteAIPromptCommandInput, DeleteAIPromptCommandOutput } from "./commands/DeleteAIPromptCommand";
16
+ import { DeleteAIPromptVersionCommandInput, DeleteAIPromptVersionCommandOutput } from "./commands/DeleteAIPromptVersionCommand";
9
17
  import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
10
18
  import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
11
19
  import { DeleteContentAssociationCommandInput, DeleteContentAssociationCommandOutput } from "./commands/DeleteContentAssociationCommand";
@@ -13,6 +21,8 @@ import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./command
13
21
  import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
14
22
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
15
23
  import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
24
+ import { GetAIAgentCommandInput, GetAIAgentCommandOutput } from "./commands/GetAIAgentCommand";
25
+ import { GetAIPromptCommandInput, GetAIPromptCommandOutput } from "./commands/GetAIPromptCommand";
16
26
  import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
17
27
  import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
18
28
  import { GetContentAssociationCommandInput, GetContentAssociationCommandOutput } from "./commands/GetContentAssociationCommand";
@@ -23,6 +33,10 @@ import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./c
23
33
  import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
24
34
  import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
25
35
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
36
+ import { ListAIAgentsCommandInput, ListAIAgentsCommandOutput } from "./commands/ListAIAgentsCommand";
37
+ import { ListAIAgentVersionsCommandInput, ListAIAgentVersionsCommandOutput } from "./commands/ListAIAgentVersionsCommand";
38
+ import { ListAIPromptsCommandInput, ListAIPromptsCommandOutput } from "./commands/ListAIPromptsCommand";
39
+ import { ListAIPromptVersionsCommandInput, ListAIPromptVersionsCommandOutput } from "./commands/ListAIPromptVersionsCommand";
26
40
  import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
27
41
  import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
28
42
  import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput } from "./commands/ListContentAssociationsCommand";
@@ -34,6 +48,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
34
48
  import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
35
49
  import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
36
50
  import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
51
+ import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
37
52
  import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
38
53
  import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
39
54
  import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
@@ -42,12 +57,40 @@ import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from
42
57
  import { StartImportJobCommandInput, StartImportJobCommandOutput } from "./commands/StartImportJobCommand";
43
58
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
44
59
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
60
+ import { UpdateAIAgentCommandInput, UpdateAIAgentCommandOutput } from "./commands/UpdateAIAgentCommand";
61
+ import { UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput } from "./commands/UpdateAIPromptCommand";
62
+ import { UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput } from "./commands/UpdateAssistantAIAgentCommand";
45
63
  import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
46
64
  import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
47
65
  import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
48
66
  import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
67
+ import { UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput } from "./commands/UpdateSessionDataCommand";
49
68
  import { QConnectClient } from "./QConnectClient";
50
69
  export interface QConnect {
70
+ /**
71
+ * @see {@link CreateAIAgentCommand}
72
+ */
73
+ createAIAgent(args: CreateAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAIAgentCommandOutput>;
74
+ createAIAgent(args: CreateAIAgentCommandInput, cb: (err: any, data?: CreateAIAgentCommandOutput) => void): void;
75
+ createAIAgent(args: CreateAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAIAgentCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link CreateAIAgentVersionCommand}
78
+ */
79
+ createAIAgentVersion(args: CreateAIAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAIAgentVersionCommandOutput>;
80
+ createAIAgentVersion(args: CreateAIAgentVersionCommandInput, cb: (err: any, data?: CreateAIAgentVersionCommandOutput) => void): void;
81
+ createAIAgentVersion(args: CreateAIAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAIAgentVersionCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link CreateAIPromptCommand}
84
+ */
85
+ createAIPrompt(args: CreateAIPromptCommandInput, options?: __HttpHandlerOptions): Promise<CreateAIPromptCommandOutput>;
86
+ createAIPrompt(args: CreateAIPromptCommandInput, cb: (err: any, data?: CreateAIPromptCommandOutput) => void): void;
87
+ createAIPrompt(args: CreateAIPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAIPromptCommandOutput) => void): void;
88
+ /**
89
+ * @see {@link CreateAIPromptVersionCommand}
90
+ */
91
+ createAIPromptVersion(args: CreateAIPromptVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAIPromptVersionCommandOutput>;
92
+ createAIPromptVersion(args: CreateAIPromptVersionCommandInput, cb: (err: any, data?: CreateAIPromptVersionCommandOutput) => void): void;
93
+ createAIPromptVersion(args: CreateAIPromptVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAIPromptVersionCommandOutput) => void): void;
51
94
  /**
52
95
  * @see {@link CreateAssistantCommand}
53
96
  */
@@ -90,6 +133,30 @@ export interface QConnect {
90
133
  createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
91
134
  createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
92
135
  createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
136
+ /**
137
+ * @see {@link DeleteAIAgentCommand}
138
+ */
139
+ deleteAIAgent(args: DeleteAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAIAgentCommandOutput>;
140
+ deleteAIAgent(args: DeleteAIAgentCommandInput, cb: (err: any, data?: DeleteAIAgentCommandOutput) => void): void;
141
+ deleteAIAgent(args: DeleteAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAIAgentCommandOutput) => void): void;
142
+ /**
143
+ * @see {@link DeleteAIAgentVersionCommand}
144
+ */
145
+ deleteAIAgentVersion(args: DeleteAIAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAIAgentVersionCommandOutput>;
146
+ deleteAIAgentVersion(args: DeleteAIAgentVersionCommandInput, cb: (err: any, data?: DeleteAIAgentVersionCommandOutput) => void): void;
147
+ deleteAIAgentVersion(args: DeleteAIAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAIAgentVersionCommandOutput) => void): void;
148
+ /**
149
+ * @see {@link DeleteAIPromptCommand}
150
+ */
151
+ deleteAIPrompt(args: DeleteAIPromptCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAIPromptCommandOutput>;
152
+ deleteAIPrompt(args: DeleteAIPromptCommandInput, cb: (err: any, data?: DeleteAIPromptCommandOutput) => void): void;
153
+ deleteAIPrompt(args: DeleteAIPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAIPromptCommandOutput) => void): void;
154
+ /**
155
+ * @see {@link DeleteAIPromptVersionCommand}
156
+ */
157
+ deleteAIPromptVersion(args: DeleteAIPromptVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAIPromptVersionCommandOutput>;
158
+ deleteAIPromptVersion(args: DeleteAIPromptVersionCommandInput, cb: (err: any, data?: DeleteAIPromptVersionCommandOutput) => void): void;
159
+ deleteAIPromptVersion(args: DeleteAIPromptVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAIPromptVersionCommandOutput) => void): void;
93
160
  /**
94
161
  * @see {@link DeleteAssistantCommand}
95
162
  */
@@ -132,6 +199,18 @@ export interface QConnect {
132
199
  deleteQuickResponse(args: DeleteQuickResponseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQuickResponseCommandOutput>;
133
200
  deleteQuickResponse(args: DeleteQuickResponseCommandInput, cb: (err: any, data?: DeleteQuickResponseCommandOutput) => void): void;
134
201
  deleteQuickResponse(args: DeleteQuickResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQuickResponseCommandOutput) => void): void;
202
+ /**
203
+ * @see {@link GetAIAgentCommand}
204
+ */
205
+ getAIAgent(args: GetAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<GetAIAgentCommandOutput>;
206
+ getAIAgent(args: GetAIAgentCommandInput, cb: (err: any, data?: GetAIAgentCommandOutput) => void): void;
207
+ getAIAgent(args: GetAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAIAgentCommandOutput) => void): void;
208
+ /**
209
+ * @see {@link GetAIPromptCommand}
210
+ */
211
+ getAIPrompt(args: GetAIPromptCommandInput, options?: __HttpHandlerOptions): Promise<GetAIPromptCommandOutput>;
212
+ getAIPrompt(args: GetAIPromptCommandInput, cb: (err: any, data?: GetAIPromptCommandOutput) => void): void;
213
+ getAIPrompt(args: GetAIPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAIPromptCommandOutput) => void): void;
135
214
  /**
136
215
  * @see {@link GetAssistantCommand}
137
216
  */
@@ -192,6 +271,30 @@ export interface QConnect {
192
271
  getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
193
272
  getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
194
273
  getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
274
+ /**
275
+ * @see {@link ListAIAgentsCommand}
276
+ */
277
+ listAIAgents(args: ListAIAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAIAgentsCommandOutput>;
278
+ listAIAgents(args: ListAIAgentsCommandInput, cb: (err: any, data?: ListAIAgentsCommandOutput) => void): void;
279
+ listAIAgents(args: ListAIAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAIAgentsCommandOutput) => void): void;
280
+ /**
281
+ * @see {@link ListAIAgentVersionsCommand}
282
+ */
283
+ listAIAgentVersions(args: ListAIAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAIAgentVersionsCommandOutput>;
284
+ listAIAgentVersions(args: ListAIAgentVersionsCommandInput, cb: (err: any, data?: ListAIAgentVersionsCommandOutput) => void): void;
285
+ listAIAgentVersions(args: ListAIAgentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAIAgentVersionsCommandOutput) => void): void;
286
+ /**
287
+ * @see {@link ListAIPromptsCommand}
288
+ */
289
+ listAIPrompts(args: ListAIPromptsCommandInput, options?: __HttpHandlerOptions): Promise<ListAIPromptsCommandOutput>;
290
+ listAIPrompts(args: ListAIPromptsCommandInput, cb: (err: any, data?: ListAIPromptsCommandOutput) => void): void;
291
+ listAIPrompts(args: ListAIPromptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAIPromptsCommandOutput) => void): void;
292
+ /**
293
+ * @see {@link ListAIPromptVersionsCommand}
294
+ */
295
+ listAIPromptVersions(args: ListAIPromptVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAIPromptVersionsCommandOutput>;
296
+ listAIPromptVersions(args: ListAIPromptVersionsCommandInput, cb: (err: any, data?: ListAIPromptVersionsCommandOutput) => void): void;
297
+ listAIPromptVersions(args: ListAIPromptVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAIPromptVersionsCommandOutput) => void): void;
195
298
  /**
196
299
  * @see {@link ListAssistantAssociationsCommand}
197
300
  */
@@ -260,6 +363,12 @@ export interface QConnect {
260
363
  queryAssistant(args: QueryAssistantCommandInput, options?: __HttpHandlerOptions): Promise<QueryAssistantCommandOutput>;
261
364
  queryAssistant(args: QueryAssistantCommandInput, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
262
365
  queryAssistant(args: QueryAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
366
+ /**
367
+ * @see {@link RemoveAssistantAIAgentCommand}
368
+ */
369
+ removeAssistantAIAgent(args: RemoveAssistantAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAssistantAIAgentCommandOutput>;
370
+ removeAssistantAIAgent(args: RemoveAssistantAIAgentCommandInput, cb: (err: any, data?: RemoveAssistantAIAgentCommandOutput) => void): void;
371
+ removeAssistantAIAgent(args: RemoveAssistantAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAssistantAIAgentCommandOutput) => void): void;
263
372
  /**
264
373
  * @see {@link RemoveKnowledgeBaseTemplateUriCommand}
265
374
  */
@@ -308,6 +417,24 @@ export interface QConnect {
308
417
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
309
418
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
310
419
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
420
+ /**
421
+ * @see {@link UpdateAIAgentCommand}
422
+ */
423
+ updateAIAgent(args: UpdateAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAIAgentCommandOutput>;
424
+ updateAIAgent(args: UpdateAIAgentCommandInput, cb: (err: any, data?: UpdateAIAgentCommandOutput) => void): void;
425
+ updateAIAgent(args: UpdateAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAIAgentCommandOutput) => void): void;
426
+ /**
427
+ * @see {@link UpdateAIPromptCommand}
428
+ */
429
+ updateAIPrompt(args: UpdateAIPromptCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAIPromptCommandOutput>;
430
+ updateAIPrompt(args: UpdateAIPromptCommandInput, cb: (err: any, data?: UpdateAIPromptCommandOutput) => void): void;
431
+ updateAIPrompt(args: UpdateAIPromptCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAIPromptCommandOutput) => void): void;
432
+ /**
433
+ * @see {@link UpdateAssistantAIAgentCommand}
434
+ */
435
+ updateAssistantAIAgent(args: UpdateAssistantAIAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssistantAIAgentCommandOutput>;
436
+ updateAssistantAIAgent(args: UpdateAssistantAIAgentCommandInput, cb: (err: any, data?: UpdateAssistantAIAgentCommandOutput) => void): void;
437
+ updateAssistantAIAgent(args: UpdateAssistantAIAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssistantAIAgentCommandOutput) => void): void;
311
438
  /**
312
439
  * @see {@link UpdateContentCommand}
313
440
  */
@@ -332,9 +459,29 @@ export interface QConnect {
332
459
  updateSession(args: UpdateSessionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSessionCommandOutput>;
333
460
  updateSession(args: UpdateSessionCommandInput, cb: (err: any, data?: UpdateSessionCommandOutput) => void): void;
334
461
  updateSession(args: UpdateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSessionCommandOutput) => void): void;
462
+ /**
463
+ * @see {@link UpdateSessionDataCommand}
464
+ */
465
+ updateSessionData(args: UpdateSessionDataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSessionDataCommandOutput>;
466
+ updateSessionData(args: UpdateSessionDataCommandInput, cb: (err: any, data?: UpdateSessionDataCommandOutput) => void): void;
467
+ updateSessionData(args: UpdateSessionDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSessionDataCommandOutput) => void): void;
335
468
  }
336
469
  /**
337
- * <note>
470
+ * <ul>
471
+ * <li>
472
+ * <p>
473
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
474
+ * actions</a>
475
+ * </p>
476
+ * </li>
477
+ * <li>
478
+ * <p>
479
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
480
+ * types</a>
481
+ * </p>
482
+ * </li>
483
+ * </ul>
484
+ * <note>
338
485
  * <p>
339
486
  * <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
340
487
  * detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of
@@ -7,6 +7,10 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateAIAgentCommandInput, CreateAIAgentCommandOutput } from "./commands/CreateAIAgentCommand";
11
+ import { CreateAIAgentVersionCommandInput, CreateAIAgentVersionCommandOutput } from "./commands/CreateAIAgentVersionCommand";
12
+ import { CreateAIPromptCommandInput, CreateAIPromptCommandOutput } from "./commands/CreateAIPromptCommand";
13
+ import { CreateAIPromptVersionCommandInput, CreateAIPromptVersionCommandOutput } from "./commands/CreateAIPromptVersionCommand";
10
14
  import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "./commands/CreateAssistantAssociationCommand";
11
15
  import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
12
16
  import { CreateContentAssociationCommandInput, CreateContentAssociationCommandOutput } from "./commands/CreateContentAssociationCommand";
@@ -14,6 +18,10 @@ import { CreateContentCommandInput, CreateContentCommandOutput } from "./command
14
18
  import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
15
19
  import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
16
20
  import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
21
+ import { DeleteAIAgentCommandInput, DeleteAIAgentCommandOutput } from "./commands/DeleteAIAgentCommand";
22
+ import { DeleteAIAgentVersionCommandInput, DeleteAIAgentVersionCommandOutput } from "./commands/DeleteAIAgentVersionCommand";
23
+ import { DeleteAIPromptCommandInput, DeleteAIPromptCommandOutput } from "./commands/DeleteAIPromptCommand";
24
+ import { DeleteAIPromptVersionCommandInput, DeleteAIPromptVersionCommandOutput } from "./commands/DeleteAIPromptVersionCommand";
17
25
  import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
18
26
  import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
19
27
  import { DeleteContentAssociationCommandInput, DeleteContentAssociationCommandOutput } from "./commands/DeleteContentAssociationCommand";
@@ -21,6 +29,8 @@ import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./command
21
29
  import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
22
30
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
23
31
  import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
32
+ import { GetAIAgentCommandInput, GetAIAgentCommandOutput } from "./commands/GetAIAgentCommand";
33
+ import { GetAIPromptCommandInput, GetAIPromptCommandOutput } from "./commands/GetAIPromptCommand";
24
34
  import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
25
35
  import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
26
36
  import { GetContentAssociationCommandInput, GetContentAssociationCommandOutput } from "./commands/GetContentAssociationCommand";
@@ -31,6 +41,10 @@ import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./c
31
41
  import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
32
42
  import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
33
43
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
44
+ import { ListAIAgentsCommandInput, ListAIAgentsCommandOutput } from "./commands/ListAIAgentsCommand";
45
+ import { ListAIAgentVersionsCommandInput, ListAIAgentVersionsCommandOutput } from "./commands/ListAIAgentVersionsCommand";
46
+ import { ListAIPromptsCommandInput, ListAIPromptsCommandOutput } from "./commands/ListAIPromptsCommand";
47
+ import { ListAIPromptVersionsCommandInput, ListAIPromptVersionsCommandOutput } from "./commands/ListAIPromptVersionsCommand";
34
48
  import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
35
49
  import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
36
50
  import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput } from "./commands/ListContentAssociationsCommand";
@@ -42,6 +56,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
42
56
  import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
43
57
  import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
44
58
  import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
59
+ import { RemoveAssistantAIAgentCommandInput, RemoveAssistantAIAgentCommandOutput } from "./commands/RemoveAssistantAIAgentCommand";
45
60
  import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
46
61
  import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
47
62
  import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
@@ -50,21 +65,25 @@ import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from
50
65
  import { StartImportJobCommandInput, StartImportJobCommandOutput } from "./commands/StartImportJobCommand";
51
66
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
52
67
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
68
+ import { UpdateAIAgentCommandInput, UpdateAIAgentCommandOutput } from "./commands/UpdateAIAgentCommand";
69
+ import { UpdateAIPromptCommandInput, UpdateAIPromptCommandOutput } from "./commands/UpdateAIPromptCommand";
70
+ import { UpdateAssistantAIAgentCommandInput, UpdateAssistantAIAgentCommandOutput } from "./commands/UpdateAssistantAIAgentCommand";
53
71
  import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
54
72
  import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
55
73
  import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
56
74
  import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
75
+ import { UpdateSessionDataCommandInput, UpdateSessionDataCommandOutput } from "./commands/UpdateSessionDataCommand";
57
76
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
58
77
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
59
78
  export { __Client };
60
79
  /**
61
80
  * @public
62
81
  */
63
- export type ServiceInputTypes = CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteQuickResponseCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput;
82
+ export type ServiceInputTypes = CreateAIAgentCommandInput | CreateAIAgentVersionCommandInput | CreateAIPromptCommandInput | CreateAIPromptVersionCommandInput | CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentAssociationCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeleteAIAgentCommandInput | DeleteAIAgentVersionCommandInput | DeleteAIPromptCommandInput | DeleteAIPromptVersionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentAssociationCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteQuickResponseCommandInput | GetAIAgentCommandInput | GetAIPromptCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentAssociationCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAIAgentVersionsCommandInput | ListAIAgentsCommandInput | ListAIPromptVersionsCommandInput | ListAIPromptsCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentAssociationsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | PutFeedbackCommandInput | QueryAssistantCommandInput | RemoveAssistantAIAgentCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAIAgentCommandInput | UpdateAIPromptCommandInput | UpdateAssistantAIAgentCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateQuickResponseCommandInput | UpdateSessionCommandInput | UpdateSessionDataCommandInput;
64
83
  /**
65
84
  * @public
66
85
  */
67
- export type ServiceOutputTypes = CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteQuickResponseCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput;
86
+ export type ServiceOutputTypes = CreateAIAgentCommandOutput | CreateAIAgentVersionCommandOutput | CreateAIPromptCommandOutput | CreateAIPromptVersionCommandOutput | CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentAssociationCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeleteAIAgentCommandOutput | DeleteAIAgentVersionCommandOutput | DeleteAIPromptCommandOutput | DeleteAIPromptVersionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentAssociationCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteQuickResponseCommandOutput | GetAIAgentCommandOutput | GetAIPromptCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentAssociationCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAIAgentVersionsCommandOutput | ListAIAgentsCommandOutput | ListAIPromptVersionsCommandOutput | ListAIPromptsCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentAssociationsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | PutFeedbackCommandOutput | QueryAssistantCommandOutput | RemoveAssistantAIAgentCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAIAgentCommandOutput | UpdateAIPromptCommandOutput | UpdateAssistantAIAgentCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateQuickResponseCommandOutput | UpdateSessionCommandOutput | UpdateSessionDataCommandOutput;
68
87
  /**
69
88
  * @public
70
89
  */
@@ -198,7 +217,21 @@ export type QConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__H
198
217
  export interface QConnectClientResolvedConfig extends QConnectClientResolvedConfigType {
199
218
  }
200
219
  /**
201
- * <note>
220
+ * <ul>
221
+ * <li>
222
+ * <p>
223
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Q_Connect.html">Amazon Q
224
+ * actions</a>
225
+ * </p>
226
+ * </li>
227
+ * <li>
228
+ * <p>
229
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Q_Connect.html">Amazon Q data
230
+ * types</a>
231
+ * </p>
232
+ * </li>
233
+ * </ul>
234
+ * <note>
202
235
  * <p>
203
236
  * <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html">automated abuse
204
237
  * detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of
@@ -0,0 +1,252 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAIAgentRequest, CreateAIAgentResponse } from "../models/models_0";
4
+ import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAIAgentCommand}.
14
+ */
15
+ export interface CreateAIAgentCommandInput extends CreateAIAgentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAIAgentCommand}.
21
+ */
22
+ export interface CreateAIAgentCommandOutput extends CreateAIAgentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAIAgentCommand_base: {
25
+ new (input: CreateAIAgentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIAgentCommandInput, CreateAIAgentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateAIAgentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAIAgentCommandInput, CreateAIAgentCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an Amazon Q in Connect AI Agent.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QConnectClient, CreateAIAgentCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
35
+ * // const { QConnectClient, CreateAIAgentCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
36
+ * const client = new QConnectClient(config);
37
+ * const input = { // CreateAIAgentRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * assistantId: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * type: "STRING_VALUE", // required
42
+ * configuration: { // AIAgentConfiguration Union: only one key present
43
+ * manualSearchAIAgentConfiguration: { // ManualSearchAIAgentConfiguration
44
+ * answerGenerationAIPromptId: "STRING_VALUE",
45
+ * associationConfigurations: [ // AssociationConfigurationList
46
+ * { // AssociationConfiguration
47
+ * associationId: "STRING_VALUE",
48
+ * associationType: "STRING_VALUE",
49
+ * associationConfigurationData: { // AssociationConfigurationData Union: only one key present
50
+ * knowledgeBaseAssociationConfigurationData: { // KnowledgeBaseAssociationConfigurationData
51
+ * contentTagFilter: { // TagFilter Union: only one key present
52
+ * tagCondition: { // TagCondition
53
+ * key: "STRING_VALUE", // required
54
+ * value: "STRING_VALUE",
55
+ * },
56
+ * andConditions: [ // AndConditions
57
+ * {
58
+ * key: "STRING_VALUE", // required
59
+ * value: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * orConditions: [ // OrConditions
63
+ * { // OrCondition Union: only one key present
64
+ * andConditions: [
65
+ * "<TagCondition>",
66
+ * ],
67
+ * tagCondition: "<TagCondition>",
68
+ * },
69
+ * ],
70
+ * },
71
+ * maxResults: Number("int"),
72
+ * overrideKnowledgeBaseSearchType: "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * },
76
+ * ],
77
+ * },
78
+ * answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
79
+ * intentLabelingGenerationAIPromptId: "STRING_VALUE",
80
+ * queryReformulationAIPromptId: "STRING_VALUE",
81
+ * answerGenerationAIPromptId: "STRING_VALUE",
82
+ * associationConfigurations: [
83
+ * {
84
+ * associationId: "STRING_VALUE",
85
+ * associationType: "STRING_VALUE",
86
+ * associationConfigurationData: {// Union: only one key present
87
+ * knowledgeBaseAssociationConfigurationData: {
88
+ * contentTagFilter: {// Union: only one key present
89
+ * tagCondition: "<TagCondition>",
90
+ * andConditions: [
91
+ * "<TagCondition>",
92
+ * ],
93
+ * orConditions: [
94
+ * {// Union: only one key present
95
+ * andConditions: [
96
+ * "<TagCondition>",
97
+ * ],
98
+ * tagCondition: "<TagCondition>",
99
+ * },
100
+ * ],
101
+ * },
102
+ * maxResults: Number("int"),
103
+ * overrideKnowledgeBaseSearchType: "STRING_VALUE",
104
+ * },
105
+ * },
106
+ * },
107
+ * ],
108
+ * },
109
+ * },
110
+ * visibilityStatus: "STRING_VALUE", // required
111
+ * tags: { // Tags
112
+ * "<keys>": "STRING_VALUE",
113
+ * },
114
+ * description: "STRING_VALUE",
115
+ * };
116
+ * const command = new CreateAIAgentCommand(input);
117
+ * const response = await client.send(command);
118
+ * // { // CreateAIAgentResponse
119
+ * // aiAgent: { // AIAgentData
120
+ * // assistantId: "STRING_VALUE", // required
121
+ * // assistantArn: "STRING_VALUE", // required
122
+ * // aiAgentId: "STRING_VALUE", // required
123
+ * // aiAgentArn: "STRING_VALUE", // required
124
+ * // name: "STRING_VALUE", // required
125
+ * // type: "STRING_VALUE", // required
126
+ * // configuration: { // AIAgentConfiguration Union: only one key present
127
+ * // manualSearchAIAgentConfiguration: { // ManualSearchAIAgentConfiguration
128
+ * // answerGenerationAIPromptId: "STRING_VALUE",
129
+ * // associationConfigurations: [ // AssociationConfigurationList
130
+ * // { // AssociationConfiguration
131
+ * // associationId: "STRING_VALUE",
132
+ * // associationType: "STRING_VALUE",
133
+ * // associationConfigurationData: { // AssociationConfigurationData Union: only one key present
134
+ * // knowledgeBaseAssociationConfigurationData: { // KnowledgeBaseAssociationConfigurationData
135
+ * // contentTagFilter: { // TagFilter Union: only one key present
136
+ * // tagCondition: { // TagCondition
137
+ * // key: "STRING_VALUE", // required
138
+ * // value: "STRING_VALUE",
139
+ * // },
140
+ * // andConditions: [ // AndConditions
141
+ * // {
142
+ * // key: "STRING_VALUE", // required
143
+ * // value: "STRING_VALUE",
144
+ * // },
145
+ * // ],
146
+ * // orConditions: [ // OrConditions
147
+ * // { // OrCondition Union: only one key present
148
+ * // andConditions: [
149
+ * // "<TagCondition>",
150
+ * // ],
151
+ * // tagCondition: "<TagCondition>",
152
+ * // },
153
+ * // ],
154
+ * // },
155
+ * // maxResults: Number("int"),
156
+ * // overrideKnowledgeBaseSearchType: "STRING_VALUE",
157
+ * // },
158
+ * // },
159
+ * // },
160
+ * // ],
161
+ * // },
162
+ * // answerRecommendationAIAgentConfiguration: { // AnswerRecommendationAIAgentConfiguration
163
+ * // intentLabelingGenerationAIPromptId: "STRING_VALUE",
164
+ * // queryReformulationAIPromptId: "STRING_VALUE",
165
+ * // answerGenerationAIPromptId: "STRING_VALUE",
166
+ * // associationConfigurations: [
167
+ * // {
168
+ * // associationId: "STRING_VALUE",
169
+ * // associationType: "STRING_VALUE",
170
+ * // associationConfigurationData: {// Union: only one key present
171
+ * // knowledgeBaseAssociationConfigurationData: {
172
+ * // contentTagFilter: {// Union: only one key present
173
+ * // tagCondition: "<TagCondition>",
174
+ * // andConditions: [
175
+ * // "<TagCondition>",
176
+ * // ],
177
+ * // orConditions: [
178
+ * // {// Union: only one key present
179
+ * // andConditions: [
180
+ * // "<TagCondition>",
181
+ * // ],
182
+ * // tagCondition: "<TagCondition>",
183
+ * // },
184
+ * // ],
185
+ * // },
186
+ * // maxResults: Number("int"),
187
+ * // overrideKnowledgeBaseSearchType: "STRING_VALUE",
188
+ * // },
189
+ * // },
190
+ * // },
191
+ * // ],
192
+ * // },
193
+ * // },
194
+ * // modifiedTime: new Date("TIMESTAMP"),
195
+ * // description: "STRING_VALUE",
196
+ * // visibilityStatus: "STRING_VALUE", // required
197
+ * // tags: { // Tags
198
+ * // "<keys>": "STRING_VALUE",
199
+ * // },
200
+ * // origin: "STRING_VALUE",
201
+ * // status: "STRING_VALUE",
202
+ * // },
203
+ * // };
204
+ *
205
+ * ```
206
+ *
207
+ * @param CreateAIAgentCommandInput - {@link CreateAIAgentCommandInput}
208
+ * @returns {@link CreateAIAgentCommandOutput}
209
+ * @see {@link CreateAIAgentCommandInput} for command's `input` shape.
210
+ * @see {@link CreateAIAgentCommandOutput} for command's `response` shape.
211
+ * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
212
+ *
213
+ * @throws {@link AccessDeniedException} (client fault)
214
+ * <p>You do not have sufficient access to perform this action.</p>
215
+ *
216
+ * @throws {@link ConflictException} (client fault)
217
+ * <p>The request could not be processed because of conflict in the current state of the
218
+ * resource. For example, if you're using a <code>Create</code> API (such as
219
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
220
+ * same name) is being created or mutated.</p>
221
+ *
222
+ * @throws {@link ResourceNotFoundException} (client fault)
223
+ * <p>The specified resource does not exist.</p>
224
+ *
225
+ * @throws {@link ServiceQuotaExceededException} (client fault)
226
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
227
+ * relevant resources, or use service quotas to request a service quota increase.</p>
228
+ *
229
+ * @throws {@link ThrottlingException} (client fault)
230
+ * <p>The throttling limit has been exceeded.</p>
231
+ *
232
+ * @throws {@link ValidationException} (client fault)
233
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
234
+ *
235
+ * @throws {@link QConnectServiceException}
236
+ * <p>Base exception class for all service exceptions from QConnect service.</p>
237
+ *
238
+ * @public
239
+ */
240
+ export declare class CreateAIAgentCommand extends CreateAIAgentCommand_base {
241
+ /** @internal type navigation helper, not in runtime. */
242
+ protected static __types: {
243
+ api: {
244
+ input: CreateAIAgentRequest;
245
+ output: CreateAIAgentResponse;
246
+ };
247
+ sdk: {
248
+ input: CreateAIAgentCommandInput;
249
+ output: CreateAIAgentCommandOutput;
250
+ };
251
+ };
252
+ }