aws-sdk-kendra 1.51.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c4530b8aec37c1b07463e54346ec7c7a99d2ceef01369b572a27d04c19b91dc
4
- data.tar.gz: 18da96c2f2c752a2f25a91d2926ba0042d03b63ae81c19a98e293ceaeb316f04
3
+ metadata.gz: 41517d592fc9223a345337bd0d8c62d72a4ee119c78d5d6b8cc7cbdb4f226314
4
+ data.tar.gz: 593cb38300ed549164a4dd8eeff873889c516670949f9850a7c9decf54e791cf
5
5
  SHA512:
6
- metadata.gz: c4aad3a31332f5de79d7aea4333d9b1bda266eeb670ef63ffa39358fbeac202186beef72e2dbee2f30c9a9f9f1cca0328a0aec2270a7b51262cd1d17702ba724
7
- data.tar.gz: 001762fe12e24bf154eea7e29a031b5b671e701744ec6530fb7075462dc9d257cf526a2bf356c8ceff9925ba7542167fe25c97aa6cf6a5fc3c45a3fddc38e5b4
6
+ metadata.gz: '068b922d0662a25b51593b5263e19aa9996fe2fb4c89f85191c409209cd9ebff7b5d76d0a315d7205dcb257ce99776c4458d6f87011af2cad750688d58a052c0'
7
+ data.tar.gz: 16ed22fabf4568dd4351a3142d56eab5ab181ac6d46ddba7d111adbbf6d4c334954081eced84e16fc662c109fea7d80ca8d1eaa8319e18308a0b1dda0fe3364e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2022-06-02)
5
+ ------------------
6
+
7
+ * Feature - Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html
8
+
4
9
  1.51.0 (2022-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -925,7 +925,7 @@ module Aws::Kendra
925
925
  # resp = client.create_data_source({
926
926
  # name: "DataSourceName", # required
927
927
  # index_id: "IndexId", # required
928
- # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP, JIRA
928
+ # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP, JIRA, GITHUB
929
929
  # configuration: {
930
930
  # s3_configuration: {
931
931
  # bucket_name: "S3BucketName", # required
@@ -1407,6 +1407,99 @@ module Aws::Kendra
1407
1407
  # security_group_ids: ["VpcSecurityGroupId"], # required
1408
1408
  # },
1409
1409
  # },
1410
+ # git_hub_configuration: {
1411
+ # saa_s_configuration: {
1412
+ # organization_name: "OrganizationName", # required
1413
+ # host_url: "Url", # required
1414
+ # },
1415
+ # on_premise_configuration: {
1416
+ # host_url: "Url", # required
1417
+ # organization_name: "OrganizationName", # required
1418
+ # ssl_certificate_s3_path: { # required
1419
+ # bucket: "S3BucketName", # required
1420
+ # key: "S3ObjectKey", # required
1421
+ # },
1422
+ # },
1423
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
1424
+ # secret_arn: "SecretArn", # required
1425
+ # use_change_log: false,
1426
+ # git_hub_document_crawl_properties: {
1427
+ # crawl_repository_documents: false,
1428
+ # crawl_issue: false,
1429
+ # crawl_issue_comment: false,
1430
+ # crawl_issue_comment_attachment: false,
1431
+ # crawl_pull_request: false,
1432
+ # crawl_pull_request_comment: false,
1433
+ # crawl_pull_request_comment_attachment: false,
1434
+ # },
1435
+ # repository_filter: ["RepositoryName"],
1436
+ # inclusion_folder_name_patterns: ["String"],
1437
+ # inclusion_file_type_patterns: ["String"],
1438
+ # inclusion_file_name_patterns: ["String"],
1439
+ # exclusion_folder_name_patterns: ["String"],
1440
+ # exclusion_file_type_patterns: ["String"],
1441
+ # exclusion_file_name_patterns: ["String"],
1442
+ # vpc_configuration: {
1443
+ # subnet_ids: ["SubnetId"], # required
1444
+ # security_group_ids: ["VpcSecurityGroupId"], # required
1445
+ # },
1446
+ # git_hub_repository_configuration_field_mappings: [
1447
+ # {
1448
+ # data_source_field_name: "DataSourceFieldName", # required
1449
+ # date_field_format: "DataSourceDateFieldFormat",
1450
+ # index_field_name: "IndexFieldName", # required
1451
+ # },
1452
+ # ],
1453
+ # git_hub_commit_configuration_field_mappings: [
1454
+ # {
1455
+ # data_source_field_name: "DataSourceFieldName", # required
1456
+ # date_field_format: "DataSourceDateFieldFormat",
1457
+ # index_field_name: "IndexFieldName", # required
1458
+ # },
1459
+ # ],
1460
+ # git_hub_issue_document_configuration_field_mappings: [
1461
+ # {
1462
+ # data_source_field_name: "DataSourceFieldName", # required
1463
+ # date_field_format: "DataSourceDateFieldFormat",
1464
+ # index_field_name: "IndexFieldName", # required
1465
+ # },
1466
+ # ],
1467
+ # git_hub_issue_comment_configuration_field_mappings: [
1468
+ # {
1469
+ # data_source_field_name: "DataSourceFieldName", # required
1470
+ # date_field_format: "DataSourceDateFieldFormat",
1471
+ # index_field_name: "IndexFieldName", # required
1472
+ # },
1473
+ # ],
1474
+ # git_hub_issue_attachment_configuration_field_mappings: [
1475
+ # {
1476
+ # data_source_field_name: "DataSourceFieldName", # required
1477
+ # date_field_format: "DataSourceDateFieldFormat",
1478
+ # index_field_name: "IndexFieldName", # required
1479
+ # },
1480
+ # ],
1481
+ # git_hub_pull_request_comment_configuration_field_mappings: [
1482
+ # {
1483
+ # data_source_field_name: "DataSourceFieldName", # required
1484
+ # date_field_format: "DataSourceDateFieldFormat",
1485
+ # index_field_name: "IndexFieldName", # required
1486
+ # },
1487
+ # ],
1488
+ # git_hub_pull_request_document_configuration_field_mappings: [
1489
+ # {
1490
+ # data_source_field_name: "DataSourceFieldName", # required
1491
+ # date_field_format: "DataSourceDateFieldFormat",
1492
+ # index_field_name: "IndexFieldName", # required
1493
+ # },
1494
+ # ],
1495
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
1496
+ # {
1497
+ # data_source_field_name: "DataSourceFieldName", # required
1498
+ # date_field_format: "DataSourceDateFieldFormat",
1499
+ # index_field_name: "IndexFieldName", # required
1500
+ # },
1501
+ # ],
1502
+ # },
1410
1503
  # },
1411
1504
  # description: "Description",
1412
1505
  # schedule: "ScanSchedule",
@@ -2274,7 +2367,7 @@ module Aws::Kendra
2274
2367
  # resp.id #=> String
2275
2368
  # resp.index_id #=> String
2276
2369
  # resp.name #=> String
2277
- # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP", "JIRA"
2370
+ # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP", "JIRA", "GITHUB"
2278
2371
  # resp.configuration.s3_configuration.bucket_name #=> String
2279
2372
  # resp.configuration.s3_configuration.inclusion_prefixes #=> Array
2280
2373
  # resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -2629,6 +2722,72 @@ module Aws::Kendra
2629
2722
  # resp.configuration.jira_configuration.vpc_configuration.subnet_ids[0] #=> String
2630
2723
  # resp.configuration.jira_configuration.vpc_configuration.security_group_ids #=> Array
2631
2724
  # resp.configuration.jira_configuration.vpc_configuration.security_group_ids[0] #=> String
2725
+ # resp.configuration.git_hub_configuration.saa_s_configuration.organization_name #=> String
2726
+ # resp.configuration.git_hub_configuration.saa_s_configuration.host_url #=> String
2727
+ # resp.configuration.git_hub_configuration.on_premise_configuration.host_url #=> String
2728
+ # resp.configuration.git_hub_configuration.on_premise_configuration.organization_name #=> String
2729
+ # resp.configuration.git_hub_configuration.on_premise_configuration.ssl_certificate_s3_path.bucket #=> String
2730
+ # resp.configuration.git_hub_configuration.on_premise_configuration.ssl_certificate_s3_path.key #=> String
2731
+ # resp.configuration.git_hub_configuration.type #=> String, one of "SAAS", "ON_PREMISE"
2732
+ # resp.configuration.git_hub_configuration.secret_arn #=> String
2733
+ # resp.configuration.git_hub_configuration.use_change_log #=> Boolean
2734
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_repository_documents #=> Boolean
2735
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_issue #=> Boolean
2736
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_issue_comment #=> Boolean
2737
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_issue_comment_attachment #=> Boolean
2738
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_pull_request #=> Boolean
2739
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_pull_request_comment #=> Boolean
2740
+ # resp.configuration.git_hub_configuration.git_hub_document_crawl_properties.crawl_pull_request_comment_attachment #=> Boolean
2741
+ # resp.configuration.git_hub_configuration.repository_filter #=> Array
2742
+ # resp.configuration.git_hub_configuration.repository_filter[0] #=> String
2743
+ # resp.configuration.git_hub_configuration.inclusion_folder_name_patterns #=> Array
2744
+ # resp.configuration.git_hub_configuration.inclusion_folder_name_patterns[0] #=> String
2745
+ # resp.configuration.git_hub_configuration.inclusion_file_type_patterns #=> Array
2746
+ # resp.configuration.git_hub_configuration.inclusion_file_type_patterns[0] #=> String
2747
+ # resp.configuration.git_hub_configuration.inclusion_file_name_patterns #=> Array
2748
+ # resp.configuration.git_hub_configuration.inclusion_file_name_patterns[0] #=> String
2749
+ # resp.configuration.git_hub_configuration.exclusion_folder_name_patterns #=> Array
2750
+ # resp.configuration.git_hub_configuration.exclusion_folder_name_patterns[0] #=> String
2751
+ # resp.configuration.git_hub_configuration.exclusion_file_type_patterns #=> Array
2752
+ # resp.configuration.git_hub_configuration.exclusion_file_type_patterns[0] #=> String
2753
+ # resp.configuration.git_hub_configuration.exclusion_file_name_patterns #=> Array
2754
+ # resp.configuration.git_hub_configuration.exclusion_file_name_patterns[0] #=> String
2755
+ # resp.configuration.git_hub_configuration.vpc_configuration.subnet_ids #=> Array
2756
+ # resp.configuration.git_hub_configuration.vpc_configuration.subnet_ids[0] #=> String
2757
+ # resp.configuration.git_hub_configuration.vpc_configuration.security_group_ids #=> Array
2758
+ # resp.configuration.git_hub_configuration.vpc_configuration.security_group_ids[0] #=> String
2759
+ # resp.configuration.git_hub_configuration.git_hub_repository_configuration_field_mappings #=> Array
2760
+ # resp.configuration.git_hub_configuration.git_hub_repository_configuration_field_mappings[0].data_source_field_name #=> String
2761
+ # resp.configuration.git_hub_configuration.git_hub_repository_configuration_field_mappings[0].date_field_format #=> String
2762
+ # resp.configuration.git_hub_configuration.git_hub_repository_configuration_field_mappings[0].index_field_name #=> String
2763
+ # resp.configuration.git_hub_configuration.git_hub_commit_configuration_field_mappings #=> Array
2764
+ # resp.configuration.git_hub_configuration.git_hub_commit_configuration_field_mappings[0].data_source_field_name #=> String
2765
+ # resp.configuration.git_hub_configuration.git_hub_commit_configuration_field_mappings[0].date_field_format #=> String
2766
+ # resp.configuration.git_hub_configuration.git_hub_commit_configuration_field_mappings[0].index_field_name #=> String
2767
+ # resp.configuration.git_hub_configuration.git_hub_issue_document_configuration_field_mappings #=> Array
2768
+ # resp.configuration.git_hub_configuration.git_hub_issue_document_configuration_field_mappings[0].data_source_field_name #=> String
2769
+ # resp.configuration.git_hub_configuration.git_hub_issue_document_configuration_field_mappings[0].date_field_format #=> String
2770
+ # resp.configuration.git_hub_configuration.git_hub_issue_document_configuration_field_mappings[0].index_field_name #=> String
2771
+ # resp.configuration.git_hub_configuration.git_hub_issue_comment_configuration_field_mappings #=> Array
2772
+ # resp.configuration.git_hub_configuration.git_hub_issue_comment_configuration_field_mappings[0].data_source_field_name #=> String
2773
+ # resp.configuration.git_hub_configuration.git_hub_issue_comment_configuration_field_mappings[0].date_field_format #=> String
2774
+ # resp.configuration.git_hub_configuration.git_hub_issue_comment_configuration_field_mappings[0].index_field_name #=> String
2775
+ # resp.configuration.git_hub_configuration.git_hub_issue_attachment_configuration_field_mappings #=> Array
2776
+ # resp.configuration.git_hub_configuration.git_hub_issue_attachment_configuration_field_mappings[0].data_source_field_name #=> String
2777
+ # resp.configuration.git_hub_configuration.git_hub_issue_attachment_configuration_field_mappings[0].date_field_format #=> String
2778
+ # resp.configuration.git_hub_configuration.git_hub_issue_attachment_configuration_field_mappings[0].index_field_name #=> String
2779
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_comment_configuration_field_mappings #=> Array
2780
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_comment_configuration_field_mappings[0].data_source_field_name #=> String
2781
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_comment_configuration_field_mappings[0].date_field_format #=> String
2782
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_comment_configuration_field_mappings[0].index_field_name #=> String
2783
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_configuration_field_mappings #=> Array
2784
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_configuration_field_mappings[0].data_source_field_name #=> String
2785
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_configuration_field_mappings[0].date_field_format #=> String
2786
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_configuration_field_mappings[0].index_field_name #=> String
2787
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_attachment_configuration_field_mappings #=> Array
2788
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_attachment_configuration_field_mappings[0].data_source_field_name #=> String
2789
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_attachment_configuration_field_mappings[0].date_field_format #=> String
2790
+ # resp.configuration.git_hub_configuration.git_hub_pull_request_document_attachment_configuration_field_mappings[0].index_field_name #=> String
2632
2791
  # resp.created_at #=> Time
2633
2792
  # resp.updated_at #=> Time
2634
2793
  # resp.description #=> String
@@ -3463,7 +3622,7 @@ module Aws::Kendra
3463
3622
  # resp.summary_items #=> Array
3464
3623
  # resp.summary_items[0].name #=> String
3465
3624
  # resp.summary_items[0].id #=> String
3466
- # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP", "JIRA"
3625
+ # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP", "JIRA", "GITHUB"
3467
3626
  # resp.summary_items[0].created_at #=> Time
3468
3627
  # resp.summary_items[0].updated_at #=> Time
3469
3628
  # resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
@@ -5101,6 +5260,99 @@ module Aws::Kendra
5101
5260
  # security_group_ids: ["VpcSecurityGroupId"], # required
5102
5261
  # },
5103
5262
  # },
5263
+ # git_hub_configuration: {
5264
+ # saa_s_configuration: {
5265
+ # organization_name: "OrganizationName", # required
5266
+ # host_url: "Url", # required
5267
+ # },
5268
+ # on_premise_configuration: {
5269
+ # host_url: "Url", # required
5270
+ # organization_name: "OrganizationName", # required
5271
+ # ssl_certificate_s3_path: { # required
5272
+ # bucket: "S3BucketName", # required
5273
+ # key: "S3ObjectKey", # required
5274
+ # },
5275
+ # },
5276
+ # type: "SAAS", # accepts SAAS, ON_PREMISE
5277
+ # secret_arn: "SecretArn", # required
5278
+ # use_change_log: false,
5279
+ # git_hub_document_crawl_properties: {
5280
+ # crawl_repository_documents: false,
5281
+ # crawl_issue: false,
5282
+ # crawl_issue_comment: false,
5283
+ # crawl_issue_comment_attachment: false,
5284
+ # crawl_pull_request: false,
5285
+ # crawl_pull_request_comment: false,
5286
+ # crawl_pull_request_comment_attachment: false,
5287
+ # },
5288
+ # repository_filter: ["RepositoryName"],
5289
+ # inclusion_folder_name_patterns: ["String"],
5290
+ # inclusion_file_type_patterns: ["String"],
5291
+ # inclusion_file_name_patterns: ["String"],
5292
+ # exclusion_folder_name_patterns: ["String"],
5293
+ # exclusion_file_type_patterns: ["String"],
5294
+ # exclusion_file_name_patterns: ["String"],
5295
+ # vpc_configuration: {
5296
+ # subnet_ids: ["SubnetId"], # required
5297
+ # security_group_ids: ["VpcSecurityGroupId"], # required
5298
+ # },
5299
+ # git_hub_repository_configuration_field_mappings: [
5300
+ # {
5301
+ # data_source_field_name: "DataSourceFieldName", # required
5302
+ # date_field_format: "DataSourceDateFieldFormat",
5303
+ # index_field_name: "IndexFieldName", # required
5304
+ # },
5305
+ # ],
5306
+ # git_hub_commit_configuration_field_mappings: [
5307
+ # {
5308
+ # data_source_field_name: "DataSourceFieldName", # required
5309
+ # date_field_format: "DataSourceDateFieldFormat",
5310
+ # index_field_name: "IndexFieldName", # required
5311
+ # },
5312
+ # ],
5313
+ # git_hub_issue_document_configuration_field_mappings: [
5314
+ # {
5315
+ # data_source_field_name: "DataSourceFieldName", # required
5316
+ # date_field_format: "DataSourceDateFieldFormat",
5317
+ # index_field_name: "IndexFieldName", # required
5318
+ # },
5319
+ # ],
5320
+ # git_hub_issue_comment_configuration_field_mappings: [
5321
+ # {
5322
+ # data_source_field_name: "DataSourceFieldName", # required
5323
+ # date_field_format: "DataSourceDateFieldFormat",
5324
+ # index_field_name: "IndexFieldName", # required
5325
+ # },
5326
+ # ],
5327
+ # git_hub_issue_attachment_configuration_field_mappings: [
5328
+ # {
5329
+ # data_source_field_name: "DataSourceFieldName", # required
5330
+ # date_field_format: "DataSourceDateFieldFormat",
5331
+ # index_field_name: "IndexFieldName", # required
5332
+ # },
5333
+ # ],
5334
+ # git_hub_pull_request_comment_configuration_field_mappings: [
5335
+ # {
5336
+ # data_source_field_name: "DataSourceFieldName", # required
5337
+ # date_field_format: "DataSourceDateFieldFormat",
5338
+ # index_field_name: "IndexFieldName", # required
5339
+ # },
5340
+ # ],
5341
+ # git_hub_pull_request_document_configuration_field_mappings: [
5342
+ # {
5343
+ # data_source_field_name: "DataSourceFieldName", # required
5344
+ # date_field_format: "DataSourceDateFieldFormat",
5345
+ # index_field_name: "IndexFieldName", # required
5346
+ # },
5347
+ # ],
5348
+ # git_hub_pull_request_document_attachment_configuration_field_mappings: [
5349
+ # {
5350
+ # data_source_field_name: "DataSourceFieldName", # required
5351
+ # date_field_format: "DataSourceDateFieldFormat",
5352
+ # index_field_name: "IndexFieldName", # required
5353
+ # },
5354
+ # ],
5355
+ # },
5104
5356
  # },
5105
5357
  # description: "Description",
5106
5358
  # schedule: "ScanSchedule",
@@ -5571,7 +5823,7 @@ module Aws::Kendra
5571
5823
  params: params,
5572
5824
  config: config)
