aws-sdk-kendra 1.11.0 → 1.12.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/lib/aws-sdk-kendra.rb +2 -1
- data/lib/aws-sdk-kendra/client.rb +8 -2
- data/lib/aws-sdk-kendra/client_api.rb +1 -0
- data/lib/aws-sdk-kendra/types.rb +17 -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: 7a9340f9b575e1efc6e3d58759637f4ddcc529389bd64ef64ccec69c115795e1
         | 
| 4 | 
            +
              data.tar.gz: 8177a2f4e120c2d52a86b252c523f6e8ad97f4d606ef77c45a3106f2f064246c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 54d1dcc6305d664fd10c0b38782228da0bc2b4af9d5a459566a0a41af5d4aa22be2afade268eee65ae5e04f72f79de83e4ca6e6cb58000cc75894e767e3d5c47
         | 
| 7 | 
            +
              data.tar.gz: 0aeb02d338908d92fd4f683b6639ffc5585ed3cf96580a8c2504756b317f867856ef1a209c02f3e268f9f6e45f70902391111f7bfed9a45955cf2a830c42b953
         | 
    
        data/lib/aws-sdk-kendra.rb
    CHANGED
    
    | @@ -7,6 +7,7 @@ | |
| 7 7 | 
             
            #
         | 
| 8 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 9 9 |  | 
| 10 | 
            +
             | 
| 10 11 | 
             
            require 'aws-sdk-core'
         | 
| 11 12 | 
             
            require 'aws-sigv4'
         | 
| 12 13 |  | 
| @@ -47,6 +48,6 @@ require_relative 'aws-sdk-kendra/customizations' | |
| 47 48 | 
             
            # @!group service
         | 
| 48 49 | 
             
            module Aws::Kendra
         | 
| 49 50 |  | 
| 50 | 
            -
              GEM_VERSION = '1. | 
| 51 | 
            +
              GEM_VERSION = '1.12.0'
         | 
| 51 52 |  | 
| 52 53 | 
             
            end
         | 
| @@ -843,6 +843,9 @@ module Aws::Kendra | |
| 843 843 | 
             
                #   databases. Once you set the edition for an index, it can't be
         | 
| 844 844 | 
             
                #   changed.
         | 
| 845 845 | 
             
                #
         | 
| 846 | 
            +
                #   The `Edition` parameter is optional. If you don't supply a value, the
         | 
| 847 | 
            +
                #   default is `ENTERPRISE_EDITION`.
         | 
| 848 | 
            +
                #
         | 
| 846 849 | 
             
                # @option params [required, String] :role_arn
         | 
| 847 850 | 
             
                #   An IAM role that gives Amazon Kendra permissions to access your Amazon
         | 
| 848 851 | 
             
                #   CloudWatch logs and metrics. This is also the role used when you use
         | 
| @@ -1556,6 +1559,8 @@ module Aws::Kendra | |
| 1556 1559 | 
             
                # You can specify that the query return only one type of result using
         | 
| 1557 1560 | 
             
                # the `QueryResultTypeConfig` parameter.
         | 
| 1558 1561 | 
             
                #
         | 
| 1562 | 
            +
                # Each query returns the 100 most relevant results.
         | 
| 1563 | 
            +
                #
         | 
| 1559 1564 | 
             
                # @option params [required, String] :index_id
         | 
| 1560 1565 | 
             
                #   The unique identifier of the index to search. The identifier is
         | 
| 1561 1566 | 
             
                #   returned in the response from the operation.
         | 
| @@ -1745,9 +1750,10 @@ module Aws::Kendra | |
| 1745 1750 | 
             
                #   resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
         | 
| 1746 1751 | 
             
                #   resp.result_items[0].document_attributes[0].value.long_value #=> Integer
         | 
| 1747 1752 | 
             
                #   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"
         | 
| 1753 | 
            +
                #   resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW"
         | 
| 1749 1754 | 
             
                #   resp.facet_results #=> Array
         | 
| 1750 1755 | 
             
                #   resp.facet_results[0].document_attribute_key #=> String
         | 
| 1756 | 
            +
                #   resp.facet_results[0].document_attribute_value_type #=> String, one of "STRING_VALUE", "STRING_LIST_VALUE", "LONG_VALUE", "DATE_VALUE"
         | 
| 1751 1757 | 
             
                #   resp.facet_results[0].document_attribute_value_count_pairs #=> Array
         | 
| 1752 1758 | 
             
                #   resp.facet_results[0].document_attribute_value_count_pairs[0].document_attribute_value.string_value #=> String
         | 
| 1753 1759 | 
             
                #   resp.facet_results[0].document_attribute_value_count_pairs[0].document_attribute_value.string_list_value #=> Array
         | 
| @@ -2262,7 +2268,7 @@ module Aws::Kendra | |
| 2262 2268 | 
             
                    params: params,
         | 
| 2263 2269 | 
             
                    config: config)
         | 
| 2264 2270 | 
             
                  context[:gem_name] = 'aws-sdk-kendra'
         | 
| 2265 | 
            -
                  context[:gem_version] = '1. | 
| 2271 | 
            +
                  context[:gem_version] = '1.12.0'
         | 
| 2266 2272 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2267 2273 | 
             
                end
         | 
| 2268 2274 |  | 
| @@ -555,6 +555,7 @@ module Aws::Kendra | |
| 555 555 | 
             
                FacetList.member = Shapes::ShapeRef.new(shape: Facet)
         | 
