aws-sdk-kendra 1.60.0 → 1.61.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 +18 -8
- data/lib/aws-sdk-kendra/client_api.rb +25 -0
- data/lib/aws-sdk-kendra/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-kendra/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-kendra/types.rb +193 -67
- 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: 8a2003c9a419feeec9dedf1b72f3223d9984c85dcd4a48bde7761039e431f711
|
4
|
+
data.tar.gz: 46231597c0f3cf5fed87fd152f9c19c3c30bf59900f9c9b8085f51e1139889a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c0403c404e0b81f4c35f267cb2254b06a5197d21bba1ba75b9b8b52be188a873ff20288c21d0212813c778799980214426ac1238d7c0372a2243e36c1191a38
|
7
|
+
data.tar.gz: 7051e9882942136261b50211b761c5547fdbc69e31f117a11de5b56c90d5ec6ae45352498aec3a97422fb4468322e2b48560697ac2cf05e041be02d6679ff6cb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2022-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Kendra now supports preview of table information from HTML tables in the search results. The most relevant cells with their corresponding rows, columns are displayed as a preview in the search result. The most relevant table cell or cells are also highlighted in table preview.
|
8
|
+
|
4
9
|
1.60.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -4007,7 +4007,7 @@ module Aws::Kendra
|
|
4007
4007
|
# If the previous response was incomplete (because there is more data to
|
4008
4008
|
# retrieve), Amazon Kendra returns a pagination token in the response.
|
4009
4009
|
# You can use this pagination token to retrieve the next set of data
|
4010
|
-
# source connectors
|
4010
|
+
# source connectors.
|
4011
4011
|
#
|
4012
4012
|
# @option params [Integer] :max_results
|
4013
4013
|
# The maximum number of data source connectors to return.
|
@@ -4333,11 +4333,10 @@ module Aws::Kendra
|
|
4333
4333
|
# @option params [String] :next_token
|
4334
4334
|
# If the previous response was incomplete (because there is more data to
|
4335
4335
|
# retrieve), Amazon Kendra returns a pagination token in the response.
|
4336
|
-
# You can use this pagination token to retrieve the next set of indexes
|
4337
|
-
# (`DataSourceSummaryItems`).
|
4336
|
+
# You can use this pagination token to retrieve the next set of indexes.
|
4338
4337
|
#
|
4339
4338
|
# @option params [Integer] :max_results
|
4340
|
-
# The maximum number of
|
4339
|
+
# The maximum number of indices to return.
|
4341
4340
|
#
|
4342
4341
|
# @return [Types::ListIndicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4343
4342
|
#
|
@@ -4665,11 +4664,14 @@ module Aws::Kendra
|
|
4665
4664
|
# Each query returns the 100 most relevant results.
|
4666
4665
|
#
|
4667
4666
|
# @option params [required, String] :index_id
|
4668
|
-
# The
|
4669
|
-
#
|
4667
|
+
# The identifier of the index to search. The identifier is returned in
|
4668
|
+
# the response from the `CreateIndex` API.
|
4670
4669
|
#
|
4671
4670
|
# @option params [String] :query_text
|
4672
|
-
# The text
|
4671
|
+
# The input query text for the search. Amazon Kendra truncates queries
|
4672
|
+
# at 30 token words, which excludes punctuation and stop words.
|
4673
|
+
# Truncation still applies if you use Boolean or more advanced, complex
|
4674
|
+
# queries.
|
4673
4675
|
#
|
4674
4676
|
# @option params [Types::AttributeFilter] :attribute_filter
|
4675
4677
|
# Enables filtered searches based on document attributes. You can only
|
@@ -4890,6 +4892,7 @@ module Aws::Kendra
|
|
4890
4892
|
# resp.result_items #=> Array
|
4891
4893
|
# resp.result_items[0].id #=> String
|
4892
4894
|
# resp.result_items[0].type #=> String, one of "DOCUMENT", "QUESTION_ANSWER", "ANSWER"
|
4895
|
+
# resp.result_items[0].format #=> String, one of "TABLE", "TEXT"
|
4893
4896
|
# resp.result_items[0].additional_attributes #=> Array
|
4894
4897
|
# resp.result_items[0].additional_attributes[0].key #=> String
|
4895
4898
|
# resp.result_items[0].additional_attributes[0].value_type #=> String, one of "TEXT_WITH_HIGHLIGHTS_VALUE"
|
@@ -4922,6 +4925,13 @@ module Aws::Kendra
|
|
4922
4925
|
# resp.result_items[0].document_attributes[0].value.date_value #=> Time
|
4923
4926
|
# resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW", "NOT_AVAILABLE"
|
4924
4927
|
# resp.result_items[0].feedback_token #=> String
|
4928
|
+
# resp.result_items[0].table_excerpt.rows #=> Array
|
4929
|
+
# resp.result_items[0].table_excerpt.rows[0].cells #=> Array
|
4930
|
+
# resp.result_items[0].table_excerpt.rows[0].cells[0].value #=> String
|
4931
|
+
# resp.result_items[0].table_excerpt.rows[0].cells[0].top_answer #=> Boolean
|
4932
|
+
# resp.result_items[0].table_excerpt.rows[0].cells[0].highlighted #=> Boolean
|
4933
|
+
# resp.result_items[0].table_excerpt.rows[0].cells[0].header #=> Boolean
|
4934
|
+
# resp.result_items[0].table_excerpt.total_number_of_rows #=> Integer
|
4925
4935
|
# resp.facet_results #=> Array
|
4926
4936
|
# resp.facet_results[0].document_attribute_key #=> String
|
4927
4937
|
# resp.facet_results[0].document_attribute_value_type #=> String, one of "STRING_VALUE", "STRING_LIST_VALUE", "LONG_VALUE", "DATE_VALUE"
|
@@ -6403,7 +6413,7 @@ module Aws::Kendra
|
|
6403
6413
|
params: params,
|
6404
6414
|
config: config)
|
6405
6415
|
context[:gem_name] = 'aws-sdk-kendra'
|
6406
|
-
context[:gem_version] = '1.
|
6416
|
+
context[:gem_version] = '1.61.0'
|
6407
6417
|
Seahorse::Client::Request.new(handlers, context)
|
6408
6418
|
end
|
6409
6419
|
|
@@ -378,6 +378,7 @@ module Aws::Kendra
|
|
378
378
|
QueryIdentifiersEnclosingOption = Shapes::StringShape.new(name: 'QueryIdentifiersEnclosingOption')
|
379
379
|
QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
|
380
380
|
QueryResult = Shapes::StructureShape.new(name: 'QueryResult')
|
381
|
+
QueryResultFormat = Shapes::StringShape.new(name: 'QueryResultFormat')
|
381
382
|
QueryResultItem = Shapes::StructureShape.new(name: 'QueryResultItem')
|
382
383
|
QueryResultItemList = Shapes::ListShape.new(name: 'QueryResultItemList')
|
383
384
|
QueryResultType = Shapes::StringShape.new(name: 'QueryResultType')
|
@@ -482,7 +483,12 @@ module Aws::Kendra
|
|
482
483
|
SuggestionQueryText = Shapes::StringShape.new(name: 'SuggestionQueryText')
|
483
484
|
SuggestionTextWithHighlights = Shapes::StructureShape.new(name: 'SuggestionTextWithHighlights')
|
484
485
|
SuggestionValue = Shapes::StructureShape.new(name: 'SuggestionValue')
|
486
|
+
TableCell = Shapes::StructureShape.new(name: 'TableCell')
|
487
|
+
TableCellList = Shapes::ListShape.new(name: 'TableCellList')
|
488
|
+
TableExcerpt = Shapes::StructureShape.new(name: 'TableExcerpt')
|
485
489
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
490
|
+
TableRow = Shapes::StructureShape.new(name: 'TableRow')
|
491
|
+
TableRowList = Shapes::ListShape.new(name: 'TableRowList')
|
486
492
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
487
493
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
488
494
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -1720,6 +1726,7 @@ module Aws::Kendra
|
|
1720
1726
|
|
1721
1727
|
QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
1722
1728
|
QueryResultItem.add_member(:type, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "Type"))
|
1729
|
+
QueryResultItem.add_member(:format, Shapes::ShapeRef.new(shape: QueryResultFormat, location_name: "Format"))
|
1723
1730
|
QueryResultItem.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: AdditionalResultAttributeList, location_name: "AdditionalAttributes"))
|
1724
1731
|
QueryResultItem.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId"))
|
1725
1732
|
QueryResultItem.add_member(:document_title, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentTitle"))
|
@@ -1728,6 +1735,7 @@ module Aws::Kendra
|
|
1728
1735
|
QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
|
1729
1736
|
QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
|
1730
1737
|
QueryResultItem.add_member(:feedback_token, Shapes::ShapeRef.new(shape: FeedbackToken, location_name: "FeedbackToken"))
|
1738
|
+
QueryResultItem.add_member(:table_excerpt, Shapes::ShapeRef.new(shape: TableExcerpt, location_name: "TableExcerpt"))
|
1731
1739
|
QueryResultItem.struct_class = Types::QueryResultItem
|
1732
1740
|
|
1733
1741
|
QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
|
@@ -2007,6 +2015,23 @@ module Aws::Kendra
|
|
2007
2015
|
SuggestionValue.add_member(:text, Shapes::ShapeRef.new(shape: SuggestionTextWithHighlights, location_name: "Text"))
|
2008
2016
|
SuggestionValue.struct_class = Types::SuggestionValue
|
2009
2017
|
|
2018
|
+
TableCell.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
2019
|
+
TableCell.add_member(:top_answer, Shapes::ShapeRef.new(shape: Boolean, location_name: "TopAnswer"))
|
2020
|
+
TableCell.add_member(:highlighted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Highlighted"))
|
2021
|
+
TableCell.add_member(:header, Shapes::ShapeRef.new(shape: Boolean, location_name: "Header"))
|
2022
|
+
TableCell.struct_class = Types::TableCell
|
2023
|
+
|
2024
|
+
TableCellList.member = Shapes::ShapeRef.new(shape: TableCell)
|
2025
|
+
|
2026
|
+
TableExcerpt.add_member(:rows, Shapes::ShapeRef.new(shape: TableRowList, location_name: "Rows"))
|
2027
|
+
TableExcerpt.add_member(:total_number_of_rows, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfRows"))
|
2028
|
+
TableExcerpt.struct_class = Types::TableExcerpt
|
2029
|
+
|
2030
|
+
TableRow.add_member(:cells, Shapes::ShapeRef.new(shape: TableCellList, location_name: "Cells"))
|
2031
|
+
TableRow.struct_class = Types::TableRow
|
2032
|
+
|
2033
|
+
TableRowList.member = Shapes::ShapeRef.new(shape: TableRow)
|
2034
|
+
|
2010
2035
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
2011
2036
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
2012
2037
|
Tag.struct_class = Types::Tag
|
@@ -50,6 +50,9 @@ module Aws::Kendra
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,82 +29,82 @@ module Aws::Kendra
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-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JhLntSZWdpb259LntQ
|
106
|
-
YXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
|
107
|
-
ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
96
|
+
Ym9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsiZm4iOiJnZXRBdHRyIiwi
|
97
|
+
YXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRzRHVh
|
98
|
+
bFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRp
|
99
|
+
b25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9rZW5kcmEue1Jl
|
100
|
+
Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9Iiwi
|
101
|
+
cHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50
|
102
|
+
In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBl
|
103
|
+
bmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1
|
104
|
+
YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwi
|
105
|
+
ZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9rZW5kcmEue1JlZ2lvbn0ue1Bh
|
106
|
+
cnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
|
107
|
+
YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
108
108
|
|
109
109
|
JSON
|
110
110
|
end
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -51,6 +51,10 @@ module Aws::Kendra
|
|
51
51
|
include Aws::Structure
|
52
52
|
end
|
53
53
|
|
54
|
+
# You don't have sufficient access to perform this action. Please
|
55
|
+
# ensure you have the required permission policies and user accounts and
|
56
|
+
# try again.
|
57
|
+
#
|
54
58
|
# @!attribute [rw] message
|
55
59
|
# @return [String]
|
56
60
|
#
|
@@ -1043,8 +1047,7 @@ module Aws::Kendra
|
|
1043
1047
|
# retrieved.
|
1044
1048
|
#
|
1045
1049
|
# @!attribute [rw] document_id
|
1046
|
-
# The
|
1047
|
-
# retrieved.
|
1050
|
+
# The identifier of the document whose status could not be retrieved.
|
1048
1051
|
# @return [String]
|
1049
1052
|
#
|
1050
1053
|
# @!attribute [rw] error_code
|
@@ -1262,7 +1265,7 @@ module Aws::Kendra
|
|
1262
1265
|
# Provides information about a document that could not be indexed.
|
1263
1266
|
#
|
1264
1267
|
# @!attribute [rw] id
|
1265
|
-
# The
|
1268
|
+
# The identifier of the document.
|
1266
1269
|
# @return [String]
|
1267
1270
|
#
|
1268
1271
|
# @!attribute [rw] error_code
|
@@ -1359,12 +1362,12 @@ module Aws::Kendra
|
|
1359
1362
|
# * passphrase—A set of characters that act like a password.
|
1360
1363
|
#
|
1361
1364
|
# You create an application in Box to generate the keys or credentials
|
1362
|
-
# required for the secret. For more information, see [
|
1363
|
-
#
|
1365
|
+
# required for the secret. For more information, see [Using a Box data
|
1366
|
+
# source][1].
|
1364
1367
|
#
|
1365
1368
|
#
|
1366
1369
|
#
|
1367
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html
|
1370
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html
|
1368
1371
|
# @return [String]
|
1369
1372
|
#
|
1370
1373
|
# @!attribute [rw] use_change_log
|
@@ -1569,7 +1572,7 @@ module Aws::Kendra
|
|
1569
1572
|
# }
|
1570
1573
|
#
|
1571
1574
|
# @!attribute [rw] result_id
|
1572
|
-
# The
|
1575
|
+
# The identifier of the search result that was clicked.
|
1573
1576
|
# @return [String]
|
1574
1577
|
#
|
1575
1578
|
# @!attribute [rw] click_time
|
@@ -1606,7 +1609,7 @@ module Aws::Kendra
|
|
1606
1609
|
# }
|
1607
1610
|
#
|
1608
1611
|
# @!attribute [rw] document_id_column_name
|
1609
|
-
# The column that provides the document's
|
1612
|
+
# The column that provides the document's identifier.
|
1610
1613
|
# @return [String]
|
1611
1614
|
#
|
1612
1615
|
# @!attribute [rw] document_data_column_name
|
@@ -1640,6 +1643,9 @@ module Aws::Kendra
|
|
1640
1643
|
include Aws::Structure
|
1641
1644
|
end
|
1642
1645
|
|
1646
|
+
# A conflict occurred with the request. Please fix any inconsistences
|
1647
|
+
# with your resources and try again.
|
1648
|
+
#
|
1643
1649
|
# @!attribute [rw] message
|
1644
1650
|
# @return [String]
|
1645
1651
|
#
|
@@ -1906,17 +1912,15 @@ module Aws::Kendra
|
|
1906
1912
|
# The Amazon Resource Name (ARN) of an Secrets Manager secret that
|
1907
1913
|
# contains the user name and password required to connect to the
|
1908
1914
|
# Confluence instance. If you use Confluence Cloud, you use a
|
1909
|
-
# generated API token as the password.
|
1910
|
-
# [Using a Confluence data source][1].
|
1915
|
+
# generated API token as the password.
|
1911
1916
|
#
|
1912
1917
|
# You can also provide authentication credentials in the form of a
|
1913
|
-
# personal access token. For more information, see [
|
1914
|
-
#
|
1918
|
+
# personal access token. For more information, see [Using a Confluence
|
1919
|
+
# data source][1].
|
1915
1920
|
#
|
1916
1921
|
#
|
1917
1922
|
#
|
1918
1923
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html
|
1919
|
-
# [2]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html#confluence-authentication
|
1920
1924
|
# @return [String]
|
1921
1925
|
#
|
1922
1926
|
# @!attribute [rw] version
|
@@ -3488,7 +3492,7 @@ module Aws::Kendra
|
|
3488
3492
|
end
|
3489
3493
|
|
3490
3494
|
# @!attribute [rw] id
|
3491
|
-
# The
|
3495
|
+
# The identifier of the FAQ.
|
3492
3496
|
# @return [String]
|
3493
3497
|
#
|
3494
3498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateFaqResponse AWS API Documentation
|
@@ -3644,8 +3648,8 @@ module Aws::Kendra
|
|
3644
3648
|
end
|
3645
3649
|
|
3646
3650
|
# @!attribute [rw] id
|
3647
|
-
# The
|
3648
|
-
#
|
3651
|
+
# The identifier of the index. Use this identifier when you query an
|
3652
|
+
# index, set up a data source, or index a document.
|
3649
3653
|
# @return [String]
|
3650
3654
|
#
|
3651
3655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateIndexResponse AWS API Documentation
|
@@ -3749,7 +3753,7 @@ module Aws::Kendra
|
|
3749
3753
|
end
|
3750
3754
|
|
3751
3755
|
# @!attribute [rw] id
|
3752
|
-
# The
|
3756
|
+
# The identifier of the created block list.
|
3753
3757
|
# @return [String]
|
3754
3758
|
#
|
3755
3759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateQuerySuggestionsBlockListResponse AWS API Documentation
|
@@ -3832,7 +3836,7 @@ module Aws::Kendra
|
|
3832
3836
|
end
|
3833
3837
|
|
3834
3838
|
# @!attribute [rw] id
|
3835
|
-
# The
|
3839
|
+
# The identifier of the thesaurus.
|
3836
3840
|
# @return [String]
|
3837
3841
|
#
|
3838
3842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateThesaurusResponse AWS API Documentation
|
@@ -4748,15 +4752,14 @@ module Aws::Kendra
|
|
4748
4752
|
include Aws::Structure
|
4749
4753
|
end
|
4750
4754
|
|
4751
|
-
# Summary information for
|
4752
|
-
# call to the `DescribeDataSource` API.
|
4755
|
+
# Summary information for a Amazon Kendra data source.
|
4753
4756
|
#
|
4754
4757
|
# @!attribute [rw] name
|
4755
4758
|
# The name of the data source.
|
4756
4759
|
# @return [String]
|
4757
4760
|
#
|
4758
4761
|
# @!attribute [rw] id
|
4759
|
-
# The
|
4762
|
+
# The identifier for the data source.
|
4760
4763
|
# @return [String]
|
4761
4764
|
#
|
4762
4765
|
# @!attribute [rw] type
|
@@ -4804,7 +4807,7 @@ module Aws::Kendra
|
|
4804
4807
|
# Provides information about a data source synchronization job.
|
4805
4808
|
#
|
4806
4809
|
# @!attribute [rw] execution_id
|
4807
|
-
# A
|
4810
|
+
# A identifier for the synchronization job.
|
4808
4811
|
# @return [String]
|
4809
4812
|
#
|
4810
4813
|
# @!attribute [rw] start_time
|
@@ -6395,7 +6398,7 @@ module Aws::Kendra
|
|
6395
6398
|
# }
|
6396
6399
|
#
|
6397
6400
|
# @!attribute [rw] id
|
6398
|
-
# A
|
6401
|
+
# A identifier of the document in the index.
|
6399
6402
|
#
|
6400
6403
|
# Note, each document ID must be unique per index. You cannot create a
|
6401
6404
|
# data source to index your documents with their unique IDs and then
|
@@ -6669,7 +6672,8 @@ module Aws::Kendra
|
|
6669
6672
|
# @return [String]
|
6670
6673
|
#
|
6671
6674
|
# @!attribute [rw] string_list_value
|
6672
|
-
# A list of strings.
|
6675
|
+
# A list of strings. The default maximum length or number of strings
|
6676
|
+
# is 10.
|
6673
6677
|
# @return [Array<String>]
|
6674
6678
|
#
|
6675
6679
|
# @!attribute [rw] long_value
|
@@ -6754,7 +6758,7 @@ module Aws::Kendra
|
|
6754
6758
|
# }
|
6755
6759
|
#
|
6756
6760
|
# @!attribute [rw] document_id
|
6757
|
-
# The
|
6761
|
+
# The identifier of the document.
|
6758
6762
|
# @return [String]
|
6759
6763
|
#
|
6760
6764
|
# @!attribute [rw] attributes
|
@@ -7294,7 +7298,7 @@ module Aws::Kendra
|
|
7294
7298
|
# included in an index.
|
7295
7299
|
#
|
7296
7300
|
# @!attribute [rw] id
|
7297
|
-
# The
|
7301
|
+
# The identifier of the FAQ.
|
7298
7302
|
# @return [String]
|
7299
7303
|
#
|
7300
7304
|
# @!attribute [rw] name
|
@@ -7496,7 +7500,7 @@ module Aws::Kendra
|
|
7496
7500
|
end
|
7497
7501
|
|
7498
7502
|
# @!attribute [rw] query_suggestions_id
|
7499
|
-
# The
|
7503
|
+
# The identifier for a list of query suggestions for an index.
|
7500
7504
|
# @return [String]
|
7501
7505
|
#
|
7502
7506
|
# @!attribute [rw] suggestions
|
@@ -7737,15 +7741,15 @@ module Aws::Kendra
|
|
7737
7741
|
# contains the key-value pairs required to connect to your GitHub. The
|
7738
7742
|
# secret must contain a JSON structure with the following keys:
|
7739
7743
|
#
|
7740
|
-
# *
|
7741
|
-
# information on creating a token in GitHub, see [
|
7742
|
-
#
|
7744
|
+
# * personalToken—The access token created in GitHub. For more
|
7745
|
+
# information on creating a token in GitHub, see [Using a GitHub
|
7746
|
+
# data source][1].
|
7743
7747
|
#
|
7744
7748
|
# ^
|
7745
7749
|
#
|
7746
7750
|
#
|
7747
7751
|
#
|
7748
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html
|
7752
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html
|
7749
7753
|
# @return [String]
|
7750
7754
|
#
|
7751
7755
|
# @!attribute [rw] use_change_log
|
@@ -8396,18 +8400,18 @@ module Aws::Kendra
|
|
8396
8400
|
# Summary information on the configuration of an index.
|
8397
8401
|
#
|
8398
8402
|
# @!attribute [rw] name
|
8399
|
-
# The
|
8403
|
+
# The name of the index.
|
8400
8404
|
# @return [String]
|
8401
8405
|
#
|
8402
8406
|
# @!attribute [rw] id
|
8403
|
-
# A
|
8404
|
-
#
|
8405
|
-
# `
|
8407
|
+
# A identifier for the index. Use this to identify the index when you
|
8408
|
+
# are using APIs such as `Query`, `DescribeIndex`, `UpdateIndex`, and
|
8409
|
+
# `DeleteIndex`.
|
8406
8410
|
# @return [String]
|
8407
8411
|
#
|
8408
8412
|
# @!attribute [rw] edition
|
8409
|
-
# Indicates whether the index is a
|
8410
|
-
#
|
8413
|
+
# Indicates whether the index is a Enterprise Edition index or a
|
8414
|
+
# Developer Edition index.
|
8411
8415
|
# @return [String]
|
8412
8416
|
#
|
8413
8417
|
# @!attribute [rw] created_at
|
@@ -8524,6 +8528,14 @@ module Aws::Kendra
|
|
8524
8528
|
include Aws::Structure
|
8525
8529
|
end
|
8526
8530
|
|
8531
|
+
# An issue occurred with the internal server used for your Amazon Kendra
|
8532
|
+
# service. Please wait a few minutes and try again, or contact [
|
8533
|
+
# Support][1] for help.
|
8534
|
+
#
|
8535
|
+
#
|
8536
|
+
#
|
8537
|
+
# [1]: http://aws.amazon.com/aws.amazon.com/contact-us
|
8538
|
+
#
|
8527
8539
|
# @!attribute [rw] message
|
8528
8540
|
# @return [String]
|
8529
8541
|
#
|
@@ -8535,7 +8547,8 @@ module Aws::Kendra
|
|
8535
8547
|
include Aws::Structure
|
8536
8548
|
end
|
8537
8549
|
|
8538
|
-
# The input to the request is not valid.
|
8550
|
+
# The input to the request is not valid. Please provide the correct
|
8551
|
+
# input and try again.
|
8539
8552
|
#
|
8540
8553
|
# @!attribute [rw] message
|
8541
8554
|
# @return [String]
|
@@ -8620,12 +8633,11 @@ module Aws::Kendra
|
|
8620
8633
|
# * jiraId—The Jira username.
|
8621
8634
|
#
|
8622
8635
|
# * jiraCredentials—The Jira API token. For more information on
|
8623
|
-
# creating an API token in Jira, see [
|
8624
|
-
# data source][1].
|
8636
|
+
# creating an API token in Jira, see [ Using a Jira data source][1].
|
8625
8637
|
#
|
8626
8638
|
#
|
8627
8639
|
#
|
8628
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html
|
8640
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html
|
8629
8641
|
# @return [String]
|
8630
8642
|
#
|
8631
8643
|
# @!attribute [rw] use_change_log
|
@@ -8998,7 +9010,7 @@ module Aws::Kendra
|
|
8998
9010
|
# If the previous response was incomplete (because there is more data
|
8999
9011
|
# to retrieve), Amazon Kendra returns a pagination token in the
|
9000
9012
|
# response. You can use this pagination token to retrieve the next set
|
9001
|
-
# of data source connectors
|
9013
|
+
# of data source connectors.
|
9002
9014
|
# @return [String]
|
9003
9015
|
#
|
9004
9016
|
# @!attribute [rw] max_results
|
@@ -9340,11 +9352,11 @@ module Aws::Kendra
|
|
9340
9352
|
# If the previous response was incomplete (because there is more data
|
9341
9353
|
# to retrieve), Amazon Kendra returns a pagination token in the
|
9342
9354
|
# response. You can use this pagination token to retrieve the next set
|
9343
|
-
# of indexes
|
9355
|
+
# of indexes.
|
9344
9356
|
# @return [String]
|
9345
9357
|
#
|
9346
9358
|
# @!attribute [rw] max_results
|
9347
|
-
# The maximum number of
|
9359
|
+
# The maximum number of indices to return.
|
9348
9360
|
# @return [Integer]
|
9349
9361
|
#
|
9350
9362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListIndicesRequest AWS API Documentation
|
@@ -10149,12 +10161,15 @@ module Aws::Kendra
|
|
10149
10161
|
# }
|
10150
10162
|
#
|
10151
10163
|
# @!attribute [rw] index_id
|
10152
|
-
# The
|
10153
|
-
#
|
10164
|
+
# The identifier of the index to search. The identifier is returned in
|
10165
|
+
# the response from the `CreateIndex` API.
|
10154
10166
|
# @return [String]
|
10155
10167
|
#
|
10156
10168
|
# @!attribute [rw] query_text
|
10157
|
-
# The text
|
10169
|
+
# The input query text for the search. Amazon Kendra truncates queries
|
10170
|
+
# at 30 token words, which excludes punctuation and stop words.
|
10171
|
+
# Truncation still applies if you use Boolean or more advanced,
|
10172
|
+
# complex queries.
|
10158
10173
|
# @return [String]
|
10159
10174
|
#
|
10160
10175
|
# @!attribute [rw] attribute_filter
|
@@ -10264,8 +10279,8 @@ module Aws::Kendra
|
|
10264
10279
|
end
|
10265
10280
|
|
10266
10281
|
# @!attribute [rw] query_id
|
10267
|
-
# The
|
10268
|
-
#
|
10282
|
+
# The identifier for the search. You use `QueryId` to identify the
|
10283
|
+
# search when using the feedback API.
|
10269
10284
|
# @return [String]
|
10270
10285
|
#
|
10271
10286
|
# @!attribute [rw] result_items
|
@@ -10323,11 +10338,19 @@ module Aws::Kendra
|
|
10323
10338
|
# document that satisfies the query.
|
10324
10339
|
#
|
10325
10340
|
# @!attribute [rw] id
|
10326
|
-
# The
|
10341
|
+
# The identifier for the query result.
|
10327
10342
|
# @return [String]
|
10328
10343
|
#
|
10329
10344
|
# @!attribute [rw] type
|
10330
|
-
# The type of document.
|
10345
|
+
# The type of document within the response. For example, a response
|
10346
|
+
# could include a question-answer that's relevant to the query.
|
10347
|
+
# @return [String]
|
10348
|
+
#
|
10349
|
+
# @!attribute [rw] format
|
10350
|
+
# If the `Type` of document within the response is `ANSWER`, then it
|
10351
|
+
# is either a `TABLE` answer or `TEXT` answer. If it's a table
|
10352
|
+
# answer, a table excerpt is returned in `TableExcerpt`. If it's a
|
10353
|
+
# text answer, a text excerpt is returned in `DocumentExcerpt`.
|
10331
10354
|
# @return [String]
|
10332
10355
|
#
|
10333
10356
|
# @!attribute [rw] additional_attributes
|
@@ -10335,7 +10358,7 @@ module Aws::Kendra
|
|
10335
10358
|
# @return [Array<Types::AdditionalResultAttribute>]
|
10336
10359
|
#
|
10337
10360
|
# @!attribute [rw] document_id
|
10338
|
-
# The
|
10361
|
+
# The identifier for the document.
|
10339
10362
|
# @return [String]
|
10340
10363
|
#
|
10341
10364
|
# @!attribute [rw] document_title
|
@@ -10373,18 +10396,23 @@ module Aws::Kendra
|
|
10373
10396
|
# @!attribute [rw] feedback_token
|
10374
10397
|
# A token that identifies a particular result from a particular query.
|
10375
10398
|
# Use this token to provide click-through feedback for the result. For
|
10376
|
-
# more information, see [
|
10399
|
+
# more information, see [Submitting feedback ][1].
|
10377
10400
|
#
|
10378
10401
|
#
|
10379
10402
|
#
|
10380
10403
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html
|
10381
10404
|
# @return [String]
|
10382
10405
|
#
|
10406
|
+
# @!attribute [rw] table_excerpt
|
10407
|
+
# An excerpt from a table within a document.
|
10408
|
+
# @return [Types::TableExcerpt]
|
10409
|
+
#
|
10383
10410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem AWS API Documentation
|
10384
10411
|
#
|
10385
10412
|
class QueryResultItem < Struct.new(
|
10386
10413
|
:id,
|
10387
10414
|
:type,
|
10415
|
+
:format,
|
10388
10416
|
:additional_attributes,
|
10389
10417
|
:document_id,
|
10390
10418
|
:document_title,
|
@@ -10392,7 +10420,8 @@ module Aws::Kendra
|
|
10392
10420
|
:document_uri,
|
10393
10421
|
:document_attributes,
|
10394
10422
|
:score_attributes,
|
10395
|
-
:feedback_token
|
10423
|
+
:feedback_token,
|
10424
|
+
:table_excerpt)
|
10396
10425
|
SENSITIVE = []
|
10397
10426
|
include Aws::Structure
|
10398
10427
|
end
|
@@ -10503,13 +10532,13 @@ module Aws::Kendra
|
|
10503
10532
|
# keys:
|
10504
10533
|
#
|
10505
10534
|
# * accessToken—The token created in Quip. For more information, see
|
10506
|
-
# [
|
10535
|
+
# [Using a Quip data source][1].
|
10507
10536
|
#
|
10508
10537
|
# ^
|
10509
10538
|
#
|
10510
10539
|
#
|
10511
10540
|
#
|
10512
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html
|
10541
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html
|
10513
10542
|
# @return [String]
|
10514
10543
|
#
|
10515
10544
|
# @!attribute [rw] crawl_file_comments
|
@@ -10714,8 +10743,8 @@ module Aws::Kendra
|
|
10714
10743
|
# }
|
10715
10744
|
#
|
10716
10745
|
# @!attribute [rw] result_id
|
10717
|
-
# The
|
10718
|
-
#
|
10746
|
+
# The identifier of the search result that the user provided relevance
|
10747
|
+
# feedback for.
|
10719
10748
|
# @return [String]
|
10720
10749
|
#
|
10721
10750
|
# @!attribute [rw] relevance_value
|
@@ -10731,6 +10760,9 @@ module Aws::Kendra
|
|
10731
10760
|
include Aws::Structure
|
10732
10761
|
end
|
10733
10762
|
|
10763
|
+
# The resource you want to use already exists. Please check you have
|
10764
|
+
# provided the correct resource and try again.
|
10765
|
+
#
|
10734
10766
|
# @!attribute [rw] message
|
10735
10767
|
# @return [String]
|
10736
10768
|
#
|
@@ -10742,6 +10774,9 @@ module Aws::Kendra
|
|
10742
10774
|
include Aws::Structure
|
10743
10775
|
end
|
10744
10776
|
|
10777
|
+
# The resource you want to use is currently in use. Please check you
|
10778
|
+
# have provided the correct resource and try again.
|
10779
|
+
#
|
10745
10780
|
# @!attribute [rw] message
|
10746
10781
|
# @return [String]
|
10747
10782
|
#
|
@@ -10753,6 +10788,9 @@ module Aws::Kendra
|
|
10753
10788
|
include Aws::Structure
|
10754
10789
|
end
|
10755
10790
|
|
10791
|
+
# The resource you want to use doesn’t exist. Please check you have
|
10792
|
+
# provided the correct resource and try again.
|
10793
|
+
#
|
10756
10794
|
# @!attribute [rw] message
|
10757
10795
|
# @return [String]
|
10758
10796
|
#
|
@@ -10764,6 +10802,9 @@ module Aws::Kendra
|
|
10764
10802
|
include Aws::Structure
|
10765
10803
|
end
|
10766
10804
|
|
10805
|
+
# The resource you want to use isn't available. Please check you have
|
10806
|
+
# provided the correct resource and try again.
|
10807
|
+
#
|
10767
10808
|
# @!attribute [rw] message
|
10768
10809
|
# @return [String]
|
10769
10810
|
#
|
@@ -11615,12 +11656,11 @@ module Aws::Kendra
|
|
11615
11656
|
# contains the user name and password required to connect to the
|
11616
11657
|
# ServiceNow instance. You can also provide OAuth authentication
|
11617
11658
|
# credentials of user name, password, client ID, and client secret.
|
11618
|
-
# For more information, see [
|
11619
|
-
# source][1].
|
11659
|
+
# For more information, see [Using a ServiceNow data source][1].
|
11620
11660
|
#
|
11621
11661
|
#
|
11622
11662
|
#
|
11623
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html
|
11663
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html
|
11624
11664
|
# @return [String]
|
11625
11665
|
#
|
11626
11666
|
# @!attribute [rw] service_now_build_version
|
@@ -11851,6 +11891,14 @@ module Aws::Kendra
|
|
11851
11891
|
include Aws::Structure
|
11852
11892
|
end
|
11853
11893
|
|
11894
|
+
# You have exceeded the set limits for your Amazon Kendra service.
|
11895
|
+
# Please see Quotas\[hyperlink Kendra Quotas pg\] for more information,
|
11896
|
+
# or contact [ Support][1] to inquire about an increase of limits.
|
11897
|
+
#
|
11898
|
+
#
|
11899
|
+
#
|
11900
|
+
# [1]: http://aws.amazon.com/aws.amazon.com/contact-us
|
11901
|
+
#
|
11854
11902
|
# @!attribute [rw] message
|
11855
11903
|
# @return [String]
|
11856
11904
|
#
|
@@ -11919,12 +11967,11 @@ module Aws::Kendra
|
|
11919
11967
|
#
|
11920
11968
|
# You can also provide OAuth authentication credentials of user name,
|
11921
11969
|
# password, client ID, and client secret. For more information, see
|
11922
|
-
# [
|
11970
|
+
# [Using a SharePoint data source][1].
|
11923
11971
|
#
|
11924
11972
|
#
|
11925
11973
|
#
|
11926
11974
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html
|
11927
|
-
# [2]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html#sharepoint-authentication
|
11928
11975
|
# @return [String]
|
11929
11976
|
#
|
11930
11977
|
# @!attribute [rw] crawl_attachments
|
@@ -12450,7 +12497,7 @@ module Aws::Kendra
|
|
12450
12497
|
# indexing.
|
12451
12498
|
#
|
12452
12499
|
# @!attribute [rw] document_id
|
12453
|
-
# The
|
12500
|
+
# The identifier of the document.
|
12454
12501
|
# @return [String]
|
12455
12502
|
#
|
12456
12503
|
# @!attribute [rw] document_status
|
@@ -12561,13 +12608,13 @@ module Aws::Kendra
|
|
12561
12608
|
# A single query suggestion.
|
12562
12609
|
#
|
12563
12610
|
# @!attribute [rw] id
|
12564
|
-
# The
|
12611
|
+
# The UUID (universally unique identifier) of a single query
|
12565
12612
|
# suggestion.
|
12566
12613
|
# @return [String]
|
12567
12614
|
#
|
12568
12615
|
# @!attribute [rw] value
|
12569
|
-
# The value for the
|
12570
|
-
#
|
12616
|
+
# The value for the UUID (universally unique identifier) of a single
|
12617
|
+
# query suggestion.
|
12571
12618
|
#
|
12572
12619
|
# The value is the text string of a suggestion.
|
12573
12620
|
# @return [Types::SuggestionValue]
|
@@ -12638,6 +12685,79 @@ module Aws::Kendra
|
|
12638
12685
|
include Aws::Structure
|
12639
12686
|
end
|
12640
12687
|
|
12688
|
+
# Provides information about a table cell in a table excerpt.
|
12689
|
+
#
|
12690
|
+
# @!attribute [rw] value
|
12691
|
+
# The actual value or content within a table cell. A table cell could
|
12692
|
+
# contain a date value of a year, or a string value of text, for
|
12693
|
+
# example.
|
12694
|
+
# @return [String]
|
12695
|
+
#
|
12696
|
+
# @!attribute [rw] top_answer
|
12697
|
+
# `TRUE` if the response of the table cell is the top answer. This is
|
12698
|
+
# the cell value or content with the highest confidence score or is
|
12699
|
+
# the most relevant to the query.
|
12700
|
+
# @return [Boolean]
|
12701
|
+
#
|
12702
|
+
# @!attribute [rw] highlighted
|
12703
|
+
# `TRUE` means that the table cell has a high enough confidence and is
|
12704
|
+
# relevant to the query, so the value or content should be
|
12705
|
+
# highlighted.
|
12706
|
+
# @return [Boolean]
|
12707
|
+
#
|
12708
|
+
# @!attribute [rw] header
|
12709
|
+
# `TRUE` means that the table cell should be treated as a header.
|
12710
|
+
# @return [Boolean]
|
12711
|
+
#
|
12712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/TableCell AWS API Documentation
|
12713
|
+
#
|
12714
|
+
class TableCell < Struct.new(
|
12715
|
+
:value,
|
12716
|
+
:top_answer,
|
12717
|
+
:highlighted,
|
12718
|
+
:header)
|
12719
|
+
SENSITIVE = []
|
12720
|
+
include Aws::Structure
|
12721
|
+
end
|
12722
|
+
|
12723
|
+
# An excerpt from a table within a document. The table excerpt displays
|
12724
|
+
# up to five columns and three rows, depending on how many table cells
|
12725
|
+
# are relevant to the query and how many columns are available in the
|
12726
|
+
# original table. The top most relevant cell is displayed in the table
|
12727
|
+
# excerpt, along with the next most relevant cells.
|
12728
|
+
#
|
12729
|
+
# @!attribute [rw] rows
|
12730
|
+
# A list of rows in the table excerpt.
|
12731
|
+
# @return [Array<Types::TableRow>]
|
12732
|
+
#
|
12733
|
+
# @!attribute [rw] total_number_of_rows
|
12734
|
+
# A count of the number of rows in the original table within the
|
12735
|
+
# document.
|
12736
|
+
# @return [Integer]
|
12737
|
+
#
|
12738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/TableExcerpt AWS API Documentation
|
12739
|
+
#
|
12740
|
+
class TableExcerpt < Struct.new(
|
12741
|
+
:rows,
|
12742
|
+
:total_number_of_rows)
|
12743
|
+
SENSITIVE = []
|
12744
|
+
include Aws::Structure
|
12745
|
+
end
|
12746
|
+
|
12747
|
+
# Information about a row in a table excerpt.
|
12748
|
+
#
|
12749
|
+
# @!attribute [rw] cells
|
12750
|
+
# A list of table cells in a row.
|
12751
|
+
# @return [Array<Types::TableCell>]
|
12752
|
+
#
|
12753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/TableRow AWS API Documentation
|
12754
|
+
#
|
12755
|
+
class TableRow < Struct.new(
|
12756
|
+
:cells)
|
12757
|
+
SENSITIVE = []
|
12758
|
+
include Aws::Structure
|
12759
|
+
end
|
12760
|
+
|
12641
12761
|
# A list of key/value pairs that identify an index, FAQ, or data source.
|
12642
12762
|
# Tag keys and values can consist of Unicode letters, digits, white
|
12643
12763
|
# space, and any of the following symbols: \_ . : / = + - @.
|
@@ -12808,6 +12928,9 @@ module Aws::Kendra
|
|
12808
12928
|
include Aws::Structure
|
12809
12929
|
end
|
12810
12930
|
|
12931
|
+
# The request was denied due to request throttling. Please reduce the
|
12932
|
+
# number of requests and try again.
|
12933
|
+
#
|
12811
12934
|
# @!attribute [rw] message
|
12812
12935
|
# @return [String]
|
12813
12936
|
#
|
@@ -14385,6 +14508,9 @@ module Aws::Kendra
|
|
14385
14508
|
include Aws::Structure
|
14386
14509
|
end
|
14387
14510
|
|
14511
|
+
# The input fails to satisfy the constraints set by the Amazon Kendra
|
14512
|
+
# service. Please provide the correct input and try again.
|
14513
|
+
#
|
14388
14514
|
# @!attribute [rw] message
|
14389
14515
|
# @return [String]
|
14390
14516
|
#
|
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.61.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-
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|