aws-sdk-comprehend 1.94.0 → 1.96.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 +10 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-comprehend/client.rb +30 -7
 - data/lib/aws-sdk-comprehend/types.rb +6 -6
 - data/lib/aws-sdk-comprehend.rb +1 -1
 - data/sig/client.rbs +2 -0
 - data/sig/resource.rbs +2 -0
 - 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: c8871b4727b964d0f27fe64ae5433ad2378796d90b233144acffc1f8b432a67e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 13410de3d832e60cd08e97fd26640eb9a24cecbf4bb96b90373f252fc0e0e9aa
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9e8cbdc0911413801b90dbde87997b61e95cbb776446da52e5bd84458b925abf2f1885252f0bfd52ce244a6970536c9bf2e42bb64cf5b8a76d8754344a5494a5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 677dd6b4c5ad6840888feace86cf0affed408c2608abad24f2079f20ba34a0ea6902441cb18f7f8a181ae46b3c0447ba167a66e992a07e97a17cb9eba55811c3
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,16 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.96.0 (2025-01-15)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.95.0 (2024-11-06)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       4 
14 
     | 
    
         
             
            1.94.0 (2024-10-18)
         
     | 
| 
       5 
15 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
16 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.96.0
         
     | 
| 
         @@ -257,11 +257,34 @@ module Aws::Comprehend 
     | 
|
| 
       257 
257 
     | 
    
         
             
                #     Used when loading credentials from the shared credentials file
         
     | 
| 
       258 
258 
     | 
    
         
             
                #     at HOME/.aws/credentials.  When not specified, 'default' is used.
         
     | 
| 
       259 
259 
     | 
    
         
             
                #
         
     | 
| 
      
 260 
     | 
    
         
            +
                #   @option options [String] :request_checksum_calculation ("when_supported")
         
     | 
| 
      
 261 
     | 
    
         
            +
                #     Determines when a checksum will be calculated for request payloads. Values are:
         
     | 
| 
      
 262 
     | 
    
         
            +
                #
         
     | 
| 
      
 263 
     | 
    
         
            +
                #     * `when_supported` - (default) When set, a checksum will be
         
     | 
| 
      
 264 
     | 
    
         
            +
                #       calculated for all request payloads of operations modeled with the
         
     | 
| 
      
 265 
     | 
    
         
            +
                #       `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
         
     | 
| 
      
 266 
     | 
    
         
            +
                #       `requestAlgorithmMember` is modeled.
         
     | 
| 
      
 267 
     | 
    
         
            +
                #     * `when_required` - When set, a checksum will only be calculated for
         
     | 
| 
      
 268 
     | 
    
         
            +
                #       request payloads of operations modeled with the  `httpChecksum` trait where
         
     | 
| 
      
 269 
     | 
    
         
            +
                #       `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
         
     | 
| 
      
 270 
     | 
    
         
            +
                #       is modeled and supplied.
         
     | 
| 
      
 271 
     | 
    
         
            +
                #
         
     | 
| 
       260 
272 
     | 
    
         
             
                #   @option options [Integer] :request_min_compression_size_bytes (10240)
         
     | 
| 
       261 
273 
     | 
    
         
             
                #     The minimum size in bytes that triggers compression for request
         
     | 
| 
       262 
274 
     | 
    
         
             
                #     bodies. The value must be non-negative integer value between 0
         
     | 
| 
       263 
275 
     | 
    
         
             
                #     and 10485780 bytes inclusive.
         
     | 
| 
       264 
276 
     | 
    
         
             
                #
         
     | 
| 
      
 277 
     | 
    
         
            +
                #   @option options [String] :response_checksum_validation ("when_supported")
         
     | 
| 
      
 278 
     | 
    
         
            +
                #     Determines when checksum validation will be performed on response payloads. Values are:
         
     | 
| 
      
 279 
     | 
    
         
            +
                #
         
     | 
| 
      
 280 
     | 
    
         
            +
                #     * `when_supported` - (default) When set, checksum validation is performed on all
         
     | 
| 
      
 281 
     | 
    
         
            +
                #       response payloads of operations modeled with the `httpChecksum` trait where
         
     | 
| 
      
 282 
     | 
    
         
            +
                #       `responseAlgorithms` is modeled, except when no modeled checksum algorithms
         
     | 
| 
      
 283 
     | 
    
         
            +
                #       are supported.
         
     | 
| 
      
 284 
     | 
    
         
            +
                #     * `when_required` - When set, checksum validation is not performed on
         
     | 
| 
      
 285 
     | 
    
         
            +
                #       response payloads of operations unless the checksum algorithm is supported and
         
     | 
