@aws-sdk/client-kendra 3.934.0 → 3.936.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 (53) hide show
  1. package/dist-cjs/index.js +396 -396
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +382 -0
  4. package/dist-es/models/errors.js +171 -0
  5. package/dist-es/models/models_0.js +1 -525
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +1 -2
  8. package/dist-types/commands/QueryCommand.d.ts +1 -1
  9. package/dist-types/commands/RetrieveCommand.d.ts +1 -1
  10. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  11. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  12. package/dist-types/commands/SubmitFeedbackCommand.d.ts +1 -1
  13. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  14. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  15. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
  16. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateExperienceCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +878 -0
  25. package/dist-types/models/errors.d.ts +185 -0
  26. package/dist-types/models/models_0.d.ts +1402 -1004
  27. package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +4 -2
  28. package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/index.d.ts +3 -1
  44. package/dist-types/ts3.4/models/enums.d.ts +485 -0
  45. package/dist-types/ts3.4/models/errors.d.ts +101 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +322 -559
  47. package/package.json +19 -19
  48. package/dist-es/models/index.js +0 -2
  49. package/dist-es/models/models_1.js +0 -29
  50. package/dist-types/models/index.d.ts +0 -2
  51. package/dist-types/models/models_1.d.ts +0 -1462
  52. package/dist-types/ts3.4/models/index.d.ts +0 -2
  53. package/dist-types/ts3.4/models/models_1.d.ts +0 -321
@@ -1,28 +1,77 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { KendraServiceException as __BaseException } from "./KendraServiceException";
2
+ import {
3
+ AdditionalResultAttributeValueType,
4
+ AlfrescoEntity,
5
+ AttributeSuggestionsMode,
6
+ ConditionOperator,
7
+ ConfluenceAttachmentFieldName,
8
+ ConfluenceAuthenticationType,
9
+ ConfluenceBlogFieldName,
10
+ ConfluencePageFieldName,
11
+ ConfluenceSpaceFieldName,
12
+ ConfluenceVersion,
13
+ ContentType,
14
+ DatabaseEngineType,
15
+ DataSourceStatus,
16
+ DataSourceSyncJobStatus,
17
+ DataSourceType,
18
+ DocumentAttributeValueType,
19
+ DocumentStatus,
20
+ EndpointType,
21
+ EntityType,
22
+ ErrorCode,
23
+ ExperienceStatus,
24
+ FaqFileFormat,
25
+ FaqStatus,
26
+ FeaturedResultsSetStatus,
27
+ FsxFileSystemType,
28
+ HighlightType,
29
+ IndexEdition,
30
+ IndexStatus,
31
+ Interval,
32
+ IssueSubEntity,
33
+ KeyLocation,
34
+ MetricType,
35
+ MissingAttributeKeyStrategy,
36
+ Mode,
37
+ Order,
38
+ Persona,
39
+ PrincipalMappingStatus,
40
+ PrincipalType,
41
+ QueryIdentifiersEnclosingOption,
42
+ QueryResultFormat,
43
+ QueryResultType,
44
+ QuerySuggestionsBlockListStatus,
45
+ QuerySuggestionsStatus,
46
+ ReadAccessType,
47
+ RelevanceType,
48
+ SalesforceChatterFeedIncludeFilterType,
49
+ SalesforceKnowledgeArticleState,
50
+ SalesforceStandardObjectName,
51
+ ScoreConfidence,
52
+ ServiceNowAuthenticationType,
53
+ ServiceNowBuildVersionType,
54
+ SharePointOnlineAuthenticationType,
55
+ SharePointVersion,
56
+ SlackEntity,
57
+ SortOrder,
58
+ SuggestionType,
59
+ ThesaurusStatus,
60
+ Type,
61
+ UserContextPolicy,
62
+ UserGroupResolutionMode,
63
+ WarningCode,
64
+ WebCrawlerMode,
65
+ } from "./enums";
4
66
  export interface AccessControlConfigurationSummary {
5
67
  Id: string | undefined;
6
68
  }
7
69
  export interface AccessControlListConfiguration {
8
70
  KeyPath?: string | undefined;
9
71
  }
10
- export declare class AccessDeniedException extends __BaseException {
11
- readonly name: "AccessDeniedException";
12
- readonly $fault: "client";
13
- Message?: string | undefined;
14
- constructor(
15
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
16
- );
17
- }
18
72
  export interface AclConfiguration {
19
73
  AllowedGroupsColumnName: string | undefined;
20
74
  }
