aws-sdk-kendra 1.46.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5205c10b90ac380415aca3028787ff2a5f0ea72d3dec839112932e72d091422
4
- data.tar.gz: fb44466f44a1b97775868263f6da2e881d1768b913e2ae57f5ae232ed6fd8d3e
3
+ metadata.gz: 38283baa9b8b4fa28cf933c9b71177fdbe4ba9d0ae847fdcd84ffdaac3797100
4
+ data.tar.gz: 484525b82d5327e8eca43202a2b559dbeb75e078edacf705de7648f18c5715ee
5
5
  SHA512:
6
- metadata.gz: cb856eb198deeff87c3d4ebbe6b600f5c3c212e6615063abc88414441d398bccc2780fd09a70fce8b747d6b05b92c24325ddd19eaca98672a936f945c83b97a9
7
- data.tar.gz: ef97604ca2ae0cca132b090121491d394c2e4036944e8abb59b172b617ad36db2a5a8a84e1951ef5ef447ebb42962018dd6f44e3e0af9cdfe36c4cb27ea0f570
6
+ metadata.gz: e872f4c8a3da4a1c48ff998490d9f6e0f83801b7fe33b68309fd7151fc780dd94c4978d89f39a88ec6d53081ad1a86032f0a8acbb66efe6b17632b96f8b1afb2
7
+ data.tar.gz: 742eb14f92fa7bb736fb4b8ace48980703e719a1816e09fadc579cd0cf0be7e756244518b6daab8bdb3234608fed5b1447bc60eb7d18633691e171bb092f8a11
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2022-03-14)
5
+ ------------------
6
+
7
+ * Feature - Amazon Kendra now provides a data source connector for Slack. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html
8
+
4
9
  1.46.0 (2022-03-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.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
928
+ # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK
929
929
  # configuration: {
930
930
  # s3_configuration: {
931
931
  # bucket_name: "S3BucketName", # required
@@ -1255,6 +1255,31 @@ module Aws::Kendra
1255
1255
  # },
1256
1256
  # ],
1257
1257
  # },
1258
+ # slack_configuration: {
1259
+ # team_id: "TeamId", # required
1260
+ # secret_arn: "SecretArn", # required
1261
+ # vpc_configuration: {
1262
+ # subnet_ids: ["SubnetId"], # required
1263
+ # security_group_ids: ["VpcSecurityGroupId"], # required
1264
+ # },
1265
+ # slack_entity_list: ["PUBLIC_CHANNEL"], # required, accepts PUBLIC_CHANNEL, PRIVATE_CHANNEL, GROUP_MESSAGE, DIRECT_MESSAGE
1266
+ # use_change_log: false,
1267
+ # crawl_bot_message: false,
1268
+ # exclude_archived: false,
1269
+ # since_crawl_date: "SinceCrawlDate", # required
1270
+ # look_back_period: 1,
1271
+ # private_channel_filter: ["String"],
1272
+ # public_channel_filter: ["String"],
1273
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1274
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1275
+ # field_mappings: [
1276
+ # {
1277
+ # data_source_field_name: "DataSourceFieldName", # required
1278
+ # date_field_format: "DataSourceDateFieldFormat",
1279
+ # index_field_name: "IndexFieldName", # required
1280
+ # },
1281
+ # ],
1282
+ # },
1258
1283
  # },
1259
1284
  # description: "Description",
1260
1285
  # schedule: "ScanSchedule",
@@ -2122,7 +2147,7 @@ module Aws::Kendra
2122
2147
  # resp.id #=> String
2123
2148
  # resp.index_id #=> String
2124
2149
  # resp.name #=> String
2125
- # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX"
2150
+ # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK"
2126
2151
  # resp.configuration.s3_configuration.bucket_name #=> String
2127
2152
  # resp.configuration.s3_configuration.inclusion_prefixes #=> Array
2128
2153
  # resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -2356,6 +2381,31 @@ module Aws::Kendra
2356
2381
  # resp.configuration.fsx_configuration.field_mappings[0].data_source_field_name #=> String
2357
2382
  # resp.configuration.fsx_configuration.field_mappings[0].date_field_format #=> String
2358
2383
  # resp.configuration.fsx_configuration.field_mappings[0].index_field_name #=> String
2384
+ # resp.configuration.slack_configuration.team_id #=> String
2385
+ # resp.configuration.slack_configuration.secret_arn #=> String
2386
+ # resp.configuration.slack_configuration.vpc_configuration.subnet_ids #=> Array
2387
+ # resp.configuration.slack_configuration.vpc_configuration.subnet_ids[0] #=> String
2388
+ # resp.configuration.slack_configuration.vpc_configuration.security_group_ids #=> Array
2389
+ # resp.configuration.slack_configuration.vpc_configuration.security_group_ids[0] #=> String
2390
+ # resp.configuration.slack_configuration.slack_entity_list #=> Array
2391
+ # resp.configuration.slack_configuration.slack_entity_list[0] #=> String, one of "PUBLIC_CHANNEL", "PRIVATE_CHANNEL", "GROUP_MESSAGE", "DIRECT_MESSAGE"
2392
+ # resp.configuration.slack_configuration.use_change_log #=> Boolean
2393
+ # resp.configuration.slack_configuration.crawl_bot_message #=> Boolean
2394
+ # resp.configuration.slack_configuration.exclude_archived #=> Boolean
2395
+ # resp.configuration.slack_configuration.since_crawl_date #=> String
2396
+ # resp.configuration.slack_configuration.look_back_period #=> Integer
2397
+ # resp.configuration.slack_configuration.private_channel_filter #=> Array
2398
+ # resp.configuration.slack_configuration.private_channel_filter[0] #=> String
2399
+ # resp.configuration.slack_configuration.public_channel_filter #=> Array
2400
+ # resp.configuration.slack_configuration.public_channel_filter[0] #=> String
2401
+ # resp.configuration.slack_configuration.inclusion_patterns #=> Array
2402
+ # resp.configuration.slack_configuration.inclusion_patterns[0] #=> String
2403
+ # resp.configuration.slack_configuration.exclusion_patterns #=> Array
2404
+ # resp.configuration.slack_configuration.exclusion_patterns[0] #=> String
2405
+ # resp.configuration.slack_configuration.field_mappings #=> Array
2406
+ # resp.configuration.slack_configuration.field_mappings[0].data_source_field_name #=> String
2407
+ # resp.configuration.slack_configuration.field_mappings[0].date_field_format #=> String
2408
+ # resp.configuration.slack_configuration.field_mappings[0].index_field_name #=> String
2359
2409
  # resp.created_at #=> Time
2360
2410
  # resp.updated_at #=> Time
2361
2411
  # resp.description #=> String
@@ -3190,7 +3240,7 @@ module Aws::Kendra
3190
3240
  # resp.summary_items #=> Array
3191
3241
  # resp.summary_items[0].name #=> String
3192
3242
  # resp.summary_items[0].id #=> String
3193
- # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX"
3243
+ # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK"
3194
3244
  # resp.summary_items[0].created_at #=> Time
3195
3245
  # resp.summary_items[0].updated_at #=> Time
3196
3246
  # resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
@@ -4663,6 +4713,31 @@ module Aws::Kendra
4663
4713
  # },
4664
4714
  # ],
4665
4715
  # },
4716
+ # slack_configuration: {
4717
+ # team_id: "TeamId", # required
4718
+ # secret_arn: "SecretArn", # required
4719
+ # vpc_configuration: {
4720
+ # subnet_ids: ["SubnetId"], # required
4721
+ # security_group_ids: ["VpcSecurityGroupId"], # required
4722
+ # },
4723
+ # slack_entity_list: ["PUBLIC_CHANNEL"], # required, accepts PUBLIC_CHANNEL, PRIVATE_CHANNEL, GROUP_MESSAGE, DIRECT_MESSAGE
4724
+ # use_change_log: false,
4725
+ # crawl_bot_message: false,
4726
+ # exclude_archived: false,
4727
+ # since_crawl_date: "SinceCrawlDate", # required
4728
+ # look_back_period: 1,
4729
+ # private_channel_filter: ["String"],
4730
+ # public_channel_filter: ["String"],
4731
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4732
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
4733
+ # field_mappings: [
4734
+ # {
4735
+ # data_source_field_name: "DataSourceFieldName", # required
4736
+ # date_field_format: "DataSourceDateFieldFormat",
4737
+ # index_field_name: "IndexFieldName", # required
4738
+ # },
4739
+ # ],
4740
+ # },
4666
4741
  # },
4667
4742
  # description: "Description",
4668
4743
  # schedule: "ScanSchedule",
@@ -5132,7 +5207,7 @@ module Aws::Kendra
5132
5207
  params: params,
5133
5208
  config: config)
5134
5209
  context[:gem_name] = 'aws-sdk-kendra'
5135
- context[:gem_version] = '1.46.0'
5210
+ context[:gem_version] = '1.47.0'
5136
5211
  Seahorse::Client::Request.new(handlers, context)
5137
5212
  end
5138
5213
 
@@ -294,6 +294,7 @@ module Aws::Kendra
294
294
  ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
295
295
  ListThesauriResponse = Shapes::StructureShape.new(name: 'ListThesauriResponse')
296
296
  Long = Shapes::IntegerShape.new(name: 'Long')
297
+ LookBackPeriod = Shapes::IntegerShape.new(name: 'LookBackPeriod')
297
298
  MaxContentSizePerPageInMegaBytes = Shapes::FloatShape.new(name: 'MaxContentSizePerPageInMegaBytes')
298
299
  MaxLinksPerPage = Shapes::IntegerShape.new(name: 'MaxLinksPerPage')
299
300
  MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
@@ -335,7 +336,9 @@ module Aws::Kendra
335
336
  PrincipalName = Shapes::StringShape.new(name: 'PrincipalName')
336
337
  PrincipalOrderingId = Shapes::IntegerShape.new(name: 'PrincipalOrderingId')
337
338
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
339
+ PrivateChannelFilter = Shapes::ListShape.new(name: 'PrivateChannelFilter')
338
340
  ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
341
+ PublicChannelFilter = Shapes::ListShape.new(name: 'PublicChannelFilter')
339
342
  PutPrincipalMappingRequest = Shapes::StructureShape.new(name: 'PutPrincipalMappingRequest')
340
343
  QueryCapacityUnit = Shapes::IntegerShape.new(name: 'QueryCapacityUnit')
341
344
  QueryId = Shapes::StringShape.new(name: 'QueryId')
@@ -405,9 +408,13 @@ module Aws::Kendra
405
408
  SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
406
409
  SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
407
410
  SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
411
+ SinceCrawlDate = Shapes::StringShape.new(name: 'SinceCrawlDate')
408
412
  SiteMap = Shapes::StringShape.new(name: 'SiteMap')
409
413
  SiteMapsConfiguration = Shapes::StructureShape.new(name: 'SiteMapsConfiguration')
410
414
  SiteMapsList = Shapes::ListShape.new(name: 'SiteMapsList')
415
+ SlackConfiguration = Shapes::StructureShape.new(name: 'SlackConfiguration')
416
+ SlackEntity = Shapes::StringShape.new(name: 'SlackEntity')
417
+ SlackEntityList = Shapes::ListShape.new(name: 'SlackEntityList')
411
418
  SnapshotsDataHeaderFields = Shapes::ListShape.new(name: 'SnapshotsDataHeaderFields')
412
419
  SnapshotsDataRecord = Shapes::ListShape.new(name: 'SnapshotsDataRecord')
413
420
  SnapshotsDataRecords = Shapes::ListShape.new(name: 'SnapshotsDataRecords')
@@ -442,6 +449,7 @@ module Aws::Kendra
442
449
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
443
450
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
444
451
  TagValue = Shapes::StringShape.new(name: 'TagValue')
452
+ TeamId = Shapes::StringShape.new(name: 'TeamId')
445
453
  TenantDomain = Shapes::StringShape.new(name: 'TenantDomain')
446
454
  TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
447
455
  TextWithHighlights = Shapes::StructureShape.new(name: 'TextWithHighlights')
@@ -798,6 +806,7 @@ module Aws::Kendra
798
806
  DataSourceConfiguration.add_member(:web_crawler_configuration, Shapes::ShapeRef.new(shape: WebCrawlerConfiguration, location_name: "WebCrawlerConfiguration"))
799
807
  DataSourceConfiguration.add_member(:work_docs_configuration, Shapes::ShapeRef.new(shape: WorkDocsConfiguration, location_name: "WorkDocsConfiguration"))
800
808
  DataSourceConfiguration.add_member(:fsx_configuration, Shapes::ShapeRef.new(shape: FsxConfiguration, location_name: "FsxConfiguration"))
809
+ DataSourceConfiguration.add_member(:slack_configuration, Shapes::ShapeRef.new(shape: SlackConfiguration, location_name: "SlackConfiguration"))
801
810
  DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
802
811
 
803
812
  DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
@@ -1469,11 +1478,15 @@ module Aws::Kendra
1469
1478
 
1470
1479
  PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
1471
1480
 
1481
+ PrivateChannelFilter.member = Shapes::ShapeRef.new(shape: String)
1482
+
1472
1483
  ProxyConfiguration.add_member(:host, Shapes::ShapeRef.new(shape: Host, required: true, location_name: "Host"))
1473
1484
  ProxyConfiguration.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "Port"))
1474
1485
  ProxyConfiguration.add_member(:credentials, Shapes::ShapeRef.new(shape: SecretArn, location_name: "Credentials"))
1475
1486
  ProxyConfiguration.struct_class = Types::ProxyConfiguration
1476
1487
 
1488
+ PublicChannelFilter.member = Shapes::ShapeRef.new(shape: String)
1489
+
1477
1490
  PutPrincipalMappingRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
1478
1491
  PutPrincipalMappingRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
1479
1492
  PutPrincipalMappingRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: GroupId, required: true, location_name: "GroupId"))
@@ -1686,6 +1699,24 @@ module Aws::Kendra
1686
1699
 
1687
1700
  SiteMapsList.member = Shapes::ShapeRef.new(shape: SiteMap)
1688
1701
 
1702
+ SlackConfiguration.add_member(:team_id, Shapes::ShapeRef.new(shape: TeamId, required: true, location_name: "TeamId"))
1703
+ SlackConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
1704
+ SlackConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
1705
+ SlackConfiguration.add_member(:slack_entity_list, Shapes::ShapeRef.new(shape: SlackEntityList, required: true, location_name: "SlackEntityList"))
1706
+ SlackConfiguration.add_member(:use_change_log, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseChangeLog"))
1707
+ SlackConfiguration.add_member(:crawl_bot_message, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlBotMessage"))
1708
+ SlackConfiguration.add_member(:exclude_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeArchived"))
1709
+ SlackConfiguration.add_member(:since_crawl_date, Shapes::ShapeRef.new(shape: SinceCrawlDate, required: true, location_name: "SinceCrawlDate"))
1710
+ SlackConfiguration.add_member(:look_back_period, Shapes::ShapeRef.new(shape: LookBackPeriod, location_name: "LookBackPeriod"))
1711
+ SlackConfiguration.add_member(:private_channel_filter, Shapes::ShapeRef.new(shape: PrivateChannelFilter, location_name: "PrivateChannelFilter"))
1712
+ SlackConfiguration.add_member(:public_channel_filter, Shapes::ShapeRef.new(shape: PublicChannelFilter, location_name: "PublicChannelFilter"))
1713
+ SlackConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
1714
+ SlackConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
1715
+ SlackConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
1716
+ SlackConfiguration.struct_class = Types::SlackConfiguration
1717
+
1718
+ SlackEntityList.member = Shapes::ShapeRef.new(shape: SlackEntity)
1719
+
1689
1720
  SnapshotsDataHeaderFields.member = Shapes::ShapeRef.new(shape: String)
1690
1721
 
1691
1722
  SnapshotsDataRecord.member = Shapes::ShapeRef.new(shape: String)