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