aws-sdk-rekognition 1.113.0 → 1.124.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: 987ec85d039b57e5f4d6005a639d53a2b4b93297ab1cc10bfa65d98dab4241b6
4
- data.tar.gz: 06bd09fbe0e4ea5eb07d8b01b27bb3e1b965bdd27cfa39965beb017d93ab71a1
3
+ metadata.gz: 4dfb698b2fa0943d04f9f140932527375b2e91f5403c85cefb3c57e8cb1bdad9
4
+ data.tar.gz: c038747233dd8f44d9d8716fb3fd28d8cbd88847ff86d619d11d3dda8a6355c6
5
5
  SHA512:
6
- metadata.gz: 977cbf38228ec138b1cc88b114f18c143b78d96c4929567e6567e2de728971338b659651e3fdaae92609768340debc52525056d4e35c6b6e9b3e7f22daabe1bb
7
- data.tar.gz: f9318507bf20060b536a9491b45ebfd70a59ed3c940a13acac6dda6c8981df4606d589655aa119ca7fa82fb3c3febe5081083811cccbf7847c3156becf1a2d38
6
+ metadata.gz: 86798fbfacf4e1a5cee2cec6436246a60beedb313ed3e380f0fecbc38a5102b711e2b7029b1513e6e21d11c6203ebaedef8eef262c24a1e2e81ff244472b7468
7
+ data.tar.gz: e874ba4b14ba1cd448a2c6baf3579c7f5f6fe044a91a2c1f3461df620b15b51076b917cdaae92dd6298d6ee6e8131afbfd11463ceed7d58bb64397db219a0db9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,61 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.124.0 (2025-10-27)
5
+ ------------------
6
+
7
+ * Feature - Update endpoint ruleset parameters casing
8
+
9
+ 1.123.0 (2025-10-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.122.0 (2025-08-28)
15
+ ------------------
16
+
17
+ * Feature - Remove incorrect endpoint tests
18
+
19
+ 1.121.0 (2025-08-26)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.120.0 (2025-08-04)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.119.0 (2025-07-31)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.118.0 (2025-07-21)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.117.0 (2025-06-06)
40
+ ------------------
41
+
42
+ * Feature - Adds support for defining an ordered preference list of different Rekognition Face Liveness challenge types when calling CreateFaceLivenessSession.
43
+
44
+ 1.116.0 (2025-06-02)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.115.0 (2025-05-12)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.114.0 (2025-05-01)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
4
59
  1.113.0 (2025-02-18)
5
60
  ------------------
6
61
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.113.0
1
+ 1.124.0
@@ -95,8 +95,8 @@ module Aws::Rekognition
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,22 +124,24 @@ module Aws::Rekognition
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
130
+ #
131
131
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
132
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
135
137
  # * `~/.aws/credentials`
138
+ #
136
139
  # * `~/.aws/config`
137
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
- # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
- # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
143
145
  #
144
146
  # @option options [required, String] :region
145
147
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +169,11 @@ module Aws::Rekognition
167
169
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
170
  # not retry instead of sleeping.
169
171
  #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
170
177
  # @option options [Boolean] :client_side_monitoring (false)
171
178
  # When `true`, client-side metrics will be collected for all API requests from
172
179
  # this client.
@@ -200,8 +207,7 @@ module Aws::Rekognition
200
207
  # accepted modes and the configuration defaults that are included.
201
208
  #
202
209
  # @option options [Boolean] :disable_host_prefix_injection (false)
203
- # Set to true to disable SDK automatically adding host prefix
204
- # to default service endpoint when available.
210
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
205
211
  #
206
212
  # @option options [Boolean] :disable_request_compression (false)
207
213
  # When set to 'true' the request body will not be compressed
@@ -254,8 +260,8 @@ module Aws::Rekognition
254
260
  # 4 times. Used in `standard` and `adaptive` retry modes.
255
261
  #
256
262
  # @option options [String] :profile ("default")
257
- # Used when loading credentials from the shared credentials file
258
- # at HOME/.aws/credentials. When not specified, 'default' is used.
263
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
264
+ # When not specified, 'default' is used.
259
265
  #
260
266
  # @option options [String] :request_checksum_calculation ("when_supported")
261
267
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -375,8 +381,8 @@ module Aws::Rekognition
375
381
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
376
382
  #
377
383
  # @option options [Aws::TokenProvider] :token_provider
378
- # A Bearer Token Provider. This can be an instance of any one of the
379
- # following classes:
384
+ # Your Bearer token used for authentication. This can be any class that includes and implements
385
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
380
386
  #
381
387
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
382
388
  # tokens.
@@ -479,8 +485,14 @@ module Aws::Rekognition
479
485
 
480
486
  # Associates one or more faces with an existing UserID. Takes an array
481
487
  # of `FaceIds`. Each `FaceId` that are present in the `FaceIds` list is
482
- # associated with the provided UserID. The maximum number of total
483
- # `FaceIds` per UserID is 100.
488
+ # associated with the provided UserID. The number of FaceIds that can be
489
+ # used as input in a single request is limited to 100.
490
+ #
491
+ # Note that the total number of faces that can be associated with a
492
+ # single `UserID` is also limited to 100. Once a `UserID` has 100 faces
493
+ # associated with it, no additional faces can be added. If more API
494
+ # calls are made after the limit is reached, a
495
+ # `ServiceQuotaExceededException` will result.
484
496
  #
485
497
  # The `UserMatchThreshold` parameter specifies the minimum user match
486
498
  # confidence required for the face to be associated with a UserID that
@@ -1214,6 +1226,15 @@ module Aws::Rekognition
1214
1226
  # s3_key_prefix: "LivenessS3KeyPrefix",
1215
1227
  # },
1216
1228
  # audit_images_limit: 1,
1229
+ # challenge_preferences: [
1230
+ # {
1231
+ # type: "FaceMovementAndLightChallenge", # required, accepts FaceMovementAndLightChallenge, FaceMovementChallenge
1232
+ # versions: {
1233
+ # minimum: "Version",
1234
+ # maximum: "Version",
1235
+ # },
1236
+ # },
1237
+ # ],
1217
1238
  # },
1218
1239
  # client_request_token: "ClientRequestToken",
1219
1240
  # })
@@ -2628,8 +2649,7 @@ module Aws::Rekognition
2628
2649
  # `CustomLabel` object provides the label name (`Name`), the level of
2629
2650
  # confidence that the image contains the object (`Confidence`), and
2630
2651
  # object location information, if it exists, for the label on the image
2631
- # (`Geometry`). Note that for the `DetectCustomLabelsLabels` operation,
2632
- # `Polygons` are not returned in the `Geometry` section of the response.
2652
+ # (`Geometry`).
2633
2653
  #
2634
2654
  # To filter labels that are returned, specify a value for
2635
2655
  # `MinConfidence`. `DetectCustomLabelsLabels` only returns labels with a
@@ -4267,6 +4287,7 @@ module Aws::Rekognition
4267
4287
  # * {Types::GetFaceLivenessSessionResultsResponse#confidence #confidence} => Float
4268
4288
  # * {Types::GetFaceLivenessSessionResultsResponse#reference_image #reference_image} => Types::AuditImage
4269
4289
  # * {Types::GetFaceLivenessSessionResultsResponse#audit_images #audit_images} => Array&lt;Types::AuditImage&gt;
4290
+ # * {Types::GetFaceLivenessSessionResultsResponse#challenge #challenge} => Types::Challenge
4270
4291
  #
4271
4292
  # @example Request syntax with placeholder values
4272
4293
  #
@@ -4296,6 +4317,8 @@ module Aws::Rekognition
4296
4317
  # resp.audit_images[0].bounding_box.height #=> Float
4297
4318
  # resp.audit_images[0].bounding_box.left #=> Float
4298
4319
  # resp.audit_images[0].bounding_box.top #=> Float
4320
+ # resp.challenge.type #=> String, one of "FaceMovementAndLightChallenge", "FaceMovementChallenge"
4321
+ # resp.challenge.version #=> String
4299
4322
  #
4300
4323
  # @overload get_face_liveness_session_results(params = {})
4301
4324
  # @param [Hash] params ({})
@@ -4762,6 +4785,13 @@ module Aws::Rekognition
4762
4785
  req.send_request(options)
4763
4786
  end
4764
4787
 
4788
+ # <note markdown="1"> *End of support notice:* On October 31, 2025, AWS will discontinue
4789
+ # support for Amazon Rekognition People Pathing. After October 31, 2025,
4790
+ # you will no longer be able to use the Rekognition People Pathing
4791
+ # capability. For more information, visit this [blog post][1].
4792
+ #
4793
+ # </note>
4794
+ #
4765
4795
  # Gets the path tracking results of a Amazon Rekognition Video analysis
4766
4796
  # started by StartPersonTracking.
4767
4797
  #
@@ -4801,6 +4831,10 @@ module Aws::Rekognition
4801
4831
  # with the token value returned from the previous call to
4802
4832
  # `GetPersonTracking`.
4803
4833
  #
4834
+ #
4835
+ #
4836
+ # [1]: https://aws.amazon.com/blogs/machine-learning/transitioning-from-amazon-rekognition-people-pathing-exploring-other-alternatives/
4837
+ #
4804
4838
  # @option params [required, String] :job_id
4805
4839
  # The identifier for a job that tracks persons in a video. You get the
4806
4840
  # `JobId` from a call to `StartPersonTracking`.
@@ -7765,6 +7799,13 @@ module Aws::Rekognition
7765
7799
  req.send_request(options)
7766
7800
  end
7767
7801
 
7802
+ # <note markdown="1"> *End of support notice:* On October 31, 2025, AWS will discontinue
7803
+ # support for Amazon Rekognition People Pathing. After October 31, 2025,
7804
+ # you will no longer be able to use the Rekognition People Pathing
7805
+ # capability. For more information, visit this [blog post][1].
7806
+ #
7807
+ # </note>
7808
+ #
7768
7809
  # Starts the asynchronous tracking of a person's path in a stored
7769
7810
  # video.
7770
7811
  #
@@ -7781,6 +7822,10 @@ module Aws::Rekognition
7781
7822
  # so, call GetPersonTracking and pass the job identifier (`JobId`) from
7782
7823
  # the initial call to `StartPersonTracking`.
7783
7824
  #
7825
+ #
7826
+ #
7827
+ # [1]: https://aws.amazon.com/blogs/machine-learning/transitioning-from-amazon-rekognition-people-pathing-exploring-other-alternatives/
7828
+ #
7784
7829
  # @option params [required, Types::Video] :video
7785
7830
  # The video in which you want to detect people. The video must be stored
7786
7831
  # in an Amazon S3 bucket.
@@ -8482,7 +8527,7 @@ module Aws::Rekognition
8482
8527
  tracer: tracer
8483
8528
  )
