@aws-sdk/client-wisdom 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WisdomServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +97 -2
- package/dist-cjs/protocols/Aws_restJson1.js +282 -930
- package/dist-es/index.js +1 -0
- package/dist-es/models/WisdomServiceException.js +12 -0
- package/dist-es/models/models_0.js +88 -1
- package/dist-es/protocols/Aws_restJson1.js +611 -1063
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WisdomServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/Wisdom.d.ts +156 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +104 -0
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +8 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/WisdomServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1235 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,1235 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface AppIntegrationsConfiguration {
|
|
12
|
+
|
|
13
|
+
appIntegrationArn: string | undefined;
|
|
14
|
+
|
|
15
|
+
objectFields: string[] | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace AppIntegrationsConfiguration {
|
|
18
|
+
|
|
19
|
+
const filterSensitiveLog: (obj: AppIntegrationsConfiguration) => any;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare class ConflictException extends __BaseException {
|
|
23
|
+
readonly name: "ConflictException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export declare type AssistantAssociationInputData = AssistantAssociationInputData.KnowledgeBaseIdMember | AssistantAssociationInputData.$UnknownMember;
|
|
30
|
+
export declare namespace AssistantAssociationInputData {
|
|
31
|
+
|
|
32
|
+
interface KnowledgeBaseIdMember {
|
|
33
|
+
knowledgeBaseId: string;
|
|
34
|
+
$unknown?: never;
|
|
35
|
+
}
|
|
36
|
+
interface $UnknownMember {
|
|
37
|
+
knowledgeBaseId?: never;
|
|
38
|
+
$unknown: [
|
|
39
|
+
string,
|
|
40
|
+
any
|
|
41
|
+
];
|
|
42
|
+
}
|
|
43
|
+
interface Visitor<T> {
|
|
44
|
+
knowledgeBaseId: (value: string) => T;
|
|
45
|
+
_: (name: string, value: any) => T;
|
|
46
|
+
}
|
|
47
|
+
const visit: <T>(value: AssistantAssociationInputData, visitor: Visitor<T>) => T;
|
|
48
|
+
|
|
49
|
+
const filterSensitiveLog: (obj: AssistantAssociationInputData) => any;
|
|
50
|
+
}
|
|
51
|
+
export declare enum AssociationType {
|
|
52
|
+
KNOWLEDGE_BASE = "KNOWLEDGE_BASE"
|
|
53
|
+
}
|
|
54
|
+
export interface CreateAssistantAssociationRequest {
|
|
55
|
+
|
|
56
|
+
assistantId: string | undefined;
|
|
57
|
+
|
|
58
|
+
associationType: AssociationType | string | undefined;
|
|
59
|
+
|
|
60
|
+
association: AssistantAssociationInputData | undefined;
|
|
61
|
+
|
|
62
|
+
clientToken?: string;
|
|
63
|
+
|
|
64
|
+
tags?: {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export declare namespace CreateAssistantAssociationRequest {
|
|
69
|
+
|
|
70
|
+
const filterSensitiveLog: (obj: CreateAssistantAssociationRequest) => any;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface KnowledgeBaseAssociationData {
|
|
74
|
+
|
|
75
|
+
knowledgeBaseId?: string;
|
|
76
|
+
|
|
77
|
+
knowledgeBaseArn?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace KnowledgeBaseAssociationData {
|
|
80
|
+
|
|
81
|
+
const filterSensitiveLog: (obj: KnowledgeBaseAssociationData) => any;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export declare type AssistantAssociationOutputData = AssistantAssociationOutputData.KnowledgeBaseAssociationMember | AssistantAssociationOutputData.$UnknownMember;
|
|
85
|
+
export declare namespace AssistantAssociationOutputData {
|
|
86
|
+
|
|
87
|
+
interface KnowledgeBaseAssociationMember {
|
|
88
|
+
knowledgeBaseAssociation: KnowledgeBaseAssociationData;
|
|
89
|
+
$unknown?: never;
|
|
90
|
+
}
|
|
91
|
+
interface $UnknownMember {
|
|
92
|
+
knowledgeBaseAssociation?: never;
|
|
93
|
+
$unknown: [
|
|
94
|
+
string,
|
|
95
|
+
any
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
interface Visitor<T> {
|
|
99
|
+
knowledgeBaseAssociation: (value: KnowledgeBaseAssociationData) => T;
|
|
100
|
+
_: (name: string, value: any) => T;
|
|
101
|
+
}
|
|
102
|
+
const visit: <T>(value: AssistantAssociationOutputData, visitor: Visitor<T>) => T;
|
|
103
|
+
|
|
104
|
+
const filterSensitiveLog: (obj: AssistantAssociationOutputData) => any;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface AssistantAssociationData {
|
|
108
|
+
|
|
109
|
+
assistantAssociationId: string | undefined;
|
|
110
|
+
|
|
111
|
+
assistantAssociationArn: string | undefined;
|
|
112
|
+
|
|
113
|
+
assistantId: string | undefined;
|
|
114
|
+
|
|
115
|
+
assistantArn: string | undefined;
|
|
116
|
+
|
|
117
|
+
associationType: AssociationType | string | undefined;
|
|
118
|
+
|
|
119
|
+
associationData: AssistantAssociationOutputData | undefined;
|
|
120
|
+
|
|
121
|
+
tags?: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export declare namespace AssistantAssociationData {
|
|
126
|
+
|
|
127
|
+
const filterSensitiveLog: (obj: AssistantAssociationData) => any;
|
|
128
|
+
}
|
|
129
|
+
export interface CreateAssistantAssociationResponse {
|
|
130
|
+
|
|
131
|
+
assistantAssociation?: AssistantAssociationData;
|
|
132
|
+
}
|
|
133
|
+
export declare namespace CreateAssistantAssociationResponse {
|
|
134
|
+
|
|
135
|
+
const filterSensitiveLog: (obj: CreateAssistantAssociationResponse) => any;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
139
|
+
readonly name: "ResourceNotFoundException";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
|
|
142
|
+
resourceName?: string;
|
|
143
|
+
|
|
144
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
148
|
+
readonly name: "ServiceQuotaExceededException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
|
|
151
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export declare class ValidationException extends __BaseException {
|
|
155
|
+
readonly name: "ValidationException";
|
|
156
|
+
readonly $fault: "client";
|
|
157
|
+
|
|
158
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
159
|
+
}
|
|
160
|
+
export interface DeleteAssistantAssociationRequest {
|
|
161
|
+
|
|
162
|
+
assistantAssociationId: string | undefined;
|
|
163
|
+
|
|
164
|
+
assistantId: string | undefined;
|
|
165
|
+
}
|
|
166
|
+
export declare namespace DeleteAssistantAssociationRequest {
|
|
167
|
+
|
|
168
|
+
const filterSensitiveLog: (obj: DeleteAssistantAssociationRequest) => any;
|
|
169
|
+
}
|
|
170
|
+
export interface DeleteAssistantAssociationResponse {
|
|
171
|
+
}
|
|
172
|
+
export declare namespace DeleteAssistantAssociationResponse {
|
|
173
|
+
|
|
174
|
+
const filterSensitiveLog: (obj: DeleteAssistantAssociationResponse) => any;
|
|
175
|
+
}
|
|
176
|
+
export interface GetAssistantAssociationRequest {
|
|
177
|
+
|
|
178
|
+
assistantAssociationId: string | undefined;
|
|
179
|
+
|
|
180
|
+
assistantId: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace GetAssistantAssociationRequest {
|
|
183
|
+
|
|
184
|
+
const filterSensitiveLog: (obj: GetAssistantAssociationRequest) => any;
|
|
185
|
+
}
|
|
186
|
+
export interface GetAssistantAssociationResponse {
|
|
187
|
+
|
|
188
|
+
assistantAssociation?: AssistantAssociationData;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace GetAssistantAssociationResponse {
|
|
191
|
+
|
|
192
|
+
const filterSensitiveLog: (obj: GetAssistantAssociationResponse) => any;
|
|
193
|
+
}
|
|
194
|
+
export interface ListAssistantAssociationsRequest {
|
|
195
|
+
|
|
196
|
+
nextToken?: string;
|
|
197
|
+
|
|
198
|
+
maxResults?: number;
|
|
199
|
+
|
|
200
|
+
assistantId: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export declare namespace ListAssistantAssociationsRequest {
|
|
203
|
+
|
|
204
|
+
const filterSensitiveLog: (obj: ListAssistantAssociationsRequest) => any;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export interface AssistantAssociationSummary {
|
|
208
|
+
|
|
209
|
+
assistantAssociationId: string | undefined;
|
|
210
|
+
|
|
211
|
+
assistantAssociationArn: string | undefined;
|
|
212
|
+
|
|
213
|
+
assistantId: string | undefined;
|
|
214
|
+
|
|
215
|
+
assistantArn: string | undefined;
|
|
216
|
+
|
|
217
|
+
associationType: AssociationType | string | undefined;
|
|
218
|
+
|
|
219
|
+
associationData: AssistantAssociationOutputData | undefined;
|
|
220
|
+
|
|
221
|
+
tags?: {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
export declare namespace AssistantAssociationSummary {
|
|
226
|
+
|
|
227
|
+
const filterSensitiveLog: (obj: AssistantAssociationSummary) => any;
|
|
228
|
+
}
|
|
229
|
+
export interface ListAssistantAssociationsResponse {
|
|
230
|
+
|
|
231
|
+
assistantAssociationSummaries: AssistantAssociationSummary[] | undefined;
|
|
232
|
+
|
|
233
|
+
nextToken?: string;
|
|
234
|
+
}
|
|
235
|
+
export declare namespace ListAssistantAssociationsResponse {
|
|
236
|
+
|
|
237
|
+
const filterSensitiveLog: (obj: ListAssistantAssociationsResponse) => any;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export interface ServerSideEncryptionConfiguration {
|
|
241
|
+
|
|
242
|
+
kmsKeyId?: string;
|
|
243
|
+
}
|
|
244
|
+
export declare namespace ServerSideEncryptionConfiguration {
|
|
245
|
+
|
|
246
|
+
const filterSensitiveLog: (obj: ServerSideEncryptionConfiguration) => any;
|
|
247
|
+
}
|
|
248
|
+
export declare enum AssistantType {
|
|
249
|
+
AGENT = "AGENT"
|
|
250
|
+
}
|
|
251
|
+
export interface CreateAssistantRequest {
|
|
252
|
+
|
|
253
|
+
clientToken?: string;
|
|
254
|
+
|
|
255
|
+
name: string | undefined;
|
|
256
|
+
|
|
257
|
+
type: AssistantType | string | undefined;
|
|
258
|
+
|
|
259
|
+
description?: string;
|
|
260
|
+
|
|
261
|
+
tags?: {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
266
|
+
}
|
|
267
|
+
export declare namespace CreateAssistantRequest {
|
|
268
|
+
|
|
269
|
+
const filterSensitiveLog: (obj: CreateAssistantRequest) => any;
|
|
270
|
+
}
|
|
271
|
+
export declare enum AssistantStatus {
|
|
272
|
+
ACTIVE = "ACTIVE",
|
|
273
|
+
CREATE_FAILED = "CREATE_FAILED",
|
|
274
|
+
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
275
|
+
DELETED = "DELETED",
|
|
276
|
+
DELETE_FAILED = "DELETE_FAILED",
|
|
277
|
+
DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS"
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export interface AssistantData {
|
|
281
|
+
|
|
282
|
+
assistantId: string | undefined;
|
|
283
|
+
|
|
284
|
+
assistantArn: string | undefined;
|
|
285
|
+
|
|
286
|
+
name: string | undefined;
|
|
287
|
+
|
|
288
|
+
type: AssistantType | string | undefined;
|
|
289
|
+
|
|
290
|
+
status: AssistantStatus | string | undefined;
|
|
291
|
+
|
|
292
|
+
description?: string;
|
|
293
|
+
|
|
294
|
+
tags?: {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
299
|
+
}
|
|
300
|
+
export declare namespace AssistantData {
|
|
301
|
+
|
|
302
|
+
const filterSensitiveLog: (obj: AssistantData) => any;
|
|
303
|
+
}
|
|
304
|
+
export interface CreateAssistantResponse {
|
|
305
|
+
|
|
306
|
+
assistant?: AssistantData;
|
|
307
|
+
}
|
|
308
|
+
export declare namespace CreateAssistantResponse {
|
|
309
|
+
|
|
310
|
+
const filterSensitiveLog: (obj: CreateAssistantResponse) => any;
|
|
311
|
+
}
|
|
312
|
+
export interface DeleteAssistantRequest {
|
|
313
|
+
|
|
314
|
+
assistantId: string | undefined;
|
|
315
|
+
}
|
|
316
|
+
export declare namespace DeleteAssistantRequest {
|
|
317
|
+
|
|
318
|
+
const filterSensitiveLog: (obj: DeleteAssistantRequest) => any;
|
|
319
|
+
}
|
|
320
|
+
export interface DeleteAssistantResponse {
|
|
321
|
+
}
|
|
322
|
+
export declare namespace DeleteAssistantResponse {
|
|
323
|
+
|
|
324
|
+
const filterSensitiveLog: (obj: DeleteAssistantResponse) => any;
|
|
325
|
+
}
|
|
326
|
+
export interface GetAssistantRequest {
|
|
327
|
+
|
|
328
|
+
assistantId: string | undefined;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace GetAssistantRequest {
|
|
331
|
+
|
|
332
|
+
const filterSensitiveLog: (obj: GetAssistantRequest) => any;
|
|
333
|
+
}
|
|
334
|
+
export interface GetAssistantResponse {
|
|
335
|
+
|
|
336
|
+
assistant?: AssistantData;
|
|
337
|
+
}
|
|
338
|
+
export declare namespace GetAssistantResponse {
|
|
339
|
+
|
|
340
|
+
const filterSensitiveLog: (obj: GetAssistantResponse) => any;
|
|
341
|
+
}
|
|
342
|
+
export interface GetRecommendationsRequest {
|
|
343
|
+
|
|
344
|
+
assistantId: string | undefined;
|
|
345
|
+
|
|
346
|
+
sessionId: string | undefined;
|
|
347
|
+
|
|
348
|
+
maxResults?: number;
|
|
349
|
+
|
|
350
|
+
waitTimeSeconds?: number;
|
|
351
|
+
}
|
|
352
|
+
export declare namespace GetRecommendationsRequest {
|
|
353
|
+
|
|
354
|
+
const filterSensitiveLog: (obj: GetRecommendationsRequest) => any;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export interface ContentReference {
|
|
358
|
+
|
|
359
|
+
knowledgeBaseArn?: string;
|
|
360
|
+
|
|
361
|
+
knowledgeBaseId?: string;
|
|
362
|
+
|
|
363
|
+
contentArn?: string;
|
|
364
|
+
|
|
365
|
+
contentId?: string;
|
|
366
|
+
}
|
|
367
|
+
export declare namespace ContentReference {
|
|
368
|
+
|
|
369
|
+
const filterSensitiveLog: (obj: ContentReference) => any;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export interface Highlight {
|
|
373
|
+
|
|
374
|
+
beginOffsetInclusive?: number;
|
|
375
|
+
|
|
376
|
+
endOffsetExclusive?: number;
|
|
377
|
+
}
|
|
378
|
+
export declare namespace Highlight {
|
|
379
|
+
|
|
380
|
+
const filterSensitiveLog: (obj: Highlight) => any;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export interface DocumentText {
|
|
384
|
+
|
|
385
|
+
text?: string;
|
|
386
|
+
|
|
387
|
+
highlights?: Highlight[];
|
|
388
|
+
}
|
|
389
|
+
export declare namespace DocumentText {
|
|
390
|
+
|
|
391
|
+
const filterSensitiveLog: (obj: DocumentText) => any;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export interface Document {
|
|
395
|
+
|
|
396
|
+
contentReference: ContentReference | undefined;
|
|
397
|
+
|
|
398
|
+
title?: DocumentText;
|
|
399
|
+
|
|
400
|
+
excerpt?: DocumentText;
|
|
401
|
+
}
|
|
402
|
+
export declare namespace Document {
|
|
403
|
+
|
|
404
|
+
const filterSensitiveLog: (obj: Document) => any;
|
|
405
|
+
}
|
|
406
|
+
export declare enum RelevanceLevel {
|
|
407
|
+
HIGH = "HIGH",
|
|
408
|
+
LOW = "LOW",
|
|
409
|
+
MEDIUM = "MEDIUM"
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface RecommendationData {
|
|
413
|
+
|
|
414
|
+
recommendationId: string | undefined;
|
|
415
|
+
|
|
416
|
+
document: Document | undefined;
|
|
417
|
+
|
|
418
|
+
relevanceScore?: number;
|
|
419
|
+
|
|
420
|
+
relevanceLevel?: RelevanceLevel | string;
|
|
421
|
+
}
|
|
422
|
+
export declare namespace RecommendationData {
|
|
423
|
+
|
|
424
|
+
const filterSensitiveLog: (obj: RecommendationData) => any;
|
|
425
|
+
}
|
|
426
|
+
export interface GetRecommendationsResponse {
|
|
427
|
+
|
|
428
|
+
recommendations: RecommendationData[] | undefined;
|
|
429
|
+
}
|
|
430
|
+
export declare namespace GetRecommendationsResponse {
|
|
431
|
+
|
|
432
|
+
const filterSensitiveLog: (obj: GetRecommendationsResponse) => any;
|
|
433
|
+
}
|
|
434
|
+
export interface ListAssistantsRequest {
|
|
435
|
+
|
|
436
|
+
nextToken?: string;
|
|
437
|
+
|
|
438
|
+
maxResults?: number;
|
|
439
|
+
}
|
|
440
|
+
export declare namespace ListAssistantsRequest {
|
|
441
|
+
|
|
442
|
+
const filterSensitiveLog: (obj: ListAssistantsRequest) => any;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface AssistantSummary {
|
|
446
|
+
|
|
447
|
+
assistantId: string | undefined;
|
|
448
|
+
|
|
449
|
+
assistantArn: string | undefined;
|
|
450
|
+
|
|
451
|
+
name: string | undefined;
|
|
452
|
+
|
|
453
|
+
type: AssistantType | string | undefined;
|
|
454
|
+
|
|
455
|
+
status: AssistantStatus | string | undefined;
|
|
456
|
+
|
|
457
|
+
description?: string;
|
|
458
|
+
|
|
459
|
+
tags?: {
|
|
460
|
+
[key: string]: string;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
464
|
+
}
|
|
465
|
+
export declare namespace AssistantSummary {
|
|
466
|
+
|
|
467
|
+
const filterSensitiveLog: (obj: AssistantSummary) => any;
|
|
468
|
+
}
|
|
469
|
+
export interface ListAssistantsResponse {
|
|
470
|
+
|
|
471
|
+
assistantSummaries: AssistantSummary[] | undefined;
|
|
472
|
+
|
|
473
|
+
nextToken?: string;
|
|
474
|
+
}
|
|
475
|
+
export declare namespace ListAssistantsResponse {
|
|
476
|
+
|
|
477
|
+
const filterSensitiveLog: (obj: ListAssistantsResponse) => any;
|
|
478
|
+
}
|
|
479
|
+
export interface NotifyRecommendationsReceivedRequest {
|
|
480
|
+
|
|
481
|
+
assistantId: string | undefined;
|
|
482
|
+
|
|
483
|
+
sessionId: string | undefined;
|
|
484
|
+
|
|
485
|
+
recommendationIds: string[] | undefined;
|
|
486
|
+
}
|
|
487
|
+
export declare namespace NotifyRecommendationsReceivedRequest {
|
|
488
|
+
|
|
489
|
+
const filterSensitiveLog: (obj: NotifyRecommendationsReceivedRequest) => any;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export interface NotifyRecommendationsReceivedError {
|
|
493
|
+
|
|
494
|
+
recommendationId?: string;
|
|
495
|
+
|
|
496
|
+
message?: string;
|
|
497
|
+
}
|
|
498
|
+
export declare namespace NotifyRecommendationsReceivedError {
|
|
499
|
+
|
|
500
|
+
const filterSensitiveLog: (obj: NotifyRecommendationsReceivedError) => any;
|
|
501
|
+
}
|
|
502
|
+
export interface NotifyRecommendationsReceivedResponse {
|
|
503
|
+
|
|
504
|
+
recommendationIds?: string[];
|
|
505
|
+
|
|
506
|
+
errors?: NotifyRecommendationsReceivedError[];
|
|
507
|
+
}
|
|
508
|
+
export declare namespace NotifyRecommendationsReceivedResponse {
|
|
509
|
+
|
|
510
|
+
const filterSensitiveLog: (obj: NotifyRecommendationsReceivedResponse) => any;
|
|
511
|
+
}
|
|
512
|
+
export interface QueryAssistantRequest {
|
|
513
|
+
|
|
514
|
+
assistantId: string | undefined;
|
|
515
|
+
|
|
516
|
+
queryText: string | undefined;
|
|
517
|
+
|
|
518
|
+
nextToken?: string;
|
|
519
|
+
|
|
520
|
+
maxResults?: number;
|
|
521
|
+
}
|
|
522
|
+
export declare namespace QueryAssistantRequest {
|
|
523
|
+
|
|
524
|
+
const filterSensitiveLog: (obj: QueryAssistantRequest) => any;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export interface ResultData {
|
|
528
|
+
|
|
529
|
+
resultId: string | undefined;
|
|
530
|
+
|
|
531
|
+
document: Document | undefined;
|
|
532
|
+
|
|
533
|
+
relevanceScore?: number;
|
|
534
|
+
}
|
|
535
|
+
export declare namespace ResultData {
|
|
536
|
+
|
|
537
|
+
const filterSensitiveLog: (obj: ResultData) => any;
|
|
538
|
+
}
|
|
539
|
+
export interface QueryAssistantResponse {
|
|
540
|
+
|
|
541
|
+
results: ResultData[] | undefined;
|
|
542
|
+
|
|
543
|
+
nextToken?: string;
|
|
544
|
+
}
|
|
545
|
+
export declare namespace QueryAssistantResponse {
|
|
546
|
+
|
|
547
|
+
const filterSensitiveLog: (obj: QueryAssistantResponse) => any;
|
|
548
|
+
}
|
|
549
|
+
export declare enum FilterField {
|
|
550
|
+
NAME = "NAME"
|
|
551
|
+
}
|
|
552
|
+
export declare enum FilterOperator {
|
|
553
|
+
EQUALS = "EQUALS"
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export interface Filter {
|
|
557
|
+
|
|
558
|
+
field: FilterField | string | undefined;
|
|
559
|
+
|
|
560
|
+
operator: FilterOperator | string | undefined;
|
|
561
|
+
|
|
562
|
+
value: string | undefined;
|
|
563
|
+
}
|
|
564
|
+
export declare namespace Filter {
|
|
565
|
+
|
|
566
|
+
const filterSensitiveLog: (obj: Filter) => any;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export interface SearchExpression {
|
|
570
|
+
|
|
571
|
+
filters: Filter[] | undefined;
|
|
572
|
+
}
|
|
573
|
+
export declare namespace SearchExpression {
|
|
574
|
+
|
|
575
|
+
const filterSensitiveLog: (obj: SearchExpression) => any;
|
|
576
|
+
}
|
|
577
|
+
export interface SearchSessionsRequest {
|
|
578
|
+
|
|
579
|
+
nextToken?: string;
|
|
580
|
+
|
|
581
|
+
maxResults?: number;
|
|
582
|
+
|
|
583
|
+
assistantId: string | undefined;
|
|
584
|
+
|
|
585
|
+
searchExpression: SearchExpression | undefined;
|
|
586
|
+
}
|
|
587
|
+
export declare namespace SearchSessionsRequest {
|
|
588
|
+
|
|
589
|
+
const filterSensitiveLog: (obj: SearchSessionsRequest) => any;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export interface SessionSummary {
|
|
593
|
+
|
|
594
|
+
sessionId: string | undefined;
|
|
595
|
+
|
|
596
|
+
sessionArn: string | undefined;
|
|
597
|
+
|
|
598
|
+
assistantId: string | undefined;
|
|
599
|
+
|
|
600
|
+
assistantArn: string | undefined;
|
|
601
|
+
}
|
|
602
|
+
export declare namespace SessionSummary {
|
|
603
|
+
|
|
604
|
+
const filterSensitiveLog: (obj: SessionSummary) => any;
|
|
605
|
+
}
|
|
606
|
+
export interface SearchSessionsResponse {
|
|
607
|
+
|
|
608
|
+
sessionSummaries: SessionSummary[] | undefined;
|
|
609
|
+
|
|
610
|
+
nextToken?: string;
|
|
611
|
+
}
|
|
612
|
+
export declare namespace SearchSessionsResponse {
|
|
613
|
+
|
|
614
|
+
const filterSensitiveLog: (obj: SearchSessionsResponse) => any;
|
|
615
|
+
}
|
|
616
|
+
export interface CreateSessionRequest {
|
|
617
|
+
|
|
618
|
+
clientToken?: string;
|
|
619
|
+
|
|
620
|
+
assistantId: string | undefined;
|
|
621
|
+
|
|
622
|
+
name: string | undefined;
|
|
623
|
+
|
|
624
|
+
description?: string;
|
|
625
|
+
|
|
626
|
+
tags?: {
|
|
627
|
+
[key: string]: string;
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
export declare namespace CreateSessionRequest {
|
|
631
|
+
|
|
632
|
+
const filterSensitiveLog: (obj: CreateSessionRequest) => any;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export interface SessionData {
|
|
636
|
+
|
|
637
|
+
sessionArn: string | undefined;
|
|
638
|
+
|
|
639
|
+
sessionId: string | undefined;
|
|
640
|
+
|
|
641
|
+
name: string | undefined;
|
|
642
|
+
|
|
643
|
+
description?: string;
|
|
644
|
+
|
|
645
|
+
tags?: {
|
|
646
|
+
[key: string]: string;
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
export declare namespace SessionData {
|
|
650
|
+
|
|
651
|
+
const filterSensitiveLog: (obj: SessionData) => any;
|
|
652
|
+
}
|
|
653
|
+
export interface CreateSessionResponse {
|
|
654
|
+
|
|
655
|
+
session?: SessionData;
|
|
656
|
+
}
|
|
657
|
+
export declare namespace CreateSessionResponse {
|
|
658
|
+
|
|
659
|
+
const filterSensitiveLog: (obj: CreateSessionResponse) => any;
|
|
660
|
+
}
|
|
661
|
+
export interface GetSessionRequest {
|
|
662
|
+
|
|
663
|
+
assistantId: string | undefined;
|
|
664
|
+
|
|
665
|
+
sessionId: string | undefined;
|
|
666
|
+
}
|
|
667
|
+
export declare namespace GetSessionRequest {
|
|
668
|
+
|
|
669
|
+
const filterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
670
|
+
}
|
|
671
|
+
export interface GetSessionResponse {
|
|
672
|
+
|
|
673
|
+
session?: SessionData;
|
|
674
|
+
}
|
|
675
|
+
export declare namespace GetSessionResponse {
|
|
676
|
+
|
|
677
|
+
const filterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
678
|
+
}
|
|
679
|
+
export interface CreateContentRequest {
|
|
680
|
+
|
|
681
|
+
knowledgeBaseId: string | undefined;
|
|
682
|
+
|
|
683
|
+
name: string | undefined;
|
|
684
|
+
|
|
685
|
+
title?: string;
|
|
686
|
+
|
|
687
|
+
overrideLinkOutUri?: string;
|
|
688
|
+
|
|
689
|
+
metadata?: {
|
|
690
|
+
[key: string]: string;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
uploadId: string | undefined;
|
|
694
|
+
|
|
695
|
+
clientToken?: string;
|
|
696
|
+
|
|
697
|
+
tags?: {
|
|
698
|
+
[key: string]: string;
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
export declare namespace CreateContentRequest {
|
|
702
|
+
|
|
703
|
+
const filterSensitiveLog: (obj: CreateContentRequest) => any;
|
|
704
|
+
}
|
|
705
|
+
export declare enum ContentStatus {
|
|
706
|
+
ACTIVE = "ACTIVE",
|
|
707
|
+
CREATE_FAILED = "CREATE_FAILED",
|
|
708
|
+
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
709
|
+
DELETED = "DELETED",
|
|
710
|
+
DELETE_FAILED = "DELETE_FAILED",
|
|
711
|
+
DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
|
|
712
|
+
UPDATE_FAILED = "UPDATE_FAILED"
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export interface ContentData {
|
|
716
|
+
|
|
717
|
+
contentArn: string | undefined;
|
|
718
|
+
|
|
719
|
+
contentId: string | undefined;
|
|
720
|
+
|
|
721
|
+
knowledgeBaseArn: string | undefined;
|
|
722
|
+
|
|
723
|
+
knowledgeBaseId: string | undefined;
|
|
724
|
+
|
|
725
|
+
name: string | undefined;
|
|
726
|
+
|
|
727
|
+
revisionId: string | undefined;
|
|
728
|
+
|
|
729
|
+
title: string | undefined;
|
|
730
|
+
|
|
731
|
+
contentType: string | undefined;
|
|
732
|
+
|
|
733
|
+
status: ContentStatus | string | undefined;
|
|
734
|
+
|
|
735
|
+
metadata: {
|
|
736
|
+
[key: string]: string;
|
|
737
|
+
} | undefined;
|
|
738
|
+
|
|
739
|
+
tags?: {
|
|
740
|
+
[key: string]: string;
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
linkOutUri?: string;
|
|
744
|
+
|
|
745
|
+
url: string | undefined;
|
|
746
|
+
|
|
747
|
+
urlExpiry: Date | undefined;
|
|
748
|
+
}
|
|
749
|
+
export declare namespace ContentData {
|
|
750
|
+
|
|
751
|
+
const filterSensitiveLog: (obj: ContentData) => any;
|
|
752
|
+
}
|
|
753
|
+
export interface CreateContentResponse {
|
|
754
|
+
|
|
755
|
+
content?: ContentData;
|
|
756
|
+
}
|
|
757
|
+
export declare namespace CreateContentResponse {
|
|
758
|
+
|
|
759
|
+
const filterSensitiveLog: (obj: CreateContentResponse) => any;
|
|
760
|
+
}
|
|
761
|
+
export interface DeleteContentRequest {
|
|
762
|
+
|
|
763
|
+
knowledgeBaseId: string | undefined;
|
|
764
|
+
|
|
765
|
+
contentId: string | undefined;
|
|
766
|
+
}
|
|
767
|
+
export declare namespace DeleteContentRequest {
|
|
768
|
+
|
|
769
|
+
const filterSensitiveLog: (obj: DeleteContentRequest) => any;
|
|
770
|
+
}
|
|
771
|
+
export interface DeleteContentResponse {
|
|
772
|
+
}
|
|
773
|
+
export declare namespace DeleteContentResponse {
|
|
774
|
+
|
|
775
|
+
const filterSensitiveLog: (obj: DeleteContentResponse) => any;
|
|
776
|
+
}
|
|
777
|
+
export interface GetContentRequest {
|
|
778
|
+
|
|
779
|
+
contentId: string | undefined;
|
|
780
|
+
|
|
781
|
+
knowledgeBaseId: string | undefined;
|
|
782
|
+
}
|
|
783
|
+
export declare namespace GetContentRequest {
|
|
784
|
+
|
|
785
|
+
const filterSensitiveLog: (obj: GetContentRequest) => any;
|
|
786
|
+
}
|
|
787
|
+
export interface GetContentResponse {
|
|
788
|
+
|
|
789
|
+
content?: ContentData;
|
|
790
|
+
}
|
|
791
|
+
export declare namespace GetContentResponse {
|
|
792
|
+
|
|
793
|
+
const filterSensitiveLog: (obj: GetContentResponse) => any;
|
|
794
|
+
}
|
|
795
|
+
export interface GetContentSummaryRequest {
|
|
796
|
+
|
|
797
|
+
contentId: string | undefined;
|
|
798
|
+
|
|
799
|
+
knowledgeBaseId: string | undefined;
|
|
800
|
+
}
|
|
801
|
+
export declare namespace GetContentSummaryRequest {
|
|
802
|
+
|
|
803
|
+
const filterSensitiveLog: (obj: GetContentSummaryRequest) => any;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export interface ContentSummary {
|
|
807
|
+
|
|
808
|
+
contentArn: string | undefined;
|
|
809
|
+
|
|
810
|
+
contentId: string | undefined;
|
|
811
|
+
|
|
812
|
+
knowledgeBaseArn: string | undefined;
|
|
813
|
+
|
|
814
|
+
knowledgeBaseId: string | undefined;
|
|
815
|
+
|
|
816
|
+
name: string | undefined;
|
|
817
|
+
|
|
818
|
+
revisionId: string | undefined;
|
|
819
|
+
|
|
820
|
+
title: string | undefined;
|
|
821
|
+
|
|
822
|
+
contentType: string | undefined;
|
|
823
|
+
|
|
824
|
+
status: ContentStatus | string | undefined;
|
|
825
|
+
|
|
826
|
+
metadata: {
|
|
827
|
+
[key: string]: string;
|
|
828
|
+
} | undefined;
|
|
829
|
+
|
|
830
|
+
tags?: {
|
|
831
|
+
[key: string]: string;
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
export declare namespace ContentSummary {
|
|
835
|
+
|
|
836
|
+
const filterSensitiveLog: (obj: ContentSummary) => any;
|
|
837
|
+
}
|
|
838
|
+
export interface GetContentSummaryResponse {
|
|
839
|
+
|
|
840
|
+
contentSummary?: ContentSummary;
|
|
841
|
+
}
|
|
842
|
+
export declare namespace GetContentSummaryResponse {
|
|
843
|
+
|
|
844
|
+
const filterSensitiveLog: (obj: GetContentSummaryResponse) => any;
|
|
845
|
+
}
|
|
846
|
+
export interface ListContentsRequest {
|
|
847
|
+
|
|
848
|
+
nextToken?: string;
|
|
849
|
+
|
|
850
|
+
maxResults?: number;
|
|
851
|
+
|
|
852
|
+
knowledgeBaseId: string | undefined;
|
|
853
|
+
}
|
|
854
|
+
export declare namespace ListContentsRequest {
|
|
855
|
+
|
|
856
|
+
const filterSensitiveLog: (obj: ListContentsRequest) => any;
|
|
857
|
+
}
|
|
858
|
+
export interface ListContentsResponse {
|
|
859
|
+
|
|
860
|
+
contentSummaries: ContentSummary[] | undefined;
|
|
861
|
+
|
|
862
|
+
nextToken?: string;
|
|
863
|
+
}
|
|
864
|
+
export declare namespace ListContentsResponse {
|
|
865
|
+
|
|
866
|
+
const filterSensitiveLog: (obj: ListContentsResponse) => any;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
870
|
+
readonly name: "PreconditionFailedException";
|
|
871
|
+
readonly $fault: "client";
|
|
872
|
+
|
|
873
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
874
|
+
}
|
|
875
|
+
export interface UpdateContentRequest {
|
|
876
|
+
|
|
877
|
+
knowledgeBaseId: string | undefined;
|
|
878
|
+
|
|
879
|
+
contentId: string | undefined;
|
|
880
|
+
|
|
881
|
+
revisionId?: string;
|
|
882
|
+
|
|
883
|
+
title?: string;
|
|
884
|
+
|
|
885
|
+
overrideLinkOutUri?: string;
|
|
886
|
+
|
|
887
|
+
removeOverrideLinkOutUri?: boolean;
|
|
888
|
+
|
|
889
|
+
metadata?: {
|
|
890
|
+
[key: string]: string;
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
uploadId?: string;
|
|
894
|
+
}
|
|
895
|
+
export declare namespace UpdateContentRequest {
|
|
896
|
+
|
|
897
|
+
const filterSensitiveLog: (obj: UpdateContentRequest) => any;
|
|
898
|
+
}
|
|
899
|
+
export interface UpdateContentResponse {
|
|
900
|
+
|
|
901
|
+
content?: ContentData;
|
|
902
|
+
}
|
|
903
|
+
export declare namespace UpdateContentResponse {
|
|
904
|
+
|
|
905
|
+
const filterSensitiveLog: (obj: UpdateContentResponse) => any;
|
|
906
|
+
}
|
|
907
|
+
export declare enum KnowledgeBaseType {
|
|
908
|
+
CUSTOM = "CUSTOM",
|
|
909
|
+
EXTERNAL = "EXTERNAL"
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export interface RenderingConfiguration {
|
|
913
|
+
|
|
914
|
+
templateUri?: string;
|
|
915
|
+
}
|
|
916
|
+
export declare namespace RenderingConfiguration {
|
|
917
|
+
|
|
918
|
+
const filterSensitiveLog: (obj: RenderingConfiguration) => any;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export declare type SourceConfiguration = SourceConfiguration.AppIntegrationsMember | SourceConfiguration.$UnknownMember;
|
|
922
|
+
export declare namespace SourceConfiguration {
|
|
923
|
+
|
|
924
|
+
interface AppIntegrationsMember {
|
|
925
|
+
appIntegrations: AppIntegrationsConfiguration;
|
|
926
|
+
$unknown?: never;
|
|
927
|
+
}
|
|
928
|
+
interface $UnknownMember {
|
|
929
|
+
appIntegrations?: never;
|
|
930
|
+
$unknown: [
|
|
931
|
+
string,
|
|
932
|
+
any
|
|
933
|
+
];
|
|
934
|
+
}
|
|
935
|
+
interface Visitor<T> {
|
|
936
|
+
appIntegrations: (value: AppIntegrationsConfiguration) => T;
|
|
937
|
+
_: (name: string, value: any) => T;
|
|
938
|
+
}
|
|
939
|
+
const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
|
|
940
|
+
|
|
941
|
+
const filterSensitiveLog: (obj: SourceConfiguration) => any;
|
|
942
|
+
}
|
|
943
|
+
export interface CreateKnowledgeBaseRequest {
|
|
944
|
+
|
|
945
|
+
clientToken?: string;
|
|
946
|
+
|
|
947
|
+
name: string | undefined;
|
|
948
|
+
|
|
949
|
+
knowledgeBaseType: KnowledgeBaseType | string | undefined;
|
|
950
|
+
|
|
951
|
+
sourceConfiguration?: SourceConfiguration;
|
|
952
|
+
|
|
953
|
+
renderingConfiguration?: RenderingConfiguration;
|
|
954
|
+
|
|
955
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
956
|
+
|
|
957
|
+
description?: string;
|
|
958
|
+
|
|
959
|
+
tags?: {
|
|
960
|
+
[key: string]: string;
|
|
961
|
+
};
|
|
962
|
+
}
|
|
963
|
+
export declare namespace CreateKnowledgeBaseRequest {
|
|
964
|
+
|
|
965
|
+
const filterSensitiveLog: (obj: CreateKnowledgeBaseRequest) => any;
|
|
966
|
+
}
|
|
967
|
+
export declare enum KnowledgeBaseStatus {
|
|
968
|
+
ACTIVE = "ACTIVE",
|
|
969
|
+
CREATE_FAILED = "CREATE_FAILED",
|
|
970
|
+
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
971
|
+
DELETED = "DELETED",
|
|
972
|
+
DELETE_FAILED = "DELETE_FAILED",
|
|
973
|
+
DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS"
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export interface KnowledgeBaseData {
|
|
977
|
+
|
|
978
|
+
knowledgeBaseId: string | undefined;
|
|
979
|
+
|
|
980
|
+
knowledgeBaseArn: string | undefined;
|
|
981
|
+
|
|
982
|
+
name: string | undefined;
|
|
983
|
+
|
|
984
|
+
knowledgeBaseType: KnowledgeBaseType | string | undefined;
|
|
985
|
+
|
|
986
|
+
status: KnowledgeBaseStatus | string | undefined;
|
|
987
|
+
|
|
988
|
+
lastContentModificationTime?: Date;
|
|
989
|
+
|
|
990
|
+
sourceConfiguration?: SourceConfiguration;
|
|
991
|
+
|
|
992
|
+
renderingConfiguration?: RenderingConfiguration;
|
|
993
|
+
|
|
994
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
995
|
+
|
|
996
|
+
description?: string;
|
|
997
|
+
|
|
998
|
+
tags?: {
|
|
999
|
+
[key: string]: string;
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
export declare namespace KnowledgeBaseData {
|
|
1003
|
+
|
|
1004
|
+
const filterSensitiveLog: (obj: KnowledgeBaseData) => any;
|
|
1005
|
+
}
|
|
1006
|
+
export interface CreateKnowledgeBaseResponse {
|
|
1007
|
+
|
|
1008
|
+
knowledgeBase?: KnowledgeBaseData;
|
|
1009
|
+
}
|
|
1010
|
+
export declare namespace CreateKnowledgeBaseResponse {
|
|
1011
|
+
|
|
1012
|
+
const filterSensitiveLog: (obj: CreateKnowledgeBaseResponse) => any;
|
|
1013
|
+
}
|
|
1014
|
+
export interface DeleteKnowledgeBaseRequest {
|
|
1015
|
+
|
|
1016
|
+
knowledgeBaseId: string | undefined;
|
|
1017
|
+
}
|
|
1018
|
+
export declare namespace DeleteKnowledgeBaseRequest {
|
|
1019
|
+
|
|
1020
|
+
const filterSensitiveLog: (obj: DeleteKnowledgeBaseRequest) => any;
|
|
1021
|
+
}
|
|
1022
|
+
export interface DeleteKnowledgeBaseResponse {
|
|
1023
|
+
}
|
|
1024
|
+
export declare namespace DeleteKnowledgeBaseResponse {
|
|
1025
|
+
|
|
1026
|
+
const filterSensitiveLog: (obj: DeleteKnowledgeBaseResponse) => any;
|
|
1027
|
+
}
|
|
1028
|
+
export interface GetKnowledgeBaseRequest {
|
|
1029
|
+
|
|
1030
|
+
knowledgeBaseId: string | undefined;
|
|
1031
|
+
}
|
|
1032
|
+
export declare namespace GetKnowledgeBaseRequest {
|
|
1033
|
+
|
|
1034
|
+
const filterSensitiveLog: (obj: GetKnowledgeBaseRequest) => any;
|
|
1035
|
+
}
|
|
1036
|
+
export interface GetKnowledgeBaseResponse {
|
|
1037
|
+
|
|
1038
|
+
knowledgeBase?: KnowledgeBaseData;
|
|
1039
|
+
}
|
|
1040
|
+
export declare namespace GetKnowledgeBaseResponse {
|
|
1041
|
+
|
|
1042
|
+
const filterSensitiveLog: (obj: GetKnowledgeBaseResponse) => any;
|
|
1043
|
+
}
|
|
1044
|
+
export interface ListKnowledgeBasesRequest {
|
|
1045
|
+
|
|
1046
|
+
nextToken?: string;
|
|
1047
|
+
|
|
1048
|
+
maxResults?: number;
|
|
1049
|
+
}
|
|
1050
|
+
export declare namespace ListKnowledgeBasesRequest {
|
|
1051
|
+
|
|
1052
|
+
const filterSensitiveLog: (obj: ListKnowledgeBasesRequest) => any;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export interface KnowledgeBaseSummary {
|
|
1056
|
+
|
|
1057
|
+
knowledgeBaseId: string | undefined;
|
|
1058
|
+
|
|
1059
|
+
knowledgeBaseArn: string | undefined;
|
|
1060
|
+
|
|
1061
|
+
name: string | undefined;
|
|
1062
|
+
|
|
1063
|
+
knowledgeBaseType: KnowledgeBaseType | string | undefined;
|
|
1064
|
+
|
|
1065
|
+
status: KnowledgeBaseStatus | string | undefined;
|
|
1066
|
+
|
|
1067
|
+
sourceConfiguration?: SourceConfiguration;
|
|
1068
|
+
|
|
1069
|
+
renderingConfiguration?: RenderingConfiguration;
|
|
1070
|
+
|
|
1071
|
+
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
1072
|
+
|
|
1073
|
+
description?: string;
|
|
1074
|
+
|
|
1075
|
+
tags?: {
|
|
1076
|
+
[key: string]: string;
|
|
1077
|
+
};
|
|
1078
|
+
}
|
|
1079
|
+
export declare namespace KnowledgeBaseSummary {
|
|
1080
|
+
|
|
1081
|
+
const filterSensitiveLog: (obj: KnowledgeBaseSummary) => any;
|
|
1082
|
+
}
|
|
1083
|
+
export interface ListKnowledgeBasesResponse {
|
|
1084
|
+
|
|
1085
|
+
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
1086
|
+
|
|
1087
|
+
nextToken?: string;
|
|
1088
|
+
}
|
|
1089
|
+
export declare namespace ListKnowledgeBasesResponse {
|
|
1090
|
+
|
|
1091
|
+
const filterSensitiveLog: (obj: ListKnowledgeBasesResponse) => any;
|
|
1092
|
+
}
|
|
1093
|
+
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
1094
|
+
|
|
1095
|
+
knowledgeBaseId: string | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
export declare namespace RemoveKnowledgeBaseTemplateUriRequest {
|
|
1098
|
+
|
|
1099
|
+
const filterSensitiveLog: (obj: RemoveKnowledgeBaseTemplateUriRequest) => any;
|
|
1100
|
+
}
|
|
1101
|
+
export interface RemoveKnowledgeBaseTemplateUriResponse {
|
|
1102
|
+
}
|
|
1103
|
+
export declare namespace RemoveKnowledgeBaseTemplateUriResponse {
|
|
1104
|
+
|
|
1105
|
+
const filterSensitiveLog: (obj: RemoveKnowledgeBaseTemplateUriResponse) => any;
|
|
1106
|
+
}
|
|
1107
|
+
export interface SearchContentRequest {
|
|
1108
|
+
|
|
1109
|
+
nextToken?: string;
|
|
1110
|
+
|
|
1111
|
+
maxResults?: number;
|
|
1112
|
+
|
|
1113
|
+
knowledgeBaseId: string | undefined;
|
|
1114
|
+
|
|
1115
|
+
searchExpression: SearchExpression | undefined;
|
|
1116
|
+
}
|
|
1117
|
+
export declare namespace SearchContentRequest {
|
|
1118
|
+
|
|
1119
|
+
const filterSensitiveLog: (obj: SearchContentRequest) => any;
|
|
1120
|
+
}
|
|
1121
|
+
export interface SearchContentResponse {
|
|
1122
|
+
|
|
1123
|
+
contentSummaries: ContentSummary[] | undefined;
|
|
1124
|
+
|
|
1125
|
+
nextToken?: string;
|
|
1126
|
+
}
|
|
1127
|
+
export declare namespace SearchContentResponse {
|
|
1128
|
+
|
|
1129
|
+
const filterSensitiveLog: (obj: SearchContentResponse) => any;
|
|
1130
|
+
}
|
|
1131
|
+
export interface StartContentUploadRequest {
|
|
1132
|
+
|
|
1133
|
+
knowledgeBaseId: string | undefined;
|
|
1134
|
+
|
|
1135
|
+
contentType: string | undefined;
|
|
1136
|
+
}
|
|
1137
|
+
export declare namespace StartContentUploadRequest {
|
|
1138
|
+
|
|
1139
|
+
const filterSensitiveLog: (obj: StartContentUploadRequest) => any;
|
|
1140
|
+
}
|
|
1141
|
+
export interface StartContentUploadResponse {
|
|
1142
|
+
|
|
1143
|
+
uploadId: string | undefined;
|
|
1144
|
+
|
|
1145
|
+
url: string | undefined;
|
|
1146
|
+
|
|
1147
|
+
urlExpiry: Date | undefined;
|
|
1148
|
+
|
|
1149
|
+
headersToInclude: {
|
|
1150
|
+
[key: string]: string;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
}
|
|
1153
|
+
export declare namespace StartContentUploadResponse {
|
|
1154
|
+
|
|
1155
|
+
const filterSensitiveLog: (obj: StartContentUploadResponse) => any;
|
|
1156
|
+
}
|
|
1157
|
+
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
|
1158
|
+
|
|
1159
|
+
knowledgeBaseId: string | undefined;
|
|
1160
|
+
|
|
1161
|
+
templateUri: string | undefined;
|
|
1162
|
+
}
|
|
1163
|
+
export declare namespace UpdateKnowledgeBaseTemplateUriRequest {
|
|
1164
|
+
|
|
1165
|
+
const filterSensitiveLog: (obj: UpdateKnowledgeBaseTemplateUriRequest) => any;
|
|
1166
|
+
}
|
|
1167
|
+
export interface UpdateKnowledgeBaseTemplateUriResponse {
|
|
1168
|
+
|
|
1169
|
+
knowledgeBase?: KnowledgeBaseData;
|
|
1170
|
+
}
|
|
1171
|
+
export declare namespace UpdateKnowledgeBaseTemplateUriResponse {
|
|
1172
|
+
|
|
1173
|
+
const filterSensitiveLog: (obj: UpdateKnowledgeBaseTemplateUriResponse) => any;
|
|
1174
|
+
}
|
|
1175
|
+
export interface ListTagsForResourceRequest {
|
|
1176
|
+
|
|
1177
|
+
resourceArn: string | undefined;
|
|
1178
|
+
}
|
|
1179
|
+
export declare namespace ListTagsForResourceRequest {
|
|
1180
|
+
|
|
1181
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1182
|
+
}
|
|
1183
|
+
export interface ListTagsForResourceResponse {
|
|
1184
|
+
|
|
1185
|
+
tags?: {
|
|
1186
|
+
[key: string]: string;
|
|
1187
|
+
};
|
|
1188
|
+
}
|
|
1189
|
+
export declare namespace ListTagsForResourceResponse {
|
|
1190
|
+
|
|
1191
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1192
|
+
}
|
|
1193
|
+
export interface TagResourceRequest {
|
|
1194
|
+
|
|
1195
|
+
resourceArn: string | undefined;
|
|
1196
|
+
|
|
1197
|
+
tags: {
|
|
1198
|
+
[key: string]: string;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}
|
|
1201
|
+
export declare namespace TagResourceRequest {
|
|
1202
|
+
|
|
1203
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1204
|
+
}
|
|
1205
|
+
export interface TagResourceResponse {
|
|
1206
|
+
}
|
|
1207
|
+
export declare namespace TagResourceResponse {
|
|
1208
|
+
|
|
1209
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1213
|
+
readonly name: "TooManyTagsException";
|
|
1214
|
+
readonly $fault: "client";
|
|
1215
|
+
|
|
1216
|
+
resourceName?: string;
|
|
1217
|
+
|
|
1218
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1219
|
+
}
|
|
1220
|
+
export interface UntagResourceRequest {
|
|
1221
|
+
|
|
1222
|
+
resourceArn: string | undefined;
|
|
1223
|
+
|
|
1224
|
+
tagKeys: string[] | undefined;
|
|
1225
|
+
}
|
|
1226
|
+
export declare namespace UntagResourceRequest {
|
|
1227
|
+
|
|
1228
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1229
|
+
}
|
|
1230
|
+
export interface UntagResourceResponse {
|
|
1231
|
+
}
|
|
1232
|
+
export declare namespace UntagResourceResponse {
|
|
1233
|
+
|
|
1234
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1235
|
+
}
|