@aws-sdk/client-kendra 3.301.0 → 3.303.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 (118) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Kendra.js +75 -0
  3. package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +45 -0
  4. package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +45 -0
  6. package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +381 -438
  11. package/dist-cjs/models/models_1.js +20 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +597 -4
  13. package/dist-es/Kendra.js +75 -0
  14. package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +41 -0
  15. package/dist-es/commands/CreateFeaturedResultsSetCommand.js +41 -0
  16. package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +41 -0
  17. package/dist-es/commands/ListFeaturedResultsSetsCommand.js +41 -0
  18. package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +41 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +377 -434
  22. package/dist-es/models/models_1.js +18 -1
  23. package/dist-es/protocols/Aws_json1_1.js +584 -1
  24. package/dist-types/Kendra.d.ts +163 -132
  25. package/dist-types/KendraClient.d.ts +7 -2
  26. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +1 -1
  27. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +1 -1
  28. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +6 -6
  29. package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
  30. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +9 -13
  31. package/dist-types/commands/BatchPutDocumentCommand.d.ts +14 -13
  32. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +17 -20
  34. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -4
  35. package/dist-types/commands/CreateExperienceCommand.d.ts +3 -2
  36. package/dist-types/commands/CreateFaqCommand.d.ts +6 -6
  37. package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
  38. package/dist-types/commands/CreateIndexCommand.d.ts +3 -2
  39. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -2
  40. package/dist-types/commands/CreateThesaurusCommand.d.ts +3 -2
  41. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +5 -5
  42. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteExperienceCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
  46. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +13 -15
  47. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +3 -3
  50. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeExperienceCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
  54. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +8 -9
  56. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
  59. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +1 -1
  60. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +1 -1
  61. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -2
  62. package/dist-types/commands/GetSnapshotsCommand.d.ts +3 -4
  63. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -5
  64. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  66. package/dist-types/commands/ListEntityPersonasCommand.d.ts +1 -1
  67. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/ListExperiencesCommand.d.ts +1 -1
  69. package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
  71. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +4 -5
  72. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  73. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  75. package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
  76. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +15 -21
  77. package/dist-types/commands/QueryCommand.d.ts +3 -2
  78. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +2 -2
  79. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
  80. package/dist-types/commands/SubmitFeedbackCommand.d.ts +2 -2
  81. package/dist-types/commands/TagResourceCommand.d.ts +4 -5
  82. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  83. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +20 -20
  84. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  85. package/dist-types/commands/UpdateExperienceCommand.d.ts +2 -2
  86. package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
  87. package/dist-types/commands/UpdateIndexCommand.d.ts +4 -3
  88. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -2
  89. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
  91. package/dist-types/commands/index.d.ts +5 -0
  92. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  93. package/dist-types/models/models_0.d.ts +1943 -1687
  94. package/dist-types/models/models_1.d.ts +491 -72
  95. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  96. package/dist-types/ts3.4/Kendra.d.ts +85 -0
  97. package/dist-types/ts3.4/KendraClient.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +41 -0
  101. package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  114. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_0.d.ts +563 -453
  116. package/dist-types/ts3.4/models/models_1.d.ts +127 -0
  117. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  118. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Order = exports.FaqStatus = exports.ExperienceStatus = exports.EndpointType = exports.DataSourceStatus = exports.KeyLocation = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.IndexEdition = exports.FaqFileFormat = exports.DataSourceType = exports.WebCrawlerMode = exports.SlackEntity = exports.SharePointVersion = exports.SharePointOnlineAuthenticationType = exports.ServiceNowBuildVersionType = exports.ServiceNowAuthenticationType = exports.SalesforceStandardObjectName = exports.SalesforceKnowledgeArticleState = exports.SalesforceChatterFeedIncludeFilterType = exports.IssueSubEntity = exports.Type = exports.FsxFileSystemType = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConfluenceVersion = exports.ConfluenceSpaceFieldName = exports.ConfluencePageFieldName = exports.ConfluenceBlogFieldName = exports.ConfluenceAuthenticationType = exports.ConfluenceAttachmentFieldName = exports.ServiceQuotaExceededException = exports.ContentType = exports.PrincipalType = exports.ReadAccessType = exports.ConditionOperator = exports.DocumentStatus = exports.ConflictException = exports.ErrorCode = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.EntityType = exports.AlfrescoEntity = exports.AdditionalResultAttributeValueType = exports.HighlightType = exports.AccessDeniedException = void 0;
4
- exports.ListExperienceEntitiesResponseFilterSensitiveLog = exports.ExperienceEntitiesSummaryFilterSensitiveLog = exports.EntityDisplayDataFilterSensitiveLog = exports.DescribeIndexResponseFilterSensitiveLog = exports.CreateIndexRequestFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.RelevanceType = exports.ResourceInUseException = exports.WarningCode = exports.ScoreConfidence = exports.QueryResultFormat = exports.SortOrder = exports.QueryResultType = exports.ResourceUnavailableException = exports.DataSourceSyncJobStatus = exports.InvalidRequestException = exports.MetricType = exports.Interval = exports.ThesaurusStatus = exports.QuerySuggestionsStatus = exports.Mode = exports.QuerySuggestionsBlockListStatus = exports.PrincipalMappingStatus = exports.IndexStatus = exports.DocumentAttributeValueType = void 0;
3
+ exports.ExperienceStatus = exports.EndpointType = exports.DataSourceStatus = exports.KeyLocation = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.IndexEdition = exports.FeaturedResultsConflictException = exports.FeaturedResultsSetStatus = exports.FaqFileFormat = exports.DataSourceType = exports.WebCrawlerMode = exports.SlackEntity = exports.SharePointVersion = exports.SharePointOnlineAuthenticationType = exports.ServiceNowBuildVersionType = exports.ServiceNowAuthenticationType = exports.SalesforceStandardObjectName = exports.SalesforceKnowledgeArticleState = exports.SalesforceChatterFeedIncludeFilterType = exports.IssueSubEntity = exports.Type = exports.FsxFileSystemType = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConfluenceVersion = exports.ConfluenceSpaceFieldName = exports.ConfluencePageFieldName = exports.ConfluenceBlogFieldName = exports.ConfluenceAuthenticationType = exports.ConfluenceAttachmentFieldName = exports.ServiceQuotaExceededException = exports.ContentType = exports.PrincipalType = exports.ReadAccessType = exports.ConditionOperator = exports.DocumentStatus = exports.ConflictException = exports.ErrorCode = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.EntityType = exports.AlfrescoEntity = exports.AdditionalResultAttributeValueType = exports.HighlightType = exports.AccessDeniedException = void 0;
4
+ exports.ListExperienceEntitiesResponseFilterSensitiveLog = exports.ExperienceEntitiesSummaryFilterSensitiveLog = exports.EntityDisplayDataFilterSensitiveLog = exports.DescribeIndexResponseFilterSensitiveLog = exports.CreateIndexRequestFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.WarningCode = exports.ScoreConfidence = exports.QueryResultFormat = exports.SortOrder = exports.QueryResultType = exports.ResourceUnavailableException = exports.DataSourceSyncJobStatus = exports.InvalidRequestException = exports.MetricType = exports.Interval = exports.ThesaurusStatus = exports.QuerySuggestionsStatus = exports.Mode = exports.QuerySuggestionsBlockListStatus = exports.PrincipalMappingStatus = exports.IndexStatus = exports.DocumentAttributeValueType = exports.Order = exports.FaqStatus = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const KendraServiceException_1 = require("./KendraServiceException");
7
7
  class AccessDeniedException extends KendraServiceException_1.KendraServiceException {
@@ -18,26 +18,22 @@ class AccessDeniedException extends KendraServiceException_1.KendraServiceExcept
18
18
  }