21
- export declare const HighlightType: {
22
- readonly STANDARD: "STANDARD";
23
- readonly THESAURUS_SYNONYM: "THESAURUS_SYNONYM";
24
- };
25
- export type HighlightType = (typeof HighlightType)[keyof typeof HighlightType];
26
75
  export interface Highlight {
27
76
  BeginOffset: number | undefined;
28
77
  EndOffset: number | undefined;
@@ -36,11 +85,6 @@ export interface TextWithHighlights {
36
85
  export interface AdditionalResultAttributeValue {
37
86
  TextWithHighlightsValue?: TextWithHighlights | undefined;
38
87
  }
39
- export declare const AdditionalResultAttributeValueType: {
40
- readonly TEXT_WITH_HIGHLIGHTS_VALUE: "TEXT_WITH_HIGHLIGHTS_VALUE";
41
- };
42
- export type AdditionalResultAttributeValueType =
43
- (typeof AdditionalResultAttributeValueType)[keyof typeof AdditionalResultAttributeValueType];
44
88
  export interface AdditionalResultAttribute {
45
89
  Key: string | undefined;
46
90
  ValueType: AdditionalResultAttributeValueType | undefined;
@@ -51,13 +95,6 @@ export interface DataSourceToIndexFieldMapping {
51
95
  DateFieldFormat?: string | undefined;
52
96
  IndexFieldName: string | undefined;
53
97
  }
54
- export declare const AlfrescoEntity: {
55
- readonly blog: "blog";
56
- readonly documentLibrary: "documentLibrary";
57
- readonly wiki: "wiki";
58
- };
59
- export type AlfrescoEntity =
60
- (typeof AlfrescoEntity)[keyof typeof AlfrescoEntity];
61
98
  export interface S3Path {
62
99
  Bucket: string | undefined;
63
100
  Key: string | undefined;
@@ -81,11 +118,6 @@ export interface AlfrescoConfiguration {
81
118
  ExclusionPatterns?: string[] | undefined;
82
119
  VpcConfiguration?: DataSourceVpcConfiguration | undefined;
83
120
  }
84
- export declare const EntityType: {
85
- readonly GROUP: "GROUP";
86
- readonly USER: "USER";
87
- };
88
- export type EntityType = (typeof EntityType)[keyof typeof EntityType];
89
121
  export interface EntityConfiguration {
90
122
  EntityId: string | undefined;
91
123
  EntityType: EntityType | undefined;
@@ -102,51 +134,6 @@ export interface FailedEntity {
102
134
  export interface AssociateEntitiesToExperienceResponse {
103
135
  FailedEntityList?: FailedEntity[] | undefined;
104
136
  }
105
- export declare class InternalServerException extends __BaseException {
106
- readonly name: "InternalServerException";
107
- readonly $fault: "server";
108
- Message?: string | undefined;
109
- constructor(
110
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
111
- );
112
- }
113
- export declare class ResourceAlreadyExistException extends __BaseException {
114
- readonly name: "ResourceAlreadyExistException";
115
- readonly $fault: "client";
116
- Message?: string | undefined;
117
- constructor(
118
- opts: __ExceptionOptionType<ResourceAlreadyExistException, __BaseException>
119
- );
120
- }
121
- export declare class ResourceNotFoundException extends __BaseException {
122
- readonly name: "ResourceNotFoundException";
123
- readonly $fault: "client";
124
- Message?: string | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
127
- );
128
- }
129
- export declare class ThrottlingException extends __BaseException {
130
- readonly name: "ThrottlingException";
131
- readonly $fault: "client";
132
- Message?: string | undefined;
133
- constructor(
134
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
135
- );
136
- }
137
- export declare class ValidationException extends __BaseException {
138
- readonly name: "ValidationException";
139
- readonly $fault: "client";
140
- Message?: string | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<ValidationException, __BaseException>
143
- );
144
- }
145
- export declare const Persona: {
146
- readonly OWNER: "OWNER";
147
- readonly VIEWER: "VIEWER";
148
- };
149
- export type Persona = (typeof Persona)[keyof typeof Persona];
150
137
  export interface EntityPersonaConfiguration {
151
138
  EntityId: string | undefined;
152
139
  Persona: Persona | undefined;
@@ -169,12 +156,6 @@ export interface DocumentAttribute {
169
156
  Key: string | undefined;
170
157
  Value: DocumentAttributeValue | undefined;
171
158
  }
172
- export declare const AttributeSuggestionsMode: {
173
- readonly ACTIVE: "ACTIVE";
174
- readonly INACTIVE: "INACTIVE";
175
- };
176
- export type AttributeSuggestionsMode =
177
- (typeof AttributeSuggestionsMode)[keyof typeof AttributeSuggestionsMode];
178
159
  export interface SuggestableConfig {
179
160
  AttributeName?: string | undefined;
180
161
  Suggestable?: boolean | undefined;
@@ -214,11 +195,6 @@ export interface BatchDeleteDocumentRequest {
214
195
  DocumentIdList: string[] | undefined;
215
196
  DataSourceSyncJobMetricTarget?: DataSourceSyncJobMetricTarget | undefined;
216
197
  }
217
- export declare const ErrorCode: {
218
- readonly INTERNAL_ERROR: "InternalError";
219
- readonly INVALID_REQUEST: "InvalidRequest";
220
- };
221
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
222
198
  export interface BatchDeleteDocumentResponseFailedDocument {
223
199
  Id?: string | undefined;
224
200
  DataSourceId?: string | undefined;
@@ -228,12 +204,6 @@ export interface BatchDeleteDocumentResponseFailedDocument {
228
204
  export interface BatchDeleteDocumentResponse {
229
205
  FailedDocuments?: BatchDeleteDocumentResponseFailedDocument[] | undefined;
230
206
  }
231
- export declare class ConflictException extends __BaseException {
232
- readonly name: "ConflictException";
233
- readonly $fault: "client";
234
- Message?: string | undefined;
235
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
236
- }
237
207
  export interface BatchDeleteFeaturedResultsSetRequest {
238
208
  IndexId: string | undefined;
239
209
  FeaturedResultsSetIds: string[] | undefined;
@@ -254,16 +224,6 @@ export interface BatchGetDocumentStatusRequest {
254
224
  IndexId: string | undefined;
255
225
  DocumentInfoList: DocumentInfo[] | undefined;
256
226
  }
257
- export declare const DocumentStatus: {
258
- readonly FAILED: "FAILED";
259
- readonly INDEXED: "INDEXED";
260
- readonly NOT_FOUND: "NOT_FOUND";
261
- readonly PROCESSING: "PROCESSING";
262
- readonly UPDATED: "UPDATED";
263
- readonly UPDATE_FAILED: "UPDATE_FAILED";
264
- };
265
- export type DocumentStatus =
266
- (typeof DocumentStatus)[keyof typeof DocumentStatus];
267
227
  export interface Status {
268
228
  DocumentId?: string | undefined;
269
229
  DocumentStatus?: DocumentStatus | undefined;
@@ -280,21 +240,6 @@ export interface BatchGetDocumentStatusResponse {
280
240
  Errors?: BatchGetDocumentStatusResponseError[] | undefined;
281
241
  DocumentStatusList?: Status[] | undefined;
282
242
  }
283
- export declare const ConditionOperator: {
284
- readonly BeginsWith: "BeginsWith";
285
- readonly Contains: "Contains";
286
- readonly Equals: "Equals";
287
- readonly Exists: "Exists";
288
- readonly GreaterThan: "GreaterThan";
289
- readonly GreaterThanOrEquals: "GreaterThanOrEquals";
290
- readonly LessThan: "LessThan";
291
- readonly LessThanOrEquals: "LessThanOrEquals";
292
- readonly NotContains: "NotContains";
293
- readonly NotEquals: "NotEquals";
294
- readonly NotExists: "NotExists";
295
- };
296
- export type ConditionOperator =
297
- (typeof ConditionOperator)[keyof typeof ConditionOperator];
298
243
  export interface DocumentAttributeCondition {
299
244
  ConditionDocumentAttributeKey: string | undefined;
300
245
  Operator: ConditionOperator | undefined;
@@ -323,38 +268,12 @@ export interface CustomDocumentEnrichmentConfiguration {
323
268
  PostExtractionHookConfiguration?: HookConfiguration | undefined;
324
269
  RoleArn?: string | undefined;
325
270
  }
326
- export declare const ReadAccessType: {
327
- readonly ALLOW: "ALLOW";
328
- readonly DENY: "DENY";
329
- };
330
- export type ReadAccessType =
331
- (typeof ReadAccessType)[keyof typeof ReadAccessType];
332
- export declare const PrincipalType: {
333
- readonly GROUP: "GROUP";
334
- readonly USER: "USER";
335
- };
336
- export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
337
271
  export interface Principal {
338
272
  Name: string | undefined;
339
273
  Type: PrincipalType | undefined;
340
274
  Access: ReadAccessType | undefined;
341
275
  DataSourceId?: string | undefined;
342
276
  }
343
- export declare const ContentType: {
344
- readonly CSV: "CSV";
345
- readonly HTML: "HTML";
346
- readonly JSON: "JSON";
347
- readonly MD: "MD";
348
- readonly MS_EXCEL: "MS_EXCEL";
349
- readonly MS_WORD: "MS_WORD";
350
- readonly PDF: "PDF";
351
- readonly PLAIN_TEXT: "PLAIN_TEXT";
352
- readonly PPT: "PPT";
353
- readonly RTF: "RTF";
354
- readonly XML: "XML";
355
- readonly XSLT: "XSLT";
356
- };
357
- export type ContentType = (typeof ContentType)[keyof typeof ContentType];
358
277
  export interface HierarchicalPrincipal {
359
278
  PrincipalList: Principal[] | undefined;
360
279
  }
@@ -386,14 +305,6 @@ export interface BatchPutDocumentResponseFailedDocument {
386
305
  export interface BatchPutDocumentResponse {
387
306
  FailedDocuments?: BatchPutDocumentResponseFailedDocument[] | undefined;
388
307
  }
389
- export declare class ServiceQuotaExceededException extends __BaseException {
390
- readonly name: "ServiceQuotaExceededException";
391
- readonly $fault: "client";
392
- Message?: string | undefined;
393
- constructor(
394
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
395
- );
396
- }
397
308
  export interface ClearQuerySuggestionsRequest {
398
309
  IndexId: string | undefined;
399
310
  }
@@ -423,21 +334,6 @@ export interface BoxConfiguration {
423
334
  ExclusionPatterns?: string[] | undefined;
424
335
  VpcConfiguration?: DataSourceVpcConfiguration | undefined;
425
336
  }
426
- export declare const ConfluenceAttachmentFieldName: {
427
- readonly AUTHOR: "AUTHOR";
428
- readonly CONTENT_TYPE: "CONTENT_TYPE";
429
- readonly CREATED_DATE: "CREATED_DATE";
430
- readonly DISPLAY_URL: "DISPLAY_URL";
431
- readonly FILE_SIZE: "FILE_SIZE";
432
- readonly ITEM_TYPE: "ITEM_TYPE";
433
- readonly PARENT_ID: "PARENT_ID";
434
- readonly SPACE_KEY: "SPACE_KEY";
435
- readonly SPACE_NAME: "SPACE_NAME";
436
- readonly URL: "URL";
437
- readonly VERSION: "VERSION";
438
- };
439
- export type ConfluenceAttachmentFieldName =
440
- (typeof ConfluenceAttachmentFieldName)[keyof typeof ConfluenceAttachmentFieldName];
441
337
  export interface ConfluenceAttachmentToIndexFieldMapping {
442
338
  DataSourceFieldName?: ConfluenceAttachmentFieldName | undefined;
443
339
  DateFieldFormat?: string | undefined;
@@ -449,25 +345,6 @@ export interface ConfluenceAttachmentConfiguration {
449
345
  | ConfluenceAttachmentToIndexFieldMapping[]
450
346
  | undefined;
451
347
  }
452
- export declare const ConfluenceAuthenticationType: {
453
- readonly HTTP_BASIC: "HTTP_BASIC";
454
- readonly PAT: "PAT";
455
- };
456
- export type ConfluenceAuthenticationType =
457
- (typeof ConfluenceAuthenticationType)[keyof typeof ConfluenceAuthenticationType];
458
- export declare const ConfluenceBlogFieldName: {
459
- readonly AUTHOR: "AUTHOR";
460
- readonly DISPLAY_URL: "DISPLAY_URL";
461
- readonly ITEM_TYPE: "ITEM_TYPE";
462
- readonly LABELS: "LABELS";
463
- readonly PUBLISH_DATE: "PUBLISH_DATE";
464
- readonly SPACE_KEY: "SPACE_KEY";
465
- readonly SPACE_NAME: "SPACE_NAME";
466
- readonly URL: "URL";
467
- readonly VERSION: "VERSION";
468
- };
469
- export type ConfluenceBlogFieldName =
470
- (typeof ConfluenceBlogFieldName)[keyof typeof ConfluenceBlogFieldName];
471
348
  export interface ConfluenceBlogToIndexFieldMapping {
472
349
  DataSourceFieldName?: ConfluenceBlogFieldName | undefined;
473
350
  DateFieldFormat?: string | undefined;
@@ -476,22 +353,6 @@ export interface ConfluenceBlogToIndexFieldMapping {
476
353
  export interface ConfluenceBlogConfiguration {
477
354
  BlogFieldMappings?: ConfluenceBlogToIndexFieldMapping[] | undefined;
478
355
  }
479
- export declare const ConfluencePageFieldName: {
480
- readonly AUTHOR: "AUTHOR";
481
- readonly CONTENT_STATUS: "CONTENT_STATUS";
482
- readonly CREATED_DATE: "CREATED_DATE";
483
- readonly DISPLAY_URL: "DISPLAY_URL";
484
- readonly ITEM_TYPE: "ITEM_TYPE";
485
- readonly LABELS: "LABELS";
486
- readonly MODIFIED_DATE: "MODIFIED_DATE";
487
- readonly PARENT_ID: "PARENT_ID";
488
- readonly SPACE_KEY: "SPACE_KEY";
489
- readonly SPACE_NAME: "SPACE_NAME";
490
- readonly URL: "URL";
491
- readonly VERSION: "VERSION";
492
- };
493
- export type ConfluencePageFieldName =
494
- (typeof ConfluencePageFieldName)[keyof typeof ConfluencePageFieldName];
495
356
  export interface ConfluencePageToIndexFieldMapping {
496
357
  DataSourceFieldName?: ConfluencePageFieldName | undefined;
497
358
  DateFieldFormat?: string | undefined;
@@ -505,14 +366,6 @@ export interface ProxyConfiguration {
505
366
  Port: number | undefined;
506
367
  Credentials?: string | undefined;
507
368
  }
508
- export declare const ConfluenceSpaceFieldName: {
509
- readonly DISPLAY_URL: "DISPLAY_URL";
510
- readonly ITEM_TYPE: "ITEM_TYPE";
511
- readonly SPACE_KEY: "SPACE_KEY";
512
- readonly URL: "URL";
513
- };
514
- export type ConfluenceSpaceFieldName =
515
- (typeof ConfluenceSpaceFieldName)[keyof typeof ConfluenceSpaceFieldName];
516
369
  export interface ConfluenceSpaceToIndexFieldMapping {
517
370
  DataSourceFieldName?: ConfluenceSpaceFieldName | undefined;
518
371
  DateFieldFormat?: string | undefined;
@@ -525,12 +378,6 @@ export interface ConfluenceSpaceConfiguration {
525
378
  ExcludeSpaces?: string[] | undefined;
526
379
  SpaceFieldMappings?: ConfluenceSpaceToIndexFieldMapping[] | undefined;
527
380
  }
528
- export declare const ConfluenceVersion: {
529
- readonly CLOUD: "CLOUD";
530
- readonly SERVER: "SERVER";
531
- };
532
- export type ConfluenceVersion =
533
- (typeof ConfluenceVersion)[keyof typeof ConfluenceVersion];
534
381
  export interface ConfluenceConfiguration {
535
382
  ServerUrl: string | undefined;
536
383
  SecretArn: string | undefined;
@@ -559,20 +406,6 @@ export interface ConnectionConfiguration {
559
406
  TableName: string | undefined;
560
407
  SecretArn: string | undefined;
561
408
  }
562
- export declare const DatabaseEngineType: {
563
- readonly RDS_AURORA_MYSQL: "RDS_AURORA_MYSQL";
564
- readonly RDS_AURORA_POSTGRESQL: "RDS_AURORA_POSTGRESQL";
565
- readonly RDS_MYSQL: "RDS_MYSQL";
566
- readonly RDS_POSTGRESQL: "RDS_POSTGRESQL";
567
- };
568
- export type DatabaseEngineType =
569
- (typeof DatabaseEngineType)[keyof typeof DatabaseEngineType];
570
- export declare const QueryIdentifiersEnclosingOption: {
571
- readonly DOUBLE_QUOTES: "DOUBLE_QUOTES";
572
- readonly NONE: "NONE";
573
- };
574
- export type QueryIdentifiersEnclosingOption =
575
- (typeof QueryIdentifiersEnclosingOption)[keyof typeof QueryIdentifiersEnclosingOption];
576
409
  export interface SqlConfiguration {
577
410
  QueryIdentifiersEnclosingOption?: QueryIdentifiersEnclosingOption | undefined;
578
411
  }
@@ -584,11 +417,6 @@ export interface DatabaseConfiguration {
584
417
  AclConfiguration?: AclConfiguration | undefined;
585
418
  SqlConfiguration?: SqlConfiguration | undefined;
586
419
  }
587
- export declare const FsxFileSystemType: {
588
- readonly WINDOWS: "WINDOWS";
589
- };
590
- export type FsxFileSystemType =
591
- (typeof FsxFileSystemType)[keyof typeof FsxFileSystemType];
592
420
  export interface FsxConfiguration {
593
421
  FileSystemId: string | undefined;
594
422
  FileSystemType: FsxFileSystemType | undefined;
@@ -616,11 +444,6 @@ export interface SaaSConfiguration {
616
444
  OrganizationName: string | undefined;
617
445
  HostUrl: string | undefined;
618
446
  }
619
- export declare const Type: {
620
- readonly ON_PREMISE: "ON_PREMISE";
621
- readonly SAAS: "SAAS";
622
- };
623
- export type Type = (typeof Type)[keyof typeof Type];
624
447
  export interface GitHubConfiguration {
625
448
  SaaSConfiguration?: SaaSConfiguration | undefined;
626
449
  OnPremiseConfiguration?: OnPremiseConfiguration | undefined;
@@ -670,13 +493,6 @@ export interface GoogleDriveConfiguration {
670
493
  ExcludeUserAccounts?: string[] | undefined;
671
494
  ExcludeSharedDrives?: string[] | undefined;
672
495
  }
673
- export declare const IssueSubEntity: {
674
- readonly ATTACHMENTS: "ATTACHMENTS";
675
- readonly COMMENTS: "COMMENTS";
676
- readonly WORKLOGS: "WORKLOGS";
677
- };
678
- export type IssueSubEntity =
679
- (typeof IssueSubEntity)[keyof typeof IssueSubEntity];
680
496
  export interface JiraConfiguration {
681
497
  JiraAccountUrl: string | undefined;
682
498
  SecretArn: string | undefined;
@@ -732,12 +548,6 @@ export interface S3DataSourceConfiguration {
732
548
  DocumentsMetadataConfiguration?: DocumentsMetadataConfiguration | undefined;
733
549
  AccessControlListConfiguration?: AccessControlListConfiguration | undefined;
734
550
  }
735
- export declare const SalesforceChatterFeedIncludeFilterType: {
736
- readonly ACTIVE_USER: "ACTIVE_USER";
737
- readonly STANDARD_USER: "STANDARD_USER";
738
- };
739
- export type SalesforceChatterFeedIncludeFilterType =
740
- (typeof SalesforceChatterFeedIncludeFilterType)[keyof typeof SalesforceChatterFeedIncludeFilterType];
741
551
  export interface SalesforceChatterFeedConfiguration {
742
552
  DocumentDataFieldName: string | undefined;
743
553
  DocumentTitleFieldName?: string | undefined;
@@ -750,13 +560,6 @@ export interface SalesforceCustomKnowledgeArticleTypeConfiguration {
750
560
  DocumentTitleFieldName?: string | undefined;
751
561
  FieldMappings?: DataSourceToIndexFieldMapping[] | undefined;
752
562
  }
753
- export declare const SalesforceKnowledgeArticleState: {
754
- readonly ARCHIVED: "ARCHIVED";
755
- readonly DRAFT: "DRAFT";
756
- readonly PUBLISHED: "PUBLISHED";
757
- };
758
- export type SalesforceKnowledgeArticleState =
759
- (typeof SalesforceKnowledgeArticleState)[keyof typeof SalesforceKnowledgeArticleState];
760
563
  export interface SalesforceStandardKnowledgeArticleTypeConfiguration {
761
564
  DocumentDataFieldName: string | undefined;
762
565
  DocumentTitleFieldName?: string | undefined;
@@ -775,27 +578,6 @@ export interface SalesforceStandardObjectAttachmentConfiguration {
775
578
  DocumentTitleFieldName?: string | undefined;
776
579
  FieldMappings?: DataSourceToIndexFieldMapping[] | undefined;
777
580
  }
778
- export declare const SalesforceStandardObjectName: {
779
- readonly ACCOUNT: "ACCOUNT";
780
- readonly CAMPAIGN: "CAMPAIGN";
781
- readonly CASE: "CASE";
782
- readonly CONTACT: "CONTACT";
783
- readonly CONTRACT: "CONTRACT";
784
- readonly DOCUMENT: "DOCUMENT";
785
- readonly GROUP: "GROUP";
786
- readonly IDEA: "IDEA";
787
- readonly LEAD: "LEAD";
788
- readonly OPPORTUNITY: "OPPORTUNITY";
789
- readonly PARTNER: "PARTNER";
790
- readonly PRICEBOOK: "PRICEBOOK";
791
- readonly PRODUCT: "PRODUCT";
792
- readonly PROFILE: "PROFILE";
793
- readonly SOLUTION: "SOLUTION";
794
- readonly TASK: "TASK";
795
- readonly USER: "USER";
796
- };
797
- export type SalesforceStandardObjectName =
798
- (typeof SalesforceStandardObjectName)[keyof typeof SalesforceStandardObjectName];
799
581
  export interface SalesforceStandardObjectConfiguration {
800
582
  Name: SalesforceStandardObjectName | undefined;
801
583
  DocumentDataFieldName: string | undefined;
@@ -819,12 +601,6 @@ export interface SalesforceConfiguration {
819
601
  IncludeAttachmentFilePatterns?: string[] | undefined;
820
602
  ExcludeAttachmentFilePatterns?: string[] | undefined;
821
603
  }
822
- export declare const ServiceNowAuthenticationType: {
823
- readonly HTTP_BASIC: "HTTP_BASIC";
824
- readonly OAUTH2: "OAUTH2";
825
- };
826
- export type ServiceNowAuthenticationType =
827
- (typeof ServiceNowAuthenticationType)[keyof typeof ServiceNowAuthenticationType];
828
604
  export interface ServiceNowKnowledgeArticleConfiguration {
829
605
  CrawlAttachments?: boolean | undefined;
830
606
  IncludeAttachmentFilePatterns?: string[] | undefined;
@@ -842,12 +618,6 @@ export interface ServiceNowServiceCatalogConfiguration {
842
618
  DocumentTitleFieldName?: string | undefined;
843
619
  FieldMappings?: DataSourceToIndexFieldMapping[] | undefined;
844
620
  }
845
- export declare const ServiceNowBuildVersionType: {
846
- readonly LONDON: "LONDON";
847
- readonly OTHERS: "OTHERS";
848
- };
849
- export type ServiceNowBuildVersionType =
850
- (typeof ServiceNowBuildVersionType)[keyof typeof ServiceNowBuildVersionType];
851
621
  export interface ServiceNowConfiguration {
852
622
  HostUrl: string | undefined;
853
623
  SecretArn: string | undefined;
@@ -860,20 +630,6 @@ export interface ServiceNowConfiguration {
860
630
  | undefined;
861
631
  AuthenticationType?: ServiceNowAuthenticationType | undefined;
862
632
  }
863
- export declare const SharePointOnlineAuthenticationType: {
864
- readonly HTTP_BASIC: "HTTP_BASIC";
865
- readonly OAUTH2: "OAUTH2";
866
- };
867
- export type SharePointOnlineAuthenticationType =
868
- (typeof SharePointOnlineAuthenticationType)[keyof typeof SharePointOnlineAuthenticationType];
869
- export declare const SharePointVersion: {
870
- readonly SHAREPOINT_2013: "SHAREPOINT_2013";
871
- readonly SHAREPOINT_2016: "SHAREPOINT_2016";
872
- readonly SHAREPOINT_2019: "SHAREPOINT_2019";
873
- readonly SHAREPOINT_ONLINE: "SHAREPOINT_ONLINE";
874
- };
875
- export type SharePointVersion =
876
- (typeof SharePointVersion)[keyof typeof SharePointVersion];
877
633
  export interface SharePointConfiguration {
878
634
  SharePointVersion: SharePointVersion | undefined;
879
635
  Urls: string[] | undefined;
@@ -890,13 +646,6 @@ export interface SharePointConfiguration {
890
646
  AuthenticationType?: SharePointOnlineAuthenticationType | undefined;
891
647
  ProxyConfiguration?: ProxyConfiguration | undefined;
892
648
  }
893
- export declare const SlackEntity: {
894
- readonly DIRECT_MESSAGE: "DIRECT_MESSAGE";
895
- readonly GROUP_MESSAGE: "GROUP_MESSAGE";
896
- readonly PRIVATE_CHANNEL: "PRIVATE_CHANNEL";
897
- readonly PUBLIC_CHANNEL: "PUBLIC_CHANNEL";
898
- };
899
- export type SlackEntity = (typeof SlackEntity)[keyof typeof SlackEntity];
900
649
  export interface SlackConfiguration {
901
650
  TeamId: string | undefined;
902
651
  SecretArn: string | undefined;
@@ -916,13 +665,6 @@ export interface SlackConfiguration {
916
665
  export interface TemplateConfiguration {
917
666
  Template?: __DocumentType | undefined;
918
667
  }
919
- export declare const WebCrawlerMode: {
920
- readonly EVERYTHING: "EVERYTHING";
921
- readonly HOST_ONLY: "HOST_ONLY";
922
- readonly SUBDOMAINS: "SUBDOMAINS";
923
- };
924
- export type WebCrawlerMode =
925
- (typeof WebCrawlerMode)[keyof typeof WebCrawlerMode];
926
668
  export interface SeedUrlConfiguration {
927
669
  SeedUrls: string[] | undefined;
928
670
  WebCrawlerMode?: WebCrawlerMode | undefined;
@@ -977,29 +719,6 @@ export interface Tag {
977
719
  Key: string | undefined;
978
720
  Value: string | undefined;
979
721
  }
980
- export declare const DataSourceType: {
981
- readonly ALFRESCO: "ALFRESCO";
982
- readonly BOX: "BOX";
983
- readonly CONFLUENCE: "CONFLUENCE";
984
- readonly CUSTOM: "CUSTOM";
985
- readonly DATABASE: "DATABASE";
986
- readonly FSX: "FSX";
987
- readonly GITHUB: "GITHUB";
988
- readonly GOOGLEDRIVE: "GOOGLEDRIVE";
989
- readonly JIRA: "JIRA";
990
- readonly ONEDRIVE: "ONEDRIVE";
991
- readonly QUIP: "QUIP";
992
- readonly S3: "S3";
993
- readonly SALESFORCE: "SALESFORCE";
994
- readonly SERVICENOW: "SERVICENOW";
995
- readonly SHAREPOINT: "SHAREPOINT";
996
- readonly SLACK: "SLACK";
997
- readonly TEMPLATE: "TEMPLATE";
998
- readonly WEBCRAWLER: "WEBCRAWLER";
999
- readonly WORKDOCS: "WORKDOCS";
1000
- };
1001
- export type DataSourceType =
1002
- (typeof DataSourceType)[keyof typeof DataSourceType];
1003
722
  export interface CreateDataSourceRequest {
1004
723
  Name: string | undefined;
1005
724
  IndexId: string | undefined;
@@ -1042,12 +761,6 @@ export interface CreateExperienceRequest {
1042
761
  export interface CreateExperienceResponse {
1043
762
  Id: string | undefined;
1044
763
  }
1045
- export declare const FaqFileFormat: {
1046
- readonly CSV: "CSV";
1047
- readonly CSV_WITH_HEADER: "CSV_WITH_HEADER";
1048
- readonly JSON: "JSON";
1049
- };
1050
- export type FaqFileFormat = (typeof FaqFileFormat)[keyof typeof FaqFileFormat];
1051
764
  export interface CreateFaqRequest {
1052
765
  IndexId: string | undefined;
1053
766
  Name: string | undefined;
@@ -1065,12 +778,6 @@ export interface CreateFaqResponse {
1065
778
  export interface FeaturedDocument {
1066
779
  Id?: string | undefined;
1067
780
  }
1068
- export declare const FeaturedResultsSetStatus: {
1069
- readonly ACTIVE: "ACTIVE";
1070
- readonly INACTIVE: "INACTIVE";
1071
- };
1072
- export type FeaturedResultsSetStatus =
1073
- (typeof FeaturedResultsSetStatus)[keyof typeof FeaturedResultsSetStatus];
1074
781
  export interface CreateFeaturedResultsSetRequest {
1075
782
  IndexId: string | undefined;
1076
783
  FeaturedResultsSetName: string | undefined;
@@ -1099,39 +806,9 @@ export interface ConflictingItem {
1099
806
  SetName?: string | undefined;
1100
807
  SetId?: string | undefined;
1101
808
  }
1102
- export declare class FeaturedResultsConflictException extends __BaseException {
1103
- readonly name: "FeaturedResultsConflictException";
1104
- readonly $fault: "client";
1105
- Message?: string | undefined;
1106
- ConflictingItems?: ConflictingItem[] | undefined;
1107
- constructor(
1108
- opts: __ExceptionOptionType<
1109
- FeaturedResultsConflictException,
1110
- __BaseException
1111
- >
1112
- );
1113
- }
1114
- export declare const IndexEdition: {
1115
- readonly DEVELOPER_EDITION: "DEVELOPER_EDITION";
1116
- readonly ENTERPRISE_EDITION: "ENTERPRISE_EDITION";
1117
- readonly GEN_AI_ENTERPRISE_EDITION: "GEN_AI_ENTERPRISE_EDITION";
1118
- };
1119
- export type IndexEdition = (typeof IndexEdition)[keyof typeof IndexEdition];
1120
809
  export interface ServerSideEncryptionConfiguration {
1121
810
  KmsKeyId?: string | undefined;
1122
811
  }
1123
- export declare const UserContextPolicy: {
1124
- readonly ATTRIBUTE_FILTER: "ATTRIBUTE_FILTER";
1125
- readonly USER_TOKEN: "USER_TOKEN";
1126
- };
1127
- export type UserContextPolicy =
1128
- (typeof UserContextPolicy)[keyof typeof UserContextPolicy];
1129
- export declare const UserGroupResolutionMode: {
1130
- readonly AWS_SSO: "AWS_SSO";
1131
- readonly NONE: "NONE";
1132
- };
1133
- export type UserGroupResolutionMode =
1134
- (typeof UserGroupResolutionMode)[keyof typeof UserGroupResolutionMode];
1135
812
  export interface UserGroupResolutionConfiguration {
1136
813
  UserGroupResolutionMode: UserGroupResolutionMode | undefined;
1137
814
  }
@@ -1139,11 +816,6 @@ export interface JsonTokenTypeConfiguration {
1139
816
  UserNameAttributeField: string | undefined;
1140
817
  GroupAttributeField: string | undefined;
1141
818
  }
1142
- export declare const KeyLocation: {
1143
- readonly SECRET_MANAGER: "SECRET_MANAGER";
1144
- readonly URL: "URL";
1145
- };
1146
- export type KeyLocation = (typeof KeyLocation)[keyof typeof KeyLocation];
1147
819
  export interface JwtTokenTypeConfiguration {
1148
820
  KeyLocation: KeyLocation | undefined;
1149
821
  URL?: string | undefined;
@@ -1250,15 +922,6 @@ export interface DescribeDataSourceRequest {
1250
922
  Id: string | undefined;
1251
923
  IndexId: string | undefined;
1252
924
  }
1253
- export declare const DataSourceStatus: {
1254
- readonly ACTIVE: "ACTIVE";
1255
- readonly CREATING: "CREATING";
1256
- readonly DELETING: "DELETING";
1257
- readonly FAILED: "FAILED";
1258
- readonly UPDATING: "UPDATING";
1259
- };
1260
- export type DataSourceStatus =
1261
- (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
1262
925
  export interface DescribeDataSourceResponse {
1263
926
  Id?: string | undefined;
1264
927
  IndexId?: string | undefined;
@@ -1282,22 +945,10 @@ export interface DescribeExperienceRequest {
1282
945
  Id: string | undefined;
1283
946
  IndexId: string | undefined;
1284
947
  }
1285
- export declare const EndpointType: {
1286
- readonly HOME: "HOME";
1287
- };
1288
- export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
1289
948
  export interface ExperienceEndpoint {
1290
949
  EndpointType?: EndpointType | undefined;
1291
950
  Endpoint?: string | undefined;
1292
951
  }
1293
- export declare const ExperienceStatus: {
1294
- readonly ACTIVE: "ACTIVE";
1295
- readonly CREATING: "CREATING";
1296
- readonly DELETING: "DELETING";
1297
- readonly FAILED: "FAILED";
1298
- };
1299
- export type ExperienceStatus =
1300
- (typeof ExperienceStatus)[keyof typeof ExperienceStatus];
1301
952
  export interface DescribeExperienceResponse {
1302
953
  Id?: string | undefined;
1303
954
  IndexId?: string | undefined;
@@ -1315,14 +966,6 @@ export interface DescribeFaqRequest {
1315
966
  Id: string | undefined;
1316
967
  IndexId: string | undefined;
1317
968
  }
1318
- export declare const FaqStatus: {
1319
- readonly ACTIVE: "ACTIVE";
1320
- readonly CREATING: "CREATING";
1321
- readonly DELETING: "DELETING";
1322
- readonly FAILED: "FAILED";
1323
- readonly UPDATING: "UPDATING";
1324
- };
1325
- export type FaqStatus = (typeof FaqStatus)[keyof typeof FaqStatus];
1326
969
  export interface DescribeFaqResponse {
1327
970
  Id?: string | undefined;
1328
971
  IndexId?: string | undefined;
@@ -1367,11 +1010,6 @@ export interface CapacityUnitsConfiguration {
1367
1010
  StorageCapacityUnits: number | undefined;
1368
1011
  QueryCapacityUnits: number | undefined;
1369
1012
  }
1370
- export declare const Order: {
1371
- readonly ASCENDING: "ASCENDING";
1372
- readonly DESCENDING: "DESCENDING";
1373
- };
1374
- export type Order = (typeof Order)[keyof typeof Order];
1375
1013
  export interface Relevance {
1376
1014
  Freshness?: boolean | undefined;
1377
1015
  Importance?: number | undefined;
@@ -1385,14 +1023,6 @@ export interface Search {
1385
1023
  Displayable?: boolean | undefined;
1386
1024
  Sortable?: boolean | undefined;
1387
1025
  }
1388
- export declare const DocumentAttributeValueType: {
1389
- readonly DATE_VALUE: "DATE_VALUE";
1390
- readonly LONG_VALUE: "LONG_VALUE";
1391
- readonly STRING_LIST_VALUE: "STRING_LIST_VALUE";
1392
- readonly STRING_VALUE: "STRING_VALUE";
1393
- };
1394
- export type DocumentAttributeValueType =
1395
- (typeof DocumentAttributeValueType)[keyof typeof DocumentAttributeValueType];
1396
1026
  export interface DocumentMetadataConfiguration {
1397
1027
  Name: string | undefined;
1398
1028
  Type: DocumentAttributeValueType | undefined;
@@ -1410,15 +1040,6 @@ export interface IndexStatistics {
1410
1040
  FaqStatistics: FaqStatistics | undefined;
1411
1041
  TextDocumentStatistics: TextDocumentStatistics | undefined;
1412
1042
  }
1413
- export declare const IndexStatus: {
1414
- readonly ACTIVE: "ACTIVE";
1415
- readonly CREATING: "CREATING";
1416
- readonly DELETING: "DELETING";
1417
- readonly FAILED: "FAILED";
1418
- readonly SYSTEM_UPDATING: "SYSTEM_UPDATING";
1419
- readonly UPDATING: "UPDATING";
1420
- };
1421
- export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
1422
1043
  export interface DescribeIndexResponse {
1423
1044
  Name?: string | undefined;
1424
1045
  Id?: string | undefined;
@@ -1446,15 +1067,6 @@ export interface DescribePrincipalMappingRequest {
1446
1067
  DataSourceId?: string | undefined;
1447
1068
  GroupId: string | undefined;
1448
1069
  }
1449
- export declare const PrincipalMappingStatus: {
1450
- readonly DELETED: "DELETED";
1451
- readonly DELETING: "DELETING";
1452
- readonly FAILED: "FAILED";
1453
- readonly PROCESSING: "PROCESSING";
1454
- readonly SUCCEEDED: "SUCCEEDED";
1455
- };
1456
- export type PrincipalMappingStatus =
1457
- (typeof PrincipalMappingStatus)[keyof typeof PrincipalMappingStatus];
1458
1070
  export interface GroupOrderingIdSummary {
1459
1071
  Status?: PrincipalMappingStatus | undefined;
1460
1072
  LastUpdatedAt?: Date | undefined;
@@ -1472,16 +1084,6 @@ export interface DescribeQuerySuggestionsBlockListRequest {
1472
1084
  IndexId: string | undefined;
1473
1085
  Id: string | undefined;
1474
1086
  }
1475
- export declare const QuerySuggestionsBlockListStatus: {
1476
- readonly ACTIVE: "ACTIVE";
1477
- readonly ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED";
1478
- readonly CREATING: "CREATING";
1479
- readonly DELETING: "DELETING";
1480
- readonly FAILED: "FAILED";
1481
- readonly UPDATING: "UPDATING";
1482
- };
1483
- export type QuerySuggestionsBlockListStatus =
1484
- (typeof QuerySuggestionsBlockListStatus)[keyof typeof QuerySuggestionsBlockListStatus];
1485
1087
  export interface DescribeQuerySuggestionsBlockListResponse {
1486
1088
  IndexId?: string | undefined;
1487
1089
  Id?: string | undefined;
@@ -1499,17 +1101,6 @@ export interface DescribeQuerySuggestionsBlockListResponse {
1499
1101
  export interface DescribeQuerySuggestionsConfigRequest {
1500
1102
  IndexId: string | undefined;
1501
1103
  }
1502
- export declare const Mode: {
1503
- readonly ENABLED: "ENABLED";
1504
- readonly LEARN_ONLY: "LEARN_ONLY";
1505
- };
1506
- export type Mode = (typeof Mode)[keyof typeof Mode];
1507
- export declare const QuerySuggestionsStatus: {
1508
- readonly ACTIVE: "ACTIVE";
1509
- readonly UPDATING: "UPDATING";
1510
- };
1511
- export type QuerySuggestionsStatus =
1512
- (typeof QuerySuggestionsStatus)[keyof typeof QuerySuggestionsStatus];
1513
1104
  export interface DescribeQuerySuggestionsConfigResponse {
1514
1105
  Mode?: Mode | undefined;
1515
1106
  Status?: QuerySuggestionsStatus | undefined;
@@ -1526,16 +1117,6 @@ export interface DescribeThesaurusRequest {
1526
1117
  Id: string | undefined;
1527
1118
  IndexId: string | undefined;
1528
1119
  }
1529
- export declare const ThesaurusStatus: {
1530
- readonly ACTIVE: "ACTIVE";
1531
- readonly ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED";
1532
- readonly CREATING: "CREATING";
1533
- readonly DELETING: "DELETING";
1534
- readonly FAILED: "FAILED";
1535
- readonly UPDATING: "UPDATING";
1536
- };
1537
- export type ThesaurusStatus =
1538
- (typeof ThesaurusStatus)[keyof typeof ThesaurusStatus];
1539
1120
  export interface DescribeThesaurusResponse {
1540
1121
  Id?: string | undefined;
1541
1122
  IndexId?: string | undefined;
@@ -1567,12 +1148,6 @@ export interface DisassociatePersonasFromEntitiesRequest {
1567
1148
  export interface DisassociatePersonasFromEntitiesResponse {
1568
1149
  FailedEntityList?: FailedEntity[] | undefined;
1569
1150
  }
1570
- export declare const SuggestionType: {
1571
- readonly DOCUMENT_ATTRIBUTES: "DOCUMENT_ATTRIBUTES";
1572
- readonly QUERY: "QUERY";
1573
- };
1574
- export type SuggestionType =
1575
- (typeof SuggestionType)[keyof typeof SuggestionType];
1576
1151
  export interface SourceDocument {
1577
1152
  DocumentId?: string | undefined;
1578
1153
  SuggestionAttributes?: string[] | undefined;
@@ -1598,24 +1173,6 @@ export interface GetQuerySuggestionsResponse {
1598
1173
  QuerySuggestionsId?: string | undefined;
1599
1174
  Suggestions?: Suggestion[] | undefined;
1600
1175
  }
1601
- export declare const Interval: {
1602
- readonly ONE_MONTH_AGO: "ONE_MONTH_AGO";
1603
- readonly ONE_WEEK_AGO: "ONE_WEEK_AGO";
1604
- readonly THIS_MONTH: "THIS_MONTH";
1605
- readonly THIS_WEEK: "THIS_WEEK";
1606
- readonly TWO_MONTHS_AGO: "TWO_MONTHS_AGO";
1607
- readonly TWO_WEEKS_AGO: "TWO_WEEKS_AGO";
1608
- };
1609
- export type Interval = (typeof Interval)[keyof typeof Interval];
1610
- export declare const MetricType: {
1611
- readonly AGG_QUERY_DOC_METRICS: "AGG_QUERY_DOC_METRICS";
1612
- readonly DOCS_BY_CLICK_COUNT: "DOCS_BY_CLICK_COUNT";
1613
- readonly QUERIES_BY_COUNT: "QUERIES_BY_COUNT";
1614
- readonly QUERIES_BY_ZERO_CLICK_RATE: "QUERIES_BY_ZERO_CLICK_RATE";
1615
- readonly QUERIES_BY_ZERO_RESULT_RATE: "QUERIES_BY_ZERO_RESULT_RATE";
1616
- readonly TREND_QUERY_DOC_METRICS: "TREND_QUERY_DOC_METRICS";
1617
- };
1618
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
1619
1176
  export interface GetSnapshotsRequest {
1620
1177
  IndexId: string | undefined;
1621
1178
  Interval: Interval | undefined;
@@ -1633,14 +1190,6 @@ export interface GetSnapshotsResponse {
1633
1190
  SnapshotsData?: string[][] | undefined;
1634
1191
  NextToken?: string | undefined;
1635
1192
  }
1636
- export declare class InvalidRequestException extends __BaseException {
1637
- readonly name: "InvalidRequestException";
1638
- readonly $fault: "client";
1639
- Message?: string | undefined;
1640
- constructor(
1641
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
1642
- );
1643
- }
1644
1193
  export interface ListAccessControlConfigurationsRequest {
1645
1194
  IndexId: string | undefined;
1646
1195
  NextToken?: string | undefined;
@@ -1668,17 +1217,6 @@ export interface ListDataSourcesResponse {
1668
1217
  SummaryItems?: DataSourceSummary[] | undefined;
1669
1218
  NextToken?: string | undefined;
1670
1219
  }
1671
- export declare const DataSourceSyncJobStatus: {
1672
- readonly ABORTED: "ABORTED";
1673
- readonly FAILED: "FAILED";
1674
- readonly INCOMPLETE: "INCOMPLETE";
1675
- readonly STOPPING: "STOPPING";
1676
- readonly SUCCEEDED: "SUCCEEDED";
1677
- readonly SYNCING: "SYNCING";
1678
- readonly SYNCING_INDEXING: "SYNCING_INDEXING";
1679
- };
1680
- export type DataSourceSyncJobStatus =
1681
- (typeof DataSourceSyncJobStatus)[keyof typeof DataSourceSyncJobStatus];
1682
1220
  export interface ListDataSourceSyncJobsRequest {
1683
1221
  Id: string | undefined;
1684
1222
  IndexId: string | undefined;
@@ -1849,14 +1387,6 @@ export interface ListTagsForResourceRequest {
1849
1387
  export interface ListTagsForResourceResponse {
1850
1388
  Tags?: Tag[] | undefined;
1851
1389
  }
1852
- export declare class ResourceUnavailableException extends __BaseException {
1853
- readonly name: "ResourceUnavailableException";
1854
- readonly $fault: "client";
1855
- Message?: string | undefined;
1856
- constructor(
1857
- opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
1858
- );
1859
- }
1860
1390
  export interface ListThesauriRequest {
1861
1391
  IndexId: string | undefined;
1862
1392
  NextToken?: string | undefined;
@@ -1897,18 +1427,6 @@ export interface ExpandConfiguration {
1897
1427
  MaxResultItemsToExpand?: number | undefined;
1898
1428
  MaxExpandedResultsPerItem?: number | undefined;
1899
1429
  }
1900
- export declare const MissingAttributeKeyStrategy: {
1901
- readonly COLLAPSE: "COLLAPSE";
1902
- readonly EXPAND: "EXPAND";
1903
- readonly IGNORE: "IGNORE";
1904
- };
1905
- export type MissingAttributeKeyStrategy =
1906
- (typeof MissingAttributeKeyStrategy)[keyof typeof MissingAttributeKeyStrategy];
1907
- export declare const SortOrder: {
1908
- readonly ASC: "ASC";
1909
- readonly DESC: "DESC";
1910
- };
1911
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1912
1430
  export interface SortingConfiguration {
1913
1431
  DocumentAttributeKey: string | undefined;
1914
1432
  SortOrder: SortOrder | undefined;
@@ -1924,13 +1442,6 @@ export interface DocumentRelevanceConfiguration {
1924
1442
  Name: string | undefined;
1925
1443
  Relevance: Relevance | undefined;
1926
1444
  }
1927
- export declare const QueryResultType: {
1928
- readonly ANSWER: "ANSWER";
1929
- readonly DOCUMENT: "DOCUMENT";
1930
- readonly QUESTION_ANSWER: "QUESTION_ANSWER";
1931
- };
1932
- export type QueryResultType =
1933
- (typeof QueryResultType)[keyof typeof QueryResultType];
1934
1445
  export interface SpellCorrectionConfiguration {
1935
1446
  IncludeQuerySpellCheckSuggestions: boolean | undefined;
1936
1447
  }
@@ -1957,9 +1468,261 @@ export interface CollapsedResultDetail {
1957
1468
  DocumentAttribute: DocumentAttribute | undefined;
1958
1469
  ExpandedResults?: ExpandedResultItem[] | undefined;
1959
1470
  }
1960
- export declare const QueryResultFormat: {
1961
- readonly TABLE: "TABLE";
1962
- readonly TEXT: "TEXT";
1963
- };
1964
- export type QueryResultFormat =
1965
- (typeof QueryResultFormat)[keyof typeof QueryResultFormat];
1471
+ export interface ScoreAttributes {
1472
+ ScoreConfidence?: ScoreConfidence | undefined;
1473
+ }
1474
+ export interface TableCell {
1475
+ Value?: string | undefined;
1476
+ TopAnswer?: boolean | undefined;
1477
+ Highlighted?: boolean | undefined;
1478
+ Header?: boolean | undefined;
1479
+ }
1480
+ export interface TableRow {
1481
+ Cells?: TableCell[] | undefined;
1482
+ }
1483
+ export interface TableExcerpt {
1484
+ Rows?: TableRow[] | undefined;
1485
+ TotalNumberOfRows?: number | undefined;
1486
+ }
1487
+ export interface QueryResultItem {
1488
+ Id?: string | undefined;
1489
+ Type?: QueryResultType | undefined;
1490
+ Format?: QueryResultFormat | undefined;
1491
+ AdditionalAttributes?: AdditionalResultAttribute[] | undefined;
1492
+ DocumentId?: string | undefined;
1493
+ DocumentTitle?: TextWithHighlights | undefined;
1494
+ DocumentExcerpt?: TextWithHighlights | undefined;
1495
+ DocumentURI?: string | undefined;
1496
+ DocumentAttributes?: DocumentAttribute[] | undefined;
1497
+ ScoreAttributes?: ScoreAttributes | undefined;
1498
+ FeedbackToken?: string | undefined;
1499
+ TableExcerpt?: TableExcerpt | undefined;
1500
+ CollapsedResultDetail?: CollapsedResultDetail | undefined;
1501
+ }
1502
+ export interface Correction {
1503
+ BeginOffset?: number | undefined;
1504
+ EndOffset?: number | undefined;
1505
+ Term?: string | undefined;
1506
+ CorrectedTerm?: string | undefined;
1507
+ }
1508
+ export interface SpellCorrectedQuery {
1509
+ SuggestedQueryText?: string | undefined;
1510
+ Corrections?: Correction[] | undefined;
1511
+ }
1512
+ export interface Warning {
1513
+ Message?: string | undefined;
1514
+ Code?: WarningCode | undefined;
1515
+ }
1516
+ export interface RetrieveResultItem {
1517
+ Id?: string | undefined;
1518
+ DocumentId?: string | undefined;
1519
+ DocumentTitle?: string | undefined;
1520
+ Content?: string | undefined;
1521
+ DocumentURI?: string | undefined;
1522
+ DocumentAttributes?: DocumentAttribute[] | undefined;
1523
+ ScoreAttributes?: ScoreAttributes | undefined;
1524
+ }
1525
+ export interface RetrieveResult {
1526
+ QueryId?: string | undefined;
1527
+ ResultItems?: RetrieveResultItem[] | undefined;
1528
+ }
1529
+ export interface StartDataSourceSyncJobRequest {
1530
+ Id: string | undefined;
1531
+ IndexId: string | undefined;
1532
+ }
1533
+ export interface StartDataSourceSyncJobResponse {
1534
+ ExecutionId?: string | undefined;
1535
+ }
1536
+ export interface StopDataSourceSyncJobRequest {
1537
+ Id: string | undefined;
1538
+ IndexId: string | undefined;
1539
+ }
1540
+ export interface ClickFeedback {
1541
+ ResultId: string | undefined;
1542
+ ClickTime: Date | undefined;
1543
+ }
1544
+ export interface RelevanceFeedback {
1545
+ ResultId: string | undefined;
1546
+ RelevanceValue: RelevanceType | undefined;
1547
+ }
1548
+ export interface SubmitFeedbackRequest {
1549
+ IndexId: string | undefined;
1550
+ QueryId: string | undefined;
1551
+ ClickFeedbackItems?: ClickFeedback[] | undefined;
1552
+ RelevanceFeedbackItems?: RelevanceFeedback[] | undefined;
1553
+ }
1554
+ export interface TagResourceRequest {
1555
+ ResourceARN: string | undefined;
1556
+ Tags: Tag[] | undefined;
1557
+ }
1558
+ export interface TagResourceResponse {}
1559
+ export interface UntagResourceRequest {
1560
+ ResourceARN: string | undefined;
1561
+ TagKeys: string[] | undefined;
1562
+ }
1563
+ export interface UntagResourceResponse {}
1564
+ export interface UpdateAccessControlConfigurationRequest {
1565
+ IndexId: string | undefined;
1566
+ Id: string | undefined;
1567
+ Name?: string | undefined;
1568
+ Description?: string | undefined;
1569
+ AccessControlList?: Principal[] | undefined;
1570
+ HierarchicalAccessControlList?: HierarchicalPrincipal[] | undefined;
1571
+ }
1572
+ export interface UpdateAccessControlConfigurationResponse {}
1573
+ export interface UpdateDataSourceRequest {
1574
+ Id: string | undefined;
1575
+ Name?: string | undefined;
1576
+ IndexId: string | undefined;
1577
+ Configuration?: DataSourceConfiguration | undefined;
1578
+ VpcConfiguration?: DataSourceVpcConfiguration | undefined;
1579
+ Description?: string | undefined;
1580
+ Schedule?: string | undefined;
1581
+ RoleArn?: string | undefined;
1582
+ LanguageCode?: string | undefined;
1583
+ CustomDocumentEnrichmentConfiguration?:
1584
+ | CustomDocumentEnrichmentConfiguration
1585
+ | undefined;
1586
+ }
1587
+ export interface UpdateExperienceRequest {
1588
+ Id: string | undefined;
1589
+ Name?: string | undefined;
1590
+ IndexId: string | undefined;
1591
+ RoleArn?: string | undefined;
1592
+ Configuration?: ExperienceConfiguration | undefined;
1593
+ Description?: string | undefined;
1594
+ }
1595
+ export interface UpdateFeaturedResultsSetRequest {
1596
+ IndexId: string | undefined;
1597
+ FeaturedResultsSetId: string | undefined;
1598
+ FeaturedResultsSetName?: string | undefined;
1599
+ Description?: string | undefined;
1600
+ Status?: FeaturedResultsSetStatus | undefined;
1601
+ QueryTexts?: string[] | undefined;
1602
+ FeaturedDocuments?: FeaturedDocument[] | undefined;
1603
+ }
1604
+ export interface UpdateFeaturedResultsSetResponse {
1605
+ FeaturedResultsSet?: FeaturedResultsSet | undefined;
1606
+ }
1607
+ export interface UpdateIndexRequest {
1608
+ Id: string | undefined;
1609
+ Name?: string | undefined;
1610
+ RoleArn?: string | undefined;
1611
+ Description?: string | undefined;
1612
+ DocumentMetadataConfigurationUpdates?:
1613
+ | DocumentMetadataConfiguration[]
1614
+ | undefined;
1615
+ CapacityUnits?: CapacityUnitsConfiguration | undefined;
1616
+ UserTokenConfigurations?: UserTokenConfiguration[] | undefined;
1617
+ UserContextPolicy?: UserContextPolicy | undefined;
1618
+ UserGroupResolutionConfiguration?:
1619
+ | UserGroupResolutionConfiguration
1620
+ | undefined;
1621
+ }
1622
+ export interface UpdateQuerySuggestionsBlockListRequest {
1623
+ IndexId: string | undefined;
1624
+ Id: string | undefined;
1625
+ Name?: string | undefined;
1626
+ Description?: string | undefined;
1627
+ SourceS3Path?: S3Path | undefined;
1628
+ RoleArn?: string | undefined;
1629
+ }
1630
+ export interface UpdateQuerySuggestionsConfigRequest {
1631
+ IndexId: string | undefined;
1632
+ Mode?: Mode | undefined;
1633
+ QueryLogLookBackWindowInDays?: number | undefined;
1634
+ IncludeQueriesWithoutUserInformation?: boolean | undefined;
1635
+ MinimumNumberOfQueryingUsers?: number | undefined;
1636
+ MinimumQueryCount?: number | undefined;
1637
+ AttributeSuggestionsConfig?: AttributeSuggestionsUpdateConfig | undefined;
1638
+ }
1639
+ export interface UpdateThesaurusRequest {
1640
+ Id: string | undefined;
1641
+ Name?: string | undefined;
1642
+ IndexId: string | undefined;
1643
+ Description?: string | undefined;
1644
+ RoleArn?: string | undefined;
1645
+ SourceS3Path?: S3Path | undefined;
1646
+ }
1647
+ export interface Facet {
1648
+ DocumentAttributeKey?: string | undefined;
1649
+ Facets?: Facet[] | undefined;
1650
+ MaxResults?: number | undefined;
1651
+ }
1652
+ export interface DocumentAttributeValueCountPair {
1653
+ DocumentAttributeValue?: DocumentAttributeValue | undefined;
1654
+ Count?: number | undefined;
1655
+ FacetResults?: FacetResult[] | undefined;
1656
+ }
1657
+ export interface FacetResult {
1658
+ DocumentAttributeKey?: string | undefined;
1659
+ DocumentAttributeValueType?: DocumentAttributeValueType | undefined;
1660
+ DocumentAttributeValueCountPairs?:
1661
+ | DocumentAttributeValueCountPair[]
1662
+ | undefined;
1663
+ }
1664
+ export interface AttributeFilter {
1665
+ AndAllFilters?: AttributeFilter[] | undefined;
1666
+ OrAllFilters?: AttributeFilter[] | undefined;
1667
+ NotFilter?: AttributeFilter | undefined;
1668
+ EqualsTo?: DocumentAttribute | undefined;
1669
+ ContainsAll?: DocumentAttribute | undefined;
1670
+ ContainsAny?: DocumentAttribute | undefined;
1671
+ GreaterThan?: DocumentAttribute | undefined;
1672
+ GreaterThanOrEquals?: DocumentAttribute | undefined;
1673
+ LessThan?: DocumentAttribute | undefined;
1674
+ LessThanOrEquals?: DocumentAttribute | undefined;
1675
+ }
1676
+ export interface QueryResult {
1677
+ QueryId?: string | undefined;
1678
+ ResultItems?: QueryResultItem[] | undefined;
1679
+ FacetResults?: FacetResult[] | undefined;
1680
+ TotalNumberOfResults?: number | undefined;
1681
+ Warnings?: Warning[] | undefined;
1682
+ SpellCorrectedQueries?: SpellCorrectedQuery[] | undefined;
1683
+ FeaturedResultsItems?: FeaturedResultsItem[] | undefined;
1684
+ }
1685
+ export interface AttributeSuggestionsGetConfig {
1686
+ SuggestionAttributes?: string[] | undefined;
1687
+ AdditionalResponseAttributes?: string[] | undefined;
1688
+ AttributeFilter?: AttributeFilter | undefined;
1689
+ UserContext?: UserContext | undefined;
1690
+ }
1691
+ export interface RetrieveRequest {
1692
+ IndexId: string | undefined;
1693
+ QueryText: string | undefined;
1694
+ AttributeFilter?: AttributeFilter | undefined;
1695
+ RequestedDocumentAttributes?: string[] | undefined;
1696
+ DocumentRelevanceOverrideConfigurations?:
1697
+ | DocumentRelevanceConfiguration[]
1698
+ | undefined;
1699
+ PageNumber?: number | undefined;
1700
+ PageSize?: number | undefined;
1701
+ UserContext?: UserContext | undefined;
1702
+ }
1703
+ export interface GetQuerySuggestionsRequest {
1704
+ IndexId: string | undefined;
1705
+ QueryText: string | undefined;
1706
+ MaxSuggestionsCount?: number | undefined;
1707
+ SuggestionTypes?: SuggestionType[] | undefined;
1708
+ AttributeSuggestionsConfig?: AttributeSuggestionsGetConfig | undefined;
1709
+ }
1710
+ export interface QueryRequest {
1711
+ IndexId: string | undefined;
1712
+ QueryText?: string | undefined;
1713
+ AttributeFilter?: AttributeFilter | undefined;
1714
+ Facets?: Facet[] | undefined;
1715
+ RequestedDocumentAttributes?: string[] | undefined;
1716
+ QueryResultTypeFilter?: QueryResultType | undefined;
1717
+ DocumentRelevanceOverrideConfigurations?:
1718
+ | DocumentRelevanceConfiguration[]
1719
+ | undefined;
1720
+ PageNumber?: number | undefined;
1721
+ PageSize?: number | undefined;
1722
+ SortingConfiguration?: SortingConfiguration | undefined;
1723
+ SortingConfigurations?: SortingConfiguration[] | undefined;
1724
+ UserContext?: UserContext | undefined;
1725
+ VisitorId?: string | undefined;
1726
+ SpellCorrectionConfiguration?: SpellCorrectionConfiguration | undefined;
1727
+ CollapseConfiguration?: CollapseConfiguration | undefined;
1728
+ }