aws-sdk-rekognition 1.59.0 → 1.63.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +29 -10
- data/lib/aws-sdk-rekognition/types.rb +4 -2
- data/lib/aws-sdk-rekognition.rb +1 -1
- 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: 39bfb1f73b71085052d174189b9b4fe3456d37c2e5371eb16a64c83ae97e4f60
|
4
|
+
data.tar.gz: 9cd9756728192ca25d5a7660a6ed0b04c3d010ef849987e4062493e2151e5698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad1e44caf9cf0d1bfcdb7a18c3ecf5f5a59e3e7c1127fc922fcba634ce6ff40c5276df161518d16924e6e7f4049158684061ca2c4e0445b8eabe429fc198815
|
7
|
+
data.tar.gz: a32ab3c208756add46c70aed921da35f8e57a65fca301a06e324a8c8b550865f0ef3b5578ea072ee0650ba72b66e1ea8b4e4474509e2e821bded416f33349230
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.63.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.62.0 (2021-12-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release added new KnownGender types for Celebrity Recognition.
|
13
|
+
|
14
|
+
1.61.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.60.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.59.0 (2021-11-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.63.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::Rekognition
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::Rekognition
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::Rekognition
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -285,6 +293,15 @@ module Aws::Rekognition
|
|
285
293
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
294
|
# requests are made, and retries are disabled.
|
287
295
|
#
|
296
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
297
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
298
|
+
# will be used if available.
|
299
|
+
#
|
300
|
+
# @option options [Boolean] :use_fips_endpoint
|
301
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
302
|
+
# When a `fips` region is used, the region is normalized and this config
|
303
|
+
# is set to `true`.
|
304
|
+
#
|
288
305
|
# @option options [Boolean] :validate_params (true)
|
289
306
|
# When `true`, request parameters are validated before
|
290
307
|
# sending the request.
|
@@ -296,7 +313,7 @@ module Aws::Rekognition
|
|
296
313
|
# seconds to wait when opening a HTTP session before raising a
|
297
314
|
# `Timeout::Error`.
|
298
315
|
#
|
299
|
-
# @option options [
|
316
|
+
# @option options [Float] :http_read_timeout (60) The default
|
300
317
|
# number of seconds to wait for response data. This value can
|
301
318
|
# safely be set per-request on the session.
|
302
319
|
#
|
@@ -312,6 +329,9 @@ module Aws::Rekognition
|
|
312
329
|
# disables this behaviour. This value can safely be set per
|
313
330
|
# request on the session.
|
314
331
|
#
|
332
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
333
|
+
# in seconds.
|
334
|
+
#
|
315
335
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
316
336
|
# HTTP debug output will be sent to the `:logger`.
|
317
337
|
#
|
@@ -364,7 +384,7 @@ module Aws::Rekognition
|
|
364
384
|
# In response, the operation returns an array of face matches ordered by
|
365
385
|
# similarity score in descending order. For each face match, the
|
366
386
|
# response provides a bounding box of the face, facial landmarks, pose
|
367
|
-
# details (pitch,
|
387
|
+
# details (pitch, roll, and yaw), quality (brightness and sharpness),
|
368
388
|
# and confidence value (indicating the level of confidence that the
|
369
389
|
# bounding box contains a face). The response also provides a similarity
|
370
390
|
# score, which indicates how closely the faces match.
|
@@ -2213,9 +2233,8 @@ module Aws::Rekognition
|
|
2213
2233
|
# information about a single word or line of text that was detected in
|
2214
2234
|
# the image.
|
2215
2235
|
#
|
2216
|
-
# A word is one or more
|
2217
|
-
#
|
2218
|
-
# image.
|
2236
|
+
# A word is one or more script characters that are not separated by
|
2237
|
+
# spaces. `DetectText` can detect up to 100 words in an image.
|
2219
2238
|
#
|
2220
2239
|
# A line is a string of equally spaced words. A line isn't necessarily
|
2221
2240
|
# a complete sentence. For example, a driver's license number is
|
@@ -2386,7 +2405,7 @@ module Aws::Rekognition
|
|
2386
2405
|
# resp.urls #=> Array
|
2387
2406
|
# resp.urls[0] #=> String
|
2388
2407
|
# resp.name #=> String
|
2389
|
-
# resp.known_gender.type #=> String, one of "Male", "Female"
|
2408
|
+
# resp.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
|
2390
2409
|
#
|
2391
2410
|
# @overload get_celebrity_info(params = {})
|
2392
2411
|
# @param [Hash] params ({})
|
@@ -2548,7 +2567,7 @@ module Aws::Rekognition
|
|
2548
2567
|
# resp.celebrities[0].celebrity.face.quality.brightness #=> Float
|
2549
2568
|
# resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
|
2550
2569
|
# resp.celebrities[0].celebrity.face.confidence #=> Float
|
2551
|
-
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
|
2570
|
+
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
|
2552
2571
|
#
|
2553
2572
|
# @overload get_celebrity_recognition(params = {})
|
2554
2573
|
# @param [Hash] params ({})
|
@@ -4400,7 +4419,7 @@ module Aws::Rekognition
|
|
4400
4419
|
# resp.celebrity_faces[0].face.smile.value #=> Boolean
|
4401
4420
|
# resp.celebrity_faces[0].face.smile.confidence #=> Float
|
4402
4421
|
# resp.celebrity_faces[0].match_confidence #=> Float
|
4403
|
-
# resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female"
|
4422
|
+
# resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
|
4404
4423
|
# resp.unrecognized_faces #=> Array
|
4405
4424
|
# resp.unrecognized_faces[0].bounding_box.width #=> Float
|
4406
4425
|
# resp.unrecognized_faces[0].bounding_box.height #=> Float
|
@@ -5694,7 +5713,7 @@ module Aws::Rekognition
|
|
5694
5713
|
params: params,
|
5695
5714
|
config: config)
|
5696
5715
|
context[:gem_name] = 'aws-sdk-rekognition'
|
5697
|
-
context[:gem_version] = '1.
|
5716
|
+
context[:gem_version] = '1.63.0'
|
5698
5717
|
Seahorse::Client::Request.new(handlers, context)
|
5699
5718
|
end
|
5700
5719
|
|
@@ -252,7 +252,8 @@ module Aws::Rekognition
|
|
252
252
|
#
|
253
253
|
# @!attribute [rw] known_gender
|
254
254
|
# The known gender identity for the celebrity that matches the
|
255
|
-
# provided ID.
|
255
|
+
# provided ID. The known gender identity can be Male, Female,
|
256
|
+
# Nonbinary, or Unlisted.
|
256
257
|
# @return [Types::KnownGender]
|
257
258
|
#
|
258
259
|
class Celebrity < Struct.new(
|
@@ -3790,7 +3791,8 @@ module Aws::Rekognition
|
|
3790
3791
|
end
|
3791
3792
|
|
3792
3793
|
# The known gender identity for the celebrity that matches the provided
|
3793
|
-
# ID.
|
3794
|
+
# ID. The known gender identity can be Male, Female, Nonbinary, or
|
3795
|
+
# Unlisted.
|
3794
3796
|
#
|
3795
3797
|
# @!attribute [rw] type
|
3796
3798
|
# A string value of the KnownGender info about the Celebrity.
|
data/lib/aws-sdk-rekognition.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rekognition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.63.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: 2021-
|
11
|
+
date: 2021-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|