aws-sdk-rekognition 1.54.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: 3be2c5689e792a068c696e416622e79a1ef01e2564a6b77a58bd7f9764cdcce9
4
- data.tar.gz: 8275849761b724ea256aeb308d281c254f1a46ae0694b0d9a50a81e6e3552073
3
+ metadata.gz: 5395daa6b911cb40032e296cc16732e6cffbc91fd5eeca08482dbaffd15070e1
4
+ data.tar.gz: c4e324fbef583b11798cb73eea599de9b1ada0467f429cd4a903bc7adaae3f01
5
5
  SHA512:
6
- metadata.gz: b53c25a316b0643b6e26034e1f2aa209669fc550799b306e9fe2debc5d824314ac1bb0ec8f5c6663dd14c15203fa8e246504472f8969df8ab8a1fdf42e385e60
7
- data.tar.gz: 28041784233e4cea2a86458435fcfb3a5f6c5f313ea202e80458c6580c13705d10b926281ac503987104902f32790be0e6fe12ddd8f25472f3304a5ac19df94b
6
+ metadata.gz: 58fa55942c6a533b00e7bb8b8cbf668b128a8f260efbea8d49a70683bcbf9052d00e5b25d805a8c21e83f2b4b9945eb67c07e6f6fed036dcd2dcf8be127a133e
7
+ data.tar.gz: 8aadb7658aecad63c5e2e536859820d0b865893027f6e7c2ea203b56402a2ca8716ba25c0f88ee3a77b3511c259a328d49b442d6dfff29442038a61eb2b210c5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
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
+
9
+ 1.57.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.56.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.55.0 (2021-08-26)
20
+ ------------------
21
+
22
+ * Feature - This release added new attributes to Rekognition RecognizeCelebities and GetCelebrityInfo API operations.
23
+
4
24
  1.54.0 (2021-08-09)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.58.0
@@ -547,6 +547,11 @@ module Aws::Rekognition
547
547
  # resp.face_matches[0].face.pose.pitch #=> Float
548
548
  # resp.face_matches[0].face.quality.brightness #=> Float
549
549
  # resp.face_matches[0].face.quality.sharpness #=> Float
550
+ # resp.face_matches[0].face.emotions #=> Array
551
+ # resp.face_matches[0].face.emotions[0].type #=> String, one of "HAPPY", "SAD", "ANGRY", "CONFUSED", "DISGUSTED", "SURPRISED", "CALM", "UNKNOWN", "FEAR"
552
+ # resp.face_matches[0].face.emotions[0].confidence #=> Float
553
+ # resp.face_matches[0].face.smile.value #=> Boolean
554
+ # resp.face_matches[0].face.smile.confidence #=> Float
550
555
  # resp.unmatched_faces #=> Array
551
556
  # resp.unmatched_faces[0].bounding_box.width #=> Float
552
557
  # resp.unmatched_faces[0].bounding_box.height #=> Float
@@ -562,6 +567,11 @@ module Aws::Rekognition
562
567
  # resp.unmatched_faces[0].pose.pitch #=> Float
563
568
  # resp.unmatched_faces[0].quality.brightness #=> Float
564
569
  # resp.unmatched_faces[0].quality.sharpness #=> Float
570
+ # resp.unmatched_faces[0].emotions #=> Array
571
+ # resp.unmatched_faces[0].emotions[0].type #=> String, one of "HAPPY", "SAD", "ANGRY", "CONFUSED", "DISGUSTED", "SURPRISED", "CALM", "UNKNOWN", "FEAR"
572
+ # resp.unmatched_faces[0].emotions[0].confidence #=> Float
573
+ # resp.unmatched_faces[0].smile.value #=> Boolean
574
+ # resp.unmatched_faces[0].smile.confidence #=> Float
565
575
  # resp.source_image_orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
566
576
  # resp.target_image_orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
567
577
  #
@@ -1335,18 +1345,23 @@ module Aws::Rekognition
1335
1345
  # object location information, if it exists, for the label on the image
1336
1346
  # (`Geometry`).
1337
1347
  #
1338
- # During training model calculates a threshold value that determines if
1339
- # a prediction for a label is true. By default, `DetectCustomLabels`
1340
- # doesn't return labels whose confidence value is below the model's
1341
- # calculated threshold value. To filter labels that are returned,
1342
- # specify a value for `MinConfidence` that is higher than the model's
1343
- # calculated threshold. You can get the model's calculated threshold
1344
- # from the model's training results shown in the Amazon Rekognition
1345
- # Custom Labels console. To get all labels, regardless of confidence,
1346
- # specify a `MinConfidence` value of 0.
1347
- #
1348
- # You can also add the `MaxResults` parameter to limit the number of
1349
- # labels returned.
1348
+ # To filter labels that are returned, specify a value for
1349
+ # `MinConfidence`. `DetectCustomLabelsLabels` only returns labels with a
1350
+ # confidence that's higher than the specified value. The value of
1351
+ # `MinConfidence` maps to the assumed threshold values created during
1352
+ # training. For more information, see *Assumed threshold* in the Amazon
1353
+ # Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom
1354
+ # Labels metrics expresses an assumed threshold as a floating point
1355
+ # value between 0-1. The range of `MinConfidence` normalizes the
1356
+ # threshold value to a percentage value (0-100). Confidence responses
1357
+ # from `DetectCustomLabels` are also returned as a percentage. You can
1358
+ # use `MinConfidence` to change the precision and recall or your model.
1359
+ # For more information, see *Analyzing an image* in the Amazon
1360
+ # Rekognition Custom Labels Developer Guide.
1361
+ #
1362
+ # If you don't specify a value for `MinConfidence`,
1363
+ # `DetectCustomLabels` returns labels based on the assumed threshold of
1364
+ # each label.
1350
1365
  #
1351
1366
  # This is a stateless API operation. That is, the operation does not
1352
1367
  # persist any data.
@@ -1354,6 +1369,9 @@ module Aws::Rekognition
1354
1369
  # This operation requires permissions to perform the
1355
1370
  # `rekognition:DetectCustomLabels` action.
1356
1371
  #
1372
+ # For more information, see *Analyzing an image* in the Amazon
1373
+ # Rekognition Custom Labels Developer Guide.
1374
+ #
1357
1375
  # @option params [required, String] :project_version_arn
1358
1376
  # The ARN of the model version that you want to use.
1359
1377
  #
@@ -1393,10 +1411,12 @@ module Aws::Rekognition
1393
1411
  #
1394
1412
  # @option params [Float] :min_confidence
1395
1413
  # Specifies the minimum confidence level for the labels to return.
1396
- # Amazon Rekognition doesn't return any labels with a confidence lower
1397
- # than this specified value. If you specify a value of 0, all labels are
1398
- # return, regardless of the default thresholds that the model version
1399
- # applies.
1414
+ # `DetectCustomLabels` doesn't return any labels with a confidence
1415
+ # value that's lower than this specified value. If you specify a value
1416
+ # of 0, `DetectCustomLabels` returns all labels, regardless of the
1417
+ # assumed threshold applied to each label. If you don't specify a value
1418
+ # for `MinConfidence`, `DetectCustomLabels` returns labels based on the
1419
+ # assumed threshold of each label.
1400
1420
  #
1401
1421
  # @return [Types::DetectCustomLabelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1402
1422
  #
@@ -2099,9 +2119,9 @@ module Aws::Rekognition
2099
2119
  end
2100
2120
 
2101
2121
  # Gets the name and additional information about a celebrity based on
2102
- # his or her Amazon Rekognition ID. The additional information is
2103
- # returned as an array of URLs. If there is no additional information
2104
- # about the celebrity, this list is empty.
2122
+ # their Amazon Rekognition ID. The additional information is returned as
2123
+ # an array of URLs. If there is no additional information about the
2124
+ # celebrity, this list is empty.
2105
2125
  #
2106
2126
  # For more information, see Recognizing Celebrities in an Image in the
2107
2127
  # Amazon Rekognition Developer Guide.
