@aws-sdk/client-kendra 3.95.0 → 3.104.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/CHANGELOG.md +27 -0
- package/dist-cjs/models/models_0.js +35 -5
- package/dist-cjs/protocols/Aws_json1_1.js +267 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/protocols/Aws_json1_1.js +229 -1
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/models/models_0.d.ts +295 -8
- package/dist-types/ts3.4/models/models_0.d.ts +104 -0
- package/package.json +6 -6
|
@@ -1025,6 +1025,11 @@ export declare namespace S3Path {
|
|
|
1025
1025
|
export interface Document {
|
|
1026
1026
|
/**
|
|
1027
1027
|
* <p>A unique identifier of the document in the index.</p>
|
|
1028
|
+
* <p>Note, each document ID must be unique per index. You cannot create a data source
|
|
1029
|
+
* to index your documents with their unique IDs and then use the
|
|
1030
|
+
* <code>BatchPutDocument</code> API to index the same documents, or vice versa. You
|
|
1031
|
+
* can delete a data source and then use the <code>BatchPutDocument</code> API to index
|
|
1032
|
+
* the same documents, or vice versa.</p>
|
|
1028
1033
|
*/
|
|
1029
1034
|
Id: string | undefined;
|
|
1030
1035
|
/**
|
|
@@ -1984,6 +1989,280 @@ export declare namespace FsxConfiguration {
|
|
|
1984
1989
|
*/
|
|
1985
1990
|
const filterSensitiveLog: (obj: FsxConfiguration) => any;
|
|
1986
1991
|
}
|
|
1992
|
+
/**
|
|
1993
|
+
* <p>Provides the configuration information to include certain types of GitHub content. You can
|
|
1994
|
+
* configure to index repository files only, or also include issues and pull requests,
|
|
1995
|
+
* comments, and comment attachments.</p>
|
|
1996
|
+
*/
|
|
1997
|
+
export interface GitHubDocumentCrawlProperties {
|
|
1998
|
+
/**
|
|
1999
|
+
* <p>
|
|
2000
|
+
* <code>TRUE</code> to index all files with a repository.</p>
|
|
2001
|
+
*/
|
|
2002
|
+
CrawlRepositoryDocuments?: boolean;
|
|
2003
|
+
/**
|
|
2004
|
+
* <p>
|
|
2005
|
+
* <code>TRUE</code> to index all issues within a repository.</p>
|
|
2006
|
+
*/
|
|
2007
|
+
CrawlIssue?: boolean;
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>
|
|
2010
|
+
* <code>TRUE</code> to index all comments on issues.</p>
|
|
2011
|
+
*/
|
|
2012
|
+
CrawlIssueComment?: boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* <p>
|
|
2015
|
+
* <code>TRUE</code> to include all comment attachments for issues.</p>
|
|
2016
|
+
*/
|
|
2017
|
+
CrawlIssueCommentAttachment?: boolean;
|
|
2018
|
+
/**
|
|
2019
|
+
* <p>
|
|
2020
|
+
* <code>TRUE</code> to index all pull requests within a repository.</p>
|
|
2021
|
+
*/
|
|
2022
|
+
CrawlPullRequest?: boolean;
|
|
2023
|
+
/**
|
|
2024
|
+
* <p>
|
|
2025
|
+
* <code>TRUE</code> to index all comments on pull requests.</p>
|
|
2026
|
+
*/
|
|
2027
|
+
CrawlPullRequestComment?: boolean;
|
|
2028
|
+
/**
|
|
2029
|
+
* <p>
|
|
2030
|
+
* <code>TRUE</code> to include all comment attachments for pull requests.</p>
|
|
2031
|
+
*/
|
|
2032
|
+
CrawlPullRequestCommentAttachment?: boolean;
|
|
2033
|
+
}
|
|
2034
|
+
export declare namespace GitHubDocumentCrawlProperties {
|
|
2035
|
+
/**
|
|
2036
|
+
* @internal
|
|
2037
|
+
*/
|
|
2038
|
+
const filterSensitiveLog: (obj: GitHubDocumentCrawlProperties) => any;
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
* <p>Provides the configuration information to connect to GitHub Enterprise Server (on premises).</p>
|
|
2042
|
+
*/
|
|
2043
|
+
export interface OnPremiseConfiguration {
|
|
2044
|
+
/**
|
|
2045
|
+
* <p>The GitHub host URL or API endpoint URL. For example,
|
|
2046
|
+
* <i>https://on-prem-host-url/api/v3/</i>
|
|
2047
|
+
* </p>
|
|
2048
|
+
*/
|
|
2049
|
+
HostUrl: string | undefined;
|
|
2050
|
+
/**
|
|
2051
|
+
* <p>The name of the organization of the GitHub Enterprise Server (in-premise) account you want
|
|
2052
|
+
* to connect to. You can find your organization name by logging into GitHub desktop and
|
|
2053
|
+
* selecting <b>Your organizations</b> under your profile picture dropdown.</p>
|
|
2054
|
+
*/
|
|
2055
|
+
OrganizationName: string | undefined;
|
|
2056
|
+
/**
|
|
2057
|
+
* <p>Information required to find a specific file in an Amazon S3 bucket.</p>
|
|
2058
|
+
*/
|
|
2059
|
+
SslCertificateS3Path: S3Path | undefined;
|
|
2060
|
+
}
|
|
2061
|
+
export declare namespace OnPremiseConfiguration {
|
|
2062
|
+
/**
|
|
2063
|
+
* @internal
|
|
2064
|
+
*/
|
|
2065
|
+
const filterSensitiveLog: (obj: OnPremiseConfiguration) => any;
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* <p>Provides the configuration information to connect to GitHub Enterprise Cloud (SaaS).</p>
|
|
2069
|
+
*/
|
|
2070
|
+
export interface SaaSConfiguration {
|
|
2071
|
+
/**
|
|
2072
|
+
* <p>The name of the organization of the GitHub Enterprise Cloud (SaaS) account you want
|
|
2073
|
+
* to connect to. You can find your organization name by logging into GitHub desktop and
|
|
2074
|
+
* selecting <b>Your organizations</b> under your profile picture dropdown.</p>
|
|
2075
|
+
*/
|
|
2076
|
+
OrganizationName: string | undefined;
|
|
2077
|
+
/**
|
|
2078
|
+
* <p>The GitHub host URL or API endpoint URL. For example,
|
|
2079
|
+
* <i>https://api.github.com</i>.</p>
|
|
2080
|
+
*/
|
|
2081
|
+
HostUrl: string | undefined;
|
|
2082
|
+
}
|
|
2083
|
+
export declare namespace SaaSConfiguration {
|
|
2084
|
+
/**
|
|
2085
|
+
* @internal
|
|
2086
|
+
*/
|
|
2087
|
+
const filterSensitiveLog: (obj: SaaSConfiguration) => any;
|
|
2088
|
+
}
|
|
2089
|
+
export declare enum Type {
|
|
2090
|
+
ON_PREMISE = "ON_PREMISE",
|
|
2091
|
+
SAAS = "SAAS"
|
|
2092
|
+
}
|
|
2093
|
+
/**
|
|
2094
|
+
* <p>Provides the configuration information to connect to GitHub
|
|
2095
|
+
* as your data source.</p>
|
|
2096
|
+
*/
|
|
2097
|
+
export interface GitHubConfiguration {
|
|
2098
|
+
/**
|
|
2099
|
+
* <p>Configuration information to connect to GitHub Enterprise Cloud (SaaS).</p>
|
|
2100
|
+
*/
|
|
2101
|
+
SaaSConfiguration?: SaaSConfiguration;
|
|
2102
|
+
/**
|
|
2103
|
+
* <p>Configuration information to connect to GitHub Enterprise Server (on premises).</p>
|
|
2104
|
+
*/
|
|
2105
|
+
OnPremiseConfiguration?: OnPremiseConfiguration;
|
|
2106
|
+
/**
|
|
2107
|
+
* <p>The type of GitHub service you want to connect to—GitHub Enterprise
|
|
2108
|
+
* Cloud (SaaS) or GitHub Enterprise Server (on premises).</p>
|
|
2109
|
+
*/
|
|
2110
|
+
Type?: Type | string;
|
|
2111
|
+
/**
|
|
2112
|
+
* <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that contains
|
|
2113
|
+
* the key-value pairs required to connect to your GitHub. The secret must contain
|
|
2114
|
+
* a JSON structure with the following keys:</p>
|
|
2115
|
+
* <ul>
|
|
2116
|
+
* <li>
|
|
2117
|
+
* <p>githubToken—The access token created in GitHub. For more information
|
|
2118
|
+
* on creating a token in GitHub, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html#github-authentication">Authentication
|
|
2119
|
+
* for a GitHub data source</a>.</p>
|
|
2120
|
+
* </li>
|
|
2121
|
+
* </ul>
|
|
2122
|
+
*/
|
|
2123
|
+
SecretArn: string | undefined;
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>
|
|
2126
|
+
* <code>TRUE</code> to use the GitHub change log to determine which documents require
|
|
2127
|
+
* updating in the index. Depending on the GitHub change log's size, it may take longer
|
|
2128
|
+
* for Amazon Kendra to use the change log than to scan all of your documents in
|
|
2129
|
+
* GitHub.</p>
|
|
2130
|
+
*/
|
|
2131
|
+
UseChangeLog?: boolean;
|
|
2132
|
+
/**
|
|
2133
|
+
* <p>Configuration information to include certain types of GitHub content. You can
|
|
2134
|
+
* configure to index repository files only, or also include issues and pull requests,
|
|
2135
|
+
* comments, and comment attachments.</p>
|
|
2136
|
+
*/
|
|
2137
|
+
GitHubDocumentCrawlProperties?: GitHubDocumentCrawlProperties;
|
|
2138
|
+
/**
|
|
2139
|
+
* <p>A list of names of the specific repositories you want to index.</p>
|
|
2140
|
+
*/
|
|
2141
|
+
RepositoryFilter?: string[];
|
|
2142
|
+
/**
|
|
2143
|
+
* <p>A list of regular expression patterns to include certain folder names in your
|
|
2144
|
+
* GitHub repository or repositories. Folder names that match the patterns are
|
|
2145
|
+
* included in the index. Folder names that don't match the patterns are excluded
|
|
2146
|
+
* from the index. If a folder matches both an inclusion and exclusion pattern, the
|
|
2147
|
+
* exclusion pattern takes precedence and the folder isn't included in the index.</p>
|
|
2148
|
+
*/
|
|
2149
|
+
InclusionFolderNamePatterns?: string[];
|
|
2150
|
+
/**
|
|
2151
|
+
* <p>A list of regular expression patterns to include certain file types in your
|
|
2152
|
+
* GitHub repository or repositories. File types that match the patterns are
|
|
2153
|
+
* included in the index. File types that don't match the patterns are excluded
|
|
2154
|
+
* from the index. If a file matches both an inclusion and exclusion pattern, the
|
|
2155
|
+
* exclusion pattern takes precedence and the file isn't included in the index.</p>
|
|
2156
|
+
*/
|
|
2157
|
+
InclusionFileTypePatterns?: string[];
|
|
2158
|
+
/**
|
|
2159
|
+
* <p>A list of regular expression patterns to include certain file names in your
|
|
2160
|
+
* GitHub repository or repositories. File names that match the patterns are
|
|
2161
|
+
* included in the index. File names that don't match the patterns are excluded
|
|
2162
|
+
* from the index. If a file matches both an inclusion and exclusion pattern, the
|
|
2163
|
+
* exclusion pattern takes precedence and the file isn't included in the index.</p>
|
|
2164
|
+
*/
|
|
2165
|
+
InclusionFileNamePatterns?: string[];
|
|
2166
|
+
/**
|
|
2167
|
+
* <p>A list of regular expression patterns to exclude certain folder names in your
|
|
2168
|
+
* GitHub repository or repositories. Folder names that match the patterns are excluded
|
|
2169
|
+
* from the index. Folder names that don't match the patterns are included in the index.
|
|
2170
|
+
* If a folder matches both an exclusion and inclusion pattern, the exclusion pattern
|
|
2171
|
+
* takes precedence and the folder isn't included in the index.</p>
|
|
2172
|
+
*/
|
|
2173
|
+
ExclusionFolderNamePatterns?: string[];
|
|
2174
|
+
/**
|
|
2175
|
+
* <p>A list of regular expression patterns to exclude certain file types in your
|
|
2176
|
+
* GitHub repository or repositories. File types that match the patterns are excluded
|
|
2177
|
+
* from the index. File types that don't match the patterns are included in the index.
|
|
2178
|
+
* If a file matches both an exclusion and inclusion pattern, the exclusion pattern
|
|
2179
|
+
* takes precedence and the file isn't included in the index.</p>
|
|
2180
|
+
*/
|
|
2181
|
+
ExclusionFileTypePatterns?: string[];
|
|
2182
|
+
/**
|
|
2183
|
+
* <p>A list of regular expression patterns to exclude certain file names in your
|
|
2184
|
+
* GitHub repository or repositories. File names that match the patterns are excluded
|
|
2185
|
+
* from the index. File names that don't match the patterns are included in the index.
|
|
2186
|
+
* If a file matches both an exclusion and inclusion pattern, the exclusion pattern
|
|
2187
|
+
* takes precedence and the file isn't included in the index.</p>
|
|
2188
|
+
*/
|
|
2189
|
+
ExclusionFileNamePatterns?: string[];
|
|
2190
|
+
/**
|
|
2191
|
+
* <p>Configuration information of an Amazon Virtual Private Cloud to connect to your
|
|
2192
|
+
* GitHub. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
2193
|
+
*/
|
|
2194
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
2195
|
+
/**
|
|
2196
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map GitHub
|
|
2197
|
+
* repository attributes or field names to Amazon Kendra index field names.
|
|
2198
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2199
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2200
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2201
|
+
*/
|
|
2202
|
+
GitHubRepositoryConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2203
|
+
/**
|
|
2204
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2205
|
+
* or field names of GitHub commits to Amazon Kendra index field names.
|
|
2206
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2207
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2208
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2209
|
+
*/
|
|
2210
|
+
GitHubCommitConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2211
|
+
/**
|
|
2212
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2213
|
+
* or field names of GitHub issues to Amazon Kendra index field names.
|
|
2214
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2215
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2216
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2217
|
+
*/
|
|
2218
|
+
GitHubIssueDocumentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2219
|
+
/**
|
|
2220
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2221
|
+
* or field names of GitHub issue comments to Amazon Kendra index field names.
|
|
2222
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2223
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2224
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2225
|
+
*/
|
|
2226
|
+
GitHubIssueCommentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2227
|
+
/**
|
|
2228
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2229
|
+
* or field names of GitHub issue attachments to Amazon Kendra index field names.
|
|
2230
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2231
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2232
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2233
|
+
*/
|
|
2234
|
+
GitHubIssueAttachmentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2235
|
+
/**
|
|
2236
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2237
|
+
* or field names of GitHub pull request comments to Amazon Kendra index field names.
|
|
2238
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2239
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2240
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2241
|
+
*/
|
|
2242
|
+
GitHubPullRequestCommentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2243
|
+
/**
|
|
2244
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2245
|
+
* or field names of GitHub pull requests to Amazon Kendra index field names.
|
|
2246
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2247
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2248
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2249
|
+
*/
|
|
2250
|
+
GitHubPullRequestDocumentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2251
|
+
/**
|
|
2252
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
2253
|
+
* or field names of GitHub pull request attachments to Amazon Kendra index field names.
|
|
2254
|
+
* To create custom fields, use the <code>UpdateIndex</code> API before you map to
|
|
2255
|
+
* GitHub fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
2256
|
+
* The GitHub data source field names must exist in your GitHub custom metadata.</p>
|
|
2257
|
+
*/
|
|
2258
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2259
|
+
}
|
|
2260
|
+
export declare namespace GitHubConfiguration {
|
|
2261
|
+
/**
|
|
2262
|
+
* @internal
|
|
2263
|
+
*/
|
|
2264
|
+
const filterSensitiveLog: (obj: GitHubConfiguration) => any;
|
|
2265
|
+
}
|
|
1987
2266
|
/**
|
|
1988
2267
|
* <p>Provides the configuration information to connect to
|
|
1989
2268
|
* Google Drive as your data source.</p>
|
|
@@ -2053,6 +2332,10 @@ export declare enum IssueSubEntity {
|
|
|
2053
2332
|
COMMENTS = "COMMENTS",
|
|
2054
2333
|
WORKLOGS = "WORKLOGS"
|
|
2055
2334
|
}
|
|
2335
|
+
/**
|
|
2336
|
+
* <p>Provides the configuration information to connect to Jira as your
|
|
2337
|
+
* data source.</p>
|
|
2338
|
+
*/
|
|
2056
2339
|
export interface JiraConfiguration {
|
|
2057
2340
|
/**
|
|
2058
2341
|
* <p>The URL of the Jira account. For example, company.attlassian.net or
|
|
@@ -2067,9 +2350,7 @@ export interface JiraConfiguration {
|
|
|
2067
2350
|
* contain a JSON structure with the following keys:</p>
|
|
2068
2351
|
* <ul>
|
|
2069
2352
|
* <li>
|
|
2070
|
-
* <p>jira-id—The
|
|
2071
|
-
* Domain Name System (DNS) domain name. For example,
|
|
2072
|
-
* <i>user@corp.example.com</i>.</p>
|
|
2353
|
+
* <p>jira-id—The ID of the Jira account.</p>
|
|
2073
2354
|
* </li>
|
|
2074
2355
|
* <li>
|
|
2075
2356
|
* <p>jiraCredentials—The password of the Jira account user.</p>
|
|
@@ -3583,6 +3864,11 @@ export interface DataSourceConfiguration {
|
|
|
3583
3864
|
* data source.</p>
|
|
3584
3865
|
*/
|
|
3585
3866
|
JiraConfiguration?: JiraConfiguration;
|
|
3867
|
+
/**
|
|
3868
|
+
* <p>Provides the configuration information to connect to GitHub as
|
|
3869
|
+
* your data source.</p>
|
|
3870
|
+
*/
|
|
3871
|
+
GitHubConfiguration?: GitHubConfiguration;
|
|
3586
3872
|
}
|
|
3587
3873
|
export declare namespace DataSourceConfiguration {
|
|
3588
3874
|
/**
|
|
@@ -3619,6 +3905,7 @@ export declare enum DataSourceType {
|
|
|
3619
3905
|
CUSTOM = "CUSTOM",
|
|
3620
3906
|
DATABASE = "DATABASE",
|
|
3621
3907
|
FSX = "FSX",
|
|
3908
|
+
GITHUB = "GITHUB",
|
|
3622
3909
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
3623
3910
|
JIRA = "JIRA",
|
|
3624
3911
|
ONEDRIVE = "ONEDRIVE",
|
|
@@ -3933,14 +4220,14 @@ export declare enum IndexEdition {
|
|
|
3933
4220
|
ENTERPRISE_EDITION = "ENTERPRISE_EDITION"
|
|
3934
4221
|
}
|
|
3935
4222
|
/**
|
|
3936
|
-
* <p>Provides the identifier of the
|
|
3937
|
-
*
|
|
3938
|
-
* asymmetric
|
|
4223
|
+
* <p>Provides the identifier of the KMS key used to
|
|
4224
|
+
* encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't
|
|
4225
|
+
* support asymmetric keys.</p>
|
|
3939
4226
|
*/
|
|
3940
4227
|
export interface ServerSideEncryptionConfiguration {
|
|
3941
4228
|
/**
|
|
3942
|
-
* <p>The identifier of the
|
|
3943
|
-
* doesn't support asymmetric
|
|
4229
|
+
* <p>The identifier of the KMS key. Amazon Kendra
|
|
4230
|
+
* doesn't support asymmetric keys.</p>
|
|
3944
4231
|
*/
|
|
3945
4232
|
KmsKeyId?: string;
|
|
3946
4233
|
}
|
|
@@ -904,6 +904,106 @@ export declare namespace FsxConfiguration {
|
|
|
904
904
|
const filterSensitiveLog: (obj: FsxConfiguration) => any;
|
|
905
905
|
}
|
|
906
906
|
|
|
907
|
+
export interface GitHubDocumentCrawlProperties {
|
|
908
|
+
|
|
909
|
+
CrawlRepositoryDocuments?: boolean;
|
|
910
|
+
|
|
911
|
+
CrawlIssue?: boolean;
|
|
912
|
+
|
|
913
|
+
CrawlIssueComment?: boolean;
|
|
914
|
+
|
|
915
|
+
CrawlIssueCommentAttachment?: boolean;
|
|
916
|
+
|
|
917
|
+
CrawlPullRequest?: boolean;
|
|
918
|
+
|
|
919
|
+
CrawlPullRequestComment?: boolean;
|
|
920
|
+
|
|
921
|
+
CrawlPullRequestCommentAttachment?: boolean;
|
|
922
|
+
}
|
|
923
|
+
export declare namespace GitHubDocumentCrawlProperties {
|
|
924
|
+
|
|
925
|
+
const filterSensitiveLog: (obj: GitHubDocumentCrawlProperties) => any;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export interface OnPremiseConfiguration {
|
|
929
|
+
|
|
930
|
+
HostUrl: string | undefined;
|
|
931
|
+
|
|
932
|
+
OrganizationName: string | undefined;
|
|
933
|
+
|
|
934
|
+
SslCertificateS3Path: S3Path | undefined;
|
|
935
|
+
}
|
|
936
|
+
export declare namespace OnPremiseConfiguration {
|
|
937
|
+
|
|
938
|
+
const filterSensitiveLog: (obj: OnPremiseConfiguration) => any;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export interface SaaSConfiguration {
|
|
942
|
+
|
|
943
|
+
OrganizationName: string | undefined;
|
|
944
|
+
|
|
945
|
+
HostUrl: string | undefined;
|
|
946
|
+
}
|
|
947
|
+
export declare namespace SaaSConfiguration {
|
|
948
|
+
|
|
949
|
+
const filterSensitiveLog: (obj: SaaSConfiguration) => any;
|
|
950
|
+
}
|
|
951
|
+
export declare enum Type {
|
|
952
|
+
ON_PREMISE = "ON_PREMISE",
|
|
953
|
+
SAAS = "SAAS"
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export interface GitHubConfiguration {
|
|
957
|
+
|
|
958
|
+
SaaSConfiguration?: SaaSConfiguration;
|
|
959
|
+
|
|
960
|
+
OnPremiseConfiguration?: OnPremiseConfiguration;
|
|
961
|
+
|
|
962
|
+
Type?: Type | string;
|
|
963
|
+
|
|
964
|
+
SecretArn: string | undefined;
|
|
965
|
+
|
|
966
|
+
UseChangeLog?: boolean;
|
|
967
|
+
|
|
968
|
+
GitHubDocumentCrawlProperties?: GitHubDocumentCrawlProperties;
|
|
969
|
+
|
|
970
|
+
RepositoryFilter?: string[];
|
|
971
|
+
|
|
972
|
+
InclusionFolderNamePatterns?: string[];
|
|
973
|
+
|
|
974
|
+
InclusionFileTypePatterns?: string[];
|
|
975
|
+
|
|
976
|
+
InclusionFileNamePatterns?: string[];
|
|
977
|
+
|
|
978
|
+
ExclusionFolderNamePatterns?: string[];
|
|
979
|
+
|
|
980
|
+
ExclusionFileTypePatterns?: string[];
|
|
981
|
+
|
|
982
|
+
ExclusionFileNamePatterns?: string[];
|
|
983
|
+
|
|
984
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
985
|
+
|
|
986
|
+
GitHubRepositoryConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
987
|
+
|
|
988
|
+
GitHubCommitConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
989
|
+
|
|
990
|
+
GitHubIssueDocumentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
991
|
+
|
|
992
|
+
GitHubIssueCommentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
993
|
+
|
|
994
|
+
GitHubIssueAttachmentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
995
|
+
|
|
996
|
+
GitHubPullRequestCommentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
997
|
+
|
|
998
|
+
GitHubPullRequestDocumentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
999
|
+
|
|
1000
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1001
|
+
}
|
|
1002
|
+
export declare namespace GitHubConfiguration {
|
|
1003
|
+
|
|
1004
|
+
const filterSensitiveLog: (obj: GitHubConfiguration) => any;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
907
1007
|
export interface GoogleDriveConfiguration {
|
|
908
1008
|
|
|
909
1009
|
SecretArn: string | undefined;
|
|
@@ -929,6 +1029,7 @@ export declare enum IssueSubEntity {
|
|
|
929
1029
|
COMMENTS = "COMMENTS",
|
|
930
1030
|
WORKLOGS = "WORKLOGS"
|
|
931
1031
|
}
|
|
1032
|
+
|
|
932
1033
|
export interface JiraConfiguration {
|
|
933
1034
|
|
|
934
1035
|
JiraAccountUrl: string | undefined;
|
|
@@ -1460,6 +1561,8 @@ export interface DataSourceConfiguration {
|
|
|
1460
1561
|
QuipConfiguration?: QuipConfiguration;
|
|
1461
1562
|
|
|
1462
1563
|
JiraConfiguration?: JiraConfiguration;
|
|
1564
|
+
|
|
1565
|
+
GitHubConfiguration?: GitHubConfiguration;
|
|
1463
1566
|
}
|
|
1464
1567
|
export declare namespace DataSourceConfiguration {
|
|
1465
1568
|
|
|
@@ -1482,6 +1585,7 @@ export declare enum DataSourceType {
|
|
|
1482
1585
|
CUSTOM = "CUSTOM",
|
|
1483
1586
|
DATABASE = "DATABASE",
|
|
1484
1587
|
FSX = "FSX",
|
|
1588
|
+
GITHUB = "GITHUB",
|
|
1485
1589
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
1486
1590
|
JIRA = "JIRA",
|
|
1487
1591
|
ONEDRIVE = "ONEDRIVE",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.104.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.100.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.100.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.99.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.99.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.99.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|