@aws-sdk/client-wisdom 3.451.0 → 3.458.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 (78) hide show
  1. package/README.md +111 -31
  2. package/dist-cjs/Wisdom.js +20 -0
  3. package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
  4. package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
  6. package/dist-cjs/commands/GetImportJobCommand.js +52 -0
  7. package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
  8. package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
  9. package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
  10. package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
  11. package/dist-cjs/commands/StartImportJobCommand.js +52 -0
  12. package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +200 -1
  15. package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
  17. package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +816 -18
  20. package/dist-es/Wisdom.js +20 -0
  21. package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
  22. package/dist-es/commands/DeleteImportJobCommand.js +47 -0
  23. package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
  24. package/dist-es/commands/GetImportJobCommand.js +48 -0
  25. package/dist-es/commands/GetQuickResponseCommand.js +48 -0
  26. package/dist-es/commands/ListImportJobsCommand.js +47 -0
  27. package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
  28. package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
  29. package/dist-es/commands/StartImportJobCommand.js +48 -0
  30. package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +179 -0
  33. package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
  34. package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
  35. package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_restJson1.js +794 -16
  38. package/dist-types/Wisdom.d.ts +70 -0
  39. package/dist-types/WisdomClient.d.ts +12 -2
  40. package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
  41. package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
  42. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
  43. package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
  44. package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
  45. package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
  46. package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
  47. package/dist-types/commands/QueryAssistantCommand.d.ts +5 -0
  48. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
  49. package/dist-types/commands/StartContentUploadCommand.d.ts +1 -0
  50. package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
  51. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
  52. package/dist-types/commands/index.d.ts +10 -0
  53. package/dist-types/models/models_0.d.ts +1631 -167
  54. package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
  55. package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
  56. package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +3 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  59. package/dist-types/ts3.4/Wisdom.d.ts +170 -0
  60. package/dist-types/ts3.4/WisdomClient.d.ts +62 -2
  61. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
  65. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
  67. package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
  70. package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +397 -0
  73. package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  77. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  78. package/package.json +3 -3
@@ -19,6 +19,10 @@ import {
19
19
  CreateKnowledgeBaseCommandInput,
20
20
  CreateKnowledgeBaseCommandOutput,
21
21
  } from "../commands/CreateKnowledgeBaseCommand";
22
+ import {
23
+ CreateQuickResponseCommandInput,
24
+ CreateQuickResponseCommandOutput,
25
+ } from "../commands/CreateQuickResponseCommand";
22
26
  import {
23
27
  CreateSessionCommandInput,
24
28
  CreateSessionCommandOutput,
@@ -35,10 +39,18 @@ import {
35
39
  DeleteContentCommandInput,
36
40
  DeleteContentCommandOutput,
37
41
  } from "../commands/DeleteContentCommand";
42
+ import {
43
+ DeleteImportJobCommandInput,
44
+ DeleteImportJobCommandOutput,
45
+ } from "../commands/DeleteImportJobCommand";
38
46
  import {
39
47
  DeleteKnowledgeBaseCommandInput,
40
48
  DeleteKnowledgeBaseCommandOutput,
41
49
  } from "../commands/DeleteKnowledgeBaseCommand";
50
+ import {
51
+ DeleteQuickResponseCommandInput,
52
+ DeleteQuickResponseCommandOutput,
53
+ } from "../commands/DeleteQuickResponseCommand";
42
54
  import {
43
55
  GetAssistantAssociationCommandInput,
44
56
  GetAssistantAssociationCommandOutput,
@@ -55,10 +67,18 @@ import {
55
67
  GetContentSummaryCommandInput,
56
68
  GetContentSummaryCommandOutput,
57
69
  } from "../commands/GetContentSummaryCommand";
70
+ import {
71
+ GetImportJobCommandInput,
72
+ GetImportJobCommandOutput,
73
+ } from "../commands/GetImportJobCommand";
58
74
  import {
59
75
  GetKnowledgeBaseCommandInput,
60
76
  GetKnowledgeBaseCommandOutput,
61
77
  } from "../commands/GetKnowledgeBaseCommand";
78
+ import {
79
+ GetQuickResponseCommandInput,
80
+ GetQuickResponseCommandOutput,
81
+ } from "../commands/GetQuickResponseCommand";
62
82
  import {
63
83
  GetRecommendationsCommandInput,
64
84
  GetRecommendationsCommandOutput,
@@ -79,10 +99,18 @@ import {
79
99
  ListContentsCommandInput,
80
100
  ListContentsCommandOutput,
81
101
  } from "../commands/ListContentsCommand";
102
+ import {
103
+ ListImportJobsCommandInput,
104
+ ListImportJobsCommandOutput,
105
+ } from "../commands/ListImportJobsCommand";
82
106
  import {
83
107
  ListKnowledgeBasesCommandInput,
84
108
  ListKnowledgeBasesCommandOutput,
85
109
  } from "../commands/ListKnowledgeBasesCommand";
110
+ import {
111
+ ListQuickResponsesCommandInput,
112
+ ListQuickResponsesCommandOutput,
113
+ } from "../commands/ListQuickResponsesCommand";
86
114
  import {
87
115
  ListTagsForResourceCommandInput,
88
116
  ListTagsForResourceCommandOutput,
@@ -103,6 +131,10 @@ import {
103
131
  SearchContentCommandInput,
104
132
  SearchContentCommandOutput,
105
133
  } from "../commands/SearchContentCommand";
134
+ import {
135
+ SearchQuickResponsesCommandInput,
136
+ SearchQuickResponsesCommandOutput,
137
+ } from "../commands/SearchQuickResponsesCommand";
106
138
  import {
107
139
  SearchSessionsCommandInput,
108
140
  SearchSessionsCommandOutput,
@@ -111,6 +143,10 @@ import {
111
143
  StartContentUploadCommandInput,
112
144
  StartContentUploadCommandOutput,
113
145
  } from "../commands/StartContentUploadCommand";
146
+ import {
147
+ StartImportJobCommandInput,
148
+ StartImportJobCommandOutput,
149
+ } from "../commands/StartImportJobCommand";
114
150
  import {
115
151
  TagResourceCommandInput,
116
152
  TagResourceCommandOutput,
@@ -127,6 +163,10 @@ import {
127
163
  UpdateKnowledgeBaseTemplateUriCommandInput,
128
164
  UpdateKnowledgeBaseTemplateUriCommandOutput,
129
165
  } from "../commands/UpdateKnowledgeBaseTemplateUriCommand";
166
+ import {
167
+ UpdateQuickResponseCommandInput,
168
+ UpdateQuickResponseCommandOutput,
169
+ } from "../commands/UpdateQuickResponseCommand";
130
170
  export declare const se_CreateAssistantCommand: (
131
171
  input: CreateAssistantCommandInput,
132
172
  context: __SerdeContext
@@ -143,6 +183,10 @@ export declare const se_CreateKnowledgeBaseCommand: (
143
183
  input: CreateKnowledgeBaseCommandInput,
144
184
  context: __SerdeContext
145
185
  ) => Promise<__HttpRequest>;
186
+ export declare const se_CreateQuickResponseCommand: (
187
+ input: CreateQuickResponseCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
146
190
  export declare const se_CreateSessionCommand: (
147
191
  input: CreateSessionCommandInput,
148
192
  context: __SerdeContext
@@ -159,10 +203,18 @@ export declare const se_DeleteContentCommand: (
159
203
  input: DeleteContentCommandInput,
160
204
  context: __SerdeContext
161
205
  ) => Promise<__HttpRequest>;
206
+ export declare const se_DeleteImportJobCommand: (
207
+ input: DeleteImportJobCommandInput,
208
+ context: __SerdeContext
209
+ ) => Promise<__HttpRequest>;
162
210
  export declare const se_DeleteKnowledgeBaseCommand: (
163
211
  input: DeleteKnowledgeBaseCommandInput,
164
212
  context: __SerdeContext
165
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_DeleteQuickResponseCommand: (
215
+ input: DeleteQuickResponseCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
166
218
  export declare const se_GetAssistantCommand: (
167
219
  input: GetAssistantCommandInput,
168
220
  context: __SerdeContext
@@ -179,10 +231,18 @@ export declare const se_GetContentSummaryCommand: (
179
231
  input: GetContentSummaryCommandInput,
180
232
  context: __SerdeContext
181
233
  ) => Promise<__HttpRequest>;
234
+ export declare const se_GetImportJobCommand: (
235
+ input: GetImportJobCommandInput,
236
+ context: __SerdeContext
237
+ ) => Promise<__HttpRequest>;
182
238
  export declare const se_GetKnowledgeBaseCommand: (
183
239
  input: GetKnowledgeBaseCommandInput,
184
240
  context: __SerdeContext
185
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_GetQuickResponseCommand: (
243
+ input: GetQuickResponseCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
186
246
  export declare const se_GetRecommendationsCommand: (
187
247
  input: GetRecommendationsCommandInput,
188
248
  context: __SerdeContext
@@ -203,10 +263,18 @@ export declare const se_ListContentsCommand: (
203
263
  input: ListContentsCommandInput,
204
264
  context: __SerdeContext
205
265
  ) => Promise<__HttpRequest>;
266
+ export declare const se_ListImportJobsCommand: (
267
+ input: ListImportJobsCommandInput,
268
+ context: __SerdeContext
269
+ ) => Promise<__HttpRequest>;
206
270
  export declare const se_ListKnowledgeBasesCommand: (
207
271
  input: ListKnowledgeBasesCommandInput,
208
272
  context: __SerdeContext
209
273
  ) => Promise<__HttpRequest>;
274
+ export declare const se_ListQuickResponsesCommand: (
275
+ input: ListQuickResponsesCommandInput,
276
+ context: __SerdeContext
277
+ ) => Promise<__HttpRequest>;
210
278
  export declare const se_ListTagsForResourceCommand: (
211
279
  input: ListTagsForResourceCommandInput,
212
280
  context: __SerdeContext
@@ -227,6 +295,10 @@ export declare const se_SearchContentCommand: (
227
295
  input: SearchContentCommandInput,
228
296
  context: __SerdeContext
229
297
  ) => Promise<__HttpRequest>;
298
+ export declare const se_SearchQuickResponsesCommand: (
299
+ input: SearchQuickResponsesCommandInput,
300
+ context: __SerdeContext
301
+ ) => Promise<__HttpRequest>;
230
302
  export declare const se_SearchSessionsCommand: (
231
303
  input: SearchSessionsCommandInput,
232
304
  context: __SerdeContext
@@ -235,6 +307,10 @@ export declare const se_StartContentUploadCommand: (
235
307
  input: StartContentUploadCommandInput,
236
308
  context: __SerdeContext
237
309
  ) => Promise<__HttpRequest>;
310
+ export declare const se_StartImportJobCommand: (
311
+ input: StartImportJobCommandInput,
312
+ context: __SerdeContext
313
+ ) => Promise<__HttpRequest>;
238
314
  export declare const se_TagResourceCommand: (
239
315
  input: TagResourceCommandInput,
240
316
  context: __SerdeContext
@@ -251,6 +327,10 @@ export declare const se_UpdateKnowledgeBaseTemplateUriCommand: (
251
327
  input: UpdateKnowledgeBaseTemplateUriCommandInput,
252
328
  context: __SerdeContext
253
329
  ) => Promise<__HttpRequest>;
330
+ export declare const se_UpdateQuickResponseCommand: (
331
+ input: UpdateQuickResponseCommandInput,
332
+ context: __SerdeContext
333
+ ) => Promise<__HttpRequest>;
254
334
  export declare const de_CreateAssistantCommand: (
255
335
  output: __HttpResponse,
256
336
  context: __SerdeContext
@@ -267,6 +347,10 @@ export declare const de_CreateKnowledgeBaseCommand: (
267
347
  output: __HttpResponse,
268
348
  context: __SerdeContext
269
349
  ) => Promise<CreateKnowledgeBaseCommandOutput>;
350
+ export declare const de_CreateQuickResponseCommand: (
351
+ output: __HttpResponse,
352
+ context: __SerdeContext
353
+ ) => Promise<CreateQuickResponseCommandOutput>;
270
354
  export declare const de_CreateSessionCommand: (
271
355
  output: __HttpResponse,
272
356
  context: __SerdeContext
@@ -283,10 +367,18 @@ export declare const de_DeleteContentCommand: (
283
367
  output: __HttpResponse,
284
368
  context: __SerdeContext
285
369
  ) => Promise<DeleteContentCommandOutput>;
370
+ export declare const de_DeleteImportJobCommand: (
371
+ output: __HttpResponse,
372
+ context: __SerdeContext
373
+ ) => Promise<DeleteImportJobCommandOutput>;
286
374
  export declare const de_DeleteKnowledgeBaseCommand: (
287
375
  output: __HttpResponse,
288
376
  context: __SerdeContext
289
377
  ) => Promise<DeleteKnowledgeBaseCommandOutput>;
378
+ export declare const de_DeleteQuickResponseCommand: (
379
+ output: __HttpResponse,
380
+ context: __SerdeContext
381
+ ) => Promise<DeleteQuickResponseCommandOutput>;
290
382
  export declare const de_GetAssistantCommand: (
291
383
  output: __HttpResponse,
292
384
  context: __SerdeContext
@@ -303,10 +395,18 @@ export declare const de_GetContentSummaryCommand: (
303
395
  output: __HttpResponse,
304
396
  context: __SerdeContext
305
397
  ) => Promise<GetContentSummaryCommandOutput>;
398
+ export declare const de_GetImportJobCommand: (
399
+ output: __HttpResponse,
400
+ context: __SerdeContext
401
+ ) => Promise<GetImportJobCommandOutput>;
306
402
  export declare const de_GetKnowledgeBaseCommand: (
307
403
  output: __HttpResponse,
308
404
  context: __SerdeContext
309
405
  ) => Promise<GetKnowledgeBaseCommandOutput>;
406
+ export declare const de_GetQuickResponseCommand: (
407
+ output: __HttpResponse,
408
+ context: __SerdeContext
409
+ ) => Promise<GetQuickResponseCommandOutput>;
310
410
  export declare const de_GetRecommendationsCommand: (
311
411
  output: __HttpResponse,
312
412
  context: __SerdeContext
@@ -327,10 +427,18 @@ export declare const de_ListContentsCommand: (
327
427
  output: __HttpResponse,
328
428
  context: __SerdeContext
329
429
  ) => Promise<ListContentsCommandOutput>;
430
+ export declare const de_ListImportJobsCommand: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<ListImportJobsCommandOutput>;
330
434
  export declare const de_ListKnowledgeBasesCommand: (
331
435
  output: __HttpResponse,
332
436
  context: __SerdeContext
333
437
  ) => Promise<ListKnowledgeBasesCommandOutput>;
438
+ export declare const de_ListQuickResponsesCommand: (
439
+ output: __HttpResponse,
440
+ context: __SerdeContext
441
+ ) => Promise<ListQuickResponsesCommandOutput>;
334
442
  export declare const de_ListTagsForResourceCommand: (
335
443
  output: __HttpResponse,
336
444
  context: __SerdeContext
@@ -351,6 +459,10 @@ export declare const de_SearchContentCommand: (
351
459
  output: __HttpResponse,
352
460
  context: __SerdeContext
353
461
  ) => Promise<SearchContentCommandOutput>;
462
+ export declare const de_SearchQuickResponsesCommand: (
463
+ output: __HttpResponse,
464
+ context: __SerdeContext
465
+ ) => Promise<SearchQuickResponsesCommandOutput>;
354
466
  export declare const de_SearchSessionsCommand: (
355
467
  output: __HttpResponse,
356
468
  context: __SerdeContext
@@ -359,6 +471,10 @@ export declare const de_StartContentUploadCommand: (
359
471
  output: __HttpResponse,
360
472
  context: __SerdeContext
361
473
  ) => Promise<StartContentUploadCommandOutput>;
474
+ export declare const de_StartImportJobCommand: (
475
+ output: __HttpResponse,
476
+ context: __SerdeContext
477
+ ) => Promise<StartImportJobCommandOutput>;
362
478
  export declare const de_TagResourceCommand: (
363
479
  output: __HttpResponse,
364
480
  context: __SerdeContext
@@ -375,3 +491,7 @@ export declare const de_UpdateKnowledgeBaseTemplateUriCommand: (
375
491
  output: __HttpResponse,
376
492
  context: __SerdeContext
377
493
  ) => Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
494
+ export declare const de_UpdateQuickResponseCommand: (
495
+ output: __HttpResponse,
496
+ context: __SerdeContext
497
+ ) => Promise<UpdateQuickResponseCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wisdom",
3
3
  "description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.458.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.458.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.458.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
28
28
  "@aws-sdk/middleware-logger": "3.451.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.451.0",