@aws-sdk/client-wisdom 3.450.0 → 3.454.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.
- package/README.md +80 -0
- package/dist-cjs/Wisdom.js +20 -0
- package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
- package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
- package/dist-cjs/commands/GetImportJobCommand.js +52 -0
- package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
- package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/StartImportJobCommand.js +52 -0
- package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +200 -1
- package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +816 -18
- package/dist-es/Wisdom.js +20 -0
- package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
- package/dist-es/commands/DeleteImportJobCommand.js +47 -0
- package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
- package/dist-es/commands/GetImportJobCommand.js +48 -0
- package/dist-es/commands/GetQuickResponseCommand.js +48 -0
- package/dist-es/commands/ListImportJobsCommand.js +47 -0
- package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
- package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
- package/dist-es/commands/StartImportJobCommand.js +48 -0
- package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +179 -0
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +794 -16
- package/dist-types/Wisdom.d.ts +70 -0
- package/dist-types/WisdomClient.d.ts +12 -2
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +5 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
- package/dist-types/commands/StartContentUploadCommand.d.ts +1 -0
- package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1631 -167
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Wisdom.d.ts +170 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +397 -0
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -237,6 +237,14 @@ CreateKnowledgeBase
|
|
|
237
237
|
|
|
238
238
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/createknowledgebasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/createknowledgebasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/createknowledgebasecommandoutput.html)
|
|
239
239
|
|
|
240
|
+
</details>
|
|
241
|
+
<details>
|
|
242
|
+
<summary>
|
|
243
|
+
CreateQuickResponse
|
|
244
|
+
</summary>
|
|
245
|
+
|
|
246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/createquickresponsecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/createquickresponsecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/createquickresponsecommandoutput.html)
|
|
247
|
+
|
|
240
248
|
</details>
|
|
241
249
|
<details>
|
|
242
250
|
<summary>
|
|
@@ -269,6 +277,14 @@ DeleteContent
|
|
|
269
277
|
|
|
270
278
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/deletecontentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deletecontentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deletecontentcommandoutput.html)
|
|
271
279
|
|
|
280
|
+
</details>
|
|
281
|
+
<details>
|
|
282
|
+
<summary>
|
|
283
|
+
DeleteImportJob
|
|
284
|
+
</summary>
|
|
285
|
+
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/deleteimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deleteimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deleteimportjobcommandoutput.html)
|
|
287
|
+
|
|
272
288
|
</details>
|
|
273
289
|
<details>
|
|
274
290
|
<summary>
|
|
@@ -277,6 +293,14 @@ DeleteKnowledgeBase
|
|
|
277
293
|
|
|
278
294
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/deleteknowledgebasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deleteknowledgebasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deleteknowledgebasecommandoutput.html)
|
|
279
295
|
|
|
296
|
+
</details>
|
|
297
|
+
<details>
|
|
298
|
+
<summary>
|
|
299
|
+
DeleteQuickResponse
|
|
300
|
+
</summary>
|
|
301
|
+
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/deletequickresponsecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deletequickresponsecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/deletequickresponsecommandoutput.html)
|
|
303
|
+
|
|
280
304
|
</details>
|
|
281
305
|
<details>
|
|
282
306
|
<summary>
|
|
@@ -309,6 +333,14 @@ GetContentSummary
|
|
|
309
333
|
|
|
310
334
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/getcontentsummarycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getcontentsummarycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getcontentsummarycommandoutput.html)
|
|
311
335
|
|
|
336
|
+
</details>
|
|
337
|
+
<details>
|
|
338
|
+
<summary>
|
|
339
|
+
GetImportJob
|
|
340
|
+
</summary>
|
|
341
|
+
|
|
342
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/getimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getimportjobcommandoutput.html)
|
|
343
|
+
|
|
312
344
|
</details>
|
|
313
345
|
<details>
|
|
314
346
|
<summary>
|
|
@@ -317,6 +349,14 @@ GetKnowledgeBase
|
|
|
317
349
|
|
|
318
350
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/getknowledgebasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getknowledgebasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getknowledgebasecommandoutput.html)
|
|
319
351
|
|
|
352
|
+
</details>
|
|
353
|
+
<details>
|
|
354
|
+
<summary>
|
|
355
|
+
GetQuickResponse
|
|
356
|
+
</summary>
|
|
357
|
+
|
|
358
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/getquickresponsecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getquickresponsecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/getquickresponsecommandoutput.html)
|
|
359
|
+
|
|
320
360
|
</details>
|
|
321
361
|
<details>
|
|
322
362
|
<summary>
|
|
@@ -357,6 +397,14 @@ ListContents
|
|
|
357
397
|
|
|
358
398
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/listcontentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listcontentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listcontentscommandoutput.html)
|
|
359
399
|
|
|
400
|
+
</details>
|
|
401
|
+
<details>
|
|
402
|
+
<summary>
|
|
403
|
+
ListImportJobs
|
|
404
|
+
</summary>
|
|
405
|
+
|
|
406
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/listimportjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listimportjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listimportjobscommandoutput.html)
|
|
407
|
+
|
|
360
408
|
</details>
|
|
361
409
|
<details>
|
|
362
410
|
<summary>
|
|
@@ -365,6 +413,14 @@ ListKnowledgeBases
|
|
|
365
413
|
|
|
366
414
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/listknowledgebasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listknowledgebasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listknowledgebasescommandoutput.html)
|
|
367
415
|
|
|
416
|
+
</details>
|
|
417
|
+
<details>
|
|
418
|
+
<summary>
|
|
419
|
+
ListQuickResponses
|
|
420
|
+
</summary>
|
|
421
|
+
|
|
422
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/listquickresponsescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listquickresponsescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/listquickresponsescommandoutput.html)
|
|
423
|
+
|
|
368
424
|
</details>
|
|
369
425
|
<details>
|
|
370
426
|
<summary>
|
|
@@ -405,6 +461,14 @@ SearchContent
|
|
|
405
461
|
|
|
406
462
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/searchcontentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/searchcontentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/searchcontentcommandoutput.html)
|
|
407
463
|
|
|
464
|
+
</details>
|
|
465
|
+
<details>
|
|
466
|
+
<summary>
|
|
467
|
+
SearchQuickResponses
|
|
468
|
+
</summary>
|
|
469
|
+
|
|
470
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/searchquickresponsescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/searchquickresponsescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/searchquickresponsescommandoutput.html)
|
|
471
|
+
|
|
408
472
|
</details>
|
|
409
473
|
<details>
|
|
410
474
|
<summary>
|
|
@@ -421,6 +485,14 @@ StartContentUpload
|
|
|
421
485
|
|
|
422
486
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/startcontentuploadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/startcontentuploadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/startcontentuploadcommandoutput.html)
|
|
423
487
|
|
|
488
|
+
</details>
|
|
489
|
+
<details>
|
|
490
|
+
<summary>
|
|
491
|
+
StartImportJob
|
|
492
|
+
</summary>
|
|
493
|
+
|
|
494
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/startimportjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/startimportjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/startimportjobcommandoutput.html)
|
|
495
|
+
|
|
424
496
|
</details>
|
|
425
497
|
<details>
|
|
426
498
|
<summary>
|
|
@@ -454,3 +526,11 @@ UpdateKnowledgeBaseTemplateUri
|
|
|
454
526
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/updateknowledgebasetemplateuricommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/updateknowledgebasetemplateuricommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/updateknowledgebasetemplateuricommandoutput.html)
|
|
455
527
|
|
|
456
528
|
</details>
|
|
529
|
+
<details>
|
|
530
|
+
<summary>
|
|
531
|
+
UpdateQuickResponse
|
|
532
|
+
</summary>
|
|
533
|
+
|
|
534
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/classes/updatequickresponsecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/updatequickresponsecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-wisdom/interfaces/updatequickresponsecommandoutput.html)
|
|
535
|
+
|
|
536
|
+
</details>
|
package/dist-cjs/Wisdom.js
CHANGED
|
@@ -6,66 +6,86 @@ const CreateAssistantAssociationCommand_1 = require("./commands/CreateAssistantA
|
|
|
6
6
|
const CreateAssistantCommand_1 = require("./commands/CreateAssistantCommand");
|
|
7
7
|
const CreateContentCommand_1 = require("./commands/CreateContentCommand");
|
|
8
8
|
const CreateKnowledgeBaseCommand_1 = require("./commands/CreateKnowledgeBaseCommand");
|
|
9
|
+
const CreateQuickResponseCommand_1 = require("./commands/CreateQuickResponseCommand");
|
|
9
10
|
const CreateSessionCommand_1 = require("./commands/CreateSessionCommand");
|
|
10
11
|
const DeleteAssistantAssociationCommand_1 = require("./commands/DeleteAssistantAssociationCommand");
|
|
11
12
|
const DeleteAssistantCommand_1 = require("./commands/DeleteAssistantCommand");
|
|
12
13
|
const DeleteContentCommand_1 = require("./commands/DeleteContentCommand");
|
|
14
|
+
const DeleteImportJobCommand_1 = require("./commands/DeleteImportJobCommand");
|
|
13
15
|
const DeleteKnowledgeBaseCommand_1 = require("./commands/DeleteKnowledgeBaseCommand");
|
|
16
|
+
const DeleteQuickResponseCommand_1 = require("./commands/DeleteQuickResponseCommand");
|
|
14
17
|
const GetAssistantAssociationCommand_1 = require("./commands/GetAssistantAssociationCommand");
|
|
15
18
|
const GetAssistantCommand_1 = require("./commands/GetAssistantCommand");
|
|
16
19
|
const GetContentCommand_1 = require("./commands/GetContentCommand");
|
|
17
20
|
const GetContentSummaryCommand_1 = require("./commands/GetContentSummaryCommand");
|
|
21
|
+
const GetImportJobCommand_1 = require("./commands/GetImportJobCommand");
|
|
18
22
|
const GetKnowledgeBaseCommand_1 = require("./commands/GetKnowledgeBaseCommand");
|
|
23
|
+
const GetQuickResponseCommand_1 = require("./commands/GetQuickResponseCommand");
|
|
19
24
|
const GetRecommendationsCommand_1 = require("./commands/GetRecommendationsCommand");
|
|
20
25
|
const GetSessionCommand_1 = require("./commands/GetSessionCommand");
|
|
21
26
|
const ListAssistantAssociationsCommand_1 = require("./commands/ListAssistantAssociationsCommand");
|
|
22
27
|
const ListAssistantsCommand_1 = require("./commands/ListAssistantsCommand");
|
|
23
28
|
const ListContentsCommand_1 = require("./commands/ListContentsCommand");
|
|
29
|
+
const ListImportJobsCommand_1 = require("./commands/ListImportJobsCommand");
|
|
24
30
|
const ListKnowledgeBasesCommand_1 = require("./commands/ListKnowledgeBasesCommand");
|
|
31
|
+
const ListQuickResponsesCommand_1 = require("./commands/ListQuickResponsesCommand");
|
|
25
32
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
26
33
|
const NotifyRecommendationsReceivedCommand_1 = require("./commands/NotifyRecommendationsReceivedCommand");
|
|
27
34
|
const QueryAssistantCommand_1 = require("./commands/QueryAssistantCommand");
|
|
28
35
|
const RemoveKnowledgeBaseTemplateUriCommand_1 = require("./commands/RemoveKnowledgeBaseTemplateUriCommand");
|
|
29
36
|
const SearchContentCommand_1 = require("./commands/SearchContentCommand");
|
|
37
|
+
const SearchQuickResponsesCommand_1 = require("./commands/SearchQuickResponsesCommand");
|
|
30
38
|
const SearchSessionsCommand_1 = require("./commands/SearchSessionsCommand");
|
|
31
39
|
const StartContentUploadCommand_1 = require("./commands/StartContentUploadCommand");
|
|
40
|
+
const StartImportJobCommand_1 = require("./commands/StartImportJobCommand");
|
|
32
41
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
42
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
34
43
|
const UpdateContentCommand_1 = require("./commands/UpdateContentCommand");
|
|
35
44
|
const UpdateKnowledgeBaseTemplateUriCommand_1 = require("./commands/UpdateKnowledgeBaseTemplateUriCommand");
|
|
45
|
+
const UpdateQuickResponseCommand_1 = require("./commands/UpdateQuickResponseCommand");
|
|
36
46
|
const WisdomClient_1 = require("./WisdomClient");
|
|
37
47
|
const commands = {
|
|
38
48
|
CreateAssistantCommand: CreateAssistantCommand_1.CreateAssistantCommand,
|
|
39
49
|
CreateAssistantAssociationCommand: CreateAssistantAssociationCommand_1.CreateAssistantAssociationCommand,
|
|
40
50
|
CreateContentCommand: CreateContentCommand_1.CreateContentCommand,
|
|
41
51
|
CreateKnowledgeBaseCommand: CreateKnowledgeBaseCommand_1.CreateKnowledgeBaseCommand,
|
|
52
|
+
CreateQuickResponseCommand: CreateQuickResponseCommand_1.CreateQuickResponseCommand,
|
|
42
53
|
CreateSessionCommand: CreateSessionCommand_1.CreateSessionCommand,
|
|
43
54
|
DeleteAssistantCommand: DeleteAssistantCommand_1.DeleteAssistantCommand,
|
|
44
55
|
DeleteAssistantAssociationCommand: DeleteAssistantAssociationCommand_1.DeleteAssistantAssociationCommand,
|
|
45
56
|
DeleteContentCommand: DeleteContentCommand_1.DeleteContentCommand,
|
|
57
|
+
DeleteImportJobCommand: DeleteImportJobCommand_1.DeleteImportJobCommand,
|
|
46
58
|
DeleteKnowledgeBaseCommand: DeleteKnowledgeBaseCommand_1.DeleteKnowledgeBaseCommand,
|
|
59
|
+
DeleteQuickResponseCommand: DeleteQuickResponseCommand_1.DeleteQuickResponseCommand,
|
|
47
60
|
GetAssistantCommand: GetAssistantCommand_1.GetAssistantCommand,
|
|
48
61
|
GetAssistantAssociationCommand: GetAssistantAssociationCommand_1.GetAssistantAssociationCommand,
|
|
49
62
|
GetContentCommand: GetContentCommand_1.GetContentCommand,
|
|
50
63
|
GetContentSummaryCommand: GetContentSummaryCommand_1.GetContentSummaryCommand,
|
|
64
|
+
GetImportJobCommand: GetImportJobCommand_1.GetImportJobCommand,
|
|
51
65
|
GetKnowledgeBaseCommand: GetKnowledgeBaseCommand_1.GetKnowledgeBaseCommand,
|
|
66
|
+
GetQuickResponseCommand: GetQuickResponseCommand_1.GetQuickResponseCommand,
|
|
52
67
|
GetRecommendationsCommand: GetRecommendationsCommand_1.GetRecommendationsCommand,
|
|
53
68
|
GetSessionCommand: GetSessionCommand_1.GetSessionCommand,
|
|
54
69
|
ListAssistantAssociationsCommand: ListAssistantAssociationsCommand_1.ListAssistantAssociationsCommand,
|
|
55
70
|
ListAssistantsCommand: ListAssistantsCommand_1.ListAssistantsCommand,
|
|
56
71
|
ListContentsCommand: ListContentsCommand_1.ListContentsCommand,
|
|
72
|
+
ListImportJobsCommand: ListImportJobsCommand_1.ListImportJobsCommand,
|
|
57
73
|
ListKnowledgeBasesCommand: ListKnowledgeBasesCommand_1.ListKnowledgeBasesCommand,
|
|
74
|
+
ListQuickResponsesCommand: ListQuickResponsesCommand_1.ListQuickResponsesCommand,
|
|
58
75
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
59
76
|
NotifyRecommendationsReceivedCommand: NotifyRecommendationsReceivedCommand_1.NotifyRecommendationsReceivedCommand,
|
|
60
77
|
QueryAssistantCommand: QueryAssistantCommand_1.QueryAssistantCommand,
|
|
61
78
|
RemoveKnowledgeBaseTemplateUriCommand: RemoveKnowledgeBaseTemplateUriCommand_1.RemoveKnowledgeBaseTemplateUriCommand,
|
|
62
79
|
SearchContentCommand: SearchContentCommand_1.SearchContentCommand,
|
|
80
|
+
SearchQuickResponsesCommand: SearchQuickResponsesCommand_1.SearchQuickResponsesCommand,
|
|
63
81
|
SearchSessionsCommand: SearchSessionsCommand_1.SearchSessionsCommand,
|
|
64
82
|
StartContentUploadCommand: StartContentUploadCommand_1.StartContentUploadCommand,
|
|
83
|
+
StartImportJobCommand: StartImportJobCommand_1.StartImportJobCommand,
|
|
65
84
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
66
85
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
67
86
|
UpdateContentCommand: UpdateContentCommand_1.UpdateContentCommand,
|
|
68
87
|
UpdateKnowledgeBaseTemplateUriCommand: UpdateKnowledgeBaseTemplateUriCommand_1.UpdateKnowledgeBaseTemplateUriCommand,
|
|
88
|
+
UpdateQuickResponseCommand: UpdateQuickResponseCommand_1.UpdateQuickResponseCommand,
|
|
69
89
|
};
|
|
70
90
|
class Wisdom extends WisdomClient_1.WisdomClient {
|
|
71
91
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateQuickResponseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class CreateQuickResponseCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateQuickResponseCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "WisdomClient";
|
|
30
|
+
const commandName = "CreateQuickResponseCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CreateQuickResponseRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.CreateQuickResponseResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "WisdomService",
|
|
39
|
+
operation: "CreateQuickResponse",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_CreateQuickResponseCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_CreateQuickResponseCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.CreateQuickResponseCommand = CreateQuickResponseCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteImportJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteImportJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteImportJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "WisdomClient";
|
|
29
|
+
const commandName = "DeleteImportJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "WisdomService",
|
|
38
|
+
operation: "DeleteImportJob",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteImportJobCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteImportJobCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteImportJobCommand = DeleteImportJobCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteQuickResponseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteQuickResponseCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteQuickResponseCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "WisdomClient";
|
|
29
|
+
const commandName = "DeleteQuickResponseCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "WisdomService",
|
|
38
|
+
operation: "DeleteQuickResponse",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteQuickResponseCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteQuickResponseCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteQuickResponseCommand = DeleteQuickResponseCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetImportJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetImportJobCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImportJobCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "WisdomClient";
|
|
30
|
+
const commandName = "GetImportJobCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetImportJobResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "WisdomService",
|
|
39
|
+
operation: "GetImportJob",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetImportJobCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetImportJobCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetImportJobCommand = GetImportJobCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetQuickResponseCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class GetQuickResponseCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetQuickResponseCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "WisdomClient";
|
|
30
|
+
const commandName = "GetQuickResponseCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.GetQuickResponseResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "WisdomService",
|
|
39
|
+
operation: "GetQuickResponse",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_GetQuickResponseCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_GetQuickResponseCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GetQuickResponseCommand = GetQuickResponseCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListImportJobsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListImportJobsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImportJobsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "WisdomClient";
|
|
29
|
+
const commandName = "ListImportJobsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "WisdomService",
|
|
38
|
+
operation: "ListImportJobs",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListImportJobsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListImportJobsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListImportJobsCommand = ListImportJobsCommand;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListQuickResponsesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class ListQuickResponsesCommand extends smithy_client_1.Command {
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
constructor(input) {
|
|
21
|
+
super();
|
|
22
|
+
this.input = input;
|
|
23
|
+
}
|
|
24
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
25
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListQuickResponsesCommand.getEndpointParameterInstructions()));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "WisdomClient";
|
|
30
|
+
const commandName = "ListQuickResponsesCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.ListQuickResponsesResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "WisdomService",
|
|
39
|
+
operation: "ListQuickResponses",
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
const { requestHandler } = configuration;
|
|
43
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
+
}
|
|
45
|
+
serialize(input, context) {
|
|
46
|
+
return (0, Aws_restJson1_1.se_ListQuickResponsesCommand)(input, context);
|
|
47
|
+
}
|
|
48
|
+
deserialize(output, context) {
|
|
49
|
+
return (0, Aws_restJson1_1.de_ListQuickResponsesCommand)(output, context);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.ListQuickResponsesCommand = ListQuickResponsesCommand;
|