@aws-sdk/client-wisdom 3.168.0 → 3.170.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/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/Wisdom.d.ts +161 -33
- package/dist-types/ts3.4/WisdomClient.d.ts +321 -105
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +21 -8
- package/dist-types/ts3.4/commands/index.d.ts +32 -32
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/WisdomServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1216 -1124
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/index.d.ts +8 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +389 -98
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-wisdom
|
|
@@ -32,130 +32,258 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
32
32
|
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
33
33
|
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
34
34
|
import { WisdomClient } from "./WisdomClient";
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively
|
|
37
|
+
* speaking with customers. Agents can search across connected repositories from within their agent desktop
|
|
38
|
+
* to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p>
|
|
39
|
+
*/
|
|
36
40
|
export declare class Wisdom extends WisdomClient {
|
|
37
|
-
|
|
41
|
+
/**
|
|
42
|
+
* <p>Creates an Amazon Connect Wisdom assistant.</p>
|
|
43
|
+
*/
|
|
38
44
|
createAssistant(args: CreateAssistantCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantCommandOutput>;
|
|
39
45
|
createAssistant(args: CreateAssistantCommandInput, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
40
46
|
createAssistant(args: CreateAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
41
|
-
|
|
47
|
+
/**
|
|
48
|
+
* <p>Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the
|
|
49
|
+
* only supported association is with a knowledge base. An assistant can have only a single
|
|
50
|
+
* association.</p>
|
|
51
|
+
*/
|
|
42
52
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantAssociationCommandOutput>;
|
|
43
53
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
44
54
|
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
45
|
-
|
|
55
|
+
/**
|
|
56
|
+
* <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
|
|
57
|
+
* upload an asset.</p>
|
|
58
|
+
*/
|
|
46
59
|
createContent(args: CreateContentCommandInput, options?: __HttpHandlerOptions): Promise<CreateContentCommandOutput>;
|
|
47
60
|
createContent(args: CreateContentCommandInput, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
48
61
|
createContent(args: CreateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
49
|
-
|
|
62
|
+
/**
|
|
63
|
+
* <p>Creates a knowledge base.</p>
|
|
64
|
+
* <note>
|
|
65
|
+
* <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
|
|
66
|
+
* DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
|
|
67
|
+
* you'll get an <code>InvalidRequestException</code> error. </p>
|
|
68
|
+
*
|
|
69
|
+
* <p>For example, you're programmatically managing your external knowledge base, and you want
|
|
70
|
+
* to add or remove one of the fields that is being ingested from Salesforce. Do the
|
|
71
|
+
* following:</p>
|
|
72
|
+
* <ol>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <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
|
|
81
|
+
* one.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>Call CreateKnowledgeBase.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* </ol>
|
|
87
|
+
* </note>
|
|
88
|
+
*/
|
|
50
89
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
51
90
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
52
91
|
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
53
|
-
|
|
92
|
+
/**
|
|
93
|
+
* <p>Creates a session. A session is a contextual container used for generating
|
|
94
|
+
* recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is
|
|
95
|
+
* enabled.</p>
|
|
96
|
+
*/
|
|
54
97
|
createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
|
|
55
98
|
createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
56
99
|
createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
57
|
-
|
|
100
|
+
/**
|
|
101
|
+
* <p>Deletes an assistant.</p>
|
|
102
|
+
*/
|
|
58
103
|
deleteAssistant(args: DeleteAssistantCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantCommandOutput>;
|
|
59
104
|
deleteAssistant(args: DeleteAssistantCommandInput, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
60
105
|
deleteAssistant(args: DeleteAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
61
|
-
|
|
106
|
+
/**
|
|
107
|
+
* <p>Deletes an assistant association.</p>
|
|
108
|
+
*/
|
|
62
109
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantAssociationCommandOutput>;
|
|
63
110
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
64
111
|
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
65
|
-
|
|
112
|
+
/**
|
|
113
|
+
* <p>Deletes the content.</p>
|
|
114
|
+
*/
|
|
66
115
|
deleteContent(args: DeleteContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContentCommandOutput>;
|
|
67
116
|
deleteContent(args: DeleteContentCommandInput, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
68
117
|
deleteContent(args: DeleteContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
69
|
-
|
|
118
|
+
/**
|
|
119
|
+
* <p>Deletes the knowledge base.</p>
|
|
120
|
+
* <note>
|
|
121
|
+
* <p>When you use this API to delete an external knowledge base such as Salesforce or
|
|
122
|
+
* ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a> DataIntegration.
|
|
123
|
+
* This is because you can't reuse the DataIntegration after it's been associated with an
|
|
124
|
+
* external knowledge base. However, you can delete and recreate it. See <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
|
|
125
|
+
* Reference</i>.</p>
|
|
126
|
+
* </note>
|
|
127
|
+
*/
|
|
70
128
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
71
129
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
72
130
|
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
73
|
-
|
|
131
|
+
/**
|
|
132
|
+
* <p>Retrieves information about an assistant.</p>
|
|
133
|
+
*/
|
|
74
134
|
getAssistant(args: GetAssistantCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantCommandOutput>;
|
|
75
135
|
getAssistant(args: GetAssistantCommandInput, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
76
136
|
getAssistant(args: GetAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
77
|
-
|
|
137
|
+
/**
|
|
138
|
+
* <p>Retrieves information about an assistant association.</p>
|
|
139
|
+
*/
|
|
78
140
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantAssociationCommandOutput>;
|
|
79
141
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
80
142
|
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
81
|
-
|
|
143
|
+
/**
|
|
144
|
+
* <p>Retrieves content, including a pre-signed URL to download the content.</p>
|
|
145
|
+
*/
|
|
82
146
|
getContent(args: GetContentCommandInput, options?: __HttpHandlerOptions): Promise<GetContentCommandOutput>;
|
|
83
147
|
getContent(args: GetContentCommandInput, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
84
148
|
getContent(args: GetContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
85
|
-
|
|
149
|
+
/**
|
|
150
|
+
* <p>Retrieves summary information about the content.</p>
|
|
151
|
+
*/
|
|
86
152
|
getContentSummary(args: GetContentSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetContentSummaryCommandOutput>;
|
|
87
153
|
getContentSummary(args: GetContentSummaryCommandInput, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
88
154
|
getContentSummary(args: GetContentSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
89
|
-
|
|
155
|
+
/**
|
|
156
|
+
* <p>Retrieves information about the knowledge base.</p>
|
|
157
|
+
*/
|
|
90
158
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
91
159
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
92
160
|
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
93
|
-
|
|
161
|
+
/**
|
|
162
|
+
* <p>Retrieves recommendations for the specified session. To avoid retrieving the same
|
|
163
|
+
* 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
|
|
164
|
+
* <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns
|
|
165
|
+
* 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>
|
|
166
|
+
*/
|
|
94
167
|
getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
|
|
95
168
|
getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
96
169
|
getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
97
|
-
|
|
170
|
+
/**
|
|
171
|
+
* <p>Retrieves information for a specified session.</p>
|
|
172
|
+
*/
|
|
98
173
|
getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
|
|
99
174
|
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
100
175
|
getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
101
|
-
|
|
176
|
+
/**
|
|
177
|
+
* <p>Lists information about assistant associations.</p>
|
|
178
|
+
*/
|
|
102
179
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantAssociationsCommandOutput>;
|
|
103
180
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
104
181
|
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
105
|
-
|
|
182
|
+
/**
|
|
183
|
+
* <p>Lists information about assistants.</p>
|
|
184
|
+
*/
|
|
106
185
|
listAssistants(args: ListAssistantsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantsCommandOutput>;
|
|
107
186
|
listAssistants(args: ListAssistantsCommandInput, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
108
187
|
listAssistants(args: ListAssistantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
109
|
-
|
|
188
|
+
/**
|
|
189
|
+
* <p>Lists the content.</p>
|
|
190
|
+
*/
|
|
110
191
|
listContents(args: ListContentsCommandInput, options?: __HttpHandlerOptions): Promise<ListContentsCommandOutput>;
|
|
111
192
|
listContents(args: ListContentsCommandInput, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
112
193
|
listContents(args: ListContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
113
|
-
|
|
194
|
+
/**
|
|
195
|
+
* <p>Lists the knowledge bases.</p>
|
|
196
|
+
*/
|
|
114
197
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
|
|
115
198
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
116
199
|
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
117
|
-
|
|
200
|
+
/**
|
|
201
|
+
* <p>Lists the tags for the specified resource.</p>
|
|
202
|
+
*/
|
|
118
203
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
119
204
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
120
205
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
121
|
-
|
|
206
|
+
/**
|
|
207
|
+
* <p>Removes the specified recommendations from the specified assistant's queue of newly
|
|
208
|
+
* 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
|
|
209
|
+
* behavior and avoiding duplicate recommendations.</p>
|
|
210
|
+
*/
|
|
122
211
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options?: __HttpHandlerOptions): Promise<NotifyRecommendationsReceivedCommandOutput>;
|
|
123
212
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
124
213
|
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
125
|
-
|
|
214
|
+
/**
|
|
215
|
+
* <p>Submits feedback to Wisdom. The feedback is used to improve future recommendations from
|
|
216
|
+
* <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a> or
|
|
217
|
+
* results from <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html">QueryAssistant</a>.
|
|
218
|
+
* Feedback can be resubmitted up to 6 hours after submission.
|
|
219
|
+
* </p>
|
|
220
|
+
*/
|
|
126
221
|
putFeedback(args: PutFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<PutFeedbackCommandOutput>;
|
|
127
222
|
putFeedback(args: PutFeedbackCommandInput, cb: (err: any, data?: PutFeedbackCommandOutput) => void): void;
|
|
128
223
|
putFeedback(args: PutFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFeedbackCommandOutput) => void): void;
|
|
129
|
-
|
|
224
|
+
/**
|
|
225
|
+
* <p>Performs a manual search against the specified assistant. To retrieve recommendations for
|
|
226
|
+
* an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.
|
|
227
|
+
* </p>
|
|
228
|
+
*/
|
|
130
229
|
queryAssistant(args: QueryAssistantCommandInput, options?: __HttpHandlerOptions): Promise<QueryAssistantCommandOutput>;
|
|
131
230
|
queryAssistant(args: QueryAssistantCommandInput, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
132
231
|
queryAssistant(args: QueryAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
133
|
-
|
|
232
|
+
/**
|
|
233
|
+
* <p>Removes a URI template from a knowledge base.</p>
|
|
234
|
+
*/
|
|
134
235
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<RemoveKnowledgeBaseTemplateUriCommandOutput>;
|
|
135
236
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
136
237
|
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
137
|
-
|
|
238
|
+
/**
|
|
239
|
+
* <p>Searches for content in a specified knowledge base. Can be used to get a specific content
|
|
240
|
+
* resource by its name.</p>
|
|
241
|
+
*/
|
|
138
242
|
searchContent(args: SearchContentCommandInput, options?: __HttpHandlerOptions): Promise<SearchContentCommandOutput>;
|
|
139
243
|
searchContent(args: SearchContentCommandInput, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
140
244
|
searchContent(args: SearchContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
141
|
-
|
|
245
|
+
/**
|
|
246
|
+
* <p>Searches for sessions.</p>
|
|
247
|
+
*/
|
|
142
248
|
searchSessions(args: SearchSessionsCommandInput, options?: __HttpHandlerOptions): Promise<SearchSessionsCommandOutput>;
|
|
143
249
|
searchSessions(args: SearchSessionsCommandInput, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
144
250
|
searchSessions(args: SearchSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
145
|
-
|
|
251
|
+
/**
|
|
252
|
+
* <p>Get a URL to upload content to a knowledge base. To upload content, first make a PUT
|
|
253
|
+
* request to the returned URL with your file, making sure to include the required headers. Then
|
|
254
|
+
* 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
|
|
255
|
+
* knowledge base of type CUSTOM.</p>
|
|
256
|
+
*/
|
|
146
257
|
startContentUpload(args: StartContentUploadCommandInput, options?: __HttpHandlerOptions): Promise<StartContentUploadCommandOutput>;
|
|
147
258
|
startContentUpload(args: StartContentUploadCommandInput, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
148
259
|
startContentUpload(args: StartContentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
149
|
-
|
|
260
|
+
/**
|
|
261
|
+
* <p>Adds the specified tags to the specified resource.</p>
|
|
262
|
+
*/
|
|
150
263
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
151
264
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
152
265
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
153
|
-
|
|
266
|
+
/**
|
|
267
|
+
* <p>Removes the specified tags from the specified resource.</p>
|
|
268
|
+
*/
|
|
154
269
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
155
270
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
156
271
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
157
|
-
|
|
272
|
+
/**
|
|
273
|
+
* <p>Updates information about the content.</p>
|
|
274
|
+
*/
|
|
158
275
|
updateContent(args: UpdateContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContentCommandOutput>;
|
|
159
276
|
updateContent(args: UpdateContentCommandInput, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
160
277
|
updateContent(args: UpdateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
161
|
-
|
|
278
|
+
/**
|
|
279
|
+
* <p>Updates the template URI of a knowledge base. This is only supported for knowledge bases
|
|
280
|
+
* of type EXTERNAL. Include a single variable in <code>${variable}</code> format; this
|
|
281
|
+
* interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce
|
|
282
|
+
* article, it has an <code>Id</code> value, and you can set the template URI to
|
|
283
|
+
* <code>https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*\/view</code>.
|
|
284
|
+
* </p>
|
|
285
|
+
*/
|
|
286
|
+
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKnowledgeBaseTemplateUriCommandOutput>;
|
|
287
|
+
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
288
|
+
updateKnowledgeBaseTemplateUri(args: UpdateKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
289
|
+
}
|