aws-sdk-rekognition 1.57.0 → 1.58.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: ac13b8d51255cea3c7c80dddb5b808469153dbb5ed233daaa46978f0b4221c83
4
- data.tar.gz: 2229ceaf1ea37143e028785425671ac5342004ce0d479ee3f5407f5b172cf97f
3
+ metadata.gz: 5395daa6b911cb40032e296cc16732e6cffbc91fd5eeca08482dbaffd15070e1
4
+ data.tar.gz: c4e324fbef583b11798cb73eea599de9b1ada0467f429cd4a903bc7adaae3f01
5
5
  SHA512:
6
- metadata.gz: b9f1c68ddf0755fc5d53f45b2e7c9f2a87e6cb6fdd484b9b57151074837cfddbec589c384d409cd1242e0163576cde6b093f68c39e1583cfd601b2e414117ca6
7
- data.tar.gz: dffc2f712b5eb14d4fedbda64b082f449a4931d05657993c57bff0dbda23342f55e83b8941fd37c694f525047b357be73b041ff360430e7fddc79a71ba08f904
6
+ metadata.gz: 58fa55942c6a533b00e7bb8b8cbf668b128a8f260efbea8d49a70683bcbf9052d00e5b25d805a8c21e83f2b4b9945eb67c07e6f6fed036dcd2dcf8be127a133e
7
+ data.tar.gz: 8aadb7658aecad63c5e2e536859820d0b865893027f6e7c2ea203b56402a2ca8716ba25c0f88ee3a77b3511c259a328d49b442d6dfff29442038a61eb2b210c5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2021-10-29)
5
+ ------------------
6
+
7
+ * Feature - This release added new attributes to Rekognition Video GetCelebrityRecognition API operations.
8
+
4
9
  1.57.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -2165,12 +2165,14 @@ module Aws::Rekognition
2165
2165
  #
2166
2166
  # Celebrity recognition in a video is an asynchronous operation.
2167
2167
  # Analysis is started by a call to StartCelebrityRecognition which
2168
- # returns a job identifier (`JobId`). When the celebrity recognition
2169
- # operation finishes, Amazon Rekognition Video publishes a completion
2170
- # status to the Amazon Simple Notification Service topic registered in
2171
- # the initial call to `StartCelebrityRecognition`. To get the results of
2172
- # the celebrity recognition analysis, first check that the status value
2173
- # published to the Amazon SNS topic is `SUCCEEDED`. If so, call
2168
+ # returns a job identifier (`JobId`).
2169
+ #
2170
+ # When the celebrity recognition operation finishes, Amazon Rekognition
2171
+ # Video publishes a completion status to the Amazon Simple Notification
2172
+ # Service topic registered in the initial call to
2173
+ # `StartCelebrityRecognition`. To get the results of the celebrity
2174
+ # recognition analysis, first check that the status value published to
2175
+ # the Amazon SNS topic is `SUCCEEDED`. If so, call
2174
2176
  # `GetCelebrityDetection` and pass the job identifier (`JobId`) from the
2175
2177
  # initial call to `StartCelebrityDetection`.
2176
2178
  #
@@ -2181,10 +2183,13 @@ module Aws::Rekognition
2181
2183
  # they are detected in an array (`Celebrities`) of CelebrityRecognition
2182
2184
  # objects. Each `CelebrityRecognition` contains information about the
2183
2185
  # celebrity in a CelebrityDetail object and the time, `Timestamp`, the
2184
- # celebrity was detected.
2186
+ # celebrity was detected. This CelebrityDetail object stores information
2187
+ # about the detected celebrity's face attributes, a face bounding box,
2188
+ # known gender, the celebrity's name, and a confidence estimate.
2185
2189
  #
2186
2190
  # <note markdown="1"> `GetCelebrityRecognition` only returns the default facial attributes
2187
2191
  # (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
2192
+ # `BoundingBox` field only applies to the detected face instance. The
2188
2193
  # other facial attributes listed in the `Face` object of the following
2189
2194
  # response syntax are not returned. For more information, see FaceDetail
2190
2195
  # in the Amazon Rekognition Developer Guide.
@@ -2308,6 +2313,7 @@ module Aws::Rekognition
2308
2313
  # resp.celebrities[0].celebrity.face.quality.brightness #=> Float
2309
2314
  # resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
2310
2315
  # resp.celebrities[0].celebrity.face.confidence #=> Float
2316
+ # resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
2311
2317
  #
2312
2318
  # @overload get_celebrity_recognition(params = {})
2313
2319
  # @param [Hash] params ({})
@@ -5249,7 +5255,7 @@ module Aws::Rekognition
5249
5255
  params: params,
5250
5256
  config: config)
5251
5257
  context[:gem_name] = 'aws-sdk-rekognition'
5252
- context[:gem_version] = '1.57.0'
5258
+ context[:gem_version] = '1.58.0'
5253
5259
  Seahorse::Client::Request.new(handlers, context)
5254
5260
  end
5255
5261
 
@@ -407,6 +407,7 @@ module Aws::Rekognition
407
407
  CelebrityDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
408
408
  CelebrityDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
409
409
  CelebrityDetail.add_member(:face, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "Face"))
410
+ CelebrityDetail.add_member(:known_gender, Shapes::ShapeRef.new(shape: KnownGender, location_name: "KnownGender"))
410
411
  CelebrityDetail.struct_class = Types::CelebrityDetail
411
412
 
412
413
  CelebrityList.member = Shapes::ShapeRef.new(shape: Celebrity)
@@ -293,13 +293,18 @@ module Aws::Rekognition
293
293
  # Face details for the recognized celebrity.
294
294
  # @return [Types::FaceDetail]
295
295
  #
296
+ # @!attribute [rw] known_gender
297
+ # Retrieves the known gender for the celebrity.
298
+ # @return [Types::KnownGender]
299
+ #
296
300
  class CelebrityDetail < Struct.new(
297
301
  :urls,
298
302
  :name,
299
303
  :id,
300
304
  :confidence,
301
305
  :bounding_box,
302
- :face)
306
+ :face,
307
+ :known_gender)
303
308
  SENSITIVE = []
304
309
  include Aws::Structure
305
310
  end
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-rekognition/customizations'
49
49
  # @!group service
50
50
  module Aws::Rekognition
51
51
 
52
- GEM_VERSION = '1.57.0'
52
+ GEM_VERSION = '1.58.0'
53
53
 
54
54
  end
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.57.0
4
+ version: 1.58.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core