aws-sdk-kendra 1.48.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kendra/client.rb +101 -4
- data/lib/aws-sdk-kendra/client_api.rb +21 -0
- data/lib/aws-sdk-kendra/types.rb +250 -3
- data/lib/aws-sdk-kendra.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c668e6dc4052d81dfeb31eefcd987c963f389d6faa326440fd72edf340a03cf4
|
4
|
+
data.tar.gz: f49b58d04333eec724e8b93488ea4eb66888a083d256b8e614dcdefcfc6fd254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8ce75268fd4a7ec172972cd47ba4220a4acb9d694ecc9310396f45c46fb4c9f5c61721a0123aded5872eca60ff82a7736b8ce8e0b0ee0dafab21eef08e04b6c
|
7
|
+
data.tar.gz: 8f26bd5777cc7f273a2903bea9f7b02e2c10562b4319a04578dea5f0783f42733272dfbdf218005ec1fa2c9f26a12f42ab40593db0cdbbeca037e0544bf331a1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2022-04-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Kendra now provides a data source connector for Quip. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-quip.html
|
8
|
+
|
4
9
|
1.48.0 (2022-04-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.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
|
928
|
+
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP
|
929
929
|
# configuration: {
|
930
930
|
# s3_configuration: {
|
931
931
|
# bucket_name: "S3BucketName", # required
|
@@ -1322,6 +1322,41 @@ module Aws::Kendra
|
|
1322
1322
|
# security_group_ids: ["VpcSecurityGroupId"], # required
|
1323
1323
|
# },
|
1324
1324
|
# },
|
1325
|
+
# quip_configuration: {
|
1326
|
+
# domain: "Domain", # required
|
1327
|
+
# secret_arn: "SecretArn", # required
|
1328
|
+
# crawl_file_comments: false,
|
1329
|
+
# crawl_chat_rooms: false,
|
1330
|
+
# crawl_attachments: false,
|
1331
|
+
# folder_ids: ["FolderId"],
|
1332
|
+
# thread_field_mappings: [
|
1333
|
+
# {
|
1334
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
1335
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
1336
|
+
# index_field_name: "IndexFieldName", # required
|
1337
|
+
# },
|
1338
|
+
# ],
|
1339
|
+
# message_field_mappings: [
|
1340
|
+
# {
|
1341
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
1342
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
1343
|
+
# index_field_name: "IndexFieldName", # required
|
1344
|
+
# },
|
1345
|
+
# ],
|
1346
|
+
# attachment_field_mappings: [
|
1347
|
+
# {
|
1348
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
1349
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
1350
|
+
# index_field_name: "IndexFieldName", # required
|
1351
|
+
# },
|
1352
|
+
# ],
|
1353
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
1354
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
1355
|
+
# vpc_configuration: {
|
1356
|
+
# subnet_ids: ["SubnetId"], # required
|
1357
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
1358
|
+
# },
|
1359
|
+
# },
|
1325
1360
|
# },
|
1326
1361
|
# description: "Description",
|
1327
1362
|
# schedule: "ScanSchedule",
|
@@ -2189,7 +2224,7 @@ module Aws::Kendra
|
|
2189
2224
|
# resp.id #=> String
|
2190
2225
|
# resp.index_id #=> String
|
2191
2226
|
# resp.name #=> String
|
2192
|
-
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX"
|
2227
|
+
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP"
|
2193
2228
|
# resp.configuration.s3_configuration.bucket_name #=> String
|
2194
2229
|
# resp.configuration.s3_configuration.inclusion_prefixes #=> Array
|
2195
2230
|
# resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
|
@@ -2478,6 +2513,33 @@ module Aws::Kendra
|
|
2478
2513
|
# resp.configuration.box_configuration.vpc_configuration.subnet_ids[0] #=> String
|
2479
2514
|
# resp.configuration.box_configuration.vpc_configuration.security_group_ids #=> Array
|
2480
2515
|
# resp.configuration.box_configuration.vpc_configuration.security_group_ids[0] #=> String
|
2516
|
+
# resp.configuration.quip_configuration.domain #=> String
|
2517
|
+
# resp.configuration.quip_configuration.secret_arn #=> String
|
2518
|
+
# resp.configuration.quip_configuration.crawl_file_comments #=> Boolean
|
2519
|
+
# resp.configuration.quip_configuration.crawl_chat_rooms #=> Boolean
|
2520
|
+
# resp.configuration.quip_configuration.crawl_attachments #=> Boolean
|
2521
|
+
# resp.configuration.quip_configuration.folder_ids #=> Array
|
2522
|
+
# resp.configuration.quip_configuration.folder_ids[0] #=> String
|
2523
|
+
# resp.configuration.quip_configuration.thread_field_mappings #=> Array
|
2524
|
+
# resp.configuration.quip_configuration.thread_field_mappings[0].data_source_field_name #=> String
|
2525
|
+
# resp.configuration.quip_configuration.thread_field_mappings[0].date_field_format #=> String
|
2526
|
+
# resp.configuration.quip_configuration.thread_field_mappings[0].index_field_name #=> String
|
2527
|
+
# resp.configuration.quip_configuration.message_field_mappings #=> Array
|
2528
|
+
# resp.configuration.quip_configuration.message_field_mappings[0].data_source_field_name #=> String
|
2529
|
+
# resp.configuration.quip_configuration.message_field_mappings[0].date_field_format #=> String
|
2530
|
+
# resp.configuration.quip_configuration.message_field_mappings[0].index_field_name #=> String
|
2531
|
+
# resp.configuration.quip_configuration.attachment_field_mappings #=> Array
|
2532
|
+
# resp.configuration.quip_configuration.attachment_field_mappings[0].data_source_field_name #=> String
|
2533
|
+
# resp.configuration.quip_configuration.attachment_field_mappings[0].date_field_format #=> String
|
2534
|
+
# resp.configuration.quip_configuration.attachment_field_mappings[0].index_field_name #=> String
|
2535
|
+
# resp.configuration.quip_configuration.inclusion_patterns #=> Array
|
2536
|
+
# resp.configuration.quip_configuration.inclusion_patterns[0] #=> String
|
2537
|
+
# resp.configuration.quip_configuration.exclusion_patterns #=> Array
|
2538
|
+
# resp.configuration.quip_configuration.exclusion_patterns[0] #=> String
|
2539
|
+
# resp.configuration.quip_configuration.vpc_configuration.subnet_ids #=> Array
|
2540
|
+
# resp.configuration.quip_configuration.vpc_configuration.subnet_ids[0] #=> String
|
2541
|
+
# resp.configuration.quip_configuration.vpc_configuration.security_group_ids #=> Array
|
2542
|
+
# resp.configuration.quip_configuration.vpc_configuration.security_group_ids[0] #=> String
|
2481
2543
|
# resp.created_at #=> Time
|
2482
2544
|
# resp.updated_at #=> Time
|
2483
2545
|
# resp.description #=> String
|
@@ -3312,7 +3374,7 @@ module Aws::Kendra
|
|
3312
3374
|
# resp.summary_items #=> Array
|
3313
3375
|
# resp.summary_items[0].name #=> String
|
3314
3376
|
# resp.summary_items[0].id #=> String
|
3315
|
-
# resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX"
|
3377
|
+
# resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX", "QUIP"
|
3316
3378
|
# resp.summary_items[0].created_at #=> Time
|
3317
3379
|
# resp.summary_items[0].updated_at #=> Time
|
3318
3380
|
# resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
|
@@ -4852,6 +4914,41 @@ module Aws::Kendra
|
|
4852
4914
|
# security_group_ids: ["VpcSecurityGroupId"], # required
|
4853
4915
|
# },
|
4854
4916
|
# },
|
4917
|
+
# quip_configuration: {
|
4918
|
+
# domain: "Domain", # required
|
4919
|
+
# secret_arn: "SecretArn", # required
|
4920
|
+
# crawl_file_comments: false,
|
4921
|
+
# crawl_chat_rooms: false,
|
4922
|
+
# crawl_attachments: false,
|
4923
|
+
# folder_ids: ["FolderId"],
|
4924
|
+
# thread_field_mappings: [
|
4925
|
+
# {
|
4926
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
4927
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
4928
|
+
# index_field_name: "IndexFieldName", # required
|
4929
|
+
# },
|
4930
|
+
# ],
|
4931
|
+
# message_field_mappings: [
|
4932
|
+
# {
|
4933
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
4934
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
4935
|
+
# index_field_name: "IndexFieldName", # required
|
4936
|
+
# },
|
4937
|
+
# ],
|
4938
|
+
# attachment_field_mappings: [
|
4939
|
+
# {
|
4940
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
4941
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
4942
|
+
# index_field_name: "IndexFieldName", # required
|
4943
|
+
# },
|
4944
|
+
# ],
|
4945
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
4946
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
4947
|
+
# vpc_configuration: {
|
4948
|
+
# subnet_ids: ["SubnetId"], # required
|
4949
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
4950
|
+
# },
|
4951
|
+
# },
|
4855
4952
|
# },
|
4856
4953
|
# description: "Description",
|
4857
4954
|
# schedule: "ScanSchedule",
|
@@ -5322,7 +5419,7 @@ module Aws::Kendra
|
|
5322
5419
|
params: params,
|
5323
5420
|
config: config)
|
5324
5421
|
context[:gem_name] = 'aws-sdk-kendra'
|
5325
|
-
context[:gem_version] = '1.
|
5422
|
+
context[:gem_version] = '1.49.0'
|
5326
5423
|
Seahorse::Client::Request.new(handlers, context)
|
5327
5424
|
end
|
5328
5425
|
|
@@ -182,6 +182,7 @@ module Aws::Kendra
|
|
182
182
|
DocumentStatus = Shapes::StringShape.new(name: 'DocumentStatus')
|
183
183
|
DocumentStatusList = Shapes::ListShape.new(name: 'DocumentStatusList')
|
184
184
|
DocumentsMetadataConfiguration = Shapes::StructureShape.new(name: 'DocumentsMetadataConfiguration')
|
185
|
+
Domain = Shapes::StringShape.new(name: 'Domain')
|
185
186
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
186
187
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
187
188
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
@@ -225,6 +226,8 @@ module Aws::Kendra
|
|
225
226
|
FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
|
226
227
|
FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
|
227
228
|
FileSystemId = Shapes::StringShape.new(name: 'FileSystemId')
|
229
|
+
FolderId = Shapes::StringShape.new(name: 'FolderId')
|
230
|
+
FolderIdList = Shapes::ListShape.new(name: 'FolderIdList')
|
228
231
|
FsxConfiguration = Shapes::StructureShape.new(name: 'FsxConfiguration')
|
229
232
|
FsxFileSystemType = Shapes::StringShape.new(name: 'FsxFileSystemType')
|
230
233
|
GetQuerySuggestionsRequest = Shapes::StructureShape.new(name: 'GetQuerySuggestionsRequest')
|
@@ -358,6 +361,7 @@ module Aws::Kendra
|
|
358
361
|
QuerySuggestionsId = Shapes::StringShape.new(name: 'QuerySuggestionsId')
|
359
362
|
QuerySuggestionsStatus = Shapes::StringShape.new(name: 'QuerySuggestionsStatus')
|
360
363
|
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
364
|
+
QuipConfiguration = Shapes::StructureShape.new(name: 'QuipConfiguration')
|
361
365
|
ReadAccessType = Shapes::StringShape.new(name: 'ReadAccessType')
|
362
366
|
Relevance = Shapes::StructureShape.new(name: 'Relevance')
|
363
367
|
RelevanceFeedback = Shapes::StructureShape.new(name: 'RelevanceFeedback')
|
@@ -825,6 +829,7 @@ module Aws::Kendra
|
|
825
829
|
DataSourceConfiguration.add_member(:fsx_configuration, Shapes::ShapeRef.new(shape: FsxConfiguration, location_name: "FsxConfiguration"))
|
826
830
|
DataSourceConfiguration.add_member(:slack_configuration, Shapes::ShapeRef.new(shape: SlackConfiguration, location_name: "SlackConfiguration"))
|
827
831
|
DataSourceConfiguration.add_member(:box_configuration, Shapes::ShapeRef.new(shape: BoxConfiguration, location_name: "BoxConfiguration"))
|
832
|
+
DataSourceConfiguration.add_member(:quip_configuration, Shapes::ShapeRef.new(shape: QuipConfiguration, location_name: "QuipConfiguration"))
|
828
833
|
DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
|
829
834
|
|
830
835
|
DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
|
@@ -1233,6 +1238,8 @@ module Aws::Kendra
|
|
1233
1238
|
|
1234
1239
|
FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
|
1235
1240
|
|
1241
|
+
FolderIdList.member = Shapes::ShapeRef.new(shape: FolderId)
|
1242
|
+
|
1236
1243
|
FsxConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
1237
1244
|
FsxConfiguration.add_member(:file_system_type, Shapes::ShapeRef.new(shape: FsxFileSystemType, required: true, location_name: "FileSystemType"))
|
1238
1245
|
FsxConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, required: true, location_name: "VpcConfiguration"))
|
@@ -1560,6 +1567,20 @@ module Aws::Kendra
|
|
1560
1567
|
|
1561
1568
|
QuerySuggestionsBlockListSummaryItems.member = Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListSummary)
|
1562
1569
|
|
1570
|
+
QuipConfiguration.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, required: true, location_name: "Domain"))
|
1571
|
+
QuipConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
1572
|
+
QuipConfiguration.add_member(:crawl_file_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlFileComments"))
|
1573
|
+
QuipConfiguration.add_member(:crawl_chat_rooms, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlChatRooms"))
|
1574
|
+
QuipConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
1575
|
+
QuipConfiguration.add_member(:folder_ids, Shapes::ShapeRef.new(shape: FolderIdList, location_name: "FolderIds"))
|
1576
|
+
QuipConfiguration.add_member(:thread_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "ThreadFieldMappings"))
|
1577
|
+
QuipConfiguration.add_member(:message_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "MessageFieldMappings"))
|
1578
|
+
QuipConfiguration.add_member(:attachment_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "AttachmentFieldMappings"))
|
1579
|
+
QuipConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
1580
|
+
QuipConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
1581
|
+
QuipConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
1582
|
+
QuipConfiguration.struct_class = Types::QuipConfiguration
|
1583
|
+
|
1563
1584
|
Relevance.add_member(:freshness, Shapes::ShapeRef.new(shape: DocumentMetadataBoolean, location_name: "Freshness"))
|
1564
1585
|
Relevance.add_member(:importance, Shapes::ShapeRef.new(shape: Importance, location_name: "Importance"))
|
1565
1586
|
Relevance.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -1256,7 +1256,7 @@ module Aws::Kendra
|
|
1256
1256
|
#
|
1257
1257
|
#
|
1258
1258
|
#
|
1259
|
-
# [1]: https://docs.aws.amazon.com/
|
1259
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html
|
1260
1260
|
# @return [Types::DataSourceVpcConfiguration]
|
1261
1261
|
#
|
1262
1262
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BoxConfiguration AWS API Documentation
|
@@ -2112,7 +2112,7 @@ module Aws::Kendra
|
|
2112
2112
|
# {
|
2113
2113
|
# name: "DataSourceName", # required
|
2114
2114
|
# index_id: "IndexId", # required
|
2115
|
-
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX
|
2115
|
+
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE, WEBCRAWLER, WORKDOCS, FSX, SLACK, BOX, QUIP
|
2116
2116
|
# configuration: {
|
2117
2117
|
# s3_configuration: {
|
2118
2118
|
# bucket_name: "S3BucketName", # required
|
@@ -2509,6 +2509,41 @@ module Aws::Kendra
|
|
2509
2509
|
# security_group_ids: ["VpcSecurityGroupId"], # required
|
2510
2510
|
# },
|
2511
2511
|
# },
|
2512
|
+
# quip_configuration: {
|
2513
|
+
# domain: "Domain", # required
|
2514
|
+
# secret_arn: "SecretArn", # required
|
2515
|
+
# crawl_file_comments: false,
|
2516
|
+
# crawl_chat_rooms: false,
|
2517
|
+
# crawl_attachments: false,
|
2518
|
+
# folder_ids: ["FolderId"],
|
2519
|
+
# thread_field_mappings: [
|
2520
|
+
# {
|
2521
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
2522
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
2523
|
+
# index_field_name: "IndexFieldName", # required
|
2524
|
+
# },
|
2525
|
+
# ],
|
2526
|
+
# message_field_mappings: [
|
2527
|
+
# {
|
2528
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
2529
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
2530
|
+
# index_field_name: "IndexFieldName", # required
|
2531
|
+
# },
|
2532
|
+
# ],
|
2533
|
+
# attachment_field_mappings: [
|
2534
|
+
# {
|
2535
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
2536
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
2537
|
+
# index_field_name: "IndexFieldName", # required
|
2538
|
+
# },
|
2539
|
+
# ],
|
2540
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
2541
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
2542
|
+
# vpc_configuration: {
|
2543
|
+
# subnet_ids: ["SubnetId"], # required
|
2544
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
2545
|
+
# },
|
2546
|
+
# },
|
2512
2547
|
# },
|
2513
2548
|
# description: "Description",
|
2514
2549
|
# schedule: "ScanSchedule",
|
@@ -3780,6 +3815,41 @@ module Aws::Kendra
|
|
3780
3815
|
# security_group_ids: ["VpcSecurityGroupId"], # required
|
3781
3816
|
# },
|
3782
3817
|
# },
|
3818
|
+
# quip_configuration: {
|
3819
|
+
# domain: "Domain", # required
|
3820
|
+
# secret_arn: "SecretArn", # required
|
3821
|
+
# crawl_file_comments: false,
|
3822
|
+
# crawl_chat_rooms: false,
|
3823
|
+
# crawl_attachments: false,
|
3824
|
+
# folder_ids: ["FolderId"],
|
3825
|
+
# thread_field_mappings: [
|
3826
|
+
# {
|
3827
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
3828
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
3829
|
+
# index_field_name: "IndexFieldName", # required
|
3830
|
+
# },
|
3831
|
+
# ],
|
3832
|
+
# message_field_mappings: [
|
3833
|
+
# {
|
3834
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
3835
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
3836
|
+
# index_field_name: "IndexFieldName", # required
|
3837
|
+
# },
|
3838
|
+
# ],
|
3839
|
+
# attachment_field_mappings: [
|
3840
|
+
# {
|
3841
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
3842
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
3843
|
+
# index_field_name: "IndexFieldName", # required
|
3844
|
+
# },
|
3845
|
+
# ],
|
3846
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
3847
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
3848
|
+
# vpc_configuration: {
|
3849
|
+
# subnet_ids: ["SubnetId"], # required
|
3850
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
3851
|
+
# },
|
3852
|
+
# },
|
3783
3853
|
# }
|
3784
3854
|
#
|
3785
3855
|
# @!attribute [rw] s3_configuration
|
@@ -3847,6 +3917,11 @@ module Aws::Kendra
|
|
3847
3917
|
# data source.
|
3848
3918
|
# @return [Types::BoxConfiguration]
|
3849
3919
|
#
|
3920
|
+
# @!attribute [rw] quip_configuration
|
3921
|
+
# Provides the configuration information to connect to Quip as your
|
3922
|
+
# data source.
|
3923
|
+
# @return [Types::QuipConfiguration]
|
3924
|
+
#
|
3850
3925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DataSourceConfiguration AWS API Documentation
|
3851
3926
|
#
|
3852
3927
|
class DataSourceConfiguration < Struct.new(
|
@@ -3862,7 +3937,8 @@ module Aws::Kendra
|
|
3862
3937
|
:work_docs_configuration,
|
3863
3938
|
:fsx_configuration,
|
3864
3939
|
:slack_configuration,
|
3865
|
-
:box_configuration
|
3940
|
+
:box_configuration,
|
3941
|
+
:quip_configuration)
|
3866
3942
|
SENSITIVE = []
|
3867
3943
|
include Aws::Structure
|
3868
3944
|
end
|
@@ -8674,6 +8750,142 @@ module Aws::Kendra
|
|
8674
8750
|
include Aws::Structure
|
8675
8751
|
end
|
8676
8752
|
|
8753
|
+
# Provides the configuration information to connect to Quip as your data
|
8754
|
+
# source.
|
8755
|
+
#
|
8756
|
+
# @note When making an API call, you may pass QuipConfiguration
|
8757
|
+
# data as a hash:
|
8758
|
+
#
|
8759
|
+
# {
|
8760
|
+
# domain: "Domain", # required
|
8761
|
+
# secret_arn: "SecretArn", # required
|
8762
|
+
# crawl_file_comments: false,
|
8763
|
+
# crawl_chat_rooms: false,
|
8764
|
+
# crawl_attachments: false,
|
8765
|
+
# folder_ids: ["FolderId"],
|
8766
|
+
# thread_field_mappings: [
|
8767
|
+
# {
|
8768
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
8769
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
8770
|
+
# index_field_name: "IndexFieldName", # required
|
8771
|
+
# },
|
8772
|
+
# ],
|
8773
|
+
# message_field_mappings: [
|
8774
|
+
# {
|
8775
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
8776
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
8777
|
+
# index_field_name: "IndexFieldName", # required
|
8778
|
+
# },
|
8779
|
+
# ],
|
8780
|
+
# attachment_field_mappings: [
|
8781
|
+
# {
|
8782
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
8783
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
8784
|
+
# index_field_name: "IndexFieldName", # required
|
8785
|
+
# },
|
8786
|
+
# ],
|
8787
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
8788
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
8789
|
+
# vpc_configuration: {
|
8790
|
+
# subnet_ids: ["SubnetId"], # required
|
8791
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
8792
|
+
# },
|
8793
|
+
# }
|
8794
|
+
#
|
8795
|
+
# @!attribute [rw] domain
|
8796
|
+
# The configuration information to connect to your Quip data source
|
8797
|
+
# domain.
|
8798
|
+
# @return [String]
|
8799
|
+
#
|
8800
|
+
# @!attribute [rw] secret_arn
|
8801
|
+
# The Amazon Resource Name (ARN) of an Secrets Manager secret that
|
8802
|
+
# contains the key-value pairs that are required to connect to your
|
8803
|
+
# Quip file system. Windows is currently the only supported type. The
|
8804
|
+
# secret must contain a JSON structure with the following keys:
|
8805
|
+
#
|
8806
|
+
# * username—The Active Directory user name, along with the Domain
|
8807
|
+
# Name System (DNS) domain name. For example,
|
8808
|
+
# *user@corp.example.com*. The Active Directory user account must
|
8809
|
+
# have read and mounting access to the Quip file system for Windows.
|
8810
|
+
#
|
8811
|
+
# * password—The password of the Active Directory user account with
|
8812
|
+
# read and mounting access to the Quip Windows file system.
|
8813
|
+
# @return [String]
|
8814
|
+
#
|
8815
|
+
# @!attribute [rw] crawl_file_comments
|
8816
|
+
# Specify whether to crawl file comments in your Quip data source. You
|
8817
|
+
# can specify one or more of these options.
|
8818
|
+
# @return [Boolean]
|
8819
|
+
#
|
8820
|
+
# @!attribute [rw] crawl_chat_rooms
|
8821
|
+
# Specify whether to crawl chat rooms in your Quip data source. You
|
8822
|
+
# can specify one or more of these options.
|
8823
|
+
# @return [Boolean]
|
8824
|
+
#
|
8825
|
+
# @!attribute [rw] crawl_attachments
|
8826
|
+
# Specify whether to crawl attachments in your Quip data source. You
|
8827
|
+
# can specify one or more of these options.
|
8828
|
+
# @return [Boolean]
|
8829
|
+
#
|
8830
|
+
# @!attribute [rw] folder_ids
|
8831
|
+
# The identifier of the Quip folder IDs to index.
|
8832
|
+
# @return [Array<String>]
|
8833
|
+
#
|
8834
|
+
# @!attribute [rw] thread_field_mappings
|
8835
|
+
# A list of field mappings to apply when indexing Quip threads.
|
8836
|
+
# @return [Array<Types::DataSourceToIndexFieldMapping>]
|
8837
|
+
#
|
8838
|
+
# @!attribute [rw] message_field_mappings
|
8839
|
+
# A list of field mappings to apply when indexing Quip messages.
|
8840
|
+
# @return [Array<Types::DataSourceToIndexFieldMapping>]
|
8841
|
+
#
|
8842
|
+
# @!attribute [rw] attachment_field_mappings
|
8843
|
+
# A list of field mappings to apply when indexing Quip attachments.
|
8844
|
+
# @return [Array<Types::DataSourceToIndexFieldMapping>]
|
8845
|
+
#
|
8846
|
+
# @!attribute [rw] inclusion_patterns
|
8847
|
+
# A list of regular expression patterns to include certain files in
|
8848
|
+
# your Quip file system. Files that match the patterns are included in
|
8849
|
+
# the index. Files that don't match the patterns are excluded from
|
8850
|
+
# the index. If a file matches both an inclusion pattern and an
|
8851
|
+
# exclusion pattern, the exclusion pattern takes precedence, and the
|
8852
|
+
# file isn't included in the index.
|
8853
|
+
# @return [Array<String>]
|
8854
|
+
#
|
8855
|
+
# @!attribute [rw] exclusion_patterns
|
8856
|
+
# A list of regular expression patterns to exclude certain files in
|
8857
|
+
# your Quip file system. Files that match the patterns are excluded
|
8858
|
+
# from the index. Files that don’t match the patterns are included in
|
8859
|
+
# the index. If a file matches both an inclusion pattern and an
|
8860
|
+
# exclusion pattern, the exclusion pattern takes precedence, and the
|
8861
|
+
# file isn't included in the index.
|
8862
|
+
# @return [Array<String>]
|
8863
|
+
#
|
8864
|
+
# @!attribute [rw] vpc_configuration
|
8865
|
+
# Configuration information for connecting to an Amazon Virtual
|
8866
|
+
# Private Cloud (VPC) for your Quip. Your Quip instance must reside
|
8867
|
+
# inside your VPC.
|
8868
|
+
# @return [Types::DataSourceVpcConfiguration]
|
8869
|
+
#
|
8870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QuipConfiguration AWS API Documentation
|
8871
|
+
#
|
8872
|
+
class QuipConfiguration < Struct.new(
|
8873
|
+
:domain,
|
8874
|
+
:secret_arn,
|
8875
|
+
:crawl_file_comments,
|
8876
|
+
:crawl_chat_rooms,
|
8877
|
+
:crawl_attachments,
|
8878
|
+
:folder_ids,
|
8879
|
+
:thread_field_mappings,
|
8880
|
+
:message_field_mappings,
|
8881
|
+
:attachment_field_mappings,
|
8882
|
+
:inclusion_patterns,
|
8883
|
+
:exclusion_patterns,
|
8884
|
+
:vpc_configuration)
|
8885
|
+
SENSITIVE = []
|
8886
|
+
include Aws::Structure
|
8887
|
+
end
|
8888
|
+
|
8677
8889
|
# Provides information for manually tuning the relevance of a field in a
|
8678
8890
|
# search. When a query includes terms that match the field, the results
|
8679
8891
|
# are given a boost in the response based on these tuning parameters.
|
@@ -11218,6 +11430,41 @@ module Aws::Kendra
|
|
11218
11430
|
# security_group_ids: ["VpcSecurityGroupId"], # required
|
11219
11431
|
# },
|
11220
11432
|
# },
|
11433
|
+
# quip_configuration: {
|
11434
|
+
# domain: "Domain", # required
|
11435
|
+
# secret_arn: "SecretArn", # required
|
11436
|
+
# crawl_file_comments: false,
|
11437
|
+
# crawl_chat_rooms: false,
|
11438
|
+
# crawl_attachments: false,
|
11439
|
+
# folder_ids: ["FolderId"],
|
11440
|
+
# thread_field_mappings: [
|
11441
|
+
# {
|
11442
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
11443
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
11444
|
+
# index_field_name: "IndexFieldName", # required
|
11445
|
+
# },
|
11446
|
+
# ],
|
11447
|
+
# message_field_mappings: [
|
11448
|
+
# {
|
11449
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
11450
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
11451
|
+
# index_field_name: "IndexFieldName", # required
|
11452
|
+
# },
|
11453
|
+
# ],
|
11454
|
+
# attachment_field_mappings: [
|
11455
|
+
# {
|
11456
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
11457
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
11458
|
+
# index_field_name: "IndexFieldName", # required
|
11459
|
+
# },
|
11460
|
+
# ],
|
11461
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
11462
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
11463
|
+
# vpc_configuration: {
|
11464
|
+
# subnet_ids: ["SubnetId"], # required
|
11465
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
11466
|
+
# },
|
11467
|
+
# },
|
11221
11468
|
# },
|
11222
11469
|
# description: "Description",
|
11223
11470
|
# schedule: "ScanSchedule",
|
data/lib/aws-sdk-kendra.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kendra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|