@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.
- package/README.md +111 -31
- 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 +3 -3
package/dist-types/Wisdom.d.ts
CHANGED
|
@@ -3,33 +3,43 @@ import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationComma
|
|
|
3
3
|
import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
|
|
4
4
|
import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
|
|
5
5
|
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
6
|
+
import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
|
|
6
7
|
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
7
8
|
import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
|
|
8
9
|
import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
|
|
9
10
|
import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
|
|
11
|
+
import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
|
|
10
12
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
13
|
+
import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
|
|
11
14
|
import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
|
|
12
15
|
import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
|
|
13
16
|
import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetContentCommand";
|
|
14
17
|
import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
|
|
18
|
+
import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
|
|
15
19
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
20
|
+
import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
|
|
16
21
|
import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
17
22
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
18
23
|
import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
|
|
19
24
|
import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
|
|
20
25
|
import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
|
|
26
|
+
import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
|
|
21
27
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
28
|
+
import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
22
29
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
30
|
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
24
31
|
import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
|
|
25
32
|
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
26
33
|
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
34
|
+
import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
|
|
27
35
|
import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
|
|
28
36
|
import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
|
|
37
|
+
import { StartImportJobCommandInput, StartImportJobCommandOutput } from "./commands/StartImportJobCommand";
|
|
29
38
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
30
39
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
40
|
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
32
41
|
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
42
|
+
import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
|
|
33
43
|
import { WisdomClient } from "./WisdomClient";
|
|
34
44
|
export interface Wisdom {
|
|
35
45
|
/**
|
|
@@ -56,6 +66,12 @@ export interface Wisdom {
|
|
|
56
66
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
57
67
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
58
68
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link CreateQuickResponseCommand}
|
|
71
|
+
*/
|
|
72
|
+
createQuickResponse(args: CreateQuickResponseCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuickResponseCommandOutput>;
|
|
73
|
+
createQuickResponse(args: CreateQuickResponseCommandInput, cb: (err: any, data?: CreateQuickResponseCommandOutput) => void): void;
|
|
74
|
+
createQuickResponse(args: CreateQuickResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQuickResponseCommandOutput) => void): void;
|
|
59
75
|
/**
|
|
60
76
|
* @see {@link CreateSessionCommand}
|
|
61
77
|
*/
|
|
@@ -80,12 +96,24 @@ export interface Wisdom {
|
|
|
80
96
|
deleteContent(args: DeleteContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContentCommandOutput>;
|
|
81
97
|
deleteContent(args: DeleteContentCommandInput, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
82
98
|
deleteContent(args: DeleteContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link DeleteImportJobCommand}
|
|
101
|
+
*/
|
|
102
|
+
deleteImportJob(args: DeleteImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteImportJobCommandOutput>;
|
|
103
|
+
deleteImportJob(args: DeleteImportJobCommandInput, cb: (err: any, data?: DeleteImportJobCommandOutput) => void): void;
|
|
104
|
+
deleteImportJob(args: DeleteImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImportJobCommandOutput) => void): void;
|
|
83
105
|
/**
|
|
84
106
|
* @see {@link DeleteKnowledgeBaseCommand}
|
|
85
107
|
*/
|
|
86
108
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
87
109
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
88
110
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link DeleteQuickResponseCommand}
|
|
113
|
+
*/
|
|
114
|
+
deleteQuickResponse(args: DeleteQuickResponseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQuickResponseCommandOutput>;
|
|
115
|
+
deleteQuickResponse(args: DeleteQuickResponseCommandInput, cb: (err: any, data?: DeleteQuickResponseCommandOutput) => void): void;
|
|
116
|
+
deleteQuickResponse(args: DeleteQuickResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQuickResponseCommandOutput) => void): void;
|
|
89
117
|
/**
|
|
90
118
|
* @see {@link GetAssistantCommand}
|
|
91
119
|
*/
|
|
@@ -110,12 +138,24 @@ export interface Wisdom {
|
|
|
110
138
|
getContentSummary(args: GetContentSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetContentSummaryCommandOutput>;
|
|
111
139
|
getContentSummary(args: GetContentSummaryCommandInput, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
112
140
|
getContentSummary(args: GetContentSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
141
|
+
/**
|
|
142
|
+
* @see {@link GetImportJobCommand}
|
|
143
|
+
*/
|
|
144
|
+
getImportJob(args: GetImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetImportJobCommandOutput>;
|
|
145
|
+
getImportJob(args: GetImportJobCommandInput, cb: (err: any, data?: GetImportJobCommandOutput) => void): void;
|
|
146
|
+
getImportJob(args: GetImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportJobCommandOutput) => void): void;
|
|
113
147
|
/**
|
|
114
148
|
* @see {@link GetKnowledgeBaseCommand}
|
|
115
149
|
*/
|
|
116
150
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
117
151
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
118
152
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link GetQuickResponseCommand}
|
|
155
|
+
*/
|
|
156
|
+
getQuickResponse(args: GetQuickResponseCommandInput, options?: __HttpHandlerOptions): Promise<GetQuickResponseCommandOutput>;
|
|
157
|
+
getQuickResponse(args: GetQuickResponseCommandInput, cb: (err: any, data?: GetQuickResponseCommandOutput) => void): void;
|
|
158
|
+
getQuickResponse(args: GetQuickResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQuickResponseCommandOutput) => void): void;
|
|
119
159
|
/**
|
|
120
160
|
* @see {@link GetRecommendationsCommand}
|
|
121
161
|
*/
|
|
@@ -146,12 +186,24 @@ export interface Wisdom {
|
|
|
146
186
|
listContents(args: ListContentsCommandInput, options?: __HttpHandlerOptions): Promise<ListContentsCommandOutput>;
|
|
147
187
|
listContents(args: ListContentsCommandInput, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
148
188
|
listContents(args: ListContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link ListImportJobsCommand}
|
|
191
|
+
*/
|
|
192
|
+
listImportJobs(args: ListImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportJobsCommandOutput>;
|
|
193
|
+
listImportJobs(args: ListImportJobsCommandInput, cb: (err: any, data?: ListImportJobsCommandOutput) => void): void;
|
|
194
|
+
listImportJobs(args: ListImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportJobsCommandOutput) => void): void;
|
|
149
195
|
/**
|
|
150
196
|
* @see {@link ListKnowledgeBasesCommand}
|
|
151
197
|
*/
|
|
152
198
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
|
|
153
199
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
154
200
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
201
|
+
/**
|
|
202
|
+
* @see {@link ListQuickResponsesCommand}
|
|
203
|
+
*/
|
|
204
|
+
listQuickResponses(args: ListQuickResponsesCommandInput, options?: __HttpHandlerOptions): Promise<ListQuickResponsesCommandOutput>;
|
|
205
|
+
listQuickResponses(args: ListQuickResponsesCommandInput, cb: (err: any, data?: ListQuickResponsesCommandOutput) => void): void;
|
|
206
|
+
listQuickResponses(args: ListQuickResponsesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQuickResponsesCommandOutput) => void): void;
|
|
155
207
|
/**
|
|
156
208
|
* @see {@link ListTagsForResourceCommand}
|
|
157
209
|
*/
|
|
@@ -182,6 +234,12 @@ export interface Wisdom {
|
|
|
182
234
|
searchContent(args: SearchContentCommandInput, options?: __HttpHandlerOptions): Promise<SearchContentCommandOutput>;
|
|
183
235
|
searchContent(args: SearchContentCommandInput, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
184
236
|
searchContent(args: SearchContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link SearchQuickResponsesCommand}
|
|
239
|
+
*/
|
|
240
|
+
searchQuickResponses(args: SearchQuickResponsesCommandInput, options?: __HttpHandlerOptions): Promise<SearchQuickResponsesCommandOutput>;
|
|
241
|
+
searchQuickResponses(args: SearchQuickResponsesCommandInput, cb: (err: any, data?: SearchQuickResponsesCommandOutput) => void): void;
|
|
242
|
+
searchQuickResponses(args: SearchQuickResponsesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQuickResponsesCommandOutput) => void): void;
|
|
185
243
|
/**
|
|
186
244
|
* @see {@link SearchSessionsCommand}
|
|
187
245
|
*/
|
|
@@ -194,6 +252,12 @@ export interface Wisdom {
|
|
|
194
252
|
startContentUpload(args: StartContentUploadCommandInput, options?: __HttpHandlerOptions): Promise<StartContentUploadCommandOutput>;
|
|
195
253
|
startContentUpload(args: StartContentUploadCommandInput, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
196
254
|
startContentUpload(args: StartContentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
255
|
+
/**
|
|
256
|
+
* @see {@link StartImportJobCommand}
|
|
257
|
+
*/
|
|
258
|
+
startImportJob(args: StartImportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartImportJobCommandOutput>;
|
|
259
|
+
startImportJob(args: StartImportJobCommandInput, cb: (err: any, data?: StartImportJobCommandOutput) => void): void;
|
|
260
|
+
startImportJob(args: StartImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportJobCommandOutput) => void): void;
|
|
197
261
|
/**
|
|
198
262
|
* @see {@link TagResourceCommand}
|
|
199
263
|
*/
|
|
@@ -218,6 +282,12 @@ export interface Wisdom {
|
|
|
218
282
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
|
|
219
283
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
220
284
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
285
|
+
/**
|
|
286
|
+
* @see {@link UpdateQuickResponseCommand}
|
|
287
|
+
*/
|
|
288
|
+
updateQuickResponse(args: UpdateQuickResponseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuickResponseCommandOutput>;
|
|
289
|
+
updateQuickResponse(args: UpdateQuickResponseCommandInput, cb: (err: any, data?: UpdateQuickResponseCommandOutput) => void): void;
|
|
290
|
+
updateQuickResponse(args: UpdateQuickResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQuickResponseCommandOutput) => void): void;
|
|
221
291
|
}
|
|
222
292
|
/**
|
|
223
293
|
* @public
|
|
@@ -12,44 +12,54 @@ import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationComma
|
|
|
12
12
|
import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
|
|
13
13
|
import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
|
|
14
14
|
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
15
|
+
import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "./commands/CreateQuickResponseCommand";
|
|
15
16
|
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
16
17
|
import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
|
|
17
18
|
import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
|
|
18
19
|
import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
|
|
20
|
+
import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "./commands/DeleteImportJobCommand";
|
|
19
21
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
22
|
+
import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "./commands/DeleteQuickResponseCommand";
|
|
20
23
|
import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
|
|
21
24
|
import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
|
|
22
25
|
import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetContentCommand";
|
|
23
26
|
import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
|
|
27
|
+
import { GetImportJobCommandInput, GetImportJobCommandOutput } from "./commands/GetImportJobCommand";
|
|
24
28
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
29
|
+
import { GetQuickResponseCommandInput, GetQuickResponseCommandOutput } from "./commands/GetQuickResponseCommand";
|
|
25
30
|
import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
26
31
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
27
32
|
import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
|
|
28
33
|
import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
|
|
29
34
|
import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
|
|
35
|
+
import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "./commands/ListImportJobsCommand";
|
|
30
36
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
37
|
+
import { ListQuickResponsesCommandInput, ListQuickResponsesCommandOutput } from "./commands/ListQuickResponsesCommand";
|
|
31
38
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
32
39
|
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
33
40
|
import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
|
|
34
41
|
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
35
42
|
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
43
|
+
import { SearchQuickResponsesCommandInput, SearchQuickResponsesCommandOutput } from "./commands/SearchQuickResponsesCommand";
|
|
36
44
|
import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
|
|
37
45
|
import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
|
|
46
|
+
import { StartImportJobCommandInput, StartImportJobCommandOutput } from "./commands/StartImportJobCommand";
|
|
38
47
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
39
48
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
49
|
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
41
50
|
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
51
|
+
import { UpdateQuickResponseCommandInput, UpdateQuickResponseCommandOutput } from "./commands/UpdateQuickResponseCommand";
|
|
42
52
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
43
53
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
44
54
|
export { __Client };
|
|
45
55
|
/**
|
|
46
56
|
* @public
|
|
47
57
|
*/
|
|
48
|
-
export type ServiceInputTypes = CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateSessionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentCommandInput | DeleteKnowledgeBaseCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetKnowledgeBaseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentsCommandInput | ListKnowledgeBasesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | QueryAssistantCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput;
|
|
58
|
+
export type ServiceInputTypes = CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateQuickResponseCommandInput | CreateSessionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentCommandInput | DeleteImportJobCommandInput | DeleteKnowledgeBaseCommandInput | DeleteQuickResponseCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetImportJobCommandInput | GetKnowledgeBaseCommandInput | GetQuickResponseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentsCommandInput | ListImportJobsCommandInput | ListKnowledgeBasesCommandInput | ListQuickResponsesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | QueryAssistantCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchQuickResponsesCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | StartImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput | UpdateQuickResponseCommandInput;
|
|
49
59
|
/**
|
|
50
60
|
* @public
|
|
51
61
|
*/
|
|
52
|
-
export type ServiceOutputTypes = CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateSessionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentCommandOutput | DeleteKnowledgeBaseCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetKnowledgeBaseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentsCommandOutput | ListKnowledgeBasesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | QueryAssistantCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput;
|
|
62
|
+
export type ServiceOutputTypes = CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateQuickResponseCommandOutput | CreateSessionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentCommandOutput | DeleteImportJobCommandOutput | DeleteKnowledgeBaseCommandOutput | DeleteQuickResponseCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetImportJobCommandOutput | GetKnowledgeBaseCommandOutput | GetQuickResponseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentsCommandOutput | ListImportJobsCommandOutput | ListKnowledgeBasesCommandOutput | ListQuickResponsesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | QueryAssistantCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchQuickResponsesCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | StartImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput | UpdateQuickResponseCommandOutput;
|
|
53
63
|
/**
|
|
54
64
|
* @public
|
|
55
65
|
*/
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateQuickResponseRequest, CreateQuickResponseResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateQuickResponseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateQuickResponseCommandInput extends CreateQuickResponseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateQuickResponseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateQuickResponseCommandOutput extends CreateQuickResponseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a Wisdom quick response.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WisdomClient, CreateQuickResponseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
31
|
+
* // const { WisdomClient, CreateQuickResponseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
32
|
+
* const client = new WisdomClient(config);
|
|
33
|
+
* const input = { // CreateQuickResponseRequest
|
|
34
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE", // required
|
|
36
|
+
* content: { // QuickResponseDataProvider Union: only one key present
|
|
37
|
+
* content: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* contentType: "STRING_VALUE",
|
|
40
|
+
* groupingConfiguration: { // GroupingConfiguration
|
|
41
|
+
* criteria: "STRING_VALUE",
|
|
42
|
+
* values: [ // GroupingValues
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* description: "STRING_VALUE",
|
|
47
|
+
* shortcutKey: "STRING_VALUE",
|
|
48
|
+
* isActive: true || false,
|
|
49
|
+
* channels: [ // Channels
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* language: "STRING_VALUE",
|
|
53
|
+
* clientToken: "STRING_VALUE",
|
|
54
|
+
* tags: { // Tags
|
|
55
|
+
* "<keys>": "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateQuickResponseCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateQuickResponseResponse
|
|
61
|
+
* // quickResponse: { // QuickResponseData
|
|
62
|
+
* // quickResponseArn: "STRING_VALUE", // required
|
|
63
|
+
* // quickResponseId: "STRING_VALUE", // required
|
|
64
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
65
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
66
|
+
* // name: "STRING_VALUE", // required
|
|
67
|
+
* // contentType: "STRING_VALUE", // required
|
|
68
|
+
* // status: "STRING_VALUE", // required
|
|
69
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // contents: { // QuickResponseContents
|
|
72
|
+
* // plainText: { // QuickResponseContentProvider Union: only one key present
|
|
73
|
+
* // content: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // markdown: {// Union: only one key present
|
|
76
|
+
* // content: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // description: "STRING_VALUE",
|
|
80
|
+
* // groupingConfiguration: { // GroupingConfiguration
|
|
81
|
+
* // criteria: "STRING_VALUE",
|
|
82
|
+
* // values: [ // GroupingValues
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // },
|
|
86
|
+
* // shortcutKey: "STRING_VALUE",
|
|
87
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
88
|
+
* // isActive: true || false,
|
|
89
|
+
* // channels: [ // Channels
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // language: "STRING_VALUE",
|
|
93
|
+
* // tags: { // Tags
|
|
94
|
+
* // "<keys>": "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // };
|
|
98
|
+
*
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @param CreateQuickResponseCommandInput - {@link CreateQuickResponseCommandInput}
|
|
102
|
+
* @returns {@link CreateQuickResponseCommandOutput}
|
|
103
|
+
* @see {@link CreateQuickResponseCommandInput} for command's `input` shape.
|
|
104
|
+
* @see {@link CreateQuickResponseCommandOutput} for command's `response` shape.
|
|
105
|
+
* @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
108
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ConflictException} (client fault)
|
|
111
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
112
|
+
* resource. For example, if you're using a <code>Create</code> API (such as
|
|
113
|
+
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
114
|
+
* same name) is being created or mutated.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
|
+
* <p>The specified resource does not exist.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
120
|
+
* <p>You've exceeded your service quota. To perform the requested action, remove some of the
|
|
121
|
+
* relevant resources, or use service quotas to request a service quota increase.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ValidationException} (client fault)
|
|
124
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link WisdomServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from Wisdom service.</p>
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
export declare class CreateQuickResponseCommand extends $Command<CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput, WisdomClientResolvedConfig> {
|
|
131
|
+
readonly input: CreateQuickResponseCommandInput;
|
|
132
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
constructor(input: CreateQuickResponseCommandInput);
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput>;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
private serialize;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
private deserialize;
|
|
149
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteImportJobRequest, DeleteImportJobResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteImportJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteImportJobCommandInput extends DeleteImportJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteImportJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteImportJobCommandOutput extends DeleteImportJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the quick response import job.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WisdomClient, DeleteImportJobCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
31
|
+
* // const { WisdomClient, DeleteImportJobCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
32
|
+
* const client = new WisdomClient(config);
|
|
33
|
+
* const input = { // DeleteImportJobRequest
|
|
34
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
35
|
+
* importJobId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteImportJobCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteImportJobCommandInput - {@link DeleteImportJobCommandInput}
|
|
44
|
+
* @returns {@link DeleteImportJobCommandOutput}
|
|
45
|
+
* @see {@link DeleteImportJobCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteImportJobCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ConflictException} (client fault)
|
|
53
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
54
|
+
* resource. For example, if you're using a <code>Create</code> API (such as
|
|
55
|
+
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
56
|
+
* same name) is being created or mutated.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link WisdomServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Wisdom service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeleteImportJobCommand extends $Command<DeleteImportJobCommandInput, DeleteImportJobCommandOutput, WisdomClientResolvedConfig> {
|
|
69
|
+
readonly input: DeleteImportJobCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: DeleteImportJobCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteImportJobCommandInput, DeleteImportJobCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteQuickResponseRequest, DeleteQuickResponseResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteQuickResponseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteQuickResponseCommandInput extends DeleteQuickResponseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteQuickResponseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteQuickResponseCommandOutput extends DeleteQuickResponseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a quick response.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WisdomClient, DeleteQuickResponseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
31
|
+
* // const { WisdomClient, DeleteQuickResponseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
32
|
+
* const client = new WisdomClient(config);
|
|
33
|
+
* const input = { // DeleteQuickResponseRequest
|
|
34
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
35
|
+
* quickResponseId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteQuickResponseCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteQuickResponseCommandInput - {@link DeleteQuickResponseCommandInput}
|
|
44
|
+
* @returns {@link DeleteQuickResponseCommandOutput}
|
|
45
|
+
* @see {@link DeleteQuickResponseCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteQuickResponseCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
53
|
+
* <p>The specified resource does not exist.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link WisdomServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Wisdom service.</p>
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeleteQuickResponseCommand extends $Command<DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput, WisdomClientResolvedConfig> {
|
|
63
|
+
readonly input: DeleteQuickResponseCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: DeleteQuickResponseCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|