Skip to content

Commit 61e36da

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent 1b4dea4 commit 61e36da

File tree

7 files changed

+24
-16
lines changed

7 files changed

+24
-16
lines changed

apis/rekognition/2016-06-27/api-2.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,9 @@
24932493
"type":"string",
24942494
"enum":[
24952495
"Male",
2496-
"Female"
2496+
"Female",
2497+
"Nonbinary",
2498+
"Unlisted"
24972499
]
24982500
},
24992501
"Label":{

apis/rekognition/2016-06-27/docs-2.json

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

gems/aws-sdk-rekognition/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.62.0 (2021-12-03)
5+
------------------
6+
7+
* Feature - This release added new KnownGender types for Celebrity Recognition.
8+
49
1.61.0 (2021-11-30)
510
------------------
611

gems/aws-sdk-rekognition/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.61.0
1+
1.62.0

gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
# @!group service
5050
module Aws::Rekognition
5151

52-
GEM_VERSION = '1.61.0'
52+
GEM_VERSION = '1.62.0'
5353

5454
end

gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def initialize(*args)
375375
# In response, the operation returns an array of face matches ordered by
376376
# similarity score in descending order. For each face match, the
377377
# response provides a bounding box of the face, facial landmarks, pose
378-
# details (pitch, role, and yaw), quality (brightness and sharpness),
378+
# details (pitch, roll, and yaw), quality (brightness and sharpness),
379379
# and confidence value (indicating the level of confidence that the
380380
# bounding box contains a face). The response also provides a similarity
381381
# score, which indicates how closely the faces match.
@@ -2224,9 +2224,8 @@ def detect_protective_equipment(params = {}, options = {})
22242224
# information about a single word or line of text that was detected in
22252225
# the image.
22262226
#
2227-
# A word is one or more ISO basic latin script characters that are not
2228-
# separated by spaces. `DetectText` can detect up to 100 words in an
2229-
# image.
2227+
# A word is one or more script characters that are not separated by
2228+
# spaces. `DetectText` can detect up to 100 words in an image.
22302229
#
22312230
# A line is a string of equally spaced words. A line isn't necessarily
22322231
# a complete sentence. For example, a driver's license number is
@@ -2397,7 +2396,7 @@ def distribute_dataset_entries(params = {}, options = {})
23972396
# resp.urls #=> Array
23982397
# resp.urls[0] #=> String
23992398
# resp.name #=> String
2400-
# resp.known_gender.type #=> String, one of "Male", "Female"
2399+
# resp.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
24012400
#
24022401
# @overload get_celebrity_info(params = {})
24032402
# @param [Hash] params ({})
@@ -2559,7 +2558,7 @@ def get_celebrity_info(params = {}, options = {})
25592558
# resp.celebrities[0].celebrity.face.quality.brightness #=> Float
25602559
# resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
25612560
# resp.celebrities[0].celebrity.face.confidence #=> Float
2562-
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
2561+
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
25632562
#
25642563
# @overload get_celebrity_recognition(params = {})
25652564
# @param [Hash] params ({})
@@ -4411,7 +4410,7 @@ def list_tags_for_resource(params = {}, options = {})
44114410
# resp.celebrity_faces[0].face.smile.value #=> Boolean
44124411
# resp.celebrity_faces[0].face.smile.confidence #=> Float
44134412
# resp.celebrity_faces[0].match_confidence #=> Float
4414-
# resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female"
4413+
# resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
44154414
# resp.unrecognized_faces #=> Array
44164415
# resp.unrecognized_faces[0].bounding_box.width #=> Float
44174416
# resp.unrecognized_faces[0].bounding_box.height #=> Float
@@ -5705,7 +5704,7 @@ def build_request(operation_name, params = {})
57055704
params: params,
57065705
config: config)
57075706
context[:gem_name] = 'aws-sdk-rekognition'
5708-
context[:gem_version] = '1.61.0'
5707+
context[:gem_version] = '1.62.0'
57095708
Seahorse::Client::Request.new(handlers, context)
57105709
end
57115710

gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ class BoundingBox < Struct.new(
252252
#
253253
# @!attribute [rw] known_gender
254254
# 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.
256257
# @return [Types::KnownGender]
257258
#
258259
class Celebrity < Struct.new(
@@ -3790,7 +3791,8 @@ class KinesisVideoStream < Struct.new(
37903791
end
37913792

37923793
# 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.
37943796
#
37953797
# @!attribute [rw] type
37963798
# A string value of the KnownGender info about the Celebrity.

0 commit comments

Comments
 (0)