19
19
  }
20
20
  exports.AccessDeniedException = AccessDeniedException;
21
- var HighlightType;
22
- (function (HighlightType) {
23
- HighlightType["STANDARD"] = "STANDARD";
24
- HighlightType["THESAURUS_SYNONYM"] = "THESAURUS_SYNONYM";
25
- })(HighlightType = exports.HighlightType || (exports.HighlightType = {}));
26
- var AdditionalResultAttributeValueType;
27
- (function (AdditionalResultAttributeValueType) {
28
- AdditionalResultAttributeValueType["TEXT_WITH_HIGHLIGHTS_VALUE"] = "TEXT_WITH_HIGHLIGHTS_VALUE";
29
- })(AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValueType || (exports.AdditionalResultAttributeValueType = {}));
30
- var AlfrescoEntity;
31
- (function (AlfrescoEntity) {
32
- AlfrescoEntity["blog"] = "blog";
33
- AlfrescoEntity["documentLibrary"] = "documentLibrary";
34
- AlfrescoEntity["wiki"] = "wiki";
35
- })(AlfrescoEntity = exports.AlfrescoEntity || (exports.AlfrescoEntity = {}));
36
- var EntityType;
37
- (function (EntityType) {
38
- EntityType["GROUP"] = "GROUP";
39
- EntityType["USER"] = "USER";
40
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
21
+ exports.HighlightType = {
22
+ STANDARD: "STANDARD",
23
+ THESAURUS_SYNONYM: "THESAURUS_SYNONYM",
24
+ };
25
+ exports.AdditionalResultAttributeValueType = {
26
+ TEXT_WITH_HIGHLIGHTS_VALUE: "TEXT_WITH_HIGHLIGHTS_VALUE",
27
+ };
28
+ exports.AlfrescoEntity = {
29
+ blog: "blog",
30
+ documentLibrary: "documentLibrary",
31
+ wiki: "wiki",
32
+ };
33
+ exports.EntityType = {
34
+ GROUP: "GROUP",
35
+ USER: "USER",
36
+ };
41
37
  class InternalServerException extends KendraServiceException_1.KendraServiceException {
42
38
  constructor(opts) {
43
39
  super({
@@ -108,16 +104,14 @@ class ValidationException extends KendraServiceException_1.KendraServiceExceptio
108
104
  }
109
105
  }
110
106
  exports.ValidationException = ValidationException;
111
- var Persona;
112
- (function (Persona) {
113
- Persona["OWNER"] = "OWNER";
114
- Persona["VIEWER"] = "VIEWER";
115
- })(Persona = exports.Persona || (exports.Persona = {}));
116
- var ErrorCode;
117
- (function (ErrorCode) {
118
- ErrorCode["INTERNAL_ERROR"] = "InternalError";
119
- ErrorCode["INVALID_REQUEST"] = "InvalidRequest";
120
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
107
+ exports.Persona = {
108
+ OWNER: "OWNER",
109
+ VIEWER: "VIEWER",
110
+ };
111
+ exports.ErrorCode = {
112
+ INTERNAL_ERROR: "InternalError",
113
+ INVALID_REQUEST: "InvalidRequest",
114
+ };
121
115
  class ConflictException extends KendraServiceException_1.KendraServiceException {
122
116
  constructor(opts) {
123
117
  super({
@@ -132,54 +126,49 @@ class ConflictException extends KendraServiceException_1.KendraServiceException
132
126
  }
133
127
  }
134
128
  exports.ConflictException = ConflictException;
135
- var DocumentStatus;
136
- (function (DocumentStatus) {
137
- DocumentStatus["FAILED"] = "FAILED";
138
- DocumentStatus["INDEXED"] = "INDEXED";
139
- DocumentStatus["NOT_FOUND"] = "NOT_FOUND";
140
- DocumentStatus["PROCESSING"] = "PROCESSING";
141
- DocumentStatus["UPDATED"] = "UPDATED";
142
- DocumentStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
143
- })(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
144
- var ConditionOperator;
145
- (function (ConditionOperator) {
146
- ConditionOperator["BeginsWith"] = "BeginsWith";
147
- ConditionOperator["Contains"] = "Contains";
148
- ConditionOperator["Equals"] = "Equals";
149
- ConditionOperator["Exists"] = "Exists";
150
- ConditionOperator["GreaterThan"] = "GreaterThan";
151
- ConditionOperator["GreaterThanOrEquals"] = "GreaterThanOrEquals";
152
- ConditionOperator["LessThan"] = "LessThan";
153
- ConditionOperator["LessThanOrEquals"] = "LessThanOrEquals";
154
- ConditionOperator["NotContains"] = "NotContains";
155
- ConditionOperator["NotEquals"] = "NotEquals";
156
- ConditionOperator["NotExists"] = "NotExists";
157
- })(ConditionOperator = exports.ConditionOperator || (exports.ConditionOperator = {}));
158
- var ReadAccessType;
159
- (function (ReadAccessType) {
160
- ReadAccessType["ALLOW"] = "ALLOW";
161
- ReadAccessType["DENY"] = "DENY";
162
- })(ReadAccessType = exports.ReadAccessType || (exports.ReadAccessType = {}));
163
- var PrincipalType;
164
- (function (PrincipalType) {
165
- PrincipalType["GROUP"] = "GROUP";
166
- PrincipalType["USER"] = "USER";
167
- })(PrincipalType = exports.PrincipalType || (exports.PrincipalType = {}));
168
- var ContentType;
169
- (function (ContentType) {
170
- ContentType["CSV"] = "CSV";
171
- ContentType["HTML"] = "HTML";
172
- ContentType["JSON"] = "JSON";
173
- ContentType["MD"] = "MD";
174
- ContentType["MS_EXCEL"] = "MS_EXCEL";
175
- ContentType["MS_WORD"] = "MS_WORD";
176
- ContentType["PDF"] = "PDF";
177
- ContentType["PLAIN_TEXT"] = "PLAIN_TEXT";
178
- ContentType["PPT"] = "PPT";
179
- ContentType["RTF"] = "RTF";
180
- ContentType["XML"] = "XML";
181
- ContentType["XSLT"] = "XSLT";
182
- })(ContentType = exports.ContentType || (exports.ContentType = {}));
129
+ exports.DocumentStatus = {
130
+ FAILED: "FAILED",
131
+ INDEXED: "INDEXED",
132
+ NOT_FOUND: "NOT_FOUND",
133
+ PROCESSING: "PROCESSING",
134
+ UPDATED: "UPDATED",
135
+ UPDATE_FAILED: "UPDATE_FAILED",
136
+ };
137
+ exports.ConditionOperator = {
138
+ BeginsWith: "BeginsWith",
139
+ Contains: "Contains",
140
+ Equals: "Equals",
141
+ Exists: "Exists",
142
+ GreaterThan: "GreaterThan",
143
+ GreaterThanOrEquals: "GreaterThanOrEquals",
144
+ LessThan: "LessThan",
145
+ LessThanOrEquals: "LessThanOrEquals",
146
+ NotContains: "NotContains",
147
+ NotEquals: "NotEquals",
148
+ NotExists: "NotExists",
149
+ };
150
+ exports.ReadAccessType = {
151
+ ALLOW: "ALLOW",
152
+ DENY: "DENY",
153
+ };
154
+ exports.PrincipalType = {
155
+ GROUP: "GROUP",
156
+ USER: "USER",
157
+ };
158
+ exports.ContentType = {
159
+ CSV: "CSV",
160
+ HTML: "HTML",
161
+ JSON: "JSON",
162
+ MD: "MD",
163
+ MS_EXCEL: "MS_EXCEL",
164
+ MS_WORD: "MS_WORD",
165
+ PDF: "PDF",
166
+ PLAIN_TEXT: "PLAIN_TEXT",
167
+ PPT: "PPT",
168
+ RTF: "RTF",
169
+ XML: "XML",
170
+ XSLT: "XSLT",
171
+ };
183
172
  class ServiceQuotaExceededException extends KendraServiceException_1.KendraServiceException {
184
173
  constructor(opts) {
185
174
  super({
@@ -194,307 +183,286 @@ class ServiceQuotaExceededException extends KendraServiceException_1.KendraServi
194
183
  }
195
184
  }
196
185
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
197
- var ConfluenceAttachmentFieldName;
198
- (function (ConfluenceAttachmentFieldName) {
199
- ConfluenceAttachmentFieldName["AUTHOR"] = "AUTHOR";
200
- ConfluenceAttachmentFieldName["CONTENT_TYPE"] = "CONTENT_TYPE";
201
- ConfluenceAttachmentFieldName["CREATED_DATE"] = "CREATED_DATE";
202
- ConfluenceAttachmentFieldName["DISPLAY_URL"] = "DISPLAY_URL";
203
- ConfluenceAttachmentFieldName["FILE_SIZE"] = "FILE_SIZE";
204
- ConfluenceAttachmentFieldName["ITEM_TYPE"] = "ITEM_TYPE";
205
- ConfluenceAttachmentFieldName["PARENT_ID"] = "PARENT_ID";
206
- ConfluenceAttachmentFieldName["SPACE_KEY"] = "SPACE_KEY";
207
- ConfluenceAttachmentFieldName["SPACE_NAME"] = "SPACE_NAME";
208
- ConfluenceAttachmentFieldName["URL"] = "URL";
209
- ConfluenceAttachmentFieldName["VERSION"] = "VERSION";
210
- })(ConfluenceAttachmentFieldName = exports.ConfluenceAttachmentFieldName || (exports.ConfluenceAttachmentFieldName = {}));
211
- var ConfluenceAuthenticationType;
212
- (function (ConfluenceAuthenticationType) {
213
- ConfluenceAuthenticationType["HTTP_BASIC"] = "HTTP_BASIC";
214
- ConfluenceAuthenticationType["PAT"] = "PAT";
215
- })(ConfluenceAuthenticationType = exports.ConfluenceAuthenticationType || (exports.ConfluenceAuthenticationType = {}));
216
- var ConfluenceBlogFieldName;
217
- (function (ConfluenceBlogFieldName) {
218
- ConfluenceBlogFieldName["AUTHOR"] = "AUTHOR";
219
- ConfluenceBlogFieldName["DISPLAY_URL"] = "DISPLAY_URL";
220
- ConfluenceBlogFieldName["ITEM_TYPE"] = "ITEM_TYPE";
221
- ConfluenceBlogFieldName["LABELS"] = "LABELS";
222
- ConfluenceBlogFieldName["PUBLISH_DATE"] = "PUBLISH_DATE";
223
- ConfluenceBlogFieldName["SPACE_KEY"] = "SPACE_KEY";
224
- ConfluenceBlogFieldName["SPACE_NAME"] = "SPACE_NAME";
225
- ConfluenceBlogFieldName["URL"] = "URL";
226
- ConfluenceBlogFieldName["VERSION"] = "VERSION";
227
- })(ConfluenceBlogFieldName = exports.ConfluenceBlogFieldName || (exports.ConfluenceBlogFieldName = {}));
228
- var ConfluencePageFieldName;
229
- (function (ConfluencePageFieldName) {
230
- ConfluencePageFieldName["AUTHOR"] = "AUTHOR";
231
- ConfluencePageFieldName["CONTENT_STATUS"] = "CONTENT_STATUS";
232
- ConfluencePageFieldName["CREATED_DATE"] = "CREATED_DATE";
233
- ConfluencePageFieldName["DISPLAY_URL"] = "DISPLAY_URL";
234
- ConfluencePageFieldName["ITEM_TYPE"] = "ITEM_TYPE";
235
- ConfluencePageFieldName["LABELS"] = "LABELS";
236
- ConfluencePageFieldName["MODIFIED_DATE"] = "MODIFIED_DATE";
237
- ConfluencePageFieldName["PARENT_ID"] = "PARENT_ID";
238
- ConfluencePageFieldName["SPACE_KEY"] = "SPACE_KEY";
239
- ConfluencePageFieldName["SPACE_NAME"] = "SPACE_NAME";
240
- ConfluencePageFieldName["URL"] = "URL";
241
- ConfluencePageFieldName["VERSION"] = "VERSION";
242
- })(ConfluencePageFieldName = exports.ConfluencePageFieldName || (exports.ConfluencePageFieldName = {}));
243
- var ConfluenceSpaceFieldName;
244
- (function (ConfluenceSpaceFieldName) {
245
- ConfluenceSpaceFieldName["DISPLAY_URL"] = "DISPLAY_URL";
246
- ConfluenceSpaceFieldName["ITEM_TYPE"] = "ITEM_TYPE";
247
- ConfluenceSpaceFieldName["SPACE_KEY"] = "SPACE_KEY";
248
- ConfluenceSpaceFieldName["URL"] = "URL";
249
- })(ConfluenceSpaceFieldName = exports.ConfluenceSpaceFieldName || (exports.ConfluenceSpaceFieldName = {}));
250
- var ConfluenceVersion;
251
- (function (ConfluenceVersion) {
252
- ConfluenceVersion["CLOUD"] = "CLOUD";
253
- ConfluenceVersion["SERVER"] = "SERVER";
254
- })(ConfluenceVersion = exports.ConfluenceVersion || (exports.ConfluenceVersion = {}));
255
- var DatabaseEngineType;
256
- (function (DatabaseEngineType) {
257
- DatabaseEngineType["RDS_AURORA_MYSQL"] = "RDS_AURORA_MYSQL";
258
- DatabaseEngineType["RDS_AURORA_POSTGRESQL"] = "RDS_AURORA_POSTGRESQL";
259
- DatabaseEngineType["RDS_MYSQL"] = "RDS_MYSQL";
260
- DatabaseEngineType["RDS_POSTGRESQL"] = "RDS_POSTGRESQL";
261
- })(DatabaseEngineType = exports.DatabaseEngineType || (exports.DatabaseEngineType = {}));
262
- var QueryIdentifiersEnclosingOption;
263
- (function (QueryIdentifiersEnclosingOption) {
264
- QueryIdentifiersEnclosingOption["DOUBLE_QUOTES"] = "DOUBLE_QUOTES";
265
- QueryIdentifiersEnclosingOption["NONE"] = "NONE";
266
- })(QueryIdentifiersEnclosingOption = exports.QueryIdentifiersEnclosingOption || (exports.QueryIdentifiersEnclosingOption = {}));
267
- var FsxFileSystemType;
268
- (function (FsxFileSystemType) {
269
- FsxFileSystemType["WINDOWS"] = "WINDOWS";
270
- })(FsxFileSystemType = exports.FsxFileSystemType || (exports.FsxFileSystemType = {}));
271
- var Type;
272
- (function (Type) {
273
- Type["ON_PREMISE"] = "ON_PREMISE";
274
- Type["SAAS"] = "SAAS";
275
- })(Type = exports.Type || (exports.Type = {}));
276
- var IssueSubEntity;
277
- (function (IssueSubEntity) {
278
- IssueSubEntity["ATTACHMENTS"] = "ATTACHMENTS";
279
- IssueSubEntity["COMMENTS"] = "COMMENTS";
280
- IssueSubEntity["WORKLOGS"] = "WORKLOGS";
281
- })(IssueSubEntity = exports.IssueSubEntity || (exports.IssueSubEntity = {}));
282
- var SalesforceChatterFeedIncludeFilterType;
283
- (function (SalesforceChatterFeedIncludeFilterType) {
284
- SalesforceChatterFeedIncludeFilterType["ACTIVE_USER"] = "ACTIVE_USER";
285
- SalesforceChatterFeedIncludeFilterType["STANDARD_USER"] = "STANDARD_USER";
286
- })(SalesforceChatterFeedIncludeFilterType = exports.SalesforceChatterFeedIncludeFilterType || (exports.SalesforceChatterFeedIncludeFilterType = {}));
287
- var SalesforceKnowledgeArticleState;
288
- (function (SalesforceKnowledgeArticleState) {
289
- SalesforceKnowledgeArticleState["ARCHIVED"] = "ARCHIVED";
290
- SalesforceKnowledgeArticleState["DRAFT"] = "DRAFT";
291
- SalesforceKnowledgeArticleState["PUBLISHED"] = "PUBLISHED";
292
- })(SalesforceKnowledgeArticleState = exports.SalesforceKnowledgeArticleState || (exports.SalesforceKnowledgeArticleState = {}));
293
- var SalesforceStandardObjectName;
294
- (function (SalesforceStandardObjectName) {
295
- SalesforceStandardObjectName["ACCOUNT"] = "ACCOUNT";
296
- SalesforceStandardObjectName["CAMPAIGN"] = "CAMPAIGN";
297
- SalesforceStandardObjectName["CASE"] = "CASE";
298
- SalesforceStandardObjectName["CONTACT"] = "CONTACT";
299
- SalesforceStandardObjectName["CONTRACT"] = "CONTRACT";
300
- SalesforceStandardObjectName["DOCUMENT"] = "DOCUMENT";
301
- SalesforceStandardObjectName["GROUP"] = "GROUP";
302
- SalesforceStandardObjectName["IDEA"] = "IDEA";
303
- SalesforceStandardObjectName["LEAD"] = "LEAD";
304
- SalesforceStandardObjectName["OPPORTUNITY"] = "OPPORTUNITY";
305
- SalesforceStandardObjectName["PARTNER"] = "PARTNER";
306
- SalesforceStandardObjectName["PRICEBOOK"] = "PRICEBOOK";
307
- SalesforceStandardObjectName["PRODUCT"] = "PRODUCT";
308
- SalesforceStandardObjectName["PROFILE"] = "PROFILE";
309
- SalesforceStandardObjectName["SOLUTION"] = "SOLUTION";
310
- SalesforceStandardObjectName["TASK"] = "TASK";
311
- SalesforceStandardObjectName["USER"] = "USER";
312
- })(SalesforceStandardObjectName = exports.SalesforceStandardObjectName || (exports.SalesforceStandardObjectName = {}));
313
- var ServiceNowAuthenticationType;
314
- (function (ServiceNowAuthenticationType) {
315
- ServiceNowAuthenticationType["HTTP_BASIC"] = "HTTP_BASIC";
316
- ServiceNowAuthenticationType["OAUTH2"] = "OAUTH2";
317
- })(ServiceNowAuthenticationType = exports.ServiceNowAuthenticationType || (exports.ServiceNowAuthenticationType = {}));
318
- var ServiceNowBuildVersionType;
319
- (function (ServiceNowBuildVersionType) {
320
- ServiceNowBuildVersionType["LONDON"] = "LONDON";
321
- ServiceNowBuildVersionType["OTHERS"] = "OTHERS";
322
- })(ServiceNowBuildVersionType = exports.ServiceNowBuildVersionType || (exports.ServiceNowBuildVersionType = {}));
323
- var SharePointOnlineAuthenticationType;
324
- (function (SharePointOnlineAuthenticationType) {
325
- SharePointOnlineAuthenticationType["HTTP_BASIC"] = "HTTP_BASIC";
326
- SharePointOnlineAuthenticationType["OAUTH2"] = "OAUTH2";
327
- })(SharePointOnlineAuthenticationType = exports.SharePointOnlineAuthenticationType || (exports.SharePointOnlineAuthenticationType = {}));
328
- var SharePointVersion;
329
- (function (SharePointVersion) {
330
- SharePointVersion["SHAREPOINT_2013"] = "SHAREPOINT_2013";
331
- SharePointVersion["SHAREPOINT_2016"] = "SHAREPOINT_2016";
332
- SharePointVersion["SHAREPOINT_2019"] = "SHAREPOINT_2019";
333
- SharePointVersion["SHAREPOINT_ONLINE"] = "SHAREPOINT_ONLINE";
334
- })(SharePointVersion = exports.SharePointVersion || (exports.SharePointVersion = {}));
335
- var SlackEntity;
336
- (function (SlackEntity) {
337
- SlackEntity["DIRECT_MESSAGE"] = "DIRECT_MESSAGE";
338
- SlackEntity["GROUP_MESSAGE"] = "GROUP_MESSAGE";
339
- SlackEntity["PRIVATE_CHANNEL"] = "PRIVATE_CHANNEL";
340
- SlackEntity["PUBLIC_CHANNEL"] = "PUBLIC_CHANNEL";
341
- })(SlackEntity = exports.SlackEntity || (exports.SlackEntity = {}));
342
- var WebCrawlerMode;
343
- (function (WebCrawlerMode) {
344
- WebCrawlerMode["EVERYTHING"] = "EVERYTHING";
345
- WebCrawlerMode["HOST_ONLY"] = "HOST_ONLY";
346
- WebCrawlerMode["SUBDOMAINS"] = "SUBDOMAINS";
347
- })(WebCrawlerMode = exports.WebCrawlerMode || (exports.WebCrawlerMode = {}));
348
- var DataSourceType;
349
- (function (DataSourceType) {
350
- DataSourceType["ALFRESCO"] = "ALFRESCO";
351
- DataSourceType["BOX"] = "BOX";
352
- DataSourceType["CONFLUENCE"] = "CONFLUENCE";
353
- DataSourceType["CUSTOM"] = "CUSTOM";
354
- DataSourceType["DATABASE"] = "DATABASE";
355
- DataSourceType["FSX"] = "FSX";
356
- DataSourceType["GITHUB"] = "GITHUB";
357
- DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
358
- DataSourceType["JIRA"] = "JIRA";
359
- DataSourceType["ONEDRIVE"] = "ONEDRIVE";
360
- DataSourceType["QUIP"] = "QUIP";
361
- DataSourceType["S3"] = "S3";
362
- DataSourceType["SALESFORCE"] = "SALESFORCE";
363
- DataSourceType["SERVICENOW"] = "SERVICENOW";
364
- DataSourceType["SHAREPOINT"] = "SHAREPOINT";
365
- DataSourceType["SLACK"] = "SLACK";
366
- DataSourceType["TEMPLATE"] = "TEMPLATE";
367
- DataSourceType["WEBCRAWLER"] = "WEBCRAWLER";
368
- DataSourceType["WORKDOCS"] = "WORKDOCS";
369
- })(DataSourceType = exports.DataSourceType || (exports.DataSourceType = {}));
370
- var FaqFileFormat;
371
- (function (FaqFileFormat) {
372
- FaqFileFormat["CSV"] = "CSV";
373
- FaqFileFormat["CSV_WITH_HEADER"] = "CSV_WITH_HEADER";
374
- FaqFileFormat["JSON"] = "JSON";
375
- })(FaqFileFormat = exports.FaqFileFormat || (exports.FaqFileFormat = {}));
376
- var IndexEdition;
377
- (function (IndexEdition) {
378
- IndexEdition["DEVELOPER_EDITION"] = "DEVELOPER_EDITION";
379
- IndexEdition["ENTERPRISE_EDITION"] = "ENTERPRISE_EDITION";
380
- })(IndexEdition = exports.IndexEdition || (exports.IndexEdition = {}));
381
- var UserContextPolicy;
382
- (function (UserContextPolicy) {
383
- UserContextPolicy["ATTRIBUTE_FILTER"] = "ATTRIBUTE_FILTER";
384
- UserContextPolicy["USER_TOKEN"] = "USER_TOKEN";
385
- })(UserContextPolicy = exports.UserContextPolicy || (exports.UserContextPolicy = {}));
386
- var UserGroupResolutionMode;
387
- (function (UserGroupResolutionMode) {
388
- UserGroupResolutionMode["AWS_SSO"] = "AWS_SSO";
389
- UserGroupResolutionMode["NONE"] = "NONE";
390
- })(UserGroupResolutionMode = exports.UserGroupResolutionMode || (exports.UserGroupResolutionMode = {}));
391
- var KeyLocation;
392
- (function (KeyLocation) {
393
- KeyLocation["SECRET_MANAGER"] = "SECRET_MANAGER";
394
- KeyLocation["URL"] = "URL";
395
- })(KeyLocation = exports.KeyLocation || (exports.KeyLocation = {}));
396
- var DataSourceStatus;
397
- (function (DataSourceStatus) {
398
- DataSourceStatus["ACTIVE"] = "ACTIVE";
399
- DataSourceStatus["CREATING"] = "CREATING";
400
- DataSourceStatus["DELETING"] = "DELETING";
401
- DataSourceStatus["FAILED"] = "FAILED";
402
- DataSourceStatus["UPDATING"] = "UPDATING";
403
- })(DataSourceStatus = exports.DataSourceStatus || (exports.DataSourceStatus = {}));
404
- var EndpointType;
405
- (function (EndpointType) {
406
- EndpointType["HOME"] = "HOME";
407
- })(EndpointType = exports.EndpointType || (exports.EndpointType = {}));
408
- var ExperienceStatus;
409
- (function (ExperienceStatus) {
410
- ExperienceStatus["ACTIVE"] = "ACTIVE";
411
- ExperienceStatus["CREATING"] = "CREATING";
412
- ExperienceStatus["DELETING"] = "DELETING";
413
- ExperienceStatus["FAILED"] = "FAILED";
414
- })(ExperienceStatus = exports.ExperienceStatus || (exports.ExperienceStatus = {}));
415
- var FaqStatus;
416
- (function (FaqStatus) {
417
- FaqStatus["ACTIVE"] = "ACTIVE";
418
- FaqStatus["CREATING"] = "CREATING";
419
- FaqStatus["DELETING"] = "DELETING";
420
- FaqStatus["FAILED"] = "FAILED";
421
- FaqStatus["UPDATING"] = "UPDATING";
422
- })(FaqStatus = exports.FaqStatus || (exports.FaqStatus = {}));
423
- var Order;
424
- (function (Order) {
425
- Order["ASCENDING"] = "ASCENDING";
426
- Order["DESCENDING"] = "DESCENDING";
427
- })(Order = exports.Order || (exports.Order = {}));
428
- var DocumentAttributeValueType;
429
- (function (DocumentAttributeValueType) {
430
- DocumentAttributeValueType["DATE_VALUE"] = "DATE_VALUE";
431
- DocumentAttributeValueType["LONG_VALUE"] = "LONG_VALUE";
432
- DocumentAttributeValueType["STRING_LIST_VALUE"] = "STRING_LIST_VALUE";
433
- DocumentAttributeValueType["STRING_VALUE"] = "STRING_VALUE";
434
- })(DocumentAttributeValueType = exports.DocumentAttributeValueType || (exports.DocumentAttributeValueType = {}));
435
- var IndexStatus;
436
- (function (IndexStatus) {
437
- IndexStatus["ACTIVE"] = "ACTIVE";
438
- IndexStatus["CREATING"] = "CREATING";
439
- IndexStatus["DELETING"] = "DELETING";
440
- IndexStatus["FAILED"] = "FAILED";
441
- IndexStatus["SYSTEM_UPDATING"] = "SYSTEM_UPDATING";
442
- IndexStatus["UPDATING"] = "UPDATING";
443
- })(IndexStatus = exports.IndexStatus || (exports.IndexStatus = {}));
444
- var PrincipalMappingStatus;
445
- (function (PrincipalMappingStatus) {
446
- PrincipalMappingStatus["DELETED"] = "DELETED";
447
- PrincipalMappingStatus["DELETING"] = "DELETING";
448
- PrincipalMappingStatus["FAILED"] = "FAILED";
449
- PrincipalMappingStatus["PROCESSING"] = "PROCESSING";
450
- PrincipalMappingStatus["SUCCEEDED"] = "SUCCEEDED";
451
- })(PrincipalMappingStatus = exports.PrincipalMappingStatus || (exports.PrincipalMappingStatus = {}));
452
- var QuerySuggestionsBlockListStatus;
453
- (function (QuerySuggestionsBlockListStatus) {
454
- QuerySuggestionsBlockListStatus["ACTIVE"] = "ACTIVE";
455
- QuerySuggestionsBlockListStatus["ACTIVE_BUT_UPDATE_FAILED"] = "ACTIVE_BUT_UPDATE_FAILED";
456
- QuerySuggestionsBlockListStatus["CREATING"] = "CREATING";
457
- QuerySuggestionsBlockListStatus["DELETING"] = "DELETING";
458
- QuerySuggestionsBlockListStatus["FAILED"] = "FAILED";
459
- QuerySuggestionsBlockListStatus["UPDATING"] = "UPDATING";
460
- })(QuerySuggestionsBlockListStatus = exports.QuerySuggestionsBlockListStatus || (exports.QuerySuggestionsBlockListStatus = {}));
461
- var Mode;
462
- (function (Mode) {
463
- Mode["ENABLED"] = "ENABLED";
464
- Mode["LEARN_ONLY"] = "LEARN_ONLY";
465
- })(Mode = exports.Mode || (exports.Mode = {}));
466
- var QuerySuggestionsStatus;
467
- (function (QuerySuggestionsStatus) {
468
- QuerySuggestionsStatus["ACTIVE"] = "ACTIVE";
469
- QuerySuggestionsStatus["UPDATING"] = "UPDATING";
470
- })(QuerySuggestionsStatus = exports.QuerySuggestionsStatus || (exports.QuerySuggestionsStatus = {}));
471
- var ThesaurusStatus;
472
- (function (ThesaurusStatus) {
473
- ThesaurusStatus["ACTIVE"] = "ACTIVE";
474
- ThesaurusStatus["ACTIVE_BUT_UPDATE_FAILED"] = "ACTIVE_BUT_UPDATE_FAILED";
475
- ThesaurusStatus["CREATING"] = "CREATING";
476
- ThesaurusStatus["DELETING"] = "DELETING";
477
- ThesaurusStatus["FAILED"] = "FAILED";
478
- ThesaurusStatus["UPDATING"] = "UPDATING";
479
- })(ThesaurusStatus = exports.ThesaurusStatus || (exports.ThesaurusStatus = {}));
480
- var Interval;
481
- (function (Interval) {
482
- Interval["ONE_MONTH_AGO"] = "ONE_MONTH_AGO";
483
- Interval["ONE_WEEK_AGO"] = "ONE_WEEK_AGO";
484
- Interval["THIS_MONTH"] = "THIS_MONTH";
485
- Interval["THIS_WEEK"] = "THIS_WEEK";
486
- Interval["TWO_MONTHS_AGO"] = "TWO_MONTHS_AGO";
487
- Interval["TWO_WEEKS_AGO"] = "TWO_WEEKS_AGO";
488
- })(Interval = exports.Interval || (exports.Interval = {}));
489
- var MetricType;
490
- (function (MetricType) {
491
- MetricType["AGG_QUERY_DOC_METRICS"] = "AGG_QUERY_DOC_METRICS";
492
- MetricType["DOCS_BY_CLICK_COUNT"] = "DOCS_BY_CLICK_COUNT";
493
- MetricType["QUERIES_BY_COUNT"] = "QUERIES_BY_COUNT";
494
- MetricType["QUERIES_BY_ZERO_CLICK_RATE"] = "QUERIES_BY_ZERO_CLICK_RATE";
495
- MetricType["QUERIES_BY_ZERO_RESULT_RATE"] = "QUERIES_BY_ZERO_RESULT_RATE";
496
- MetricType["TREND_QUERY_DOC_METRICS"] = "TREND_QUERY_DOC_METRICS";
497
- })(MetricType = exports.MetricType || (exports.MetricType = {}));
186
+ exports.ConfluenceAttachmentFieldName = {
187
+ AUTHOR: "AUTHOR",
188
+ CONTENT_TYPE: "CONTENT_TYPE",
189
+ CREATED_DATE: "CREATED_DATE",
190
+ DISPLAY_URL: "DISPLAY_URL",
191
+ FILE_SIZE: "FILE_SIZE",
192
+ ITEM_TYPE: "ITEM_TYPE",
193
+ PARENT_ID: "PARENT_ID",
194
+ SPACE_KEY: "SPACE_KEY",
195
+ SPACE_NAME: "SPACE_NAME",
196
+ URL: "URL",
197
+ VERSION: "VERSION",
198
+ };
199
+ exports.ConfluenceAuthenticationType = {
200
+ HTTP_BASIC: "HTTP_BASIC",
201
+ PAT: "PAT",
202
+ };
203
+ exports.ConfluenceBlogFieldName = {
204
+ AUTHOR: "AUTHOR",
205
+ DISPLAY_URL: "DISPLAY_URL",
206
+ ITEM_TYPE: "ITEM_TYPE",
207
+ LABELS: "LABELS",
208
+ PUBLISH_DATE: "PUBLISH_DATE",
209
+ SPACE_KEY: "SPACE_KEY",
210
+ SPACE_NAME: "SPACE_NAME",
211
+ URL: "URL",
212
+ VERSION: "VERSION",
213
+ };
214
+ exports.ConfluencePageFieldName = {
215
+ AUTHOR: "AUTHOR",
216
+ CONTENT_STATUS: "CONTENT_STATUS",
217
+ CREATED_DATE: "CREATED_DATE",
218
+ DISPLAY_URL: "DISPLAY_URL",
219
+ ITEM_TYPE: "ITEM_TYPE",
220
+ LABELS: "LABELS",
221
+ MODIFIED_DATE: "MODIFIED_DATE",
222
+ PARENT_ID: "PARENT_ID",
223
+ SPACE_KEY: "SPACE_KEY",
224
+ SPACE_NAME: "SPACE_NAME",
225
+ URL: "URL",
226
+ VERSION: "VERSION",
227
+ };
228
+ exports.ConfluenceSpaceFieldName = {
229
+ DISPLAY_URL: "DISPLAY_URL",
230
+ ITEM_TYPE: "ITEM_TYPE",
231
+ SPACE_KEY: "SPACE_KEY",
232
+ URL: "URL",
233
+ };
234
+ exports.ConfluenceVersion = {
235
+ CLOUD: "CLOUD",
236
+ SERVER: "SERVER",
237
+ };
238
+ exports.DatabaseEngineType = {
239
+ RDS_AURORA_MYSQL: "RDS_AURORA_MYSQL",
240
+ RDS_AURORA_POSTGRESQL: "RDS_AURORA_POSTGRESQL",
241
+ RDS_MYSQL: "RDS_MYSQL",
242
+ RDS_POSTGRESQL: "RDS_POSTGRESQL",
243
+ };
244
+ exports.QueryIdentifiersEnclosingOption = {
245
+ DOUBLE_QUOTES: "DOUBLE_QUOTES",
246
+ NONE: "NONE",
247
+ };
248
+ exports.FsxFileSystemType = {
249
+ WINDOWS: "WINDOWS",
250
+ };
251
+ exports.Type = {
252
+ ON_PREMISE: "ON_PREMISE",
253
+ SAAS: "SAAS",
254
+ };
255
+ exports.IssueSubEntity = {
256
+ ATTACHMENTS: "ATTACHMENTS",
257
+ COMMENTS: "COMMENTS",
258
+ WORKLOGS: "WORKLOGS",
259
+ };
260
+ exports.SalesforceChatterFeedIncludeFilterType = {
261
+ ACTIVE_USER: "ACTIVE_USER",
262
+ STANDARD_USER: "STANDARD_USER",
263
+ };
264
+ exports.SalesforceKnowledgeArticleState = {
265
+ ARCHIVED: "ARCHIVED",
266
+ DRAFT: "DRAFT",
267
+ PUBLISHED: "PUBLISHED",
268
+ };
269
+ exports.SalesforceStandardObjectName = {
270
+ ACCOUNT: "ACCOUNT",
271
+ CAMPAIGN: "CAMPAIGN",
272
+ CASE: "CASE",
273
+ CONTACT: "CONTACT",
274
+ CONTRACT: "CONTRACT",
275
+ DOCUMENT: "DOCUMENT",
276
+ GROUP: "GROUP",
277
+ IDEA: "IDEA",
278
+ LEAD: "LEAD",
279
+ OPPORTUNITY: "OPPORTUNITY",
280
+ PARTNER: "PARTNER",
281
+ PRICEBOOK: "PRICEBOOK",
282
+ PRODUCT: "PRODUCT",
283
+ PROFILE: "PROFILE",
284
+ SOLUTION: "SOLUTION",
285
+ TASK: "TASK",
286
+ USER: "USER",
287
+ };
288
+ exports.ServiceNowAuthenticationType = {
289
+ HTTP_BASIC: "HTTP_BASIC",
290
+ OAUTH2: "OAUTH2",
291
+ };
292
+ exports.ServiceNowBuildVersionType = {
293
+ LONDON: "LONDON",
294
+ OTHERS: "OTHERS",
295
+ };
296
+ exports.SharePointOnlineAuthenticationType = {
297
+ HTTP_BASIC: "HTTP_BASIC",
298
+ OAUTH2: "OAUTH2",
299
+ };
300
+ exports.SharePointVersion = {
301
+ SHAREPOINT_2013: "SHAREPOINT_2013",
302
+ SHAREPOINT_2016: "SHAREPOINT_2016",
303
+ SHAREPOINT_2019: "SHAREPOINT_2019",
304
+ SHAREPOINT_ONLINE: "SHAREPOINT_ONLINE",
305
+ };
306
+ exports.SlackEntity = {
307
+ DIRECT_MESSAGE: "DIRECT_MESSAGE",
308
+ GROUP_MESSAGE: "GROUP_MESSAGE",
309
+ PRIVATE_CHANNEL: "PRIVATE_CHANNEL",
310
+ PUBLIC_CHANNEL: "PUBLIC_CHANNEL",
311
+ };
312
+ exports.WebCrawlerMode = {
313
+ EVERYTHING: "EVERYTHING",
314
+ HOST_ONLY: "HOST_ONLY",
315
+ SUBDOMAINS: "SUBDOMAINS",
316
+ };
317
+ exports.DataSourceType = {
318
+ ALFRESCO: "ALFRESCO",
319
+ BOX: "BOX",
320
+ CONFLUENCE: "CONFLUENCE",
321
+ CUSTOM: "CUSTOM",
322
+ DATABASE: "DATABASE",
323
+ FSX: "FSX",
324
+ GITHUB: "GITHUB",
325
+ GOOGLEDRIVE: "GOOGLEDRIVE",
326
+ JIRA: "JIRA",
327
+ ONEDRIVE: "ONEDRIVE",
328
+ QUIP: "QUIP",
329
+ S3: "S3",
330
+ SALESFORCE: "SALESFORCE",
331
+ SERVICENOW: "SERVICENOW",
332
+ SHAREPOINT: "SHAREPOINT",
333
+ SLACK: "SLACK",
334
+ TEMPLATE: "TEMPLATE",
335
+ WEBCRAWLER: "WEBCRAWLER",
336
+ WORKDOCS: "WORKDOCS",
337
+ };
338
+ exports.FaqFileFormat = {
339
+ CSV: "CSV",
340
+ CSV_WITH_HEADER: "CSV_WITH_HEADER",
341
+ JSON: "JSON",
342
+ };
343
+ exports.FeaturedResultsSetStatus = {
344
+ ACTIVE: "ACTIVE",
345
+ INACTIVE: "INACTIVE",
346
+ };
347
+ class FeaturedResultsConflictException extends KendraServiceException_1.KendraServiceException {
348
+ constructor(opts) {
349
+ super({
350
+ name: "FeaturedResultsConflictException",
351
+ $fault: "client",
352
+ ...opts,
353
+ });
354
+ this.name = "FeaturedResultsConflictException";
355
+ this.$fault = "client";
356
+ Object.setPrototypeOf(this, FeaturedResultsConflictException.prototype);
357
+ this.Message = opts.Message;
358
+ this.ConflictingItems = opts.ConflictingItems;
359
+ }
360
+ }
361
+ exports.FeaturedResultsConflictException = FeaturedResultsConflictException;
362
+ exports.IndexEdition = {
363
+ DEVELOPER_EDITION: "DEVELOPER_EDITION",
364
+ ENTERPRISE_EDITION: "ENTERPRISE_EDITION",
365
+ };
366
+ exports.UserContextPolicy = {
367
+ ATTRIBUTE_FILTER: "ATTRIBUTE_FILTER",
368
+ USER_TOKEN: "USER_TOKEN",
369
+ };
370
+ exports.UserGroupResolutionMode = {
371
+ AWS_SSO: "AWS_SSO",
372
+ NONE: "NONE",
373
+ };
374
+ exports.KeyLocation = {
375
+ SECRET_MANAGER: "SECRET_MANAGER",
376
+ URL: "URL",
377
+ };
378
+ exports.DataSourceStatus = {
379
+ ACTIVE: "ACTIVE",
380
+ CREATING: "CREATING",
381
+ DELETING: "DELETING",
382
+ FAILED: "FAILED",
383
+ UPDATING: "UPDATING",
384
+ };
385
+ exports.EndpointType = {
386
+ HOME: "HOME",
387
+ };
388
+ exports.ExperienceStatus = {
389
+ ACTIVE: "ACTIVE",
390
+ CREATING: "CREATING",
391
+ DELETING: "DELETING",
392
+ FAILED: "FAILED",
393
+ };
394
+ exports.FaqStatus = {
395
+ ACTIVE: "ACTIVE",
396
+ CREATING: "CREATING",
397
+ DELETING: "DELETING",
398
+ FAILED: "FAILED",
399
+ UPDATING: "UPDATING",
400
+ };
401
+ exports.Order = {
402
+ ASCENDING: "ASCENDING",
403
+ DESCENDING: "DESCENDING",
404
+ };
405
+ exports.DocumentAttributeValueType = {
406
+ DATE_VALUE: "DATE_VALUE",
407
+ LONG_VALUE: "LONG_VALUE",
408
+ STRING_LIST_VALUE: "STRING_LIST_VALUE",
409
+ STRING_VALUE: "STRING_VALUE",
410
+ };
411
+ exports.IndexStatus = {
412
+ ACTIVE: "ACTIVE",
413
+ CREATING: "CREATING",
414
+ DELETING: "DELETING",
415
+ FAILED: "FAILED",
416
+ SYSTEM_UPDATING: "SYSTEM_UPDATING",
417
+ UPDATING: "UPDATING",
418
+ };
419
+ exports.PrincipalMappingStatus = {
420
+ DELETED: "DELETED",
421
+ DELETING: "DELETING",
422
+ FAILED: "FAILED",
423
+ PROCESSING: "PROCESSING",
424
+ SUCCEEDED: "SUCCEEDED",
425
+ };
426
+ exports.QuerySuggestionsBlockListStatus = {
427
+ ACTIVE: "ACTIVE",
428
+ ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED",
429
+ CREATING: "CREATING",
430
+ DELETING: "DELETING",
431
+ FAILED: "FAILED",
432
+ UPDATING: "UPDATING",
433
+ };
434
+ exports.Mode = {
435
+ ENABLED: "ENABLED",
436
+ LEARN_ONLY: "LEARN_ONLY",
437
+ };
438
+ exports.QuerySuggestionsStatus = {
439
+ ACTIVE: "ACTIVE",
440
+ UPDATING: "UPDATING",
441
+ };
442
+ exports.ThesaurusStatus = {
443
+ ACTIVE: "ACTIVE",
444
+ ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED",
445
+ CREATING: "CREATING",
446
+ DELETING: "DELETING",
447
+ FAILED: "FAILED",
448
+ UPDATING: "UPDATING",
449
+ };
450
+ exports.Interval = {
451
+ ONE_MONTH_AGO: "ONE_MONTH_AGO",
452
+ ONE_WEEK_AGO: "ONE_WEEK_AGO",
453
+ THIS_MONTH: "THIS_MONTH",
454
+ THIS_WEEK: "THIS_WEEK",
455
+ TWO_MONTHS_AGO: "TWO_MONTHS_AGO",
456
+ TWO_WEEKS_AGO: "TWO_WEEKS_AGO",
457
+ };
458
+ exports.MetricType = {
459
+ AGG_QUERY_DOC_METRICS: "AGG_QUERY_DOC_METRICS",
460
+ DOCS_BY_CLICK_COUNT: "DOCS_BY_CLICK_COUNT",
461
+ QUERIES_BY_COUNT: "QUERIES_BY_COUNT",
462
+ QUERIES_BY_ZERO_CLICK_RATE: "QUERIES_BY_ZERO_CLICK_RATE",
463
+ QUERIES_BY_ZERO_RESULT_RATE: "QUERIES_BY_ZERO_RESULT_RATE",
464
+ TREND_QUERY_DOC_METRICS: "TREND_QUERY_DOC_METRICS",
465
+ };
498
466
  class InvalidRequestException extends KendraServiceException_1.KendraServiceException {
499
467
  constructor(opts) {
500
468
  super({
@@ -509,16 +477,15 @@ class InvalidRequestException extends KendraServiceException_1.KendraServiceExce
509
477
  }
510
478
  }
511
479
  exports.InvalidRequestException = InvalidRequestException;
512
- var DataSourceSyncJobStatus;
513
- (function (DataSourceSyncJobStatus) {
514
- DataSourceSyncJobStatus["ABORTED"] = "ABORTED";
515
- DataSourceSyncJobStatus["FAILED"] = "FAILED";
516
- DataSourceSyncJobStatus["INCOMPLETE"] = "INCOMPLETE";
517
- DataSourceSyncJobStatus["STOPPING"] = "STOPPING";
518
- DataSourceSyncJobStatus["SUCCEEDED"] = "SUCCEEDED";
519
- DataSourceSyncJobStatus["SYNCING"] = "SYNCING";
520
- DataSourceSyncJobStatus["SYNCING_INDEXING"] = "SYNCING_INDEXING";
521
- })(DataSourceSyncJobStatus = exports.DataSourceSyncJobStatus || (exports.DataSourceSyncJobStatus = {}));
480
+ exports.DataSourceSyncJobStatus = {
481
+ ABORTED: "ABORTED",
482
+ FAILED: "FAILED",
483
+ INCOMPLETE: "INCOMPLETE",
484
+ STOPPING: "STOPPING",
485
+ SUCCEEDED: "SUCCEEDED",
486
+ SYNCING: "SYNCING",
487
+ SYNCING_INDEXING: "SYNCING_INDEXING",
488
+ };
522
489
  class ResourceUnavailableException extends KendraServiceException_1.KendraServiceException {
523
490
  constructor(opts) {
524
491
  super({
@@ -533,53 +500,29 @@ class ResourceUnavailableException extends KendraServiceException_1.KendraServic
533
500
  }
534
501
  }
535
502
  exports.ResourceUnavailableException = ResourceUnavailableException;
536
- var QueryResultType;
537
- (function (QueryResultType) {
538
- QueryResultType["ANSWER"] = "ANSWER";
539
- QueryResultType["DOCUMENT"] = "DOCUMENT";
540
- QueryResultType["QUESTION_ANSWER"] = "QUESTION_ANSWER";
541
- })(QueryResultType = exports.QueryResultType || (exports.QueryResultType = {}));
542
- var SortOrder;
543
- (function (SortOrder) {
544
- SortOrder["ASC"] = "ASC";
545
- SortOrder["DESC"] = "DESC";
546
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
547
- var QueryResultFormat;
548
- (function (QueryResultFormat) {
549
- QueryResultFormat["TABLE"] = "TABLE";
550
- QueryResultFormat["TEXT"] = "TEXT";
551
- })(QueryResultFormat = exports.QueryResultFormat || (exports.QueryResultFormat = {}));
552
- var ScoreConfidence;
553
- (function (ScoreConfidence) {
554
- ScoreConfidence["HIGH"] = "HIGH";
555
- ScoreConfidence["LOW"] = "LOW";
556
- ScoreConfidence["MEDIUM"] = "MEDIUM";
557
- ScoreConfidence["NOT_AVAILABLE"] = "NOT_AVAILABLE";
558
- ScoreConfidence["VERY_HIGH"] = "VERY_HIGH";
559
- })(ScoreConfidence = exports.ScoreConfidence || (exports.ScoreConfidence = {}));
560
- var WarningCode;
561
- (function (WarningCode) {
562
- WarningCode["QUERY_LANGUAGE_INVALID_SYNTAX"] = "QUERY_LANGUAGE_INVALID_SYNTAX";
563
- })(WarningCode = exports.WarningCode || (exports.WarningCode = {}));
564
- class ResourceInUseException extends KendraServiceException_1.KendraServiceException {
565
- constructor(opts) {
566
- super({
567
- name: "ResourceInUseException",
568
- $fault: "client",
569
- ...opts,
570
- });
571
- this.name = "ResourceInUseException";
572
- this.$fault = "client";
573
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
574
- this.Message = opts.Message;
575
- }
576
- }
577
- exports.ResourceInUseException = ResourceInUseException;
578
- var RelevanceType;
579
- (function (RelevanceType) {
580
- RelevanceType["NOT_RELEVANT"] = "NOT_RELEVANT";
581
- RelevanceType["RELEVANT"] = "RELEVANT";
582
- })(RelevanceType = exports.RelevanceType || (exports.RelevanceType = {}));
503
+ exports.QueryResultType = {
504
+ ANSWER: "ANSWER",
505
+ DOCUMENT: "DOCUMENT",
506
+ QUESTION_ANSWER: "QUESTION_ANSWER",
507
+ };
508
+ exports.SortOrder = {
509
+ ASC: "ASC",
510
+ DESC: "DESC",
511
+ };
512
+ exports.QueryResultFormat = {
513
+ TABLE: "TABLE",
514
+ TEXT: "TEXT",
515
+ };
516
+ exports.ScoreConfidence = {
517
+ HIGH: "HIGH",
518
+ LOW: "LOW",
519
+ MEDIUM: "MEDIUM",
520
+ NOT_AVAILABLE: "NOT_AVAILABLE",
521
+ VERY_HIGH: "VERY_HIGH",
522
+ };
523
+ exports.WarningCode = {
524
+ QUERY_LANGUAGE_INVALID_SYNTAX: "QUERY_LANGUAGE_INVALID_SYNTAX",
525
+ };
583
526
  const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
584
527
  ...obj,
585
528
  ...(obj.KmsKeyId && { KmsKeyId: smithy_client_1.SENSITIVE_STRING }),