5573
5825
  context[:gem_name] = 'aws-sdk-kendra'
5574
- context[:gem_version] = '1.51.0'
5826
+ context[:gem_version] = '1.52.0'
5575
5827
  Seahorse::Client::Request.new(handlers, context)
5576
5828
  end
5577
5829
 
@@ -234,6 +234,8 @@ module Aws::Kendra
234
234
  GetQuerySuggestionsResponse = Shapes::StructureShape.new(name: 'GetQuerySuggestionsResponse')
235
235
  GetSnapshotsRequest = Shapes::StructureShape.new(name: 'GetSnapshotsRequest')
236
236
  GetSnapshotsResponse = Shapes::StructureShape.new(name: 'GetSnapshotsResponse')
237
+ GitHubConfiguration = Shapes::StructureShape.new(name: 'GitHubConfiguration')
238
+ GitHubDocumentCrawlProperties = Shapes::StructureShape.new(name: 'GitHubDocumentCrawlProperties')
237
239
  GoogleDriveConfiguration = Shapes::StructureShape.new(name: 'GoogleDriveConfiguration')
238
240
  GroupAttributeField = Shapes::StringShape.new(name: 'GroupAttributeField')
239
241
  GroupId = Shapes::StringShape.new(name: 'GroupId')
@@ -331,12 +333,14 @@ module Aws::Kendra
331
333
  NameType = Shapes::StringShape.new(name: 'NameType')
332
334
  NextToken = Shapes::StringShape.new(name: 'NextToken')
333
335
  ObjectBoolean = Shapes::BooleanShape.new(name: 'ObjectBoolean')
336
+ OnPremiseConfiguration = Shapes::StructureShape.new(name: 'OnPremiseConfiguration')
334
337
  OneDriveConfiguration = Shapes::StructureShape.new(name: 'OneDriveConfiguration')
335
338
  OneDriveUser = Shapes::StringShape.new(name: 'OneDriveUser')
336
339
  OneDriveUserList = Shapes::ListShape.new(name: 'OneDriveUserList')
337
340
  OneDriveUsers = Shapes::StructureShape.new(name: 'OneDriveUsers')
338
341
  Order = Shapes::StringShape.new(name: 'Order')
339
342
  OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
343
+ OrganizationName = Shapes::StringShape.new(name: 'OrganizationName')
340
344
  Persona = Shapes::StringShape.new(name: 'Persona')
341
345
  PersonasSummary = Shapes::StructureShape.new(name: 'PersonasSummary')
342
346
  PersonasSummaryList = Shapes::ListShape.new(name: 'PersonasSummaryList')
@@ -374,6 +378,8 @@ module Aws::Kendra
374
378
  RelevanceFeedback = Shapes::StructureShape.new(name: 'RelevanceFeedback')
375
379
  RelevanceFeedbackList = Shapes::ListShape.new(name: 'RelevanceFeedbackList')
376
380
  RelevanceType = Shapes::StringShape.new(name: 'RelevanceType')
381
+ RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
382
+ RepositoryNames = Shapes::ListShape.new(name: 'RepositoryNames')
377
383
  ResourceAlreadyExistException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistException')
378
384
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
379
385
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -384,6 +390,7 @@ module Aws::Kendra
384
390
  S3DataSourceConfiguration = Shapes::StructureShape.new(name: 'S3DataSourceConfiguration')
385
391
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
386
392
  S3Path = Shapes::StructureShape.new(name: 'S3Path')
393
+ SaaSConfiguration = Shapes::StructureShape.new(name: 'SaaSConfiguration')
387
394
  SalesforceChatterFeedConfiguration = Shapes::StructureShape.new(name: 'SalesforceChatterFeedConfiguration')
388
395
  SalesforceChatterFeedIncludeFilterType = Shapes::StringShape.new(name: 'SalesforceChatterFeedIncludeFilterType')
389
396
  SalesforceChatterFeedIncludeFilterTypes = Shapes::ListShape.new(name: 'SalesforceChatterFeedIncludeFilterTypes')
@@ -443,6 +450,7 @@ module Aws::Kendra
443
450
  StopDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StopDataSourceSyncJobRequest')
