aws-sdk-rekognition 1.61.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 441e21cc8ad9d5d238e82711c456a46c618122e7baed5bcf6f0f9527f499d3e1
4
- data.tar.gz: 3453666697aa7a7e1c4c7855443ec32a71ae0a2ded26aefb4552419cb8b76770
3
+ metadata.gz: ce46079529774cc8d9b291a702cdba576098783a68ad418513b0e80e7e31de2d
4
+ data.tar.gz: 197126228a1903490dad1d086c3b63fa0c14a24ebee55638a592e004999390d7
5
5
  SHA512:
6
- metadata.gz: 5ac8aa0966583c7e89bb0277a643c065808b8a062d00427e45b9adc2adab8677794bdab24f468cd35b1f7359ee836799330d139747d304efbe947374e35e9be8
7
- data.tar.gz: e11e92eb02de0af658fe9cc28e648e973302b0f59c8b03e7387affa700b1de4ff0058e771d81be578d6191b3ae2ecb7a6bf9d273b72218573e8293f5a2edb3ee
6
+ metadata.gz: acee09d166a07746874011ebfc11535808f2c6fa23b37b883e0d9798e54b3533185e8f62773dad15ab0a92482758800ed83610a46b67c1db763a845df00d6a68
7
+ data.tar.gz: bf4cdfb9fb3ecbd97c39906fe2e265adc17537749d297e6535b0380cdf4dc76c0e19b694713abbc93659e4d86ee571d7c36ce00106e0596e7dd683d312c6f3b0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.64.0 (2022-01-04)
10
+ ------------------
11
+
12
+ * Feature - This release introduces a new field IndexFacesModelVersion, which is the version of the face detect and storage model that was used when indexing the face vector.
13
+
14
+ 1.63.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.62.0 (2021-12-03)
20
+ ------------------
21
+
22
+ * Feature - This release added new KnownGender types for Celebrity Recognition.
23
+
4
24
  1.61.0 (2021-11-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.65.0
@@ -27,6 +27,8 @@ 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'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::Rekognition
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
82
 
@@ -175,6 +179,10 @@ module Aws::Rekognition
175
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
180
  # a clock skew correction and retry requests with skewed client clocks.
177
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
178
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
187
  # Set to true to disable SDK automatically adding host prefix
180
188
  # to default service endpoint when available.
@@ -307,7 +315,7 @@ module Aws::Rekognition
307
315
  # seconds to wait when opening a HTTP session before raising a
308
316
  # `Timeout::Error`.
309
317
  #
310
- # @option options [Integer] :http_read_timeout (60) The default
318
+ # @option options [Float] :http_read_timeout (60) The default
311
319
  # number of seconds to wait for response data. This value can
312
320
  # safely be set per-request on the session.
313
321
  #
@@ -323,6 +331,9 @@ module Aws::Rekognition
323
331
  # disables this behaviour. This value can safely be set per
324
332
  # request on the session.
325
333
  #
334
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
335
+ # in seconds.
336
+ #
326
337
  # @option options [Boolean] :http_wire_trace (false) When `true`,
327
338
  # HTTP debug output will be sent to the `:logger`.
328
339
  #
@@ -375,7 +386,7 @@ module Aws::Rekognition
375
386
  # In response, the operation returns an array of face matches ordered by
376
387
  # similarity score in descending order. For each face match, the
377
388
  # response provides a bounding box of the face, facial landmarks, pose
378
- # details (pitch, role, and yaw), quality (brightness and sharpness),
389
+ # details (pitch, roll, and yaw), quality (brightness and sharpness),
379
390
  # and confidence value (indicating the level of confidence that the
380
391
  # bounding box contains a face). The response also provides a similarity
381
392
  # score, which indicates how closely the faces match.
@@ -2224,9 +2235,8 @@ module Aws::Rekognition
2224
2235
  # information about a single word or line of text that was detected in
2225
2236
  # the image.
2226
2237
  #
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.
2238
+ # A word is one or more script characters that are not separated by
2239
+ # spaces. `DetectText` can detect up to 100 words in an image.
2230
2240
  #
2231
2241
  # A line is a string of equally spaced words. A line isn't necessarily
2232
2242
  # a complete sentence. For example, a driver's license number is
@@ -2397,7 +2407,7 @@ module Aws::Rekognition
2397
2407
  # resp.urls #=> Array
2398
2408
  # resp.urls[0] #=> String
2399
2409
  # resp.name #=> String
2400
- # resp.known_gender.type #=> String, one of "Male", "Female"
2410
+ # resp.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
2401
2411
  #
2402
2412
  # @overload get_celebrity_info(params = {})
2403
2413
  # @param [Hash] params ({})
@@ -2559,7 +2569,7 @@ module Aws::Rekognition
2559
2569
  # resp.celebrities[0].celebrity.face.quality.brightness #=> Float
2560
2570
  # resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
2561
2571
  # resp.celebrities[0].celebrity.face.confidence #=> Float
2562
- # resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
2572
+ # resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
2563
2573
  #
2564
2574
  # @overload get_celebrity_recognition(params = {})
2565
2575
  # @param [Hash] params ({})
@@ -2937,6 +2947,7 @@ module Aws::Rekognition
2937
2947
  # resp.persons[0].face_matches[0].face.image_id #=> String
2938
2948
  # resp.persons[0].face_matches[0].face.external_image_id #=> String
2939
2949
  # resp.persons[0].face_matches[0].face.confidence #=> Float
2950
+ # resp.persons[0].face_matches[0].face.index_faces_model_version #=> String
2940
2951
  #
2941
2952
  # @overload get_face_search(params = {})
2942
2953
  # @param [Hash] params ({})
@@ -3504,9 +3515,9 @@ module Aws::Rekognition
3504
3515
  # `detectionAttributes` parameter), Amazon Rekognition returns detailed
3505
3516
  # facial attributes, such as facial landmarks (for example, location of
3506
3517
  # eye and mouth) and other facial attributes. If you provide the same
3507
- # image, specify the same collection, and use the same external ID in
3508
- # the `IndexFaces` operation, Amazon Rekognition doesn't save duplicate
3509
- # face metadata.
3518
+ # image, specify the same collection, use the same external ID, and use
3519
+ # the same model version in the `IndexFaces` operation, Amazon
3520
+ # Rekognition doesn't save duplicate face metadata.
3510
3521
  #
3511
3522
  #
3512
3523
  #
@@ -3759,6 +3770,7 @@ module Aws::Rekognition
3759
3770
  # resp.face_records[0].face.image_id #=> String
3760
3771
  # resp.face_records[0].face.external_image_id #=> String
3761
3772
  # resp.face_records[0].face.confidence #=> Float
3773
+ # resp.face_records[0].face.index_faces_model_version #=> String
3762
3774
  # resp.face_records[0].face_detail.bounding_box.width #=> Float
3763
3775
  # resp.face_records[0].face_detail.bounding_box.height #=> Float
3764
3776
  # resp.face_records[0].face_detail.bounding_box.left #=> Float
@@ -4237,6 +4249,7 @@ module Aws::Rekognition
4237
4249
  # resp.faces[0].image_id #=> String
4238
4250
  # resp.faces[0].external_image_id #=> String
4239
4251
  # resp.faces[0].confidence #=> Float
4252
+ # resp.faces[0].index_faces_model_version #=> String
4240
4253
  # resp.next_token #=> String
4241
4254
  # resp.face_model_version #=> String
4242
4255
  #
@@ -4411,7 +4424,7 @@ module Aws::Rekognition
4411
4424
  # resp.celebrity_faces[0].face.smile.value #=> Boolean
4412
4425
  # resp.celebrity_faces[0].face.smile.confidence #=> Float
4413
4426
  # resp.celebrity_faces[0].match_confidence #=> Float
4414
- # resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female"
4427
+ # resp.celebrity_faces[0].known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
4415
4428
  # resp.unrecognized_faces #=> Array
4416
4429
  # resp.unrecognized_faces[0].bounding_box.width #=> Float
4417
4430
  # resp.unrecognized_faces[0].bounding_box.height #=> Float
@@ -4569,6 +4582,7 @@ module Aws::Rekognition
4569
4582
  # resp.face_matches[0].face.image_id #=> String
4570
4583
  # resp.face_matches[0].face.external_image_id #=> String
4571
4584
  # resp.face_matches[0].face.confidence #=> Float
4585
+ # resp.face_matches[0].face.index_faces_model_version #=> String
4572
4586
  # resp.face_model_version #=> String
4573
4587
  #
4574
4588
  # @overload search_faces(params = {})
@@ -4751,6 +4765,7 @@ module Aws::Rekognition
4751
4765
  # resp.face_matches[0].face.image_id #=> String
4752
4766
  # resp.face_matches[0].face.external_image_id #=> String
4753
4767
  # resp.face_matches[0].face.confidence #=> Float
4768
+ # resp.face_matches[0].face.index_faces_model_version #=> String
4754
4769
  # resp.face_model_version #=> String
4755
4770
  #
4756
4771
  # @overload search_faces_by_image(params = {})
@@ -5705,7 +5720,7 @@ module Aws::Rekognition
5705
5720
  params: params,
5706
5721
  config: config)
5707
5722
  context[:gem_name] = 'aws-sdk-rekognition'
5708
- context[:gem_version] = '1.61.0'
5723
+ context[:gem_version] = '1.65.0'
5709
5724
  Seahorse::Client::Request.new(handlers, context)
5710
5725
  end
5711
5726
 
@@ -190,6 +190,7 @@ module Aws::Rekognition
190
190
  ImageId = Shapes::StringShape.new(name: 'ImageId')
191
191
  ImageQuality = Shapes::StructureShape.new(name: 'ImageQuality')
192
192
  ImageTooLargeException = Shapes::StructureShape.new(name: 'ImageTooLargeException')
193
+ IndexFacesModelVersion = Shapes::StringShape.new(name: 'IndexFacesModelVersion')
193
194
  IndexFacesRequest = Shapes::StructureShape.new(name: 'IndexFacesRequest')
194
195
  IndexFacesResponse = Shapes::StructureShape.new(name: 'IndexFacesResponse')
195
196
  InferenceUnits = Shapes::IntegerShape.new(name: 'InferenceUnits')
@@ -794,6 +795,7 @@ module Aws::Rekognition
794
795
  Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
795
796
  Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
796
797
  Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
798
+ Face.add_member(:index_faces_model_version, Shapes::ShapeRef.new(shape: IndexFacesModelVersion, location_name: "IndexFacesModelVersion"))
797
799
  Face.struct_class = Types::Face
798
800
 
799
801
  FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
@@ -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(
@@ -631,8 +632,12 @@ module Aws::Rekognition
631
632
  # @return [String]
632
633
  #
633
634
  # @!attribute [rw] face_model_version
634
- # Version number of the face detection model associated with the
635
- # collection you are creating.
635
+ # Latest face model being used with the collection. For more
636
+ # information, see [Model versioning][1].
637
+ #
638
+ #
639
+ #
640
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
636
641
  # @return [String]
637
642
  #
638
643
  class CreateCollectionResponse < Struct.new(
@@ -2331,12 +2336,18 @@ module Aws::Rekognition
2331
2336
  # different object such as a tree).
2332
2337
  # @return [Float]
2333
2338
  #
2339
+ # @!attribute [rw] index_faces_model_version
2340
+ # The version of the face detect and storage model that was used when
2341
+ # indexing the face vector.
2342
+ # @return [String]
2343
+ #
2334
2344
  class Face < Struct.new(
2335
2345
  :face_id,
2336
2346
  :bounding_box,
2337
2347
  :image_id,
2338
2348
  :external_image_id,
2339
- :confidence)
2349
+ :confidence,
2350
+ :index_faces_model_version)
2340
2351
  SENSITIVE = []
2341
2352
  include Aws::Structure
2342
2353
  end
@@ -3683,8 +3694,12 @@ module Aws::Rekognition
3683
3694
  # @return [String]
3684
3695
  #
3685
3696
  # @!attribute [rw] face_model_version
3686
- # The version number of the face detection model that's associated
3687
- # with the input collection (`CollectionId`).
3697
+ # Latest face model being used with the collection. For more
3698
+ # information, see [Model versioning][1].
3699
+ #
3700
+ #
3701
+ #
3702
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
3688
3703
  # @return [String]
3689
3704
  #
3690
3705
  # @!attribute [rw] unindexed_faces
@@ -3790,7 +3805,8 @@ module Aws::Rekognition
3790
3805
  end
3791
3806
 
3792
3807
  # The known gender identity for the celebrity that matches the provided
3793
- # ID.
3808
+ # ID. The known gender identity can be Male, Female, Nonbinary, or
3809
+ # Unlisted.
3794
3810
  #
3795
3811
  # @!attribute [rw] type
3796
3812
  # A string value of the KnownGender info about the Celebrity.
@@ -3924,10 +3940,15 @@ module Aws::Rekognition
3924
3940
  # @return [String]
3925
3941
  #
3926
3942
  # @!attribute [rw] face_model_versions
3927
- # Version numbers of the face detection models associated with the
3928
- # collections in the array `CollectionIds`. For example, the value of
3929
- # `FaceModelVersions[2]` is the version number for the face detection
3930
- # model used by the collection in `CollectionId[2]`.
3943
+ # Latest face models being used with the corresponding collections in
3944
+ # the array. For more information, see [Model versioning][1]. For
3945
+ # example, the value of `FaceModelVersions[2]` is the version number
3946
+ # for the face detection model used by the collection in
3947
+ # `CollectionId[2]`.
3948
+ #
3949
+ #
3950
+ #
3951
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
3931
3952
  # @return [Array<String>]
3932
3953
  #
3933
3954
  class ListCollectionsResponse < Struct.new(
@@ -4123,8 +4144,12 @@ module Aws::Rekognition
4123
4144
  # @return [String]
4124
4145
  #
4125
4146
  # @!attribute [rw] face_model_version
4126
- # Version number of the face detection model associated with the input
4127
- # collection (`CollectionId`).
4147
+ # Latest face model being used with the collection. For more
4148
+ # information, see [Model versioning][1].
4149
+ #
4150
+ #
4151
+ #
4152
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
4128
4153
  # @return [String]
4129
4154
  #
4130
4155
  class ListFacesResponse < Struct.new(
@@ -4989,8 +5014,12 @@ module Aws::Rekognition
4989
5014
  # @return [Array<Types::FaceMatch>]
4990
5015
  #
4991
5016
  # @!attribute [rw] face_model_version
4992
- # Version number of the face detection model associated with the input
4993
- # collection (`CollectionId`).
5017
+ # Latest face model being used with the collection. For more
5018
+ # information, see [Model versioning][1].
5019
+ #
5020
+ #
5021
+ #
5022
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
4994
5023
  # @return [String]
4995
5024
  #
4996
5025
  class SearchFacesByImageResponse < Struct.new(
@@ -5050,8 +5079,12 @@ module Aws::Rekognition
5050
5079
  # @return [Array<Types::FaceMatch>]
5051
5080
  #
5052
5081
  # @!attribute [rw] face_model_version
5053
- # Version number of the face detection model associated with the input
5054
- # collection (`CollectionId`).
5082
+ # Latest face model being used with the collection. For more
5083
+ # information, see [Model versioning][1].
5084
+ #
5085
+ #
5086
+ #
5087
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
5055
5088
  # @return [String]
5056
5089
  #
5057
5090
  class SearchFacesResponse < Struct.new(
@@ -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.61.0'
52
+ GEM_VERSION = '1.65.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.61.0
4
+ version: 1.65.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-30 00:00:00.000000000 Z
11
+ date: 2022-02-03 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.122.0
22
+ version: 3.126.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.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement