aws-sdk-kendra 1.50.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -112,6 +112,176 @@ module Aws::Kendra
112
112
  include Aws::Structure
113
113
  end
114
114
 
115
+ # Provides the configuration information to connect to Alfresco as your
116
+ # data source.
117
+ #
118
+ # @note When making an API call, you may pass AlfrescoConfiguration
119
+ # data as a hash:
120
+ #
121
+ # {
122
+ # site_url: "SiteUrl", # required
123
+ # site_id: "SiteId", # required
124
+ # secret_arn: "SecretArn", # required
125
+ # ssl_certificate_s3_path: { # required
126
+ # bucket: "S3BucketName", # required
127
+ # key: "S3ObjectKey", # required
128
+ # },
129
+ # crawl_system_folders: false,
130
+ # crawl_comments: false,
131
+ # entity_filter: ["wiki"], # accepts wiki, blog, documentLibrary
132
+ # document_library_field_mappings: [
133
+ # {
134
+ # data_source_field_name: "DataSourceFieldName", # required
135
+ # date_field_format: "DataSourceDateFieldFormat",
136
+ # index_field_name: "IndexFieldName", # required
137
+ # },
138
+ # ],
139
+ # blog_field_mappings: [
140
+ # {
141
+ # data_source_field_name: "DataSourceFieldName", # required
142
+ # date_field_format: "DataSourceDateFieldFormat",
143
+ # index_field_name: "IndexFieldName", # required
144
+ # },
145
+ # ],
146
+ # wiki_field_mappings: [
147
+ # {
148
+ # data_source_field_name: "DataSourceFieldName", # required
149
+ # date_field_format: "DataSourceDateFieldFormat",
150
+ # index_field_name: "IndexFieldName", # required
151
+ # },
152
+ # ],
153
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
154
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
155
+ # vpc_configuration: {
156
+ # subnet_ids: ["SubnetId"], # required
157
+ # security_group_ids: ["VpcSecurityGroupId"], # required
158
+ # },
159
+ # }
160
+ #
161
+ # @!attribute [rw] site_url
162
+ # The URL of the Alfresco site. For example, *https://hostname:8080*.
163
+ # @return [String]
164
+ #
165
+ # @!attribute [rw] site_id
166
+ # The identifier of the Alfresco site. For example, *my-site*.
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] secret_arn
170
+ # The Amazon Resource Name (ARN) of an Secrets Manager secret that
171
+ # contains the key-value pairs required to connect to your Alfresco
172
+ # data source. The secret must contain a JSON structure with the
173
+ # following keys:
174
+ #
175
+ # * username—The user name of the Alfresco account.
176
+ #
177
+ # * password—The password of the Alfresco account.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] ssl_certificate_s3_path
181
+ # The path to the SSL certificate stored in an Amazon S3 bucket. You
182
+ # use this to connect to Alfresco.
183
+ # @return [Types::S3Path]
184
+ #
185
+ # @!attribute [rw] crawl_system_folders
186
+ # `TRUE` to index shared files.
187
+ # @return [Boolean]
188
+ #
189
+ # @!attribute [rw] crawl_comments
190
+ # `TRUE` to index comments of wikis and blogs.
191
+ # @return [Boolean]
192
+ #
193
+ # @!attribute [rw] entity_filter
194
+ # Specify whether to index document libraries, wikis, or blogs. You
195
+ # can specify one or more of these options.
196
+ # @return [Array<String>]
197
+ #
198
+ # @!attribute [rw] document_library_field_mappings
199
+ # A list of `DataSourceToIndexFieldMapping` objects that map
200
+ # attributes or field names of Alfresco document libraries to Amazon
201
+ # Kendra index field names. To create custom fields, use the
202
+ # `UpdateIndex` API before you map to Alfresco fields. For more
203
+ # information, see [ Mapping data source fields][1]. The Alfresco data
204
+ # source field names must exist in your Alfresco custom metadata.
205
+ #
206
+ #
207
+ #
208
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
209
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
210
+ #
211
+ # @!attribute [rw] blog_field_mappings
212
+ # A list of `DataSourceToIndexFieldMapping` objects that map
213
+ # attributes or field names of Alfresco blogs to Amazon Kendra index
214
+ # field names. To create custom fields, use the `UpdateIndex` API
215
+ # before you map to Alfresco fields. For more information, see [
216
+ # Mapping data source fields][1]. The Alfresco data source field names
217
+ # must exist in your Alfresco custom metadata.
218
+ #
219
+ #
220
+ #
221
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
222
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
223
+ #
224
+ # @!attribute [rw] wiki_field_mappings
225
+ # A list of `DataSourceToIndexFieldMapping` objects that map
226
+ # attributes or field names of Alfresco wikis to Amazon Kendra index
227
+ # field names. To create custom fields, use the `UpdateIndex` API
228
+ # before you map to Alfresco fields. For more information, see [
229
+ # Mapping data source fields][1]. The Alfresco data source field names
230
+ # must exist in your Alfresco custom metadata.
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
235
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
236
+ #
237
+ # @!attribute [rw] inclusion_patterns
238
+ # A list of regular expression patterns to include certain files in
239
+ # your Alfresco data source. Files that match the patterns are
240
+ # included in the index. Files that don't match the patterns are
241
+ # excluded from the index. If a file matches both an inclusion pattern
242
+ # and an exclusion pattern, the exclusion pattern takes precedence and
243
+ # the file isn't included in the index.
244
+ # @return [Array<String>]
245
+ #
246
+ # @!attribute [rw] exclusion_patterns
247
+ # A list of regular expression patterns to exclude certain files in
248
+ # your Alfresco data source. Files that match the patterns are
249
+ # excluded from the index. Files that don't match the patterns are
250
+ # included in the index. If a file matches both an inclusion pattern
251
+ # and an exclusion pattern, the exclusion pattern takes precedence and
252
+ # the file isn't included in the index.
253
+ # @return [Array<String>]
254
+ #
255
+ # @!attribute [rw] vpc_configuration
256
+ # Configuration information for an Amazon Virtual Private Cloud to
257
+ # connect to your Alfresco. For more information, see [Configuring a
258
+ # VPC][1].
259
+ #
260
+ #
261
+ #
262
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html
263
+ # @return [Types::DataSourceVpcConfiguration]
264
+ #
265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AlfrescoConfiguration AWS API Documentation
266
+ #
267
+ class AlfrescoConfiguration < Struct.new(
268
+ :site_url,
269
+ :site_id,
270
+ :secret_arn,
271
+ :ssl_certificate_s3_path,
272
+ :crawl_system_folders,
273
+ :crawl_comments,
274
+ :entity_filter,
275
+ :document_library_field_mappings,
276
+ :blog_field_mappings,
277
+ :wiki_field_mappings,
278
+ :inclusion_patterns,
279
+ :exclusion_patterns,
280
+ :vpc_configuration)
281
+ SENSITIVE = []
282
+ include Aws::Structure
283
+ end
284
+
115
285
  # @note When making an API call, you may pass AssociateEntitiesToExperienceRequest
116
286
  # data as a hash:
117
287
  #
@@ -1294,7 +1464,7 @@ module Aws::Kendra
1294
1464
  # @!attribute [rw] storage_capacity_units
1295
1465
  # The amount of extra storage capacity for an index. A single capacity
1296
1466
  # unit provides 30 GB of storage space or 100,000 documents, whichever
1297
- # is reached first.
1467
+ # is reached first. You can add up to 100 extra capacity units.
1298
1468
  # @return [Integer]
1299
1469
  #
1300
1470
  # @!attribute [rw] query_capacity_units
@@ -1302,7 +1472,8 @@ module Aws::Kendra
1302
1472
  # [GetQuerySuggestions][1] capacity.
1303
1473
  #
1304
1474
  # A single extra capacity unit for an index provides 0.1 queries per
1305
- # second or approximately 8,000 queries per day.
1475
+ # second or approximately 8,000 queries per day. You can add up to 100
1476
+ # extra capacity units.
1306
1477
  #
1307
1478
  # `GetQuerySuggestions` capacity is five times the provisioned query
1308
1479
  # capacity for an index, or the base capacity of 2.5 calls per second,
@@ -1461,8 +1632,7 @@ module Aws::Kendra
1461
1632
  # }
1462
1633
  #
1463
1634
  # @!attribute [rw] crawl_attachments
1464
- # Indicates whether Amazon Kendra indexes attachments to the pages and
1465
- # blogs in the Confluence data source.
1635
+ # `TRUE` to index attachments of pages and blogs in Confluence.
1466
1636
  # @return [Boolean]
1467
1637
  #
1468
1638
  # @!attribute [rw] attachment_field_mappings
@@ -1690,20 +1860,19 @@ module Aws::Kendra
1690
1860
  #
1691
1861
  # @!attribute [rw] secret_arn
1692
1862
  # The Amazon Resource Name (ARN) of an Secrets Manager secret that
1693
- # contains the key-value pairs required to connect to your Confluence
1694
- # server. The secret must contain a JSON structure with the following
1695
- # keys:
1863
+ # contains the user name and password required to connect to the
1864
+ # Confluence instance. If you use Confluence cloud, you use a
1865
+ # generated API token as the password. For more information, see
1866
+ # [Using a Confluemce data source][1].
1696
1867
  #
1697
- # * username—The user name or email address of a user with
1698
- # administrative privileges for the Confluence server.
1699
1868
  #
1700
- # * password—The password associated with the user logging in to the
1701
- # Confluence server.
1869
+ #
1870
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html
1702
1871
  # @return [String]
1703
1872
  #
1704
1873
  # @!attribute [rw] version
1705
- # Specifies the version of the Confluence installation that you are
1706
- # connecting to.
1874
+ # The version or the type of the Confluence installation to connect
1875
+ # to.
1707
1876
  # @return [String]
1708
1877
  #
1709
1878
  # @!attribute [rw] space_configuration
@@ -1744,9 +1913,9 @@ module Aws::Kendra
1744
1913
  # @return [Array<String>]
1745
1914
  #
1746
1915
  # @!attribute [rw] exclusion_patterns
1747
- # &gt;A list of regular expression patterns to exclude certain blog
1748
- # posts, pages, spaces, or attachments in your Confluence. Content
1749
- # that matches the patterns are excluded from the index. Content that
1916
+ # A list of regular expression patterns to exclude certain blog posts,
1917
+ # pages, spaces, or attachments in your Confluence. Content that
1918
+ # matches the patterns are excluded from the index. Content that
1750
1919
  # doesn't match the patterns is included in the index. If content
1751
1920
  # matches both an inclusion and exclusion pattern, the exclusion
1752
1921
  # pattern takes precedence and the content isn't included in the
@@ -1786,12 +1955,11 @@ module Aws::Kendra
1786
1955
  # }
1787
1956
  #
1788
1957
  # @!attribute [rw] page_field_mappings
1789
- # &gt;Maps attributes or field names of Confluence pages to Amazon
1790
- # Kendra index field names. To create custom fields, use the
1791
- # `UpdateIndex` API before you map to Confluence fields. For more
1792
- # information, see [Mapping data source fields][1]. The Confluence
1793
- # data source field names must exist in your Confluence custom
1794
- # metadata.
1958
+ # Maps attributes or field names of Confluence pages to Amazon Kendra
1959
+ # index field names. To create custom fields, use the `UpdateIndex`
1960
+ # API before you map to Confluence fields. For more information, see
1961
+ # [Mapping data source fields][1]. The Confluence data source field
1962
+ # names must exist in your Confluence custom metadata.
1795
1963
  #
1796
1964
  # If you specify the `PageFieldMappings` parameter, you must specify
1797
1965
  # at least one field mapping.
@@ -1874,11 +2042,11 @@ module Aws::Kendra
1874
2042
  # }
1875
2043
  #
1876
2044
  # @!attribute [rw] crawl_personal_spaces
1877
- # Specifies whether Amazon Kendra should index personal spaces. Users
1878
- # can add restrictions to items in personal spaces. If personal spaces
1879
- # are indexed, queries without user context information may return
1880
- # restricted items from a personal space in their results. For more
1881
- # information, see [Filtering on user context][1].
2045
+ # `TRUE` to index personal spaces. You can add restrictions to items
2046
+ # in personal spaces. If personal spaces are indexed, queries without
2047
+ # user context information may return restricted items from a personal
2048
+ # space in their results. For more information, see [Filtering on user
2049
+ # context][1].
1882
2050
  #
1883
2051
  #
1884
2052
  #
@@ -1886,7 +2054,7 @@ module Aws::Kendra
1886
2054
  # @return [Boolean]
1887
2055
  #
1888
2056
  # @!attribute [rw] crawl_archived_spaces
1889
- # Specifies whether Amazon Kendra should index archived spaces.
2057
+ # `TRUE` to index archived spaces.
1890
2058
  # @return [Boolean]
1891
2059
  #
1892
2060
  # @!attribute [rw] include_spaces
@@ -2112,7 +2280,7 @@ module Aws::Kendra
2112
2280
  # {
2113
2281
  # name: "DataSourceName", # required
2114
2282
  # index_id: "IndexId", # required
2115
- # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP
2283
+ # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP, JIRA, GITHUB, ALFRESCO
2116
2284
  # configuration: {
2117
2285
  # s3_configuration: {
2118
2286
  # bucket_name: "S3BucketName", # required
@@ -2544,105 +2712,287 @@ module Aws::Kendra
2544
2712
  # security_group_ids: ["VpcSecurityGroupId"], # required
2545
2713
  # },
2546
2714
  # },
2547
- # },
2548
- # description: "Description",
2549
- # schedule: "ScanSchedule",
2550
- # role_arn: "RoleArn",
2551
- # tags: [
2552
- # {
2553
- # key: "TagKey", # required
2554
- # value: "TagValue", # required
2555
- # },
2556
- # ],
2557
- # client_token: "ClientTokenName",
2558
- # language_code: "LanguageCode",
2559
- # custom_document_enrichment_configuration: {
2560
- # inline_configurations: [
2561
- # {
2562
- # condition: {
2563
- # condition_document_attribute_key: "DocumentAttributeKey", # required
2564
- # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2565
- # condition_on_value: {
2566
- # string_value: "DocumentAttributeStringValue",
2567
- # string_list_value: ["String"],
2568
- # long_value: 1,
2569
- # date_value: Time.now,
2570
- # },
2715
+ # jira_configuration: {
2716
+ # jira_account_url: "JiraAccountUrl", # required
2717
+ # secret_arn: "SecretArn", # required
2718
+ # use_change_log: false,
2719
+ # project: ["String"],
2720
+ # issue_type: ["String"],
2721
+ # status: ["String"],
2722
+ # issue_sub_entity_filter: ["COMMENTS"], # accepts COMMENTS, ATTACHMENTS, WORKLOGS
2723
+ # attachment_field_mappings: [
2724
+ # {
2725
+ # data_source_field_name: "DataSourceFieldName", # required
2726
+ # date_field_format: "DataSourceDateFieldFormat",
2727
+ # index_field_name: "IndexFieldName", # required
2571
2728
  # },
2572
- # target: {
2573
- # target_document_attribute_key: "DocumentAttributeKey",
2574
- # target_document_attribute_value_deletion: false,
2575
- # target_document_attribute_value: {
2576
- # string_value: "DocumentAttributeStringValue",
2577
- # string_list_value: ["String"],
2578
- # long_value: 1,
2579
- # date_value: Time.now,
2580
- # },
2729
+ # ],
2730
+ # comment_field_mappings: [
2731
+ # {
2732
+ # data_source_field_name: "DataSourceFieldName", # required
2733
+ # date_field_format: "DataSourceDateFieldFormat",
2734
+ # index_field_name: "IndexFieldName", # required
2581
2735
  # },
2582
- # document_content_deletion: false,
2583
- # },
2584
- # ],
2585
- # pre_extraction_hook_configuration: {
2586
- # invocation_condition: {
2587
- # condition_document_attribute_key: "DocumentAttributeKey", # required
2588
- # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2589
- # condition_on_value: {
2590
- # string_value: "DocumentAttributeStringValue",
2591
- # string_list_value: ["String"],
2592
- # long_value: 1,
2593
- # date_value: Time.now,
2736
+ # ],
2737
+ # issue_field_mappings: [
2738
+ # {
2739
+ # data_source_field_name: "DataSourceFieldName", # required
2740
+ # date_field_format: "DataSourceDateFieldFormat",
2741
+ # index_field_name: "IndexFieldName", # required
2742
+ # },
2743
+ # ],
2744
+ # project_field_mappings: [
2745
+ # {
2746
+ # data_source_field_name: "DataSourceFieldName", # required
2747
+ # date_field_format: "DataSourceDateFieldFormat",
2748
+ # index_field_name: "IndexFieldName", # required
2749
+ # },
2750
+ # ],
2751
+ # work_log_field_mappings: [
2752
+ # {
2753
+ # data_source_field_name: "DataSourceFieldName", # required
2754
+ # date_field_format: "DataSourceDateFieldFormat",
2755
+ # index_field_name: "IndexFieldName", # required
2594
2756
  # },
2757
+ # ],
2758
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2759
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2760
+ # vpc_configuration: {
2761
+ # subnet_ids: ["SubnetId"], # required
2762
+ # security_group_ids: ["VpcSecurityGroupId"], # required
2595
2763
  # },
2596
- # lambda_arn: "LambdaArn", # required
2597
- # s3_bucket: "S3BucketName", # required
2598
2764
  # },
2599
- # post_extraction_hook_configuration: {
2600
- # invocation_condition: {
2601
- # condition_document_attribute_key: "DocumentAttributeKey", # required
2602
- # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2603
- # condition_on_value: {
2604
- # string_value: "DocumentAttributeStringValue",
2605
- # string_list_value: ["String"],
2606
- # long_value: 1,
2607
- # date_value: Time.now,
2765
+ # git_hub_configuration: {
2766
+ # saa_s_configuration: {
2767
+ # organization_name: "OrganizationName", # required
2768
+ # host_url: "Url", # required
2769
+ # },
2770
+ # on_premise_configuration: {
2771
+ # host_url: "Url", # required
2772
+ # organization_name: "OrganizationName", # required
2773
+ # ssl_certificate_s3_path: { # required
2774
+ # bucket: "S3BucketName", # required
2775
+ # key: "S3ObjectKey", # required
2608
2776
  # },
2609
2777
  # },
2610
- # lambda_arn: "LambdaArn", # required
2611
- # s3_bucket: "S3BucketName", # required
2612
- # },
2613
- # role_arn: "RoleArn",
2614
- # },
2615
- # }
2616
- #
2617
- # @!attribute [rw] name
2618
- # A unique name for the data source. A data source name can't be
2619
- # changed without deleting and recreating the data source.
2620
- # @return [String]
2621
- #
2622
- # @!attribute [rw] index_id
2623
- # The identifier of the index that should be associated with this data
2624
- # source.
2625
- # @return [String]
2626
- #
2627
- # @!attribute [rw] type
2628
- # The type of repository that contains the data source.
2629
- # @return [String]
2630
- #
2631
- # @!attribute [rw] configuration
2632
- # Configuration information that is required to access the data source
2633
- # repository.
2634
- #
2635
- # You can't specify the `Configuration` parameter when the `Type`
2636
- # parameter is set to `CUSTOM`. If you do, you receive a
2637
- # `ValidationException` exception.
2638
- #
2639
- # The `Configuration` parameter is required for all other data
2640
- # sources.
2641
- # @return [Types::DataSourceConfiguration]
2642
- #
2643
- # @!attribute [rw] description
2644
- # A description for the data source.
2645
- # @return [String]
2778
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
2779
+ # secret_arn: "SecretArn", # required
2780
+ # use_change_log: false,
2781
+ # git_hub_document_crawl_properties: {
2782
+ # crawl_repository_documents: false,
2783
+ # crawl_issue: false,
2784
+ # crawl_issue_comment: false,
2785
+ # crawl_issue_comment_attachment: false,
2786
+ # crawl_pull_request: false,
2787
+ # crawl_pull_request_comment: false,
2788
+ # crawl_pull_request_comment_attachment: false,
2789
+ # },
2790
+ # repository_filter: ["RepositoryName"],
2791
+ # inclusion_folder_name_patterns: ["String"],
2792
+ # inclusion_file_type_patterns: ["String"],
2793
+ # inclusion_file_name_patterns: ["String"],
2794
+ # exclusion_folder_name_patterns: ["String"],
2795
+ # exclusion_file_type_patterns: ["String"],
2796
+ # exclusion_file_name_patterns: ["String"],
2797
+ # vpc_configuration: {
2798
+ # subnet_ids: ["SubnetId"], # required
2799
+ # security_group_ids: ["VpcSecurityGroupId"], # required
2800
+ # },
2801
+ # git_hub_repository_configuration_field_mappings: [
2802
+ # {
2803
+ # data_source_field_name: "DataSourceFieldName", # required
2804
+ # date_field_format: "DataSourceDateFieldFormat",
2805
+ # index_field_name: "IndexFieldName", # required
2806
+ # },
2807
+ # ],
2808
+ # git_hub_commit_configuration_field_mappings: [
2809
+ # {
2810
+ # data_source_field_name: "DataSourceFieldName", # required
2811
+ # date_field_format: "DataSourceDateFieldFormat",
2812
+ # index_field_name: "IndexFieldName", # required
2813
+ # },
2814
+ # ],
2815
+ # git_hub_issue_document_configuration_field_mappings: [
2816
+ # {
2817
+ # data_source_field_name: "DataSourceFieldName", # required
2818
+ # date_field_format: "DataSourceDateFieldFormat",
2819
+ # index_field_name: "IndexFieldName", # required
2820
+ # },
2821
+ # ],
2822
+ # git_hub_issue_comment_configuration_field_mappings: [
2823
+ # {
2824
+ # data_source_field_name: "DataSourceFieldName", # required
2825
+ # date_field_format: "DataSourceDateFieldFormat",
2826
+ # index_field_name: "IndexFieldName", # required
2827
+ # },
2828
+ # ],
2829
+ # git_hub_issue_attachment_configuration_field_mappings: [
2830
+ # {
2831
+ # data_source_field_name: "DataSourceFieldName", # required
2832
+ # date_field_format: "DataSourceDateFieldFormat",
2833
+ # index_field_name: "IndexFieldName", # required
2834
+ # },
2835
+ # ],
2836
+ # git_hub_pull_request_comment_configuration_field_mappings: [
2837
+ # {
2838
+ # data_source_field_name: "DataSourceFieldName", # required
2839
+ # date_field_format: "DataSourceDateFieldFormat",
2840
+ # index_field_name: "IndexFieldName", # required
2841
+ # },
2842
+ # ],
2843
+ # git_hub_pull_request_document_configuration_field_mappings: [
2844
+ # {
2845
+ # data_source_field_name: "DataSourceFieldName", # required
2846
+ # date_field_format: "DataSourceDateFieldFormat",
2847
+ # index_field_name: "IndexFieldName", # required
2848
+ # },
2849
+ # ],
2850
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
2851
+ # {
2852
+ # data_source_field_name: "DataSourceFieldName", # required
2853
+ # date_field_format: "DataSourceDateFieldFormat",
2854
+ # index_field_name: "IndexFieldName", # required
2855
+ # },
2856
+ # ],
2857
+ # },
2858
+ # alfresco_configuration: {
2859
+ # site_url: "SiteUrl", # required
2860
+ # site_id: "SiteId", # required
2861
+ # secret_arn: "SecretArn", # required
2862
+ # ssl_certificate_s3_path: { # required
2863
+ # bucket: "S3BucketName", # required
2864
+ # key: "S3ObjectKey", # required
2865
+ # },
2866
+ # crawl_system_folders: false,
2867
+ # crawl_comments: false,
2868
+ # entity_filter: ["wiki"], # accepts wiki, blog, documentLibrary
2869
+ # document_library_field_mappings: [
2870
+ # {
2871
+ # data_source_field_name: "DataSourceFieldName", # required
2872
+ # date_field_format: "DataSourceDateFieldFormat",
2873
+ # index_field_name: "IndexFieldName", # required
2874
+ # },
2875
+ # ],
2876
+ # blog_field_mappings: [
2877
+ # {
2878
+ # data_source_field_name: "DataSourceFieldName", # required
2879
+ # date_field_format: "DataSourceDateFieldFormat",
2880
+ # index_field_name: "IndexFieldName", # required
2881
+ # },
2882
+ # ],
2883
+ # wiki_field_mappings: [
2884
+ # {
2885
+ # data_source_field_name: "DataSourceFieldName", # required
2886
+ # date_field_format: "DataSourceDateFieldFormat",
2887
+ # index_field_name: "IndexFieldName", # required
2888
+ # },
2889
+ # ],
2890
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2891
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2892
+ # vpc_configuration: {
2893
+ # subnet_ids: ["SubnetId"], # required
2894
+ # security_group_ids: ["VpcSecurityGroupId"], # required
2895
+ # },
2896
+ # },
2897
+ # },
2898
+ # description: "Description",
2899
+ # schedule: "ScanSchedule",
2900
+ # role_arn: "RoleArn",
2901
+ # tags: [
2902
+ # {
2903
+ # key: "TagKey", # required
2904
+ # value: "TagValue", # required
2905
+ # },
2906
+ # ],
2907
+ # client_token: "ClientTokenName",
2908
+ # language_code: "LanguageCode",
2909
+ # custom_document_enrichment_configuration: {
2910
+ # inline_configurations: [
2911
+ # {
2912
+ # condition: {
2913
+ # condition_document_attribute_key: "DocumentAttributeKey", # required
2914
+ # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2915
+ # condition_on_value: {
2916
+ # string_value: "DocumentAttributeStringValue",
2917
+ # string_list_value: ["String"],
2918
+ # long_value: 1,
2919
+ # date_value: Time.now,
2920
+ # },
2921
+ # },
2922
+ # target: {
2923
+ # target_document_attribute_key: "DocumentAttributeKey",
2924
+ # target_document_attribute_value_deletion: false,
2925
+ # target_document_attribute_value: {
2926
+ # string_value: "DocumentAttributeStringValue",
2927
+ # string_list_value: ["String"],
2928
+ # long_value: 1,
2929
+ # date_value: Time.now,
2930
+ # },
2931
+ # },
2932
+ # document_content_deletion: false,
2933
+ # },
2934
+ # ],
2935
+ # pre_extraction_hook_configuration: {
2936
+ # invocation_condition: {
2937
+ # condition_document_attribute_key: "DocumentAttributeKey", # required
2938
+ # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2939
+ # condition_on_value: {
2940
+ # string_value: "DocumentAttributeStringValue",
2941
+ # string_list_value: ["String"],
2942
+ # long_value: 1,
2943
+ # date_value: Time.now,
2944
+ # },
2945
+ # },
2946
+ # lambda_arn: "LambdaArn", # required
2947
+ # s3_bucket: "S3BucketName", # required
2948
+ # },
2949
+ # post_extraction_hook_configuration: {
2950
+ # invocation_condition: {
2951
+ # condition_document_attribute_key: "DocumentAttributeKey", # required
2952
+ # operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
2953
+ # condition_on_value: {
2954
+ # string_value: "DocumentAttributeStringValue",
2955
+ # string_list_value: ["String"],
2956
+ # long_value: 1,
2957
+ # date_value: Time.now,
2958
+ # },
2959
+ # },
2960
+ # lambda_arn: "LambdaArn", # required
2961
+ # s3_bucket: "S3BucketName", # required
2962
+ # },
2963
+ # role_arn: "RoleArn",
2964
+ # },
2965
+ # }
2966
+ #
2967
+ # @!attribute [rw] name
2968
+ # A unique name for the data source. A data source name can't be
2969
+ # changed without deleting and recreating the data source.
2970
+ # @return [String]
2971
+ #
2972
+ # @!attribute [rw] index_id
2973
+ # The identifier of the index that should be associated with this data
2974
+ # source.
2975
+ # @return [String]
2976
+ #
2977
+ # @!attribute [rw] type
2978
+ # The type of repository that contains the data source.
2979
+ # @return [String]
2980
+ #
2981
+ # @!attribute [rw] configuration
2982
+ # Configuration information that is required to access the data source
2983
+ # repository.
2984
+ #
2985
+ # You can't specify the `Configuration` parameter when the `Type`
2986
+ # parameter is set to `CUSTOM`. If you do, you receive a
2987
+ # `ValidationException` exception.
2988
+ #
2989
+ # The `Configuration` parameter is required for all other data
2990
+ # sources.
2991
+ # @return [Types::DataSourceConfiguration]
2992
+ #
2993
+ # @!attribute [rw] description
2994
+ # A description for the data source.
2995
+ # @return [String]
2646
2996
  #
2647
2997
  # @!attribute [rw] schedule
2648
2998
  # Sets the frequency for Amazon Kendra to check the documents in your
@@ -3850,77 +4200,274 @@ module Aws::Kendra
3850
4200
  # security_group_ids: ["VpcSecurityGroupId"], # required
3851
4201
  # },
3852
4202
  # },
3853
- # }
3854
- #
3855
- # @!attribute [rw] s3_configuration
3856
- # Provides the configuration information to connect to an Amazon S3
3857
- # bucket as your data source.
3858
- # @return [Types::S3DataSourceConfiguration]
3859
- #
3860
- # @!attribute [rw] share_point_configuration
3861
- # Provides the configuration information to connect to Microsoft
3862
- # SharePoint as your data source.
3863
- # @return [Types::SharePointConfiguration]
3864
- #
3865
- # @!attribute [rw] database_configuration
3866
- # Provides the configuration information to connect to a database as
3867
- # your data source.
3868
- # @return [Types::DatabaseConfiguration]
3869
- #
3870
- # @!attribute [rw] salesforce_configuration
3871
- # Provides the configuration information to connect to Salesforce as
3872
- # your data source.
3873
- # @return [Types::SalesforceConfiguration]
3874
- #
3875
- # @!attribute [rw] one_drive_configuration
3876
- # Provides the configuration information to connect to Microsoft
3877
- # OneDrive as your data source.
3878
- # @return [Types::OneDriveConfiguration]
3879
- #
3880
- # @!attribute [rw] service_now_configuration
3881
- # Provides the configuration information to connect to ServiceNow as
3882
- # your data source.
3883
- # @return [Types::ServiceNowConfiguration]
3884
- #
3885
- # @!attribute [rw] confluence_configuration
3886
- # Provides the configuration information to connect to Confluence as
3887
- # your data source.
3888
- # @return [Types::ConfluenceConfiguration]
3889
- #
3890
- # @!attribute [rw] google_drive_configuration
3891
- # Provides the configuration information to connect to Google Drive as
3892
- # your data source.
3893
- # @return [Types::GoogleDriveConfiguration]
3894
- #
3895
- # @!attribute [rw] web_crawler_configuration
3896
- # Provides the configuration information required for Amazon Kendra
3897
- # Web Crawler.
3898
- # @return [Types::WebCrawlerConfiguration]
3899
- #
3900
- # @!attribute [rw] work_docs_configuration
3901
- # Provides the configuration information to connect to Amazon WorkDocs
3902
- # as your data source.
3903
- # @return [Types::WorkDocsConfiguration]
3904
- #
3905
- # @!attribute [rw] fsx_configuration
3906
- # Provides the configuration information to connect to Amazon FSx as
3907
- # your data source.
3908
- # @return [Types::FsxConfiguration]
3909
- #
3910
- # @!attribute [rw] slack_configuration
3911
- # Provides the configuration information to connect to Slack as your
3912
- # data source.
3913
- # @return [Types::SlackConfiguration]
3914
- #
3915
- # @!attribute [rw] box_configuration
3916
- # Provides the configuration information to connect to Box as your
3917
- # data source.
3918
- # @return [Types::BoxConfiguration]
3919
- #
3920
- # @!attribute [rw] quip_configuration
3921
- # Provides the configuration information to connect to Quip as your
3922
- # data source.
3923
- # @return [Types::QuipConfiguration]
4203
+ # jira_configuration: {
4204
+ # jira_account_url: "JiraAccountUrl", # required
4205
+ # secret_arn: "SecretArn", # required
4206
+ # use_change_log: false,
4207
+ # project: ["String"],
4208
+ # issue_type: ["String"],
4209
+ # status: ["String"],
4210
+ # issue_sub_entity_filter: ["COMMENTS"], # accepts COMMENTS, ATTACHMENTS, WORKLOGS
4211
+ # attachment_field_mappings: [
4212
+ # {
4213
+ # data_source_field_name: "DataSourceFieldName", # required
4214
+ # date_field_format: "DataSourceDateFieldFormat",
4215
+ # index_field_name: "IndexFieldName", # required
4216
+ # },
4217
+ # ],
4218
+ # comment_field_mappings: [
4219
+ # {
4220
+ # data_source_field_name: "DataSourceFieldName", # required
4221
+ # date_field_format: "DataSourceDateFieldFormat",
4222
+ # index_field_name: "IndexFieldName", # required
4223
+ # },
4224
+ # ],
4225
+ # issue_field_mappings: [
4226
+ # {
4227
+ # data_source_field_name: "DataSourceFieldName", # required
4228
+ # date_field_format: "DataSourceDateFieldFormat",
4229
+ # index_field_name: "IndexFieldName", # required
4230
+ # },
4231
+ # ],
4232
+ # project_field_mappings: [
4233
+ # {
4234
+ # data_source_field_name: "DataSourceFieldName", # required
4235
+ # date_field_format: "DataSourceDateFieldFormat",
4236
+ # index_field_name: "IndexFieldName", # required
4237
+ # },
4238
+ # ],
4239
+ # work_log_field_mappings: [
4240
+ # {
4241
+ # data_source_field_name: "DataSourceFieldName", # required
4242
+ # date_field_format: "DataSourceDateFieldFormat",
4243
+ # index_field_name: "IndexFieldName", # required
4244
+ # },
4245
+ # ],
4246
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4247
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4248
+ # vpc_configuration: {
4249
+ # subnet_ids: ["SubnetId"], # required
4250
+ # security_group_ids: ["VpcSecurityGroupId"], # required
4251
+ # },
4252
+ # },
4253
+ # git_hub_configuration: {
4254
+ # saa_s_configuration: {
4255
+ # organization_name: "OrganizationName", # required
4256
+ # host_url: "Url", # required
4257
+ # },
4258
+ # on_premise_configuration: {
4259
+ # host_url: "Url", # required
4260
+ # organization_name: "OrganizationName", # required
4261
+ # ssl_certificate_s3_path: { # required
4262
+ # bucket: "S3BucketName", # required
4263
+ # key: "S3ObjectKey", # required
4264
+ # },
4265
+ # },
4266
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
4267
+ # secret_arn: "SecretArn", # required
4268
+ # use_change_log: false,
4269
+ # git_hub_document_crawl_properties: {
4270
+ # crawl_repository_documents: false,
4271
+ # crawl_issue: false,
4272
+ # crawl_issue_comment: false,
4273
+ # crawl_issue_comment_attachment: false,
4274
+ # crawl_pull_request: false,
4275
+ # crawl_pull_request_comment: false,
4276
+ # crawl_pull_request_comment_attachment: false,
4277
+ # },
4278
+ # repository_filter: ["RepositoryName"],
4279
+ # inclusion_folder_name_patterns: ["String"],
4280
+ # inclusion_file_type_patterns: ["String"],
4281
+ # inclusion_file_name_patterns: ["String"],
4282
+ # exclusion_folder_name_patterns: ["String"],
4283
+ # exclusion_file_type_patterns: ["String"],
4284
+ # exclusion_file_name_patterns: ["String"],
4285
+ # vpc_configuration: {
4286
+ # subnet_ids: ["SubnetId"], # required
4287
+ # security_group_ids: ["VpcSecurityGroupId"], # required
4288
+ # },
4289
+ # git_hub_repository_configuration_field_mappings: [
4290
+ # {
4291
+ # data_source_field_name: "DataSourceFieldName", # required
4292
+ # date_field_format: "DataSourceDateFieldFormat",
4293
+ # index_field_name: "IndexFieldName", # required
4294
+ # },
4295
+ # ],
4296
+ # git_hub_commit_configuration_field_mappings: [
4297
+ # {
4298
+ # data_source_field_name: "DataSourceFieldName", # required
4299
+ # date_field_format: "DataSourceDateFieldFormat",
4300
+ # index_field_name: "IndexFieldName", # required
4301
+ # },
4302
+ # ],
4303
+ # git_hub_issue_document_configuration_field_mappings: [
4304
+ # {
4305
+ # data_source_field_name: "DataSourceFieldName", # required
4306
+ # date_field_format: "DataSourceDateFieldFormat",
4307
+ # index_field_name: "IndexFieldName", # required
4308
+ # },
4309
+ # ],
4310
+ # git_hub_issue_comment_configuration_field_mappings: [
4311
+ # {
4312
+ # data_source_field_name: "DataSourceFieldName", # required
4313
+ # date_field_format: "DataSourceDateFieldFormat",
4314
+ # index_field_name: "IndexFieldName", # required
4315
+ # },
4316
+ # ],
4317
+ # git_hub_issue_attachment_configuration_field_mappings: [
4318
+ # {
4319
+ # data_source_field_name: "DataSourceFieldName", # required
4320
+ # date_field_format: "DataSourceDateFieldFormat",
4321
+ # index_field_name: "IndexFieldName", # required
4322
+ # },
4323
+ # ],
4324
+ # git_hub_pull_request_comment_configuration_field_mappings: [
4325
+ # {
4326
+ # data_source_field_name: "DataSourceFieldName", # required
4327
+ # date_field_format: "DataSourceDateFieldFormat",
4328
+ # index_field_name: "IndexFieldName", # required
4329
+ # },
4330
+ # ],
4331
+ # git_hub_pull_request_document_configuration_field_mappings: [
4332
+ # {
4333
+ # data_source_field_name: "DataSourceFieldName", # required
4334
+ # date_field_format: "DataSourceDateFieldFormat",
4335
+ # index_field_name: "IndexFieldName", # required
4336
+ # },
4337
+ # ],
4338
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
4339
+ # {
4340
+ # data_source_field_name: "DataSourceFieldName", # required
4341
+ # date_field_format: "DataSourceDateFieldFormat",
4342
+ # index_field_name: "IndexFieldName", # required
4343
+ # },
4344
+ # ],
4345
+ # },
4346
+ # alfresco_configuration: {
4347
+ # site_url: "SiteUrl", # required
4348
+ # site_id: "SiteId", # required
4349
+ # secret_arn: "SecretArn", # required
4350
+ # ssl_certificate_s3_path: { # required
4351
+ # bucket: "S3BucketName", # required
4352
+ # key: "S3ObjectKey", # required
4353
+ # },
4354
+ # crawl_system_folders: false,
4355
+ # crawl_comments: false,
4356
+ # entity_filter: ["wiki"], # accepts wiki, blog, documentLibrary
4357
+ # document_library_field_mappings: [
4358
+ # {
4359
+ # data_source_field_name: "DataSourceFieldName", # required
4360
+ # date_field_format: "DataSourceDateFieldFormat",
4361
+ # index_field_name: "IndexFieldName", # required
4362
+ # },
4363
+ # ],
4364
+ # blog_field_mappings: [
4365
+ # {
4366
+ # data_source_field_name: "DataSourceFieldName", # required
4367
+ # date_field_format: "DataSourceDateFieldFormat",
4368
+ # index_field_name: "IndexFieldName", # required
4369
+ # },
4370
+ # ],
4371
+ # wiki_field_mappings: [
4372
+ # {
4373
+ # data_source_field_name: "DataSourceFieldName", # required
4374
+ # date_field_format: "DataSourceDateFieldFormat",
4375
+ # index_field_name: "IndexFieldName", # required
4376
+ # },
4377
+ # ],
4378
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4379
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4380
+ # vpc_configuration: {
4381
+ # subnet_ids: ["SubnetId"], # required
4382
+ # security_group_ids: ["VpcSecurityGroupId"], # required
4383
+ # },
4384
+ # },
4385
+ # }
4386
+ #
4387
+ # @!attribute [rw] s3_configuration
4388
+ # Provides the configuration information to connect to an Amazon S3
4389
+ # bucket as your data source.
4390
+ # @return [Types::S3DataSourceConfiguration]
4391
+ #
4392
+ # @!attribute [rw] share_point_configuration
4393
+ # Provides the configuration information to connect to Microsoft
4394
+ # SharePoint as your data source.
4395
+ # @return [Types::SharePointConfiguration]
4396
+ #
4397
+ # @!attribute [rw] database_configuration
4398
+ # Provides the configuration information to connect to a database as
4399
+ # your data source.
4400
+ # @return [Types::DatabaseConfiguration]
4401
+ #
4402
+ # @!attribute [rw] salesforce_configuration
4403
+ # Provides the configuration information to connect to Salesforce as
4404
+ # your data source.
4405
+ # @return [Types::SalesforceConfiguration]
4406
+ #
4407
+ # @!attribute [rw] one_drive_configuration
4408
+ # Provides the configuration information to connect to Microsoft
4409
+ # OneDrive as your data source.
4410
+ # @return [Types::OneDriveConfiguration]
4411
+ #
4412
+ # @!attribute [rw] service_now_configuration
4413
+ # Provides the configuration information to connect to ServiceNow as
4414
+ # your data source.
4415
+ # @return [Types::ServiceNowConfiguration]
4416
+ #
4417
+ # @!attribute [rw] confluence_configuration
4418
+ # Provides the configuration information to connect to Confluence as
4419
+ # your data source.
4420
+ # @return [Types::ConfluenceConfiguration]
4421
+ #
4422
+ # @!attribute [rw] google_drive_configuration
4423
+ # Provides the configuration information to connect to Google Drive as
4424
+ # your data source.
4425
+ # @return [Types::GoogleDriveConfiguration]
4426
+ #
4427
+ # @!attribute [rw] web_crawler_configuration
4428
+ # Provides the configuration information required for Amazon Kendra
4429
+ # Web Crawler.
4430
+ # @return [Types::WebCrawlerConfiguration]
4431
+ #
4432
+ # @!attribute [rw] work_docs_configuration
4433
+ # Provides the configuration information to connect to Amazon WorkDocs
4434
+ # as your data source.
4435
+ # @return [Types::WorkDocsConfiguration]
4436
+ #
4437
+ # @!attribute [rw] fsx_configuration
4438
+ # Provides the configuration information to connect to Amazon FSx as
4439
+ # your data source.
4440
+ # @return [Types::FsxConfiguration]
4441
+ #
4442
+ # @!attribute [rw] slack_configuration
4443
+ # Provides the configuration information to connect to Slack as your
4444
+ # data source.
4445
+ # @return [Types::SlackConfiguration]
4446
+ #
4447
+ # @!attribute [rw] box_configuration
4448
+ # Provides the configuration information to connect to Box as your
4449
+ # data source.
4450
+ # @return [Types::BoxConfiguration]
4451
+ #
4452
+ # @!attribute [rw] quip_configuration
4453
+ # Provides the configuration information to connect to Quip as your
4454
+ # data source.
4455
+ # @return [Types::QuipConfiguration]
4456
+ #
4457
+ # @!attribute [rw] jira_configuration
4458
+ # Provides the configuration information to connect to Jira as your
4459
+ # data source.
4460
+ # @return [Types::JiraConfiguration]
4461
+ #
4462
+ # @!attribute [rw] git_hub_configuration
4463
+ # Provides the configuration information to connect to GitHub as your
4464
+ # data source.
4465
+ # @return [Types::GitHubConfiguration]
4466
+ #
4467
+ # @!attribute [rw] alfresco_configuration
4468
+ # Provides the configuration information to connect to Alfresco as
4469
+ # your data source.
4470
+ # @return [Types::AlfrescoConfiguration]
3924
4471
  #
3925
4472
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DataSourceConfiguration AWS API Documentation
3926
4473
  #
@@ -3938,7 +4485,10 @@ module Aws::Kendra
3938
4485
  :fsx_configuration,
3939
4486
  :slack_configuration,
3940
4487
  :box_configuration,
3941
- :quip_configuration)
4488
+ :quip_configuration,
4489
+ :jira_configuration,
4490
+ :git_hub_configuration,
4491
+ :alfresco_configuration)
3942
4492
  SENSITIVE = []
3943
4493
  include Aws::Structure
3944
4494
  end
@@ -5517,6 +6067,12 @@ module Aws::Kendra
5517
6067
  #
5518
6068
  # @!attribute [rw] id
5519
6069
  # A unique identifier of the document in the index.
6070
+ #
6071
+ # Note, each document ID must be unique per index. You cannot create a
6072
+ # data source to index your documents with their unique IDs and then
6073
+ # use the `BatchPutDocument` API to index the same documents, or vice
6074
+ # versa. You can delete a data source and then use the
6075
+ # `BatchPutDocument` API to index the same documents, or vice versa.
5520
6076
  # @return [String]
5521
6077
  #
5522
6078
  # @!attribute [rw] title
@@ -6725,52 +7281,459 @@ module Aws::Kendra
6725
7281
  include Aws::Structure
6726
7282
  end
6727
7283
 
6728
- # Provides the configuration information to connect to Google Drive as
6729
- # your data source.
7284
+ # Provides the configuration information to connect to GitHub as your
7285
+ # data source.
6730
7286
  #
6731
- # @note When making an API call, you may pass GoogleDriveConfiguration
7287
+ # @note When making an API call, you may pass GitHubConfiguration
6732
7288
  # data as a hash:
6733
7289
  #
6734
7290
  # {
7291
+ # saa_s_configuration: {
7292
+ # organization_name: "OrganizationName", # required
7293
+ # host_url: "Url", # required
7294
+ # },
7295
+ # on_premise_configuration: {
7296
+ # host_url: "Url", # required
7297
+ # organization_name: "OrganizationName", # required
7298
+ # ssl_certificate_s3_path: { # required
7299
+ # bucket: "S3BucketName", # required
7300
+ # key: "S3ObjectKey", # required
7301
+ # },
7302
+ # },
7303
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
6735
7304
  # secret_arn: "SecretArn", # required
6736
- # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6737
- # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6738
- # field_mappings: [
7305
+ # use_change_log: false,
7306
+ # git_hub_document_crawl_properties: {
7307
+ # crawl_repository_documents: false,
7308
+ # crawl_issue: false,
7309
+ # crawl_issue_comment: false,
7310
+ # crawl_issue_comment_attachment: false,
7311
+ # crawl_pull_request: false,
7312
+ # crawl_pull_request_comment: false,
7313
+ # crawl_pull_request_comment_attachment: false,
7314
+ # },
7315
+ # repository_filter: ["RepositoryName"],
7316
+ # inclusion_folder_name_patterns: ["String"],
7317
+ # inclusion_file_type_patterns: ["String"],
7318
+ # inclusion_file_name_patterns: ["String"],
7319
+ # exclusion_folder_name_patterns: ["String"],
7320
+ # exclusion_file_type_patterns: ["String"],
7321
+ # exclusion_file_name_patterns: ["String"],
7322
+ # vpc_configuration: {
7323
+ # subnet_ids: ["SubnetId"], # required
7324
+ # security_group_ids: ["VpcSecurityGroupId"], # required
7325
+ # },
7326
+ # git_hub_repository_configuration_field_mappings: [
6739
7327
  # {
6740
7328
  # data_source_field_name: "DataSourceFieldName", # required
6741
7329
  # date_field_format: "DataSourceDateFieldFormat",
6742
7330
  # index_field_name: "IndexFieldName", # required
6743
7331
  # },
6744
7332
  # ],
6745
- # exclude_mime_types: ["MimeType"],
6746
- # exclude_user_accounts: ["UserAccount"],
6747
- # exclude_shared_drives: ["SharedDriveId"],
6748
- # }
6749
- #
6750
- # @!attribute [rw] secret_arn
6751
- # The Amazon Resource Name (ARN) of a Secrets Managersecret that
6752
- # contains the credentials required to connect to Google Drive. For
6753
- # more information, see [Using a Google Workspace Drive data
6754
- # source][1].
6755
- #
6756
- #
6757
- #
6758
- # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
6759
- # @return [String]
6760
- #
6761
- # @!attribute [rw] inclusion_patterns
6762
- # A list of regular expression patterns to include certain items in
6763
- # your Google Drive, including shared drives and users' My Drives.
6764
- # Items that match the patterns are included in the index. Items that
6765
- # don't match the patterns are excluded from the index. If an item
6766
- # matches both an inclusion and exclusion pattern, the exclusion
6767
- # pattern takes precedence and the item isn't included in the index.
6768
- # @return [Array<String>]
6769
- #
6770
- # @!attribute [rw] exclusion_patterns
6771
- # A list of regular expression patterns to exclude certain items in
6772
- # your Google Drive, including shared drives and users' My Drives.
6773
- # Items that match the patterns are excluded from the index. Items
7333
+ # git_hub_commit_configuration_field_mappings: [
7334
+ # {
7335
+ # data_source_field_name: "DataSourceFieldName", # required
7336
+ # date_field_format: "DataSourceDateFieldFormat",
7337
+ # index_field_name: "IndexFieldName", # required
7338
+ # },
7339
+ # ],
7340
+ # git_hub_issue_document_configuration_field_mappings: [
7341
+ # {
7342
+ # data_source_field_name: "DataSourceFieldName", # required
7343
+ # date_field_format: "DataSourceDateFieldFormat",
7344
+ # index_field_name: "IndexFieldName", # required
7345
+ # },
7346
+ # ],
7347
+ # git_hub_issue_comment_configuration_field_mappings: [
7348
+ # {
7349
+ # data_source_field_name: "DataSourceFieldName", # required
7350
+ # date_field_format: "DataSourceDateFieldFormat",
7351
+ # index_field_name: "IndexFieldName", # required
7352
+ # },
7353
+ # ],
7354
+ # git_hub_issue_attachment_configuration_field_mappings: [
7355
+ # {
7356
+ # data_source_field_name: "DataSourceFieldName", # required
7357
+ # date_field_format: "DataSourceDateFieldFormat",
7358
+ # index_field_name: "IndexFieldName", # required
7359
+ # },
7360
+ # ],
7361
+ # git_hub_pull_request_comment_configuration_field_mappings: [
7362
+ # {
7363
+ # data_source_field_name: "DataSourceFieldName", # required
7364
+ # date_field_format: "DataSourceDateFieldFormat",
7365
+ # index_field_name: "IndexFieldName", # required
7366
+ # },
7367
+ # ],
7368
+ # git_hub_pull_request_document_configuration_field_mappings: [
7369
+ # {
7370
+ # data_source_field_name: "DataSourceFieldName", # required
7371
+ # date_field_format: "DataSourceDateFieldFormat",
7372
+ # index_field_name: "IndexFieldName", # required
7373
+ # },
7374
+ # ],
7375
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
7376
+ # {
7377
+ # data_source_field_name: "DataSourceFieldName", # required
7378
+ # date_field_format: "DataSourceDateFieldFormat",
7379
+ # index_field_name: "IndexFieldName", # required
7380
+ # },
7381
+ # ],
7382
+ # }
7383
+ #
7384
+ # @!attribute [rw] saa_s_configuration
7385
+ # Configuration information to connect to GitHub Enterprise Cloud
7386
+ # (SaaS).
7387
+ # @return [Types::SaaSConfiguration]
7388
+ #
7389
+ # @!attribute [rw] on_premise_configuration
7390
+ # Configuration information to connect to GitHub Enterprise Server (on
7391
+ # premises).
7392
+ # @return [Types::OnPremiseConfiguration]
7393
+ #
7394
+ # @!attribute [rw] type
7395
+ # The type of GitHub service you want to connect to—GitHub Enterprise
7396
+ # Cloud (SaaS) or GitHub Enterprise Server (on premises).
7397
+ # @return [String]
7398
+ #
7399
+ # @!attribute [rw] secret_arn
7400
+ # The Amazon Resource Name (ARN) of an Secrets Manager secret that
7401
+ # contains the key-value pairs required to connect to your GitHub. The
7402
+ # secret must contain a JSON structure with the following keys:
7403
+ #
7404
+ # * githubToken—The access token created in GitHub. For more
7405
+ # information on creating a token in GitHub, see [Authentication for
7406
+ # a GitHub data source][1].
7407
+ #
7408
+ # ^
7409
+ #
7410
+ #
7411
+ #
7412
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html#github-authentication
7413
+ # @return [String]
7414
+ #
7415
+ # @!attribute [rw] use_change_log
7416
+ # `TRUE` to use the GitHub change log to determine which documents
7417
+ # require updating in the index. Depending on the GitHub change log's
7418
+ # size, it may take longer for Amazon Kendra to use the change log
7419
+ # than to scan all of your documents in GitHub.
7420
+ # @return [Boolean]
7421
+ #
7422
+ # @!attribute [rw] git_hub_document_crawl_properties
7423
+ # Configuration information to include certain types of GitHub
7424
+ # content. You can configure to index repository files only, or also
7425
+ # include issues and pull requests, comments, and comment attachments.
7426
+ # @return [Types::GitHubDocumentCrawlProperties]
7427
+ #
7428
+ # @!attribute [rw] repository_filter
7429
+ # A list of names of the specific repositories you want to index.
7430
+ # @return [Array<String>]
7431
+ #
7432
+ # @!attribute [rw] inclusion_folder_name_patterns
7433
+ # A list of regular expression patterns to include certain folder
7434
+ # names in your GitHub repository or repositories. Folder names that
7435
+ # match the patterns are included in the index. Folder names that
7436
+ # don't match the patterns are excluded from the index. If a folder
7437
+ # matches both an inclusion and exclusion pattern, the exclusion
7438
+ # pattern takes precedence and the folder isn't included in the
7439
+ # index.
7440
+ # @return [Array<String>]
7441
+ #
7442
+ # @!attribute [rw] inclusion_file_type_patterns
7443
+ # A list of regular expression patterns to include certain file types
7444
+ # in your GitHub repository or repositories. File types that match the
7445
+ # patterns are included in the index. File types that don't match the
7446
+ # patterns are excluded from the index. If a file matches both an
7447
+ # inclusion and exclusion pattern, the exclusion pattern takes
7448
+ # precedence and the file isn't included in the index.
7449
+ # @return [Array<String>]
7450
+ #
7451
+ # @!attribute [rw] inclusion_file_name_patterns
7452
+ # A list of regular expression patterns to include certain file names
7453
+ # in your GitHub repository or repositories. File names that match the
7454
+ # patterns are included in the index. File names that don't match the
7455
+ # patterns are excluded from the index. If a file matches both an
7456
+ # inclusion and exclusion pattern, the exclusion pattern takes
7457
+ # precedence and the file isn't included in the index.
7458
+ # @return [Array<String>]
7459
+ #
7460
+ # @!attribute [rw] exclusion_folder_name_patterns
7461
+ # A list of regular expression patterns to exclude certain folder
7462
+ # names in your GitHub repository or repositories. Folder names that
7463
+ # match the patterns are excluded from the index. Folder names that
7464
+ # don't match the patterns are included in the index. If a folder
7465
+ # matches both an exclusion and inclusion pattern, the exclusion
7466
+ # pattern takes precedence and the folder isn't included in the
7467
+ # index.
7468
+ # @return [Array<String>]
7469
+ #
7470
+ # @!attribute [rw] exclusion_file_type_patterns
7471
+ # A list of regular expression patterns to exclude certain file types
7472
+ # in your GitHub repository or repositories. File types that match the
7473
+ # patterns are excluded from the index. File types that don't match
7474
+ # the patterns are included in the index. If a file matches both an
7475
+ # exclusion and inclusion pattern, the exclusion pattern takes
7476
+ # precedence and the file isn't included in the index.
7477
+ # @return [Array<String>]
7478
+ #
7479
+ # @!attribute [rw] exclusion_file_name_patterns
7480
+ # A list of regular expression patterns to exclude certain file names
7481
+ # in your GitHub repository or repositories. File names that match the
7482
+ # patterns are excluded from the index. File names that don't match
7483
+ # the patterns are included in the index. If a file matches both an
7484
+ # exclusion and inclusion pattern, the exclusion pattern takes
7485
+ # precedence and the file isn't included in the index.
7486
+ # @return [Array<String>]
7487
+ #
7488
+ # @!attribute [rw] vpc_configuration
7489
+ # Configuration information of an Amazon Virtual Private Cloud to
7490
+ # connect to your GitHub. For more information, see [Configuring a
7491
+ # VPC][1].
7492
+ #
7493
+ #
7494
+ #
7495
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html
7496
+ # @return [Types::DataSourceVpcConfiguration]
7497
+ #
7498
+ # @!attribute [rw] git_hub_repository_configuration_field_mappings
7499
+ # A list of `DataSourceToIndexFieldMapping` objects that map GitHub
7500
+ # repository attributes or field names to Amazon Kendra index field
7501
+ # names. To create custom fields, use the `UpdateIndex` API before you
7502
+ # map to GitHub fields. For more information, see [Mapping data source
7503
+ # fields][1]. The GitHub data source field names must exist in your
7504
+ # GitHub custom metadata.
7505
+ #
7506
+ #
7507
+ #
7508
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7509
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7510
+ #
7511
+ # @!attribute [rw] git_hub_commit_configuration_field_mappings
7512
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7513
+ # attributes or field names of GitHub commits to Amazon Kendra index
7514
+ # field names. To create custom fields, use the `UpdateIndex` API
7515
+ # before you map to GitHub fields. For more information, see [Mapping
7516
+ # data source fields][1]. The GitHub data source field names must
7517
+ # exist in your GitHub custom metadata.
7518
+ #
7519
+ #
7520
+ #
7521
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7522
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7523
+ #
7524
+ # @!attribute [rw] git_hub_issue_document_configuration_field_mappings
7525
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7526
+ # attributes or field names of GitHub issues to Amazon Kendra index
7527
+ # field names. To create custom fields, use the `UpdateIndex` API
7528
+ # before you map to GitHub fields. For more information, see [Mapping
7529
+ # data source fields][1]. The GitHub data source field names must
7530
+ # exist in your GitHub custom metadata.
7531
+ #
7532
+ #
7533
+ #
7534
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7535
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7536
+ #
7537
+ # @!attribute [rw] git_hub_issue_comment_configuration_field_mappings
7538
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7539
+ # attributes or field names of GitHub issue comments to Amazon Kendra
7540
+ # index field names. To create custom fields, use the `UpdateIndex`
7541
+ # API before you map to GitHub fields. For more information, see
7542
+ # [Mapping data source fields][1]. The GitHub data source field names
7543
+ # must exist in your GitHub custom metadata.
7544
+ #
7545
+ #
7546
+ #
7547
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7548
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7549
+ #
7550
+ # @!attribute [rw] git_hub_issue_attachment_configuration_field_mappings
7551
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7552
+ # attributes or field names of GitHub issue attachments to Amazon
7553
+ # Kendra index field names. To create custom fields, use the
7554
+ # `UpdateIndex` API before you map to GitHub fields. For more
7555
+ # information, see [Mapping data source fields][1]. The GitHub data
7556
+ # source field names must exist in your GitHub custom metadata.
7557
+ #
7558
+ #
7559
+ #
7560
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7561
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7562
+ #
7563
+ # @!attribute [rw] git_hub_pull_request_comment_configuration_field_mappings
7564
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7565
+ # attributes or field names of GitHub pull request comments to Amazon
7566
+ # Kendra index field names. To create custom fields, use the
7567
+ # `UpdateIndex` API before you map to GitHub fields. For more
7568
+ # information, see [Mapping data source fields][1]. The GitHub data
7569
+ # source field names must exist in your GitHub custom metadata.
7570
+ #
7571
+ #
7572
+ #
7573
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7574
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7575
+ #
7576
+ # @!attribute [rw] git_hub_pull_request_document_configuration_field_mappings
7577
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7578
+ # attributes or field names of GitHub pull requests to Amazon Kendra
7579
+ # index field names. To create custom fields, use the `UpdateIndex`
7580
+ # API before you map to GitHub fields. For more information, see
7581
+ # [Mapping data source fields][1]. The GitHub data source field names
7582
+ # must exist in your GitHub custom metadata.
7583
+ #
7584
+ #
7585
+ #
7586
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7587
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7588
+ #
7589
+ # @!attribute [rw] git_hub_pull_request_document_attachment_configuration_field_mappings
7590
+ # A list of `DataSourceToIndexFieldMapping` objects that map
7591
+ # attributes or field names of GitHub pull request attachments to
7592
+ # Amazon Kendra index field names. To create custom fields, use the
7593
+ # `UpdateIndex` API before you map to GitHub fields. For more
7594
+ # information, see [Mapping data source fields][1]. The GitHub data
7595
+ # source field names must exist in your GitHub custom metadata.
7596
+ #
7597
+ #
7598
+ #
7599
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
7600
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7601
+ #
7602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GitHubConfiguration AWS API Documentation
7603
+ #
7604
+ class GitHubConfiguration < Struct.new(
7605
+ :saa_s_configuration,
7606
+ :on_premise_configuration,
7607
+ :type,
7608
+ :secret_arn,
7609
+ :use_change_log,
7610
+ :git_hub_document_crawl_properties,
7611
+ :repository_filter,
7612
+ :inclusion_folder_name_patterns,
7613
+ :inclusion_file_type_patterns,
7614
+ :inclusion_file_name_patterns,
7615
+ :exclusion_folder_name_patterns,
7616
+ :exclusion_file_type_patterns,
7617
+ :exclusion_file_name_patterns,
7618
+ :vpc_configuration,
7619
+ :git_hub_repository_configuration_field_mappings,
7620
+ :git_hub_commit_configuration_field_mappings,
7621
+ :git_hub_issue_document_configuration_field_mappings,
7622
+ :git_hub_issue_comment_configuration_field_mappings,
7623
+ :git_hub_issue_attachment_configuration_field_mappings,
7624
+ :git_hub_pull_request_comment_configuration_field_mappings,
7625
+ :git_hub_pull_request_document_configuration_field_mappings,
7626
+ :git_hub_pull_request_document_attachment_configuration_field_mappings)
7627
+ SENSITIVE = []
7628
+ include Aws::Structure
7629
+ end
7630
+
7631
+ # Provides the configuration information to include certain types of
7632
+ # GitHub content. You can configure to index repository files only, or
7633
+ # also include issues and pull requests, comments, and comment
7634
+ # attachments.
7635
+ #
7636
+ # @note When making an API call, you may pass GitHubDocumentCrawlProperties
7637
+ # data as a hash:
7638
+ #
7639
+ # {
7640
+ # crawl_repository_documents: false,
7641
+ # crawl_issue: false,
7642
+ # crawl_issue_comment: false,
7643
+ # crawl_issue_comment_attachment: false,
7644
+ # crawl_pull_request: false,
7645
+ # crawl_pull_request_comment: false,
7646
+ # crawl_pull_request_comment_attachment: false,
7647
+ # }
7648
+ #
7649
+ # @!attribute [rw] crawl_repository_documents
7650
+ # `TRUE` to index all files with a repository.
7651
+ # @return [Boolean]
7652
+ #
7653
+ # @!attribute [rw] crawl_issue
7654
+ # `TRUE` to index all issues within a repository.
7655
+ # @return [Boolean]
7656
+ #
7657
+ # @!attribute [rw] crawl_issue_comment
7658
+ # `TRUE` to index all comments on issues.
7659
+ # @return [Boolean]
7660
+ #
7661
+ # @!attribute [rw] crawl_issue_comment_attachment
7662
+ # `TRUE` to include all comment attachments for issues.
7663
+ # @return [Boolean]
7664
+ #
7665
+ # @!attribute [rw] crawl_pull_request
7666
+ # `TRUE` to index all pull requests within a repository.
7667
+ # @return [Boolean]
7668
+ #
7669
+ # @!attribute [rw] crawl_pull_request_comment
7670
+ # `TRUE` to index all comments on pull requests.
7671
+ # @return [Boolean]
7672
+ #
7673
+ # @!attribute [rw] crawl_pull_request_comment_attachment
7674
+ # `TRUE` to include all comment attachments for pull requests.
7675
+ # @return [Boolean]
7676
+ #
7677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GitHubDocumentCrawlProperties AWS API Documentation
7678
+ #
7679
+ class GitHubDocumentCrawlProperties < Struct.new(
7680
+ :crawl_repository_documents,
7681
+ :crawl_issue,
7682
+ :crawl_issue_comment,
7683
+ :crawl_issue_comment_attachment,
7684
+ :crawl_pull_request,
7685
+ :crawl_pull_request_comment,
7686
+ :crawl_pull_request_comment_attachment)
7687
+ SENSITIVE = []
7688
+ include Aws::Structure
7689
+ end
7690
+
7691
+ # Provides the configuration information to connect to Google Drive as
7692
+ # your data source.
7693
+ #
7694
+ # @note When making an API call, you may pass GoogleDriveConfiguration
7695
+ # data as a hash:
7696
+ #
7697
+ # {
7698
+ # secret_arn: "SecretArn", # required
7699
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
7700
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
7701
+ # field_mappings: [
7702
+ # {
7703
+ # data_source_field_name: "DataSourceFieldName", # required
7704
+ # date_field_format: "DataSourceDateFieldFormat",
7705
+ # index_field_name: "IndexFieldName", # required
7706
+ # },
7707
+ # ],
7708
+ # exclude_mime_types: ["MimeType"],
7709
+ # exclude_user_accounts: ["UserAccount"],
7710
+ # exclude_shared_drives: ["SharedDriveId"],
7711
+ # }
7712
+ #
7713
+ # @!attribute [rw] secret_arn
7714
+ # The Amazon Resource Name (ARN) of a Secrets Managersecret that
7715
+ # contains the credentials required to connect to Google Drive. For
7716
+ # more information, see [Using a Google Workspace Drive data
7717
+ # source][1].
7718
+ #
7719
+ #
7720
+ #
7721
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
7722
+ # @return [String]
7723
+ #
7724
+ # @!attribute [rw] inclusion_patterns
7725
+ # A list of regular expression patterns to include certain items in
7726
+ # your Google Drive, including shared drives and users' My Drives.
7727
+ # Items that match the patterns are included in the index. Items that
7728
+ # don't match the patterns are excluded from the index. If an item
7729
+ # matches both an inclusion and exclusion pattern, the exclusion
7730
+ # pattern takes precedence and the item isn't included in the index.
7731
+ # @return [Array<String>]
7732
+ #
7733
+ # @!attribute [rw] exclusion_patterns
7734
+ # A list of regular expression patterns to exclude certain items in
7735
+ # your Google Drive, including shared drives and users' My Drives.
7736
+ # Items that match the patterns are excluded from the index. Items
6774
7737
  # that don't match the patterns are included in the index. If an item
6775
7738
  # matches both an inclusion and exclusion pattern, the exclusion
6776
7739
  # pattern takes precedence and the item isn't included in the index.
@@ -7198,53 +8161,270 @@ module Aws::Kendra
7198
8161
  # document_content_deletion: false,
7199
8162
  # }
7200
8163
  #
7201
- # @!attribute [rw] condition
7202
- # Configuration of the condition used for the target document
7203
- # attribute or metadata field when ingesting documents into Amazon
7204
- # Kendra.
7205
- # @return [Types::DocumentAttributeCondition]
8164
+ # @!attribute [rw] condition
8165
+ # Configuration of the condition used for the target document
8166
+ # attribute or metadata field when ingesting documents into Amazon
8167
+ # Kendra.
8168
+ # @return [Types::DocumentAttributeCondition]
8169
+ #
8170
+ # @!attribute [rw] target
8171
+ # Configuration of the target document attribute or metadata field
8172
+ # when ingesting documents into Amazon Kendra. You can also include a
8173
+ # value.
8174
+ # @return [Types::DocumentAttributeTarget]
8175
+ #
8176
+ # @!attribute [rw] document_content_deletion
8177
+ # `TRUE` to delete content if the condition used for the target
8178
+ # attribute is met.
8179
+ # @return [Boolean]
8180
+ #
8181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InlineCustomDocumentEnrichmentConfiguration AWS API Documentation
8182
+ #
8183
+ class InlineCustomDocumentEnrichmentConfiguration < Struct.new(
8184
+ :condition,
8185
+ :target,
8186
+ :document_content_deletion)
8187
+ SENSITIVE = []
8188
+ include Aws::Structure
8189
+ end
8190
+
8191
+ # @!attribute [rw] message
8192
+ # @return [String]
8193
+ #
8194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InternalServerException AWS API Documentation
8195
+ #
8196
+ class InternalServerException < Struct.new(
8197
+ :message)
8198
+ SENSITIVE = []
8199
+ include Aws::Structure
8200
+ end
8201
+
8202
+ # The input to the request is not valid.
8203
+ #
8204
+ # @!attribute [rw] message
8205
+ # @return [String]
8206
+ #
8207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InvalidRequestException AWS API Documentation
8208
+ #
8209
+ class InvalidRequestException < Struct.new(
8210
+ :message)
8211
+ SENSITIVE = []
8212
+ include Aws::Structure
8213
+ end
8214
+
8215
+ # Provides the configuration information to connect to Jira as your data
8216
+ # source.
8217
+ #
8218
+ # @note When making an API call, you may pass JiraConfiguration
8219
+ # data as a hash:
8220
+ #
8221
+ # {
8222
+ # jira_account_url: "JiraAccountUrl", # required
8223
+ # secret_arn: "SecretArn", # required
8224
+ # use_change_log: false,
8225
+ # project: ["String"],
8226
+ # issue_type: ["String"],
8227
+ # status: ["String"],
8228
+ # issue_sub_entity_filter: ["COMMENTS"], # accepts COMMENTS, ATTACHMENTS, WORKLOGS
8229
+ # attachment_field_mappings: [
8230
+ # {
8231
+ # data_source_field_name: "DataSourceFieldName", # required
8232
+ # date_field_format: "DataSourceDateFieldFormat",
8233
+ # index_field_name: "IndexFieldName", # required
8234
+ # },
8235
+ # ],
8236
+ # comment_field_mappings: [
8237
+ # {
8238
+ # data_source_field_name: "DataSourceFieldName", # required
8239
+ # date_field_format: "DataSourceDateFieldFormat",
8240
+ # index_field_name: "IndexFieldName", # required
8241
+ # },
8242
+ # ],
8243
+ # issue_field_mappings: [
8244
+ # {
8245
+ # data_source_field_name: "DataSourceFieldName", # required
8246
+ # date_field_format: "DataSourceDateFieldFormat",
8247
+ # index_field_name: "IndexFieldName", # required
8248
+ # },
8249
+ # ],
8250
+ # project_field_mappings: [
8251
+ # {
8252
+ # data_source_field_name: "DataSourceFieldName", # required
8253
+ # date_field_format: "DataSourceDateFieldFormat",
8254
+ # index_field_name: "IndexFieldName", # required
8255
+ # },
8256
+ # ],
8257
+ # work_log_field_mappings: [
8258
+ # {
8259
+ # data_source_field_name: "DataSourceFieldName", # required
8260
+ # date_field_format: "DataSourceDateFieldFormat",
8261
+ # index_field_name: "IndexFieldName", # required
8262
+ # },
8263
+ # ],
8264
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
8265
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
8266
+ # vpc_configuration: {
8267
+ # subnet_ids: ["SubnetId"], # required
8268
+ # security_group_ids: ["VpcSecurityGroupId"], # required
8269
+ # },
8270
+ # }
8271
+ #
8272
+ # @!attribute [rw] jira_account_url
8273
+ # The URL of the Jira account. For example, *company.atlassian.net* or
8274
+ # *https://jira.company.com*. You can find your Jira account URL in
8275
+ # the URL of your profile page for Jira desktop.
8276
+ # @return [String]
8277
+ #
8278
+ # @!attribute [rw] secret_arn
8279
+ # The Amazon Resource Name (ARN) of a secret in Secrets Manager
8280
+ # contains the key-value pairs required to connect to your Jira data
8281
+ # source. The secret must contain a JSON structure with the following
8282
+ # keys:
8283
+ #
8284
+ # * jiraId—The Jira username.
8285
+ #
8286
+ # * jiraCredentials—The Jira API token. For more information on
8287
+ # creating an API token in Jira, see [ Authentication for a Jira
8288
+ # data source][1].
8289
+ #
8290
+ #
8291
+ #
8292
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html#jira-authentication
8293
+ # @return [String]
8294
+ #
8295
+ # @!attribute [rw] use_change_log
8296
+ # `TRUE` to use the Jira change log to determine which documents
8297
+ # require updating in the index. Depending on the change log's size,
8298
+ # it may take longer for Amazon Kendra to use the change log than to
8299
+ # scan all of your documents in Jira.
8300
+ # @return [Boolean]
8301
+ #
8302
+ # @!attribute [rw] project
8303
+ # Specify which projects to crawl in your Jira data source. You can
8304
+ # specify one or more Jira project IDs.
8305
+ # @return [Array<String>]
8306
+ #
8307
+ # @!attribute [rw] issue_type
8308
+ # Specify which issue types to crawl in your Jira data source. You can
8309
+ # specify one or more of these options to crawl.
8310
+ # @return [Array<String>]
8311
+ #
8312
+ # @!attribute [rw] status
8313
+ # Specify which statuses to crawl in your Jira data source. You can
8314
+ # specify one or more of these options to crawl.
8315
+ # @return [Array<String>]
8316
+ #
8317
+ # @!attribute [rw] issue_sub_entity_filter
8318
+ # Specify whether to crawl comments, attachments, and work logs. You
8319
+ # can specify one or more of these options.
8320
+ # @return [Array<String>]
8321
+ #
8322
+ # @!attribute [rw] attachment_field_mappings
8323
+ # A list of DataSourceToIndexFieldMapping objects that map attributes
8324
+ # or field names of Jira attachments to Amazon Kendra index field
8325
+ # names. To create custom fields, use the UpdateIndex API before you
8326
+ # map to Jira fields. For more information, see [ Mapping data source
8327
+ # fields][1]. The Jira data source field names must exist in your Jira
8328
+ # custom metadata.
8329
+ #
8330
+ #
8331
+ #
8332
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
8333
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
8334
+ #
8335
+ # @!attribute [rw] comment_field_mappings
8336
+ # A list of DataSourceToIndexFieldMapping objects that map attributes
8337
+ # or field names of Jira comments to Amazon Kendra index field names.
8338
+ # To create custom fields, use the UpdateIndex API before you map to
8339
+ # Jira fields. For more information, see [ Mapping data source
8340
+ # fields][1]. The Jira data source field names must exist in your Jira
8341
+ # custom metadata.
8342
+ #
8343
+ #
8344
+ #
8345
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
8346
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
8347
+ #
8348
+ # @!attribute [rw] issue_field_mappings
8349
+ # A list of DataSourceToIndexFieldMapping objects that map attributes
8350
+ # or field names of Jira issues to Amazon Kendra index field names. To
8351
+ # create custom fields, use the UpdateIndex API before you map to Jira
8352
+ # fields. For more information, see [ Mapping data source fields][1].
8353
+ # The Jira data source field names must exist in your Jira custom
8354
+ # metadata.
8355
+ #
7206
8356
  #
7207
- # @!attribute [rw] target
7208
- # Configuration of the target document attribute or metadata field
7209
- # when ingesting documents into Amazon Kendra. You can also include a
7210
- # value.
7211
- # @return [Types::DocumentAttributeTarget]
7212
8357
  #
7213
- # @!attribute [rw] document_content_deletion
7214
- # `TRUE` to delete content if the condition used for the target
7215
- # attribute is met.
7216
- # @return [Boolean]
8358
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
8359
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7217
8360
  #
7218
- # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InlineCustomDocumentEnrichmentConfiguration AWS API Documentation
8361
+ # @!attribute [rw] project_field_mappings
8362
+ # A list of DataSourceToIndexFieldMapping objects that map attributes
8363
+ # or field names of Jira projects to Amazon Kendra index field names.
8364
+ # To create custom fields, use the UpdateIndex API before you map to
8365
+ # Jira fields. For more information, see [ Mapping data source
8366
+ # fields][1]. The Jira data source field names must exist in your Jira
8367
+ # custom metadata.
7219
8368
  #
7220
- class InlineCustomDocumentEnrichmentConfiguration < Struct.new(
7221
- :condition,
7222
- :target,
7223
- :document_content_deletion)
7224
- SENSITIVE = []
7225
- include Aws::Structure
7226
- end
7227
-
7228
- # @!attribute [rw] message
7229
- # @return [String]
7230
8369
  #
7231
- # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InternalServerException AWS API Documentation
7232
8370
  #
7233
- class InternalServerException < Struct.new(
7234
- :message)
7235
- SENSITIVE = []
7236
- include Aws::Structure
7237
- end
7238
-
7239
- # The input to the request is not valid.
8371
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
8372
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
7240
8373
  #
7241
- # @!attribute [rw] message
7242
- # @return [String]
8374
+ # @!attribute [rw] work_log_field_mappings
8375
+ # A list of DataSourceToIndexFieldMapping objects that map attributes
8376
+ # or field names of Jira work logs to Amazon Kendra index field names.
8377
+ # To create custom fields, use the UpdateIndex API before you map to
8378
+ # Jira fields. For more information, see [ Mapping data source
8379
+ # fields][1]. The Jira data source field names must exist in your Jira
8380
+ # custom metadata.
7243
8381
  #
7244
- # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/InvalidRequestException AWS API Documentation
7245
8382
  #
7246
- class InvalidRequestException < Struct.new(
7247
- :message)
8383
+ #
8384
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
8385
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
8386
+ #
8387
+ # @!attribute [rw] inclusion_patterns
8388
+ # A list of regular expression patterns to include certain file paths,
8389
+ # file names, and file types in your Jira data source. Files that
8390
+ # match the patterns are included in the index. Files that don't
8391
+ # match the patterns are excluded from the index. If a file matches
8392
+ # both an inclusion pattern and an exclusion pattern, the exclusion
8393
+ # pattern takes precedence and the file isn't included in the index.
8394
+ # @return [Array<String>]
8395
+ #
8396
+ # @!attribute [rw] exclusion_patterns
8397
+ # A list of regular expression patterns to exclude certain file paths,
8398
+ # file names, and file types in your Jira data source. Files that
8399
+ # match the patterns are excluded from the index. Files that don’t
8400
+ # match the patterns are included in the index. If a file matches both
8401
+ # an inclusion pattern and an exclusion pattern, the exclusion pattern
8402
+ # takes precedence and the file isn't included in the index.
8403
+ # @return [Array<String>]
8404
+ #
8405
+ # @!attribute [rw] vpc_configuration
8406
+ # Configuration information for an Amazon Virtual Private Cloud to
8407
+ # connect to your Jira. Your Jira account must reside inside your VPC.
8408
+ # @return [Types::DataSourceVpcConfiguration]
8409
+ #
8410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/JiraConfiguration AWS API Documentation
8411
+ #
8412
+ class JiraConfiguration < Struct.new(
8413
+ :jira_account_url,
8414
+ :secret_arn,
8415
+ :use_change_log,
8416
+ :project,
8417
+ :issue_type,
8418
+ :status,
8419
+ :issue_sub_entity_filter,
8420
+ :attachment_field_mappings,
8421
+ :comment_field_mappings,
8422
+ :issue_field_mappings,
8423
+ :project_field_mappings,
8424
+ :work_log_field_mappings,
8425
+ :inclusion_patterns,
8426
+ :exclusion_patterns,
8427
+ :vpc_configuration)
7248
8428
  SENSITIVE = []
7249
8429
  include Aws::Structure
7250
8430
  end
@@ -8012,6 +9192,48 @@ module Aws::Kendra
8012
9192
  include Aws::Structure
8013
9193
  end
8014
9194
 
9195
+ # Provides the configuration information to connect to GitHub Enterprise
9196
+ # Server (on premises).
9197
+ #
9198
+ # @note When making an API call, you may pass OnPremiseConfiguration
9199
+ # data as a hash:
9200
+ #
9201
+ # {
9202
+ # host_url: "Url", # required
9203
+ # organization_name: "OrganizationName", # required
9204
+ # ssl_certificate_s3_path: { # required
9205
+ # bucket: "S3BucketName", # required
9206
+ # key: "S3ObjectKey", # required
9207
+ # },
9208
+ # }
9209
+ #
9210
+ # @!attribute [rw] host_url
9211
+ # The GitHub host URL or API endpoint URL. For example,
9212
+ # *https://on-prem-host-url/api/v3/*
9213
+ # @return [String]
9214
+ #
9215
+ # @!attribute [rw] organization_name
9216
+ # The name of the organization of the GitHub Enterprise Server
9217
+ # (in-premise) account you want to connect to. You can find your
9218
+ # organization name by logging into GitHub desktop and selecting
9219
+ # **Your organizations** under your profile picture dropdown.
9220
+ # @return [String]
9221
+ #
9222
+ # @!attribute [rw] ssl_certificate_s3_path
9223
+ # The path to the SSL certificate stored in an Amazon S3 bucket. You
9224
+ # use this to connect to GitHub.
9225
+ # @return [Types::S3Path]
9226
+ #
9227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/OnPremiseConfiguration AWS API Documentation
9228
+ #
9229
+ class OnPremiseConfiguration < Struct.new(
9230
+ :host_url,
9231
+ :organization_name,
9232
+ :ssl_certificate_s3_path)
9233
+ SENSITIVE = []
9234
+ include Aws::Structure
9235
+ end
9236
+
8015
9237
  # Provides the configuration information to connect to OneDrive as your
8016
9238
  # data source.
8017
9239
  #
@@ -8091,8 +9313,7 @@ module Aws::Kendra
8091
9313
  # @return [Array<Types::DataSourceToIndexFieldMapping>]
8092
9314
  #
8093
9315
  # @!attribute [rw] disable_local_groups
8094
- # A Boolean value that specifies whether local groups are disabled
8095
- # (`True`) or enabled (`False`).
9316
+ # `TRUE` to disable local groups information.
8096
9317
  # @return [Boolean]
8097
9318
  #
8098
9319
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/OneDriveConfiguration AWS API Documentation
@@ -8886,22 +10107,19 @@ module Aws::Kendra
8886
10107
  # @return [String]
8887
10108
  #
8888
10109
  # @!attribute [rw] crawl_file_comments
8889
- # Specify whether to crawl file comments in Quip. You can specify one
8890
- # or more of these options.
10110
+ # `TRUE` to index file comments.
8891
10111
  # @return [Boolean]
8892
10112
  #
8893
10113
  # @!attribute [rw] crawl_chat_rooms
8894
- # Specify whether to crawl chat rooms in Quip. You can specify one or
8895
- # more of these options.
10114
+ # `TRUE` to index the contents of chat rooms.
8896
10115
  # @return [Boolean]
8897
10116
  #
8898
10117
  # @!attribute [rw] crawl_attachments
8899
- # Specify whether to crawl attachments in Quip. You can specify one or
8900
- # more of these options.
10118
+ # `TRUE` to index attachments.
8901
10119
  # @return [Boolean]
8902
10120
  #
8903
10121
  # @!attribute [rw] folder_ids
8904
- # The identifier of the Quip folder IDs to index.
10122
+ # The identifier of the Quip folders you want to index.
8905
10123
  # @return [Array<String>]
8906
10124
  #
8907
10125
  # @!attribute [rw] thread_field_mappings
@@ -9276,6 +10494,38 @@ module Aws::Kendra
9276
10494
  include Aws::Structure
9277
10495
  end
9278
10496
 
10497
+ # Provides the configuration information to connect to GitHub Enterprise
10498
+ # Cloud (SaaS).
10499
+ #
10500
+ # @note When making an API call, you may pass SaaSConfiguration
10501
+ # data as a hash:
10502
+ #
10503
+ # {
10504
+ # organization_name: "OrganizationName", # required
10505
+ # host_url: "Url", # required
10506
+ # }
10507
+ #
10508
+ # @!attribute [rw] organization_name
10509
+ # The name of the organization of the GitHub Enterprise Cloud (SaaS)
10510
+ # account you want to connect to. You can find your organization name
10511
+ # by logging into GitHub desktop and selecting **Your organizations**
10512
+ # under your profile picture dropdown.
10513
+ # @return [String]
10514
+ #
10515
+ # @!attribute [rw] host_url
10516
+ # The GitHub host URL or API endpoint URL. For example,
10517
+ # *https://api.github.com*.
10518
+ # @return [String]
10519
+ #
10520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SaaSConfiguration AWS API Documentation
10521
+ #
10522
+ class SaaSConfiguration < Struct.new(
10523
+ :organization_name,
10524
+ :host_url)
10525
+ SENSITIVE = []
10526
+ include Aws::Structure
10527
+ end
10528
+
9279
10529
  # The configuration information for syncing a Salesforce chatter feed.
9280
10530
  # The contents of the object comes from the Salesforce FeedItem table.
9281
10531
  #
@@ -9879,9 +11129,8 @@ module Aws::Kendra
9879
11129
  include Aws::Structure
9880
11130
  end
9881
11131
 
9882
- # Provides the identifier of the KMScustomer master key (CMK) used to
9883
- # encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support
9884
- # asymmetric CMKs.
11132
+ # Provides the identifier of the KMS key used to encrypt data indexed by
11133
+ # Amazon Kendra. Amazon Kendra doesn't support asymmetric keys.
9885
11134
  #
9886
11135
  # @note When making an API call, you may pass ServerSideEncryptionConfiguration
9887
11136
  # data as a hash:
@@ -9891,8 +11140,8 @@ module Aws::Kendra
9891
11140
  # }
9892
11141
  #
9893
11142
  # @!attribute [rw] kms_key_id
9894
- # The identifier of the KMScustomer master key (CMK). Amazon Kendra
9895
- # doesn't support asymmetric CMKs.
11143
+ # The identifier of the KMS key. Amazon Kendra doesn't support
11144
+ # asymmetric keys.
9896
11145
  # @return [String]
9897
11146
  #
9898
11147
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ServerSideEncryptionConfiguration AWS API Documentation
@@ -9954,7 +11203,14 @@ module Aws::Kendra
9954
11203
  # @!attribute [rw] secret_arn
9955
11204
  # The Amazon Resource Name (ARN) of the Secrets Manager secret that
9956
11205
  # contains the user name and password required to connect to the
9957
- # ServiceNow instance.
11206
+ # ServiceNow instance. You can also provide OAuth authentication
11207
+ # credentials of user name, password, client ID, and client secret.
11208
+ # For more information, see [Authentication for a ServiceNow data
11209
+ # source][1].
11210
+ #
11211
+ #
11212
+ #
11213
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html#servicenow-authentication
9958
11214
  # @return [String]
9959
11215
  #
9960
11216
  # @!attribute [rw] service_now_build_version
@@ -10233,33 +11489,28 @@ module Aws::Kendra
10233
11489
  # }
10234
11490
  #
10235
11491
  # @!attribute [rw] share_point_version
10236
- # The version of Microsoft SharePoint that you are using as a data
10237
- # source.
11492
+ # The version of Microsoft SharePoint that you use.
10238
11493
  # @return [String]
10239
11494
  #
10240
11495
  # @!attribute [rw] urls
10241
- # The URLs of the Microsoft SharePoint site that contains the
10242
- # documents that should be indexed.
11496
+ # The Microsoft SharePoint site URLs for the documents you want to
11497
+ # indext.
10243
11498
  # @return [Array<String>]
10244
11499
  #
10245
11500
  # @!attribute [rw] secret_arn
10246
- # The Amazon Resource Name (ARN) of credentials stored in Secrets
10247
- # Manager. The credentials should be a user/password pair. If you use
10248
- # SharePoint Server, you also need to provide the sever domain name as
10249
- # part of the credentials. For more information, see [Using a
10250
- # Microsoft SharePoint Data Source][1]. For more information about
10251
- # Secrets Manager see [ What Is Secrets Manager][2] in the <i>Secrets
10252
- # Manager </i> user guide.
11501
+ # The Amazon Resource Name (ARN) of an Secrets Manager secret that
11502
+ # contains the user name and password required to connect to the
11503
+ # SharePoint instance. If you use SharePoint Server, you also need to
11504
+ # provide the sever domain name as part of the credentials. For more
11505
+ # information, see [Using a Microsoft SharePoint Data Source][1].
10253
11506
  #
10254
11507
  #
10255
11508
  #
10256
11509
  # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html
10257
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html
10258
11510
  # @return [String]
10259
11511
  #
10260
11512
  # @!attribute [rw] crawl_attachments
10261
- # `TRUE` to include attachments to documents stored in your Microsoft
10262
- # SharePoint site in the index; otherwise, `FALSE`.
11513
+ # `TRUE` to index document attachments.
10263
11514
  # @return [Boolean]
10264
11515
  #
10265
11516
  # @!attribute [rw] use_change_log
@@ -10277,7 +11528,7 @@ module Aws::Kendra
10277
11528
  # exclusion pattern, the exclusion pattern takes precedence and the
10278
11529
  # document isn't included in the index.
10279
11530
  #
10280
- # The regex is applied to the display URL of the SharePoint document.
11531
+ # The regex applies to the display URL of the SharePoint document.
10281
11532
  # @return [Array<String>]
10282
11533
  #
10283
11534
  # @!attribute [rw] exclusion_patterns
@@ -10288,11 +11539,17 @@ module Aws::Kendra
10288
11539
  # exclusion pattern, the exclusion pattern takes precedence and the
10289
11540
  # document isn't included in the index.
10290
11541
  #
10291
- # The regex is applied to the display URL of the SharePoint document.
11542
+ # The regex applies to the display URL of the SharePoint document.
10292
11543
  # @return [Array<String>]
10293
11544
  #
10294
11545
  # @!attribute [rw] vpc_configuration
10295
- # Provides the configuration information to connect to an Amazon VPC.
11546
+ # Configuration information for an Amazon Virtual Private Cloud to
11547
+ # connect to your Microsoft SharePoint. For more information, see
11548
+ # [Configuring a VPC][1].
11549
+ #
11550
+ #
11551
+ #
11552
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html
10296
11553
  # @return [Types::DataSourceVpcConfiguration]
10297
11554
  #
10298
11555
  # @!attribute [rw] field_mappings
@@ -10314,12 +11571,12 @@ module Aws::Kendra
10314
11571
  # @return [String]
10315
11572
  #
10316
11573
  # @!attribute [rw] disable_local_groups
10317
- # A Boolean value that specifies whether local groups are disabled
10318
- # (`True`) or enabled (`False`).
11574
+ # `TRUE` to disable local groups information.
10319
11575
  # @return [Boolean]
10320
11576
  #
10321
11577
  # @!attribute [rw] ssl_certificate_s3_path
10322
- # Information required to find a specific file in an Amazon S3 bucket.
11578
+ # The path to the SSL certificate stored in an Amazon S3 bucket. You
11579
+ # use this to connect to SharePoint.
10323
11580
  # @return [Types::S3Path]
10324
11581
  #
10325
11582
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SharePointConfiguration AWS API Documentation
@@ -11569,6 +12826,188 @@ module Aws::Kendra
11569
12826
  # security_group_ids: ["VpcSecurityGroupId"], # required
11570
12827
  # },
11571
12828
  # },
12829
+ # jira_configuration: {
12830
+ # jira_account_url: "JiraAccountUrl", # required
12831
+ # secret_arn: "SecretArn", # required
12832
+ # use_change_log: false,
12833
+ # project: ["String"],
12834
+ # issue_type: ["String"],
12835
+ # status: ["String"],
12836
+ # issue_sub_entity_filter: ["COMMENTS"], # accepts COMMENTS, ATTACHMENTS, WORKLOGS
12837
+ # attachment_field_mappings: [
12838
+ # {
12839
+ # data_source_field_name: "DataSourceFieldName", # required
12840
+ # date_field_format: "DataSourceDateFieldFormat",
12841
+ # index_field_name: "IndexFieldName", # required
12842
+ # },
12843
+ # ],
12844
+ # comment_field_mappings: [
12845
+ # {
12846
+ # data_source_field_name: "DataSourceFieldName", # required
12847
+ # date_field_format: "DataSourceDateFieldFormat",
12848
+ # index_field_name: "IndexFieldName", # required
12849
+ # },
12850
+ # ],
12851
+ # issue_field_mappings: [
12852
+ # {
12853
+ # data_source_field_name: "DataSourceFieldName", # required
12854
+ # date_field_format: "DataSourceDateFieldFormat",
12855
+ # index_field_name: "IndexFieldName", # required
12856
+ # },
12857
+ # ],
12858
+ # project_field_mappings: [
12859
+ # {
12860
+ # data_source_field_name: "DataSourceFieldName", # required
12861
+ # date_field_format: "DataSourceDateFieldFormat",
12862
+ # index_field_name: "IndexFieldName", # required
12863
+ # },
12864
+ # ],
12865
+ # work_log_field_mappings: [
12866
+ # {
12867
+ # data_source_field_name: "DataSourceFieldName", # required
12868
+ # date_field_format: "DataSourceDateFieldFormat",
12869
+ # index_field_name: "IndexFieldName", # required
12870
+ # },
12871
+ # ],
12872
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
12873
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
12874
+ # vpc_configuration: {
12875
+ # subnet_ids: ["SubnetId"], # required
12876
+ # security_group_ids: ["VpcSecurityGroupId"], # required
12877
+ # },
12878
+ # },
12879
+ # git_hub_configuration: {
12880
+ # saa_s_configuration: {
12881
+ # organization_name: "OrganizationName", # required
12882
+ # host_url: "Url", # required
12883
+ # },
12884
+ # on_premise_configuration: {
12885
+ # host_url: "Url", # required
12886
+ # organization_name: "OrganizationName", # required
12887
+ # ssl_certificate_s3_path: { # required
12888
+ # bucket: "S3BucketName", # required
12889
+ # key: "S3ObjectKey", # required
12890
+ # },
12891
+ # },
12892
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
12893
+ # secret_arn: "SecretArn", # required
12894
+ # use_change_log: false,
12895
+ # git_hub_document_crawl_properties: {
12896
+ # crawl_repository_documents: false,
12897
+ # crawl_issue: false,
12898
+ # crawl_issue_comment: false,
12899
+ # crawl_issue_comment_attachment: false,
12900
+ # crawl_pull_request: false,
12901
+ # crawl_pull_request_comment: false,
12902
+ # crawl_pull_request_comment_attachment: false,
12903
+ # },
12904
+ # repository_filter: ["RepositoryName"],
12905
+ # inclusion_folder_name_patterns: ["String"],
12906
+ # inclusion_file_type_patterns: ["String"],
12907
+ # inclusion_file_name_patterns: ["String"],
12908
+ # exclusion_folder_name_patterns: ["String"],
12909
+ # exclusion_file_type_patterns: ["String"],
12910
+ # exclusion_file_name_patterns: ["String"],
12911
+ # vpc_configuration: {
12912
+ # subnet_ids: ["SubnetId"], # required
12913
+ # security_group_ids: ["VpcSecurityGroupId"], # required
12914
+ # },
12915
+ # git_hub_repository_configuration_field_mappings: [
12916
+ # {
12917
+ # data_source_field_name: "DataSourceFieldName", # required
12918
+ # date_field_format: "DataSourceDateFieldFormat",
12919
+ # index_field_name: "IndexFieldName", # required
12920
+ # },
12921
+ # ],
12922
+ # git_hub_commit_configuration_field_mappings: [
12923
+ # {
12924
+ # data_source_field_name: "DataSourceFieldName", # required
12925
+ # date_field_format: "DataSourceDateFieldFormat",
12926
+ # index_field_name: "IndexFieldName", # required
12927
+ # },
12928
+ # ],
12929
+ # git_hub_issue_document_configuration_field_mappings: [
12930
+ # {
12931
+ # data_source_field_name: "DataSourceFieldName", # required
12932
+ # date_field_format: "DataSourceDateFieldFormat",
12933
+ # index_field_name: "IndexFieldName", # required
12934
+ # },
12935
+ # ],
12936
+ # git_hub_issue_comment_configuration_field_mappings: [
12937
+ # {
12938
+ # data_source_field_name: "DataSourceFieldName", # required
12939
+ # date_field_format: "DataSourceDateFieldFormat",
12940
+ # index_field_name: "IndexFieldName", # required
12941
+ # },
12942
+ # ],
12943
+ # git_hub_issue_attachment_configuration_field_mappings: [
12944
+ # {
12945
+ # data_source_field_name: "DataSourceFieldName", # required
12946
+ # date_field_format: "DataSourceDateFieldFormat",
12947
+ # index_field_name: "IndexFieldName", # required
12948
+ # },
12949
+ # ],
12950
+ # git_hub_pull_request_comment_configuration_field_mappings: [
12951
+ # {
12952
+ # data_source_field_name: "DataSourceFieldName", # required
12953
+ # date_field_format: "DataSourceDateFieldFormat",
12954
+ # index_field_name: "IndexFieldName", # required
12955
+ # },
12956
+ # ],
12957
+ # git_hub_pull_request_document_configuration_field_mappings: [
12958
+ # {
12959
+ # data_source_field_name: "DataSourceFieldName", # required
12960
+ # date_field_format: "DataSourceDateFieldFormat",
12961
+ # index_field_name: "IndexFieldName", # required
12962
+ # },
12963
+ # ],
12964
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
12965
+ # {
12966
+ # data_source_field_name: "DataSourceFieldName", # required
12967
+ # date_field_format: "DataSourceDateFieldFormat",
12968
+ # index_field_name: "IndexFieldName", # required
12969
+ # },
12970
+ # ],
12971
+ # },
12972
+ # alfresco_configuration: {
12973
+ # site_url: "SiteUrl", # required
12974
+ # site_id: "SiteId", # required
12975
+ # secret_arn: "SecretArn", # required
12976
+ # ssl_certificate_s3_path: { # required
12977
+ # bucket: "S3BucketName", # required
12978
+ # key: "S3ObjectKey", # required
12979
+ # },
12980
+ # crawl_system_folders: false,
12981
+ # crawl_comments: false,
12982
+ # entity_filter: ["wiki"], # accepts wiki, blog, documentLibrary
12983
+ # document_library_field_mappings: [
12984
+ # {
12985
+ # data_source_field_name: "DataSourceFieldName", # required
12986
+ # date_field_format: "DataSourceDateFieldFormat",
12987
+ # index_field_name: "IndexFieldName", # required
12988
+ # },
12989
+ # ],
12990
+ # blog_field_mappings: [
12991
+ # {
12992
+ # data_source_field_name: "DataSourceFieldName", # required
12993
+ # date_field_format: "DataSourceDateFieldFormat",
12994
+ # index_field_name: "IndexFieldName", # required
12995
+ # },
12996
+ # ],
12997
+ # wiki_field_mappings: [
12998
+ # {
12999
+ # data_source_field_name: "DataSourceFieldName", # required
13000
+ # date_field_format: "DataSourceDateFieldFormat",
13001
+ # index_field_name: "IndexFieldName", # required
13002
+ # },
13003
+ # ],
13004
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
13005
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
13006
+ # vpc_configuration: {
13007
+ # subnet_ids: ["SubnetId"], # required
13008
+ # security_group_ids: ["VpcSecurityGroupId"], # required
13009
+ # },
13010
+ # },
11572
13011
  # },
11573
13012
  # description: "Description",
11574
13013
  # schedule: "ScanSchedule",