@aws-sdk/client-qconnect 3.686.0 → 3.691.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 +347 -347
- package/dist-types/ts3.4/models/models_0.d.ts +373 -347
- package/package.json +7 -7
|
@@ -14,7 +14,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
export interface TagCondition {
|
|
16
16
|
key: string | undefined;
|
|
17
|
-
value?: string;
|
|
17
|
+
value?: string | undefined;
|
|
18
18
|
}
|
|
19
19
|
export type OrCondition =
|
|
20
20
|
| OrCondition.AndConditionsMember
|
|
@@ -88,9 +88,9 @@ export declare const KnowledgeBaseSearchType: {
|
|
|
88
88
|
export type KnowledgeBaseSearchType =
|
|
89
89
|
(typeof KnowledgeBaseSearchType)[keyof typeof KnowledgeBaseSearchType];
|
|
90
90
|
export interface KnowledgeBaseAssociationConfigurationData {
|
|
91
|
-
contentTagFilter?: TagFilter;
|
|
92
|
-
maxResults?: number;
|
|
93
|
-
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType;
|
|
91
|
+
contentTagFilter?: TagFilter | undefined;
|
|
92
|
+
maxResults?: number | undefined;
|
|
93
|
+
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined;
|
|
94
94
|
}
|
|
95
95
|
export type AssociationConfigurationData =
|
|
96
96
|
| AssociationConfigurationData.KnowledgeBaseAssociationConfigurationDataMember
|
|
@@ -121,19 +121,19 @@ export declare const AIAgentAssociationConfigurationType: {
|
|
|
121
121
|
export type AIAgentAssociationConfigurationType =
|
|
122
122
|
(typeof AIAgentAssociationConfigurationType)[keyof typeof AIAgentAssociationConfigurationType];
|
|
123
123
|
export interface AssociationConfiguration {
|
|
124
|
-
associationId?: string;
|
|
125
|
-
associationType?: AIAgentAssociationConfigurationType;
|
|
126
|
-
associationConfigurationData?: AssociationConfigurationData;
|
|
124
|
+
associationId?: string | undefined;
|
|
125
|
+
associationType?: AIAgentAssociationConfigurationType | undefined;
|
|
126
|
+
associationConfigurationData?: AssociationConfigurationData | undefined;
|
|
127
127
|
}
|
|
128
128
|
export interface AnswerRecommendationAIAgentConfiguration {
|
|
129
|
-
intentLabelingGenerationAIPromptId?: string;
|
|
130
|
-
queryReformulationAIPromptId?: string;
|
|
131
|
-
answerGenerationAIPromptId?: string;
|
|
132
|
-
associationConfigurations?: AssociationConfiguration[];
|
|
129
|
+
intentLabelingGenerationAIPromptId?: string | undefined;
|
|
130
|
+
queryReformulationAIPromptId?: string | undefined;
|
|
131
|
+
answerGenerationAIPromptId?: string | undefined;
|
|
132
|
+
associationConfigurations?: AssociationConfiguration[] | undefined;
|
|
133
133
|
}
|
|
134
134
|
export interface ManualSearchAIAgentConfiguration {
|
|
135
|
-
answerGenerationAIPromptId?: string;
|
|
136
|
-
associationConfigurations?: AssociationConfiguration[];
|
|
135
|
+
answerGenerationAIPromptId?: string | undefined;
|
|
136
|
+
associationConfigurations?: AssociationConfiguration[] | undefined;
|
|
137
137
|
}
|
|
138
138
|
export type AIAgentConfiguration =
|
|
139
139
|
| AIAgentConfiguration.AnswerRecommendationAIAgentConfigurationMember
|
|
@@ -178,14 +178,14 @@ export declare const VisibilityStatus: {
|
|
|
178
178
|
export type VisibilityStatus =
|
|
179
179
|
(typeof VisibilityStatus)[keyof typeof VisibilityStatus];
|
|
180
180
|
export interface CreateAIAgentRequest {
|
|
181
|
-
clientToken?: string;
|
|
181
|
+
clientToken?: string | undefined;
|
|
182
182
|
assistantId: string | undefined;
|
|
183
183
|
name: string | undefined;
|
|
184
184
|
type: AIAgentType | undefined;
|
|
185
185
|
configuration: AIAgentConfiguration | undefined;
|
|
186
186
|
visibilityStatus: VisibilityStatus | undefined;
|
|
187
|
-
tags?: Record<string, string
|
|
188
|
-
description?: string;
|
|
187
|
+
tags?: Record<string, string> | undefined;
|
|
188
|
+
description?: string | undefined;
|
|
189
189
|
}
|
|
190
190
|
export declare const Origin: {
|
|
191
191
|
readonly CUSTOMER: "CUSTOMER";
|
|
@@ -209,20 +209,20 @@ export interface AIAgentData {
|
|
|
209
209
|
name: string | undefined;
|
|
210
210
|
type: AIAgentType | undefined;
|
|
211
211
|
configuration: AIAgentConfiguration | undefined;
|
|
212
|
-
modifiedTime?: Date;
|
|
213
|
-
description?: string;
|
|
212
|
+
modifiedTime?: Date | undefined;
|
|
213
|
+
description?: string | undefined;
|
|
214
214
|
visibilityStatus: VisibilityStatus | undefined;
|
|
215
|
-
tags?: Record<string, string
|
|
216
|
-
origin?: Origin;
|
|
217
|
-
status?: Status;
|
|
215
|
+
tags?: Record<string, string> | undefined;
|
|
216
|
+
origin?: Origin | undefined;
|
|
217
|
+
status?: Status | undefined;
|
|
218
218
|
}
|
|
219
219
|
export interface CreateAIAgentResponse {
|
|
220
|
-
aiAgent?: AIAgentData;
|
|
220
|
+
aiAgent?: AIAgentData | undefined;
|
|
221
221
|
}
|
|
222
222
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
223
223
|
readonly name: "ResourceNotFoundException";
|
|
224
224
|
readonly $fault: "client";
|
|
225
|
-
resourceName?: string;
|
|
225
|
+
resourceName?: string | undefined;
|
|
226
226
|
constructor(
|
|
227
227
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
228
228
|
);
|
|
@@ -252,12 +252,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
252
252
|
export interface CreateAIAgentVersionRequest {
|
|
253
253
|
assistantId: string | undefined;
|
|
254
254
|
aiAgentId: string | undefined;
|
|
255
|
-
modifiedTime?: Date;
|
|
256
|
-
clientToken?: string;
|
|
255
|
+
modifiedTime?: Date | undefined;
|
|
256
|
+
clientToken?: string | undefined;
|
|
257
257
|
}
|
|
258
258
|
export interface CreateAIAgentVersionResponse {
|
|
259
|
-
aiAgent?: AIAgentData;
|
|
260
|
-
versionNumber?: number;
|
|
259
|
+
aiAgent?: AIAgentData | undefined;
|
|
260
|
+
versionNumber?: number | undefined;
|
|
261
261
|
}
|
|
262
262
|
export interface DeleteAIAgentRequest {
|
|
263
263
|
assistantId: string | undefined;
|
|
@@ -275,14 +275,14 @@ export interface GetAIAgentRequest {
|
|
|
275
275
|
aiAgentId: string | undefined;
|
|
276
276
|
}
|
|
277
277
|
export interface GetAIAgentResponse {
|
|
278
|
-
aiAgent?: AIAgentData;
|
|
279
|
-
versionNumber?: number;
|
|
278
|
+
aiAgent?: AIAgentData | undefined;
|
|
279
|
+
versionNumber?: number | undefined;
|
|
280
280
|
}
|
|
281
281
|
export interface ListAIAgentsRequest {
|
|
282
282
|
assistantId: string | undefined;
|
|
283
|
-
nextToken?: string;
|
|
284
|
-
maxResults?: number;
|
|
285
|
-
origin?: Origin;
|
|
283
|
+
nextToken?: string | undefined;
|
|
284
|
+
maxResults?: number | undefined;
|
|
285
|
+
origin?: Origin | undefined;
|
|
286
286
|
}
|
|
287
287
|
export interface AIAgentSummary {
|
|
288
288
|
name: string | undefined;
|
|
@@ -291,43 +291,43 @@ export interface AIAgentSummary {
|
|
|
291
291
|
aiAgentId: string | undefined;
|
|
292
292
|
type: AIAgentType | undefined;
|
|
293
293
|
aiAgentArn: string | undefined;
|
|
294
|
-
modifiedTime?: Date;
|
|
294
|
+
modifiedTime?: Date | undefined;
|
|
295
295
|
visibilityStatus: VisibilityStatus | undefined;
|
|
296
|
-
configuration?: AIAgentConfiguration;
|
|
297
|
-
origin?: Origin;
|
|
298
|
-
description?: string;
|
|
299
|
-
status?: Status;
|
|
300
|
-
tags?: Record<string, string
|
|
296
|
+
configuration?: AIAgentConfiguration | undefined;
|
|
297
|
+
origin?: Origin | undefined;
|
|
298
|
+
description?: string | undefined;
|
|
299
|
+
status?: Status | undefined;
|
|
300
|
+
tags?: Record<string, string> | undefined;
|
|
301
301
|
}
|
|
302
302
|
export interface ListAIAgentsResponse {
|
|
303
303
|
aiAgentSummaries: AIAgentSummary[] | undefined;
|
|
304
|
-
nextToken?: string;
|
|
304
|
+
nextToken?: string | undefined;
|
|
305
305
|
}
|
|
306
306
|
export interface ListAIAgentVersionsRequest {
|
|
307
307
|
assistantId: string | undefined;
|
|
308
308
|
aiAgentId: string | undefined;
|
|
309
|
-
nextToken?: string;
|
|
310
|
-
maxResults?: number;
|
|
311
|
-
origin?: Origin;
|
|
309
|
+
nextToken?: string | undefined;
|
|
310
|
+
maxResults?: number | undefined;
|
|
311
|
+
origin?: Origin | undefined;
|
|
312
312
|
}
|
|
313
313
|
export interface AIAgentVersionSummary {
|
|
314
|
-
aiAgentSummary?: AIAgentSummary;
|
|
315
|
-
versionNumber?: number;
|
|
314
|
+
aiAgentSummary?: AIAgentSummary | undefined;
|
|
315
|
+
versionNumber?: number | undefined;
|
|
316
316
|
}
|
|
317
317
|
export interface ListAIAgentVersionsResponse {
|
|
318
318
|
aiAgentVersionSummaries: AIAgentVersionSummary[] | undefined;
|
|
319
|
-
nextToken?: string;
|
|
319
|
+
nextToken?: string | undefined;
|
|
320
320
|
}
|
|
321
321
|
export interface UpdateAIAgentRequest {
|
|
322
|
-
clientToken?: string;
|
|
322
|
+
clientToken?: string | undefined;
|
|
323
323
|
assistantId: string | undefined;
|
|
324
324
|
aiAgentId: string | undefined;
|
|
325
325
|
visibilityStatus: VisibilityStatus | undefined;
|
|
326
|
-
configuration?: AIAgentConfiguration;
|
|
327
|
-
description?: string;
|
|
326
|
+
configuration?: AIAgentConfiguration | undefined;
|
|
327
|
+
description?: string | undefined;
|
|
328
328
|
}
|
|
329
329
|
export interface UpdateAIAgentResponse {
|
|
330
|
-
aiAgent?: AIAgentData;
|
|
330
|
+
aiAgent?: AIAgentData | undefined;
|
|
331
331
|
}
|
|
332
332
|
export interface AIAgentConfigurationData {
|
|
333
333
|
aiAgentId: string | undefined;
|
|
@@ -376,7 +376,7 @@ export declare const AIPromptType: {
|
|
|
376
376
|
};
|
|
377
377
|
export type AIPromptType = (typeof AIPromptType)[keyof typeof AIPromptType];
|
|
378
378
|
export interface CreateAIPromptRequest {
|
|
379
|
-
clientToken?: string;
|
|
379
|
+
clientToken?: string | undefined;
|
|
380
380
|
assistantId: string | undefined;
|
|
381
381
|
name: string | undefined;
|
|
382
382
|
type: AIPromptType | undefined;
|
|
@@ -385,8 +385,8 @@ export interface CreateAIPromptRequest {
|
|
|
385
385
|
templateType: AIPromptTemplateType | undefined;
|
|
386
386
|
modelId: string | undefined;
|
|
387
387
|
apiFormat: AIPromptAPIFormat | undefined;
|
|
388
|
-
tags?: Record<string, string
|
|
389
|
-
description?: string;
|
|
388
|
+
tags?: Record<string, string> | undefined;
|
|
389
|
+
description?: string | undefined;
|
|
390
390
|
}
|
|
391
391
|
export interface AIPromptData {
|
|
392
392
|
assistantId: string | undefined;
|
|
@@ -399,25 +399,25 @@ export interface AIPromptData {
|
|
|
399
399
|
modelId: string | undefined;
|
|
400
400
|
apiFormat: AIPromptAPIFormat | undefined;
|
|
401
401
|
templateConfiguration: AIPromptTemplateConfiguration | undefined;
|
|
402
|
-
modifiedTime?: Date;
|
|
403
|
-
description?: string;
|
|
402
|
+
modifiedTime?: Date | undefined;
|
|
403
|
+
description?: string | undefined;
|
|
404
404
|
visibilityStatus: VisibilityStatus | undefined;
|
|
405
|
-
tags?: Record<string, string
|
|
406
|
-
origin?: Origin;
|
|
407
|
-
status?: Status;
|
|
405
|
+
tags?: Record<string, string> | undefined;
|
|
406
|
+
origin?: Origin | undefined;
|
|
407
|
+
status?: Status | undefined;
|
|
408
408
|
}
|
|
409
409
|
export interface CreateAIPromptResponse {
|
|
410
|
-
aiPrompt?: AIPromptData;
|
|
410
|
+
aiPrompt?: AIPromptData | undefined;
|
|
411
411
|
}
|
|
412
412
|
export interface CreateAIPromptVersionRequest {
|
|
413
413
|
assistantId: string | undefined;
|
|
414
414
|
aiPromptId: string | undefined;
|
|
415
|
-
modifiedTime?: Date;
|
|
416
|
-
clientToken?: string;
|
|
415
|
+
modifiedTime?: Date | undefined;
|
|
416
|
+
clientToken?: string | undefined;
|
|
417
417
|
}
|
|
418
418
|
export interface CreateAIPromptVersionResponse {
|
|
419
|
-
aiPrompt?: AIPromptData;
|
|
420
|
-
versionNumber?: number;
|
|
419
|
+
aiPrompt?: AIPromptData | undefined;
|
|
420
|
+
versionNumber?: number | undefined;
|
|
421
421
|
}
|
|
422
422
|
export interface DeleteAIPromptRequest {
|
|
423
423
|
assistantId: string | undefined;
|
|
@@ -435,14 +435,14 @@ export interface GetAIPromptRequest {
|
|
|
435
435
|
aiPromptId: string | undefined;
|
|
436
436
|
}
|
|
437
437
|
export interface GetAIPromptResponse {
|
|
438
|
-
aiPrompt?: AIPromptData;
|
|
439
|
-
versionNumber?: number;
|
|
438
|
+
aiPrompt?: AIPromptData | undefined;
|
|
439
|
+
versionNumber?: number | undefined;
|
|
440
440
|
}
|
|
441
441
|
export interface ListAIPromptsRequest {
|
|
442
442
|
assistantId: string | undefined;
|
|
443
|
-
nextToken?: string;
|
|
444
|
-
maxResults?: number;
|
|
445
|
-
origin?: Origin;
|
|
443
|
+
nextToken?: string | undefined;
|
|
444
|
+
maxResults?: number | undefined;
|
|
445
|
+
origin?: Origin | undefined;
|
|
446
446
|
}
|
|
447
447
|
export interface AIPromptSummary {
|
|
448
448
|
name: string | undefined;
|
|
@@ -451,52 +451,52 @@ export interface AIPromptSummary {
|
|
|
451
451
|
aiPromptId: string | undefined;
|
|
452
452
|
type: AIPromptType | undefined;
|
|
453
453
|
aiPromptArn: string | undefined;
|
|
454
|
-
modifiedTime?: Date;
|
|
454
|
+
modifiedTime?: Date | undefined;
|
|
455
455
|
templateType: AIPromptTemplateType | undefined;
|
|
456
456
|
modelId: string | undefined;
|
|
457
457
|
apiFormat: AIPromptAPIFormat | undefined;
|
|
458
458
|
visibilityStatus: VisibilityStatus | undefined;
|
|
459
|
-
origin?: Origin;
|
|
460
|
-
description?: string;
|
|
461
|
-
status?: Status;
|
|
462
|
-
tags?: Record<string, string
|
|
459
|
+
origin?: Origin | undefined;
|
|
460
|
+
description?: string | undefined;
|
|
461
|
+
status?: Status | undefined;
|
|
462
|
+
tags?: Record<string, string> | undefined;
|
|
463
463
|
}
|
|
464
464
|
export interface ListAIPromptsResponse {
|
|
465
465
|
aiPromptSummaries: AIPromptSummary[] | undefined;
|
|
466
|
-
nextToken?: string;
|
|
466
|
+
nextToken?: string | undefined;
|
|
467
467
|
}
|
|
468
468
|
export interface ListAIPromptVersionsRequest {
|
|
469
469
|
assistantId: string | undefined;
|
|
470
470
|
aiPromptId: string | undefined;
|
|
471
|
-
nextToken?: string;
|
|
472
|
-
maxResults?: number;
|
|
473
|
-
origin?: Origin;
|
|
471
|
+
nextToken?: string | undefined;
|
|
472
|
+
maxResults?: number | undefined;
|
|
473
|
+
origin?: Origin | undefined;
|
|
474
474
|
}
|
|
475
475
|
export interface AIPromptVersionSummary {
|
|
476
|
-
aiPromptSummary?: AIPromptSummary;
|
|
477
|
-
versionNumber?: number;
|
|
476
|
+
aiPromptSummary?: AIPromptSummary | undefined;
|
|
477
|
+
versionNumber?: number | undefined;
|
|
478
478
|
}
|
|
479
479
|
export interface ListAIPromptVersionsResponse {
|
|
480
480
|
aiPromptVersionSummaries: AIPromptVersionSummary[] | undefined;
|
|
481
|
-
nextToken?: string;
|
|
481
|
+
nextToken?: string | undefined;
|
|
482
482
|
}
|
|
483
483
|
export interface UpdateAIPromptRequest {
|
|
484
|
-
clientToken?: string;
|
|
484
|
+
clientToken?: string | undefined;
|
|
485
485
|
assistantId: string | undefined;
|
|
486
486
|
aiPromptId: string | undefined;
|
|
487
487
|
visibilityStatus: VisibilityStatus | undefined;
|
|
488
|
-
templateConfiguration?: AIPromptTemplateConfiguration;
|
|
489
|
-
description?: string;
|
|
488
|
+
templateConfiguration?: AIPromptTemplateConfiguration | undefined;
|
|
489
|
+
description?: string | undefined;
|
|
490
490
|
}
|
|
491
491
|
export interface UpdateAIPromptResponse {
|
|
492
|
-
aiPrompt?: AIPromptData;
|
|
492
|
+
aiPrompt?: AIPromptData | undefined;
|
|
493
493
|
}
|
|
494
494
|
export interface AmazonConnectGuideAssociationData {
|
|
495
|
-
flowId?: string;
|
|
495
|
+
flowId?: string | undefined;
|
|
496
496
|
}
|
|
497
497
|
export interface AppIntegrationsConfiguration {
|
|
498
498
|
appIntegrationArn: string | undefined;
|
|
499
|
-
objectFields?: string[];
|
|
499
|
+
objectFields?: string[] | undefined;
|
|
500
500
|
}
|
|
501
501
|
export type AssistantAssociationInputData =
|
|
502
502
|
| AssistantAssociationInputData.KnowledgeBaseIdMember
|
|
@@ -528,12 +528,12 @@ export interface CreateAssistantAssociationRequest {
|
|
|
528
528
|
assistantId: string | undefined;
|
|
529
529
|
associationType: AssociationType | undefined;
|
|
530
530
|
association: AssistantAssociationInputData | undefined;
|
|
531
|
-
clientToken?: string;
|
|
532
|
-
tags?: Record<string, string
|
|
531
|
+
clientToken?: string | undefined;
|
|
532
|
+
tags?: Record<string, string> | undefined;
|
|
533
533
|
}
|
|
534
534
|
export interface KnowledgeBaseAssociationData {
|
|
535
|
-
knowledgeBaseId?: string;
|
|
536
|
-
knowledgeBaseArn?: string;
|
|
535
|
+
knowledgeBaseId?: string | undefined;
|
|
536
|
+
knowledgeBaseArn?: string | undefined;
|
|
537
537
|
}
|
|
538
538
|
export type AssistantAssociationOutputData =
|
|
539
539
|
| AssistantAssociationOutputData.KnowledgeBaseAssociationMember
|
|
@@ -563,10 +563,10 @@ export interface AssistantAssociationData {
|
|
|
563
563
|
assistantArn: string | undefined;
|
|
564
564
|
associationType: AssociationType | undefined;
|
|
565
565
|
associationData: AssistantAssociationOutputData | undefined;
|
|
566
|
-
tags?: Record<string, string
|
|
566
|
+
tags?: Record<string, string> | undefined;
|
|
567
567
|
}
|
|
568
568
|
export interface CreateAssistantAssociationResponse {
|
|
569
|
-
assistantAssociation?: AssistantAssociationData;
|
|
569
|
+
assistantAssociation?: AssistantAssociationData | undefined;
|
|
570
570
|
}
|
|
571
571
|
export interface DeleteAssistantAssociationRequest {
|
|
572
572
|
assistantAssociationId: string | undefined;
|
|
@@ -578,11 +578,11 @@ export interface GetAssistantAssociationRequest {
|
|
|
578
578
|
assistantId: string | undefined;
|
|
579
579
|
}
|
|
580
580
|
export interface GetAssistantAssociationResponse {
|
|
581
|
-
assistantAssociation?: AssistantAssociationData;
|
|
581
|
+
assistantAssociation?: AssistantAssociationData | undefined;
|
|
582
582
|
}
|
|
583
583
|
export interface ListAssistantAssociationsRequest {
|
|
584
|
-
nextToken?: string;
|
|
585
|
-
maxResults?: number;
|
|
584
|
+
nextToken?: string | undefined;
|
|
585
|
+
maxResults?: number | undefined;
|
|
586
586
|
assistantId: string | undefined;
|
|
587
587
|
}
|
|
588
588
|
export interface AssistantAssociationSummary {
|
|
@@ -592,26 +592,28 @@ export interface AssistantAssociationSummary {
|
|
|
592
592
|
assistantArn: string | undefined;
|
|
593
593
|
associationType: AssociationType | undefined;
|
|
594
594
|
associationData: AssistantAssociationOutputData | undefined;
|
|
595
|
-
tags?: Record<string, string
|
|
595
|
+
tags?: Record<string, string> | undefined;
|
|
596
596
|
}
|
|
597
597
|
export interface ListAssistantAssociationsResponse {
|
|
598
598
|
assistantAssociationSummaries: AssistantAssociationSummary[] | undefined;
|
|
599
|
-
nextToken?: string;
|
|
599
|
+
nextToken?: string | undefined;
|
|
600
600
|
}
|
|
601
601
|
export interface ServerSideEncryptionConfiguration {
|
|
602
|
-
kmsKeyId?: string;
|
|
602
|
+
kmsKeyId?: string | undefined;
|
|
603
603
|
}
|
|
604
604
|
export declare const AssistantType: {
|
|
605
605
|
readonly AGENT: "AGENT";
|
|
606
606
|
};
|
|
607
607
|
export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
|
|
608
608
|
export interface CreateAssistantRequest {
|
|
609
|
-
clientToken?: string;
|
|
609
|
+
clientToken?: string | undefined;
|
|
610
610
|
name: string | undefined;
|
|
611
611
|
type: AssistantType | undefined;
|
|
612
|
-
description?: string;
|
|
613
|
-
tags?: Record<string, string
|
|
614
|
-
serverSideEncryptionConfiguration?:
|
|
612
|
+
description?: string | undefined;
|
|
613
|
+
tags?: Record<string, string> | undefined;
|
|
614
|
+
serverSideEncryptionConfiguration?:
|
|
615
|
+
| ServerSideEncryptionConfiguration
|
|
616
|
+
| undefined;
|
|
615
617
|
}
|
|
616
618
|
export declare const AssistantCapabilityType: {
|
|
617
619
|
readonly V1: "V1";
|
|
@@ -620,10 +622,10 @@ export declare const AssistantCapabilityType: {
|
|
|
620
622
|
export type AssistantCapabilityType =
|
|
621
623
|
(typeof AssistantCapabilityType)[keyof typeof AssistantCapabilityType];
|
|
622
624
|
export interface AssistantCapabilityConfiguration {
|
|
623
|
-
type?: AssistantCapabilityType;
|
|
625
|
+
type?: AssistantCapabilityType | undefined;
|
|
624
626
|
}
|
|
625
627
|
export interface AssistantIntegrationConfiguration {
|
|
626
|
-
topicIntegrationArn?: string;
|
|
628
|
+
topicIntegrationArn?: string | undefined;
|
|
627
629
|
}
|
|
628
630
|
export declare const AssistantStatus: {
|
|
629
631
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -641,15 +643,19 @@ export interface AssistantData {
|
|
|
641
643
|
name: string | undefined;
|
|
642
644
|
type: AssistantType | undefined;
|
|
643
645
|
status: AssistantStatus | undefined;
|
|
644
|
-
description?: string;
|
|
645
|
-
tags?: Record<string, string
|
|
646
|
-
serverSideEncryptionConfiguration?:
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
646
|
+
description?: string | undefined;
|
|
647
|
+
tags?: Record<string, string> | undefined;
|
|
648
|
+
serverSideEncryptionConfiguration?:
|
|
649
|
+
| ServerSideEncryptionConfiguration
|
|
650
|
+
| undefined;
|
|
651
|
+
integrationConfiguration?: AssistantIntegrationConfiguration | undefined;
|
|
652
|
+
capabilityConfiguration?: AssistantCapabilityConfiguration | undefined;
|
|
653
|
+
aiAgentConfiguration?:
|
|
654
|
+
| Partial<Record<AIAgentType, AIAgentConfigurationData>>
|
|
655
|
+
| undefined;
|
|
650
656
|
}
|
|
651
657
|
export interface CreateAssistantResponse {
|
|
652
|
-
assistant?: AssistantData;
|
|
658
|
+
assistant?: AssistantData | undefined;
|
|
653
659
|
}
|
|
654
660
|
export interface DeleteAssistantRequest {
|
|
655
661
|
assistantId: string | undefined;
|
|
@@ -659,13 +665,13 @@ export interface GetAssistantRequest {
|
|
|
659
665
|
assistantId: string | undefined;
|
|
660
666
|
}
|
|
661
667
|
export interface GetAssistantResponse {
|
|
662
|
-
assistant?: AssistantData;
|
|
668
|
+
assistant?: AssistantData | undefined;
|
|
663
669
|
}
|
|
664
670
|
export interface GetRecommendationsRequest {
|
|
665
671
|
assistantId: string | undefined;
|
|
666
672
|
sessionId: string | undefined;
|
|
667
|
-
maxResults?: number;
|
|
668
|
-
waitTimeSeconds?: number;
|
|
673
|
+
maxResults?: number | undefined;
|
|
674
|
+
waitTimeSeconds?: number | undefined;
|
|
669
675
|
}
|
|
670
676
|
export declare const RelevanceLevel: {
|
|
671
677
|
readonly HIGH: "HIGH";
|
|
@@ -675,20 +681,20 @@ export declare const RelevanceLevel: {
|
|
|
675
681
|
export type RelevanceLevel =
|
|
676
682
|
(typeof RelevanceLevel)[keyof typeof RelevanceLevel];
|
|
677
683
|
export interface RankingData {
|
|
678
|
-
relevanceScore?: number;
|
|
679
|
-
relevanceLevel?: RelevanceLevel;
|
|
684
|
+
relevanceScore?: number | undefined;
|
|
685
|
+
relevanceLevel?: RelevanceLevel | undefined;
|
|
680
686
|
}
|
|
681
687
|
export interface Highlight {
|
|
682
|
-
beginOffsetInclusive?: number;
|
|
683
|
-
endOffsetExclusive?: number;
|
|
688
|
+
beginOffsetInclusive?: number | undefined;
|
|
689
|
+
endOffsetExclusive?: number | undefined;
|
|
684
690
|
}
|
|
685
691
|
export interface DocumentText {
|
|
686
|
-
text?: string;
|
|
687
|
-
highlights?: Highlight[];
|
|
692
|
+
text?: string | undefined;
|
|
693
|
+
highlights?: Highlight[] | undefined;
|
|
688
694
|
}
|
|
689
695
|
export interface TextData {
|
|
690
|
-
title?: DocumentText;
|
|
691
|
-
excerpt?: DocumentText;
|
|
696
|
+
title?: DocumentText | undefined;
|
|
697
|
+
excerpt?: DocumentText | undefined;
|
|
692
698
|
}
|
|
693
699
|
export interface ContentDataDetails {
|
|
694
700
|
textData: TextData | undefined;
|
|
@@ -699,8 +705,8 @@ export interface IntentDetectedDataDetails {
|
|
|
699
705
|
intentId: string | undefined;
|
|
700
706
|
}
|
|
701
707
|
export interface CitationSpan {
|
|
702
|
-
beginOffsetInclusive?: number;
|
|
703
|
-
endOffsetExclusive?: number;
|
|
708
|
+
beginOffsetInclusive?: number | undefined;
|
|
709
|
+
endOffsetExclusive?: number | undefined;
|
|
704
710
|
}
|
|
705
711
|
export declare const SourceContentType: {
|
|
706
712
|
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
@@ -712,7 +718,7 @@ export interface SourceContentDataDetails {
|
|
|
712
718
|
type: SourceContentType | undefined;
|
|
713
719
|
textData: TextData | undefined;
|
|
714
720
|
rankingData: RankingData | undefined;
|
|
715
|
-
citationSpan?: CitationSpan;
|
|
721
|
+
citationSpan?: CitationSpan | undefined;
|
|
716
722
|
}
|
|
717
723
|
export declare const ReferenceType: {
|
|
718
724
|
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
@@ -720,16 +726,16 @@ export declare const ReferenceType: {
|
|
|
720
726
|
};
|
|
721
727
|
export type ReferenceType = (typeof ReferenceType)[keyof typeof ReferenceType];
|
|
722
728
|
export interface ContentReference {
|
|
723
|
-
knowledgeBaseArn?: string;
|
|
724
|
-
knowledgeBaseId?: string;
|
|
725
|
-
contentArn?: string;
|
|
726
|
-
contentId?: string;
|
|
727
|
-
sourceURL?: string;
|
|
728
|
-
referenceType?: ReferenceType;
|
|
729
|
+
knowledgeBaseArn?: string | undefined;
|
|
730
|
+
knowledgeBaseId?: string | undefined;
|
|
731
|
+
contentArn?: string | undefined;
|
|
732
|
+
contentId?: string | undefined;
|
|
733
|
+
sourceURL?: string | undefined;
|
|
734
|
+
referenceType?: ReferenceType | undefined;
|
|
729
735
|
}
|
|
730
736
|
export interface GenerativeReference {
|
|
731
|
-
modelId?: string;
|
|
732
|
-
generationId?: string;
|
|
737
|
+
modelId?: string | undefined;
|
|
738
|
+
generationId?: string | undefined;
|
|
733
739
|
}
|
|
734
740
|
export type DataReference =
|
|
735
741
|
| DataReference.ContentReferenceMember
|
|
@@ -760,8 +766,8 @@ export declare namespace DataReference {
|
|
|
760
766
|
}
|
|
761
767
|
export interface Document {
|
|
762
768
|
contentReference: ContentReference | undefined;
|
|
763
|
-
title?: DocumentText;
|
|
764
|
-
excerpt?: DocumentText;
|
|
769
|
+
title?: DocumentText | undefined;
|
|
770
|
+
excerpt?: DocumentText | undefined;
|
|
765
771
|
}
|
|
766
772
|
export declare const RecommendationType: {
|
|
767
773
|
readonly DETECTED_INTENT: "DETECTED_INTENT";
|
|
@@ -772,7 +778,7 @@ export declare const RecommendationType: {
|
|
|
772
778
|
export type RecommendationType =
|
|
773
779
|
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
774
780
|
export interface QueryRecommendationTriggerData {
|
|
775
|
-
text?: string;
|
|
781
|
+
text?: string | undefined;
|
|
776
782
|
}
|
|
777
783
|
export type RecommendationTriggerData =
|
|
778
784
|
| RecommendationTriggerData.QueryMember
|
|
@@ -813,8 +819,8 @@ export interface RecommendationTrigger {
|
|
|
813
819
|
recommendationIds: string[] | undefined;
|
|
814
820
|
}
|
|
815
821
|
export interface ListAssistantsRequest {
|
|
816
|
-
nextToken?: string;
|
|
817
|
-
maxResults?: number;
|
|
822
|
+
nextToken?: string | undefined;
|
|
823
|
+
maxResults?: number | undefined;
|
|
818
824
|
}
|
|
819
825
|
export interface AssistantSummary {
|
|
820
826
|
assistantId: string | undefined;
|
|
@@ -822,16 +828,20 @@ export interface AssistantSummary {
|
|
|
822
828
|
name: string | undefined;
|
|
823
829
|
type: AssistantType | undefined;
|
|
824
830
|
status: AssistantStatus | undefined;
|
|
825
|
-
description?: string;
|
|
826
|
-
tags?: Record<string, string
|
|
827
|
-
serverSideEncryptionConfiguration?:
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
+
description?: string | undefined;
|
|
832
|
+
tags?: Record<string, string> | undefined;
|
|
833
|
+
serverSideEncryptionConfiguration?:
|
|
834
|
+
| ServerSideEncryptionConfiguration
|
|
835
|
+
| undefined;
|
|
836
|
+
integrationConfiguration?: AssistantIntegrationConfiguration | undefined;
|
|
837
|
+
capabilityConfiguration?: AssistantCapabilityConfiguration | undefined;
|
|
838
|
+
aiAgentConfiguration?:
|
|
839
|
+
| Partial<Record<AIAgentType, AIAgentConfigurationData>>
|
|
840
|
+
| undefined;
|
|
831
841
|
}
|
|
832
842
|
export interface ListAssistantsResponse {
|
|
833
843
|
assistantSummaries: AssistantSummary[] | undefined;
|
|
834
|
-
nextToken?: string;
|
|
844
|
+
nextToken?: string | undefined;
|
|
835
845
|
}
|
|
836
846
|
export interface NotifyRecommendationsReceivedRequest {
|
|
837
847
|
assistantId: string | undefined;
|
|
@@ -839,12 +849,12 @@ export interface NotifyRecommendationsReceivedRequest {
|
|
|
839
849
|
recommendationIds: string[] | undefined;
|
|
840
850
|
}
|
|
841
851
|
export interface NotifyRecommendationsReceivedError {
|
|
842
|
-
recommendationId?: string;
|
|
843
|
-
message?: string;
|
|
852
|
+
recommendationId?: string | undefined;
|
|
853
|
+
message?: string | undefined;
|
|
844
854
|
}
|
|
845
855
|
export interface NotifyRecommendationsReceivedResponse {
|
|
846
|
-
recommendationIds?: string[];
|
|
847
|
-
errors?: NotifyRecommendationsReceivedError[];
|
|
856
|
+
recommendationIds?: string[] | undefined;
|
|
857
|
+
errors?: NotifyRecommendationsReceivedError[] | undefined;
|
|
848
858
|
}
|
|
849
859
|
export declare const Relevance: {
|
|
850
860
|
readonly HELPFUL: "HELPFUL";
|
|
@@ -958,13 +968,13 @@ export declare namespace QueryInputData {
|
|
|
958
968
|
}
|
|
959
969
|
export interface QueryAssistantRequest {
|
|
960
970
|
assistantId: string | undefined;
|
|
961
|
-
queryText?: string;
|
|
962
|
-
nextToken?: string;
|
|
963
|
-
maxResults?: number;
|
|
964
|
-
sessionId?: string;
|
|
965
|
-
queryCondition?: QueryCondition[];
|
|
966
|
-
queryInputData?: QueryInputData;
|
|
967
|
-
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType;
|
|
971
|
+
queryText?: string | undefined;
|
|
972
|
+
nextToken?: string | undefined;
|
|
973
|
+
maxResults?: number | undefined;
|
|
974
|
+
sessionId?: string | undefined;
|
|
975
|
+
queryCondition?: QueryCondition[] | undefined;
|
|
976
|
+
queryInputData?: QueryInputData | undefined;
|
|
977
|
+
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined;
|
|
968
978
|
}
|
|
969
979
|
export declare const QueryResultType: {
|
|
970
980
|
readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
|
|
@@ -1004,8 +1014,8 @@ export interface SearchExpression {
|
|
|
1004
1014
|
filters: Filter[] | undefined;
|
|
1005
1015
|
}
|
|
1006
1016
|
export interface SearchSessionsRequest {
|
|
1007
|
-
nextToken?: string;
|
|
1008
|
-
maxResults?: number;
|
|
1017
|
+
nextToken?: string | undefined;
|
|
1018
|
+
maxResults?: number | undefined;
|
|
1009
1019
|
assistantId: string | undefined;
|
|
1010
1020
|
searchExpression: SearchExpression | undefined;
|
|
1011
1021
|
}
|
|
@@ -1017,49 +1027,55 @@ export interface SessionSummary {
|
|
|
1017
1027
|
}
|
|
1018
1028
|
export interface SearchSessionsResponse {
|
|
1019
1029
|
sessionSummaries: SessionSummary[] | undefined;
|
|
1020
|
-
nextToken?: string;
|
|
1030
|
+
nextToken?: string | undefined;
|
|
1021
1031
|
}
|
|
1022
1032
|
export interface CreateSessionRequest {
|
|
1023
|
-
clientToken?: string;
|
|
1033
|
+
clientToken?: string | undefined;
|
|
1024
1034
|
assistantId: string | undefined;
|
|
1025
1035
|
name: string | undefined;
|
|
1026
|
-
description?: string;
|
|
1027
|
-
tags?: Record<string, string
|
|
1028
|
-
tagFilter?: TagFilter;
|
|
1029
|
-
aiAgentConfiguration?:
|
|
1036
|
+
description?: string | undefined;
|
|
1037
|
+
tags?: Record<string, string> | undefined;
|
|
1038
|
+
tagFilter?: TagFilter | undefined;
|
|
1039
|
+
aiAgentConfiguration?:
|
|
1040
|
+
| Partial<Record<AIAgentType, AIAgentConfigurationData>>
|
|
1041
|
+
| undefined;
|
|
1030
1042
|
}
|
|
1031
1043
|
export interface SessionIntegrationConfiguration {
|
|
1032
|
-
topicIntegrationArn?: string;
|
|
1044
|
+
topicIntegrationArn?: string | undefined;
|
|
1033
1045
|
}
|
|
1034
1046
|
export interface SessionData {
|
|
1035
1047
|
sessionArn: string | undefined;
|
|
1036
1048
|
sessionId: string | undefined;
|
|
1037
1049
|
name: string | undefined;
|
|
1038
|
-
description?: string;
|
|
1039
|
-
tags?: Record<string, string
|
|
1040
|
-
integrationConfiguration?: SessionIntegrationConfiguration;
|
|
1041
|
-
tagFilter?: TagFilter;
|
|
1042
|
-
aiAgentConfiguration?:
|
|
1050
|
+
description?: string | undefined;
|
|
1051
|
+
tags?: Record<string, string> | undefined;
|
|
1052
|
+
integrationConfiguration?: SessionIntegrationConfiguration | undefined;
|
|
1053
|
+
tagFilter?: TagFilter | undefined;
|
|
1054
|
+
aiAgentConfiguration?:
|
|
1055
|
+
| Partial<Record<AIAgentType, AIAgentConfigurationData>>
|
|
1056
|
+
| undefined;
|
|
1043
1057
|
}
|
|
1044
1058
|
export interface CreateSessionResponse {
|
|
1045
|
-
session?: SessionData;
|
|
1059
|
+
session?: SessionData | undefined;
|
|
1046
1060
|
}
|
|
1047
1061
|
export interface GetSessionRequest {
|
|
1048
1062
|
assistantId: string | undefined;
|
|
1049
1063
|
sessionId: string | undefined;
|
|
1050
1064
|
}
|
|
1051
1065
|
export interface GetSessionResponse {
|
|
1052
|
-
session?: SessionData;
|
|
1066
|
+
session?: SessionData | undefined;
|
|
1053
1067
|
}
|
|
1054
1068
|
export interface UpdateSessionRequest {
|
|
1055
1069
|
assistantId: string | undefined;
|
|
1056
1070
|
sessionId: string | undefined;
|
|
1057
|
-
description?: string;
|
|
1058
|
-
tagFilter?: TagFilter;
|
|
1059
|
-
aiAgentConfiguration?:
|
|
1071
|
+
description?: string | undefined;
|
|
1072
|
+
tagFilter?: TagFilter | undefined;
|
|
1073
|
+
aiAgentConfiguration?:
|
|
1074
|
+
| Partial<Record<AIAgentType, AIAgentConfigurationData>>
|
|
1075
|
+
| undefined;
|
|
1060
1076
|
}
|
|
1061
1077
|
export interface UpdateSessionResponse {
|
|
1062
|
-
session?: SessionData;
|
|
1078
|
+
session?: SessionData | undefined;
|
|
1063
1079
|
}
|
|
1064
1080
|
export type RuntimeSessionDataValue =
|
|
1065
1081
|
| RuntimeSessionDataValue.StringValueMember
|
|
@@ -1091,7 +1107,7 @@ export type SessionDataNamespace =
|
|
|
1091
1107
|
export interface UpdateSessionDataRequest {
|
|
1092
1108
|
assistantId: string | undefined;
|
|
1093
1109
|
sessionId: string | undefined;
|
|
1094
|
-
namespace?: SessionDataNamespace;
|
|
1110
|
+
namespace?: SessionDataNamespace | undefined;
|
|
1095
1111
|
data: RuntimeSessionData[] | undefined;
|
|
1096
1112
|
}
|
|
1097
1113
|
export interface UpdateSessionDataResponse {
|
|
@@ -1106,14 +1122,14 @@ export interface UpdateAssistantAIAgentRequest {
|
|
|
1106
1122
|
configuration: AIAgentConfigurationData | undefined;
|
|
1107
1123
|
}
|
|
1108
1124
|
export interface UpdateAssistantAIAgentResponse {
|
|
1109
|
-
assistant?: AssistantData;
|
|
1125
|
+
assistant?: AssistantData | undefined;
|
|
1110
1126
|
}
|
|
1111
1127
|
export interface ParsingPrompt {
|
|
1112
1128
|
parsingPromptText: string | undefined;
|
|
1113
1129
|
}
|
|
1114
1130
|
export interface BedrockFoundationModelConfigurationForParsing {
|
|
1115
1131
|
modelArn: string | undefined;
|
|
1116
|
-
parsingPrompt?: ParsingPrompt;
|
|
1132
|
+
parsingPrompt?: ParsingPrompt | undefined;
|
|
1117
1133
|
}
|
|
1118
1134
|
export declare const ChunkingStrategy: {
|
|
1119
1135
|
readonly FIXED_SIZE: "FIXED_SIZE";
|
|
@@ -1141,12 +1157,14 @@ export interface SemanticChunkingConfiguration {
|
|
|
1141
1157
|
}
|
|
1142
1158
|
export interface ChunkingConfiguration {
|
|
1143
1159
|
chunkingStrategy: ChunkingStrategy | undefined;
|
|
1144
|
-
fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
|
|
1145
|
-
hierarchicalChunkingConfiguration?:
|
|
1146
|
-
|
|
1160
|
+
fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration | undefined;
|
|
1161
|
+
hierarchicalChunkingConfiguration?:
|
|
1162
|
+
| HierarchicalChunkingConfiguration
|
|
1163
|
+
| undefined;
|
|
1164
|
+
semanticChunkingConfiguration?: SemanticChunkingConfiguration | undefined;
|
|
1147
1165
|
}
|
|
1148
1166
|
export interface ConnectConfiguration {
|
|
1149
|
-
instanceId?: string;
|
|
1167
|
+
instanceId?: string | undefined;
|
|
1150
1168
|
}
|
|
1151
1169
|
export type Configuration =
|
|
1152
1170
|
| Configuration.ConnectConfigurationMember
|
|
@@ -1192,12 +1210,12 @@ export declare const ContentAssociationType: {
|
|
|
1192
1210
|
export type ContentAssociationType =
|
|
1193
1211
|
(typeof ContentAssociationType)[keyof typeof ContentAssociationType];
|
|
1194
1212
|
export interface CreateContentAssociationRequest {
|
|
1195
|
-
clientToken?: string;
|
|
1213
|
+
clientToken?: string | undefined;
|
|
1196
1214
|
knowledgeBaseId: string | undefined;
|
|
1197
1215
|
contentId: string | undefined;
|
|
1198
1216
|
associationType: ContentAssociationType | undefined;
|
|
1199
1217
|
association: ContentAssociationContents | undefined;
|
|
1200
|
-
tags?: Record<string, string
|
|
1218
|
+
tags?: Record<string, string> | undefined;
|
|
1201
1219
|
}
|
|
1202
1220
|
export interface ContentAssociationData {
|
|
1203
1221
|
knowledgeBaseId: string | undefined;
|
|
@@ -1208,10 +1226,10 @@ export interface ContentAssociationData {
|
|
|
1208
1226
|
contentAssociationArn: string | undefined;
|
|
1209
1227
|
associationType: ContentAssociationType | undefined;
|
|
1210
1228
|
associationData: ContentAssociationContents | undefined;
|
|
1211
|
-
tags?: Record<string, string
|
|
1229
|
+
tags?: Record<string, string> | undefined;
|
|
1212
1230
|
}
|
|
1213
1231
|
export interface CreateContentAssociationResponse {
|
|
1214
|
-
contentAssociation?: ContentAssociationData;
|
|
1232
|
+
contentAssociation?: ContentAssociationData | undefined;
|
|
1215
1233
|
}
|
|
1216
1234
|
export interface DeleteContentAssociationRequest {
|
|
1217
1235
|
knowledgeBaseId: string | undefined;
|
|
@@ -1225,11 +1243,11 @@ export interface GetContentAssociationRequest {
|
|
|
1225
1243
|
contentAssociationId: string | undefined;
|
|
1226
1244
|
}
|
|
1227
1245
|
export interface GetContentAssociationResponse {
|
|
1228
|
-
contentAssociation?: ContentAssociationData;
|
|
1246
|
+
contentAssociation?: ContentAssociationData | undefined;
|
|
1229
1247
|
}
|
|
1230
1248
|
export interface ListContentAssociationsRequest {
|
|
1231
|
-
nextToken?: string;
|
|
1232
|
-
maxResults?: number;
|
|
1249
|
+
nextToken?: string | undefined;
|
|
1250
|
+
maxResults?: number | undefined;
|
|
1233
1251
|
knowledgeBaseId: string | undefined;
|
|
1234
1252
|
contentId: string | undefined;
|
|
1235
1253
|
}
|
|
@@ -1242,21 +1260,21 @@ export interface ContentAssociationSummary {
|
|
|
1242
1260
|
contentAssociationArn: string | undefined;
|
|
1243
1261
|
associationType: ContentAssociationType | undefined;
|
|
1244
1262
|
associationData: ContentAssociationContents | undefined;
|
|
1245
|
-
tags?: Record<string, string
|
|
1263
|
+
tags?: Record<string, string> | undefined;
|
|
1246
1264
|
}
|
|
1247
1265
|
export interface ListContentAssociationsResponse {
|
|
1248
1266
|
contentAssociationSummaries: ContentAssociationSummary[] | undefined;
|
|
1249
|
-
nextToken?: string;
|
|
1267
|
+
nextToken?: string | undefined;
|
|
1250
1268
|
}
|
|
1251
1269
|
export interface CreateContentRequest {
|
|
1252
1270
|
knowledgeBaseId: string | undefined;
|
|
1253
1271
|
name: string | undefined;
|
|
1254
|
-
title?: string;
|
|
1255
|
-
overrideLinkOutUri?: string;
|
|
1256
|
-
metadata?: Record<string, string
|
|
1272
|
+
title?: string | undefined;
|
|
1273
|
+
overrideLinkOutUri?: string | undefined;
|
|
1274
|
+
metadata?: Record<string, string> | undefined;
|
|
1257
1275
|
uploadId: string | undefined;
|
|
1258
|
-
clientToken?: string;
|
|
1259
|
-
tags?: Record<string, string
|
|
1276
|
+
clientToken?: string | undefined;
|
|
1277
|
+
tags?: Record<string, string> | undefined;
|
|
1260
1278
|
}
|
|
1261
1279
|
export declare const ContentStatus: {
|
|
1262
1280
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1279,13 +1297,13 @@ export interface ContentData {
|
|
|
1279
1297
|
contentType: string | undefined;
|
|
1280
1298
|
status: ContentStatus | undefined;
|
|
1281
1299
|
metadata: Record<string, string> | undefined;
|
|
1282
|
-
tags?: Record<string, string
|
|
1283
|
-
linkOutUri?: string;
|
|
1300
|
+
tags?: Record<string, string> | undefined;
|
|
1301
|
+
linkOutUri?: string | undefined;
|
|
1284
1302
|
url: string | undefined;
|
|
1285
1303
|
urlExpiry: Date | undefined;
|
|
1286
1304
|
}
|
|
1287
1305
|
export interface CreateContentResponse {
|
|
1288
|
-
content?: ContentData;
|
|
1306
|
+
content?: ContentData | undefined;
|
|
1289
1307
|
}
|
|
1290
1308
|
export interface DeleteContentRequest {
|
|
1291
1309
|
knowledgeBaseId: string | undefined;
|
|
@@ -1297,7 +1315,7 @@ export interface GetContentRequest {
|
|
|
1297
1315
|
knowledgeBaseId: string | undefined;
|
|
1298
1316
|
}
|
|
1299
1317
|
export interface GetContentResponse {
|
|
1300
|
-
content?: ContentData;
|
|
1318
|
+
content?: ContentData | undefined;
|
|
1301
1319
|
}
|
|
1302
1320
|
export interface GetContentSummaryRequest {
|
|
1303
1321
|
contentId: string | undefined;
|
|
@@ -1314,19 +1332,19 @@ export interface ContentSummary {
|
|
|
1314
1332
|
contentType: string | undefined;
|
|
1315
1333
|
status: ContentStatus | undefined;
|
|
1316
1334
|
metadata: Record<string, string> | undefined;
|
|
1317
|
-
tags?: Record<string, string
|
|
1335
|
+
tags?: Record<string, string> | undefined;
|
|
1318
1336
|
}
|
|
1319
1337
|
export interface GetContentSummaryResponse {
|
|
1320
|
-
contentSummary?: ContentSummary;
|
|
1338
|
+
contentSummary?: ContentSummary | undefined;
|
|
1321
1339
|
}
|
|
1322
1340
|
export interface ListContentsRequest {
|
|
1323
|
-
nextToken?: string;
|
|
1324
|
-
maxResults?: number;
|
|
1341
|
+
nextToken?: string | undefined;
|
|
1342
|
+
maxResults?: number | undefined;
|
|
1325
1343
|
knowledgeBaseId: string | undefined;
|
|
1326
1344
|
}
|
|
1327
1345
|
export interface ListContentsResponse {
|
|
1328
1346
|
contentSummaries: ContentSummary[] | undefined;
|
|
1329
|
-
nextToken?: string;
|
|
1347
|
+
nextToken?: string | undefined;
|
|
1330
1348
|
}
|
|
1331
1349
|
export declare class PreconditionFailedException extends __BaseException {
|
|
1332
1350
|
readonly name: "PreconditionFailedException";
|
|
@@ -1338,15 +1356,15 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
1338
1356
|
export interface UpdateContentRequest {
|
|
1339
1357
|
knowledgeBaseId: string | undefined;
|
|
1340
1358
|
contentId: string | undefined;
|
|
1341
|
-
revisionId?: string;
|
|
1342
|
-
title?: string;
|
|
1343
|
-
overrideLinkOutUri?: string;
|
|
1344
|
-
removeOverrideLinkOutUri?: boolean;
|
|
1345
|
-
metadata?: Record<string, string
|
|
1346
|
-
uploadId?: string;
|
|
1359
|
+
revisionId?: string | undefined;
|
|
1360
|
+
title?: string | undefined;
|
|
1361
|
+
overrideLinkOutUri?: string | undefined;
|
|
1362
|
+
removeOverrideLinkOutUri?: boolean | undefined;
|
|
1363
|
+
metadata?: Record<string, string> | undefined;
|
|
1364
|
+
uploadId?: string | undefined;
|
|
1347
1365
|
}
|
|
1348
1366
|
export interface UpdateContentResponse {
|
|
1349
|
-
content?: ContentData;
|
|
1367
|
+
content?: ContentData | undefined;
|
|
1350
1368
|
}
|
|
1351
1369
|
export declare const KnowledgeBaseType: {
|
|
1352
1370
|
readonly CUSTOM: "CUSTOM";
|
|
@@ -1358,10 +1376,10 @@ export declare const KnowledgeBaseType: {
|
|
|
1358
1376
|
export type KnowledgeBaseType =
|
|
1359
1377
|
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
1360
1378
|
export interface RenderingConfiguration {
|
|
1361
|
-
templateUri?: string;
|
|
1379
|
+
templateUri?: string | undefined;
|
|
1362
1380
|
}
|
|
1363
1381
|
export interface WebCrawlerLimits {
|
|
1364
|
-
rateLimit?: number;
|
|
1382
|
+
rateLimit?: number | undefined;
|
|
1365
1383
|
}
|
|
1366
1384
|
export declare const WebScopeType: {
|
|
1367
1385
|
readonly HOST_ONLY: "HOST_ONLY";
|
|
@@ -1369,17 +1387,17 @@ export declare const WebScopeType: {
|
|
|
1369
1387
|
};
|
|
1370
1388
|
export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
|
|
1371
1389
|
export interface SeedUrl {
|
|
1372
|
-
url?: string;
|
|
1390
|
+
url?: string | undefined;
|
|
1373
1391
|
}
|
|
1374
1392
|
export interface UrlConfiguration {
|
|
1375
|
-
seedUrls?: SeedUrl[];
|
|
1393
|
+
seedUrls?: SeedUrl[] | undefined;
|
|
1376
1394
|
}
|
|
1377
1395
|
export interface WebCrawlerConfiguration {
|
|
1378
1396
|
urlConfiguration: UrlConfiguration | undefined;
|
|
1379
|
-
crawlerLimits?: WebCrawlerLimits;
|
|
1380
|
-
inclusionFilters?: string[];
|
|
1381
|
-
exclusionFilters?: string[];
|
|
1382
|
-
scope?: WebScopeType;
|
|
1397
|
+
crawlerLimits?: WebCrawlerLimits | undefined;
|
|
1398
|
+
inclusionFilters?: string[] | undefined;
|
|
1399
|
+
exclusionFilters?: string[] | undefined;
|
|
1400
|
+
scope?: WebScopeType | undefined;
|
|
1383
1401
|
}
|
|
1384
1402
|
export type ManagedSourceConfiguration =
|
|
1385
1403
|
| ManagedSourceConfiguration.WebCrawlerConfigurationMember
|
|
@@ -1433,22 +1451,26 @@ export type ParsingStrategy =
|
|
|
1433
1451
|
(typeof ParsingStrategy)[keyof typeof ParsingStrategy];
|
|
1434
1452
|
export interface ParsingConfiguration {
|
|
1435
1453
|
parsingStrategy: ParsingStrategy | undefined;
|
|
1436
|
-
bedrockFoundationModelConfiguration?:
|
|
1454
|
+
bedrockFoundationModelConfiguration?:
|
|
1455
|
+
| BedrockFoundationModelConfigurationForParsing
|
|
1456
|
+
| undefined;
|
|
1437
1457
|
}
|
|
1438
1458
|
export interface VectorIngestionConfiguration {
|
|
1439
|
-
chunkingConfiguration?: ChunkingConfiguration;
|
|
1440
|
-
parsingConfiguration?: ParsingConfiguration;
|
|
1459
|
+
chunkingConfiguration?: ChunkingConfiguration | undefined;
|
|
1460
|
+
parsingConfiguration?: ParsingConfiguration | undefined;
|
|
1441
1461
|
}
|
|
1442
1462
|
export interface CreateKnowledgeBaseRequest {
|
|
1443
|
-
clientToken?: string;
|
|
1463
|
+
clientToken?: string | undefined;
|
|
1444
1464
|
name: string | undefined;
|
|
1445
1465
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
1446
|
-
sourceConfiguration?: SourceConfiguration;
|
|
1447
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
1448
|
-
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
1449
|
-
serverSideEncryptionConfiguration?:
|
|
1450
|
-
|
|
1451
|
-
|
|
1466
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
1467
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
1468
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
|
|
1469
|
+
serverSideEncryptionConfiguration?:
|
|
1470
|
+
| ServerSideEncryptionConfiguration
|
|
1471
|
+
| undefined;
|
|
1472
|
+
description?: string | undefined;
|
|
1473
|
+
tags?: Record<string, string> | undefined;
|
|
1452
1474
|
}
|
|
1453
1475
|
export declare const SyncStatus: {
|
|
1454
1476
|
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
@@ -1473,18 +1495,20 @@ export interface KnowledgeBaseData {
|
|
|
1473
1495
|
name: string | undefined;
|
|
1474
1496
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
1475
1497
|
status: KnowledgeBaseStatus | undefined;
|
|
1476
|
-
lastContentModificationTime?: Date;
|
|
1477
|
-
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
1478
|
-
sourceConfiguration?: SourceConfiguration;
|
|
1479
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
1480
|
-
serverSideEncryptionConfiguration?:
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1498
|
+
lastContentModificationTime?: Date | undefined;
|
|
1499
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
|
|
1500
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
1501
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
1502
|
+
serverSideEncryptionConfiguration?:
|
|
1503
|
+
| ServerSideEncryptionConfiguration
|
|
1504
|
+
| undefined;
|
|
1505
|
+
description?: string | undefined;
|
|
1506
|
+
tags?: Record<string, string> | undefined;
|
|
1507
|
+
ingestionStatus?: SyncStatus | undefined;
|
|
1508
|
+
ingestionFailureReasons?: string[] | undefined;
|
|
1485
1509
|
}
|
|
1486
1510
|
export interface CreateKnowledgeBaseResponse {
|
|
1487
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
1511
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
1488
1512
|
}
|
|
1489
1513
|
export type QuickResponseDataProvider =
|
|
1490
1514
|
| QuickResponseDataProvider.ContentMember
|
|
@@ -1505,22 +1529,22 @@ export declare namespace QuickResponseDataProvider {
|
|
|
1505
1529
|
const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
|
|
1506
1530
|
}
|
|
1507
1531
|
export interface GroupingConfiguration {
|
|
1508
|
-
criteria?: string;
|
|
1509
|
-
values?: string[];
|
|
1532
|
+
criteria?: string | undefined;
|
|
1533
|
+
values?: string[] | undefined;
|
|
1510
1534
|
}
|
|
1511
1535
|
export interface CreateQuickResponseRequest {
|
|
1512
1536
|
knowledgeBaseId: string | undefined;
|
|
1513
1537
|
name: string | undefined;
|
|
1514
1538
|
content: QuickResponseDataProvider | undefined;
|
|
1515
|
-
contentType?: string;
|
|
1516
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
1517
|
-
description?: string;
|
|
1518
|
-
shortcutKey?: string;
|
|
1519
|
-
isActive?: boolean;
|
|
1520
|
-
channels?: string[];
|
|
1521
|
-
language?: string;
|
|
1522
|
-
clientToken?: string;
|
|
1523
|
-
tags?: Record<string, string
|
|
1539
|
+
contentType?: string | undefined;
|
|
1540
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
1541
|
+
description?: string | undefined;
|
|
1542
|
+
shortcutKey?: string | undefined;
|
|
1543
|
+
isActive?: boolean | undefined;
|
|
1544
|
+
channels?: string[] | undefined;
|
|
1545
|
+
language?: string | undefined;
|
|
1546
|
+
clientToken?: string | undefined;
|
|
1547
|
+
tags?: Record<string, string> | undefined;
|
|
1524
1548
|
}
|
|
1525
1549
|
export type QuickResponseContentProvider =
|
|
1526
1550
|
| QuickResponseContentProvider.ContentMember
|
|
@@ -1544,8 +1568,8 @@ export declare namespace QuickResponseContentProvider {
|
|
|
1544
1568
|
) => T;
|
|
1545
1569
|
}
|
|
1546
1570
|
export interface QuickResponseContents {
|
|
1547
|
-
plainText?: QuickResponseContentProvider;
|
|
1548
|
-
markdown?: QuickResponseContentProvider;
|
|
1571
|
+
plainText?: QuickResponseContentProvider | undefined;
|
|
1572
|
+
markdown?: QuickResponseContentProvider | undefined;
|
|
1549
1573
|
}
|
|
1550
1574
|
export declare const QuickResponseStatus: {
|
|
1551
1575
|
readonly CREATED: "CREATED";
|
|
@@ -1569,18 +1593,18 @@ export interface QuickResponseData {
|
|
|
1569
1593
|
status: QuickResponseStatus | undefined;
|
|
1570
1594
|
createdTime: Date | undefined;
|
|
1571
1595
|
lastModifiedTime: Date | undefined;
|
|
1572
|
-
contents?: QuickResponseContents;
|
|
1573
|
-
description?: string;
|
|
1574
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
1575
|
-
shortcutKey?: string;
|
|
1576
|
-
lastModifiedBy?: string;
|
|
1577
|
-
isActive?: boolean;
|
|
1578
|
-
channels?: string[];
|
|
1579
|
-
language?: string;
|
|
1580
|
-
tags?: Record<string, string
|
|
1596
|
+
contents?: QuickResponseContents | undefined;
|
|
1597
|
+
description?: string | undefined;
|
|
1598
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
1599
|
+
shortcutKey?: string | undefined;
|
|
1600
|
+
lastModifiedBy?: string | undefined;
|
|
1601
|
+
isActive?: boolean | undefined;
|
|
1602
|
+
channels?: string[] | undefined;
|
|
1603
|
+
language?: string | undefined;
|
|
1604
|
+
tags?: Record<string, string> | undefined;
|
|
1581
1605
|
}
|
|
1582
1606
|
export interface CreateQuickResponseResponse {
|
|
1583
|
-
quickResponse?: QuickResponseData;
|
|
1607
|
+
quickResponse?: QuickResponseData | undefined;
|
|
1584
1608
|
}
|
|
1585
1609
|
export interface DeleteImportJobRequest {
|
|
1586
1610
|
knowledgeBaseId: string | undefined;
|
|
@@ -1631,28 +1655,28 @@ export interface ImportJobData {
|
|
|
1631
1655
|
importJobType: ImportJobType | undefined;
|
|
1632
1656
|
status: ImportJobStatus | undefined;
|
|
1633
1657
|
url: string | undefined;
|
|
1634
|
-
failedRecordReport?: string;
|
|
1658
|
+
failedRecordReport?: string | undefined;
|
|
1635
1659
|
urlExpiry: Date | undefined;
|
|
1636
1660
|
createdTime: Date | undefined;
|
|
1637
1661
|
lastModifiedTime: Date | undefined;
|
|
1638
|
-
metadata?: Record<string, string
|
|
1639
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
1662
|
+
metadata?: Record<string, string> | undefined;
|
|
1663
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
1640
1664
|
}
|
|
1641
1665
|
export interface GetImportJobResponse {
|
|
1642
|
-
importJob?: ImportJobData;
|
|
1666
|
+
importJob?: ImportJobData | undefined;
|
|
1643
1667
|
}
|
|
1644
1668
|
export interface GetKnowledgeBaseRequest {
|
|
1645
1669
|
knowledgeBaseId: string | undefined;
|
|
1646
1670
|
}
|
|
1647
1671
|
export interface GetKnowledgeBaseResponse {
|
|
1648
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
1672
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
1649
1673
|
}
|
|
1650
1674
|
export interface GetQuickResponseRequest {
|
|
1651
1675
|
quickResponseId: string | undefined;
|
|
1652
1676
|
knowledgeBaseId: string | undefined;
|
|
1653
1677
|
}
|
|
1654
1678
|
export interface GetQuickResponseResponse {
|
|
1655
|
-
quickResponse?: QuickResponseData;
|
|
1679
|
+
quickResponse?: QuickResponseData | undefined;
|
|
1656
1680
|
}
|
|
1657
1681
|
export interface ImportJobSummary {
|
|
1658
1682
|
importJobId: string | undefined;
|
|
@@ -1663,21 +1687,21 @@ export interface ImportJobSummary {
|
|
|
1663
1687
|
status: ImportJobStatus | undefined;
|
|
1664
1688
|
createdTime: Date | undefined;
|
|
1665
1689
|
lastModifiedTime: Date | undefined;
|
|
1666
|
-
metadata?: Record<string, string
|
|
1667
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
1690
|
+
metadata?: Record<string, string> | undefined;
|
|
1691
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
1668
1692
|
}
|
|
1669
1693
|
export interface ListImportJobsRequest {
|
|
1670
|
-
nextToken?: string;
|
|
1671
|
-
maxResults?: number;
|
|
1694
|
+
nextToken?: string | undefined;
|
|
1695
|
+
maxResults?: number | undefined;
|
|
1672
1696
|
knowledgeBaseId: string | undefined;
|
|
1673
1697
|
}
|
|
1674
1698
|
export interface ListImportJobsResponse {
|
|
1675
1699
|
importJobSummaries: ImportJobSummary[] | undefined;
|
|
1676
|
-
nextToken?: string;
|
|
1700
|
+
nextToken?: string | undefined;
|
|
1677
1701
|
}
|
|
1678
1702
|
export interface ListKnowledgeBasesRequest {
|
|
1679
|
-
nextToken?: string;
|
|
1680
|
-
maxResults?: number;
|
|
1703
|
+
nextToken?: string | undefined;
|
|
1704
|
+
maxResults?: number | undefined;
|
|
1681
1705
|
}
|
|
1682
1706
|
export interface KnowledgeBaseSummary {
|
|
1683
1707
|
knowledgeBaseId: string | undefined;
|
|
@@ -1685,20 +1709,22 @@ export interface KnowledgeBaseSummary {
|
|
|
1685
1709
|
name: string | undefined;
|
|
1686
1710
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
1687
1711
|
status: KnowledgeBaseStatus | undefined;
|
|
1688
|
-
sourceConfiguration?: SourceConfiguration;
|
|
1689
|
-
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
1690
|
-
renderingConfiguration?: RenderingConfiguration;
|
|
1691
|
-
serverSideEncryptionConfiguration?:
|
|
1692
|
-
|
|
1693
|
-
|
|
1712
|
+
sourceConfiguration?: SourceConfiguration | undefined;
|
|
1713
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
|
|
1714
|
+
renderingConfiguration?: RenderingConfiguration | undefined;
|
|
1715
|
+
serverSideEncryptionConfiguration?:
|
|
1716
|
+
| ServerSideEncryptionConfiguration
|
|
1717
|
+
| undefined;
|
|
1718
|
+
description?: string | undefined;
|
|
1719
|
+
tags?: Record<string, string> | undefined;
|
|
1694
1720
|
}
|
|
1695
1721
|
export interface ListKnowledgeBasesResponse {
|
|
1696
1722
|
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
1697
|
-
nextToken?: string;
|
|
1723
|
+
nextToken?: string | undefined;
|
|
1698
1724
|
}
|
|
1699
1725
|
export interface ListQuickResponsesRequest {
|
|
1700
|
-
nextToken?: string;
|
|
1701
|
-
maxResults?: number;
|
|
1726
|
+
nextToken?: string | undefined;
|
|
1727
|
+
maxResults?: number | undefined;
|
|
1702
1728
|
knowledgeBaseId: string | undefined;
|
|
1703
1729
|
}
|
|
1704
1730
|
export interface QuickResponseSummary {
|
|
@@ -1711,48 +1737,48 @@ export interface QuickResponseSummary {
|
|
|
1711
1737
|
status: QuickResponseStatus | undefined;
|
|
1712
1738
|
createdTime: Date | undefined;
|
|
1713
1739
|
lastModifiedTime: Date | undefined;
|
|
1714
|
-
description?: string;
|
|
1715
|
-
lastModifiedBy?: string;
|
|
1716
|
-
isActive?: boolean;
|
|
1717
|
-
channels?: string[];
|
|
1718
|
-
tags?: Record<string, string
|
|
1740
|
+
description?: string | undefined;
|
|
1741
|
+
lastModifiedBy?: string | undefined;
|
|
1742
|
+
isActive?: boolean | undefined;
|
|
1743
|
+
channels?: string[] | undefined;
|
|
1744
|
+
tags?: Record<string, string> | undefined;
|
|
1719
1745
|
}
|
|
1720
1746
|
export interface ListQuickResponsesResponse {
|
|
1721
1747
|
quickResponseSummaries: QuickResponseSummary[] | undefined;
|
|
1722
|
-
nextToken?: string;
|
|
1748
|
+
nextToken?: string | undefined;
|
|
1723
1749
|
}
|
|
1724
1750
|
export interface UpdateQuickResponseRequest {
|
|
1725
1751
|
knowledgeBaseId: string | undefined;
|
|
1726
1752
|
quickResponseId: string | undefined;
|
|
1727
|
-
name?: string;
|
|
1728
|
-
content?: QuickResponseDataProvider;
|
|
1729
|
-
contentType?: string;
|
|
1730
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
1731
|
-
removeGroupingConfiguration?: boolean;
|
|
1732
|
-
description?: string;
|
|
1733
|
-
removeDescription?: boolean;
|
|
1734
|
-
shortcutKey?: string;
|
|
1735
|
-
removeShortcutKey?: boolean;
|
|
1736
|
-
isActive?: boolean;
|
|
1737
|
-
channels?: string[];
|
|
1738
|
-
language?: string;
|
|
1753
|
+
name?: string | undefined;
|
|
1754
|
+
content?: QuickResponseDataProvider | undefined;
|
|
1755
|
+
contentType?: string | undefined;
|
|
1756
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
1757
|
+
removeGroupingConfiguration?: boolean | undefined;
|
|
1758
|
+
description?: string | undefined;
|
|
1759
|
+
removeDescription?: boolean | undefined;
|
|
1760
|
+
shortcutKey?: string | undefined;
|
|
1761
|
+
removeShortcutKey?: boolean | undefined;
|
|
1762
|
+
isActive?: boolean | undefined;
|
|
1763
|
+
channels?: string[] | undefined;
|
|
1764
|
+
language?: string | undefined;
|
|
1739
1765
|
}
|
|
1740
1766
|
export interface UpdateQuickResponseResponse {
|
|
1741
|
-
quickResponse?: QuickResponseData;
|
|
1767
|
+
quickResponse?: QuickResponseData | undefined;
|
|
1742
1768
|
}
|
|
1743
1769
|
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
1744
1770
|
knowledgeBaseId: string | undefined;
|
|
1745
1771
|
}
|
|
1746
1772
|
export interface RemoveKnowledgeBaseTemplateUriResponse {}
|
|
1747
1773
|
export interface SearchContentRequest {
|
|
1748
|
-
nextToken?: string;
|
|
1749
|
-
maxResults?: number;
|
|
1774
|
+
nextToken?: string | undefined;
|
|
1775
|
+
maxResults?: number | undefined;
|
|
1750
1776
|
knowledgeBaseId: string | undefined;
|
|
1751
1777
|
searchExpression: SearchExpression | undefined;
|
|
1752
1778
|
}
|
|
1753
1779
|
export interface SearchContentResponse {
|
|
1754
1780
|
contentSummaries: ContentSummary[] | undefined;
|
|
1755
|
-
nextToken?: string;
|
|
1781
|
+
nextToken?: string | undefined;
|
|
1756
1782
|
}
|
|
1757
1783
|
export declare const QuickResponseFilterOperator: {
|
|
1758
1784
|
readonly EQUALS: "EQUALS";
|
|
@@ -1762,9 +1788,9 @@ export type QuickResponseFilterOperator =
|
|
|
1762
1788
|
(typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
|
|
1763
1789
|
export interface QuickResponseFilterField {
|
|
1764
1790
|
name: string | undefined;
|
|
1765
|
-
values?: string[];
|
|
1791
|
+
values?: string[] | undefined;
|
|
1766
1792
|
operator: QuickResponseFilterOperator | undefined;
|
|
1767
|
-
includeNoExistence?: boolean;
|
|
1793
|
+
includeNoExistence?: boolean | undefined;
|
|
1768
1794
|
}
|
|
1769
1795
|
export declare const Order: {
|
|
1770
1796
|
readonly ASC: "ASC";
|
|
@@ -1773,7 +1799,7 @@ export declare const Order: {
|
|
|
1773
1799
|
export type Order = (typeof Order)[keyof typeof Order];
|
|
1774
1800
|
export interface QuickResponseOrderField {
|
|
1775
1801
|
name: string | undefined;
|
|
1776
|
-
order?: Order;
|
|
1802
|
+
order?: Order | undefined;
|
|
1777
1803
|
}
|
|
1778
1804
|
export declare const QuickResponseQueryOperator: {
|
|
1779
1805
|
readonly CONTAINS: "CONTAINS";
|
|
@@ -1791,20 +1817,20 @@ export interface QuickResponseQueryField {
|
|
|
1791
1817
|
name: string | undefined;
|
|
1792
1818
|
values: string[] | undefined;
|
|
1793
1819
|
operator: QuickResponseQueryOperator | undefined;
|
|
1794
|
-
allowFuzziness?: boolean;
|
|
1795
|
-
priority?: Priority;
|
|
1820
|
+
allowFuzziness?: boolean | undefined;
|
|
1821
|
+
priority?: Priority | undefined;
|
|
1796
1822
|
}
|
|
1797
1823
|
export interface QuickResponseSearchExpression {
|
|
1798
|
-
queries?: QuickResponseQueryField[];
|
|
1799
|
-
filters?: QuickResponseFilterField[];
|
|
1800
|
-
orderOnField?: QuickResponseOrderField;
|
|
1824
|
+
queries?: QuickResponseQueryField[] | undefined;
|
|
1825
|
+
filters?: QuickResponseFilterField[] | undefined;
|
|
1826
|
+
orderOnField?: QuickResponseOrderField | undefined;
|
|
1801
1827
|
}
|
|
1802
1828
|
export interface SearchQuickResponsesRequest {
|
|
1803
1829
|
knowledgeBaseId: string | undefined;
|
|
1804
1830
|
searchExpression: QuickResponseSearchExpression | undefined;
|
|
1805
|
-
nextToken?: string;
|
|
1806
|
-
maxResults?: number;
|
|
1807
|
-
attributes?: Record<string, string
|
|
1831
|
+
nextToken?: string | undefined;
|
|
1832
|
+
maxResults?: number | undefined;
|
|
1833
|
+
attributes?: Record<string, string> | undefined;
|
|
1808
1834
|
}
|
|
1809
1835
|
export interface QuickResponseSearchResultData {
|
|
1810
1836
|
quickResponseArn: string | undefined;
|
|
@@ -1818,24 +1844,24 @@ export interface QuickResponseSearchResultData {
|
|
|
1818
1844
|
createdTime: Date | undefined;
|
|
1819
1845
|
lastModifiedTime: Date | undefined;
|
|
1820
1846
|
isActive: boolean | undefined;
|
|
1821
|
-
description?: string;
|
|
1822
|
-
groupingConfiguration?: GroupingConfiguration;
|
|
1823
|
-
shortcutKey?: string;
|
|
1824
|
-
lastModifiedBy?: string;
|
|
1825
|
-
channels?: string[];
|
|
1826
|
-
language?: string;
|
|
1827
|
-
attributesNotInterpolated?: string[];
|
|
1828
|
-
attributesInterpolated?: string[];
|
|
1829
|
-
tags?: Record<string, string
|
|
1847
|
+
description?: string | undefined;
|
|
1848
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
1849
|
+
shortcutKey?: string | undefined;
|
|
1850
|
+
lastModifiedBy?: string | undefined;
|
|
1851
|
+
channels?: string[] | undefined;
|
|
1852
|
+
language?: string | undefined;
|
|
1853
|
+
attributesNotInterpolated?: string[] | undefined;
|
|
1854
|
+
attributesInterpolated?: string[] | undefined;
|
|
1855
|
+
tags?: Record<string, string> | undefined;
|
|
1830
1856
|
}
|
|
1831
1857
|
export interface SearchQuickResponsesResponse {
|
|
1832
1858
|
results: QuickResponseSearchResultData[] | undefined;
|
|
1833
|
-
nextToken?: string;
|
|
1859
|
+
nextToken?: string | undefined;
|
|
1834
1860
|
}
|
|
1835
1861
|
export interface StartContentUploadRequest {
|
|
1836
1862
|
knowledgeBaseId: string | undefined;
|
|
1837
1863
|
contentType: string | undefined;
|
|
1838
|
-
presignedUrlTimeToLive?: number;
|
|
1864
|
+
presignedUrlTimeToLive?: number | undefined;
|
|
1839
1865
|
}
|
|
1840
1866
|
export interface StartContentUploadResponse {
|
|
1841
1867
|
uploadId: string | undefined;
|
|
@@ -1847,25 +1873,25 @@ export interface StartImportJobRequest {
|
|
|
1847
1873
|
knowledgeBaseId: string | undefined;
|
|
1848
1874
|
importJobType: ImportJobType | undefined;
|
|
1849
1875
|
uploadId: string | undefined;
|
|
1850
|
-
clientToken?: string;
|
|
1851
|
-
metadata?: Record<string, string
|
|
1852
|
-
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
1876
|
+
clientToken?: string | undefined;
|
|
1877
|
+
metadata?: Record<string, string> | undefined;
|
|
1878
|
+
externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
|
|
1853
1879
|
}
|
|
1854
1880
|
export interface StartImportJobResponse {
|
|
1855
|
-
importJob?: ImportJobData;
|
|
1881
|
+
importJob?: ImportJobData | undefined;
|
|
1856
1882
|
}
|
|
1857
1883
|
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
|
1858
1884
|
knowledgeBaseId: string | undefined;
|
|
1859
1885
|
templateUri: string | undefined;
|
|
1860
1886
|
}
|
|
1861
1887
|
export interface UpdateKnowledgeBaseTemplateUriResponse {
|
|
1862
|
-
knowledgeBase?: KnowledgeBaseData;
|
|
1888
|
+
knowledgeBase?: KnowledgeBaseData | undefined;
|
|
1863
1889
|
}
|
|
1864
1890
|
export interface ListTagsForResourceRequest {
|
|
1865
1891
|
resourceArn: string | undefined;
|
|
1866
1892
|
}
|
|
1867
1893
|
export interface ListTagsForResourceResponse {
|
|
1868
|
-
tags?: Record<string, string
|
|
1894
|
+
tags?: Record<string, string> | undefined;
|
|
1869
1895
|
}
|
|
1870
1896
|
export interface TagResourceRequest {
|
|
1871
1897
|
resourceArn: string | undefined;
|
|
@@ -1875,7 +1901,7 @@ export interface TagResourceResponse {}
|
|
|
1875
1901
|
export declare class TooManyTagsException extends __BaseException {
|
|
1876
1902
|
readonly name: "TooManyTagsException";
|
|
1877
1903
|
readonly $fault: "client";
|
|
1878
|
-
resourceName?: string;
|
|
1904
|
+
resourceName?: string | undefined;
|
|
1879
1905
|
constructor(
|
|
1880
1906
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
1881
1907
|
);
|
|
@@ -1947,26 +1973,26 @@ export interface GenerativeDataDetails {
|
|
|
1947
1973
|
}
|
|
1948
1974
|
export interface RecommendationData {
|
|
1949
1975
|
recommendationId: string | undefined;
|
|
1950
|
-
document?: Document;
|
|
1951
|
-
relevanceScore?: number;
|
|
1952
|
-
relevanceLevel?: RelevanceLevel;
|
|
1953
|
-
type?: RecommendationType;
|
|
1954
|
-
data?: DataSummary;
|
|
1976
|
+
document?: Document | undefined;
|
|
1977
|
+
relevanceScore?: number | undefined;
|
|
1978
|
+
relevanceLevel?: RelevanceLevel | undefined;
|
|
1979
|
+
type?: RecommendationType | undefined;
|
|
1980
|
+
data?: DataSummary | undefined;
|
|
1955
1981
|
}
|
|
1956
1982
|
export interface ResultData {
|
|
1957
1983
|
resultId: string | undefined;
|
|
1958
|
-
document?: Document;
|
|
1959
|
-
relevanceScore?: number;
|
|
1960
|
-
data?: DataSummary;
|
|
1961
|
-
type?: QueryResultType;
|
|
1984
|
+
document?: Document | undefined;
|
|
1985
|
+
relevanceScore?: number | undefined;
|
|
1986
|
+
data?: DataSummary | undefined;
|
|
1987
|
+
type?: QueryResultType | undefined;
|
|
1962
1988
|
}
|
|
1963
1989
|
export interface GetRecommendationsResponse {
|
|
1964
1990
|
recommendations: RecommendationData[] | undefined;
|
|
1965
|
-
triggers?: RecommendationTrigger[];
|
|
1991
|
+
triggers?: RecommendationTrigger[] | undefined;
|
|
1966
1992
|
}
|
|
1967
1993
|
export interface QueryAssistantResponse {
|
|
1968
1994
|
results: ResultData[] | undefined;
|
|
1969
|
-
nextToken?: string;
|
|
1995
|
+
nextToken?: string | undefined;
|
|
1970
1996
|
}
|
|
1971
1997
|
export declare const TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog: (
|
|
1972
1998
|
obj: TextFullAIPromptEditTemplateConfiguration
|