@aws-sdk/client-wisdom 3.312.0 → 3.316.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/dist-cjs/Wisdom.js +35 -434
- package/dist-cjs/protocols/Aws_restJson1.js +323 -790
- package/dist-es/Wisdom.js +35 -434
- package/dist-es/protocols/Aws_restJson1.js +279 -746
- package/dist-types/Wisdom.d.ts +41 -122
- package/dist-types/ts3.4/Wisdom.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/Wisdom.d.ts
CHANGED
|
@@ -31,281 +31,200 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
31
31
|
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
32
32
|
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
33
33
|
import { WisdomClient } from "./WisdomClient";
|
|
34
|
-
|
|
35
|
-
* @public
|
|
36
|
-
* <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're
|
|
37
|
-
* actively speaking with customers. Agents can search across connected repositories from within
|
|
38
|
-
* their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a
|
|
39
|
-
* knowledge base, for example, or manage content by uploading custom files.</p>
|
|
40
|
-
*/
|
|
41
|
-
export declare class Wisdom extends WisdomClient {
|
|
34
|
+
export interface Wisdom {
|
|
42
35
|
/**
|
|
43
|
-
* @
|
|
44
|
-
* <p>Creates an Amazon Connect Wisdom assistant.</p>
|
|
36
|
+
* @see {@link CreateAssistantCommand}
|
|
45
37
|
*/
|
|
46
38
|
createAssistant(args: CreateAssistantCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantCommandOutput>;
|
|
47
39
|
createAssistant(args: CreateAssistantCommandInput, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
48
40
|
createAssistant(args: CreateAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
49
41
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the
|
|
52
|
-
* only supported association is with a knowledge base. An assistant can have only a single
|
|
53
|
-
* association.</p>
|
|
42
|
+
* @see {@link CreateAssistantAssociationCommand}
|
|
54
43
|
*/
|
|
55
44
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantAssociationCommandOutput>;
|
|
56
45
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
57
46
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
58
47
|
/**
|
|
59
|
-
* @
|
|
60
|
-
* <p>Creates Wisdom content. Before to calling this API, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html">StartContentUpload</a> to
|
|
61
|
-
* upload an asset.</p>
|
|
48
|
+
* @see {@link CreateContentCommand}
|
|
62
49
|
*/
|
|
63
50
|
createContent(args: CreateContentCommandInput, options?: __HttpHandlerOptions): Promise<CreateContentCommandOutput>;
|
|
64
51
|
createContent(args: CreateContentCommandInput, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
65
52
|
createContent(args: CreateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
66
53
|
/**
|
|
67
|
-
* @
|
|
68
|
-
* <p>Creates a knowledge base.</p>
|
|
69
|
-
* <note>
|
|
70
|
-
* <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
|
|
71
|
-
* DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
|
|
72
|
-
* you'll get an <code>InvalidRequestException</code> error. </p>
|
|
73
|
-
* <p>For example, you're programmatically managing your external knowledge base, and you want
|
|
74
|
-
* to add or remove one of the fields that is being ingested from Salesforce. Do the
|
|
75
|
-
* following:</p>
|
|
76
|
-
* <ol>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different
|
|
85
|
-
* one.</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>Call CreateKnowledgeBase.</p>
|
|
89
|
-
* </li>
|
|
90
|
-
* </ol>
|
|
91
|
-
* </note>
|
|
54
|
+
* @see {@link CreateKnowledgeBaseCommand}
|
|
92
55
|
*/
|
|
93
56
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
94
57
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
95
58
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
96
59
|
/**
|
|
97
|
-
* @
|
|
98
|
-
* <p>Creates a session. A session is a contextual container used for generating
|
|
99
|
-
* recommendations. Amazon Connect creates a new Wisdom session for each contact on which
|
|
100
|
-
* Wisdom is enabled.</p>
|
|
60
|
+
* @see {@link CreateSessionCommand}
|
|
101
61
|
*/
|
|
102
62
|
createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
|
|
103
63
|
createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
104
64
|
createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
105
65
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* <p>Deletes an assistant.</p>
|
|
66
|
+
* @see {@link DeleteAssistantCommand}
|
|
108
67
|
*/
|
|
109
68
|
deleteAssistant(args: DeleteAssistantCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantCommandOutput>;
|
|
110
69
|
deleteAssistant(args: DeleteAssistantCommandInput, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
111
70
|
deleteAssistant(args: DeleteAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
112
71
|
/**
|
|
113
|
-
* @
|
|
114
|
-
* <p>Deletes an assistant association.</p>
|
|
72
|
+
* @see {@link DeleteAssistantAssociationCommand}
|
|
115
73
|
*/
|
|
116
74
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantAssociationCommandOutput>;
|
|
117
75
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
118
76
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
119
77
|
/**
|
|
120
|
-
* @
|
|
121
|
-
* <p>Deletes the content.</p>
|
|
78
|
+
* @see {@link DeleteContentCommand}
|
|
122
79
|
*/
|
|
123
80
|
deleteContent(args: DeleteContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContentCommandOutput>;
|
|
124
81
|
deleteContent(args: DeleteContentCommandInput, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
125
82
|
deleteContent(args: DeleteContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
126
83
|
/**
|
|
127
|
-
* @
|
|
128
|
-
* <p>Deletes the knowledge base.</p>
|
|
129
|
-
* <note>
|
|
130
|
-
* <p>When you use this API to delete an external knowledge base such as Salesforce or
|
|
131
|
-
* ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
|
|
132
|
-
* DataIntegration. This is because you can't reuse the DataIntegration after it's been
|
|
133
|
-
* associated with an external knowledge base. However, you can delete and recreate it. See
|
|
134
|
-
* <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
|
|
135
|
-
* Reference</i>.</p>
|
|
136
|
-
* </note>
|
|
84
|
+
* @see {@link DeleteKnowledgeBaseCommand}
|
|
137
85
|
*/
|
|
138
86
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
139
87
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
140
88
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
141
89
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p>Retrieves information about an assistant.</p>
|
|
90
|
+
* @see {@link GetAssistantCommand}
|
|
144
91
|
*/
|
|
145
92
|
getAssistant(args: GetAssistantCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantCommandOutput>;
|
|
146
93
|
getAssistant(args: GetAssistantCommandInput, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
147
94
|
getAssistant(args: GetAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
148
95
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p>Retrieves information about an assistant association.</p>
|
|
96
|
+
* @see {@link GetAssistantAssociationCommand}
|
|
151
97
|
*/
|
|
152
98
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantAssociationCommandOutput>;
|
|
153
99
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
154
100
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
155
101
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>Retrieves content, including a pre-signed URL to download the content.</p>
|
|
102
|
+
* @see {@link GetContentCommand}
|
|
158
103
|
*/
|
|
159
104
|
getContent(args: GetContentCommandInput, options?: __HttpHandlerOptions): Promise<GetContentCommandOutput>;
|
|
160
105
|
getContent(args: GetContentCommandInput, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
161
106
|
getContent(args: GetContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
162
107
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p>Retrieves summary information about the content.</p>
|
|
108
|
+
* @see {@link GetContentSummaryCommand}
|
|
165
109
|
*/
|
|
166
110
|
getContentSummary(args: GetContentSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetContentSummaryCommandOutput>;
|
|
167
111
|
getContentSummary(args: GetContentSummaryCommandInput, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
168
112
|
getContentSummary(args: GetContentSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
169
113
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p>Retrieves information about the knowledge base.</p>
|
|
114
|
+
* @see {@link GetKnowledgeBaseCommand}
|
|
172
115
|
*/
|
|
173
116
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
174
117
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
175
118
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
176
119
|
/**
|
|
177
|
-
* @
|
|
178
|
-
* <p>Retrieves recommendations for the specified session. To avoid retrieving the same
|
|
179
|
-
* recommendations in subsequent calls, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_NotifyRecommendationsReceived.html">NotifyRecommendationsReceived</a>. This API supports long-polling behavior with the
|
|
180
|
-
* <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns
|
|
181
|
-
* recommendations already available. To perform a manual query against an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html">QueryAssistant</a>.</p>
|
|
120
|
+
* @see {@link GetRecommendationsCommand}
|
|
182
121
|
*/
|
|
183
122
|
getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
|
|
184
123
|
getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
185
124
|
getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
186
125
|
/**
|
|
187
|
-
* @
|
|
188
|
-
* <p>Retrieves information for a specified session.</p>
|
|
126
|
+
* @see {@link GetSessionCommand}
|
|
189
127
|
*/
|
|
190
128
|
getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
|
|
191
129
|
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
192
130
|
getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
193
131
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* <p>Lists information about assistant associations.</p>
|
|
132
|
+
* @see {@link ListAssistantAssociationsCommand}
|
|
196
133
|
*/
|
|
197
134
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantAssociationsCommandOutput>;
|
|
198
135
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
199
136
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
200
137
|
/**
|
|
201
|
-
* @
|
|
202
|
-
* <p>Lists information about assistants.</p>
|
|
138
|
+
* @see {@link ListAssistantsCommand}
|
|
203
139
|
*/
|
|
204
140
|
listAssistants(args: ListAssistantsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantsCommandOutput>;
|
|
205
141
|
listAssistants(args: ListAssistantsCommandInput, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
206
142
|
listAssistants(args: ListAssistantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
207
143
|
/**
|
|
208
|
-
* @
|
|
209
|
-
* <p>Lists the content.</p>
|
|
144
|
+
* @see {@link ListContentsCommand}
|
|
210
145
|
*/
|
|
211
146
|
listContents(args: ListContentsCommandInput, options?: __HttpHandlerOptions): Promise<ListContentsCommandOutput>;
|
|
212
147
|
listContents(args: ListContentsCommandInput, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
213
148
|
listContents(args: ListContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
214
149
|
/**
|
|
215
|
-
* @
|
|
216
|
-
* <p>Lists the knowledge bases.</p>
|
|
150
|
+
* @see {@link ListKnowledgeBasesCommand}
|
|
217
151
|
*/
|
|
218
152
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
|
|
219
153
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
220
154
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
221
155
|
/**
|
|
222
|
-
* @
|
|
223
|
-
* <p>Lists the tags for the specified resource.</p>
|
|
156
|
+
* @see {@link ListTagsForResourceCommand}
|
|
224
157
|
*/
|
|
225
158
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
226
159
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
227
160
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
228
161
|
/**
|
|
229
|
-
* @
|
|
230
|
-
* <p>Removes the specified recommendations from the specified assistant's queue of newly
|
|
231
|
-
* available recommendations. You can use this API in conjunction with <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling
|
|
232
|
-
* behavior and avoiding duplicate recommendations.</p>
|
|
162
|
+
* @see {@link NotifyRecommendationsReceivedCommand}
|
|
233
163
|
*/
|
|
234
164
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options?: __HttpHandlerOptions): Promise<NotifyRecommendationsReceivedCommandOutput>;
|
|
235
165
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
236
166
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
237
167
|
/**
|
|
238
|
-
* @
|
|
239
|
-
* <p>Performs a manual search against the specified assistant. To retrieve recommendations for
|
|
240
|
-
* an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
|
|
241
|
-
* </p>
|
|
168
|
+
* @see {@link QueryAssistantCommand}
|
|
242
169
|
*/
|
|
243
170
|
queryAssistant(args: QueryAssistantCommandInput, options?: __HttpHandlerOptions): Promise<QueryAssistantCommandOutput>;
|
|
244
171
|
queryAssistant(args: QueryAssistantCommandInput, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
245
172
|
queryAssistant(args: QueryAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
246
173
|
/**
|
|
247
|
-
* @
|
|
248
|
-
* <p>Removes a URI template from a knowledge base.</p>
|
|
174
|
+
* @see {@link RemoveKnowledgeBaseTemplateUriCommand}
|
|
249
175
|
*/
|
|
250
176
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<RemoveKnowledgeBaseTemplateUriCommandOutput>;
|
|
251
177
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
252
178
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
253
179
|
/**
|
|
254
|
-
* @
|
|
255
|
-
* <p>Searches for content in a specified knowledge base. Can be used to get a specific content
|
|
256
|
-
* resource by its name.</p>
|
|
180
|
+
* @see {@link SearchContentCommand}
|
|
257
181
|
*/
|
|
258
182
|
searchContent(args: SearchContentCommandInput, options?: __HttpHandlerOptions): Promise<SearchContentCommandOutput>;
|
|
259
183
|
searchContent(args: SearchContentCommandInput, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
260
184
|
searchContent(args: SearchContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
261
185
|
/**
|
|
262
|
-
* @
|
|
263
|
-
* <p>Searches for sessions.</p>
|
|
186
|
+
* @see {@link SearchSessionsCommand}
|
|
264
187
|
*/
|
|
265
188
|
searchSessions(args: SearchSessionsCommandInput, options?: __HttpHandlerOptions): Promise<SearchSessionsCommandOutput>;
|
|
266
189
|
searchSessions(args: SearchSessionsCommandInput, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
267
190
|
searchSessions(args: SearchSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
268
191
|
/**
|
|
269
|
-
* @
|
|
270
|
-
* <p>Get a URL to upload content to a knowledge base. To upload content, first make a PUT
|
|
271
|
-
* request to the returned URL with your file, making sure to include the required headers. Then
|
|
272
|
-
* use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_CreateContent.html">CreateContent</a> to finalize the content creation process or <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_UpdateContent.html">UpdateContent</a> to modify an existing resource. You can only upload content to a
|
|
273
|
-
* knowledge base of type CUSTOM.</p>
|
|
192
|
+
* @see {@link StartContentUploadCommand}
|
|
274
193
|
*/
|
|
275
194
|
startContentUpload(args: StartContentUploadCommandInput, options?: __HttpHandlerOptions): Promise<StartContentUploadCommandOutput>;
|
|
276
195
|
startContentUpload(args: StartContentUploadCommandInput, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
277
196
|
startContentUpload(args: StartContentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
278
197
|
/**
|
|
279
|
-
* @
|
|
280
|
-
* <p>Adds the specified tags to the specified resource.</p>
|
|
198
|
+
* @see {@link TagResourceCommand}
|
|
281
199
|
*/
|
|
282
200
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
283
201
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
284
202
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
285
203
|
/**
|
|
286
|
-
* @
|
|
287
|
-
* <p>Removes the specified tags from the specified resource.</p>
|
|
204
|
+
* @see {@link UntagResourceCommand}
|
|
288
205
|
*/
|
|
289
206
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
290
207
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
291
208
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
292
209
|
/**
|
|
293
|
-
* @
|
|
294
|
-
* <p>Updates information about the content.</p>
|
|
210
|
+
* @see {@link UpdateContentCommand}
|
|
295
211
|
*/
|
|
296
212
|
updateContent(args: UpdateContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContentCommandOutput>;
|
|
297
213
|
updateContent(args: UpdateContentCommandInput, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
298
214
|
updateContent(args: UpdateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
299
215
|
/**
|
|
300
|
-
* @
|
|
301
|
-
* <p>Updates the template URI of a knowledge base. This is only supported for knowledge bases
|
|
302
|
-
* of type EXTERNAL. Include a single variable in <code>$\{variable\}</code> format; this
|
|
303
|
-
* interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce
|
|
304
|
-
* article, it has an <code>Id</code> value, and you can set the template URI to
|
|
305
|
-
* <code>https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*$\{Id\}*\/view</code>.
|
|
306
|
-
* </p>
|
|
216
|
+
* @see {@link UpdateKnowledgeBaseTemplateUriCommand}
|
|
307
217
|
*/
|
|
308
218
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
|
|
309
219
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
310
220
|
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
311
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're
|
|
225
|
+
* actively speaking with customers. Agents can search across connected repositories from within
|
|
226
|
+
* their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a
|
|
227
|
+
* knowledge base, for example, or manage content by uploading custom files.</p>
|
|
228
|
+
*/
|
|
229
|
+
export declare class Wisdom extends WisdomClient implements Wisdom {
|
|
230
|
+
}
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
UpdateKnowledgeBaseTemplateUriCommandOutput,
|
|
125
125
|
} from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
126
126
|
import { WisdomClient } from "./WisdomClient";
|
|
127
|
-
export
|
|
127
|
+
export interface Wisdom {
|
|
128
128
|
createAssistant(
|
|
129
129
|
args: CreateAssistantCommandInput,
|
|
130
130
|
options?: __HttpHandlerOptions
|
|
@@ -529,3 +529,4 @@ export declare class Wisdom extends WisdomClient {
|
|
|
529
529
|
cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void
|
|
530
530
|
): void;
|
|
531
531
|
}
|
|
532
|
+
export declare class Wisdom extends WisdomClient implements Wisdom {}
|
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.
|
|
4
|
+
"version": "3.316.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|