aws-sdk-kendra 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kendra.rb +1 -1
- data/lib/aws-sdk-kendra/client.rb +2 -1
- data/lib/aws-sdk-kendra/client_api.rb +6 -0
- data/lib/aws-sdk-kendra/types.rb +49 -7
- 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: abfacf08de6f3043dd57d7c7da0e11bbc5fc6133dd7326e72e19dd7ef2a70ebe
|
4
|
+
data.tar.gz: 867290116b28c84a0a114755e84262ccd1026003eab2a9c4d9fae25b28000595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6f9fffd0fcd81d7b4a66504d6767783b684a7e03a94ca25574771c00a2a617067b44e2e38d93679cc9bd2ccf569089008a75c1a764959635859f44b6cadc0c
|
7
|
+
data.tar.gz: 3b3f01f42e40766b8b82d85ce648c3054cffca63936408e13990bdd7aa552dc172474c946d41516904bba764b9b21d104176f8e4d132963fa31ded17009dbd25
|
data/lib/aws-sdk-kendra.rb
CHANGED
@@ -1745,6 +1745,7 @@ module Aws::Kendra
|
|
1745
1745
|
# resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
|
1746
1746
|
# resp.result_items[0].document_attributes[0].value.long_value #=> Integer
|
1747
1747
|
# resp.result_items[0].document_attributes[0].value.date_value #=> Time
|
1748
|
+
# resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM"
|
1748
1749
|
# resp.facet_results #=> Array
|
1749
1750
|
# resp.facet_results[0].document_attribute_key #=> String
|
1750
1751
|
# resp.facet_results[0].document_attribute_value_count_pairs #=> Array
|
@@ -2261,7 +2262,7 @@ module Aws::Kendra
|
|
2261
2262
|
params: params,
|
2262
2263
|
config: config)
|
2263
2264
|
context[:gem_name] = 'aws-sdk-kendra'
|
2264
|
-
context[:gem_version] = '1.
|
2265
|
+
context[:gem_version] = '1.11.0'
|
2265
2266
|
Seahorse::Client::Request.new(handlers, context)
|
2266
2267
|
end
|
2267
2268
|
|
@@ -199,6 +199,8 @@ module Aws::Kendra
|
|
199
199
|
SalesforceStandardObjectConfigurationList = Shapes::ListShape.new(name: 'SalesforceStandardObjectConfigurationList')
|
200
200
|
SalesforceStandardObjectName = Shapes::StringShape.new(name: 'SalesforceStandardObjectName')
|
201
201
|
ScanSchedule = Shapes::StringShape.new(name: 'ScanSchedule')
|
202
|
+
ScoreAttributes = Shapes::StructureShape.new(name: 'ScoreAttributes')
|
203
|
+
ScoreConfidence = Shapes::StringShape.new(name: 'ScoreConfidence')
|
202
204
|
Search = Shapes::StructureShape.new(name: 'Search')
|
203
205
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
204
206
|
SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
|
@@ -684,6 +686,7 @@ module Aws::Kendra
|
|
684
686
|
QueryResultItem.add_member(:document_excerpt, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentExcerpt"))
|
685
687
|
QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
|
686
688
|
QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
|
689
|
+
QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
|
687
690
|
QueryResultItem.struct_class = Types::QueryResultItem
|
688
691
|
|
689
692
|
QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
|
@@ -775,6 +778,9 @@ module Aws::Kendra
|
|
775
778
|
|
776
779
|
SalesforceStandardObjectConfigurationList.member = Shapes::ShapeRef.new(shape: SalesforceStandardObjectConfiguration)
|
777
780
|
|
781
|
+
ScoreAttributes.add_member(:score_confidence, Shapes::ShapeRef.new(shape: ScoreConfidence, location_name: "ScoreConfidence"))
|
782
|
+
ScoreAttributes.struct_class = Types::ScoreAttributes
|
783
|
+
|
778
784
|
Search.add_member(:facetable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Facetable"))
|
779
785
|
Search.add_member(:searchable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Searchable"))
|
780
786
|
Search.add_member(:displayable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Displayable"))
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -439,13 +439,13 @@ module Aws::Kendra
|
|
439
439
|
#
|
440
440
|
# @!attribute [rw] contains_all
|
441
441
|
# Returns true when a document contains all of the specified document
|
442
|
-
# attributes. This filter is only
|
442
|
+
# attributes. This filter is only applicable to `StringListValue`
|
443
443
|
# metadata.
|
444
444
|
# @return [Types::DocumentAttribute]
|
445
445
|
#
|
446
446
|
# @!attribute [rw] contains_any
|
447
447
|
# Returns true when a document contains any of the specified document
|
448
|
-
# attributes.This filter is only
|
448
|
+
# attributes. This filter is only applicable to `StringListValue`
|
449
449
|
# metadata.
|
450
450
|
# @return [Types::DocumentAttribute]
|
451
451
|
#
|
@@ -3326,7 +3326,7 @@ module Aws::Kendra
|
|
3326
3326
|
# @return [String]
|
3327
3327
|
#
|
3328
3328
|
# @!attribute [rw] additional_attributes
|
3329
|
-
# One or more additional
|
3329
|
+
# One or more additional attributes associated with the query result.
|
3330
3330
|
# @return [Array<Types::AdditionalResultAttribute>]
|
3331
3331
|
#
|
3332
3332
|
# @!attribute [rw] document_id
|
@@ -3353,6 +3353,18 @@ module Aws::Kendra
|
|
3353
3353
|
# source URI (SourceUri) of the document.
|
3354
3354
|
# @return [Array<Types::DocumentAttribute>]
|
3355
3355
|
#
|
3356
|
+
# @!attribute [rw] score_attributes
|
3357
|
+
# Indicates the confidence that Amazon Kendra has that a result
|
3358
|
+
# matches the query that you provided. Each result is placed into a
|
3359
|
+
# bin that indicates the confidence, `VERY_HIGH`, `HIGH`, and
|
3360
|
+
# `MEDIUM`. You can use the score to determine if a response meets the
|
3361
|
+
# confidence needed for your application.
|
3362
|
+
#
|
3363
|
+
# Confidence scores are only returned for results with the `Type`
|
3364
|
+
# field set to `QUESTION_ANSWER` or `ANSWER`. This field is not
|
3365
|
+
# returned if the `Type` field is set to `DOCUMENT`.
|
3366
|
+
# @return [Types::ScoreAttributes]
|
3367
|
+
#
|
3356
3368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem AWS API Documentation
|
3357
3369
|
#
|
3358
3370
|
class QueryResultItem < Struct.new(
|
@@ -3363,7 +3375,8 @@ module Aws::Kendra
|
|
3363
3375
|
:document_title,
|
3364
3376
|
:document_excerpt,
|
3365
3377
|
:document_uri,
|
3366
|
-
:document_attributes
|
3378
|
+
:document_attributes,
|
3379
|
+
:score_attributes)
|
3367
3380
|
SENSITIVE = []
|
3368
3381
|
include Aws::Structure
|
3369
3382
|
end
|
@@ -4078,6 +4091,21 @@ module Aws::Kendra
|
|
4078
4091
|
include Aws::Structure
|
4079
4092
|
end
|
4080
4093
|
|
4094
|
+
# Provides a relative ranking that indicates how confident Amazon Kendra
|
4095
|
+
# is that the response matches the query.
|
4096
|
+
#
|
4097
|
+
# @!attribute [rw] score_confidence
|
4098
|
+
# A relative ranking for how well the response matches the query.
|
4099
|
+
# @return [String]
|
4100
|
+
#
|
4101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ScoreAttributes AWS API Documentation
|
4102
|
+
#
|
4103
|
+
class ScoreAttributes < Struct.new(
|
4104
|
+
:score_confidence)
|
4105
|
+
SENSITIVE = []
|
4106
|
+
include Aws::Structure
|
4107
|
+
end
|
4108
|
+
|
4081
4109
|
# Provides information about how a custom index field is used during a
|
4082
4110
|
# search.
|
4083
4111
|
#
|
@@ -4500,6 +4528,20 @@ module Aws::Kendra
|
|
4500
4528
|
# The attribute must have the `Sortable` flag set to `true`, otherwise
|
4501
4529
|
# Amazon Kendra returns an exception.
|
4502
4530
|
#
|
4531
|
+
# You can sort attributes of the following types.
|
4532
|
+
#
|
4533
|
+
# * Date value
|
4534
|
+
#
|
4535
|
+
# * Long value
|
4536
|
+
#
|
4537
|
+
# * String value
|
4538
|
+
#
|
4539
|
+
# You can't sort attributes of the following type.
|
4540
|
+
#
|
4541
|
+
# * String list value
|
4542
|
+
#
|
4543
|
+
# ^
|
4544
|
+
#
|
4503
4545
|
# @note When making an API call, you may pass SortingConfiguration
|
4504
4546
|
# data as a hash:
|
4505
4547
|
#
|
@@ -4551,8 +4593,8 @@ module Aws::Kendra
|
|
4551
4593
|
# }
|
4552
4594
|
#
|
4553
4595
|
# @!attribute [rw] query_identifiers_enclosing_option
|
4554
|
-
# Determines whether Amazon Kendra encloses SQL identifiers
|
4555
|
-
# quotes (") when making a database query.
|
4596
|
+
# Determines whether Amazon Kendra encloses SQL identifiers for tables
|
4597
|
+
# and column names in double quotes (") when making a database query.
|
4556
4598
|
#
|
4557
4599
|
# By default, Amazon Kendra passes SQL identifiers the way that they
|
4558
4600
|
# are entered into the data source configuration. It does not change
|
@@ -4564,7 +4606,7 @@ module Aws::Kendra
|
|
4564
4606
|
# convert the character's case.
|
4565
4607
|
#
|
4566
4608
|
# For MySQL databases, you must enable the `ansi_quotes` option when
|
4567
|
-
# you
|
4609
|
+
# you set this field to `DOUBLE_QUOTES`.
|
4568
4610
|
# @return [String]
|
4569
4611
|
#
|
4570
4612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SqlConfiguration AWS API Documentation
|
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.11.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: 2020-
|
11
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|