@@ -2491,6 +2491,162 @@ export namespace GoogleDriveConfiguration {
24912491 } ) ;
24922492}
24932493
2494+ export enum IssueSubEntity {
2495+ ATTACHMENTS = "ATTACHMENTS" ,
2496+ COMMENTS = "COMMENTS" ,
2497+ WORKLOGS = "WORKLOGS" ,
2498+ }
2499+
2500+ export interface JiraConfiguration {
2501+ /**
2502+ * <p>The URL of the Jira account. For example, company.attlassian.net or
2503+ * https://jira.company.com. You can find your Jira account URL in the URL of
2504+ * your profile page for Jira desktop.</p>
2505+ */
2506+ JiraAccountUrl : string | undefined ;
2507+
2508+ /**
2509+ * <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that
2510+ * contains the key-value pairs required to connect to your Jira
2511+ * data source. The secret must
2512+ * contain a JSON structure with the following keys:</p>
2513+ * <ul>
2514+ * <li>
2515+ * <p>jira-id—The Active Directory user name, along with the
2516+ * Domain Name System (DNS) domain name. For example,
2517+ 2518+ * </li>
2519+ * <li>
2520+ * <p>jiraCredentials—The password of the Jira account user.</p>
2521+ * </li>
2522+ * </ul>
2523+ */
2524+ SecretArn : string | undefined ;
2525+
2526+ /**
2527+ * <p>Specify to use the change log option to update your index.</p>
2528+ */
2529+ UseChangeLog ?: boolean ;
2530+
2531+ /**
2532+ * <p>Specify which projects to crawl in your Jira data source. You can specify
2533+ * one or more Jira project IDs.</p>
2534+ */
2535+ Project ?: string [ ] ;
2536+
2537+ /**
2538+ * <p>Specify which issue types to crawl in your Jira data source.
2539+ * You can specify one or more of these options to crawl.</p>
2540+ */
2541+ IssueType ?: string [ ] ;
2542+
2543+ /**
2544+ * <p>Specify which statuses to crawl in your Jira data source.
2545+ * You can specify one or more of these options to crawl.</p>
2546+ */
2547+ Status ?: string [ ] ;
2548+
2549+ /**
2550+ * <p>Specify whether to crawl comments,
2551+ * attachments,
2552+ * and work logs. You can specify one or more of these options.</p>
2553+ */
2554+ IssueSubEntityFilter ?: ( IssueSubEntity | string ) [ ] ;
2555+
2556+ /**
2557+ * <p>A list of DataSourceToIndexFieldMapping objects that map attributes
2558+ * or field names of Jira attachments to Amazon Kendra index field names.
2559+ * To create custom fields, use the UpdateIndex API before you map to Jira
2560+ * fields. For
2561+ * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
2562+ * Mapping data source fields</a>. The Jira data source field names
2563+ * must exist in your Jira custom metadata.</p>
2564+ */
2565+ AttachmentFieldMappings ?: DataSourceToIndexFieldMapping [ ] ;
2566+
2567+ /**
2568+ * <p>A list of DataSourceToIndexFieldMapping objects that map attributes
2569+ * or field names of Jira comments to Amazon Kendra index field names.
2570+ * To create custom fields, use the UpdateIndex API before you map to Jira
2571+ * fields. For
2572+ * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
2573+ * Mapping data source fields</a>. The Jira data source field names
2574+ * must exist in your Jira custom metadata.</p>
2575+ */
2576+ CommentFieldMappings ?: DataSourceToIndexFieldMapping [ ] ;
2577+
2578+ /**
2579+ * <p>A list of DataSourceToIndexFieldMapping objects that map attributes
2580+ * or field names of Jira issues to Amazon Kendra index field names.
2581+ * To create custom fields, use the UpdateIndex API before you map to Jira
2582+ * fields. For
2583+ * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
2584+ * Mapping data source fields</a>. The Jira data source field names
2585+ * must exist in your Jira custom metadata.</p>
2586+ */
2587+ IssueFieldMappings ?: DataSourceToIndexFieldMapping [ ] ;
2588+
2589+ /**
2590+ * <p>A list of DataSourceToIndexFieldMapping objects that map attributes
2591+ * or field names of Jira projects to Amazon Kendra index field names.
2592+ * To create custom fields, use the UpdateIndex API before you map to Jira
2593+ * fields. For
2594+ * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
2595+ * Mapping data source fields</a>. The Jira data source field names
2596+ * must exist in your Jira custom metadata.</p>
2597+ */
2598+ ProjectFieldMappings ?: DataSourceToIndexFieldMapping [ ] ;
2599+
2600+ /**
2601+ * <p>A list of DataSourceToIndexFieldMapping objects that map attributes
2602+ * or field names of Jira work logs to Amazon Kendra index field names.
2603+ * To create custom fields, use the UpdateIndex API before you map to Jira
2604+ * fields. For
2605+ * more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">
2606+ * Mapping data source fields</a>. The Jira data source field names
2607+ * must exist in your Jira custom metadata.</p>
2608+ */
2609+ WorkLogFieldMappings ?: DataSourceToIndexFieldMapping [ ] ;
2610+
2611+ /**
2612+ * <p>A list of regular expression patterns to include certain file paths,
2613+ * file
2614+ * names, and
2615+ * file types in your Jira data source. Files that match the patterns are included in the
2616+ * index. Files that don't match the patterns are excluded from the index. If a file
2617+ * matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes
2618+ * precedence and the file isn't included in the index.</p>
2619+ */
2620+ InclusionPatterns ?: string [ ] ;
2621+
2622+ /**
2623+ * <p>A list of regular expression patterns to exclude certain file paths,
2624+ * file names, and file types
2625+ * in your Jira data source. Files that match the patterns
2626+ * are excluded from the index. Files that don’t match the patterns are
2627+ * included in the index. If a file matches both an inclusion pattern
2628+ * and an exclusion pattern, the exclusion pattern takes precedence
2629+ * and the file isn't included in the index.</p>
2630+ */
2631+ ExclusionPatterns ?: string [ ] ;
2632+
2633+ /**
2634+ * <p>Configuration information for an
2635+ * Amazon Virtual Private Cloud to connect to your Jira. Your Jira
2636+ * account must reside inside your VPC.</p>
2637+ */
2638+ VpcConfiguration ?: DataSourceVpcConfiguration ;
2639+ }
2640+
2641+ export namespace JiraConfiguration {
2642+ /**
2643+ * @internal
2644+ */
2645+ export const filterSensitiveLog = ( obj : JiraConfiguration ) : any => ( {
2646+ ...obj ,
2647+ } ) ;
2648+ }
2649+
24942650/**
24952651 * <p>User accounts whose documents should be indexed.</p>
24962652 */
@@ -4099,6 +4255,12 @@ export interface DataSourceConfiguration {
40994255 * data source.</p>
41004256 */
41014257 QuipConfiguration ?: QuipConfiguration ;
4258+
4259+ /**
4260+ * <p>Provides the configuration information to connect to Jira as your
4261+ * data source.</p>
4262+ */
4263+ JiraConfiguration ?: JiraConfiguration ;
41024264}
41034265
41044266export namespace DataSourceConfiguration {
@@ -4145,6 +4307,7 @@ export enum DataSourceType {
41454307 DATABASE = "DATABASE" ,
41464308 FSX = "FSX" ,
41474309 GOOGLEDRIVE = "GOOGLEDRIVE" ,
4310+ JIRA = "JIRA" ,
41484311 ONEDRIVE = "ONEDRIVE" ,
41494312 QUIP = "QUIP" ,
41504313 S3 = "S3" ,
0 commit comments