8484
8529
  context[:gem_name] = 'aws-sdk-rekognition'
8485
- context[:gem_version] = '1.113.0'
8530
+ context[:gem_version] = '1.124.0'
8486
8531
  Seahorse::Client::Request.new(handlers, context)
8487
8532
  end
8488
8533
 
@@ -43,6 +43,10 @@ module Aws::Rekognition
43
43
  CelebrityRecognition = Shapes::StructureShape.new(name: 'CelebrityRecognition')
44
44
  CelebrityRecognitionSortBy = Shapes::StringShape.new(name: 'CelebrityRecognitionSortBy')
45
45
  CelebrityRecognitions = Shapes::ListShape.new(name: 'CelebrityRecognitions')
46
+ Challenge = Shapes::StructureShape.new(name: 'Challenge')
47
+ ChallengePreference = Shapes::StructureShape.new(name: 'ChallengePreference')
48
+ ChallengePreferences = Shapes::ListShape.new(name: 'ChallengePreferences')
49
+ ChallengeType = Shapes::StringShape.new(name: 'ChallengeType')
46
50
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
47
51
  CollectionId = Shapes::StringShape.new(name: 'CollectionId')
48
52
  CollectionIdList = Shapes::ListShape.new(name: 'CollectionIdList')
@@ -542,9 +546,11 @@ module Aws::Rekognition
542
546
  UserMatchList = Shapes::ListShape.new(name: 'UserMatchList')
543
547
  UserStatus = Shapes::StringShape.new(name: 'UserStatus')
544
548
  ValidationData = Shapes::StructureShape.new(name: 'ValidationData')
549
+ Version = Shapes::StringShape.new(name: 'Version')
545
550
  VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
546
551
  VersionName = Shapes::StringShape.new(name: 'VersionName')
547
552
  VersionNames = Shapes::ListShape.new(name: 'VersionNames')
553
+ Versions = Shapes::StructureShape.new(name: 'Versions')
548
554
  Video = Shapes::StructureShape.new(name: 'Video')
549
555
  VideoColorRange = Shapes::StringShape.new(name: 'VideoColorRange')
550
556
  VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
@@ -567,7 +573,7 @@ module Aws::Rekognition
567
573
  AssociateFacesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
568
574
  AssociateFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: UserFaceIdList, required: true, location_name: "FaceIds"))
569
575
  AssociateFacesRequest.add_member(:user_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "UserMatchThreshold"))
570
- AssociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
576
+ AssociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
571
577
  AssociateFacesRequest.struct_class = Types::AssociateFacesRequest
572
578
 
573
579
  AssociateFacesResponse.add_member(:associated_faces, Shapes::ShapeRef.new(shape: AssociatedFacesList, location_name: "AssociatedFaces"))
@@ -638,6 +644,16 @@ module Aws::Rekognition
638
644
 
639
645
  CelebrityRecognitions.member = Shapes::ShapeRef.new(shape: CelebrityRecognition)
640
646
 
647
+ Challenge.add_member(:type, Shapes::ShapeRef.new(shape: ChallengeType, required: true, location_name: "Type"))
648
+ Challenge.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "Version"))
649
+ Challenge.struct_class = Types::Challenge
650
+
651
+ ChallengePreference.add_member(:type, Shapes::ShapeRef.new(shape: ChallengeType, required: true, location_name: "Type"))
652
+ ChallengePreference.add_member(:versions, Shapes::ShapeRef.new(shape: Versions, location_name: "Versions"))
653
+ ChallengePreference.struct_class = Types::ChallengePreference
654
+
655
+ ChallengePreferences.member = Shapes::ShapeRef.new(shape: ChallengePreference)
656
+
641
657
  CollectionIdList.member = Shapes::ShapeRef.new(shape: CollectionId)
642
658
 
643
659
  CompareFacesMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
@@ -747,6 +763,7 @@ module Aws::Rekognition
747
763
 
748
764
  CreateFaceLivenessSessionRequestSettings.add_member(:output_config, Shapes::ShapeRef.new(shape: LivenessOutputConfig, location_name: "OutputConfig"))
749
765
  CreateFaceLivenessSessionRequestSettings.add_member(:audit_images_limit, Shapes::ShapeRef.new(shape: AuditImagesLimit, location_name: "AuditImagesLimit"))
766
+ CreateFaceLivenessSessionRequestSettings.add_member(:challenge_preferences, Shapes::ShapeRef.new(shape: ChallengePreferences, location_name: "ChallengePreferences"))
750
767
  CreateFaceLivenessSessionRequestSettings.struct_class = Types::CreateFaceLivenessSessionRequestSettings
751
768
 
752
769
  CreateFaceLivenessSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: LivenessSessionId, required: true, location_name: "SessionId"))
@@ -792,7 +809,7 @@ module Aws::Rekognition
792
809
 
793
810
  CreateUserRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
794
811
  CreateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
795
- CreateUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
812
+ CreateUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
796
813
  CreateUserRequest.struct_class = Types::CreateUserRequest
797
814
 
798
815
  CreateUserResponse.struct_class = Types::CreateUserResponse
@@ -902,7 +919,7 @@ module Aws::Rekognition
902
919
 
903
920
  DeleteUserRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
904
921
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
905
- DeleteUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
922
+ DeleteUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
906
923
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
907
924
 
908
925
  DeleteUserResponse.struct_class = Types::DeleteUserResponse
@@ -1061,7 +1078,7 @@ module Aws::Rekognition
1061
1078
 
1062
1079
  DisassociateFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1063
1080
  DisassociateFacesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
1064
- DisassociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
1081
+ DisassociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
1065
1082
  DisassociateFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: UserFaceIdList, required: true, location_name: "FaceIds"))
1066
1083
  DisassociateFacesRequest.struct_class = Types::DisassociateFacesRequest
1067
1084
 
@@ -1275,6 +1292,7 @@ module Aws::Rekognition
1275
1292
  GetFaceLivenessSessionResultsResponse.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
1276
1293
  GetFaceLivenessSessionResultsResponse.add_member(:reference_image, Shapes::ShapeRef.new(shape: AuditImage, location_name: "ReferenceImage"))
1277
1294
  GetFaceLivenessSessionResultsResponse.add_member(:audit_images, Shapes::ShapeRef.new(shape: AuditImages, location_name: "AuditImages"))
1295
+ GetFaceLivenessSessionResultsResponse.add_member(:challenge, Shapes::ShapeRef.new(shape: Challenge, location_name: "Challenge"))
1278
1296
  GetFaceLivenessSessionResultsResponse.struct_class = Types::GetFaceLivenessSessionResultsResponse
1279
1297
 
1280
1298
  GetFaceSearchRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
@@ -1387,7 +1405,7 @@ module Aws::Rekognition
1387
1405
 
1388
1406
  HumanLoopActivationOutput.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, location_name: "HumanLoopArn"))
1389
1407
  HumanLoopActivationOutput.add_member(:human_loop_activation_reasons, Shapes::ShapeRef.new(shape: HumanLoopActivationReasons, location_name: "HumanLoopActivationReasons"))
1390
- HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue"=>true}))
1408
+ HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue" => true}))
1391
1409
  HumanLoopActivationOutput.struct_class = Types::HumanLoopActivationOutput
1392
1410
 
1393
1411
  HumanLoopActivationReasons.member = Shapes::ShapeRef.new(shape: HumanLoopActivationReason)
@@ -1965,7 +1983,7 @@ module Aws::Rekognition
1965
1983
  StartLabelDetectionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1966
1984
  StartLabelDetectionResponse.struct_class = Types::StartLabelDetectionResponse
1967
1985
 
1968
- StartMediaAnalysisJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
1986
+ StartMediaAnalysisJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true}))
1969
1987
  StartMediaAnalysisJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: MediaAnalysisJobName, location_name: "JobName"))
1970
1988
  StartMediaAnalysisJobRequest.add_member(:operations_config, Shapes::ShapeRef.new(shape: MediaAnalysisOperationsConfig, required: true, location_name: "OperationsConfig"))
1971
1989
  StartMediaAnalysisJobRequest.add_member(:input, Shapes::ShapeRef.new(shape: MediaAnalysisInput, required: true, location_name: "Input"))
@@ -2223,6 +2241,10 @@ module Aws::Rekognition
2223
2241
 
2224
2242
  VersionNames.member = Shapes::ShapeRef.new(shape: VersionName)
2225
2243
 
2244
+ Versions.add_member(:minimum, Shapes::ShapeRef.new(shape: Version, location_name: "Minimum"))
2245
+ Versions.add_member(:maximum, Shapes::ShapeRef.new(shape: Version, location_name: "Maximum"))
2246
+ Versions.struct_class = Types::Versions
2247
+
2226
2248
  Video.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
2227
2249
  Video.struct_class = Types::Video
2228
2250
 
@@ -13,22 +13,22 @@ module Aws::Rekognition
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -432,6 +432,44 @@ module Aws::Rekognition
432
432
  include Aws::Structure
433
433
  end
434
434
 
435
+ # Describes the type and version of the challenge being used for the
436
+ # Face Liveness session.
437
+ #
438
+ # @!attribute [rw] type
439
+ # The type of the challenge being used for the Face Liveness session.
440
+ # @return [String]
441
+ #
442
+ # @!attribute [rw] version
443
+ # The version of the challenge being used for the Face Liveness
444
+ # session.
445
+ # @return [String]
446
+ #
447
+ class Challenge < Struct.new(
448
+ :type,
449
+ :version)
450
+ SENSITIVE = []
451
+ include Aws::Structure
452
+ end
453
+
454
+ # An ordered list of preferred challenge type and versions.
455
+ #
456
+ # @!attribute [rw] type
457
+ # The types of challenges that have been selected for the Face
458
+ # Liveness session.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] versions
462
+ # The version of the challenges that have been selected for the Face
463
+ # Liveness session.
464
+ # @return [Types::Versions]
465
+ #
466
+ class ChallengePreference < Struct.new(
467
+ :type,
468
+ :versions)
469
+ SENSITIVE = []
470
+ include Aws::Structure
471
+ end
472
+
435
473
  # Provides information about a face in a target image that matches the
436
474
  # source image face analyzed by `CompareFaces`. The `Face` property
437
475
  # contains the bounding box of the face in the target image. The
@@ -974,9 +1012,15 @@ module Aws::Rekognition
974
1012
  # selfie-video.
975
1013
  # @return [Integer]
976
1014
  #
1015
+ # @!attribute [rw] challenge_preferences
1016
+ # Indicates preferred challenge types and versions for the Face
1017
+ # Liveness session to be created.
1018
+ # @return [Array<Types::ChallengePreference>]
1019
+ #
977
1020
  class CreateFaceLivenessSessionRequestSettings < Struct.new(
978
1021
  :output_config,
979
- :audit_images_limit)
1022
+ :audit_images_limit,
1023
+ :challenge_preferences)
980
1024
  SENSITIVE = []
981
1025
  include Aws::Structure
982
1026
  end
@@ -2717,12 +2761,14 @@ module Aws::Rekognition
2717
2761
  include Aws::Structure
2718
2762
  end
2719
2763
 
2720
- # The emotions that appear to be expressed on the face, and the
2721
- # confidence level in the determination. The API is only making a
2722
- # determination of the physical appearance of a person's face. It is
2723
- # not a determination of the person’s internal emotional state and
2724
- # should not be used in such a way. For example, a person pretending to
2725
- # have a sad face might not be sad emotionally.
2764
+ # The API returns a prediction of an emotion based on a person's facial
2765
+ # expressions, along with the confidence level for the predicted
2766
+ # emotion. It is not a determination of the persons internal emotional
2767
+ # state and should not be used in such a way. For example, a person
2768
+ # pretending to have a sad face might not be sad emotionally. The API is
2769
+ # not intended to be used, and you may not use it, in a manner that
2770
+ # violates the EU Artificial Intelligence Act or any other applicable
2771
+ # law.
2726
2772
  #
2727
2773
  # @!attribute [rw] type
2728
2774
  # Type of emotion detected.
@@ -3629,12 +3675,18 @@ module Aws::Rekognition
3629
3675
  # instead.
3630
3676
  # @return [Array<Types::AuditImage>]
3631
3677
  #
3678
+ # @!attribute [rw] challenge
3679
+ # Contains information regarding the challenge type used for the Face
3680
+ # Liveness check.
3681
+ # @return [Types::Challenge]
3682
+ #
3632
3683
  class GetFaceLivenessSessionResultsResponse < Struct.new(
3633
3684
  :session_id,
3634
3685
  :status,
3635
3686
  :confidence,
3636
3687
  :reference_image,
3637
- :audit_images)
3688
+ :audit_images,
3689
+ :challenge)
3638
3690
  SENSITIVE = []
3639
3691
  include Aws::Structure
3640
3692
  end
@@ -8266,6 +8318,23 @@ module Aws::Rekognition
8266
8318
  include Aws::Structure
8267
8319
  end
8268
8320
 
8321
+ # Object specifying the acceptable range of challenge versions.
8322
+ #
8323
+ # @!attribute [rw] minimum
8324
+ # The desired minimum version for the challenge.
8325
+ # @return [String]
8326
+ #
8327
+ # @!attribute [rw] maximum
8328
+ # The desired maximum version for the challenge.
8329
+ # @return [String]
8330
+ #
8331
+ class Versions < Struct.new(
8332
+ :minimum,
8333
+ :maximum)
8334
+ SENSITIVE = []
8335
+ include Aws::Structure
8336
+ end
8337
+
8269
8338
  # Video file stored in an Amazon S3 bucket. Amazon Rekognition video
8270
8339
  # start operations such as StartLabelDetection use `Video` to specify a
8271
8340
  # video for analysis. The supported file formats are .mp4, .mov and
@@ -55,7 +55,7 @@ module Aws::Rekognition
55
55
  autoload :EndpointProvider, 'aws-sdk-rekognition/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-rekognition/endpoints'
57
57
 
58
- GEM_VERSION = '1.113.0'
58
+ GEM_VERSION = '1.124.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -191,7 +192,16 @@ module Aws
191
192
  s3_bucket: ::String,
192
193
  s3_key_prefix: ::String?
193
194
  }?,
194
- audit_images_limit: ::Integer?
195
+ audit_images_limit: ::Integer?,
196
+ challenge_preferences: Array[
197
+ {
198
+ type: ("FaceMovementAndLightChallenge" | "FaceMovementChallenge"),
199
+ versions: {
200
+ minimum: ::String?,
201
+ maximum: ::String?
202
+ }?
203
+ },
204
+ ]?
195
205
  },
196
206
  ?client_request_token: ::String
197
207
  ) -> _CreateFaceLivenessSessionResponseSuccess
@@ -763,6 +773,7 @@ module Aws
763
773
  def confidence: () -> ::Float
764
774
  def reference_image: () -> Types::AuditImage
765
775
  def audit_images: () -> ::Array[Types::AuditImage]
776
+ def challenge: () -> Types::Challenge
766
777
  end
767
778
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#get_face_liveness_session_results-instance_method
768
779
  def get_face_liveness_session_results: (
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/types.rbs CHANGED
@@ -105,6 +105,18 @@ module Aws::Rekognition
105
105
  SENSITIVE: []
106
106
  end
107
107
 
108
+ class Challenge
109
+ attr_accessor type: ("FaceMovementAndLightChallenge" | "FaceMovementChallenge")
110
+ attr_accessor version: ::String
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class ChallengePreference
115
+ attr_accessor type: ("FaceMovementAndLightChallenge" | "FaceMovementChallenge")
116
+ attr_accessor versions: Types::Versions
117
+ SENSITIVE: []
118
+ end
119
+
108
120
  class CompareFacesMatch
109
121
  attr_accessor similarity: ::Float
110
122
  attr_accessor face: Types::ComparedFace
@@ -234,6 +246,7 @@ module Aws::Rekognition
234
246
  class CreateFaceLivenessSessionRequestSettings
235
247
  attr_accessor output_config: Types::LivenessOutputConfig
236
248
  attr_accessor audit_images_limit: ::Integer
249
+ attr_accessor challenge_preferences: ::Array[Types::ChallengePreference]
237
250
  SENSITIVE: []
238
251
  end
239
252
 
@@ -914,6 +927,7 @@ module Aws::Rekognition
914
927
  attr_accessor confidence: ::Float
915
928
  attr_accessor reference_image: Types::AuditImage
916
929
  attr_accessor audit_images: ::Array[Types::AuditImage]
930
+ attr_accessor challenge: Types::Challenge
917
931
  SENSITIVE: []
918
932
  end
919
933
 
@@ -2116,6 +2130,12 @@ module Aws::Rekognition
2116
2130
  SENSITIVE: []
2117
2131
  end
2118
2132
 
2133
+ class Versions
2134
+ attr_accessor minimum: ::String
2135
+ attr_accessor maximum: ::String
2136
+ SENSITIVE: []
2137
+ end
2138
+
2119
2139
  class Video
2120
2140
  attr_accessor s3_object: Types::S3Object
2121
2141
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rekognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.113.0
4
+ version: 1.124.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '3'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 3.216.0
21
+ version: 3.234.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '3'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 3.216.0
31
+ version: 3.234.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-sigv4
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +77,6 @@ licenses:
78
77
  metadata:
79
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rekognition
80
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rekognition/CHANGELOG.md
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -86,15 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
84
  requirements:
87
85
  - - ">="
88
86
  - !ruby/object:Gem::Version
89
- version: '2.5'
87
+ version: '2.7'
90
88
  required_rubygems_version: !ruby/object:Gem::Requirement
91
89
  requirements:
92
90
  - - ">="
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.4.10
97
- signing_key:
94
+ rubygems_version: 3.6.7
98
95
  specification_version: 4
99
96
  summary: AWS SDK for Ruby - Amazon Rekognition
100
97
  test_files: []