@aws-sdk/client-kendra 3.300.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.
- package/README.md +40 -0
- package/dist-cjs/Kendra.js +75 -0
- package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +45 -0
- package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +381 -438
- package/dist-cjs/models/models_1.js +20 -0
- package/dist-cjs/protocols/Aws_json1_1.js +597 -4
- package/dist-es/Kendra.js +75 -0
- package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/CreateFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/ListFeaturedResultsSetsCommand.js +41 -0
- package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +377 -434
- package/dist-es/models/models_1.js +18 -1
- package/dist-es/protocols/Aws_json1_1.js +584 -1
- package/dist-types/Kendra.d.ts +163 -132
- package/dist-types/KendraClient.d.ts +7 -2
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +4 -4
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +4 -4
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +9 -9
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +16 -20
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +32 -31
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +2 -2
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +22 -25
- package/dist-types/commands/CreateDataSourceCommand.d.ts +171 -342
- package/dist-types/commands/CreateExperienceCommand.d.ts +9 -8
- package/dist-types/commands/CreateFaqCommand.d.ts +10 -10
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +12 -11
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +7 -6
- package/dist-types/commands/CreateThesaurusCommand.d.ts +7 -6
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFaqCommand.d.ts +2 -2
- package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +14 -16
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFaqCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +2 -2
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +9 -10
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +4 -4
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +3 -3
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +4 -3
- package/dist-types/commands/GetSnapshotsCommand.d.ts +4 -5
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +6 -6
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +2 -2
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +2 -2
- package/dist-types/commands/ListExperiencesCommand.d.ts +2 -2
- package/dist-types/commands/ListFaqsCommand.d.ts +2 -2
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +5 -6
- package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ListThesauriCommand.d.ts +2 -2
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +22 -28
- package/dist-types/commands/QueryCommand.d.ts +91 -215
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +7 -7
- package/dist-types/commands/TagResourceCommand.d.ts +7 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +25 -25
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +168 -338
- package/dist-types/commands/UpdateExperienceCommand.d.ts +8 -8
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +16 -15
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +4 -4
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1943 -1687
- package/dist-types/models/models_1.d.ts +491 -72
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/Kendra.d.ts +85 -0
- package/dist-types/ts3.4/KendraClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +563 -453
- package/dist-types/ts3.4/models/models_1.d.ts +127 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +34 -34
|
@@ -26,8 +26,6 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
26
26
|
* <p>
|
|
27
27
|
* <code>CreateDataSource</code> is a synchronous operation. The operation returns 200 if the
|
|
28
28
|
* data source was successfully created. Otherwise, an exception is raised.</p>
|
|
29
|
-
* <p>Amazon S3 and <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html">custom</a> data sources are the only
|
|
30
|
-
* supported data sources in the Amazon Web Services GovCloud (US-West) region.</p>
|
|
31
29
|
* <p>For an example of creating an index and data source using the Python SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html">Getting started with Python
|
|
32
30
|
* SDK</a>. For an example of creating an index and data source using the Java SDK, see
|
|
33
31
|
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html">Getting started with Java
|
|
@@ -38,14 +36,14 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
38
36
|
* import { KendraClient, CreateDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
39
37
|
* // const { KendraClient, CreateDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
40
38
|
* const client = new KendraClient(config);
|
|
41
|
-
* const input = {
|
|
39
|
+
* const input = { // CreateDataSourceRequest
|
|
42
40
|
* Name: "STRING_VALUE", // required
|
|
43
41
|
* IndexId: "STRING_VALUE", // required
|
|
44
42
|
* Type: "S3" || "SHAREPOINT" || "DATABASE" || "SALESFORCE" || "ONEDRIVE" || "SERVICENOW" || "CUSTOM" || "CONFLUENCE" || "GOOGLEDRIVE" || "WEBCRAWLER" || "WORKDOCS" || "FSX" || "SLACK" || "BOX" || "QUIP" || "JIRA" || "GITHUB" || "ALFRESCO" || "TEMPLATE", // required
|
|
45
|
-
* Configuration: {
|
|
46
|
-
* S3Configuration: {
|
|
43
|
+
* Configuration: { // DataSourceConfiguration
|
|
44
|
+
* S3Configuration: { // S3DataSourceConfiguration
|
|
47
45
|
* BucketName: "STRING_VALUE", // required
|
|
48
|
-
* InclusionPrefixes: [
|
|
46
|
+
* InclusionPrefixes: [ // DataSourceInclusionsExclusionsStrings
|
|
49
47
|
* "STRING_VALUE",
|
|
50
48
|
* ],
|
|
51
49
|
* InclusionPatterns: [
|
|
@@ -54,16 +52,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
54
52
|
* ExclusionPatterns: [
|
|
55
53
|
* "STRING_VALUE",
|
|
56
54
|
* ],
|
|
57
|
-
* DocumentsMetadataConfiguration: {
|
|
55
|
+
* DocumentsMetadataConfiguration: { // DocumentsMetadataConfiguration
|
|
58
56
|
* S3Prefix: "STRING_VALUE",
|
|
59
57
|
* },
|
|
60
|
-
* AccessControlListConfiguration: {
|
|
58
|
+
* AccessControlListConfiguration: { // AccessControlListConfiguration
|
|
61
59
|
* KeyPath: "STRING_VALUE",
|
|
62
60
|
* },
|
|
63
61
|
* },
|
|
64
|
-
* SharePointConfiguration: {
|
|
62
|
+
* SharePointConfiguration: { // SharePointConfiguration
|
|
65
63
|
* SharePointVersion: "SHAREPOINT_2013" || "SHAREPOINT_2016" || "SHAREPOINT_ONLINE" || "SHAREPOINT_2019", // required
|
|
66
|
-
* Urls: [ // required
|
|
64
|
+
* Urls: [ // SharePointUrlList // required
|
|
67
65
|
* "STRING_VALUE",
|
|
68
66
|
* ],
|
|
69
67
|
* SecretArn: "STRING_VALUE", // required
|
|
@@ -75,16 +73,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
75
73
|
* ExclusionPatterns: [
|
|
76
74
|
* "STRING_VALUE",
|
|
77
75
|
* ],
|
|
78
|
-
* VpcConfiguration: {
|
|
79
|
-
* SubnetIds: [ // required
|
|
76
|
+
* VpcConfiguration: { // DataSourceVpcConfiguration
|
|
77
|
+
* SubnetIds: [ // SubnetIdList // required
|
|
80
78
|
* "STRING_VALUE",
|
|
81
79
|
* ],
|
|
82
|
-
* SecurityGroupIds: [ // required
|
|
80
|
+
* SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
83
81
|
* "STRING_VALUE",
|
|
84
82
|
* ],
|
|
85
83
|
* },
|
|
86
|
-
* FieldMappings: [
|
|
87
|
-
* {
|
|
84
|
+
* FieldMappings: [ // DataSourceToIndexFieldMappingList
|
|
85
|
+
* { // DataSourceToIndexFieldMapping
|
|
88
86
|
* DataSourceFieldName: "STRING_VALUE", // required
|
|
89
87
|
* DateFieldFormat: "STRING_VALUE",
|
|
90
88
|
* IndexFieldName: "STRING_VALUE", // required
|
|
@@ -92,20 +90,20 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
92
90
|
* ],
|
|
93
91
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
94
92
|
* DisableLocalGroups: true || false,
|
|
95
|
-
* SslCertificateS3Path: {
|
|
93
|
+
* SslCertificateS3Path: { // S3Path
|
|
96
94
|
* Bucket: "STRING_VALUE", // required
|
|
97
95
|
* Key: "STRING_VALUE", // required
|
|
98
96
|
* },
|
|
99
97
|
* AuthenticationType: "HTTP_BASIC" || "OAUTH2",
|
|
100
|
-
* ProxyConfiguration: {
|
|
98
|
+
* ProxyConfiguration: { // ProxyConfiguration
|
|
101
99
|
* Host: "STRING_VALUE", // required
|
|
102
100
|
* Port: Number("int"), // required
|
|
103
101
|
* Credentials: "STRING_VALUE",
|
|
104
102
|
* },
|
|
105
103
|
* },
|
|
106
|
-
* DatabaseConfiguration: {
|
|
104
|
+
* DatabaseConfiguration: { // DatabaseConfiguration
|
|
107
105
|
* DatabaseEngineType: "RDS_AURORA_MYSQL" || "RDS_AURORA_POSTGRESQL" || "RDS_MYSQL" || "RDS_POSTGRESQL", // required
|
|
108
|
-
* ConnectionConfiguration: {
|
|
106
|
+
* ConnectionConfiguration: { // ConnectionConfiguration
|
|
109
107
|
* DatabaseHost: "STRING_VALUE", // required
|
|
110
108
|
* DatabasePort: Number("int"), // required
|
|
111
109
|
* DatabaseName: "STRING_VALUE", // required
|
|
@@ -120,7 +118,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
120
118
|
* "STRING_VALUE",
|
|
121
119
|
* ],
|
|
122
120
|
* },
|
|
123
|
-
* ColumnConfiguration: {
|
|
121
|
+
* ColumnConfiguration: { // ColumnConfiguration
|
|
124
122
|
* DocumentIdColumnName: "STRING_VALUE", // required
|
|
125
123
|
* DocumentDataColumnName: "STRING_VALUE", // required
|
|
126
124
|
* DocumentTitleColumnName: "STRING_VALUE",
|
|
@@ -131,81 +129,67 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
131
129
|
* IndexFieldName: "STRING_VALUE", // required
|
|
132
130
|
* },
|
|
133
131
|
* ],
|
|
134
|
-
* ChangeDetectingColumns: [ // required
|
|
132
|
+
* ChangeDetectingColumns: [ // ChangeDetectingColumns // required
|
|
135
133
|
* "STRING_VALUE",
|
|
136
134
|
* ],
|
|
137
135
|
* },
|
|
138
|
-
* AclConfiguration: {
|
|
136
|
+
* AclConfiguration: { // AclConfiguration
|
|
139
137
|
* AllowedGroupsColumnName: "STRING_VALUE", // required
|
|
140
138
|
* },
|
|
141
|
-
* SqlConfiguration: {
|
|
139
|
+
* SqlConfiguration: { // SqlConfiguration
|
|
142
140
|
* QueryIdentifiersEnclosingOption: "DOUBLE_QUOTES" || "NONE",
|
|
143
141
|
* },
|
|
144
142
|
* },
|
|
145
|
-
* SalesforceConfiguration: {
|
|
143
|
+
* SalesforceConfiguration: { // SalesforceConfiguration
|
|
146
144
|
* ServerUrl: "STRING_VALUE", // required
|
|
147
145
|
* SecretArn: "STRING_VALUE", // required
|
|
148
|
-
* StandardObjectConfigurations: [
|
|
149
|
-
* {
|
|
146
|
+
* StandardObjectConfigurations: [ // SalesforceStandardObjectConfigurationList
|
|
147
|
+
* { // SalesforceStandardObjectConfiguration
|
|
150
148
|
* Name: "ACCOUNT" || "CAMPAIGN" || "CASE" || "CONTACT" || "CONTRACT" || "DOCUMENT" || "GROUP" || "IDEA" || "LEAD" || "OPPORTUNITY" || "PARTNER" || "PRICEBOOK" || "PRODUCT" || "PROFILE" || "SOLUTION" || "TASK" || "USER", // required
|
|
151
149
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
152
150
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
153
|
-
* FieldMappings:
|
|
154
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
155
|
-
* ],
|
|
151
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
156
152
|
* },
|
|
157
153
|
* ],
|
|
158
|
-
* KnowledgeArticleConfiguration: {
|
|
159
|
-
* IncludedStates: [ // required
|
|
154
|
+
* KnowledgeArticleConfiguration: { // SalesforceKnowledgeArticleConfiguration
|
|
155
|
+
* IncludedStates: [ // SalesforceKnowledgeArticleStateList // required
|
|
160
156
|
* "DRAFT" || "PUBLISHED" || "ARCHIVED",
|
|
161
157
|
* ],
|
|
162
|
-
* StandardKnowledgeArticleTypeConfiguration: {
|
|
158
|
+
* StandardKnowledgeArticleTypeConfiguration: { // SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
163
159
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
164
160
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
165
|
-
* FieldMappings:
|
|
166
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
167
|
-
* ],
|
|
161
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
168
162
|
* },
|
|
169
|
-
* CustomKnowledgeArticleTypeConfigurations: [
|
|
170
|
-
* {
|
|
163
|
+
* CustomKnowledgeArticleTypeConfigurations: [ // SalesforceCustomKnowledgeArticleTypeConfigurationList
|
|
164
|
+
* { // SalesforceCustomKnowledgeArticleTypeConfiguration
|
|
171
165
|
* Name: "STRING_VALUE", // required
|
|
172
166
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
173
167
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
174
|
-
* FieldMappings:
|
|
175
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
176
|
-
* ],
|
|
168
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
177
169
|
* },
|
|
178
170
|
* ],
|
|
179
171
|
* },
|
|
180
|
-
* ChatterFeedConfiguration: {
|
|
172
|
+
* ChatterFeedConfiguration: { // SalesforceChatterFeedConfiguration
|
|
181
173
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
182
174
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
183
|
-
* FieldMappings:
|
|
184
|
-
*
|
|
185
|
-
* ],
|
|
186
|
-
* IncludeFilterTypes: [
|
|
175
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
176
|
+
* IncludeFilterTypes: [ // SalesforceChatterFeedIncludeFilterTypes
|
|
187
177
|
* "ACTIVE_USER" || "STANDARD_USER",
|
|
188
178
|
* ],
|
|
189
179
|
* },
|
|
190
180
|
* CrawlAttachments: true || false,
|
|
191
|
-
* StandardObjectAttachmentConfiguration: {
|
|
181
|
+
* StandardObjectAttachmentConfiguration: { // SalesforceStandardObjectAttachmentConfiguration
|
|
192
182
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
193
|
-
* FieldMappings:
|
|
194
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
195
|
-
* ],
|
|
183
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
196
184
|
* },
|
|
197
|
-
* IncludeAttachmentFilePatterns:
|
|
198
|
-
*
|
|
199
|
-
* ],
|
|
200
|
-
* ExcludeAttachmentFilePatterns: [
|
|
201
|
-
* "STRING_VALUE",
|
|
202
|
-
* ],
|
|
185
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
186
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
203
187
|
* },
|
|
204
|
-
* OneDriveConfiguration: {
|
|
188
|
+
* OneDriveConfiguration: { // OneDriveConfiguration
|
|
205
189
|
* TenantDomain: "STRING_VALUE", // required
|
|
206
190
|
* SecretArn: "STRING_VALUE", // required
|
|
207
|
-
* OneDriveUsers: {
|
|
208
|
-
* OneDriveUserList: [
|
|
191
|
+
* OneDriveUsers: { // OneDriveUsers
|
|
192
|
+
* OneDriveUserList: [ // OneDriveUserList
|
|
209
193
|
* "STRING_VALUE",
|
|
210
194
|
* ],
|
|
211
195
|
* OneDriveUserS3Path: {
|
|
@@ -213,95 +197,77 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
213
197
|
* Key: "STRING_VALUE", // required
|
|
214
198
|
* },
|
|
215
199
|
* },
|
|
216
|
-
* InclusionPatterns:
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* ExclusionPatterns: [
|
|
220
|
-
* "STRING_VALUE",
|
|
221
|
-
* ],
|
|
222
|
-
* FieldMappings: [
|
|
223
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
224
|
-
* ],
|
|
200
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
201
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
202
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
225
203
|
* DisableLocalGroups: true || false,
|
|
226
204
|
* },
|
|
227
|
-
* ServiceNowConfiguration: {
|
|
205
|
+
* ServiceNowConfiguration: { // ServiceNowConfiguration
|
|
228
206
|
* HostUrl: "STRING_VALUE", // required
|
|
229
207
|
* SecretArn: "STRING_VALUE", // required
|
|
230
208
|
* ServiceNowBuildVersion: "LONDON" || "OTHERS", // required
|
|
231
|
-
* KnowledgeArticleConfiguration: {
|
|
209
|
+
* KnowledgeArticleConfiguration: { // ServiceNowKnowledgeArticleConfiguration
|
|
232
210
|
* CrawlAttachments: true || false,
|
|
233
|
-
* IncludeAttachmentFilePatterns:
|
|
234
|
-
*
|
|
235
|
-
* ],
|
|
236
|
-
* ExcludeAttachmentFilePatterns: [
|
|
237
|
-
* "STRING_VALUE",
|
|
238
|
-
* ],
|
|
211
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
212
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
239
213
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
240
214
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
241
|
-
* FieldMappings:
|
|
242
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
243
|
-
* ],
|
|
215
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
244
216
|
* FilterQuery: "STRING_VALUE",
|
|
245
217
|
* },
|
|
246
|
-
* ServiceCatalogConfiguration: {
|
|
218
|
+
* ServiceCatalogConfiguration: { // ServiceNowServiceCatalogConfiguration
|
|
247
219
|
* CrawlAttachments: true || false,
|
|
248
|
-
* IncludeAttachmentFilePatterns:
|
|
249
|
-
*
|
|
250
|
-
* ],
|
|
251
|
-
* ExcludeAttachmentFilePatterns: [
|
|
252
|
-
* "STRING_VALUE",
|
|
253
|
-
* ],
|
|
220
|
+
* IncludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
221
|
+
* ExcludeAttachmentFilePatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
254
222
|
* DocumentDataFieldName: "STRING_VALUE", // required
|
|
255
223
|
* DocumentTitleFieldName: "STRING_VALUE",
|
|
256
|
-
* FieldMappings:
|
|
257
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
258
|
-
* ],
|
|
224
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
259
225
|
* },
|
|
260
226
|
* AuthenticationType: "HTTP_BASIC" || "OAUTH2",
|
|
261
227
|
* },
|
|
262
|
-
* ConfluenceConfiguration: {
|
|
228
|
+
* ConfluenceConfiguration: { // ConfluenceConfiguration
|
|
263
229
|
* ServerUrl: "STRING_VALUE", // required
|
|
264
230
|
* SecretArn: "STRING_VALUE", // required
|
|
265
231
|
* Version: "CLOUD" || "SERVER", // required
|
|
266
|
-
* SpaceConfiguration: {
|
|
232
|
+
* SpaceConfiguration: { // ConfluenceSpaceConfiguration
|
|
267
233
|
* CrawlPersonalSpaces: true || false,
|
|
268
234
|
* CrawlArchivedSpaces: true || false,
|
|
269
|
-
* IncludeSpaces: [
|
|
235
|
+
* IncludeSpaces: [ // ConfluenceSpaceList
|
|
270
236
|
* "STRING_VALUE",
|
|
271
237
|
* ],
|
|
272
238
|
* ExcludeSpaces: [
|
|
273
239
|
* "STRING_VALUE",
|
|
274
240
|
* ],
|
|
275
|
-
* SpaceFieldMappings: [
|
|
276
|
-
* {
|
|
241
|
+
* SpaceFieldMappings: [ // ConfluenceSpaceFieldMappingsList
|
|
242
|
+
* { // ConfluenceSpaceToIndexFieldMapping
|
|
277
243
|
* DataSourceFieldName: "DISPLAY_URL" || "ITEM_TYPE" || "SPACE_KEY" || "URL",
|
|
278
244
|
* DateFieldFormat: "STRING_VALUE",
|
|
279
245
|
* IndexFieldName: "STRING_VALUE",
|
|
280
246
|
* },
|
|
281
247
|
* ],
|
|
282
248
|
* },
|
|
283
|
-
* PageConfiguration: {
|
|
284
|
-
* PageFieldMappings: [
|
|
285
|
-
* {
|
|
249
|
+
* PageConfiguration: { // ConfluencePageConfiguration
|
|
250
|
+
* PageFieldMappings: [ // ConfluencePageFieldMappingsList
|
|
251
|
+
* { // ConfluencePageToIndexFieldMapping
|
|
286
252
|
* DataSourceFieldName: "AUTHOR" || "CONTENT_STATUS" || "CREATED_DATE" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "MODIFIED_DATE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
287
253
|
* DateFieldFormat: "STRING_VALUE",
|
|
288
254
|
* IndexFieldName: "STRING_VALUE",
|
|
289
255
|
* },
|
|
290
256
|
* ],
|
|
291
257
|
* },
|
|
292
|
-
* BlogConfiguration: {
|
|
293
|
-
* BlogFieldMappings: [
|
|
294
|
-
* {
|
|
258
|
+
* BlogConfiguration: { // ConfluenceBlogConfiguration
|
|
259
|
+
* BlogFieldMappings: [ // ConfluenceBlogFieldMappingsList
|
|
260
|
+
* { // ConfluenceBlogToIndexFieldMapping
|
|
295
261
|
* DataSourceFieldName: "AUTHOR" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "PUBLISH_DATE" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
296
262
|
* DateFieldFormat: "STRING_VALUE",
|
|
297
263
|
* IndexFieldName: "STRING_VALUE",
|
|
298
264
|
* },
|
|
299
265
|
* ],
|
|
300
266
|
* },
|
|
301
|
-
* AttachmentConfiguration: {
|
|
267
|
+
* AttachmentConfiguration: { // ConfluenceAttachmentConfiguration
|
|
302
268
|
* CrawlAttachments: true || false,
|
|
303
|
-
* AttachmentFieldMappings: [
|
|
304
|
-
* {
|
|
269
|
+
* AttachmentFieldMappings: [ // ConfluenceAttachmentFieldMappingsList
|
|
270
|
+
* { // ConfluenceAttachmentToIndexFieldMapping
|
|
305
271
|
* DataSourceFieldName: "AUTHOR" || "CONTENT_TYPE" || "CREATED_DATE" || "DISPLAY_URL" || "FILE_SIZE" || "ITEM_TYPE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
|
|
306
272
|
* DateFieldFormat: "STRING_VALUE",
|
|
307
273
|
* IndexFieldName: "STRING_VALUE",
|
|
@@ -316,12 +282,8 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
316
282
|
* "STRING_VALUE",
|
|
317
283
|
* ],
|
|
318
284
|
* },
|
|
319
|
-
* InclusionPatterns:
|
|
320
|
-
*
|
|
321
|
-
* ],
|
|
322
|
-
* ExclusionPatterns: [
|
|
323
|
-
* "STRING_VALUE",
|
|
324
|
-
* ],
|
|
285
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
286
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
325
287
|
* ProxyConfiguration: {
|
|
326
288
|
* Host: "STRING_VALUE", // required
|
|
327
289
|
* Port: Number("int"), // required
|
|
@@ -329,37 +291,31 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
329
291
|
* },
|
|
330
292
|
* AuthenticationType: "HTTP_BASIC" || "PAT",
|
|
331
293
|
* },
|
|
332
|
-
* GoogleDriveConfiguration: {
|
|
294
|
+
* GoogleDriveConfiguration: { // GoogleDriveConfiguration
|
|
333
295
|
* SecretArn: "STRING_VALUE", // required
|
|
334
|
-
* InclusionPatterns:
|
|
296
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
297
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
298
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
299
|
+
* ExcludeMimeTypes: [ // ExcludeMimeTypesList
|
|
335
300
|
* "STRING_VALUE",
|
|
336
301
|
* ],
|
|
337
|
-
*
|
|
302
|
+
* ExcludeUserAccounts: [ // ExcludeUserAccountsList
|
|
338
303
|
* "STRING_VALUE",
|
|
339
304
|
* ],
|
|
340
|
-
*
|
|
341
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
342
|
-
* ],
|
|
343
|
-
* ExcludeMimeTypes: [
|
|
344
|
-
* "STRING_VALUE",
|
|
345
|
-
* ],
|
|
346
|
-
* ExcludeUserAccounts: [
|
|
347
|
-
* "STRING_VALUE",
|
|
348
|
-
* ],
|
|
349
|
-
* ExcludeSharedDrives: [
|
|
305
|
+
* ExcludeSharedDrives: [ // ExcludeSharedDrivesList
|
|
350
306
|
* "STRING_VALUE",
|
|
351
307
|
* ],
|
|
352
308
|
* },
|
|
353
|
-
* WebCrawlerConfiguration: {
|
|
354
|
-
* Urls: {
|
|
355
|
-
* SeedUrlConfiguration: {
|
|
356
|
-
* SeedUrls: [ // required
|
|
309
|
+
* WebCrawlerConfiguration: { // WebCrawlerConfiguration
|
|
310
|
+
* Urls: { // Urls
|
|
311
|
+
* SeedUrlConfiguration: { // SeedUrlConfiguration
|
|
312
|
+
* SeedUrls: [ // SeedUrlList // required
|
|
357
313
|
* "STRING_VALUE",
|
|
358
314
|
* ],
|
|
359
315
|
* WebCrawlerMode: "HOST_ONLY" || "SUBDOMAINS" || "EVERYTHING",
|
|
360
316
|
* },
|
|
361
|
-
* SiteMapsConfiguration: {
|
|
362
|
-
* SiteMaps: [ // required
|
|
317
|
+
* SiteMapsConfiguration: { // SiteMapsConfiguration
|
|
318
|
+
* SiteMaps: [ // SiteMapsList // required
|
|
363
319
|
* "STRING_VALUE",
|
|
364
320
|
* ],
|
|
365
321
|
* },
|
|
@@ -368,20 +324,16 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
368
324
|
* MaxLinksPerPage: Number("int"),
|
|
369
325
|
* MaxContentSizePerPageInMegaBytes: Number("float"),
|
|
370
326
|
* MaxUrlsPerMinuteCrawlRate: Number("int"),
|
|
371
|
-
* UrlInclusionPatterns:
|
|
372
|
-
*
|
|
373
|
-
* ],
|
|
374
|
-
* UrlExclusionPatterns: [
|
|
375
|
-
* "STRING_VALUE",
|
|
376
|
-
* ],
|
|
327
|
+
* UrlInclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
328
|
+
* UrlExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
377
329
|
* ProxyConfiguration: {
|
|
378
330
|
* Host: "STRING_VALUE", // required
|
|
379
331
|
* Port: Number("int"), // required
|
|
380
332
|
* Credentials: "STRING_VALUE",
|
|
381
333
|
* },
|
|
382
|
-
* AuthenticationConfiguration: {
|
|
383
|
-
* BasicAuthentication: [
|
|
384
|
-
* {
|
|
334
|
+
* AuthenticationConfiguration: { // AuthenticationConfiguration
|
|
335
|
+
* BasicAuthentication: [ // BasicAuthenticationConfigurationList
|
|
336
|
+
* { // BasicAuthenticationConfiguration
|
|
385
337
|
* Host: "STRING_VALUE", // required
|
|
386
338
|
* Port: Number("int"), // required
|
|
387
339
|
* Credentials: "STRING_VALUE", // required
|
|
@@ -389,21 +341,15 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
389
341
|
* ],
|
|
390
342
|
* },
|
|
391
343
|
* },
|
|
392
|
-
* WorkDocsConfiguration: {
|
|
344
|
+
* WorkDocsConfiguration: { // WorkDocsConfiguration
|
|
393
345
|
* OrganizationId: "STRING_VALUE", // required
|
|
394
346
|
* CrawlComments: true || false,
|
|
395
347
|
* UseChangeLog: true || false,
|
|
396
|
-
* InclusionPatterns:
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
* ExclusionPatterns: [
|
|
400
|
-
* "STRING_VALUE",
|
|
401
|
-
* ],
|
|
402
|
-
* FieldMappings: [
|
|
403
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
404
|
-
* ],
|
|
348
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
349
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
350
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
405
351
|
* },
|
|
406
|
-
* FsxConfiguration: {
|
|
352
|
+
* FsxConfiguration: { // FsxConfiguration
|
|
407
353
|
* FileSystemId: "STRING_VALUE", // required
|
|
408
354
|
* FileSystemType: "WINDOWS", // required
|
|
409
355
|
* VpcConfiguration: {
|
|
@@ -415,17 +361,11 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
415
361
|
* ],
|
|
416
362
|
* },
|
|
417
363
|
* SecretArn: "STRING_VALUE",
|
|
418
|
-
* InclusionPatterns:
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
* ExclusionPatterns: [
|
|
422
|
-
* "STRING_VALUE",
|
|
423
|
-
* ],
|
|
424
|
-
* FieldMappings: [
|
|
425
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
426
|
-
* ],
|
|
364
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
365
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
366
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
427
367
|
* },
|
|
428
|
-
* SlackConfiguration: {
|
|
368
|
+
* SlackConfiguration: { // SlackConfiguration
|
|
429
369
|
* TeamId: "STRING_VALUE", // required
|
|
430
370
|
* SecretArn: "STRING_VALUE", // required
|
|
431
371
|
* VpcConfiguration: {
|
|
@@ -436,7 +376,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
436
376
|
* "STRING_VALUE",
|
|
437
377
|
* ],
|
|
438
378
|
* },
|
|
439
|
-
* SlackEntityList: [ // required
|
|
379
|
+
* SlackEntityList: [ // SlackEntityList // required
|
|
440
380
|
* "PUBLIC_CHANNEL" || "PRIVATE_CHANNEL" || "GROUP_MESSAGE" || "DIRECT_MESSAGE",
|
|
441
381
|
* ],
|
|
442
382
|
* UseChangeLog: true || false,
|
|
@@ -444,141 +384,78 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
444
384
|
* ExcludeArchived: true || false,
|
|
445
385
|
* SinceCrawlDate: "STRING_VALUE", // required
|
|
446
386
|
* LookBackPeriod: Number("int"),
|
|
447
|
-
* PrivateChannelFilter: [
|
|
387
|
+
* PrivateChannelFilter: [ // PrivateChannelFilter
|
|
448
388
|
* "STRING_VALUE",
|
|
449
389
|
* ],
|
|
450
|
-
* PublicChannelFilter: [
|
|
390
|
+
* PublicChannelFilter: [ // PublicChannelFilter
|
|
451
391
|
* "STRING_VALUE",
|
|
452
392
|
* ],
|
|
453
|
-
* InclusionPatterns:
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
* ExclusionPatterns: [
|
|
457
|
-
* "STRING_VALUE",
|
|
458
|
-
* ],
|
|
459
|
-
* FieldMappings: [
|
|
460
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
461
|
-
* ],
|
|
393
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
394
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
395
|
+
* FieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
462
396
|
* },
|
|
463
|
-
* BoxConfiguration: {
|
|
397
|
+
* BoxConfiguration: { // BoxConfiguration
|
|
464
398
|
* EnterpriseId: "STRING_VALUE", // required
|
|
465
399
|
* SecretArn: "STRING_VALUE", // required
|
|
466
400
|
* UseChangeLog: true || false,
|
|
467
401
|
* CrawlComments: true || false,
|
|
468
402
|
* CrawlTasks: true || false,
|
|
469
403
|
* CrawlWebLinks: true || false,
|
|
470
|
-
* FileFieldMappings:
|
|
471
|
-
*
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
478
|
-
* ],
|
|
479
|
-
* WebLinkFieldMappings: [
|
|
480
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
481
|
-
* ],
|
|
482
|
-
* InclusionPatterns: [
|
|
483
|
-
* "STRING_VALUE",
|
|
484
|
-
* ],
|
|
485
|
-
* ExclusionPatterns: [
|
|
486
|
-
* "STRING_VALUE",
|
|
487
|
-
* ],
|
|
488
|
-
* VpcConfiguration: {
|
|
489
|
-
* SubnetIds: [ // required
|
|
490
|
-
* "STRING_VALUE",
|
|
491
|
-
* ],
|
|
492
|
-
* SecurityGroupIds: [ // required
|
|
493
|
-
* "STRING_VALUE",
|
|
494
|
-
* ],
|
|
495
|
-
* },
|
|
404
|
+
* FileFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
405
|
+
* TaskFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
406
|
+
* CommentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
407
|
+
* WebLinkFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
408
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
409
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
410
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
496
411
|
* },
|
|
497
|
-
* QuipConfiguration: {
|
|
412
|
+
* QuipConfiguration: { // QuipConfiguration
|
|
498
413
|
* Domain: "STRING_VALUE", // required
|
|
499
414
|
* SecretArn: "STRING_VALUE", // required
|
|
500
415
|
* CrawlFileComments: true || false,
|
|
501
416
|
* CrawlChatRooms: true || false,
|
|
502
417
|
* CrawlAttachments: true || false,
|
|
503
|
-
* FolderIds: [
|
|
418
|
+
* FolderIds: [ // FolderIdList
|
|
504
419
|
* "STRING_VALUE",
|
|
505
420
|
* ],
|
|
506
|
-
* ThreadFieldMappings:
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
* AttachmentFieldMappings: [
|
|
513
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
514
|
-
* ],
|
|
515
|
-
* InclusionPatterns: [
|
|
516
|
-
* "STRING_VALUE",
|
|
517
|
-
* ],
|
|
518
|
-
* ExclusionPatterns: [
|
|
519
|
-
* "STRING_VALUE",
|
|
520
|
-
* ],
|
|
521
|
-
* VpcConfiguration: {
|
|
522
|
-
* SubnetIds: [ // required
|
|
523
|
-
* "STRING_VALUE",
|
|
524
|
-
* ],
|
|
525
|
-
* SecurityGroupIds: [ // required
|
|
526
|
-
* "STRING_VALUE",
|
|
527
|
-
* ],
|
|
528
|
-
* },
|
|
421
|
+
* ThreadFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
422
|
+
* MessageFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
423
|
+
* AttachmentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
424
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
425
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
426
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
529
427
|
* },
|
|
530
|
-
* JiraConfiguration: {
|
|
428
|
+
* JiraConfiguration: { // JiraConfiguration
|
|
531
429
|
* JiraAccountUrl: "STRING_VALUE", // required
|
|
532
430
|
* SecretArn: "STRING_VALUE", // required
|
|
533
431
|
* UseChangeLog: true || false,
|
|
534
|
-
* Project: [
|
|
432
|
+
* Project: [ // Project
|
|
535
433
|
* "STRING_VALUE",
|
|
536
434
|
* ],
|
|
537
|
-
* IssueType: [
|
|
435
|
+
* IssueType: [ // IssueType
|
|
538
436
|
* "STRING_VALUE",
|
|
539
437
|
* ],
|
|
540
|
-
* Status: [
|
|
438
|
+
* Status: [ // JiraStatus
|
|
541
439
|
* "STRING_VALUE",
|
|
542
440
|
* ],
|
|
543
|
-
* IssueSubEntityFilter: [
|
|
441
|
+
* IssueSubEntityFilter: [ // IssueSubEntityFilter
|
|
544
442
|
* "COMMENTS" || "ATTACHMENTS" || "WORKLOGS",
|
|
545
443
|
* ],
|
|
546
|
-
* AttachmentFieldMappings:
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
553
|
-
*
|
|
554
|
-
* ],
|
|
555
|
-
* ProjectFieldMappings: [
|
|
556
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
557
|
-
* ],
|
|
558
|
-
* WorkLogFieldMappings: [
|
|
559
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
560
|
-
* ],
|
|
561
|
-
* InclusionPatterns: [
|
|
562
|
-
* "STRING_VALUE",
|
|
563
|
-
* ],
|
|
564
|
-
* ExclusionPatterns: [
|
|
565
|
-
* "STRING_VALUE",
|
|
566
|
-
* ],
|
|
567
|
-
* VpcConfiguration: {
|
|
568
|
-
* SubnetIds: [ // required
|
|
569
|
-
* "STRING_VALUE",
|
|
570
|
-
* ],
|
|
571
|
-
* SecurityGroupIds: [ // required
|
|
572
|
-
* "STRING_VALUE",
|
|
573
|
-
* ],
|
|
574
|
-
* },
|
|
444
|
+
* AttachmentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
445
|
+
* CommentFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
446
|
+
* IssueFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
447
|
+
* ProjectFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
448
|
+
* WorkLogFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
449
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
450
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
451
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
575
452
|
* },
|
|
576
|
-
* GitHubConfiguration: {
|
|
577
|
-
* SaaSConfiguration: {
|
|
453
|
+
* GitHubConfiguration: { // GitHubConfiguration
|
|
454
|
+
* SaaSConfiguration: { // SaaSConfiguration
|
|
578
455
|
* OrganizationName: "STRING_VALUE", // required
|
|
579
456
|
* HostUrl: "STRING_VALUE", // required
|
|
580
457
|
* },
|
|
581
|
-
* OnPremiseConfiguration: {
|
|
458
|
+
* OnPremiseConfiguration: { // OnPremiseConfiguration
|
|
582
459
|
* HostUrl: "STRING_VALUE", // required
|
|
583
460
|
* OrganizationName: "STRING_VALUE", // required
|
|
584
461
|
* SslCertificateS3Path: {
|
|
@@ -589,7 +466,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
589
466
|
* Type: "SAAS" || "ON_PREMISE",
|
|
590
467
|
* SecretArn: "STRING_VALUE", // required
|
|
591
468
|
* UseChangeLog: true || false,
|
|
592
|
-
* GitHubDocumentCrawlProperties: {
|
|
469
|
+
* GitHubDocumentCrawlProperties: { // GitHubDocumentCrawlProperties
|
|
593
470
|
* CrawlRepositoryDocuments: true || false,
|
|
594
471
|
* CrawlIssue: true || false,
|
|
595
472
|
* CrawlIssueComment: true || false,
|
|
@@ -598,10 +475,10 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
598
475
|
* CrawlPullRequestComment: true || false,
|
|
599
476
|
* CrawlPullRequestCommentAttachment: true || false,
|
|
600
477
|
* },
|
|
601
|
-
* RepositoryFilter: [
|
|
478
|
+
* RepositoryFilter: [ // RepositoryNames
|
|
602
479
|
* "STRING_VALUE",
|
|
603
480
|
* ],
|
|
604
|
-
* InclusionFolderNamePatterns: [
|
|
481
|
+
* InclusionFolderNamePatterns: [ // StringList
|
|
605
482
|
* "STRING_VALUE",
|
|
606
483
|
* ],
|
|
607
484
|
* InclusionFileTypePatterns: [
|
|
@@ -616,43 +493,18 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
616
493
|
* ExclusionFileTypePatterns: [
|
|
617
494
|
* "STRING_VALUE",
|
|
618
495
|
* ],
|
|
619
|
-
* ExclusionFileNamePatterns:
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
627
|
-
*
|
|
628
|
-
*
|
|
629
|
-
* },
|
|
630
|
-
* GitHubRepositoryConfigurationFieldMappings: [
|
|
631
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
632
|
-
* ],
|
|
633
|
-
* GitHubCommitConfigurationFieldMappings: [
|
|
634
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
635
|
-
* ],
|
|
636
|
-
* GitHubIssueDocumentConfigurationFieldMappings: [
|
|
637
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
638
|
-
* ],
|
|
639
|
-
* GitHubIssueCommentConfigurationFieldMappings: [
|
|
640
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
641
|
-
* ],
|
|
642
|
-
* GitHubIssueAttachmentConfigurationFieldMappings: [
|
|
643
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
644
|
-
* ],
|
|
645
|
-
* GitHubPullRequestCommentConfigurationFieldMappings: [
|
|
646
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
647
|
-
* ],
|
|
648
|
-
* GitHubPullRequestDocumentConfigurationFieldMappings: [
|
|
649
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
650
|
-
* ],
|
|
651
|
-
* GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: [
|
|
652
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
653
|
-
* ],
|
|
496
|
+
* ExclusionFileNamePatterns: "<StringList>",
|
|
497
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
498
|
+
* GitHubRepositoryConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
499
|
+
* GitHubCommitConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
500
|
+
* GitHubIssueDocumentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
501
|
+
* GitHubIssueCommentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
502
|
+
* GitHubIssueAttachmentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
503
|
+
* GitHubPullRequestCommentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
504
|
+
* GitHubPullRequestDocumentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
505
|
+
* GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
654
506
|
* },
|
|
655
|
-
* AlfrescoConfiguration: {
|
|
507
|
+
* AlfrescoConfiguration: { // AlfrescoConfiguration
|
|
656
508
|
* SiteUrl: "STRING_VALUE", // required
|
|
657
509
|
* SiteId: "STRING_VALUE", // required
|
|
658
510
|
* SecretArn: "STRING_VALUE", // required
|
|
@@ -662,72 +514,48 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
662
514
|
* },
|
|
663
515
|
* CrawlSystemFolders: true || false,
|
|
664
516
|
* CrawlComments: true || false,
|
|
665
|
-
* EntityFilter: [
|
|
517
|
+
* EntityFilter: [ // EntityFilter
|
|
666
518
|
* "wiki" || "blog" || "documentLibrary",
|
|
667
519
|
* ],
|
|
668
|
-
* DocumentLibraryFieldMappings:
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
*
|
|
674
|
-
* WikiFieldMappings: [
|
|
675
|
-
* "<DataSourceToIndexFieldMappingList>",
|
|
676
|
-
* ],
|
|
677
|
-
* InclusionPatterns: [
|
|
678
|
-
* "STRING_VALUE",
|
|
679
|
-
* ],
|
|
680
|
-
* ExclusionPatterns: [
|
|
681
|
-
* "STRING_VALUE",
|
|
682
|
-
* ],
|
|
683
|
-
* VpcConfiguration: {
|
|
684
|
-
* SubnetIds: [ // required
|
|
685
|
-
* "STRING_VALUE",
|
|
686
|
-
* ],
|
|
687
|
-
* SecurityGroupIds: [ // required
|
|
688
|
-
* "STRING_VALUE",
|
|
689
|
-
* ],
|
|
690
|
-
* },
|
|
520
|
+
* DocumentLibraryFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
521
|
+
* BlogFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
522
|
+
* WikiFieldMappings: "<DataSourceToIndexFieldMappingList>",
|
|
523
|
+
* InclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
524
|
+
* ExclusionPatterns: "<DataSourceInclusionsExclusionsStrings>",
|
|
525
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
691
526
|
* },
|
|
692
|
-
* TemplateConfiguration: {
|
|
527
|
+
* TemplateConfiguration: { // TemplateConfiguration
|
|
693
528
|
* Template: "DOCUMENT_VALUE",
|
|
694
529
|
* },
|
|
695
530
|
* },
|
|
696
|
-
* VpcConfiguration:
|
|
697
|
-
* SubnetIds: [ // required
|
|
698
|
-
* "STRING_VALUE",
|
|
699
|
-
* ],
|
|
700
|
-
* SecurityGroupIds: [ // required
|
|
701
|
-
* "STRING_VALUE",
|
|
702
|
-
* ],
|
|
703
|
-
* },
|
|
531
|
+
* VpcConfiguration: "<DataSourceVpcConfiguration>",
|
|
704
532
|
* Description: "STRING_VALUE",
|
|
705
533
|
* Schedule: "STRING_VALUE",
|
|
706
534
|
* RoleArn: "STRING_VALUE",
|
|
707
|
-
* Tags: [
|
|
708
|
-
* {
|
|
535
|
+
* Tags: [ // TagList
|
|
536
|
+
* { // Tag
|
|
709
537
|
* Key: "STRING_VALUE", // required
|
|
710
538
|
* Value: "STRING_VALUE", // required
|
|
711
539
|
* },
|
|
712
540
|
* ],
|
|
713
541
|
* ClientToken: "STRING_VALUE",
|
|
714
542
|
* LanguageCode: "STRING_VALUE",
|
|
715
|
-
* CustomDocumentEnrichmentConfiguration: {
|
|
716
|
-
* InlineConfigurations: [
|
|
717
|
-
* {
|
|
718
|
-
* Condition: {
|
|
543
|
+
* CustomDocumentEnrichmentConfiguration: { // CustomDocumentEnrichmentConfiguration
|
|
544
|
+
* InlineConfigurations: [ // InlineCustomDocumentEnrichmentConfigurationList
|
|
545
|
+
* { // InlineCustomDocumentEnrichmentConfiguration
|
|
546
|
+
* Condition: { // DocumentAttributeCondition
|
|
719
547
|
* ConditionDocumentAttributeKey: "STRING_VALUE", // required
|
|
720
548
|
* Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
|
|
721
|
-
* ConditionOnValue: {
|
|
549
|
+
* ConditionOnValue: { // DocumentAttributeValue
|
|
722
550
|
* StringValue: "STRING_VALUE",
|
|
723
|
-
* StringListValue: [
|
|
551
|
+
* StringListValue: [ // DocumentAttributeStringListValue
|
|
724
552
|
* "STRING_VALUE",
|
|
725
553
|
* ],
|
|
726
554
|
* LongValue: Number("long"),
|
|
727
555
|
* DateValue: new Date("TIMESTAMP"),
|
|
728
556
|
* },
|
|
729
557
|
* },
|
|
730
|
-
* Target: {
|
|
558
|
+
* Target: { // DocumentAttributeTarget
|
|
731
559
|
* TargetDocumentAttributeKey: "STRING_VALUE",
|
|
732
560
|
* TargetDocumentAttributeValueDeletion: true || false,
|
|
733
561
|
* TargetDocumentAttributeValue: {
|
|
@@ -742,7 +570,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
742
570
|
* DocumentContentDeletion: true || false,
|
|
743
571
|
* },
|
|
744
572
|
* ],
|
|
745
|
-
* PreExtractionHookConfiguration: {
|
|
573
|
+
* PreExtractionHookConfiguration: { // HookConfiguration
|
|
746
574
|
* InvocationCondition: {
|
|
747
575
|
* ConditionDocumentAttributeKey: "STRING_VALUE", // required
|
|
748
576
|
* Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
|
|
@@ -797,7 +625,7 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
797
625
|
*
|
|
798
626
|
* @throws {@link InternalServerException} (server fault)
|
|
799
627
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
800
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
628
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
801
629
|
*
|
|
802
630
|
* @throws {@link ResourceAlreadyExistException} (client fault)
|
|
803
631
|
* <p>The resource you want to use already exists. Please check you have provided the
|
|
@@ -809,7 +637,8 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
809
637
|
*
|
|
810
638
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
811
639
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
812
|
-
*
|
|
640
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
641
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
813
642
|
* an increase of limits.</p>
|
|
814
643
|
*
|
|
815
644
|
* @throws {@link ThrottlingException} (client fault)
|