aws-sdk-kendra 1.45.0 → 1.48.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kendra/client.rb +230 -27
- data/lib/aws-sdk-kendra/client_api.rb +74 -0
- data/lib/aws-sdk-kendra/types.rb +1142 -334
- 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: 5bfcd63c6ba104527aaf163e1c23d4959ef2a4408446ff8a27fbedb25b2bfb6b
|
|
4
|
+
data.tar.gz: f04a9eccd3708cb09c317aebcd5c3fcea959df316837c2e07dc0d8eec5533aa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b50d422a7d49aeb27077f892aabeffd83879463cb6568d2caf91d8ab197e86c174375895d76c90e2c47b4be5e929dae7f30f3ce51546402ec889fbf84a4fa211
|
|
7
|
+
data.tar.gz: 623cdd57fa79a1616ed9c67117447d5fcdc4eb1465807691449d0b5a02556cf9c4f3bc10ae7ade43ea0d65a7761f088aec39501a72b78d653d2bda85faebfb2e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.48.0 (2022-04-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Kendra now provides a data source connector for Box. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html
|
|
8
|
+
|
|
9
|
+
1.47.0 (2022-03-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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
|
|
13
|
+
|
|
14
|
+
1.46.0 (2022-03-03)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Amazon Kendra now suggests spell corrections for a query. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html
|
|
18
|
+
|
|
4
19
|
1.45.0 (2022-02-24)
|
|
5
20
|
------------------
|
|
6
21
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.48.0
|
|
@@ -843,7 +843,7 @@ module Aws::Kendra
|
|
|
843
843
|
# The type of repository that contains the data source.
|
|
844
844
|
#
|
|
845
845
|
# @option params [Types::DataSourceConfiguration] :configuration
|
|
846
|
-
#
|
|
846
|
+
# Configuration information that is required to access the data source
|
|
847
847
|
# repository.
|
|
848
848
|
#
|
|
849
849
|
# You can't specify the `Configuration` parameter when the `Type`
|
|
@@ -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, BOX
|
|
929
929
|
# configuration: {
|
|
930
930
|
# s3_configuration: {
|
|
931
931
|
# bucket_name: "S3BucketName", # required
|
|
@@ -1255,6 +1255,73 @@ 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
|
+
# },
|
|
1283
|
+
# box_configuration: {
|
|
1284
|
+
# enterprise_id: "EnterpriseId", # required
|
|
1285
|
+
# secret_arn: "SecretArn", # required
|
|
1286
|
+
# use_change_log: false,
|
|
1287
|
+
# crawl_comments: false,
|
|
1288
|
+
# crawl_tasks: false,
|
|
1289
|
+
# crawl_web_links: false,
|
|
1290
|
+
# file_field_mappings: [
|
|
1291
|
+
# {
|
|
1292
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
1293
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
1294
|
+
# index_field_name: "IndexFieldName", # required
|
|
1295
|
+
# },
|
|
1296
|
+
# ],
|
|
1297
|
+
# task_field_mappings: [
|
|
1298
|
+
# {
|
|
1299
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
1300
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
1301
|
+
# index_field_name: "IndexFieldName", # required
|
|
1302
|
+
# },
|
|
1303
|
+
# ],
|
|
1304
|
+
# comment_field_mappings: [
|
|
1305
|
+
# {
|
|
1306
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
1307
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
1308
|
+
# index_field_name: "IndexFieldName", # required
|
|
1309
|
+
# },
|
|
1310
|
+
# ],
|
|
1311
|
+
# web_link_field_mappings: [
|
|
1312
|
+
# {
|
|
1313
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
1314
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
1315
|
+
# index_field_name: "IndexFieldName", # required
|
|
1316
|
+
# },
|
|
1317
|
+
# ],
|
|
1318
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
1319
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
1320
|
+
# vpc_configuration: {
|
|
1321
|
+
# subnet_ids: ["SubnetId"], # required
|
|
1322
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
|
1323
|
+
# },
|
|
1324
|
+
# },
|
|
1258
1325
|
# },
|
|
1259
1326
|
# description: "Description",
|
|
1260
1327
|
# schedule: "ScanSchedule",
|
|
@@ -1363,11 +1430,11 @@ module Aws::Kendra
|
|
|
1363
1430
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
|
1364
1431
|
#
|
|
1365
1432
|
# @option params [Types::ExperienceConfiguration] :configuration
|
|
1366
|
-
#
|
|
1367
|
-
#
|
|
1368
|
-
#
|
|
1369
|
-
#
|
|
1370
|
-
#
|
|
1433
|
+
# Configuration information for your Amazon Kendra experience. This
|
|
1434
|
+
# includes `ContentSourceConfiguration`, which specifies the data source
|
|
1435
|
+
# IDs and/or FAQ IDs, and `UserIdentityConfiguration`, which specifies
|
|
1436
|
+
# the user or group information to grant access to your Amazon Kendra
|
|
1437
|
+
# experience.
|
|
1371
1438
|
#
|
|
1372
1439
|
# @option params [String] :description
|
|
1373
1440
|
# A description for your Amazon Kendra experience.
|
|
@@ -1548,14 +1615,14 @@ module Aws::Kendra
|
|
|
1548
1615
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/quotas.html
|
|
1549
1616
|
#
|
|
1550
1617
|
# @option params [required, String] :role_arn
|
|
1551
|
-
# An Identity and Access Management(IAM) role that gives Amazon Kendra
|
|
1618
|
+
# An Identity and Access Management (IAM) role that gives Amazon Kendra
|
|
1552
1619
|
# permissions to access your Amazon CloudWatch logs and metrics. This is
|
|
1553
|
-
# also the role
|
|
1554
|
-
# documents from an Amazon S3 bucket.
|
|
1620
|
+
# also the role you use when you call the `BatchPutDocument` API to
|
|
1621
|
+
# index documents from an Amazon S3 bucket.
|
|
1555
1622
|
#
|
|
1556
1623
|
# @option params [Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
|
1557
|
-
# The identifier of the
|
|
1558
|
-
# data indexed by Amazon Kendra. Amazon Kendra doesn't support
|
|
1624
|
+
# The identifier of the KMS customer managed key (CMK) that's used to
|
|
1625
|
+
# encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support
|
|
1559
1626
|
# asymmetric CMKs.
|
|
1560
1627
|
#
|
|
1561
1628
|
# @option params [String] :description
|
|
@@ -2122,7 +2189,7 @@ module Aws::Kendra
|
|
|
2122
2189
|
# resp.id #=> String
|
|
2123
2190
|
# resp.index_id #=> String
|
|
2124
2191
|
# resp.name #=> String
|
|
2125
|
-
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX"
|
|
2192
|
+
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX"
|
|
2126
2193
|
# resp.configuration.s3_configuration.bucket_name #=> String
|
|
2127
2194
|
# resp.configuration.s3_configuration.inclusion_prefixes #=> Array
|
|
2128
2195
|
# resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
|
|
@@ -2356,6 +2423,61 @@ module Aws::Kendra
|
|
|
2356
2423
|
# resp.configuration.fsx_configuration.field_mappings[0].data_source_field_name #=> String
|
|
2357
2424
|
# resp.configuration.fsx_configuration.field_mappings[0].date_field_format #=> String
|
|
2358
2425
|
# resp.configuration.fsx_configuration.field_mappings[0].index_field_name #=> String
|
|
2426
|
+
# resp.configuration.slack_configuration.team_id #=> String
|
|
2427
|
+
# resp.configuration.slack_configuration.secret_arn #=> String
|
|
2428
|
+
# resp.configuration.slack_configuration.vpc_configuration.subnet_ids #=> Array
|
|
2429
|
+
# resp.configuration.slack_configuration.vpc_configuration.subnet_ids[0] #=> String
|
|
2430
|
+
# resp.configuration.slack_configuration.vpc_configuration.security_group_ids #=> Array
|
|
2431
|
+
# resp.configuration.slack_configuration.vpc_configuration.security_group_ids[0] #=> String
|
|
2432
|
+
# resp.configuration.slack_configuration.slack_entity_list #=> Array
|
|
2433
|
+
# resp.configuration.slack_configuration.slack_entity_list[0] #=> String, one of "PUBLIC_CHANNEL", "PRIVATE_CHANNEL", "GROUP_MESSAGE", "DIRECT_MESSAGE"
|
|
2434
|
+
# resp.configuration.slack_configuration.use_change_log #=> Boolean
|
|
2435
|
+
# resp.configuration.slack_configuration.crawl_bot_message #=> Boolean
|
|
2436
|
+
# resp.configuration.slack_configuration.exclude_archived #=> Boolean
|
|
2437
|
+
# resp.configuration.slack_configuration.since_crawl_date #=> String
|
|
2438
|
+
# resp.configuration.slack_configuration.look_back_period #=> Integer
|
|
2439
|
+
# resp.configuration.slack_configuration.private_channel_filter #=> Array
|
|
2440
|
+
# resp.configuration.slack_configuration.private_channel_filter[0] #=> String
|
|
2441
|
+
# resp.configuration.slack_configuration.public_channel_filter #=> Array
|
|
2442
|
+
# resp.configuration.slack_configuration.public_channel_filter[0] #=> String
|
|
2443
|
+
# resp.configuration.slack_configuration.inclusion_patterns #=> Array
|
|
2444
|
+
# resp.configuration.slack_configuration.inclusion_patterns[0] #=> String
|
|
2445
|
+
# resp.configuration.slack_configuration.exclusion_patterns #=> Array
|
|
2446
|
+
# resp.configuration.slack_configuration.exclusion_patterns[0] #=> String
|
|
2447
|
+
# resp.configuration.slack_configuration.field_mappings #=> Array
|
|
2448
|
+
# resp.configuration.slack_configuration.field_mappings[0].data_source_field_name #=> String
|
|
2449
|
+
# resp.configuration.slack_configuration.field_mappings[0].date_field_format #=> String
|
|
2450
|
+
# resp.configuration.slack_configuration.field_mappings[0].index_field_name #=> String
|
|
2451
|
+
# resp.configuration.box_configuration.enterprise_id #=> String
|
|
2452
|
+
# resp.configuration.box_configuration.secret_arn #=> String
|
|
2453
|
+
# resp.configuration.box_configuration.use_change_log #=> Boolean
|
|
2454
|
+
# resp.configuration.box_configuration.crawl_comments #=> Boolean
|
|
2455
|
+
# resp.configuration.box_configuration.crawl_tasks #=> Boolean
|
|
2456
|
+
# resp.configuration.box_configuration.crawl_web_links #=> Boolean
|
|
2457
|
+
# resp.configuration.box_configuration.file_field_mappings #=> Array
|
|
2458
|
+
# resp.configuration.box_configuration.file_field_mappings[0].data_source_field_name #=> String
|
|
2459
|
+
# resp.configuration.box_configuration.file_field_mappings[0].date_field_format #=> String
|
|
2460
|
+
# resp.configuration.box_configuration.file_field_mappings[0].index_field_name #=> String
|
|
2461
|
+
# resp.configuration.box_configuration.task_field_mappings #=> Array
|
|
2462
|
+
# resp.configuration.box_configuration.task_field_mappings[0].data_source_field_name #=> String
|
|
2463
|
+
# resp.configuration.box_configuration.task_field_mappings[0].date_field_format #=> String
|
|
2464
|
+
# resp.configuration.box_configuration.task_field_mappings[0].index_field_name #=> String
|
|
2465
|
+
# resp.configuration.box_configuration.comment_field_mappings #=> Array
|
|
2466
|
+
# resp.configuration.box_configuration.comment_field_mappings[0].data_source_field_name #=> String
|
|
2467
|
+
# resp.configuration.box_configuration.comment_field_mappings[0].date_field_format #=> String
|
|
2468
|
+
# resp.configuration.box_configuration.comment_field_mappings[0].index_field_name #=> String
|
|
2469
|
+
# resp.configuration.box_configuration.web_link_field_mappings #=> Array
|
|
2470
|
+
# resp.configuration.box_configuration.web_link_field_mappings[0].data_source_field_name #=> String
|
|
2471
|
+
# resp.configuration.box_configuration.web_link_field_mappings[0].date_field_format #=> String
|
|
2472
|
+
# resp.configuration.box_configuration.web_link_field_mappings[0].index_field_name #=> String
|
|
2473
|
+
# resp.configuration.box_configuration.inclusion_patterns #=> Array
|
|
2474
|
+
# resp.configuration.box_configuration.inclusion_patterns[0] #=> String
|
|
2475
|
+
# resp.configuration.box_configuration.exclusion_patterns #=> Array
|
|
2476
|
+
# resp.configuration.box_configuration.exclusion_patterns[0] #=> String
|
|
2477
|
+
# resp.configuration.box_configuration.vpc_configuration.subnet_ids #=> Array
|
|
2478
|
+
# resp.configuration.box_configuration.vpc_configuration.subnet_ids[0] #=> String
|
|
2479
|
+
# resp.configuration.box_configuration.vpc_configuration.security_group_ids #=> Array
|
|
2480
|
+
# resp.configuration.box_configuration.vpc_configuration.security_group_ids[0] #=> String
|
|
2359
2481
|
# resp.created_at #=> Time
|
|
2360
2482
|
# resp.updated_at #=> Time
|
|
2361
2483
|
# resp.description #=> String
|
|
@@ -2531,10 +2653,10 @@ module Aws::Kendra
|
|
|
2531
2653
|
req.send_request(options)
|
|
2532
2654
|
end
|
|
2533
2655
|
|
|
2534
|
-
# Describes an existing Amazon Kendra index
|
|
2656
|
+
# Describes an existing Amazon Kendra index.
|
|
2535
2657
|
#
|
|
2536
2658
|
# @option params [required, String] :id
|
|
2537
|
-
# The
|
|
2659
|
+
# The identifier of the index to describe.
|
|
2538
2660
|
#
|
|
2539
2661
|
# @return [Types::DescribeIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2540
2662
|
#
|
|
@@ -3190,7 +3312,7 @@ module Aws::Kendra
|
|
|
3190
3312
|
# resp.summary_items #=> Array
|
|
3191
3313
|
# resp.summary_items[0].name #=> String
|
|
3192
3314
|
# 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"
|
|
3315
|
+
# resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", "FSX", "SLACK", "BOX"
|
|
3194
3316
|
# resp.summary_items[0].created_at #=> Time
|
|
3195
3317
|
# resp.summary_items[0].updated_at #=> Time
|
|
3196
3318
|
# resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
|
|
@@ -3482,7 +3604,7 @@ module Aws::Kendra
|
|
|
3482
3604
|
req.send_request(options)
|
|
3483
3605
|
end
|
|
3484
3606
|
|
|
3485
|
-
# Lists the Amazon Kendra indexes that you
|
|
3607
|
+
# Lists the Amazon Kendra indexes that you created.
|
|
3486
3608
|
#
|
|
3487
3609
|
# @option params [String] :next_token
|
|
3488
3610
|
# If the previous response was incomplete (because there is more data to
|
|
@@ -3892,6 +4014,9 @@ module Aws::Kendra
|
|
|
3892
4014
|
# identifiable information, such as the user's email address, as the
|
|
3893
4015
|
# `VisitorId`.
|
|
3894
4016
|
#
|
|
4017
|
+
# @option params [Types::SpellCorrectionConfiguration] :spell_correction_configuration
|
|
4018
|
+
# Enables suggested spell corrections for queries.
|
|
4019
|
+
#
|
|
3895
4020
|
# @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3896
4021
|
#
|
|
3897
4022
|
# * {Types::QueryResult#query_id #query_id} => String
|
|
@@ -3899,6 +4024,7 @@ module Aws::Kendra
|
|
|
3899
4024
|
# * {Types::QueryResult#facet_results #facet_results} => Array<Types::FacetResult>
|
|
3900
4025
|
# * {Types::QueryResult#total_number_of_results #total_number_of_results} => Integer
|
|
3901
4026
|
# * {Types::QueryResult#warnings #warnings} => Array<Types::Warning>
|
|
4027
|
+
# * {Types::QueryResult#spell_corrected_queries #spell_corrected_queries} => Array<Types::SpellCorrectedQuery>
|
|
3902
4028
|
#
|
|
3903
4029
|
# @example Request syntax with placeholder values
|
|
3904
4030
|
#
|
|
@@ -4022,6 +4148,9 @@ module Aws::Kendra
|
|
|
4022
4148
|
# ],
|
|
4023
4149
|
# },
|
|
4024
4150
|
# visitor_id: "VisitorId",
|
|
4151
|
+
# spell_correction_configuration: {
|
|
4152
|
+
# include_query_spell_check_suggestions: false, # required
|
|
4153
|
+
# },
|
|
4025
4154
|
# })
|
|
4026
4155
|
#
|
|
4027
4156
|
# @example Response structure
|
|
@@ -4076,6 +4205,13 @@ module Aws::Kendra
|
|
|
4076
4205
|
# resp.warnings #=> Array
|
|
4077
4206
|
# resp.warnings[0].message #=> String
|
|
4078
4207
|
# resp.warnings[0].code #=> String, one of "QUERY_LANGUAGE_INVALID_SYNTAX"
|
|
4208
|
+
# resp.spell_corrected_queries #=> Array
|
|
4209
|
+
# resp.spell_corrected_queries[0].suggested_query_text #=> String
|
|
4210
|
+
# resp.spell_corrected_queries[0].corrections #=> Array
|
|
4211
|
+
# resp.spell_corrected_queries[0].corrections[0].begin_offset #=> Integer
|
|
4212
|
+
# resp.spell_corrected_queries[0].corrections[0].end_offset #=> Integer
|
|
4213
|
+
# resp.spell_corrected_queries[0].corrections[0].term #=> String
|
|
4214
|
+
# resp.spell_corrected_queries[0].corrections[0].corrected_term #=> String
|
|
4079
4215
|
#
|
|
4080
4216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Query AWS API Documentation
|
|
4081
4217
|
#
|
|
@@ -4276,7 +4412,8 @@ module Aws::Kendra
|
|
|
4276
4412
|
# The identifier of the index that contains the data source to update.
|
|
4277
4413
|
#
|
|
4278
4414
|
# @option params [Types::DataSourceConfiguration] :configuration
|
|
4279
|
-
# Configuration information for an Amazon Kendra data source
|
|
4415
|
+
# Configuration information for an Amazon Kendra data source you want to
|
|
4416
|
+
# update.
|
|
4280
4417
|
#
|
|
4281
4418
|
# @option params [String] :description
|
|
4282
4419
|
# The new description for the data source.
|
|
@@ -4648,6 +4785,73 @@ module Aws::Kendra
|
|
|
4648
4785
|
# },
|
|
4649
4786
|
# ],
|
|
4650
4787
|
# },
|
|
4788
|
+
# slack_configuration: {
|
|
4789
|
+
# team_id: "TeamId", # required
|
|
4790
|
+
# secret_arn: "SecretArn", # required
|
|
4791
|
+
# vpc_configuration: {
|
|
4792
|
+
# subnet_ids: ["SubnetId"], # required
|
|
4793
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
|
4794
|
+
# },
|
|
4795
|
+
# slack_entity_list: ["PUBLIC_CHANNEL"], # required, accepts PUBLIC_CHANNEL, PRIVATE_CHANNEL, GROUP_MESSAGE, DIRECT_MESSAGE
|
|
4796
|
+
# use_change_log: false,
|
|
4797
|
+
# crawl_bot_message: false,
|
|
4798
|
+
# exclude_archived: false,
|
|
4799
|
+
# since_crawl_date: "SinceCrawlDate", # required
|
|
4800
|
+
# look_back_period: 1,
|
|
4801
|
+
# private_channel_filter: ["String"],
|
|
4802
|
+
# public_channel_filter: ["String"],
|
|
4803
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
4804
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
4805
|
+
# field_mappings: [
|
|
4806
|
+
# {
|
|
4807
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
4808
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
4809
|
+
# index_field_name: "IndexFieldName", # required
|
|
4810
|
+
# },
|
|
4811
|
+
# ],
|
|
4812
|
+
# },
|
|
4813
|
+
# box_configuration: {
|
|
4814
|
+
# enterprise_id: "EnterpriseId", # required
|
|
4815
|
+
# secret_arn: "SecretArn", # required
|
|
4816
|
+
# use_change_log: false,
|
|
4817
|
+
# crawl_comments: false,
|
|
4818
|
+
# crawl_tasks: false,
|
|
4819
|
+
# crawl_web_links: false,
|
|
4820
|
+
# file_field_mappings: [
|
|
4821
|
+
# {
|
|
4822
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
4823
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
4824
|
+
# index_field_name: "IndexFieldName", # required
|
|
4825
|
+
# },
|
|
4826
|
+
# ],
|
|
4827
|
+
# task_field_mappings: [
|
|
4828
|
+
# {
|
|
4829
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
4830
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
4831
|
+
# index_field_name: "IndexFieldName", # required
|
|
4832
|
+
# },
|
|
4833
|
+
# ],
|
|
4834
|
+
# comment_field_mappings: [
|
|
4835
|
+
# {
|
|
4836
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
4837
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
4838
|
+
# index_field_name: "IndexFieldName", # required
|
|
4839
|
+
# },
|
|
4840
|
+
# ],
|
|
4841
|
+
# web_link_field_mappings: [
|
|
4842
|
+
# {
|
|
4843
|
+
# data_source_field_name: "DataSourceFieldName", # required
|
|
4844
|
+
# date_field_format: "DataSourceDateFieldFormat",
|
|
4845
|
+
# index_field_name: "IndexFieldName", # required
|
|
4846
|
+
# },
|
|
4847
|
+
# ],
|
|
4848
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
4849
|
+
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
|
4850
|
+
# vpc_configuration: {
|
|
4851
|
+
# subnet_ids: ["SubnetId"], # required
|
|
4852
|
+
# security_group_ids: ["VpcSecurityGroupId"], # required
|
|
4853
|
+
# },
|
|
4854
|
+
# },
|
|
4651
4855
|
# },
|
|
4652
4856
|
# description: "Description",
|
|
4653
4857
|
# schedule: "ScanSchedule",
|
|
@@ -4749,9 +4953,7 @@ module Aws::Kendra
|
|
|
4749
4953
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
|
4750
4954
|
#
|
|
4751
4955
|
# @option params [Types::ExperienceConfiguration] :configuration
|
|
4752
|
-
#
|
|
4753
|
-
# Web Services SSO field name that contains the identifiers of your
|
|
4754
|
-
# users, such as their emails.
|
|
4956
|
+
# Configuration information for your Amazon Kendra you want to update.
|
|
4755
4957
|
#
|
|
4756
4958
|
# @option params [String] :description
|
|
4757
4959
|
# The description of your Amazon Kendra experience you want to update.
|
|
@@ -4803,15 +5005,16 @@ module Aws::Kendra
|
|
|
4803
5005
|
# A new description for the index.
|
|
4804
5006
|
#
|
|
4805
5007
|
# @option params [Array<Types::DocumentMetadataConfiguration>] :document_metadata_configuration_updates
|
|
4806
|
-
# The document metadata to update.
|
|
5008
|
+
# The document metadata you want to update.
|
|
4807
5009
|
#
|
|
4808
5010
|
# @option params [Types::CapacityUnitsConfiguration] :capacity_units
|
|
4809
|
-
# Sets the number of additional storage and query capacity
|
|
4810
|
-
# should be used by the index. You can change the capacity of
|
|
4811
|
-
# up to 5 times per day.
|
|
5011
|
+
# Sets the number of additional document storage and query capacity
|
|
5012
|
+
# units that should be used by the index. You can change the capacity of
|
|
5013
|
+
# the index up to 5 times per day, or make 5 API calls.
|
|
4812
5014
|
#
|
|
4813
5015
|
# If you are using extra storage units, you can't reduce the storage
|
|
4814
|
-
# capacity below
|
|
5016
|
+
# capacity below what is required to meet the storage needs for your
|
|
5017
|
+
# index.
|
|
4815
5018
|
#
|
|
4816
5019
|
# @option params [Array<Types::UserTokenConfiguration>] :user_token_configurations
|
|
4817
5020
|
# The user token configuration.
|
|
@@ -5119,7 +5322,7 @@ module Aws::Kendra
|
|
|
5119
5322
|
params: params,
|
|
5120
5323
|
config: config)
|
|
5121
5324
|
context[:gem_name] = 'aws-sdk-kendra'
|
|
5122
|
-
context[:gem_version] = '1.
|
|
5325
|
+
context[:gem_version] = '1.48.0'
|
|
5123
5326
|
Seahorse::Client::Request.new(handlers, context)
|
|
5124
5327
|
end
|
|
5125
5328
|
|
|
@@ -46,6 +46,7 @@ module Aws::Kendra
|
|
|
46
46
|
BatchPutDocumentResponseFailedDocuments = Shapes::ListShape.new(name: 'BatchPutDocumentResponseFailedDocuments')
|
|
47
47
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
|
48
48
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
49
|
+
BoxConfiguration = Shapes::StructureShape.new(name: 'BoxConfiguration')
|
|
49
50
|
CapacityUnitsConfiguration = Shapes::StructureShape.new(name: 'CapacityUnitsConfiguration')
|
|
50
51
|
ChangeDetectingColumns = Shapes::ListShape.new(name: 'ChangeDetectingColumns')
|
|
51
52
|
ClaimRegex = Shapes::StringShape.new(name: 'ClaimRegex')
|
|
@@ -80,6 +81,8 @@ module Aws::Kendra
|
|
|
80
81
|
ConnectionConfiguration = Shapes::StructureShape.new(name: 'ConnectionConfiguration')
|
|
81
82
|
ContentSourceConfiguration = Shapes::StructureShape.new(name: 'ContentSourceConfiguration')
|
|
82
83
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
|
84
|
+
Correction = Shapes::StructureShape.new(name: 'Correction')
|
|
85
|
+
CorrectionList = Shapes::ListShape.new(name: 'CorrectionList')
|
|
83
86
|
CrawlDepth = Shapes::IntegerShape.new(name: 'CrawlDepth')
|
|
84
87
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
|
85
88
|
CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
|
|
@@ -182,6 +185,7 @@ module Aws::Kendra
|
|
|
182
185
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
|
183
186
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
|
184
187
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
|
188
|
+
EnterpriseId = Shapes::StringShape.new(name: 'EnterpriseId')
|
|
185
189
|
EntityConfiguration = Shapes::StructureShape.new(name: 'EntityConfiguration')
|
|
186
190
|
EntityDisplayData = Shapes::StructureShape.new(name: 'EntityDisplayData')
|
|
187
191
|
EntityId = Shapes::StringShape.new(name: 'EntityId')
|
|
@@ -292,6 +296,7 @@ module Aws::Kendra
|
|
|
292
296
|
ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
|
|
293
297
|
ListThesauriResponse = Shapes::StructureShape.new(name: 'ListThesauriResponse')
|
|
294
298
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
299
|
+
LookBackPeriod = Shapes::IntegerShape.new(name: 'LookBackPeriod')
|
|
295
300
|
MaxContentSizePerPageInMegaBytes = Shapes::FloatShape.new(name: 'MaxContentSizePerPageInMegaBytes')
|
|
296
301
|
MaxLinksPerPage = Shapes::IntegerShape.new(name: 'MaxLinksPerPage')
|
|
297
302
|
MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
|
|
@@ -333,7 +338,9 @@ module Aws::Kendra
|
|
|
333
338
|
PrincipalName = Shapes::StringShape.new(name: 'PrincipalName')
|
|
334
339
|
PrincipalOrderingId = Shapes::IntegerShape.new(name: 'PrincipalOrderingId')
|
|
335
340
|
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
|
341
|
+
PrivateChannelFilter = Shapes::ListShape.new(name: 'PrivateChannelFilter')
|
|
336
342
|
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
|
343
|
+
PublicChannelFilter = Shapes::ListShape.new(name: 'PublicChannelFilter')
|
|
337
344
|
PutPrincipalMappingRequest = Shapes::StructureShape.new(name: 'PutPrincipalMappingRequest')
|
|
338
345
|
QueryCapacityUnit = Shapes::IntegerShape.new(name: 'QueryCapacityUnit')
|
|
339
346
|
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
|
@@ -403,14 +410,21 @@ module Aws::Kendra
|
|
|
403
410
|
SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
|
|
404
411
|
SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
|
|
405
412
|
SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
|
|
413
|
+
SinceCrawlDate = Shapes::StringShape.new(name: 'SinceCrawlDate')
|
|
406
414
|
SiteMap = Shapes::StringShape.new(name: 'SiteMap')
|
|
407
415
|
SiteMapsConfiguration = Shapes::StructureShape.new(name: 'SiteMapsConfiguration')
|
|
408
416
|
SiteMapsList = Shapes::ListShape.new(name: 'SiteMapsList')
|
|
417
|
+
SlackConfiguration = Shapes::StructureShape.new(name: 'SlackConfiguration')
|
|
418
|
+
SlackEntity = Shapes::StringShape.new(name: 'SlackEntity')
|
|
419
|
+
SlackEntityList = Shapes::ListShape.new(name: 'SlackEntityList')
|
|
409
420
|
SnapshotsDataHeaderFields = Shapes::ListShape.new(name: 'SnapshotsDataHeaderFields')
|
|
410
421
|
SnapshotsDataRecord = Shapes::ListShape.new(name: 'SnapshotsDataRecord')
|
|
411
422
|
SnapshotsDataRecords = Shapes::ListShape.new(name: 'SnapshotsDataRecords')
|
|
412
423
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
|
413
424
|
SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
|
|
425
|
+
SpellCorrectedQuery = Shapes::StructureShape.new(name: 'SpellCorrectedQuery')
|
|
426
|
+
SpellCorrectedQueryList = Shapes::ListShape.new(name: 'SpellCorrectedQueryList')
|
|
427
|
+
SpellCorrectionConfiguration = Shapes::StructureShape.new(name: 'SpellCorrectionConfiguration')
|
|
414
428
|
SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
|
|
415
429
|
StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
|
|
416
430
|
StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
|
|
@@ -421,6 +435,7 @@ module Aws::Kendra
|
|
|
421
435
|
SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
|
|
422
436
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
|
423
437
|
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
|
438
|
+
SuggestedQueryText = Shapes::StringShape.new(name: 'SuggestedQueryText')
|
|
424
439
|
Suggestion = Shapes::StructureShape.new(name: 'Suggestion')
|
|
425
440
|
SuggestionHighlight = Shapes::StructureShape.new(name: 'SuggestionHighlight')
|
|
426
441
|
SuggestionHighlightList = Shapes::ListShape.new(name: 'SuggestionHighlightList')
|
|
@@ -436,6 +451,7 @@ module Aws::Kendra
|
|
|
436
451
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
437
452
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
438
453
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
454
|
+
TeamId = Shapes::StringShape.new(name: 'TeamId')
|
|
439
455
|
TenantDomain = Shapes::StringShape.new(name: 'TenantDomain')
|
|
440
456
|
TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
|
|
441
457
|
TextWithHighlights = Shapes::StructureShape.new(name: 'TextWithHighlights')
|
|
@@ -591,6 +607,21 @@ module Aws::Kendra
|
|
|
591
607
|
|
|
592
608
|
BatchPutDocumentResponseFailedDocuments.member = Shapes::ShapeRef.new(shape: BatchPutDocumentResponseFailedDocument)
|
|
593
609
|
|
|
610
|
+
BoxConfiguration.add_member(:enterprise_id, Shapes::ShapeRef.new(shape: EnterpriseId, required: true, location_name: "EnterpriseId"))
|
|
611
|
+
BoxConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
|
612
|
+
BoxConfiguration.add_member(:use_change_log, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseChangeLog"))
|
|
613
|
+
BoxConfiguration.add_member(:crawl_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlComments"))
|
|
614
|
+
BoxConfiguration.add_member(:crawl_tasks, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlTasks"))
|
|
615
|
+
BoxConfiguration.add_member(:crawl_web_links, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlWebLinks"))
|
|
616
|
+
BoxConfiguration.add_member(:file_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FileFieldMappings"))
|
|
617
|
+
BoxConfiguration.add_member(:task_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "TaskFieldMappings"))
|
|
618
|
+
BoxConfiguration.add_member(:comment_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "CommentFieldMappings"))
|
|
619
|
+
BoxConfiguration.add_member(:web_link_field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "WebLinkFieldMappings"))
|
|
620
|
+
BoxConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
|
621
|
+
BoxConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
|
622
|
+
BoxConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
|
623
|
+
BoxConfiguration.struct_class = Types::BoxConfiguration
|
|
624
|
+
|
|
594
625
|
CapacityUnitsConfiguration.add_member(:storage_capacity_units, Shapes::ShapeRef.new(shape: StorageCapacityUnit, required: true, location_name: "StorageCapacityUnits"))
|
|
595
626
|
CapacityUnitsConfiguration.add_member(:query_capacity_units, Shapes::ShapeRef.new(shape: QueryCapacityUnit, required: true, location_name: "QueryCapacityUnits"))
|
|
596
627
|
CapacityUnitsConfiguration.struct_class = Types::CapacityUnitsConfiguration
|
|
@@ -687,6 +718,14 @@ module Aws::Kendra
|
|
|
687
718
|
ContentSourceConfiguration.add_member(:direct_put_content, Shapes::ShapeRef.new(shape: Boolean, location_name: "DirectPutContent"))
|
|
688
719
|
ContentSourceConfiguration.struct_class = Types::ContentSourceConfiguration
|
|
689
720
|
|
|
721
|
+
Correction.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
|
722
|
+
Correction.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
|
723
|
+
Correction.add_member(:term, Shapes::ShapeRef.new(shape: String, location_name: "Term"))
|
|
724
|
+
Correction.add_member(:corrected_term, Shapes::ShapeRef.new(shape: String, location_name: "CorrectedTerm"))
|
|
725
|
+
Correction.struct_class = Types::Correction
|
|
726
|
+
|
|
727
|
+
CorrectionList.member = Shapes::ShapeRef.new(shape: Correction)
|
|
728
|
+
|
|
690
729
|
CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
|
|
691
730
|
CreateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
|
692
731
|
CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "Type"))
|
|
@@ -784,6 +823,8 @@ module Aws::Kendra
|
|
|
784
823
|
DataSourceConfiguration.add_member(:web_crawler_configuration, Shapes::ShapeRef.new(shape: WebCrawlerConfiguration, location_name: "WebCrawlerConfiguration"))
|
|
785
824
|
DataSourceConfiguration.add_member(:work_docs_configuration, Shapes::ShapeRef.new(shape: WorkDocsConfiguration, location_name: "WorkDocsConfiguration"))
|
|
786
825
|
DataSourceConfiguration.add_member(:fsx_configuration, Shapes::ShapeRef.new(shape: FsxConfiguration, location_name: "FsxConfiguration"))
|
|
826
|
+
DataSourceConfiguration.add_member(:slack_configuration, Shapes::ShapeRef.new(shape: SlackConfiguration, location_name: "SlackConfiguration"))
|
|
827
|
+
DataSourceConfiguration.add_member(:box_configuration, Shapes::ShapeRef.new(shape: BoxConfiguration, location_name: "BoxConfiguration"))
|
|
787
828
|
DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
|
|
788
829
|
|
|
789
830
|
DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
|
|
@@ -1455,11 +1496,15 @@ module Aws::Kendra
|
|
|
1455
1496
|
|
|
1456
1497
|
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
|
1457
1498
|
|
|
1499
|
+
PrivateChannelFilter.member = Shapes::ShapeRef.new(shape: String)
|
|
1500
|
+
|
|
1458
1501
|
ProxyConfiguration.add_member(:host, Shapes::ShapeRef.new(shape: Host, required: true, location_name: "Host"))
|
|
1459
1502
|
ProxyConfiguration.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "Port"))
|
|
1460
1503
|
ProxyConfiguration.add_member(:credentials, Shapes::ShapeRef.new(shape: SecretArn, location_name: "Credentials"))
|
|
1461
1504
|
ProxyConfiguration.struct_class = Types::ProxyConfiguration
|
|
1462
1505
|
|
|
1506
|
+
PublicChannelFilter.member = Shapes::ShapeRef.new(shape: String)
|
|
1507
|
+
|
|
1463
1508
|
PutPrincipalMappingRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
|
1464
1509
|
PutPrincipalMappingRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
|
|
1465
1510
|
PutPrincipalMappingRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: GroupId, required: true, location_name: "GroupId"))
|
|
@@ -1480,6 +1525,7 @@ module Aws::Kendra
|
|
|
1480
1525
|
QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
|
|
1481
1526
|
QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
|
|
1482
1527
|
QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId"))
|
|
1528
|
+
QueryRequest.add_member(:spell_correction_configuration, Shapes::ShapeRef.new(shape: SpellCorrectionConfiguration, location_name: "SpellCorrectionConfiguration"))
|
|
1483
1529
|
QueryRequest.struct_class = Types::QueryRequest
|
|
1484
1530
|
|
|
1485
1531
|
QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
|
|
@@ -1487,6 +1533,7 @@ module Aws::Kendra
|
|
|
1487
1533
|
QueryResult.add_member(:facet_results, Shapes::ShapeRef.new(shape: FacetResultList, location_name: "FacetResults"))
|
|
1488
1534
|
QueryResult.add_member(:total_number_of_results, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfResults"))
|
|
1489
1535
|
QueryResult.add_member(:warnings, Shapes::ShapeRef.new(shape: WarningList, location_name: "Warnings"))
|
|
1536
|
+
QueryResult.add_member(:spell_corrected_queries, Shapes::ShapeRef.new(shape: SpellCorrectedQueryList, location_name: "SpellCorrectedQueries"))
|
|
1490
1537
|
QueryResult.struct_class = Types::QueryResult
|
|
1491
1538
|
|
|
1492
1539
|
QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
|
@@ -1670,6 +1717,24 @@ module Aws::Kendra
|
|
|
1670
1717
|
|
|
1671
1718
|
SiteMapsList.member = Shapes::ShapeRef.new(shape: SiteMap)
|
|
1672
1719
|
|
|
1720
|
+
SlackConfiguration.add_member(:team_id, Shapes::ShapeRef.new(shape: TeamId, required: true, location_name: "TeamId"))
|
|
1721
|
+
SlackConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
|
1722
|
+
SlackConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
|
1723
|
+
SlackConfiguration.add_member(:slack_entity_list, Shapes::ShapeRef.new(shape: SlackEntityList, required: true, location_name: "SlackEntityList"))
|
|
1724
|
+
SlackConfiguration.add_member(:use_change_log, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseChangeLog"))
|
|
1725
|
+
SlackConfiguration.add_member(:crawl_bot_message, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlBotMessage"))
|
|
1726
|
+
SlackConfiguration.add_member(:exclude_archived, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeArchived"))
|
|
1727
|
+
SlackConfiguration.add_member(:since_crawl_date, Shapes::ShapeRef.new(shape: SinceCrawlDate, required: true, location_name: "SinceCrawlDate"))
|
|
1728
|
+
SlackConfiguration.add_member(:look_back_period, Shapes::ShapeRef.new(shape: LookBackPeriod, location_name: "LookBackPeriod"))
|
|
1729
|
+
SlackConfiguration.add_member(:private_channel_filter, Shapes::ShapeRef.new(shape: PrivateChannelFilter, location_name: "PrivateChannelFilter"))
|
|
1730
|
+
SlackConfiguration.add_member(:public_channel_filter, Shapes::ShapeRef.new(shape: PublicChannelFilter, location_name: "PublicChannelFilter"))
|
|
1731
|
+
SlackConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
|
1732
|
+
SlackConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
|
1733
|
+
SlackConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
|
1734
|
+
SlackConfiguration.struct_class = Types::SlackConfiguration
|
|
1735
|
+
|
|
1736
|
+
SlackEntityList.member = Shapes::ShapeRef.new(shape: SlackEntity)
|
|
1737
|
+
|
|
1673
1738
|
SnapshotsDataHeaderFields.member = Shapes::ShapeRef.new(shape: String)
|
|
1674
1739
|
|
|
1675
1740
|
SnapshotsDataRecord.member = Shapes::ShapeRef.new(shape: String)
|
|
@@ -1680,6 +1745,15 @@ module Aws::Kendra
|
|
|
1680
1745
|
SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
|
|
1681
1746
|
SortingConfiguration.struct_class = Types::SortingConfiguration
|
|
1682
1747
|
|
|
1748
|
+
SpellCorrectedQuery.add_member(:suggested_query_text, Shapes::ShapeRef.new(shape: SuggestedQueryText, location_name: "SuggestedQueryText"))
|
|
1749
|
+
SpellCorrectedQuery.add_member(:corrections, Shapes::ShapeRef.new(shape: CorrectionList, location_name: "Corrections"))
|
|
1750
|
+
SpellCorrectedQuery.struct_class = Types::SpellCorrectedQuery
|
|
1751
|
+
|
|
1752
|
+
SpellCorrectedQueryList.member = Shapes::ShapeRef.new(shape: SpellCorrectedQuery)
|
|
1753
|
+
|
|
1754
|
+
SpellCorrectionConfiguration.add_member(:include_query_spell_check_suggestions, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IncludeQuerySpellCheckSuggestions"))
|
|
1755
|
+
SpellCorrectionConfiguration.struct_class = Types::SpellCorrectionConfiguration
|
|
1756
|
+
|
|
1683
1757
|
SqlConfiguration.add_member(:query_identifiers_enclosing_option, Shapes::ShapeRef.new(shape: QueryIdentifiersEnclosingOption, location_name: "QueryIdentifiersEnclosingOption"))
|
|
1684
1758
|
SqlConfiguration.struct_class = Types::SqlConfiguration
|
|
1685
1759
|
|