| 556 556 |  | 
| 557 557 | 
             
                FacetResult.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
         | 
| 558 | 
            +
                FacetResult.add_member(:document_attribute_value_type, Shapes::ShapeRef.new(shape: DocumentAttributeValueType, location_name: "DocumentAttributeValueType"))
         | 
| 558 559 | 
             
                FacetResult.add_member(:document_attribute_value_count_pairs, Shapes::ShapeRef.new(shape: DocumentAttributeValueCountPairList, location_name: "DocumentAttributeValueCountPairs"))
         | 
| 559 560 | 
             
                FacetResult.struct_class = Types::FacetResult
         | 
| 560 561 |  | 
    
        data/lib/aws-sdk-kendra/types.rb
    CHANGED
    
    | @@ -1262,6 +1262,9 @@ module Aws::Kendra | |
| 1262 1262 | 
             
                #   or proof of concept. Use `ENTERPRISE_EDITION` for your production
         | 
| 1263 1263 | 
             
                #   databases. Once you set the edition for an index, it can't be
         | 
| 1264 1264 | 
             
                #   changed.
         | 
| 1265 | 
            +
                #
         | 
| 1266 | 
            +
                #   The `Edition` parameter is optional. If you don't supply a value,
         | 
| 1267 | 
            +
                #   the default is `ENTERPRISE_EDITION`.
         | 
| 1265 1268 | 
             
                #   @return [String]
         | 
| 1266 1269 | 
             
                #
         | 
| 1267 1270 | 
             
                # @!attribute [rw] role_arn
         | 
| @@ -2517,6 +2520,11 @@ module Aws::Kendra | |
| 2517 2520 | 
             
                #   `DocumentAttributeKey` provided in the query.
         | 
| 2518 2521 | 
             
                #   @return [String]
         | 
| 2519 2522 | 
             
                #
         | 
| 2523 | 
            +
                # @!attribute [rw] document_attribute_value_type
         | 
| 2524 | 
            +
                #   The data type of the facet value. This is the same as the type
         | 
| 2525 | 
            +
                #   defined for the index field when it was created.
         | 
| 2526 | 
            +
                #   @return [String]
         | 
| 2527 | 
            +
                #
         | 
| 2520 2528 | 
             
                # @!attribute [rw] document_attribute_value_count_pairs
         | 
| 2521 2529 | 
             
                #   An array of key/value pairs, where the key is the value of the
         | 
| 2522 2530 | 
             
                #   attribute and the count is the number of documents that share the
         | 
| @@ -2527,6 +2535,7 @@ module Aws::Kendra | |
| 2527 2535 | 
             
                #
         | 
| 2528 2536 | 
             
                class FacetResult < Struct.new(
         | 
| 2529 2537 | 
             
                  :document_attribute_key,
         | 
| 2538 | 
            +
                  :document_attribute_value_type,
         | 
| 2530 2539 | 
             
                  :document_attribute_value_count_pairs)
         | 
| 2531 2540 | 
             
                  SENSITIVE = []
         | 
| 2532 2541 | 
             
                  include Aws::Structure
         | 
| @@ -3295,8 +3304,9 @@ module Aws::Kendra | |
| 3295 3304 | 
             
                #   @return [Array<Types::FacetResult>]
         | 
| 3296 3305 | 
             
                #
         | 
| 3297 3306 | 
             
                # @!attribute [rw] total_number_of_results
         | 
| 3298 | 
            -
                #   The number of items  | 
| 3299 | 
            -
                #    | 
| 3307 | 
            +
                #   The total number of items found by the search; however, you can only
         | 
| 3308 | 
            +
                #   retrieve up to 100 items. For example, if the search found 192
         | 
| 3309 | 
            +
                #   items, you can only retrieve the first 100 of the items.
         | 
| 3300 3310 | 
             
                #   @return [Integer]
         | 
| 3301 3311 | 
             
                #
         | 
| 3302 3312 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResult AWS API Documentation
         | 
| @@ -3356,13 +3366,13 @@ module Aws::Kendra | |
| 3356 3366 | 
             
                # @!attribute [rw] score_attributes
         | 
| 3357 3367 | 
             
                #   Indicates the confidence that Amazon Kendra has that a result
         | 
| 3358 3368 | 
             
                #   matches the query that you provided. Each result is placed into a
         | 
| 3359 | 
            -
                #   bin that indicates the confidence, `VERY_HIGH`, `HIGH`, and
         | 
| 3360 | 
            -
                #   ` | 
| 3369 | 
            +
                #   bin that indicates the confidence, `VERY_HIGH`, `HIGH`, `MEDIUM` and
         | 
| 3370 | 
            +
                #   `LOW`. You can use the score to determine if a response meets the
         | 
| 3361 3371 | 
             
                #   confidence needed for your application.
         | 
| 3362 3372 | 
             
                #
         | 
| 3363 | 
            -
                #    | 
| 3364 | 
            -
                #    | 
| 3365 | 
            -
                #    | 
| 3373 | 
            +
                #   The field is only set to `LOW` when the `Type` field is set to
         | 
| 3374 | 
            +
                #   `DOCUMENT` and Amazon Kendra is not confident that the result
         | 
| 3375 | 
            +
                #   matches the query.
         | 
| 3366 3376 | 
             
                #   @return [Types::ScoreAttributes]
         | 
| 3367 3377 | 
             
                #
         | 
| 3368 3378 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem 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.12.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-09- | 
| 11 | 
            +
            date: 2020-09-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |