@aws-sdk/client-kendra 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +10 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +10 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +10 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +21 -0
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +114 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +26 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +569 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +21 -0
- package/dist-types/commands/CreateFaqCommand.d.ts +19 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +37 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/commands/CreateThesaurusCommand.d.ts +17 -0
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFaqCommand.d.ts +4 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +5 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +10 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +5 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +7 -0
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +11 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +5 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +5 -0
- package/dist-types/commands/ListFaqsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListThesauriCommand.d.ts +5 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +24 -0
- package/dist-types/commands/QueryCommand.d.ts +139 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +26 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +562 -0
- package/dist-types/commands/UpdateExperienceCommand.d.ts +21 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +52 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +11 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +8 -0
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +11 -0
- package/package.json +8 -8
|
@@ -38,6 +38,575 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
38
38
|
* import { KendraClient, CreateDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
39
39
|
* // const { KendraClient, CreateDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
40
40
|
* const client = new KendraClient(config);
|
|
41
|
+
* const input = { // CreateDataSourceRequest
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* IndexId: "STRING_VALUE", // required
|
|
44
|
+
* Type: "S3" || "SHAREPOINT" || "DATABASE" || "SALESFORCE" || "ONEDRIVE" || "SERVICENOW" || "CUSTOM" || "CONFLUENCE" || "GOOGLEDRIVE" || "WEBCRAWLER" || "WORKDOCS" || "FSX" || "SLACK" || "BOX" || "QUIP" || "JIRA" || "GITHUB" || "ALFRESCO" || "TEMPLATE", // required
|
|
45
|
+
* Configuration: { // DataSourceConfiguration
|
|
46
|
+
* S3Configuration: { // S3DataSourceConfiguration
|
|
47
|
+
* BucketName: "STRING_VALUE", // required
|
|
48
|
+
* InclusionPrefixes: [ // DataSourceInclusionsExclusionsStrings
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* InclusionPatterns: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* ExclusionPatterns: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* DocumentsMetadataConfiguration: { // DocumentsMetadataConfiguration
|
|
58
|
+
* S3Prefix: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* AccessControlListConfiguration: { // AccessControlListConfiguration
|
|
61
|
+
* KeyPath: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* SharePointConfiguration: { // SharePointConfiguration
|
|
65
|
+
* SharePointVersion: "SHAREPOINT_2013" || "SHAREPOINT_2016" || "SHAREPOINT_ONLINE" || "SHAREPOINT_2019", // required
|
|
66
|
+
* Urls: [ // SharePointUrlList // required
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* SecretArn: "STRING_VALUE", // required
|
|
70
|
+
* CrawlAttachments: true || false,
|
|
71
|
+
* UseChangeLog: true || false,
|
|
72
|
+
* InclusionPatterns: [
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* ExclusionPatterns: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* VpcConfiguration: { // DataSourceVpcConfiguration
|
|
79
|
+
* SubnetIds: [ // SubnetIdList // required
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* FieldMappings: [ // DataSourceToIndexFieldMappingList
|
|
87
|
+
* { // DataSourceToIndexFieldMapping
|
|
88
|
+
* DataSourceFieldName: "STRING_VALUE", // required
|
|
89
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
90
|
+
* IndexFieldName: "STRING_VALUE", // required
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
94
|
+
* DisableLocalGroups: true || false,
|
|
95
|
+
* SslCertificateS3Path: { // S3Path
|
|
96
|
+
* Bucket: "STRING_VALUE", // required
|
|
97
|
+
* Key: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* AuthenticationType: "HTTP_BASIC" || "OAUTH2",
|
|
100
|
+
* ProxyConfiguration: { // ProxyConfiguration
|
|
101
|
+
* Host: "STRING_VALUE", // required
|
|
102
|
+
* Port: Number("int"), // required
|
|
103
|
+
* Credentials: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* DatabaseConfiguration: { // DatabaseConfiguration
|
|
107
|
+
* DatabaseEngineType: "RDS_AURORA_MYSQL" || "RDS_AURORA_POSTGRESQL" || "RDS_MYSQL" || "RDS_POSTGRESQL", // required
|
|
108
|
+
* ConnectionConfiguration: { // ConnectionConfiguration
|
|
109
|
+
* DatabaseHost: "STRING_VALUE", // required
|
|
110
|
+
* DatabasePort: Number("int"), // required
|
|
111
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
112
|
+
* TableName: "STRING_VALUE", // required
|
|
113
|
+
* SecretArn: "STRING_VALUE", // required
|
|
114
|
+
* },
|
|
115
|
+
* VpcConfiguration: {
|
|
116
|
+
* SubnetIds: [ // required
|
|
117
|
+
* "STRING_VALUE",
|
|
118
|
+
* ],
|
|
119
|
+
* SecurityGroupIds: [ // required
|
|
120
|
+
* "STRING_VALUE",
|
|
121
|
+
* ],
|
|
122
|
+
* },
|
|
123
|
+
* ColumnConfiguration: { // ColumnConfiguration
|
|
124
|
+
* DocumentIdColumnName: "STRING_VALUE", // required
|
|
125
|
+
* DocumentDataColumnName: "STRING_VALUE", // required
|
|
126
|
+
* DocumentTitleColumnName: "STRING_VALUE",
|
|
127
|
+
* FieldMappings: [
|
|
128
|
+
* {
|
|
129
|
+
* DataSourceFieldName: "STRING_VALUE", // required
|
|
130
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
131
|
+
* IndexFieldName: "STRING_VALUE", // required
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* ChangeDetectingColumns: [ // ChangeDetectingColumns // required
|
|
135
|
+
* "STRING_VALUE",
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* AclConfiguration: { // AclConfiguration
|
|
139
|
+
* AllowedGroupsColumnName: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* SqlConfiguration: { // SqlConfiguration
|
|
142
|
+
* QueryIdentifiersEnclosingOption: "DOUBLE_QUOTES" || "NONE",
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* SalesforceConfiguration: { // SalesforceConfiguration
|
|
146
|
+
* ServerUrl: "STRING_VALUE", // required
|
|
147
|
+
* SecretArn: "STRING_VALUE", // required
|
|
148
|
+
* StandardObjectConfigurations: [ // SalesforceStandardObjectConfigurationList
|
|
149
|
+
* { // SalesforceStandardObjectConfiguration
|
|
150
|
+
* Name: "ACCOUNT" || "CAMPAIGN" || "CASE" || "CONTACT" || "CONTRACT" || "DOCUMENT" || "GROUP" || "IDEA" || "LEAD" || "OPPORTUNITY" || "PARTNER" || "PRICEBOOK" || "PRODUCT" || "PROFILE" || "SOLUTION" || "TASK" || "USER", // required
|
|
151
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
152
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
153
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* KnowledgeArticleConfiguration: { // SalesforceKnowledgeArticleConfiguration
|
|
157
|
+
* IncludedStates: [ // SalesforceKnowledgeArticleStateList // required
|
|
158
|
+
* "DRAFT" || "PUBLISHED" || "ARCHIVED",
|
|
159
|
+
* ],
|
|
160
|
+
* StandardKnowledgeArticleTypeConfiguration: { // SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
161
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
162
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
163
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
164
|
+
* },
|
|
165
|
+
* CustomKnowledgeArticleTypeConfigurations: [ // SalesforceCustomKnowledgeArticleTypeConfigurationList
|
|
166
|
+
* { // SalesforceCustomKnowledgeArticleTypeConfiguration
|
|
167
|
+
* Name: "STRING_VALUE", // required
|
|
168
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
169
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
170
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
171
|
+
* },
|
|
172
|
+
* ],
|
|
173
|
+
* },
|
|
174
|
+
* ChatterFeedConfiguration: { // SalesforceChatterFeedConfiguration
|
|
175
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
176
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
177
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
178
|
+
* IncludeFilterTypes: [ // SalesforceChatterFeedIncludeFilterTypes
|
|
179
|
+
* "ACTIVE_USER" || "STANDARD_USER",
|
|
180
|
+
* ],
|
|
181
|
+
* },
|
|
182
|
+
* CrawlAttachments: true || false,
|
|
183
|
+
* StandardObjectAttachmentConfiguration: { // SalesforceStandardObjectAttachmentConfiguration
|
|
184
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
185
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
186
|
+
* },
|
|
187
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
188
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
189
|
+
* },
|
|
190
|
+
* OneDriveConfiguration: { // OneDriveConfiguration
|
|
191
|
+
* TenantDomain: "STRING_VALUE", // required
|
|
192
|
+
* SecretArn: "STRING_VALUE", // required
|
|
193
|
+
* OneDriveUsers: { // OneDriveUsers
|
|
194
|
+
* OneDriveUserList: [ // OneDriveUserList
|
|
195
|
+
* "STRING_VALUE",
|
|
196
|
+
* ],
|
|
197
|
+
* OneDriveUserS3Path: {
|
|
198
|
+
* Bucket: "STRING_VALUE", // required
|
|
199
|
+
* Key: "STRING_VALUE", // required
|
|
200
|
+
* },
|
|
201
|
+
* },
|
|
202
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
203
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
204
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
205
|
+
* DisableLocalGroups: true || false,
|
|
206
|
+
* },
|
|
207
|
+
* ServiceNowConfiguration: { // ServiceNowConfiguration
|
|
208
|
+
* HostUrl: "STRING_VALUE", // required
|
|
209
|
+
* SecretArn: "STRING_VALUE", // required
|
|
210
|
+
* ServiceNowBuildVersion: "LONDON" || "OTHERS", // required
|
|
211
|
+
* KnowledgeArticleConfiguration: { // ServiceNowKnowledgeArticleConfiguration
|
|
212
|
+
* CrawlAttachments: true || false,
|
|
213
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
214
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
215
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
216
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
217
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
218
|
+
* FilterQuery: "STRING_VALUE",
|
|
219
|
+
* },
|
|
220
|
+
* ServiceCatalogConfiguration: { // ServiceNowServiceCatalogConfiguration
|
|
221
|
+
* CrawlAttachments: true || false,
|
|
222
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
223
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
224
|
+
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
225
|
+
* DocumentTitleFieldName: "STRING_VALUE",
|
|
226
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
227
|
+
* },
|
|
228
|
+
* AuthenticationType: "HTTP_BASIC" || "OAUTH2",
|
|
229
|
+
* },
|
|
230
|
+
* ConfluenceConfiguration: { // ConfluenceConfiguration
|
|
231
|
+
* ServerUrl: "STRING_VALUE", // required
|
|
232
|
+
* SecretArn: "STRING_VALUE", // required
|
|
233
|
+
* Version: "CLOUD" || "SERVER", // required
|
|
234
|
+
* SpaceConfiguration: { // ConfluenceSpaceConfiguration
|
|
235
|
+
* CrawlPersonalSpaces: true || false,
|
|
236
|
+
* CrawlArchivedSpaces: true || false,
|
|
237
|
+
* IncludeSpaces: [ // ConfluenceSpaceList
|
|
238
|
+
* "STRING_VALUE",
|
|
239
|
+
* ],
|
|
240
|
+
* ExcludeSpaces: [
|
|
241
|
+
* "STRING_VALUE",
|
|
242
|
+
* ],
|
|
243
|
+
* SpaceFieldMappings: [ // ConfluenceSpaceFieldMappingsList
|
|
244
|
+
* { // ConfluenceSpaceToIndexFieldMapping
|
|
245
|
+
* DataSourceFieldName: "DISPLAY_URL" || "ITEM_TYPE" || "SPACE_KEY" || "URL",
|
|
246
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
247
|
+
* IndexFieldName: "STRING_VALUE",
|
|
248
|
+
* },
|
|
249
|
+
* ],
|
|
250
|
+
* },
|
|
251
|
+
* PageConfiguration: { // ConfluencePageConfiguration
|
|
252
|
+
* PageFieldMappings: [ // ConfluencePageFieldMappingsList
|
|
253
|
+
* { // ConfluencePageToIndexFieldMapping
|
|
254
|
+
* DataSourceFieldName: "AUTHOR" || "CONTENT_STATUS" || "CREATED_DATE" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "MODIFIED_DATE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
255
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
256
|
+
* IndexFieldName: "STRING_VALUE",
|
|
257
|
+
* },
|
|
258
|
+
* ],
|
|
259
|
+
* },
|
|
260
|
+
* BlogConfiguration: { // ConfluenceBlogConfiguration
|
|
261
|
+
* BlogFieldMappings: [ // ConfluenceBlogFieldMappingsList
|
|
262
|
+
* { // ConfluenceBlogToIndexFieldMapping
|
|
263
|
+
* DataSourceFieldName: "AUTHOR" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "PUBLISH_DATE" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
264
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
265
|
+
* IndexFieldName: "STRING_VALUE",
|
|
266
|
+
* },
|
|
267
|
+
* ],
|
|
268
|
+
* },
|
|
269
|
+
* AttachmentConfiguration: { // ConfluenceAttachmentConfiguration
|
|
270
|
+
* CrawlAttachments: true || false,
|
|
271
|
+
* AttachmentFieldMappings: [ // ConfluenceAttachmentFieldMappingsList
|
|
272
|
+
* { // ConfluenceAttachmentToIndexFieldMapping
|
|
273
|
+
* DataSourceFieldName: "AUTHOR" || "CONTENT_TYPE" || "CREATED_DATE" || "DISPLAY_URL" || "FILE_SIZE" || "ITEM_TYPE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
274
|
+
* DateFieldFormat: "STRING_VALUE",
|
|
275
|
+
* IndexFieldName: "STRING_VALUE",
|
|
276
|
+
* },
|
|
277
|
+
* ],
|
|
278
|
+
* },
|
|
279
|
+
* VpcConfiguration: {
|
|
280
|
+
* SubnetIds: [ // required
|
|
281
|
+
* "STRING_VALUE",
|
|
282
|
+
* ],
|
|
283
|
+
* SecurityGroupIds: [ // required
|
|
284
|
+
* "STRING_VALUE",
|
|
285
|
+
* ],
|
|
286
|
+
* },
|
|
287
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
288
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
289
|
+
* ProxyConfiguration: {
|
|
290
|
+
* Host: "STRING_VALUE", // required
|
|
291
|
+
* Port: Number("int"), // required
|
|
292
|
+
* Credentials: "STRING_VALUE",
|
|
293
|
+
* },
|
|
294
|
+
* AuthenticationType: "HTTP_BASIC" || "PAT",
|
|
295
|
+
* },
|
|
296
|
+
* GoogleDriveConfiguration: { // GoogleDriveConfiguration
|
|
297
|
+
* SecretArn: "STRING_VALUE", // required
|
|
298
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
299
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
300
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
301
|
+
* ExcludeMimeTypes: [ // ExcludeMimeTypesList
|
|
302
|
+
* "STRING_VALUE",
|
|
303
|
+
* ],
|
|
304
|
+
* ExcludeUserAccounts: [ // ExcludeUserAccountsList
|
|
305
|
+
* "STRING_VALUE",
|
|
306
|
+
* ],
|
|
307
|
+
* ExcludeSharedDrives: [ // ExcludeSharedDrivesList
|
|
308
|
+
* "STRING_VALUE",
|
|
309
|
+
* ],
|
|
310
|
+
* },
|
|
311
|
+
* WebCrawlerConfiguration: { // WebCrawlerConfiguration
|
|
312
|
+
* Urls: { // Urls
|
|
313
|
+
* SeedUrlConfiguration: { // SeedUrlConfiguration
|
|
314
|
+
* SeedUrls: [ // SeedUrlList // required
|
|
315
|
+
* "STRING_VALUE",
|
|
316
|
+
* ],
|
|
317
|
+
* WebCrawlerMode: "HOST_ONLY" || "SUBDOMAINS" || "EVERYTHING",
|
|
318
|
+
* },
|
|
319
|
+
* SiteMapsConfiguration: { // SiteMapsConfiguration
|
|
320
|
+
* SiteMaps: [ // SiteMapsList // required
|
|
321
|
+
* "STRING_VALUE",
|
|
322
|
+
* ],
|
|
323
|
+
* },
|
|
324
|
+
* },
|
|
325
|
+
* CrawlDepth: Number("int"),
|
|
326
|
+
* MaxLinksPerPage: Number("int"),
|
|
327
|
+
* MaxContentSizePerPageInMegaBytes: Number("float"),
|
|
328
|
+
* MaxUrlsPerMinuteCrawlRate: Number("int"),
|
|
329
|
+
* UrlInclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
330
|
+
* UrlExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
331
|
+
* ProxyConfiguration: {
|
|
332
|
+
* Host: "STRING_VALUE", // required
|
|
333
|
+
* Port: Number("int"), // required
|
|
334
|
+
* Credentials: "STRING_VALUE",
|
|
335
|
+
* },
|
|
336
|
+
* AuthenticationConfiguration: { // AuthenticationConfiguration
|
|
337
|
+
* BasicAuthentication: [ // BasicAuthenticationConfigurationList
|
|
338
|
+
* { // BasicAuthenticationConfiguration
|
|
339
|
+
* Host: "STRING_VALUE", // required
|
|
340
|
+
* Port: Number("int"), // required
|
|
341
|
+
* Credentials: "STRING_VALUE", // required
|
|
342
|
+
* },
|
|
343
|
+
* ],
|
|
344
|
+
* },
|
|
345
|
+
* },
|
|
346
|
+
* WorkDocsConfiguration: { // WorkDocsConfiguration
|
|
347
|
+
* OrganizationId: "STRING_VALUE", // required
|
|
348
|
+
* CrawlComments: true || false,
|
|
349
|
+
* UseChangeLog: true || false,
|
|
350
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
351
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
352
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
353
|
+
* },
|
|
354
|
+
* FsxConfiguration: { // FsxConfiguration
|
|
355
|
+
* FileSystemId: "STRING_VALUE", // required
|
|
356
|
+
* FileSystemType: "WINDOWS", // required
|
|
357
|
+
* VpcConfiguration: {
|
|
358
|
+
* SubnetIds: [ // required
|
|
359
|
+
* "STRING_VALUE",
|
|
360
|
+
* ],
|
|
361
|
+
* SecurityGroupIds: [ // required
|
|
362
|
+
* "STRING_VALUE",
|
|
363
|
+
* ],
|
|
364
|
+
* },
|
|
365
|
+
* SecretArn: "STRING_VALUE",
|
|
366
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
367
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
368
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
369
|
+
* },
|
|
370
|
+
* SlackConfiguration: { // SlackConfiguration
|
|
371
|
+
* TeamId: "STRING_VALUE", // required
|
|
372
|
+
* SecretArn: "STRING_VALUE", // required
|
|
373
|
+
* VpcConfiguration: {
|
|
374
|
+
* SubnetIds: [ // required
|
|
375
|
+
* "STRING_VALUE",
|
|
376
|
+
* ],
|
|
377
|
+
* SecurityGroupIds: [ // required
|
|
378
|
+
* "STRING_VALUE",
|
|
379
|
+
* ],
|
|
380
|
+
* },
|
|
381
|
+
* SlackEntityList: [ // SlackEntityList // required
|
|
382
|
+
* "PUBLIC_CHANNEL" || "PRIVATE_CHANNEL" || "GROUP_MESSAGE" || "DIRECT_MESSAGE",
|
|
383
|
+
* ],
|
|
384
|
+
* UseChangeLog: true || false,
|
|
385
|
+
* CrawlBotMessage: true || false,
|
|
386
|
+
* ExcludeArchived: true || false,
|
|
387
|
+
* SinceCrawlDate: "STRING_VALUE", // required
|
|
388
|
+
* LookBackPeriod: Number("int"),
|
|
389
|
+
* PrivateChannelFilter: [ // PrivateChannelFilter
|
|
390
|
+
* "STRING_VALUE",
|
|
391
|
+
* ],
|
|
392
|
+
* PublicChannelFilter: [ // PublicChannelFilter
|
|
393
|
+
* "STRING_VALUE",
|
|
394
|
+
* ],
|
|
395
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
396
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
397
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
398
|
+
* },
|
|
399
|
+
* BoxConfiguration: { // BoxConfiguration
|
|
400
|
+
* EnterpriseId: "STRING_VALUE", // required
|
|
401
|
+
* SecretArn: "STRING_VALUE", // required
|
|
402
|
+
* UseChangeLog: true || false,
|
|
403
|
+
* CrawlComments: true || false,
|
|
404
|
+
* CrawlTasks: true || false,
|
|
405
|
+
* CrawlWebLinks: true || false,
|
|
406
|
+
* FileFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
407
|
+
* TaskFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
408
|
+
* CommentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
409
|
+
* WebLinkFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
410
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
411
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
412
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
413
|
+
* },
|
|
414
|
+
* QuipConfiguration: { // QuipConfiguration
|
|
415
|
+
* Domain: "STRING_VALUE", // required
|
|
416
|
+
* SecretArn: "STRING_VALUE", // required
|
|
417
|
+
* CrawlFileComments: true || false,
|
|
418
|
+
* CrawlChatRooms: true || false,
|
|
419
|
+
* CrawlAttachments: true || false,
|
|
420
|
+
* FolderIds: [ // FolderIdList
|
|
421
|
+
* "STRING_VALUE",
|
|
422
|
+
* ],
|
|
423
|
+
* ThreadFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
424
|
+
* MessageFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
425
|
+
* AttachmentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
426
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
427
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
428
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
429
|
+
* },
|
|
430
|
+
* JiraConfiguration: { // JiraConfiguration
|
|
431
|
+
* JiraAccountUrl: "STRING_VALUE", // required
|
|
432
|
+
* SecretArn: "STRING_VALUE", // required
|
|
433
|
+
* UseChangeLog: true || false,
|
|
434
|
+
* Project: [ // Project
|
|
435
|
+
* "STRING_VALUE",
|
|
436
|
+
* ],
|
|
437
|
+
* IssueType: [ // IssueType
|
|
438
|
+
* "STRING_VALUE",
|
|
439
|
+
* ],
|
|
440
|
+
* Status: [ // JiraStatus
|
|
441
|
+
* "STRING_VALUE",
|
|
442
|
+
* ],
|
|
443
|
+
* IssueSubEntityFilter: [ // IssueSubEntityFilter
|
|
444
|
+
* "COMMENTS" || "ATTACHMENTS" || "WORKLOGS",
|
|
445
|
+
* ],
|
|
446
|
+
* AttachmentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
447
|
+
* CommentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
448
|
+
* IssueFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
449
|
+
* ProjectFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
450
|
+
* WorkLogFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
451
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
452
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
453
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
454
|
+
* },
|
|
455
|
+
* GitHubConfiguration: { // GitHubConfiguration
|
|
456
|
+
* SaaSConfiguration: { // SaaSConfiguration
|
|
457
|
+
* OrganizationName: "STRING_VALUE", // required
|
|
458
|
+
* HostUrl: "STRING_VALUE", // required
|
|
459
|
+
* },
|
|
460
|
+
* OnPremiseConfiguration: { // OnPremiseConfiguration
|
|
461
|
+
* HostUrl: "STRING_VALUE", // required
|
|
462
|
+
* OrganizationName: "STRING_VALUE", // required
|
|
463
|
+
* SslCertificateS3Path: {
|
|
464
|
+
* Bucket: "STRING_VALUE", // required
|
|
465
|
+
* Key: "STRING_VALUE", // required
|
|
466
|
+
* },
|
|
467
|
+
* },
|
|
468
|
+
* Type: "SAAS" || "ON_PREMISE",
|
|
469
|
+
* SecretArn: "STRING_VALUE", // required
|
|
470
|
+
* UseChangeLog: true || false,
|
|
471
|
+
* GitHubDocumentCrawlProperties: { // GitHubDocumentCrawlProperties
|
|
472
|
+
* CrawlRepositoryDocuments: true || false,
|
|
473
|
+
* CrawlIssue: true || false,
|
|
474
|
+
* CrawlIssueComment: true || false,
|
|
475
|
+
* CrawlIssueCommentAttachment: true || false,
|
|
476
|
+
* CrawlPullRequest: true || false,
|
|
477
|
+
* CrawlPullRequestComment: true || false,
|
|
478
|
+
* CrawlPullRequestCommentAttachment: true || false,
|
|
479
|
+
* },
|
|
480
|
+
* RepositoryFilter: [ // RepositoryNames
|
|
481
|
+
* "STRING_VALUE",
|
|
482
|
+
* ],
|
|
483
|
+
* InclusionFolderNamePatterns: [ // StringList
|
|
484
|
+
* "STRING_VALUE",
|
|
485
|
+
* ],
|
|
486
|
+
* InclusionFileTypePatterns: [
|
|
487
|
+
* "STRING_VALUE",
|
|
488
|
+
* ],
|
|
489
|
+
* InclusionFileNamePatterns: [
|
|
490
|
+
* "STRING_VALUE",
|
|
491
|
+
* ],
|
|
492
|
+
* ExclusionFolderNamePatterns: [
|
|
493
|
+
* "STRING_VALUE",
|
|
494
|
+
* ],
|
|
495
|
+
* ExclusionFileTypePatterns: [
|
|
496
|
+
* "STRING_VALUE",
|
|
497
|
+
* ],
|
|
498
|
+
* ExclusionFileNamePatterns: "<StringList>",
|
|
499
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
500
|
+
* GitHubRepositoryConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
501
|
+
* GitHubCommitConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
502
|
+
* GitHubIssueDocumentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
503
|
+
* GitHubIssueCommentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
504
|
+
* GitHubIssueAttachmentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
505
|
+
* GitHubPullRequestCommentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
506
|
+
* GitHubPullRequestDocumentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
507
|
+
* GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
508
|
+
* },
|
|
509
|
+
* AlfrescoConfiguration: { // AlfrescoConfiguration
|
|
510
|
+
* SiteUrl: "STRING_VALUE", // required
|
|
511
|
+
* SiteId: "STRING_VALUE", // required
|
|
512
|
+
* SecretArn: "STRING_VALUE", // required
|
|
513
|
+
* SslCertificateS3Path: {
|
|
514
|
+
* Bucket: "STRING_VALUE", // required
|
|
515
|
+
* Key: "STRING_VALUE", // required
|
|
516
|
+
* },
|
|
517
|
+
* CrawlSystemFolders: true || false,
|
|
518
|
+
* CrawlComments: true || false,
|
|
519
|
+
* EntityFilter: [ // EntityFilter
|
|
520
|
+
* "wiki" || "blog" || "documentLibrary",
|
|
521
|
+
* ],
|
|
522
|
+
* DocumentLibraryFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
523
|
+
* BlogFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
524
|
+
* WikiFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
525
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
526
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
527
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
528
|
+
* },
|
|
529
|
+
* TemplateConfiguration: { // TemplateConfiguration
|
|
530
|
+
* Template: "DOCUMENT_VALUE",
|
|
531
|
+
* },
|
|
532
|
+
* },
|
|
533
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
534
|
+
* Description: "STRING_VALUE",
|
|
535
|
+
* Schedule: "STRING_VALUE",
|
|
536
|
+
* RoleArn: "STRING_VALUE",
|
|
537
|
+
* Tags: [ // TagList
|
|
538
|
+
* { // Tag
|
|
539
|
+
* Key: "STRING_VALUE", // required
|
|
540
|
+
* Value: "STRING_VALUE", // required
|
|
541
|
+
* },
|
|
542
|
+
* ],
|
|
543
|
+
* ClientToken: "STRING_VALUE",
|
|
544
|
+
* LanguageCode: "STRING_VALUE",
|
|
545
|
+
* CustomDocumentEnrichmentConfiguration: { // CustomDocumentEnrichmentConfiguration
|
|
546
|
+
* InlineConfigurations: [ // InlineCustomDocumentEnrichmentConfigurationList
|
|
547
|
+
* { // InlineCustomDocumentEnrichmentConfiguration
|
|
548
|
+
* Condition: { // DocumentAttributeCondition
|
|
549
|
+
* ConditionDocumentAttributeKey: "STRING_VALUE", // required
|
|
550
|
+
* Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
|
|
551
|
+
* ConditionOnValue: { // DocumentAttributeValue
|
|
552
|
+
* StringValue: "STRING_VALUE",
|
|
553
|
+
* StringListValue: [ // DocumentAttributeStringListValue
|
|
554
|
+
* "STRING_VALUE",
|
|
555
|
+
* ],
|
|
556
|
+
* LongValue: Number("long"),
|
|
557
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
558
|
+
* },
|
|
559
|
+
* },
|
|
560
|
+
* Target: { // DocumentAttributeTarget
|
|
561
|
+
* TargetDocumentAttributeKey: "STRING_VALUE",
|
|
562
|
+
* TargetDocumentAttributeValueDeletion: true || false,
|
|
563
|
+
* TargetDocumentAttributeValue: {
|
|
564
|
+
* StringValue: "STRING_VALUE",
|
|
565
|
+
* StringListValue: [
|
|
566
|
+
* "STRING_VALUE",
|
|
567
|
+
* ],
|
|
568
|
+
* LongValue: Number("long"),
|
|
569
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
570
|
+
* },
|
|
571
|
+
* },
|
|
572
|
+
* DocumentContentDeletion: true || false,
|
|
573
|
+
* },
|
|
574
|
+
* ],
|
|
575
|
+
* PreExtractionHookConfiguration: { // HookConfiguration
|
|
576
|
+
* InvocationCondition: {
|
|
577
|
+
* ConditionDocumentAttributeKey: "STRING_VALUE", // required
|
|
578
|
+
* Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
|
|
579
|
+
* ConditionOnValue: {
|
|
580
|
+
* StringValue: "STRING_VALUE",
|
|
581
|
+
* StringListValue: [
|
|
582
|
+
* "STRING_VALUE",
|
|
583
|
+
* ],
|
|
584
|
+
* LongValue: Number("long"),
|
|
585
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
586
|
+
* },
|
|
587
|
+
* },
|
|
588
|
+
* LambdaArn: "STRING_VALUE", // required
|
|
589
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
590
|
+
* },
|
|
591
|
+
* PostExtractionHookConfiguration: {
|
|
592
|
+
* InvocationCondition: {
|
|
593
|
+
* ConditionDocumentAttributeKey: "STRING_VALUE", // required
|
|
594
|
+
* Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
|
|
595
|
+
* ConditionOnValue: {
|
|
596
|
+
* StringValue: "STRING_VALUE",
|
|
597
|
+
* StringListValue: [
|
|
598
|
+
* "STRING_VALUE",
|
|
599
|
+
* ],
|
|
600
|
+
* LongValue: Number("long"),
|
|
601
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
602
|
+
* },
|
|
603
|
+
* },
|
|
604
|
+
* LambdaArn: "STRING_VALUE", // required
|
|
605
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
606
|
+
* },
|
|
607
|
+
* RoleArn: "STRING_VALUE",
|
|
608
|
+
* },
|
|
609
|
+
* };
|
|
41
610
|
* const command = new CreateDataSourceCommand(input);
|
|
42
611
|
* const response = await client.send(command);
|
|
43
612
|
* ```
|
|
@@ -29,6 +29,27 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
|
|
|
29
29
|
* import { KendraClient, CreateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, CreateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // CreateExperienceRequest
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* RoleArn: "STRING_VALUE",
|
|
36
|
+
* Configuration: { // ExperienceConfiguration
|
|
37
|
+
* ContentSourceConfiguration: { // ContentSourceConfiguration
|
|
38
|
+
* DataSourceIds: [ // DataSourceIdList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* FaqIds: [ // FaqIdsList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* DirectPutContent: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* UserIdentityConfiguration: { // UserIdentityConfiguration
|
|
47
|
+
* IdentityAttributeName: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* Description: "STRING_VALUE",
|
|
51
|
+
* ClientToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
32
53
|
* const command = new CreateExperienceCommand(input);
|
|
33
54
|
* const response = await client.send(command);
|
|
34
55
|
* ```
|
|
@@ -30,6 +30,25 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
|
|
|
30
30
|
* import { KendraClient, CreateFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, CreateFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // CreateFaqRequest
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* S3Path: { // S3Path
|
|
38
|
+
* Bucket: "STRING_VALUE", // required
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* RoleArn: "STRING_VALUE", // required
|
|
42
|
+
* Tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* FileFormat: "CSV" || "CSV_WITH_HEADER" || "JSON",
|
|
49
|
+
* ClientToken: "STRING_VALUE",
|
|
50
|
+
* LanguageCode: "STRING_VALUE",
|
|
51
|
+
* };
|
|
33
52
|
* const command = new CreateFaqCommand(input);
|
|
34
53
|
* const response = await client.send(command);
|
|
35
54
|
* ```
|
|
@@ -35,6 +35,43 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
35
35
|
* import { KendraClient, CreateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
36
36
|
* // const { KendraClient, CreateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
37
37
|
* const client = new KendraClient(config);
|
|
38
|
+
* const input = { // CreateIndexRequest
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Edition: "DEVELOPER_EDITION" || "ENTERPRISE_EDITION",
|
|
41
|
+
* RoleArn: "STRING_VALUE", // required
|
|
42
|
+
* ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
43
|
+
* KmsKeyId: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* Description: "STRING_VALUE",
|
|
46
|
+
* ClientToken: "STRING_VALUE",
|
|
47
|
+
* Tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* UserTokenConfigurations: [ // UserTokenConfigurationList
|
|
54
|
+
* { // UserTokenConfiguration
|
|
55
|
+
* JwtTokenTypeConfiguration: { // JwtTokenTypeConfiguration
|
|
56
|
+
* KeyLocation: "URL" || "SECRET_MANAGER", // required
|
|
57
|
+
* URL: "STRING_VALUE",
|
|
58
|
+
* SecretManagerArn: "STRING_VALUE",
|
|
59
|
+
* UserNameAttributeField: "STRING_VALUE",
|
|
60
|
+
* GroupAttributeField: "STRING_VALUE",
|
|
61
|
+
* Issuer: "STRING_VALUE",
|
|
62
|
+
* ClaimRegex: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* JsonTokenTypeConfiguration: { // JsonTokenTypeConfiguration
|
|
65
|
+
* UserNameAttributeField: "STRING_VALUE", // required
|
|
66
|
+
* GroupAttributeField: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
|
|
71
|
+
* UserGroupResolutionConfiguration: { // UserGroupResolutionConfiguration
|
|
72
|
+
* UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
|
|
73
|
+
* },
|
|
74
|
+
* };
|
|
38
75
|
* const command = new CreateIndexCommand(input);
|
|
39
76
|
* const response = await client.send(command);
|
|
40
77
|
* ```
|