aws-sdk-rekognition 1.116.0 → 1.118.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +62 -13
- data/lib/aws-sdk-rekognition/client_api.rb +22 -0
- data/lib/aws-sdk-rekognition/types.rb +77 -8
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/sig/client.rbs +12 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +20 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29a6da4ab94cc1ae1ad742902083193cc869a1551d74e1674311e3ce6275ce0
|
4
|
+
data.tar.gz: 52b06ec9634840b4b88fe15c645ac462388f88db042c97a9c456d17093048f77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb1b03c56589c16e9d14b77cbe686f99a6ee127919b57838fe1d37fa3a6eed977ae3b3521add49529732a59f032a8cabd3c2f3cafa9c17386117da7da8cfbd6
|
7
|
+
data.tar.gz: f9e20ad48290cbbc7c3a639df382b41c6bfa9b49c9eef286a50808b0a4792f50883bd11800fc5cb90a33cd74a310f6fe3b0d0fc20aa098d2d62d0ec78e13c12f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.118.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.117.0 (2025-06-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for defining an ordered preference list of different Rekognition Face Liveness challenge types when calling CreateFaceLivenessSession.
|
13
|
+
|
4
14
|
1.116.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.0
|
@@ -95,7 +95,7 @@ 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
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::Rekognition
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::Rekognition
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::Rekognition
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::Rekognition
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -478,8 +488,14 @@ module Aws::Rekognition
|
|
478
488
|
|
479
489
|
# Associates one or more faces with an existing UserID. Takes an array
|
480
490
|
# of `FaceIds`. Each `FaceId` that are present in the `FaceIds` list is
|
481
|
-
# associated with the provided UserID. The
|
482
|
-
#
|
491
|
+
# associated with the provided UserID. The number of FaceIds that can be
|
492
|
+
# used as input in a single request is limited to 100.
|
493
|
+
#
|
494
|
+
# Note that the total number of faces that can be associated with a
|
495
|
+
# single `UserID` is also limited to 100. Once a `UserID` has 100 faces
|
496
|
+
# associated with it, no additional faces can be added. If more API
|
497
|
+
# calls are made after the limit is reached, a
|
498
|
+
# `ServiceQuotaExceededException` will result.
|
483
499
|
#
|
484
500
|
# The `UserMatchThreshold` parameter specifies the minimum user match
|
485
501
|
# confidence required for the face to be associated with a UserID that
|
@@ -1213,6 +1229,15 @@ module Aws::Rekognition
|
|
1213
1229
|
# s3_key_prefix: "LivenessS3KeyPrefix",
|
1214
1230
|
# },
|
1215
1231
|
# audit_images_limit: 1,
|
1232
|
+
# challenge_preferences: [
|
1233
|
+
# {
|
1234
|
+
# type: "FaceMovementAndLightChallenge", # required, accepts FaceMovementAndLightChallenge, FaceMovementChallenge
|
1235
|
+
# versions: {
|
1236
|
+
# minimum: "Version",
|
1237
|
+
# maximum: "Version",
|
1238
|
+
# },
|
1239
|
+
# },
|
1240
|
+
# ],
|
1216
1241
|
# },
|
1217
1242
|
# client_request_token: "ClientRequestToken",
|
1218
1243
|
# })
|
@@ -2627,8 +2652,7 @@ module Aws::Rekognition
|
|
2627
2652
|
# `CustomLabel` object provides the label name (`Name`), the level of
|
2628
2653
|
# confidence that the image contains the object (`Confidence`), and
|
2629
2654
|
# object location information, if it exists, for the label on the image
|
2630
|
-
# (`Geometry`).
|
2631
|
-
# `Polygons` are not returned in the `Geometry` section of the response.
|
2655
|
+
# (`Geometry`).
|
2632
2656
|
#
|
2633
2657
|
# To filter labels that are returned, specify a value for
|
2634
2658
|
# `MinConfidence`. `DetectCustomLabelsLabels` only returns labels with a
|
@@ -4266,6 +4290,7 @@ module Aws::Rekognition
|
|
4266
4290
|
# * {Types::GetFaceLivenessSessionResultsResponse#confidence #confidence} => Float
|
4267
4291
|
# * {Types::GetFaceLivenessSessionResultsResponse#reference_image #reference_image} => Types::AuditImage
|
4268
4292
|
# * {Types::GetFaceLivenessSessionResultsResponse#audit_images #audit_images} => Array<Types::AuditImage>
|
4293
|
+
# * {Types::GetFaceLivenessSessionResultsResponse#challenge #challenge} => Types::Challenge
|
4269
4294
|
#
|
4270
4295
|
# @example Request syntax with placeholder values
|
4271
4296
|
#
|
@@ -4295,6 +4320,8 @@ module Aws::Rekognition
|
|
4295
4320
|
# resp.audit_images[0].bounding_box.height #=> Float
|
4296
4321
|
# resp.audit_images[0].bounding_box.left #=> Float
|
4297
4322
|
# resp.audit_images[0].bounding_box.top #=> Float
|
4323
|
+
# resp.challenge.type #=> String, one of "FaceMovementAndLightChallenge", "FaceMovementChallenge"
|
4324
|
+
# resp.challenge.version #=> String
|
4298
4325
|
#
|
4299
4326
|
# @overload get_face_liveness_session_results(params = {})
|
4300
4327
|
# @param [Hash] params ({})
|
@@ -4761,6 +4788,13 @@ module Aws::Rekognition
|
|
4761
4788
|
req.send_request(options)
|
4762
4789
|
end
|
4763
4790
|
|
4791
|
+
# <note markdown="1"> *End of support notice:* On October 31, 2025, AWS will discontinue
|
4792
|
+
# support for Amazon Rekognition People Pathing. After October 31, 2025,
|
4793
|
+
# you will no longer be able to use the Rekognition People Pathing
|
4794
|
+
# capability. For more information, visit this [blog post][1].
|
4795
|
+
#
|
4796
|
+
# </note>
|
4797
|
+
#
|
4764
4798
|
# Gets the path tracking results of a Amazon Rekognition Video analysis
|
4765
4799
|
# started by StartPersonTracking.
|
4766
4800
|
#
|
@@ -4800,6 +4834,10 @@ module Aws::Rekognition
|
|
4800
4834
|
# with the token value returned from the previous call to
|
4801
4835
|
# `GetPersonTracking`.
|
4802
4836
|
#
|
4837
|
+
#
|
4838
|
+
#
|
4839
|
+
# [1]: https://aws.amazon.com/blogs/machine-learning/transitioning-from-amazon-rekognition-people-pathing-exploring-other-alternatives/
|
4840
|
+
#
|
4803
4841
|
# @option params [required, String] :job_id
|
4804
4842
|
# The identifier for a job that tracks persons in a video. You get the
|
4805
4843
|
# `JobId` from a call to `StartPersonTracking`.
|
@@ -7764,6 +7802,13 @@ module Aws::Rekognition
|
|
7764
7802
|
req.send_request(options)
|
7765
7803
|
end
|
7766
7804
|
|
7805
|
+
# <note markdown="1"> *End of support notice:* On October 31, 2025, AWS will discontinue
|
7806
|
+
# support for Amazon Rekognition People Pathing. After October 31, 2025,
|
7807
|
+
# you will no longer be able to use the Rekognition People Pathing
|
7808
|
+
# capability. For more information, visit this [blog post][1].
|
7809
|
+
#
|
7810
|
+
# </note>
|
7811
|
+
#
|
7767
7812
|
# Starts the asynchronous tracking of a person's path in a stored
|
7768
7813
|
# video.
|
7769
7814
|
#
|
@@ -7780,6 +7825,10 @@ module Aws::Rekognition
|
|
7780
7825
|
# so, call GetPersonTracking and pass the job identifier (`JobId`) from
|
7781
7826
|
# the initial call to `StartPersonTracking`.
|
7782
7827
|
#
|
7828
|
+
#
|
7829
|
+
#
|
7830
|
+
# [1]: https://aws.amazon.com/blogs/machine-learning/transitioning-from-amazon-rekognition-people-pathing-exploring-other-alternatives/
|
7831
|
+
#
|
7783
7832
|
# @option params [required, Types::Video] :video
|
7784
7833
|
# The video in which you want to detect people. The video must be stored
|
7785
7834
|
# in an Amazon S3 bucket.
|
@@ -8481,7 +8530,7 @@ module Aws::Rekognition
|
|
8481
8530
|
tracer: tracer
|
8482
8531
|
)
|
8483
8532
|
context[:gem_name] = 'aws-sdk-rekognition'
|
8484
|
-
context[:gem_version] = '1.
|
8533
|
+
context[:gem_version] = '1.118.0'
|
8485
8534
|
Seahorse::Client::Request.new(handlers, context)
|
8486
8535
|
end
|
8487
8536
|
|
@@ -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')
|
@@ -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"))
|
@@ -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"))
|
@@ -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
|
|
@@ -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
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
# not
|
2724
|
-
#
|
2725
|
-
#
|
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 person’s 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
|
data/lib/aws-sdk-rekognition.rb
CHANGED
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rekognition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.118.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|