444
451
  StorageCapacityUnit = Shapes::IntegerShape.new(name: 'StorageCapacityUnit')
445
452
  String = Shapes::StringShape.new(name: 'String')
453
+ StringList = Shapes::ListShape.new(name: 'StringList')
446
454
  SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
447
455
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
448
456
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
@@ -477,6 +485,7 @@ module Aws::Kendra
477
485
  Title = Shapes::StringShape.new(name: 'Title')
478
486
  Token = Shapes::StringShape.new(name: 'Token')
479
487
  TopDocumentAttributeValueCountPairsSize = Shapes::IntegerShape.new(name: 'TopDocumentAttributeValueCountPairsSize')
488
+ Type = Shapes::StringShape.new(name: 'Type')
480
489
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
481
490
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
482
491
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
@@ -839,6 +848,7 @@ module Aws::Kendra
839
848
  DataSourceConfiguration.add_member(:box_configuration, Shapes::ShapeRef.new(shape: BoxConfiguration, location_name: "BoxConfiguration"))
840
849
  DataSourceConfiguration.add_member(:quip_configuration, Shapes::ShapeRef.new(shape: QuipConfiguration, location_name: "QuipConfiguration"))
841
850
  DataSourceConfiguration.add_member(:jira_configuration, Shapes::ShapeRef.new(shape: JiraConfiguration, location_name: "JiraConfiguration"))
851
+ DataSourceConfiguration.add_member(:git_hub_configuration, Shapes::ShapeRef.new(shape: GitHubConfiguration, location_name: "GitHubConfiguration"))
842
852
  DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
843
853
 
844
854
  DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
@@ -1283,6 +1293,39 @@ module Aws::Kendra
1283
1293
  GetSnapshotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1284
1294
  GetSnapshotsResponse.struct_class = Types::GetSnapshotsResponse
1285
1295
 
1296
+ GitHubConfiguration.add_member(:saa_s_configuration, Shapes::ShapeRef.new(shape: SaaSConfiguration, location_name: "SaaSConfiguration"))
1297
+ GitHubConfiguration.add_member(:on_premise_configuration, Shapes::ShapeRef.new(shape: OnPremiseConfiguration, location_name: "OnPremiseConfiguration"))
1298
+ GitHubConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
1299
+ GitHubConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
1300
+ GitHubConfiguration.add_member(:use_change_log, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseChangeLog"))
1301
+ GitHubConfiguration.add_member(:git_hub_document_crawl_properties, Shapes::ShapeRef.new(shape: GitHubDocumentCrawlProperties, location_name: "GitHubDocumentCrawlProperties"))
1302
+ GitHubConfiguration.add_member(:repository_filter, Shapes::ShapeRef.new(shape: RepositoryNames, location_name: "RepositoryFilter"))
1303
+ GitHubConfiguration.add_member(:inclusion_folder_name_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "InclusionFolderNamePatterns"))
1304
+ GitHubConfiguration.add_member(:inclusion_file_type_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "InclusionFileTypePatterns"))
1305
+ GitHubConfiguration.add_member(:inclusion_file_name_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "InclusionFileNamePatterns"))
1306
+ GitHubConfiguration.add_member(:exclusion_folder_name_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "ExclusionFolderNamePatterns"))
1307
+ GitHubConfiguration.add_member(:exclusion_file_type_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "ExclusionFileTypePatterns"))
1308
+ GitHubConfiguration.add_member(:exclusion_file_name_patterns, Shapes::ShapeRef.new(shape: StringList, location_name: "ExclusionFileNamePatterns"))
1309
+ GitHubConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
1310
+ GitHubConfiguration.add_member(:git_hub_repository_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubRepositoryConfigurationFieldMappings"))
1311
+ GitHubConfiguration.add_member(:git_hub_commit_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubCommitConfigurationFieldMappings"))
1312
+ GitHubConfiguration.add_member(:git_hub_issue_document_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubIssueDocumentConfigurationFieldMappings"))
1313
+ GitHubConfiguration.add_member(:git_hub_issue_comment_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubIssueCommentConfigurationFieldMappings"))
1314
+ GitHubConfiguration.add_member(:git_hub_issue_attachment_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubIssueAttachmentConfigurationFieldMappings"))
1315
+ GitHubConfiguration.add_member(:git_hub_pull_request_comment_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubPullRequestCommentConfigurationFieldMappings"))
1316
+ GitHubConfiguration.add_member(:git_hub_pull_request_document_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubPullRequestDocumentConfigurationFieldMappings"))
1317
+ GitHubConfiguration.add_member(:git_hub_pull_request_document_attachment_configuration_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "GitHubPullRequestDocumentAttachmentConfigurationFieldMappings"))
1318
+ GitHubConfiguration.struct_class = Types::GitHubConfiguration
1319
+
1320
+ GitHubDocumentCrawlProperties.add_member(:crawl_repository_documents, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlRepositoryDocuments"))
1321
+ GitHubDocumentCrawlProperties.add_member(:crawl_issue, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlIssue"))
1322
+ GitHubDocumentCrawlProperties.add_member(:crawl_issue_comment, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlIssueComment"))
1323
+ GitHubDocumentCrawlProperties.add_member(:crawl_issue_comment_attachment, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlIssueCommentAttachment"))
1324
+ GitHubDocumentCrawlProperties.add_member(:crawl_pull_request, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlPullRequest"))
1325
+ GitHubDocumentCrawlProperties.add_member(:crawl_pull_request_comment, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlPullRequestComment"))
1326
+ GitHubDocumentCrawlProperties.add_member(:crawl_pull_request_comment_attachment, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlPullRequestCommentAttachment"))
1327
+ GitHubDocumentCrawlProperties.struct_class = Types::GitHubDocumentCrawlProperties
1328
+
1286
1329
  GoogleDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
1287
1330
  GoogleDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
1288
1331
  GoogleDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
@@ -1507,6 +1550,11 @@ module Aws::Kendra
1507
1550
 
1508
1551
  MemberUsers.member = Shapes::ShapeRef.new(shape: MemberUser)
1509
1552
 
1553
+ OnPremiseConfiguration.add_member(:host_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "HostUrl"))
1554
+ OnPremiseConfiguration.add_member(:organization_name, Shapes::ShapeRef.new(shape: OrganizationName, required: true, location_name: "OrganizationName"))
1555
+ OnPremiseConfiguration.add_member(:ssl_certificate_s3_path, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "SslCertificateS3Path"))
1556
+ OnPremiseConfiguration.struct_class = Types::OnPremiseConfiguration
1557
+
1510
1558
  OneDriveConfiguration.add_member(:tenant_domain, Shapes::ShapeRef.new(shape: TenantDomain, required: true, location_name: "TenantDomain"))
1511
1559
  OneDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
1512
1560
  OneDriveConfiguration.add_member(:one_drive_users, Shapes::ShapeRef.new(shape: OneDriveUsers, required: true, location_name: "OneDriveUsers"))
@@ -1631,6 +1679,8 @@ module Aws::Kendra
1631
1679
 
1632
1680
  RelevanceFeedbackList.member = Shapes::ShapeRef.new(shape: RelevanceFeedback)
1633
1681
 
1682
+ RepositoryNames.member = Shapes::ShapeRef.new(shape: RepositoryName)
1683
+
1634
1684
  ResourceAlreadyExistException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1635
1685
  ResourceAlreadyExistException.struct_class = Types::ResourceAlreadyExistException
1636
1686
 
@@ -1655,6 +1705,10 @@ module Aws::Kendra
1655
1705
  S3Path.add_member(:key, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "Key"))
1656
1706
  S3Path.struct_class = Types::S3Path
1657
1707
 
1708
+ SaaSConfiguration.add_member(:organization_name, Shapes::ShapeRef.new(shape: OrganizationName, required: true, location_name: "OrganizationName"))
1709
+ SaaSConfiguration.add_member(:host_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "HostUrl"))
1710
+ SaaSConfiguration.struct_class = Types::SaaSConfiguration
1711
+
1658
1712
  SalesforceChatterFeedConfiguration.add_member(:document_data_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, required: true, location_name: "DocumentDataFieldName"))
1659
1713
  SalesforceChatterFeedConfiguration.add_member(:document_title_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, location_name: "DocumentTitleFieldName"))
1660
1714
  SalesforceChatterFeedConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
@@ -1832,6 +1886,8 @@ module Aws::Kendra
1832
1886
  StopDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
1833
1887
  StopDataSourceSyncJobRequest.struct_class = Types::StopDataSourceSyncJobRequest
1834
1888
 
1889
+ StringList.member = Shapes::ShapeRef.new(shape: String)
1890
+
1835
1891
  SubmitFeedbackRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
1836
1892
  SubmitFeedbackRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "QueryId"))
1837
1893
  SubmitFeedbackRequest.add_member(:click_feedback_items, Shapes::ShapeRef.new(shape: ClickFeedbackList, location_name: "ClickFeedbackItems"))