aws-sdk-comprehend 1.79.0 → 1.81.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e922fa9ec6cedbef6dc672e17c750f9c1914b5ea755570194ae5868a1787228f
4
- data.tar.gz: d3b2c69475a1b048c8de3c0201dc4ec317166420e0726965fd93b8ba3f945cbb
3
+ metadata.gz: 626a8391aeeca9d9ac27aa1688b15f232b366b4ca82d71e2505735cd6705bd5c
4
+ data.tar.gz: 76e07b481a63940bfb547bf197bdfa173c28f203ef48485577aa62ee95ad79a2
5
5
  SHA512:
6
- metadata.gz: 96880d899ac2f637c0470430ef661cc352c3bc5160513f4a1126606acabe0fdfcf93e351d8e1215ab2a4a93991a05d209dac48dd7988ee3decd5b0e7e50c431f
7
- data.tar.gz: 5c8a8a2ef17759b5d87d1dbefd6b077de41d6f2a338351bc593080b12e0d9582841edc9be3ee903deb1e61f061429d0f092b9a71c0bb4eb6f742a87f07fed0c4
6
+ metadata.gz: 22ca237b7558ef93ce9ee071a5096e1b6503eb1c471849136f374ce82b297e8d92ef6e38c858952cba9f20a91c19aae8c929d94662cbdc84192c686a46174c30
7
+ data.tar.gz: 6ed50ccc065fd81a1d87a3f8d505b831b3c327e8d423f2fc8c6cbc1b9ff419db7d5ed0cfa7a60df58e18f348c194c68c1136b0c5adf518f35f1767dff050863e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.80.0 (2024-01-29)
10
+ ------------------
11
+
12
+ * Feature - Comprehend PII analysis now supports Spanish input documents.
13
+
4
14
  1.79.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.81.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::Comprehend
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::Comprehend
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::Comprehend
347
356
  # @option options [Aws::Comprehend::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Comprehend::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
375
- #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
378
409
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
382
412
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
388
415
  #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -868,8 +892,7 @@ module Aws::Comprehend
868
892
  # A UTF-8 text string. The maximum string size is 100 KB.
869
893
  #
870
894
  # @option params [required, String] :language_code
871
- # The language of the input documents. Currently, English is the only
872
- # valid language.
895
+ # The language of the input documents.
873
896
  #
874
897
  # @return [Types::ContainsPiiEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
875
898
  #
@@ -2781,8 +2804,8 @@ module Aws::Comprehend
2781
2804
  # A UTF-8 text string. The maximum string size is 100 KB.
2782
2805
  #
2783
2806
  # @option params [required, String] :language_code
2784
- # The language of the input documents. Currently, English is the only
2785
- # valid language.
2807
+ # The language of the input text. Enter the language code for English
2808
+ # (en) or Spanish (es).
2786
2809
  #
2787
2810
  # @return [Types::DetectPiiEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2788
2811
  #
@@ -4967,8 +4990,8 @@ module Aws::Comprehend
4967
4990
  # The identifier of the job.
4968
4991
  #
4969
4992
  # @option params [required, String] :language_code
4970
- # The language of the input documents. Currently, English is the only
4971
- # valid language.
4993
+ # The language of the input documents. Enter the language code for
4994
+ # English (en) or Spanish (es).
4972
4995
  #
4973
4996
  # @option params [String] :client_request_token
4974
4997
  # A unique identifier for the request. If you don't set the client
@@ -5913,7 +5936,7 @@ module Aws::Comprehend
5913
5936
  params: params,
5914
5937
  config: config)
5915
5938
  context[:gem_name] = 'aws-sdk-comprehend'
5916
- context[:gem_version] = '1.79.0'
5939
+ context[:gem_version] = '1.81.0'
5917
5940
  Seahorse::Client::Request.new(handlers, context)
5918
5941
  end
5919
5942
 
@@ -917,8 +917,7 @@ module Aws::Comprehend
917
917
  # @return [String]
918
918
  #
919
919
  # @!attribute [rw] language_code
920
- # The language of the input documents. Currently, English is the only
921
- # valid language.
920
+ # The language of the input documents.
922
921
  # @return [String]
923
922
  #
924
923
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ContainsPiiEntitiesRequest AWS API Documentation
@@ -2535,8 +2534,8 @@ module Aws::Comprehend
2535
2534
  # @return [String]
2536
2535
  #
2537
2536
  # @!attribute [rw] language_code
2538
- # The language of the input documents. Currently, English is the only
2539
- # valid language.
2537
+ # The language of the input text. Enter the language code for English
2538
+ # (en) or Spanish (es).
2540
2539
  # @return [String]
2541
2540
  #
2542
2541
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectPiiEntitiesRequest AWS API Documentation
@@ -6293,7 +6292,7 @@ module Aws::Comprehend
6293
6292
  # @return [Types::RedactionConfig]
6294
6293
  #
6295
6294
  # @!attribute [rw] language_code
6296
- # The language code of the input documents
6295
+ # The language code of the input documents.
6297
6296
  # @return [String]
6298
6297
  #
6299
6298
  # @!attribute [rw] data_access_role_arn
@@ -7414,8 +7413,8 @@ module Aws::Comprehend
7414
7413
  # @return [String]
7415
7414
  #
7416
7415
  # @!attribute [rw] language_code
7417
- # The language of the input documents. Currently, English is the only
7418
- # valid language.
7416
+ # The language of the input documents. Enter the language code for
7417
+ # English (en) or Spanish (es).
7419
7418
  # @return [String]
7420
7419
  #
7421
7420
  # @!attribute [rw] client_request_token
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-comprehend/customizations'
52
52
  # @!group service
53
53
  module Aws::Comprehend
54
54
 
55
- GEM_VERSION = '1.79.0'
55
+ GEM_VERSION = '1.81.0'
56
56
 
57
57
  end
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.79.0
4
+ version: 1.81.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement