aws-sdk-kendra 1.44.0 → 1.47.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 +105 -15
- data/lib/aws-sdk-kendra/client_api.rb +56 -0
- data/lib/aws-sdk-kendra/types.rb +779 -312
- data/lib/aws-sdk-kendra.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38283baa9b8b4fa28cf933c9b71177fdbe4ba9d0ae847fdcd84ffdaac3797100
|
4
|
+
data.tar.gz: 484525b82d5327e8eca43202a2b559dbeb75e078edacf705de7648f18c5715ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e872f4c8a3da4a1c48ff998490d9f6e0f83801b7fe33b68309fd7151fc780dd94c4978d89f39a88ec6d53081ad1a86032f0a8acbb66efe6b17632b96f8b1afb2
|
7
|
+
data.tar.gz: 742eb14f92fa7bb736fb4b8ace48980703e719a1816e09fadc579cd0cf0be7e756244518b6daab8bdb3234608fed5b1447bc60eb7d18633691e171bb092f8a11
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
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
|
+
|
9
|
+
1.46.0 (2022-03-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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
|
13
|
+
|
14
|
+
1.45.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.44.0 (2022-02-08)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::Kendra
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -841,7 +843,7 @@ module Aws::Kendra
|
|
841
843
|
# The type of repository that contains the data source.
|
842
844
|
#
|
843
845
|
# @option params [Types::DataSourceConfiguration] :configuration
|
844
|
-
#
|
846
|
+
# Configuration information that is required to access the data source
|
845
847
|
# repository.
|
846
848
|
#
|
847
849
|
# You can't specify the `Configuration` parameter when the `Type`
|
@@ -923,7 +925,7 @@ module Aws::Kendra
|
|
923
925
|
# resp = client.create_data_source({
|
924
926
|
# name: "DataSourceName", # required
|
925
927
|
# index_id: "IndexId", # required
|
926
|
-
# 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
|
927
929
|
# configuration: {
|
928
930
|
# s3_configuration: {
|
929
931
|
# bucket_name: "S3BucketName", # required
|
@@ -1253,6 +1255,31 @@ module Aws::Kendra
|
|
1253
1255
|
# },
|
1254
1256
|
# ],
|
1255
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
|
+
# },
|
1256
1283
|
# },
|
1257
1284
|
# description: "Description",
|
1258
1285
|
# schedule: "ScanSchedule",
|
@@ -1361,11 +1388,11 @@ module Aws::Kendra
|
|
1361
1388
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
1362
1389
|
#
|
1363
1390
|
# @option params [Types::ExperienceConfiguration] :configuration
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
#
|
1391
|
+
# Configuration information for your Amazon Kendra experience. This
|
1392
|
+
# includes `ContentSourceConfiguration`, which specifies the data source
|
1393
|
+
# IDs and/or FAQ IDs, and `UserIdentityConfiguration`, which specifies
|
1394
|
+
# the user or group information to grant access to your Amazon Kendra
|
1395
|
+
# experience.
|
1369
1396
|
#
|
1370
1397
|
# @option params [String] :description
|
1371
1398
|
# A description for your Amazon Kendra experience.
|
@@ -2120,7 +2147,7 @@ module Aws::Kendra
|
|
2120
2147
|
# resp.id #=> String
|
2121
2148
|
# resp.index_id #=> String
|
2122
2149
|
# resp.name #=> String
|
2123
|
-
# 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"
|
2124
2151
|
# resp.configuration.s3_configuration.bucket_name #=> String
|
2125
2152
|
# resp.configuration.s3_configuration.inclusion_prefixes #=> Array
|
2126
2153
|
# resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
|
@@ -2354,6 +2381,31 @@ module Aws::Kendra
|
|
2354
2381
|
# resp.configuration.fsx_configuration.field_mappings[0].data_source_field_name #=> String
|
2355
2382
|
# resp.configuration.fsx_configuration.field_mappings[0].date_field_format #=> String
|
2356
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
|
2357
2409
|
# resp.created_at #=> Time
|
2358
2410
|
# resp.updated_at #=> Time
|
2359
2411
|
# resp.description #=> String
|
@@ -3188,7 +3240,7 @@ module Aws::Kendra
|
|
3188
3240
|
# resp.summary_items #=> Array
|
3189
3241
|
# resp.summary_items[0].name #=> String
|
3190
3242
|
# resp.summary_items[0].id #=> String
|
3191
|
-
# 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"
|
3192
3244
|
# resp.summary_items[0].created_at #=> Time
|
3193
3245
|
# resp.summary_items[0].updated_at #=> Time
|
3194
3246
|
# resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
|
@@ -3890,6 +3942,9 @@ module Aws::Kendra
|
|
3890
3942
|
# identifiable information, such as the user's email address, as the
|
3891
3943
|
# `VisitorId`.
|
3892
3944
|
#
|
3945
|
+
# @option params [Types::SpellCorrectionConfiguration] :spell_correction_configuration
|
3946
|
+
# Enables suggested spell corrections for queries.
|
3947
|
+
#
|
3893
3948
|
# @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3894
3949
|
#
|
3895
3950
|
# * {Types::QueryResult#query_id #query_id} => String
|
@@ -3897,6 +3952,7 @@ module Aws::Kendra
|
|
3897
3952
|
# * {Types::QueryResult#facet_results #facet_results} => Array<Types::FacetResult>
|
3898
3953
|
# * {Types::QueryResult#total_number_of_results #total_number_of_results} => Integer
|
3899
3954
|
# * {Types::QueryResult#warnings #warnings} => Array<Types::Warning>
|
3955
|
+
# * {Types::QueryResult#spell_corrected_queries #spell_corrected_queries} => Array<Types::SpellCorrectedQuery>
|
3900
3956
|
#
|
3901
3957
|
# @example Request syntax with placeholder values
|
3902
3958
|
#
|
@@ -4020,6 +4076,9 @@ module Aws::Kendra
|
|
4020
4076
|
# ],
|
4021
4077
|
# },
|
4022
4078
|
# visitor_id: "VisitorId",
|
4079
|
+
# spell_correction_configuration: {
|
4080
|
+
# include_query_spell_check_suggestions: false, # required
|
4081
|
+
# },
|
4023
4082
|
# })
|
4024
4083
|
#
|
4025
4084
|
# @example Response structure
|
@@ -4074,6 +4133,13 @@ module Aws::Kendra
|
|
4074
4133
|
# resp.warnings #=> Array
|
4075
4134
|
# resp.warnings[0].message #=> String
|
4076
4135
|
# resp.warnings[0].code #=> String, one of "QUERY_LANGUAGE_INVALID_SYNTAX"
|
4136
|
+
# resp.spell_corrected_queries #=> Array
|
4137
|
+
# resp.spell_corrected_queries[0].suggested_query_text #=> String
|
4138
|
+
# resp.spell_corrected_queries[0].corrections #=> Array
|
4139
|
+
# resp.spell_corrected_queries[0].corrections[0].begin_offset #=> Integer
|
4140
|
+
# resp.spell_corrected_queries[0].corrections[0].end_offset #=> Integer
|
4141
|
+
# resp.spell_corrected_queries[0].corrections[0].term #=> String
|
4142
|
+
# resp.spell_corrected_queries[0].corrections[0].corrected_term #=> String
|
4077
4143
|
#
|
4078
4144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Query AWS API Documentation
|
4079
4145
|
#
|
@@ -4274,7 +4340,8 @@ module Aws::Kendra
|
|
4274
4340
|
# The identifier of the index that contains the data source to update.
|
4275
4341
|
#
|
4276
4342
|
# @option params [Types::DataSourceConfiguration] :configuration
|
4277
|
-
# Configuration information for an Amazon Kendra data source
|
4343
|
+
# Configuration information for an Amazon Kendra data source you want to
|
4344
|
+
# update.
|
4278
4345
|
#
|
4279
4346
|
# @option params [String] :description
|
4280
4347
|
# The new description for the data source.
|
@@ -4646,6 +4713,31 @@ module Aws::Kendra
|
|
4646
4713
|
# },
|
4647
4714
|
# ],
|
4648
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
|
+
# },
|
4649
4741
|
# },
|
4650
4742
|
# description: "Description",
|
4651
4743
|
# schedule: "ScanSchedule",
|
@@ -4747,9 +4839,7 @@ module Aws::Kendra
|
|
4747
4839
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
4748
4840
|
#
|
4749
4841
|
# @option params [Types::ExperienceConfiguration] :configuration
|
4750
|
-
#
|
4751
|
-
# Web Services SSO field name that contains the identifiers of your
|
4752
|
-
# users, such as their emails.
|
4842
|
+
# Configuration information for your Amazon Kendra you want to update.
|
4753
4843
|
#
|
4754
4844
|
# @option params [String] :description
|
4755
4845
|
# The description of your Amazon Kendra experience you want to update.
|
@@ -4801,7 +4891,7 @@ module Aws::Kendra
|
|
4801
4891
|
# A new description for the index.
|
4802
4892
|
#
|
4803
4893
|
# @option params [Array<Types::DocumentMetadataConfiguration>] :document_metadata_configuration_updates
|
4804
|
-
# The document metadata to update.
|
4894
|
+
# The document metadata you want to update.
|
4805
4895
|
#
|
4806
4896
|
# @option params [Types::CapacityUnitsConfiguration] :capacity_units
|
4807
4897
|
# Sets the number of additional storage and query capacity units that
|
@@ -5117,7 +5207,7 @@ module Aws::Kendra
|
|
5117
5207
|
params: params,
|
5118
5208
|
config: config)
|
5119
5209
|
context[:gem_name] = 'aws-sdk-kendra'
|
5120
|
-
context[:gem_version] = '1.
|
5210
|
+
context[:gem_version] = '1.47.0'
|
5121
5211
|
Seahorse::Client::Request.new(handlers, context)
|
5122
5212
|
end
|
5123
5213
|
|
@@ -80,6 +80,8 @@ module Aws::Kendra
|
|
80
80
|
ConnectionConfiguration = Shapes::StructureShape.new(name: 'ConnectionConfiguration')
|
81
81
|
ContentSourceConfiguration = Shapes::StructureShape.new(name: 'ContentSourceConfiguration')
|
82
82
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
83
|
+
Correction = Shapes::StructureShape.new(name: 'Correction')
|
84
|
+
CorrectionList = Shapes::ListShape.new(name: 'CorrectionList')
|
83
85
|
CrawlDepth = Shapes::IntegerShape.new(name: 'CrawlDepth')
|
84
86
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
85
87
|
CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
|
@@ -292,6 +294,7 @@ module Aws::Kendra
|
|
292
294
|
ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
|
293
295
|
ListThesauriResponse = Shapes::StructureShape.new(name: 'ListThesauriResponse')
|
294
296
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
297
|
+
LookBackPeriod = Shapes::IntegerShape.new(name: 'LookBackPeriod')
|
295
298
|
MaxContentSizePerPageInMegaBytes = Shapes::FloatShape.new(name: 'MaxContentSizePerPageInMegaBytes')
|
296
299
|
MaxLinksPerPage = Shapes::IntegerShape.new(name: 'MaxLinksPerPage')
|
297
300
|
MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
|
@@ -333,7 +336,9 @@ module Aws::Kendra
|
|
333
336
|
PrincipalName = Shapes::StringShape.new(name: 'PrincipalName')
|
334
337
|
PrincipalOrderingId = Shapes::IntegerShape.new(name: 'PrincipalOrderingId')
|
335
338
|
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
339
|
+
PrivateChannelFilter = Shapes::ListShape.new(name: 'PrivateChannelFilter')
|
336
340
|
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
341
|
+
PublicChannelFilter = Shapes::ListShape.new(name: 'PublicChannelFilter')
|
337
342
|
PutPrincipalMappingRequest = Shapes::StructureShape.new(name: 'PutPrincipalMappingRequest')
|
338
343
|
QueryCapacityUnit = Shapes::IntegerShape.new(name: 'QueryCapacityUnit')
|
339
344
|
QueryId = Shapes::StringShape.new(name: 'QueryId')
|
@@ -403,14 +408,21 @@ module Aws::Kendra
|
|
403
408
|
SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
|
404
409
|
SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
|
405
410
|
SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
|
411
|
+
SinceCrawlDate = Shapes::StringShape.new(name: 'SinceCrawlDate')
|
406
412
|
SiteMap = Shapes::StringShape.new(name: 'SiteMap')
|
407
413
|
SiteMapsConfiguration = Shapes::StructureShape.new(name: 'SiteMapsConfiguration')
|
408
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')
|
409
418
|
SnapshotsDataHeaderFields = Shapes::ListShape.new(name: 'SnapshotsDataHeaderFields')
|
410
419
|
SnapshotsDataRecord = Shapes::ListShape.new(name: 'SnapshotsDataRecord')
|
411
420
|
SnapshotsDataRecords = Shapes::ListShape.new(name: 'SnapshotsDataRecords')
|
412
421
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
413
422
|
SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
|
423
|
+
SpellCorrectedQuery = Shapes::StructureShape.new(name: 'SpellCorrectedQuery')
|
424
|
+
SpellCorrectedQueryList = Shapes::ListShape.new(name: 'SpellCorrectedQueryList')
|
425
|
+
SpellCorrectionConfiguration = Shapes::StructureShape.new(name: 'SpellCorrectionConfiguration')
|
414
426
|
SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
|
415
427
|
StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
|
416
428
|
StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
|
@@ -421,6 +433,7 @@ module Aws::Kendra
|
|
421
433
|
SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
|
422
434
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
423
435
|
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
436
|
+
SuggestedQueryText = Shapes::StringShape.new(name: 'SuggestedQueryText')
|
424
437
|
Suggestion = Shapes::StructureShape.new(name: 'Suggestion')
|
425
438
|
SuggestionHighlight = Shapes::StructureShape.new(name: 'SuggestionHighlight')
|
426
439
|
SuggestionHighlightList = Shapes::ListShape.new(name: 'SuggestionHighlightList')
|
@@ -436,6 +449,7 @@ module Aws::Kendra
|
|
436
449
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
437
450
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
438
451
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
452
|
+
TeamId = Shapes::StringShape.new(name: 'TeamId')
|
439
453
|
TenantDomain = Shapes::StringShape.new(name: 'TenantDomain')
|
440
454
|
TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
|
441
455
|
TextWithHighlights = Shapes::StructureShape.new(name: 'TextWithHighlights')
|
@@ -687,6 +701,14 @@ module Aws::Kendra
|
|
687
701
|
ContentSourceConfiguration.add_member(:direct_put_content, Shapes::ShapeRef.new(shape: Boolean, location_name: "DirectPutContent"))
|
688
702
|
ContentSourceConfiguration.struct_class = Types::ContentSourceConfiguration
|
689
703
|
|
704
|
+
Correction.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
705
|
+
Correction.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
706
|
+
Correction.add_member(:term, Shapes::ShapeRef.new(shape: String, location_name: "Term"))
|
707
|
+
Correction.add_member(:corrected_term, Shapes::ShapeRef.new(shape: String, location_name: "CorrectedTerm"))
|
708
|
+
Correction.struct_class = Types::Correction
|
709
|
+
|
710
|
+
CorrectionList.member = Shapes::ShapeRef.new(shape: Correction)
|
711
|
+
|
690
712
|
CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
|
691
713
|
CreateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
692
714
|
CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "Type"))
|
@@ -784,6 +806,7 @@ module Aws::Kendra
|
|
784
806
|
DataSourceConfiguration.add_member(:web_crawler_configuration, Shapes::ShapeRef.new(shape: WebCrawlerConfiguration, location_name: "WebCrawlerConfiguration"))
|
785
807
|
DataSourceConfiguration.add_member(:work_docs_configuration, Shapes::ShapeRef.new(shape: WorkDocsConfiguration, location_name: "WorkDocsConfiguration"))
|
786
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"))
|
787
810
|
DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
|
788
811
|
|
789
812
|
DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
|
@@ -1455,11 +1478,15 @@ module Aws::Kendra
|
|
1455
1478
|
|
1456
1479
|
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
1457
1480
|
|
1481
|
+
PrivateChannelFilter.member = Shapes::ShapeRef.new(shape: String)
|
1482
|
+
|
1458
1483
|
ProxyConfiguration.add_member(:host, Shapes::ShapeRef.new(shape: Host, required: true, location_name: "Host"))
|
1459
1484
|
ProxyConfiguration.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "Port"))
|
1460
1485
|
ProxyConfiguration.add_member(:credentials, Shapes::ShapeRef.new(shape: SecretArn, location_name: "Credentials"))
|
1461
1486
|
ProxyConfiguration.struct_class = Types::ProxyConfiguration
|
1462
1487
|
|
1488
|
+
PublicChannelFilter.member = Shapes::ShapeRef.new(shape: String)
|
1489
|
+
|
1463
1490
|
PutPrincipalMappingRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1464
1491
|
PutPrincipalMappingRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
|
1465
1492
|
PutPrincipalMappingRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: GroupId, required: true, location_name: "GroupId"))
|
@@ -1480,6 +1507,7 @@ module Aws::Kendra
|
|
1480
1507
|
QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
|
1481
1508
|
QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
|
1482
1509
|
QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId"))
|
1510
|
+
QueryRequest.add_member(:spell_correction_configuration, Shapes::ShapeRef.new(shape: SpellCorrectionConfiguration, location_name: "SpellCorrectionConfiguration"))
|
1483
1511
|
QueryRequest.struct_class = Types::QueryRequest
|
1484
1512
|
|
1485
1513
|
QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
|
@@ -1487,6 +1515,7 @@ module Aws::Kendra
|
|
1487
1515
|
QueryResult.add_member(:facet_results, Shapes::ShapeRef.new(shape: FacetResultList, location_name: "FacetResults"))
|
1488
1516
|
QueryResult.add_member(:total_number_of_results, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfResults"))
|
1489
1517
|
QueryResult.add_member(:warnings, Shapes::ShapeRef.new(shape: WarningList, location_name: "Warnings"))
|
1518
|
+
QueryResult.add_member(:spell_corrected_queries, Shapes::ShapeRef.new(shape: SpellCorrectedQueryList, location_name: "SpellCorrectedQueries"))
|
1490
1519
|
QueryResult.struct_class = Types::QueryResult
|
1491
1520
|
|
1492
1521
|
QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
@@ -1670,6 +1699,24 @@ module Aws::Kendra
|
|
1670
1699
|
|
1671
1700
|
SiteMapsList.member = Shapes::ShapeRef.new(shape: SiteMap)
|
1672
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
|
+
|
1673
1720
|
SnapshotsDataHeaderFields.member = Shapes::ShapeRef.new(shape: String)
|
1674
1721
|
|
1675
1722
|
SnapshotsDataRecord.member = Shapes::ShapeRef.new(shape: String)
|
@@ -1680,6 +1727,15 @@ module Aws::Kendra
|
|
1680
1727
|
SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
|
1681
1728
|
SortingConfiguration.struct_class = Types::SortingConfiguration
|
1682
1729
|
|
1730
|
+
SpellCorrectedQuery.add_member(:suggested_query_text, Shapes::ShapeRef.new(shape: SuggestedQueryText, location_name: "SuggestedQueryText"))
|
1731
|
+
SpellCorrectedQuery.add_member(:corrections, Shapes::ShapeRef.new(shape: CorrectionList, location_name: "Corrections"))
|
1732
|
+
SpellCorrectedQuery.struct_class = Types::SpellCorrectedQuery
|
1733
|
+
|
1734
|
+
SpellCorrectedQueryList.member = Shapes::ShapeRef.new(shape: SpellCorrectedQuery)
|
1735
|
+
|
1736
|
+
SpellCorrectionConfiguration.add_member(:include_query_spell_check_suggestions, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IncludeQuerySpellCheckSuggestions"))
|
1737
|
+
SpellCorrectionConfiguration.struct_class = Types::SpellCorrectionConfiguration
|
1738
|
+
|
1683
1739
|
SqlConfiguration.add_member(:query_identifiers_enclosing_option, Shapes::ShapeRef.new(shape: QueryIdentifiersEnclosingOption, location_name: "QueryIdentifiersEnclosingOption"))
|
1684
1740
|
SqlConfiguration.struct_class = Types::SqlConfiguration
|
1685
1741
|
|