@aws-sdk/client-wisdom 3.687.0 → 3.692.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-types/models/models_0.d.ts +200 -200
- package/dist-types/ts3.4/models/models_0.d.ts +212 -200
- package/package.json +35 -35
|
@@ -9,7 +9,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
9
9
|
}
|
|
10
10
|
export interface AppIntegrationsConfiguration {
|
|
11
11
|
appIntegrationArn: string | undefined;
|
|
12
|
-
objectFields?: string[];
|
|
12
|
+
objectFields?: string[] | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare class ConflictException extends __BaseException {
|
|
15
15
|
readonly name: "ConflictException";
|
|
@@ -46,12 +46,12 @@ export interface CreateAssistantAssociationRequest {
|
|
|
46
46
|
assistantId: string | undefined;
|
|
47
47
|
associationType: AssociationType | undefined;
|
|
48
48
|
association: AssistantAssociationInputData | undefined;
|
|
49
|
-
clientToken?: string;
|
|
50
|
-
tags?: Record<string, string
|
|
49
|
+
clientToken?: string | undefined;
|
|
50
|
+
tags?: Record<string, string> | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface KnowledgeBaseAssociationData {
|
|
53
|
-
knowledgeBaseId?: string;
|
|
54
|
-
knowledgeBaseArn?: string;
|
|
53
|
+
knowledgeBaseId?: string | undefined;
|
|
54
|
+
knowledgeBaseArn?: string | undefined;
|
|
55
55
|
}
|
|
56
56
|
export type AssistantAssociationOutputData =
|
|
57
57
|
| AssistantAssociationOutputData.KnowledgeBaseAssociationMember
|
|
@@ -81,15 +81,15 @@ export interface AssistantAssociationData {
|
|
|
81
81
|
assistantArn: string | undefined;
|
|
82
82
|
associationType: AssociationType | undefined;
|
|
83
83
|
associationData: AssistantAssociationOutputData | undefined;
|
|
84
|
-
tags?: Record<string, string
|
|
84
|
+
tags?: Record<string, string> | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface CreateAssistantAssociationResponse {
|
|
87
|
-
assistantAssociation?: AssistantAssociationData;
|
|
87
|
+
assistantAssociation?: AssistantAssociationData | undefined;
|
|
88
88
|
}
|
|
89
89
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
90
90
|
readonly name: "ResourceNotFoundException";
|
|
91
91
|
readonly $fault: "client";
|
|
92
|
-
resourceName?: string;
|
|
92
|
+
resourceName?: string | undefined;
|
|
93
93
|
constructor(
|
|
94
94
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
95
95
|
);
|
|
@@ -118,11 +118,11 @@ export interface GetAssistantAssociationRequest {
|
|
|
118
118
|
assistantId: string | undefined;
|
|
119
119
|
}
|
|
120
120
|
export interface GetAssistantAssociationResponse {
|
|
121
|
-
assistantAssociation?: AssistantAssociationData;
|
|
121
|
+
assistantAssociation?: AssistantAssociationData | undefined;
|
|
122
122
|
}
|
|
123
123
|
export interface ListAssistantAssociationsRequest {
|
|
124
|
-
nextToken?: string;
|
|
125
|
-
maxResults?: number;
|
|
124
|
+
nextToken?: string | undefined;
|
|
125
|
+
maxResults?: number | undefined;
|
|
126
126
|
assistantId: string | undefined;
|
|
127
127
|
}
|
|
128
128
|
export interface AssistantAssociationSummary {
|
|
@@ -132,29 +132,31 @@ export interface AssistantAssociationSummary {
|
|
|
132
132
|
assistantArn: string | undefined;
|
|
133
133
|
associationType: AssociationType | undefined;
|
|
134
134
|
associationData: AssistantAssociationOutputData | undefined;
|
|
135
|
-
tags?: Record<string, string
|
|
135
|
+
tags?: Record<string, string> | undefined;
|
|
136
136
|
}
|
|
137
137
|
export interface ListAssistantAssociationsResponse {
|
|
138
138
|
assistantAssociationSummaries: AssistantAssociationSummary[] | undefined;
|
|
139
|
-
nextToken?: string;
|
|
139
|
+
nextToken?: string | undefined;
|
|
140
140
|
}
|
|
141
141
|
export interface ServerSideEncryptionConfiguration {
|
|
142
|
-
kmsKeyId?: string;
|
|
142
|
+
kmsKeyId?: string | undefined;
|
|
143
143
|
}
|
|
144
144
|
export declare const AssistantType: {
|
|
145
145
|
readonly AGENT: "AGENT";
|
|
146
146
|
};
|
|
147
147
|
export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
|
|
148
148
|
export interface CreateAssistantRequest {
|
|
149
|
-
clientToken?: string;
|
|
149
|
+
clientToken?: string | undefined;
|
|
150
150
|
name: string | undefined;
|
|
151
151
|
type: AssistantType | undefined;
|
|
152
|
-
description?: string;
|
|
153
|
-
tags?: Record<string, string
|
|
154
|
-
serverSideEncryptionConfiguration?:
|
|
152
|
+
description?: string | undefined;
|
|
153
|
+
tags?: Record<string, string> | undefined;
|
|
154
|
+
serverSideEncryptionConfiguration?:
|
|
155
|
+
| ServerSideEncryptionConfiguration
|
|
156
|
+
| undefined;
|
|
155
157
|
}
|
|
156
158
|
export interface AssistantIntegrationConfiguration {
|
|
157
|
-
topicIntegrationArn?: string;
|
|
159
|
+
topicIntegrationArn?: string | undefined;
|
|
158
160
|
}
|
|
159
161
|
export declare const AssistantStatus: {
|
|
160
162
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -172,13 +174,15 @@ export interface AssistantData {
|
|
|
172
174
|
name: string | undefined;
|
|
173
175
|
type: AssistantType | undefined;
|
|
174
176
|
status: AssistantStatus | undefined;
|
|
175
|
-
description?: string;
|
|
176
|
-
tags?: Record<string, string
|
|
177
|
-
serverSideEncryptionConfiguration?:
|
|
178
|
-
|
|
177
|
+
description?: string | undefined;
|
|
178
|
+
tags?: Record<string, string> | undefined;
|
|
179
|
+
serverSideEncryptionConfiguration?:
|
|
180
|
+
| ServerSideEncryptionConfiguration
|
|
181
|
+
| undefined;
|
|
182
|
+
integrationConfiguration?: AssistantIntegrationConfiguration | undefined;
|
|
179
183
|
}
|
|
180
184
|
export interface CreateAssistantResponse {
|
|
181
|
-
assistant?: AssistantData;
|
|
185
|
+
assistant?: AssistantData | undefined;
|
|
182
186
|
}
|
|
183
187
|
export interface DeleteAssistantRequest {
|
|
184
188
|
assistantId: string | undefined;
|
|
@@ -188,32 +192,32 @@ export interface GetAssistantRequest {
|
|
|
188
192
|
assistantId: string | undefined;
|
|
189
193
|
}
|
|
190
194
|
export interface GetAssistantResponse {
|
|
191
|
-
assistant?: AssistantData;
|
|
195
|
+
assistant?: AssistantData | undefined;
|
|
192
196
|
}
|
|
193
197
|
export interface GetRecommendationsRequest {
|
|
194
198
|
assistantId: string | undefined;
|
|
195
199
|
sessionId: string | undefined;
|
|
196
|
-
maxResults?: number;
|
|
197
|
-
waitTimeSeconds?: number;
|
|
200
|
+
maxResults?: number | undefined;
|
|
201
|
+
waitTimeSeconds?: number | undefined;
|
|
198
202
|
}
|
|
199
203
|
export interface ContentReference {
|
|
200
|
-
knowledgeBaseArn?: string;
|
|
201
|
-
knowledgeBaseId?: string;
|
|
202
|
-
contentArn?: string;
|
|
203
|
-
contentId?: string;
|
|
204
|
+
knowledgeBaseArn?: string | undefined;
|
|
205
|
+
knowledgeBaseId?: string | undefined;
|
|
206
|
+
contentArn?: string | undefined;
|
|
207
|
+
contentId?: string | undefined;
|
|
204
208
|
}
|
|
205
209
|
export interface Highlight {
|
|
206
|
-
beginOffsetInclusive?: number;
|
|
207
|
-
endOffsetExclusive?: number;
|
|
210
|
+
beginOffsetInclusive?: number | undefined;
|
|
211
|
+
endOffsetExclusive?: number | undefined;
|
|
208
212
|
}
|
|
209
213
|
export interface DocumentText {
|
|
210
|
-
text?: string;
|
|
211
|
-
highlights?: Highlight[];
|
|
214
|
+
text?: string | undefined;
|
|
215
|
+
highlights?: Highlight[] | undefined;
|
|
212
216
|
}
|
|
213
217
|
export interface Document {
|
|
214
218
|
contentReference: ContentReference | undefined;
|
|
215
|
-
title?: DocumentText;
|
|
216
|
-
excerpt?: DocumentText;
|
|
219
|
+
title?: DocumentText | undefined;
|
|
220
|
+
excerpt?: DocumentText | undefined;
|
|
217
221
|
}
|
|
218
222
|
export declare const RelevanceLevel: {
|
|
219
223
|
readonly HIGH: "HIGH";
|
|
@@ -230,12 +234,12 @@ export type RecommendationType =
|
|
|
230
234
|
export interface RecommendationData {
|
|
231
235
|
recommendationId: string | undefined;
|
|
232
236
|
document: Document | undefined;
|
|
233
|
-
relevanceScore?: number;
|
|
234
|
-
relevanceLevel?: RelevanceLevel;
|
|
235
|
-
type?: RecommendationType;
|
|
237
|
+
relevanceScore?: number | undefined;
|
|
238
|
+
relevanceLevel?: RelevanceLevel | undefined;
|
|
239
|
+
type?: RecommendationType | undefined;
|
|
236
240
|
}
|
|
237
241
|
export interface QueryRecommendationTriggerData {
|
|
238
|
-
text?: string;
|
|
242
|
+
text?: string | undefined;
|
|
239
243
|
}
|
|
240
244
|
export type RecommendationTriggerData =
|
|
241
245
|
| RecommendationTriggerData.QueryMember
|
|
@@ -276,11 +280,11 @@ export interface RecommendationTrigger {
|
|
|
276
280
|
}
|
|
277
281
|
export interface GetRecommendationsResponse {
|
|
278
282
|
recommendations: RecommendationData[] | undefined;
|
|
279
|
-
triggers?: RecommendationTrigger[];
|
|
283
|
+
triggers?: RecommendationTrigger[] | undefined;
|
|
280
284
|
}
|
|
281
285
|
export interface ListAssistantsRequest {
|
|
282
|
-
nextToken?: string;
|
|
283
|
-
maxResults?: number;
|
|
286
|
+
nextToken?: string | undefined;
|
|
287
|
+
maxResults?: number | undefined;
|
|
284
288
|
}
|
|
285
289
|
export interface AssistantSummary {
|
|
286
290
|
assistantId: string | undefined;
|
|
@@ -288,14 +292,16 @@ export interface AssistantSummary {
|
|
|
288
292
|
name: string | undefined;
|
|
289
293
|
type: AssistantType | undefined;
|
|
290
294
|
status: AssistantStatus | undefined;
|
|
291
|
-
description?: string;
|
|
292
|
-
tags?: Record<string, string
|
|
293
|
-
serverSideEncryptionConfiguration?:
|
|
294
|
-
|
|
295
|
+
description?: string | undefined;
|
|
296
|
+
tags?: Record<string, string> | undefined;
|
|
297
|
+
serverSideEncryptionConfiguration?:
|
|
298
|
+
| ServerSideEncryptionConfiguration
|
|
299
|
+
| undefined;
|
|
300
|
+
integrationConfiguration?: AssistantIntegrationConfiguration | undefined;
|
|
295
301
|
}
|
|
296
302
|
export interface ListAssistantsResponse {
|
|
297
303
|
assistantSummaries: AssistantSummary[] | undefined;
|
|
298
|
-
nextToken?: string;
|
|
304
|
+
nextToken?: string | undefined;
|
|
299
305
|
}
|
|
300
306
|
export interface NotifyRecommendationsReceivedRequest {
|
|
301
307
|
assistantId: string | undefined;
|
|
@@ -303,27 +309,27 @@ export interface NotifyRecommendationsReceivedRequest {
|
|
|
303
309
|
recommendationIds: string[] | undefined;
|
|
304
310
|
}
|
|
305
311
|
export interface NotifyRecommendationsReceivedError {
|
|
306
|
-
recommendationId?: string;
|
|
307
|
-
message?: string;
|
|
312
|
+
recommendationId?: string | undefined;
|
|
313
|
+
message?: string | undefined;
|
|
308
314
|
}
|
|
309
315
|
export interface NotifyRecommendationsReceivedResponse {
|
|
310
|
-
recommendationIds?: string[];
|
|
311
|
-
errors?: NotifyRecommendationsReceivedError[];
|
|
316
|
+
recommendationIds?: string[] | undefined;
|
|
317
|
+
errors?: NotifyRecommendationsReceivedError[] | undefined;
|
|
312
318
|
}
|
|
313
319
|
export interface QueryAssistantRequest {
|
|
314
320
|
assistantId: string | undefined;
|
|
315
321
|
queryText: string | undefined;
|
|
316
|
-
nextToken?: string;
|
|
317
|
-
maxResults?: number;
|
|
322
|
+
nextToken?: string | undefined;
|
|
323
|
+
maxResults?: number | undefined;
|
|
318
324
|
}
|
|
319
325
|
export interface ResultData {
|
|
320
326
|
resultId: string | undefined;
|
|
321
327
|
document: Document | undefined;
|
|
322
|
-
relevanceScore?: number;
|
|
328
|
+
relevanceScore?: number | undefined;
|
|
323
329
|
}
|
|
324
330
|
export interface QueryAssistantResponse {
|
|
325
331
|
results: ResultData[] | undefined;
|
|
326
|
-
nextToken?: string;
|
|
332
|
+
nextToken?: string | undefined;
|
|
327
333
|
}
|
|
328
334
|
export declare class RequestTimeoutException extends __BaseException {
|
|
329
335
|
readonly name: "RequestTimeoutException";
|
|
@@ -351,8 +357,8 @@ export interface SearchExpression {
|
|
|
351
357
|
filters: Filter[] | undefined;
|
|
352
358
|
}
|
|
353
359
|
export interface SearchSessionsRequest {
|
|
354
|
-
nextToken?: string;
|
|
355
|
-
maxResults?: number;
|
|
360
|
+
nextToken?: string | undefined;
|
|
361
|
+
maxResults?: number | undefined;
|
|
356
362
|
assistantId: string | undefined;
|
|
357
363
|
searchExpression: SearchExpression | undefined;
|
|
358
364
|
}
|
|
@@ -364,38 +370,38 @@ export interface SessionSummary {
|
|
|
364
370
|
}
|
|
365
371
|
export interface SearchSessionsResponse {
|
|
366
372
|
sessionSummaries: SessionSummary[] | undefined;
|
|
367
|
-
nextToken?: string;
|
|
373
|
+
nextToken?: string | undefined;
|
|
368
374
|
}
|
|
369
375
|
export interface CreateSessionRequest {
|
|
370
|
-
clientToken?: string;
|
|
376
|
+
clientToken?: string | undefined;
|
|
371
377
|
assistantId: string | undefined;
|
|
372
378
|
name: string | undefined;
|
|
373
|
-
description?: string;
|
|
374
|
-
tags?: Record<string, string
|
|
379
|
+
description?: string | undefined;
|
|
380
|
+
tags?: Record<string, string> | undefined;
|
|
375
381
|
}
|
|
376
382
|
export interface SessionIntegrationConfiguration {
|
|
377
|
-
topicIntegrationArn?: string;
|
|
383
|
+
topicIntegrationArn?: string | undefined;
|
|
378
384
|
}
|
|
379
385
|
export interface SessionData {
|
|
380
386
|
sessionArn: string | undefined;
|
|
381
387
|
sessionId: string | undefined;
|
|
382
388
|
name: string | undefined;
|
|
383
|
-
description?: string;
|
|
384
|
-
tags?: Record<string, string
|
|
385
|
-
integrationConfiguration?: SessionIntegrationConfiguration;
|
|
389
|
+
description?: string | undefined;
|
|
390
|
+
tags?: Record<string, string> | undefined;
|
|
391
|
+
integrationConfiguration?: SessionIntegrationConfiguration | undefined;
|
|
386
392
|
}
|
|
387
393
|
export interface CreateSessionResponse {
|
|
388
|
-
session?: SessionData;
|
|
394
|
+
session?: SessionData | undefined;
|
|
389
395
|
}
|
|
390
396
|
export interface GetSessionRequest {
|
|
391
397
|
assistantId: string | undefined;
|
|
392
398
|
sessionId: string | undefined;
|
|
393
399
|
}
|
|
394
400
|
export interface GetSessionResponse {
|
|
395
|
-
session?: SessionData;
|
|
401
|
+
session?: SessionData | undefined;
|
|
396
402
|
}
|
|
397
403
|
export interface ConnectConfiguration {
|
|
398
|
-
instanceId?: string;
|
|
404
|
+
instanceId?: string | undefined;
|
|
399
405
|
}
|
|
400
406
|
export type Configuration =
|
|
401
407
|
| Configuration.ConnectConfigurationMember
|
|
@@ -418,12 +424,12 @@ export declare namespace Configuration {
|
|
|
418
424
|
export interface CreateContentRequest {
|
|
419
425
|
knowledgeBaseId: string | undefined;
|
|
420
426
|
name: string | undefined;
|
|
421
|
-
title?: string;
|
|
422
|
-
overrideLinkOutUri?: string;
|
|
423
|
-
metadata?: Record<string, string
|
|
427
|
+
title?: string | undefined;
|
|
428
|
+
overrideLinkOutUri?: string | undefined;
|
|
429
|
+
metadata?: Record<string, string> | undefined;
|
|
424
430
|
uploadId: string | undefined;
|
|
425
|
-
clientToken?: string;
|
|
426
|
-
tags?: Record<string, string
|
|
431
|
+
clientToken?: string | undefined;
|
|
432
|
+
tags?: Record<string, string> | undefined;
|
|
427
433
|
}
|
|
428
434
|
export declare const ContentStatus: {
|
|
429
435
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -446,13 +452,13 @@ export interface ContentData {
|
|
|
446
452
|
contentType: string | undefined;
|
|
447
453
|
status: ContentStatus | undefined;
|
|
448
454
|
metadata: Record<string, string> | undefined;
|
|
449
|
-
tags?: Record<string, string
|
|
450
|
-
linkOutUri?: string;
|
|
455
|
+
tags?: Record<string, string> | undefined;
|
|
456
|
+
linkOutUri?: string | undefined;
|
|
451
457
|
url: string | undefined;
|
|
452
458
|
urlExpiry: Date | undefined;
|
|
453
459
|
}
|
|
454
460
|
export interface CreateContentResponse {
|
|
455
|
-
content?: ContentData;
|
|
461
|
+
content?: ContentData | undefined;
|
|
456
462
|
}
|
|
457
463
|
export interface DeleteContentRequest {
|
|
458
464
|
knowledgeBaseId: string | undefined;
|
|
@@ -464,7 +470,7 @@ export interface GetContentRequest {
|
|
|
464
470
|
knowledgeBaseId: string | undefined;
|
|
465
471
|
}
|
|
466
472
|
export interface GetContentResponse {
|
|
467
|
-
content?: ContentData;
|
|
473
|
+
content?: ContentData | undefined;
|
|
468
474
|
}
|
|
469
475
|
export interface GetContentSummaryRequest {
|
|
470
476
|
contentId: string | undefined;
|
|
@@ -481,19 +487,19 @@ export interface ContentSummary {
|
|
|
481
487
|
contentType: string | undefined;
|
|
482
488
|
status: ContentStatus | undefined;
|
|
483
489
|
metadata: Record<string, string> | undefined;
|
|
484
|
-
tags?: Record<string, string
|
|
490
|
+
tags?: Record<string, string> | undefined;
|
|
485
491
|
}
|
|
486
492
|
export interface GetContentSummaryResponse {
|
|
487
|
-
contentSummary?: ContentSummary;
|
|
493
|
+
contentSummary?: ContentSummary | undefined;
|
|
488
494
|
}
|
|
489
495
|
export interface ListContentsRequest {
|
|
490
|
-
nextToken?: string;
|
|
491
|
-
maxResults?: number;
|
|
496
|
+
nextToken?: string | undefined;
|
|
497
|
+
maxResults?: number | undefined;
|
|
492
498
|
knowledgeBaseId: string | undefined;
|
|
493
499
|
}
|
|
494
500
|
export interface ListContentsResponse {
|
|
495
501
|
contentSummaries: ContentSummary[] | undefined;
|
|
496
|
-
nextToken?: string;
|
|
502
|
+
nextToken?: string | undefined;
|
|
497
503
|
}
|
|
498
504
|
export declare class PreconditionFailedException extends __BaseException {
|
|
499
505
|
readonly name: "PreconditionFailedException";
|
|
@@ -505,15 +511,15 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
505
511
|
export interface UpdateContentRequest {
|
|
506
512
|
knowledgeBaseId: string | undefined;
|
|
507
513
|
contentId: string | undefined;
|
|
508
|
-
revisionId?: string;
|
|
509
|
-
title?: string;
|
|
510
|
-
overrideLinkOutUri?: string;
|
|
511
|
-
removeOverrideLinkOutUri?: boolean;
|
|
512
|
-
metadata?: Record<string, string
|
|
513
|
-
uploadId?: string;
|
|
514
|
+
revisionId?: string | undefined;
|
|
515
|
+
title?: string | undefined;
|
|
516
|
+
overrideLinkOutUri?: string | undefined;
|
|
517
|
+
removeOverrideLinkOutUri?: boolean | undefined;
|
|
518
|
+
metadata?: Record<string, string> | undefined;
|
|
519
|
+
uploadId?: string | undefined;
|
|
514
520
|
}
|
|
515
521
|
export interface UpdateContentResponse {
|
|
516
|
-
content?: ContentData;
|
|
522
|
+
content?: ContentData | undefined;
|
|
517
523
|
}
|
|
518
524
|
export declare const KnowledgeBaseType: {
|
|
519
525
|
readonly CUSTOM: "CUSTOM";
|
|
@@ -523,7 +529,7 @@ export declare const KnowledgeBaseType: {
|
|
|
523
529
|
export type KnowledgeBaseType =
|
|
524
530
|
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
525
531
|
export interface RenderingConfiguration {
|
|
526
|
-
templateUri?: string;
|
|
532
|
+
templateUri?: string | undefined;
|
|
527
533
|
}
|
|
528
534
|
export type SourceConfiguration =
|
|
529
535
|
| SourceConfiguration.AppIntegrationsMember
|
|
@@ -544,14 +550,16 @@ export declare namespace SourceConfiguration {
|
|
|
544
550
|
const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
|
|
545
551
|
}
|
|
546
552
|
export interface CreateKnowledgeBaseRequest {
|
|
547
|
-
clientToken?: string;
|
|
553
|
+
clientToken?: string | undefined;
|
|
548
554
|
name: string | undefined;
|
|
549
555
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
550
|
-
sourceConfiguration?: SourceConfiguration;
|
|
551
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
552
|
-
serverSideEncryptionConfiguration?:
|
|
553
|
-
|
|
554
|
-
|
|
556
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
557
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
558
|
+
serverSideEncryptionConfiguration?:
|
|
559
|
+
| ServerSideEncryptionConfiguration
|
|
560
|
+
| undefined;
|
|
561
|
+
description?: string | undefined;
|
|
562
|
+
tags?: Record<string, string> | undefined;
|
|
555
563
|
}
|
|
556
564
|
export declare const KnowledgeBaseStatus: {
|
|
557
565
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -569,15 +577,17 @@ export interface KnowledgeBaseData {
|
|
|
569
577
|
name: string | undefined;
|
|
570
578
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
571
579
|
status: KnowledgeBaseStatus | undefined;
|
|
572
|
-
lastContentModificationTime?: Date;
|
|
573
|
-
sourceConfiguration?: SourceConfiguration;
|
|
574
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
575
|
-
serverSideEncryptionConfiguration?:
|
|
576
|
-
|
|
577
|
-
|
|
580
|
+
lastContentModificationTime?: Date | undefined;
|
|
581
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
582
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
583
|
+
serverSideEncryptionConfiguration?:
|
|
584
|
+
| ServerSideEncryptionConfiguration
|
|
585
|
+
| undefined;
|
|
586
|
+
description?: string | undefined;
|
|
587
|
+
tags?: Record<string, string> | undefined;
|
|
578
588
|
}
|
|
579
589
|
export interface CreateKnowledgeBaseResponse {
|
|
580
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
590
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
581
591
|
}
|
|
582
592
|
export type QuickResponseDataProvider =
|
|
583
593
|
| QuickResponseDataProvider.ContentMember
|
|
@@ -598,22 +608,22 @@ export declare namespace QuickResponseDataProvider {
|
|
|
598
608
|
const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
|
|
599
609
|
}
|
|
600
610
|
export interface GroupingConfiguration {
|
|
601
|
-
criteria?: string;
|
|
602
|
-
values?: string[];
|
|
611
|
+
criteria?: string | undefined;
|
|
612
|
+
values?: string[] | undefined;
|
|
603
613
|
}
|
|
604
614
|
export interface CreateQuickResponseRequest {
|
|
605
615
|
knowledgeBaseId: string | undefined;
|
|
606
616
|
name: string | undefined;
|
|
607
617
|
content: QuickResponseDataProvider | undefined;
|
|
608
|
-
contentType?: string;
|
|
609
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
610
|
-
description?: string;
|
|
611
|
-
shortcutKey?: string;
|
|
612
|
-
isActive?: boolean;
|
|
613
|
-
channels?: string[];
|
|
614
|
-
language?: string;
|
|
615
|
-
clientToken?: string;
|
|
616
|
-
tags?: Record<string, string
|
|
618
|
+
contentType?: string | undefined;
|
|
619
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
620
|
+
description?: string | undefined;
|
|
621
|
+
shortcutKey?: string | undefined;
|
|
622
|
+
isActive?: boolean | undefined;
|
|
623
|
+
channels?: string[] | undefined;
|
|
624
|
+
language?: string | undefined;
|
|
625
|
+
clientToken?: string | undefined;
|
|
626
|
+
tags?: Record<string, string> | undefined;
|
|
617
627
|
}
|
|
618
628
|
export type QuickResponseContentProvider =
|
|
619
629
|
| QuickResponseContentProvider.ContentMember
|
|
@@ -637,8 +647,8 @@ export declare namespace QuickResponseContentProvider {
|
|
|
637
647
|
) => T;
|
|
638
648
|
}
|
|
639
649
|
export interface QuickResponseContents {
|
|
640
|
-
plainText?: QuickResponseContentProvider;
|
|
641
|
-
markdown?: QuickResponseContentProvider;
|
|
650
|
+
plainText?: QuickResponseContentProvider | undefined;
|
|
651
|
+
markdown?: QuickResponseContentProvider | undefined;
|
|
642
652
|
}
|
|
643
653
|
export declare const QuickResponseStatus: {
|
|
644
654
|
readonly CREATED: "CREATED";
|
|
@@ -662,18 +672,18 @@ export interface QuickResponseData {
|
|
|
662
672
|
status: QuickResponseStatus | undefined;
|
|
663
673
|
createdTime: Date | undefined;
|
|
664
674
|
lastModifiedTime: Date | undefined;
|
|
665
|
-
contents?: QuickResponseContents;
|
|
666
|
-
description?: string;
|
|
667
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
668
|
-
shortcutKey?: string;
|
|
669
|
-
lastModifiedBy?: string;
|
|
670
|
-
isActive?: boolean;
|
|
671
|
-
channels?: string[];
|
|
672
|
-
language?: string;
|
|
673
|
-
tags?: Record<string, string
|
|
675
|
+
contents?: QuickResponseContents | undefined;
|
|
676
|
+
description?: string | undefined;
|
|
677
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
678
|
+
shortcutKey?: string | undefined;
|
|
679
|
+
lastModifiedBy?: string | undefined;
|
|
680
|
+
isActive?: boolean | undefined;
|
|
681
|
+
channels?: string[] | undefined;
|
|
682
|
+
language?: string | undefined;
|
|
683
|
+
tags?: Record<string, string> | undefined;
|
|
674
684
|
}
|
|
675
685
|
export interface CreateQuickResponseResponse {
|
|
676
|
-
quickResponse?: QuickResponseData;
|
|
686
|
+
quickResponse?: QuickResponseData | undefined;
|
|
677
687
|
}
|
|
678
688
|
export interface DeleteImportJobRequest {
|
|
679
689
|
knowledgeBaseId: string | undefined;
|
|
@@ -724,28 +734,28 @@ export interface ImportJobData {
|
|
|
724
734
|
importJobType: ImportJobType | undefined;
|
|
725
735
|
status: ImportJobStatus | undefined;
|
|
726
736
|
url: string | undefined;
|
|
727
|
-
failedRecordReport?: string;
|
|
737
|
+
failedRecordReport?: string | undefined;
|
|
728
738
|
urlExpiry: Date | undefined;
|
|
729
739
|
createdTime: Date | undefined;
|
|
730
740
|
lastModifiedTime: Date | undefined;
|
|
731
|
-
metadata?: Record<string, string
|
|
732
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
741
|
+
metadata?: Record<string, string> | undefined;
|
|
742
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
733
743
|
}
|
|
734
744
|
export interface GetImportJobResponse {
|
|
735
|
-
importJob?: ImportJobData;
|
|
745
|
+
importJob?: ImportJobData | undefined;
|
|
736
746
|
}
|
|
737
747
|
export interface GetKnowledgeBaseRequest {
|
|
738
748
|
knowledgeBaseId: string | undefined;
|
|
739
749
|
}
|
|
740
750
|
export interface GetKnowledgeBaseResponse {
|
|
741
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
751
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
742
752
|
}
|
|
743
753
|
export interface GetQuickResponseRequest {
|
|
744
754
|
quickResponseId: string | undefined;
|
|
745
755
|
knowledgeBaseId: string | undefined;
|
|
746
756
|
}
|
|
747
757
|
export interface GetQuickResponseResponse {
|
|
748
|
-
quickResponse?: QuickResponseData;
|
|
758
|
+
quickResponse?: QuickResponseData | undefined;
|
|
749
759
|
}
|
|
750
760
|
export interface ImportJobSummary {
|
|
751
761
|
importJobId: string | undefined;
|
|
@@ -756,21 +766,21 @@ export interface ImportJobSummary {
|
|
|
756
766
|
status: ImportJobStatus | undefined;
|
|
757
767
|
createdTime: Date | undefined;
|
|
758
768
|
lastModifiedTime: Date | undefined;
|
|
759
|
-
metadata?: Record<string, string
|
|
760
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
769
|
+
metadata?: Record<string, string> | undefined;
|
|
770
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
761
771
|
}
|
|
762
772
|
export interface ListImportJobsRequest {
|
|
763
|
-
nextToken?: string;
|
|
764
|
-
maxResults?: number;
|
|
773
|
+
nextToken?: string | undefined;
|
|
774
|
+
maxResults?: number | undefined;
|
|
765
775
|
knowledgeBaseId: string | undefined;
|
|
766
776
|
}
|
|
767
777
|
export interface ListImportJobsResponse {
|
|
768
778
|
importJobSummaries: ImportJobSummary[] | undefined;
|
|
769
|
-
nextToken?: string;
|
|
779
|
+
nextToken?: string | undefined;
|
|
770
780
|
}
|
|
771
781
|
export interface ListKnowledgeBasesRequest {
|
|
772
|
-
nextToken?: string;
|
|
773
|
-
maxResults?: number;
|
|
782
|
+
nextToken?: string | undefined;
|
|
783
|
+
maxResults?: number | undefined;
|
|
774
784
|
}
|
|
775
785
|
export interface KnowledgeBaseSummary {
|
|
776
786
|
knowledgeBaseId: string | undefined;
|
|
@@ -778,19 +788,21 @@ export interface KnowledgeBaseSummary {
|
|
|
778
788
|
name: string | undefined;
|
|
779
789
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
780
790
|
status: KnowledgeBaseStatus | undefined;
|
|
781
|
-
sourceConfiguration?: SourceConfiguration;
|
|
782
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
783
|
-
serverSideEncryptionConfiguration?:
|
|
784
|
-
|
|
785
|
-
|
|
791
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
792
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
793
|
+
serverSideEncryptionConfiguration?:
|
|
794
|
+
| ServerSideEncryptionConfiguration
|
|
795
|
+
| undefined;
|
|
796
|
+
description?: string | undefined;
|
|
797
|
+
tags?: Record<string, string> | undefined;
|
|
786
798
|
}
|
|
787
799
|
export interface ListKnowledgeBasesResponse {
|
|
788
800
|
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
789
|
-
nextToken?: string;
|
|
801
|
+
nextToken?: string | undefined;
|
|
790
802
|
}
|
|
791
803
|
export interface ListQuickResponsesRequest {
|
|
792
|
-
nextToken?: string;
|
|
793
|
-
maxResults?: number;
|
|
804
|
+
nextToken?: string | undefined;
|
|
805
|
+
maxResults?: number | undefined;
|
|
794
806
|
knowledgeBaseId: string | undefined;
|
|
795
807
|
}
|
|
796
808
|
export interface QuickResponseSummary {
|
|
@@ -803,48 +815,48 @@ export interface QuickResponseSummary {
|
|
|
803
815
|
status: QuickResponseStatus | undefined;
|
|
804
816
|
createdTime: Date | undefined;
|
|
805
817
|
lastModifiedTime: Date | undefined;
|
|
806
|
-
description?: string;
|
|
807
|
-
lastModifiedBy?: string;
|
|
808
|
-
isActive?: boolean;
|
|
809
|
-
channels?: string[];
|
|
810
|
-
tags?: Record<string, string
|
|
818
|
+
description?: string | undefined;
|
|
819
|
+
lastModifiedBy?: string | undefined;
|
|
820
|
+
isActive?: boolean | undefined;
|
|
821
|
+
channels?: string[] | undefined;
|
|
822
|
+
tags?: Record<string, string> | undefined;
|
|
811
823
|
}
|
|
812
824
|
export interface ListQuickResponsesResponse {
|
|
813
825
|
quickResponseSummaries: QuickResponseSummary[] | undefined;
|
|
814
|
-
nextToken?: string;
|
|
826
|
+
nextToken?: string | undefined;
|
|
815
827
|
}
|
|
816
828
|
export interface UpdateQuickResponseRequest {
|
|
817
829
|
knowledgeBaseId: string | undefined;
|
|
818
830
|
quickResponseId: string | undefined;
|
|
819
|
-
name?: string;
|
|
820
|
-
content?: QuickResponseDataProvider;
|
|
821
|
-
contentType?: string;
|
|
822
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
823
|
-
removeGroupingConfiguration?: boolean;
|
|
824
|
-
description?: string;
|
|
825
|
-
removeDescription?: boolean;
|
|
826
|
-
shortcutKey?: string;
|
|
827
|
-
removeShortcutKey?: boolean;
|
|
828
|
-
isActive?: boolean;
|
|
829
|
-
channels?: string[];
|
|
830
|
-
language?: string;
|
|
831
|
+
name?: string | undefined;
|
|
832
|
+
content?: QuickResponseDataProvider | undefined;
|
|
833
|
+
contentType?: string | undefined;
|
|
834
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
835
|
+
removeGroupingConfiguration?: boolean | undefined;
|
|
836
|
+
description?: string | undefined;
|
|
837
|
+
removeDescription?: boolean | undefined;
|
|
838
|
+
shortcutKey?: string | undefined;
|
|
839
|
+
removeShortcutKey?: boolean | undefined;
|
|
840
|
+
isActive?: boolean | undefined;
|
|
841
|
+
channels?: string[] | undefined;
|
|
842
|
+
language?: string | undefined;
|
|
831
843
|
}
|
|
832
844
|
export interface UpdateQuickResponseResponse {
|
|
833
|
-
quickResponse?: QuickResponseData;
|
|
845
|
+
quickResponse?: QuickResponseData | undefined;
|
|
834
846
|
}
|
|
835
847
|
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
836
848
|
knowledgeBaseId: string | undefined;
|
|
837
849
|
}
|
|
838
850
|
export interface RemoveKnowledgeBaseTemplateUriResponse {}
|
|
839
851
|
export interface SearchContentRequest {
|
|
840
|
-
nextToken?: string;
|
|
841
|
-
maxResults?: number;
|
|
852
|
+
nextToken?: string | undefined;
|
|
853
|
+
maxResults?: number | undefined;
|
|
842
854
|
knowledgeBaseId: string | undefined;
|
|
843
855
|
searchExpression: SearchExpression | undefined;
|
|
844
856
|
}
|
|
845
857
|
export interface SearchContentResponse {
|
|
846
858
|
contentSummaries: ContentSummary[] | undefined;
|
|
847
|
-
nextToken?: string;
|
|
859
|
+
nextToken?: string | undefined;
|
|
848
860
|
}
|
|
849
861
|
export declare const QuickResponseFilterOperator: {
|
|
850
862
|
readonly EQUALS: "EQUALS";
|
|
@@ -854,9 +866,9 @@ export type QuickResponseFilterOperator =
|
|
|
854
866
|
(typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
|
|
855
867
|
export interface QuickResponseFilterField {
|
|
856
868
|
name: string | undefined;
|
|
857
|
-
values?: string[];
|
|
869
|
+
values?: string[] | undefined;
|
|
858
870
|
operator: QuickResponseFilterOperator | undefined;
|
|
859
|
-
includeNoExistence?: boolean;
|
|
871
|
+
includeNoExistence?: boolean | undefined;
|
|
860
872
|
}
|
|
861
873
|
export declare const Order: {
|
|
862
874
|
readonly ASC: "ASC";
|
|
@@ -865,7 +877,7 @@ export declare const Order: {
|
|
|
865
877
|
export type Order = (typeof Order)[keyof typeof Order];
|
|
866
878
|
export interface QuickResponseOrderField {
|
|
867
879
|
name: string | undefined;
|
|
868
|
-
order?: Order;
|
|
880
|
+
order?: Order | undefined;
|
|
869
881
|
}
|
|
870
882
|
export declare const QuickResponseQueryOperator: {
|
|
871
883
|
readonly CONTAINS: "CONTAINS";
|
|
@@ -883,20 +895,20 @@ export interface QuickResponseQueryField {
|
|
|
883
895
|
name: string | undefined;
|
|
884
896
|
values: string[] | undefined;
|
|
885
897
|
operator: QuickResponseQueryOperator | undefined;
|
|
886
|
-
allowFuzziness?: boolean;
|
|
887
|
-
priority?: Priority;
|
|
898
|
+
allowFuzziness?: boolean | undefined;
|
|
899
|
+
priority?: Priority | undefined;
|
|
888
900
|
}
|
|
889
901
|
export interface QuickResponseSearchExpression {
|
|
890
|
-
queries?: QuickResponseQueryField[];
|
|
891
|
-
filters?: QuickResponseFilterField[];
|
|
892
|
-
orderOnField?: QuickResponseOrderField;
|
|
902
|
+
queries?: QuickResponseQueryField[] | undefined;
|
|
903
|
+
filters?: QuickResponseFilterField[] | undefined;
|
|
904
|
+
orderOnField?: QuickResponseOrderField | undefined;
|
|
893
905
|
}
|
|
894
906
|
export interface SearchQuickResponsesRequest {
|
|
895
907
|
knowledgeBaseId: string | undefined;
|
|
896
908
|
searchExpression: QuickResponseSearchExpression | undefined;
|
|
897
|
-
nextToken?: string;
|
|
898
|
-
maxResults?: number;
|
|
899
|
-
attributes?: Record<string, string
|
|
909
|
+
nextToken?: string | undefined;
|
|
910
|
+
maxResults?: number | undefined;
|
|
911
|
+
attributes?: Record<string, string> | undefined;
|
|
900
912
|
}
|
|
901
913
|
export interface QuickResponseSearchResultData {
|
|
902
914
|
quickResponseArn: string | undefined;
|
|
@@ -910,24 +922,24 @@ export interface QuickResponseSearchResultData {
|
|
|
910
922
|
createdTime: Date | undefined;
|
|
911
923
|
lastModifiedTime: Date | undefined;
|
|
912
924
|
isActive: boolean | undefined;
|
|
913
|
-
description?: string;
|
|
914
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
915
|
-
shortcutKey?: string;
|
|
916
|
-
lastModifiedBy?: string;
|
|
917
|
-
channels?: string[];
|
|
918
|
-
language?: string;
|
|
919
|
-
attributesNotInterpolated?: string[];
|
|
920
|
-
attributesInterpolated?: string[];
|
|
921
|
-
tags?: Record<string, string
|
|
925
|
+
description?: string | undefined;
|
|
926
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
927
|
+
shortcutKey?: string | undefined;
|
|
928
|
+
lastModifiedBy?: string | undefined;
|
|
929
|
+
channels?: string[] | undefined;
|
|
930
|
+
language?: string | undefined;
|
|
931
|
+
attributesNotInterpolated?: string[] | undefined;
|
|
932
|
+
attributesInterpolated?: string[] | undefined;
|
|
933
|
+
tags?: Record<string, string> | undefined;
|
|
922
934
|
}
|
|
923
935
|
export interface SearchQuickResponsesResponse {
|
|
924
936
|
results: QuickResponseSearchResultData[] | undefined;
|
|
925
|
-
nextToken?: string;
|
|
937
|
+
nextToken?: string | undefined;
|
|
926
938
|
}
|
|
927
939
|
export interface StartContentUploadRequest {
|
|
928
940
|
knowledgeBaseId: string | undefined;
|
|
929
941
|
contentType: string | undefined;
|
|
930
|
-
presignedUrlTimeToLive?: number;
|
|
942
|
+
presignedUrlTimeToLive?: number | undefined;
|
|
931
943
|
}
|
|
932
944
|
export interface StartContentUploadResponse {
|
|
933
945
|
uploadId: string | undefined;
|
|
@@ -939,25 +951,25 @@ export interface StartImportJobRequest {
|
|
|
939
951
|
knowledgeBaseId: string | undefined;
|
|
940
952
|
importJobType: ImportJobType | undefined;
|
|
941
953
|
uploadId: string | undefined;
|
|
942
|
-
clientToken?: string;
|
|
943
|
-
metadata?: Record<string, string
|
|
944
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
954
|
+
clientToken?: string | undefined;
|
|
955
|
+
metadata?: Record<string, string> | undefined;
|
|
956
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
945
957
|
}
|
|
946
958
|
export interface StartImportJobResponse {
|
|
947
|
-
importJob?: ImportJobData;
|
|
959
|
+
importJob?: ImportJobData | undefined;
|
|
948
960
|
}
|
|
949
961
|
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
|
950
962
|
knowledgeBaseId: string | undefined;
|
|
951
963
|
templateUri: string | undefined;
|
|
952
964
|
}
|
|
953
965
|
export interface UpdateKnowledgeBaseTemplateUriResponse {
|
|
954
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
966
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
955
967
|
}
|
|
956
968
|
export interface ListTagsForResourceRequest {
|
|
957
969
|
resourceArn: string | undefined;
|
|
958
970
|
}
|
|
959
971
|
export interface ListTagsForResourceResponse {
|
|
960
|
-
tags?: Record<string, string
|
|
972
|
+
tags?: Record<string, string> | undefined;
|
|
961
973
|
}
|
|
962
974
|
export interface TagResourceRequest {
|
|
963
975
|
resourceArn: string | undefined;
|
|
@@ -967,7 +979,7 @@ export interface TagResourceResponse {}
|
|
|
967
979
|
export declare class TooManyTagsException extends __BaseException {
|
|
968
980
|
readonly name: "TooManyTagsException";
|
|
969
981
|
readonly $fault: "client";
|
|
970
|
-
resourceName?: string;
|
|
982
|
+
resourceName?: string | undefined;
|
|
971
983
|
constructor(
|
|
972
984
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
973
985
|
);
|