| 
      
 286 
     | 
    
         
            +
                #       the `requestValidationModeMember` member is set to `ENABLED`.
         
     | 
| 
      
 287 
     | 
    
         
            +
                #
         
     | 
| 
       265 
288 
     | 
    
         
             
                #   @option options [Proc] :retry_backoff
         
     | 
| 
       266 
289 
     | 
    
         
             
                #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
         
     | 
| 
       267 
290 
     | 
    
         
             
                #     This option is only used in the `legacy` retry mode.
         
     | 
| 
         @@ -1150,12 +1173,12 @@ module Aws::Comprehend 
     | 
|
| 
       1150 
1173 
     | 
    
         
             
                #   enclosed in double quotes, then you must escape the double quotes that
         
     | 
| 
       1151 
1174 
     | 
    
         
             
                #   are inside the policy:
         
     | 
| 
       1152 
1175 
     | 
    
         
             
                #
         
     | 
| 
       1153 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 1176 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       1154 
1177 
     | 
    
         
             
                #
         
     | 
| 
       1155 
1178 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       1156 
1179 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       1157 
1180 
     | 
    
         
             
                #
         
     | 
| 
       1158 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 1181 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       1159 
1182 
     | 
    
         
             
                #
         
     | 
| 
       1160 
1183 
     | 
    
         
             
                # @return [Types::CreateDocumentClassifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       1161 
1184 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1395,12 +1418,12 @@ module Aws::Comprehend 
     | 
|
| 
       1395 
1418 
     | 
    
         
             
                #   quotes, then you must escape the double quotes that are inside the
         
     | 
| 
       1396 
1419 
     | 
    
         
             
                #   policy:
         
     | 
| 
       1397 
1420 
     | 
    
         
             
                #
         
     | 
| 
       1398 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 1421 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       1399 
1422 
     | 
    
         
             
                #
         
     | 
| 
       1400 
1423 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       1401 
1424 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       1402 
1425 
     | 
    
         
             
                #
         
     | 
| 
       1403 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 1426 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       1404 
1427 
     | 
    
         
             
                #
         
     | 
| 
       1405 
1428 
     | 
    
         
             
                # @return [Types::CreateEntityRecognizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       1406 
1429 
     | 
    
         
             
                #
         
     | 
| 
         @@ -4361,12 +4384,12 @@ module Aws::Comprehend 
     | 
|
| 
       4361 
4384 
     | 
    
         
             
                #   double quotes. If the JSON body is also enclosed in double quotes,
         
     | 
| 
       4362 
4385 
     | 
    
         
             
                #   then you must escape the double quotes that are inside the policy:
         
     | 
| 
       4363 
4386 
     | 
    
         
             
                #
         
     | 
| 
       4364 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 4387 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       4365 
4388 
     | 
    
         
             
                #
         
     | 
| 
       4366 
4389 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       4367 
4390 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       4368 
4391 
     | 
    
         
             
                #
         
     | 
| 
       4369 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 4392 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       4370 
4393 
     | 
    
         
             
                #
         
     | 
| 
       4371 
4394 
     | 
    
         
             
                # @option params [String] :policy_revision_id
         
     | 
| 
       4372 
4395 
     | 
    
         
             
                #   The revision ID that Amazon Comprehend assigned to the policy that you
         
     | 
| 
         @@ -5973,7 +5996,7 @@ module Aws::Comprehend 
     | 
|
| 
       5973 
5996 
     | 
    
         
             
                    tracer: tracer
         
     | 
| 
       5974 
5997 
     | 
    
         
             
                  )
         
     | 
| 
       5975 
5998 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-comprehend'
         
     | 
| 
       5976 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 5999 
     | 
    
         
            +
                  context[:gem_version] = '1.96.0'
         
     | 
| 
       5977 
6000 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       5978 
6001 
     | 
    
         
             
                end
         
     | 
| 
       5979 
6002 
     | 
    
         | 
| 
         @@ -1106,12 +1106,12 @@ module Aws::Comprehend 
     | 
|
| 
       1106 
1106 
     | 
    
         
             
                #   also enclosed in double quotes, then you must escape the double
         
     | 
| 
       1107 
1107 
     | 
    
         
             
                #   quotes that are inside the policy:
         
     | 
| 
       1108 
1108 
     | 
    
         
             
                #
         
     | 
| 
       1109 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 1109 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       1110 
1110 
     | 
    
         
             
                #
         
     | 
| 
       1111 
1111 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       1112 
1112 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       1113 
1113 
     | 
    
         
             
                #
         
     | 
| 
       1114 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 1114 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       1115 