@@ -2118,6 +2138,7 @@ module Aws::Rekognition
2118
2138
  #
2119
2139
  # * {Types::GetCelebrityInfoResponse#urls #urls} => Array<String>
2120
2140
  # * {Types::GetCelebrityInfoResponse#name #name} => String
2141
+ # * {Types::GetCelebrityInfoResponse#known_gender #known_gender} => Types::KnownGender
2121
2142
  #
2122
2143
  # @example Request syntax with placeholder values
2123
2144
  #
@@ -2130,6 +2151,7 @@ module Aws::Rekognition
2130
2151
  # resp.urls #=> Array
2131
2152
  # resp.urls[0] #=> String
2132
2153
  # resp.name #=> String
2154
+ # resp.known_gender.type #=> String, one of "Male", "Female"
2133
2155
  #
2134
2156
  # @overload get_celebrity_info(params = {})
2135
2157
  # @param [Hash] params ({})
@@ -2143,12 +2165,14 @@ module Aws::Rekognition
2143
2165
  #
2144
2166
  # Celebrity recognition in a video is an asynchronous operation.
2145
2167
  # Analysis is started by a call to StartCelebrityRecognition which
2146
- # returns a job identifier (`JobId`). When the celebrity recognition
2147
- # operation finishes, Amazon Rekognition Video publishes a completion
2148
- # status to the Amazon Simple Notification Service topic registered in
2149
- # the initial call to `StartCelebrityRecognition`. To get the results of
2150
- # the celebrity recognition analysis, first check that the status value
2151
- # 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
2152
2176
  # `GetCelebrityDetection` and pass the job identifier (`JobId`) from the
2153
2177
  # initial call to `StartCelebrityDetection`.
2154
2178
  #
@@ -2159,10 +2183,13 @@ module Aws::Rekognition
2159
2183
  # they are detected in an array (`Celebrities`) of CelebrityRecognition
2160
2184
  # objects. Each `CelebrityRecognition` contains information about the
2161
2185
  # celebrity in a CelebrityDetail object and the time, `Timestamp`, the
2162
- # 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.
2163
2189
  #
2164
2190
  # <note markdown="1"> `GetCelebrityRecognition` only returns the default facial attributes
2165
2191
  # (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
2192
+ # `BoundingBox` field only applies to the detected face instance. The
2166
2193
  # other facial attributes listed in the `Face` object of the following
2167
2194
  # response syntax are not returned. For more information, see FaceDetail
2168
2195
  # in the Amazon Rekognition Developer Guide.
@@ -2286,6 +2313,7 @@ module Aws::Rekognition
2286
2313
  # resp.celebrities[0].celebrity.face.quality.brightness #=> Float
2287
2314
  # resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
2288
2315
  # resp.celebrities[0].celebrity.face.confidence #=> Float
2316
+ # resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
2289
2317
  #
2290
2318
  # @overload get_celebrity_recognition(params = {})
2291
2319
  # @param [Hash] params ({})
@@ -3982,7 +4010,13 @@ module Aws::Rekognition
3982
4010
  # resp.celebrity_faces[0].face.pose.pitch #=> Float
3983
4011
  # resp.celebrity_faces[0].face.quality.brightness #=> Float
3984
4012
  # resp.celebrity_faces[0].face.quality.sharpness #=> Float
4013
+ # resp.celebrity_faces[0].face.emotions #=> Array
4014
+ # resp.celebrity_faces[0].face.emotions[0].type #=> String, one of "HAPPY", "SAD", "ANGRY", "CONFUSED", "DISGUSTED", "SURPRISED", "CALM", "UNKNOWN", "FEAR"
4015
+ # resp.celebrity_faces[0].face.emotions[0].confidence #=> Float
4016
+ # resp.celebrity_faces[0].face.smile.value #=> Boolean
4017
+ # resp.celebrity_faces[0].face.smile.confidence #=> Float
3985
4018
  # resp.celebrity_faces[0].match_confidence #=> Float
4019
+ # resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female"
3986
4020
  # resp.unrecognized_faces #=> Array
3987
4021
  # resp.unrecognized_faces[0].bounding_box.width #=> Float
3988
4022
  # resp.unrecognized_faces[0].bounding_box.height #=> Float
@@ -3998,6 +4032,11 @@ module Aws::Rekognition
3998
4032
  # resp.unrecognized_faces[0].pose.pitch #=> Float
3999
4033
  # resp.unrecognized_faces[0].quality.brightness #=> Float
4000
4034
  # resp.unrecognized_faces[0].quality.sharpness #=> Float
4035
+ # resp.unrecognized_faces[0].emotions #=> Array
4036
+ # resp.unrecognized_faces[0].emotions[0].type #=> String, one of "HAPPY", "SAD", "ANGRY", "CONFUSED", "DISGUSTED", "SURPRISED", "CALM", "UNKNOWN", "FEAR"
4037
+ # resp.unrecognized_faces[0].emotions[0].confidence #=> Float
4038
+ # resp.unrecognized_faces[0].smile.value #=> Boolean
4039
+ # resp.unrecognized_faces[0].smile.confidence #=> Float
4001
4040
  # resp.orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
4002
4041
  #
4003
4042
  # @overload recognize_celebrities(params = {})
@@ -5216,7 +5255,7 @@ module Aws::Rekognition
5216
5255
  params: params,
5217
5256
  config: config)
5218
5257
  context[:gem_name] = 'aws-sdk-rekognition'
5219
- context[:gem_version] = '1.54.0'
5258
+ context[:gem_version] = '1.58.0'
5220
5259
  Seahorse::Client::Request.new(handlers, context)
5221
5260
  end
5222
5261
 
@@ -178,6 +178,8 @@ module Aws::Rekognition
178
178
  KinesisVideoArn = Shapes::StringShape.new(name: 'KinesisVideoArn')
179
179
  KinesisVideoStream = Shapes::StructureShape.new(name: 'KinesisVideoStream')
180
180
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
181
+ KnownGender = Shapes::StructureShape.new(name: 'KnownGender')
182
+ KnownGenderType = Shapes::StringShape.new(name: 'KnownGenderType')
181
183
  Label = Shapes::StructureShape.new(name: 'Label')
182
184
  LabelDetection = Shapes::StructureShape.new(name: 'LabelDetection')
183
185
  LabelDetectionSortBy = Shapes::StringShape.new(name: 'LabelDetectionSortBy')
@@ -396,6 +398,7 @@ module Aws::Rekognition
396
398
  Celebrity.add_member(:id, Shapes::ShapeRef.new(shape: RekognitionUniqueId, location_name: "Id"))
397
399
  Celebrity.add_member(:face, Shapes::ShapeRef.new(shape: ComparedFace, location_name: "Face"))
398
400
  Celebrity.add_member(:match_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MatchConfidence"))
401
+ Celebrity.add_member(:known_gender, Shapes::ShapeRef.new(shape: KnownGender, location_name: "KnownGender"))
399
402
  Celebrity.struct_class = Types::Celebrity
400
403
 
401
404
  CelebrityDetail.add_member(:urls, Shapes::ShapeRef.new(shape: Urls, location_name: "Urls"))
@@ -404,6 +407,7 @@ module Aws::Rekognition
404
407
  CelebrityDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
405
408
  CelebrityDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
406
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"))
407
411
  CelebrityDetail.struct_class = Types::CelebrityDetail
408
412
 
409
413
  CelebrityList.member = Shapes::ShapeRef.new(shape: Celebrity)
@@ -442,6 +446,8 @@ module Aws::Rekognition
442
446
  ComparedFace.add_member(:landmarks, Shapes::ShapeRef.new(shape: Landmarks, location_name: "Landmarks"))
443
447
  ComparedFace.add_member(:pose, Shapes::ShapeRef.new(shape: Pose, location_name: "Pose"))
444
448
  ComparedFace.add_member(:quality, Shapes::ShapeRef.new(shape: ImageQuality, location_name: "Quality"))
449
+ ComparedFace.add_member(:emotions, Shapes::ShapeRef.new(shape: Emotions, location_name: "Emotions"))
450
+ ComparedFace.add_member(:smile, Shapes::ShapeRef.new(shape: Smile, location_name: "Smile"))
445
451
  ComparedFace.struct_class = Types::ComparedFace
446
452
 
447
453
  ComparedFaceList.member = Shapes::ShapeRef.new(shape: ComparedFace)
@@ -735,6 +741,7 @@ module Aws::Rekognition
735
741
 
736
742
  GetCelebrityInfoResponse.add_member(:urls, Shapes::ShapeRef.new(shape: Urls, location_name: "Urls"))
737
743
  GetCelebrityInfoResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
744
+ GetCelebrityInfoResponse.add_member(:known_gender, Shapes::ShapeRef.new(shape: KnownGender, location_name: "KnownGender"))
738
745
  GetCelebrityInfoResponse.struct_class = Types::GetCelebrityInfoResponse
739
746
 
740
747
  GetCelebrityRecognitionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
@@ -914,6 +921,9 @@ module Aws::Rekognition
914
921
  KinesisVideoStream.add_member(:arn, Shapes::ShapeRef.new(shape: KinesisVideoArn, location_name: "Arn"))
915
922
  KinesisVideoStream.struct_class = Types::KinesisVideoStream
916
923
 
924
+ KnownGender.add_member(:type, Shapes::ShapeRef.new(shape: KnownGenderType, location_name: "Type"))
925
+ KnownGender.struct_class = Types::KnownGender
926
+
917
927
  Label.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
918
928
  Label.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
919
929
  Label.add_member(:instances, Shapes::ShapeRef.new(shape: Instances, location_name: "Instances"))
@@ -250,12 +250,18 @@ module Aws::Rekognition
250
250
  # recognized face is the celebrity.
251
251
  # @return [Float]
252
252
  #
253
+ # @!attribute [rw] known_gender
254
+ # The known gender identity for the celebrity that matches the
255
+ # provided ID.
256
+ # @return [Types::KnownGender]
257
+ #
253
258
  class Celebrity < Struct.new(
254
259
  :urls,
255
260
  :name,
256
261
  :id,
257
262
  :face,
258
- :match_confidence)
263
+ :match_confidence,
264
+ :known_gender)
259
265
  SENSITIVE = []
260
266
  include Aws::Structure
261
267
  end
@@ -287,13 +293,18 @@ module Aws::Rekognition
287
293
  # Face details for the recognized celebrity.
288
294
  # @return [Types::FaceDetail]
289
295
  #
296
+ # @!attribute [rw] known_gender
297
+ # Retrieves the known gender for the celebrity.
298
+ # @return [Types::KnownGender]
299
+ #
290
300
  class CelebrityDetail < Struct.new(
291
301
  :urls,
292
302
  :name,
293
303
  :id,
294
304
  :confidence,
295
305
  :bounding_box,
296
- :face)
306
+ :face,
307
+ :known_gender)
297
308
  SENSITIVE = []
298
309
  include Aws::Structure
299
310
  end
@@ -501,12 +512,26 @@ module Aws::Rekognition
501
512
  # Identifies face image brightness and sharpness.
502
513
  # @return [Types::ImageQuality]
503
514
  #
515
+ # @!attribute [rw] emotions
516
+ # The emotions that appear to be expressed on the face, and the
517
+ # confidence level in the determination. Valid values include
518
+ # "Happy", "Sad", "Angry", "Confused", "Disgusted",
519
+ # "Surprised", "Calm", "Unknown", and "Fear".
520
+ # @return [Array<Types::Emotion>]
521
+ #
522
+ # @!attribute [rw] smile
523
+ # Indicates whether or not the face is smiling, and the confidence
524
+ # level in the determination.
525
+ # @return [Types::Smile]
526
+ #
504
527
  class ComparedFace < Struct.new(
505
528
  :bounding_box,
506
529
  :confidence,
507
530
  :landmarks,
508
531
  :pose,
509
- :quality)
532
+ :quality,
533
+ :emotions,
534
+ :smile)
510
535
  SENSITIVE = []
511
536
  include Aws::Structure
512
537
  end
@@ -1310,10 +1335,12 @@ module Aws::Rekognition
1310
1335
  #
1311
1336
  # @!attribute [rw] min_confidence
1312
1337
  # Specifies the minimum confidence level for the labels to return.
1313
- # Amazon Rekognition doesn't return any labels with a confidence
1314
- # lower than this specified value. If you specify a value of 0, all
1315
- # labels are return, regardless of the default thresholds that the
1316
- # model version applies.
1338
+ # `DetectCustomLabels` doesn't return any labels with a confidence
1339
+ # value that's lower than this specified value. If you specify a
1340
+ # value of 0, `DetectCustomLabels` returns all labels, regardless of
1341
+ # the assumed threshold applied to each label. If you don't specify a
1342
+ # value for `MinConfidence`, `DetectCustomLabels` returns labels based
1343
+ # on the assumed threshold of each label.
1317
1344
  # @return [Float]
1318
1345
  #
1319
1346
  class DetectCustomLabelsRequest < Struct.new(
@@ -2217,9 +2244,14 @@ module Aws::Rekognition
2217
2244
  # The name of the celebrity.
2218
2245
  # @return [String]
2219
2246
  #
2247
+ # @!attribute [rw] known_gender
2248
+ # Retrieves the known gender for the celebrity.
2249
+ # @return [Types::KnownGender]
2250
+ #
2220
2251
  class GetCelebrityInfoResponse < Struct.new(
2221
2252
  :urls,
2222
- :name)
2253
+ :name,
2254
+ :known_gender)
2223
2255
  SENSITIVE = []
2224
2256
  include Aws::Structure
2225
2257
  end
@@ -3368,6 +3400,19 @@ module Aws::Rekognition
3368
3400
  include Aws::Structure
3369
3401
  end
3370
3402
 
3403
+ # The known gender identity for the celebrity that matches the provided
3404
+ # ID.
3405
+ #
3406
+ # @!attribute [rw] type
3407
+ # A string value of the KnownGender info about the Celebrity.
3408
+ # @return [String]
3409
+ #
3410
+ class KnownGender < Struct.new(
3411
+ :type)
3412
+ SENSITIVE = []
3413
+ include Aws::Structure
3414
+ end
3415
+
3371
3416
  # Structure containing details about the detected label, including the
3372
3417
  # name, detected instances, parent labels, and level of confidence.
3373
3418
  #
@@ -4189,7 +4234,10 @@ module Aws::Rekognition
4189
4234
 
4190
4235
  # @!attribute [rw] celebrity_faces
4191
4236
  # Details about each celebrity found in the image. Amazon Rekognition
4192
- # can detect a maximum of 64 celebrities in an image.
4237
+ # can detect a maximum of 64 celebrities in an image. Each celebrity
4238
+ # object includes the following attributes: `Face`, `Confidence`,
4239
+ # `Emotions`, `Landmarks`, `Pose`, `Quality`, `Smile`, `Id`,
4240
+ # `KnownGender`, `MatchConfidence`, `Name`, `Urls`.
4193
4241
  # @return [Array<Types::Celebrity>]
4194
4242
  #
4195
4243
  # @!attribute [rw] unrecognized_faces
@@ -4197,6 +4245,13 @@ module Aws::Rekognition
4197
4245
  # @return [Array<Types::ComparedFace>]
4198
4246
  #
4199
4247
  # @!attribute [rw] orientation_correction
4248
+ # <note markdown="1"> Support for estimating image orientation using the the
4249
+ # OrientationCorrection field has ceased as of August 2021. Any
4250
+ # returned values for this field included in an API response will
4251
+ # always be NULL.
4252
+ #
4253
+ # </note>
4254
+ #
4200
4255
  # The orientation of the input image (counterclockwise direction). If
4201
4256
  # your application displays the image, you can use this value to
4202
4257
  # correct the orientation. The bounding box coordinates returned in
@@ -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.54.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.54.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-08-09 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.119.0
22
+ version: 3.121.2
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.119.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '0'
80
+ version: '2.3'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="