1115 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       1116 
1116 
     | 
    
         
             
                #
         
     | 
| 
       1117 
1117 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifierRequest AWS API Documentation
         
     | 
| 
         @@ -1316,12 +1316,12 @@ module Aws::Comprehend 
     | 
|
| 
       1316 
1316 
     | 
    
         
             
                #   quotes, then you must escape the double quotes that are inside the
         
     | 
| 
       1317 
1317 
     | 
    
         
             
                #   policy:
         
     | 
| 
       1318 
1318 
     | 
    
         
             
                #
         
     | 
| 
       1319 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 1319 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       1320 
1320 
     | 
    
         
             
                #
         
     | 
| 
       1321 
1321 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       1322 
1322 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       1323 
1323 
     | 
    
         
             
                #
         
     | 
| 
       1324 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 1324 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       1325 
1325 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       1326 
1326 
     | 
    
         
             
                #
         
     | 
| 
       1327 
1327 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizerRequest AWS API Documentation
         
     | 
| 
         @@ -6424,12 +6424,12 @@ module Aws::Comprehend 
     | 
|
| 
       6424 
6424 
     | 
    
         
             
                #   quotes, then you must escape the double quotes that are inside the
         
     | 
| 
       6425 
6425 
     | 
    
         
             
                #   policy:
         
     | 
| 
       6426 
6426 
     | 
    
         
             
                #
         
     | 
| 
       6427 
     | 
    
         
            -
                #   `" 
     | 
| 
      
 6427 
     | 
    
         
            +
                #   `"{"attribute": "value", "attribute": ["value"]}"`
         
     | 
| 
       6428 
6428 
     | 
    
         
             
                #
         
     | 
| 
       6429 
6429 
     | 
    
         
             
                #   To avoid escaping quotes, you can use single quotes to enclose the
         
     | 
| 
       6430 
6430 
     | 
    
         
             
                #   policy and double quotes to enclose the JSON names and values:
         
     | 
| 
       6431 
6431 
     | 
    
         
             
                #
         
     | 
| 
       6432 
     | 
    
         
            -
                #   `' 
     | 
| 
      
 6432 
     | 
    
         
            +
                #   `'{"attribute": "value", "attribute": ["value"]}'`
         
     | 
| 
       6433 
6433 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       6434 
6434 
     | 
    
         
             
                #
         
     | 
| 
       6435 
6435 
     | 
    
         
             
                # @!attribute [rw] policy_revision_id
         
     | 
    
        data/lib/aws-sdk-comprehend.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    | 
         @@ -39,7 +39,9 @@ module Aws 
     | 
|
| 
       39 
39 
     | 
    
         
             
                                  ?logger: untyped,
         
     | 
| 
       40 
40 
     | 
    
         
             
                                  ?max_attempts: Integer,
         
     | 
| 
       41 
41 
     | 
    
         
             
                                  ?profile: String,
         
     | 
| 
      
 42 
     | 
    
         
            +
                                  ?request_checksum_calculation: String,
         
     | 
| 
       42 
43 
     | 
    
         
             
                                  ?request_min_compression_size_bytes: Integer,
         
     | 
| 
      
 44 
     | 
    
         
            +
                                  ?response_checksum_validation: String,
         
     | 
| 
       43 
45 
     | 
    
         
             
                                  ?retry_backoff: Proc,
         
     | 
| 
       44 
46 
     | 
    
         
             
                                  ?retry_base_delay: Float,
         
     | 
| 
       45 
47 
     | 
    
         
             
                                  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         
     | 
    
        data/sig/resource.rbs
    CHANGED
    
    | 
         @@ -39,7 +39,9 @@ module Aws 
     | 
|
| 
       39 
39 
     | 
    
         
             
                                    ?logger: untyped,
         
     | 
| 
       40 
40 
     | 
    
         
             
                                    ?max_attempts: Integer,
         
     | 
| 
       41 
41 
     | 
    
         
             
                                    ?profile: String,
         
     | 
| 
      
 42 
     | 
    
         
            +
                                    ?request_checksum_calculation: String,
         
     | 
| 
       42 
43 
     | 
    
         
             
                                    ?request_min_compression_size_bytes: Integer,
         
     | 
| 
      
 44 
     | 
    
         
            +
                                    ?response_checksum_validation: String,
         
     | 
| 
       43 
45 
     | 
    
         
             
                                    ?retry_backoff: Proc,
         
     | 
| 
       44 
46 
     | 
    
         
             
                                    ?retry_base_delay: Float,
         
     | 
| 
       45 
47 
     | 
    
         
             
                                    ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-comprehend
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.96.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:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-01-15 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 3.216.0
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 3.216.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |