aws-sdk-rekognition 1.136.0 → 1.137.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +134 -1
- data/lib/aws-sdk-rekognition/client_api.rb +17 -0
- data/lib/aws-sdk-rekognition/types.rb +58 -1
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d98f5019715baedad554ff921371a6292fe61635a76d1b6ce4a82a5bae5d042a
|
|
4
|
+
data.tar.gz: '02894b20b6a6d682b6d5497f79d465b88a5969bfa774ece7a592c75734706cf9'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4b7457b39de9f975a47aa3b7d38c18fa4af5048a1bfd3adc37ad6348cc1540590e18775b1a64ac03b813ceadfdd09d95305b0c7fb74982f53078207b6745b0b
|
|
7
|
+
data.tar.gz: b6e2f7f8da5411abde63dbd0b38de218a955c3fd77eaaa3c2637c4a6bcde58ae4d388b595ca81b4f8db2566cfaff8a382f8f929c2d1607382f58e21af709902e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.137.0 (2026-09-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for Feedback and Metadata in the GetFaceLivenessSessionResults response. Feedback returns codes explaining why a Face Liveness check produced its result. Metadata includes the client SDK type.
|
|
8
|
+
|
|
4
9
|
1.136.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.137.0
|
|
@@ -1195,6 +1195,18 @@ module Aws::Rekognition
|
|
|
1195
1195
|
# is between 0 and 4. By default, it is set to 0. The limit is best
|
|
1196
1196
|
# effort and based on the duration of the selfie-video.
|
|
1197
1197
|
#
|
|
1198
|
+
# You can use the `ChallengePreferences` option in the `Settings`
|
|
1199
|
+
# parameter to choose between the 'FaceMovementAndLightChallenge' or
|
|
1200
|
+
# FaceMovementChallenge' settings. See the [Shared Responsibility][1]
|
|
1201
|
+
# page for details on guidance for which setting to choose between these
|
|
1202
|
+
# two settings depending on your use case and preferences. This
|
|
1203
|
+
# parameter is optional and if no parameter is provided, then the
|
|
1204
|
+
# 'FaceMovementAndLightChallenge' settings is applied by default.
|
|
1205
|
+
#
|
|
1206
|
+
#
|
|
1207
|
+
#
|
|
1208
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness-shared-responsibility-model.html
|
|
1209
|
+
#
|
|
1198
1210
|
# @option params [String] :kms_key_id
|
|
1199
1211
|
# The identifier for your AWS Key Management Service key (AWS KMS key).
|
|
1200
1212
|
# Used to encrypt audit images and reference images.
|
|
@@ -1491,6 +1503,13 @@ module Aws::Rekognition
|
|
|
1491
1503
|
req.send_request(options)
|
|
1492
1504
|
end
|
|
1493
1505
|
|
|
1506
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
1507
|
+
# is no longer available to new customers. For more information, see
|
|
1508
|
+
# [Rekognition feature availability changes][1].
|
|
1509
|
+
#
|
|
1510
|
+
# **This change does not impact the availability of other Amazon
|
|
1511
|
+
# Rekognition features.**
|
|
1512
|
+
#
|
|
1494
1513
|
# Creates an Amazon Rekognition stream processor that you can use to
|
|
1495
1514
|
# detect and recognize faces or to detect labels in a streaming video.
|
|
1496
1515
|
#
|
|
@@ -1530,6 +1549,10 @@ module Aws::Rekognition
|
|
|
1530
1549
|
# stream processor, you also require permission to perform the
|
|
1531
1550
|
# `rekognition:TagResource` operation.
|
|
1532
1551
|
#
|
|
1552
|
+
#
|
|
1553
|
+
#
|
|
1554
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
1555
|
+
#
|
|
1533
1556
|
# @option params [required, Types::StreamProcessorInput] :input
|
|
1534
1557
|
# Kinesis video stream stream that provides the source streaming video.
|
|
1535
1558
|
# If you are using the AWS CLI, the parameter name is
|
|
@@ -2049,12 +2072,23 @@ module Aws::Rekognition
|
|
|
2049
2072
|
req.send_request(options)
|
|
2050
2073
|
end
|
|
2051
2074
|
|
|
2075
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
2076
|
+
# is no longer available to new customers. For more information, see
|
|
2077
|
+
# [Rekognition feature availability changes][1].
|
|
2078
|
+
#
|
|
2079
|
+
# **This change does not impact the availability of other Amazon
|
|
2080
|
+
# Rekognition features.**
|
|
2081
|
+
#
|
|
2052
2082
|
# Deletes the stream processor identified by `Name`. You assign the
|
|
2053
2083
|
# value for `Name` when you create the stream processor with
|
|
2054
2084
|
# CreateStreamProcessor. You might not be able to use the same name for
|
|
2055
2085
|
# a stream processor for a few seconds after calling
|
|
2056
2086
|
# `DeleteStreamProcessor`.
|
|
2057
2087
|
#
|
|
2088
|
+
#
|
|
2089
|
+
#
|
|
2090
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
2091
|
+
#
|
|
2058
2092
|
# @option params [required, String] :name
|
|
2059
2093
|
# The name of the stream processor you want to delete.
|
|
2060
2094
|
#
|
|
@@ -2559,11 +2593,22 @@ module Aws::Rekognition
|
|
|
2559
2593
|
req.send_request(options)
|
|
2560
2594
|
end
|
|
2561
2595
|
|
|
2596
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
2597
|
+
# is no longer available to new customers. For more information, see
|
|
2598
|
+
# [Rekognition feature availability changes][1].
|
|
2599
|
+
#
|
|
2600
|
+
# **This change does not impact the availability of other Amazon
|
|
2601
|
+
# Rekognition features.**
|
|
2602
|
+
#
|
|
2562
2603
|
# Provides information about a stream processor created by
|
|
2563
2604
|
# CreateStreamProcessor. You can get information about the input and
|
|
2564
2605
|
# output streams, the input parameters for the face recognition being
|
|
2565
2606
|
# performed, and the current status of the stream processor.
|
|
2566
2607
|
#
|
|
2608
|
+
#
|
|
2609
|
+
#
|
|
2610
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
2611
|
+
#
|
|
2567
2612
|
# @option params [required, String] :name
|
|
2568
2613
|
# Name of the stream processor for which you want information.
|
|
2569
2614
|
#
|
|
@@ -4273,6 +4318,11 @@ module Aws::Rekognition
|
|
|
4273
4318
|
# `CreateFaceLivenessSession`. Reference images are always returned when
|
|
4274
4319
|
# possible.
|
|
4275
4320
|
#
|
|
4321
|
+
# For a session that has completed, the response can also include a
|
|
4322
|
+
# `Feedback` list describing conditions that were detected in the
|
|
4323
|
+
# selfie-video, such as low lighting or an obstructed face, and
|
|
4324
|
+
# `Metadata` about the client that streamed the session.
|
|
4325
|
+
#
|
|
4276
4326
|
# @option params [required, String] :session_id
|
|
4277
4327
|
# A unique 128-bit UUID. This is used to uniquely identify the session
|
|
4278
4328
|
# and also acts as an idempotency token for all operations associated
|
|
@@ -4286,6 +4336,8 @@ module Aws::Rekognition
|
|
|
4286
4336
|
# * {Types::GetFaceLivenessSessionResultsResponse#reference_image #reference_image} => Types::AuditImage
|
|
4287
4337
|
# * {Types::GetFaceLivenessSessionResultsResponse#audit_images #audit_images} => Array<Types::AuditImage>
|
|
4288
4338
|
# * {Types::GetFaceLivenessSessionResultsResponse#challenge #challenge} => Types::Challenge
|
|
4339
|
+
# * {Types::GetFaceLivenessSessionResultsResponse#feedback #feedback} => Array<Types::FeedbackItem>
|
|
4340
|
+
# * {Types::GetFaceLivenessSessionResultsResponse#metadata #metadata} => Types::SessionMetadata
|
|
4289
4341
|
#
|
|
4290
4342
|
# @example Request syntax with placeholder values
|
|
4291
4343
|
#
|
|
@@ -4317,6 +4369,10 @@ module Aws::Rekognition
|
|
|
4317
4369
|
# resp.audit_images[0].bounding_box.top #=> Float
|
|
4318
4370
|
# resp.challenge.type #=> String, one of "FaceMovementAndLightChallenge", "FaceMovementChallenge"
|
|
4319
4371
|
# resp.challenge.version #=> String
|
|
4372
|
+
# resp.feedback #=> Array
|
|
4373
|
+
# resp.feedback[0].code #=> String, one of "FACE_NOT_VISIBLE", "FACE_OBSTRUCTION_DETECTED", "LOW_VIDEO_QUALITY_DETECTED", "FACE_NOT_ALIGNED", "EYES_CLOSED_DETECTED", "LOW_LIGHTING_DETECTED", "HIGH_LIGHTING_DETECTED"
|
|
4374
|
+
# resp.feedback[0].message #=> String
|
|
4375
|
+
# resp.metadata.sdk_type #=> String
|
|
4320
4376
|
#
|
|
4321
4377
|
# @overload get_face_liveness_session_results(params = {})
|
|
4322
4378
|
# @param [Hash] params ({})
|
|
@@ -4677,9 +4733,20 @@ module Aws::Rekognition
|
|
|
4677
4733
|
req.send_request(options)
|
|
4678
4734
|
end
|
|
4679
4735
|
|
|
4736
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
4737
|
+
# is no longer available to new customers. For more information, see
|
|
4738
|
+
# [Rekognition feature availability changes][1].
|
|
4739
|
+
#
|
|
4740
|
+
# **This change does not impact the availability of other Amazon
|
|
4741
|
+
# Rekognition features.**
|
|
4742
|
+
#
|
|
4680
4743
|
# Retrieves the results for a given media analysis job. Takes a `JobId`
|
|
4681
4744
|
# returned by StartMediaAnalysisJob.
|
|
4682
4745
|
#
|
|
4746
|
+
#
|
|
4747
|
+
#
|
|
4748
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
4749
|
+
#
|
|
4683
4750
|
# @option params [required, String] :job_id
|
|
4684
4751
|
# Unique identifier for the media analysis job for which you want to
|
|
4685
4752
|
# retrieve results.
|
|
@@ -6026,9 +6093,20 @@ module Aws::Rekognition
|
|
|
6026
6093
|
req.send_request(options)
|
|
6027
6094
|
end
|
|
6028
6095
|
|
|
6096
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
6097
|
+
# is no longer available to new customers. For more information, see
|
|
6098
|
+
# [Rekognition feature availability changes][1].
|
|
6099
|
+
#
|
|
6100
|
+
# **This change does not impact the availability of other Amazon
|
|
6101
|
+
# Rekognition features.**
|
|
6102
|
+
#
|
|
6029
6103
|
# Returns a list of media analysis jobs. Results are sorted by
|
|
6030
6104
|
# `CreationTimestamp` in descending order.
|
|
6031
6105
|
#
|
|
6106
|
+
#
|
|
6107
|
+
#
|
|
6108
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
6109
|
+
#
|
|
6032
6110
|
# @option params [String] :next_token
|
|
6033
6111
|
# Pagination token, if the previous response was incomplete.
|
|
6034
6112
|
#
|
|
@@ -6222,9 +6300,20 @@ module Aws::Rekognition
|
|
|
6222
6300
|
req.send_request(options)
|
|
6223
6301
|
end
|
|
6224
6302
|
|
|
6303
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
6304
|
+
# is no longer available to new customers. For more information, see
|
|
6305
|
+
# [Rekognition feature availability changes][1].
|
|
6306
|
+
#
|
|
6307
|
+
# **This change does not impact the availability of other Amazon
|
|
6308
|
+
# Rekognition features.**
|
|
6309
|
+
#
|
|
6225
6310
|
# Gets a list of stream processors that you have created with
|
|
6226
6311
|
# CreateStreamProcessor.
|
|
6227
6312
|
#
|
|
6313
|
+
#
|
|
6314
|
+
#
|
|
6315
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
6316
|
+
#
|
|
6228
6317
|
# @option params [String] :next_token
|
|
6229
6318
|
# If the previous response was incomplete (because there are more stream
|
|
6230
6319
|
# processors to retrieve), Amazon Rekognition Video returns a pagination
|
|
@@ -7695,10 +7784,21 @@ module Aws::Rekognition
|
|
|
7695
7784
|
req.send_request(options)
|
|
7696
7785
|
end
|
|
7697
7786
|
|
|
7787
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
7788
|
+
# is no longer available to new customers. For more information, see
|
|
7789
|
+
# [Rekognition feature availability changes][1].
|
|
7790
|
+
#
|
|
7791
|
+
# **This change does not impact the availability of other Amazon
|
|
7792
|
+
# Rekognition features.**
|
|
7793
|
+
#
|
|
7698
7794
|
# Initiates a new media analysis job. Accepts a manifest file in an
|
|
7699
7795
|
# Amazon S3 bucket. The output is a manifest file and a summary of the
|
|
7700
7796
|
# manifest stored in the Amazon S3 bucket.
|
|
7701
7797
|
#
|
|
7798
|
+
#
|
|
7799
|
+
#
|
|
7800
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
7801
|
+
#
|
|
7702
7802
|
# @option params [String] :client_request_token
|
|
7703
7803
|
# Idempotency token used to prevent the accidental creation of duplicate
|
|
7704
7804
|
# versions. If you use the same token with multiple
|
|
@@ -8056,6 +8156,13 @@ module Aws::Rekognition
|
|
|
8056
8156
|
req.send_request(options)
|
|
8057
8157
|
end
|
|
8058
8158
|
|
|
8159
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
8160
|
+
# is no longer available to new customers. For more information, see
|
|
8161
|
+
# [Rekognition feature availability changes][1].
|
|
8162
|
+
#
|
|
8163
|
+
# **This change does not impact the availability of other Amazon
|
|
8164
|
+
# Rekognition features.**
|
|
8165
|
+
#
|
|
8059
8166
|
# Starts processing a stream processor. You create a stream processor by
|
|
8060
8167
|
# calling CreateStreamProcessor. To tell `StartStreamProcessor` which
|
|
8061
8168
|
# stream processor to start, use the value of the `Name` field specified
|
|
@@ -8065,6 +8172,10 @@ module Aws::Rekognition
|
|
|
8065
8172
|
# you need to provide a `Start selector` and a `Stop selector` to
|
|
8066
8173
|
# determine the length of the stream processing time.
|
|
8067
8174
|
#
|
|
8175
|
+
#
|
|
8176
|
+
#
|
|
8177
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
8178
|
+
#
|
|
8068
8179
|
# @option params [required, String] :name
|
|
8069
8180
|
# The name of the stream processor to start processing.
|
|
8070
8181
|
#
|
|
@@ -8280,9 +8391,20 @@ module Aws::Rekognition
|
|
|
8280
8391
|
req.send_request(options)
|
|
8281
8392
|
end
|
|
8282
8393
|
|
|
8394
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
8395
|
+
# is no longer available to new customers. For more information, see
|
|
8396
|
+
# [Rekognition feature availability changes][1].
|
|
8397
|
+
#
|
|
8398
|
+
# **This change does not impact the availability of other Amazon
|
|
8399
|
+
# Rekognition features.**
|
|
8400
|
+
#
|
|
8283
8401
|
# Stops a running stream processor that was created by
|
|
8284
8402
|
# CreateStreamProcessor.
|
|
8285
8403
|
#
|
|
8404
|
+
#
|
|
8405
|
+
#
|
|
8406
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
8407
|
+
#
|
|
8286
8408
|
# @option params [required, String] :name
|
|
8287
8409
|
# The name of a stream processor created by CreateStreamProcessor.
|
|
8288
8410
|
#
|
|
@@ -8441,9 +8563,20 @@ module Aws::Rekognition
|
|
|
8441
8563
|
req.send_request(options)
|
|
8442
8564
|
end
|
|
8443
8565
|
|
|
8566
|
+
# Service availability notice: Streaming Video and Bulk Image Analysis
|
|
8567
|
+
# is no longer available to new customers. For more information, see
|
|
8568
|
+
# [Rekognition feature availability changes][1].
|
|
8569
|
+
#
|
|
8570
|
+
# **This change does not impact the availability of other Amazon
|
|
8571
|
+
# Rekognition features.**
|
|
8572
|
+
#
|
|
8444
8573
|
# Allows you to update a stream processor. You can change some settings
|
|
8445
8574
|
# and regions of interest and delete certain parameters.
|
|
8446
8575
|
#
|
|
8576
|
+
#
|
|
8577
|
+
#
|
|
8578
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html
|
|
8579
|
+
#
|
|
8447
8580
|
# @option params [required, String] :name
|
|
8448
8581
|
# Name of the stream processor that you want to update.
|
|
8449
8582
|
#
|
|
@@ -8525,7 +8658,7 @@ module Aws::Rekognition
|
|
|
8525
8658
|
tracer: tracer
|
|
8526
8659
|
)
|
|
8527
8660
|
context[:gem_name] = 'aws-sdk-rekognition'
|
|
8528
|
-
context[:gem_version] = '1.
|
|
8661
|
+
context[:gem_version] = '1.137.0'
|
|
8529
8662
|
Seahorse::Client::Request.new(handlers, context)
|
|
8530
8663
|
end
|
|
8531
8664
|
|
|
@@ -201,6 +201,10 @@ module Aws::Rekognition
|
|
|
201
201
|
FaceRecordList = Shapes::ListShape.new(name: 'FaceRecordList')
|
|
202
202
|
FaceSearchSettings = Shapes::StructureShape.new(name: 'FaceSearchSettings')
|
|
203
203
|
FaceSearchSortBy = Shapes::StringShape.new(name: 'FaceSearchSortBy')
|
|
204
|
+
FeedbackCode = Shapes::StringShape.new(name: 'FeedbackCode')
|
|
205
|
+
FeedbackItem = Shapes::StructureShape.new(name: 'FeedbackItem')
|
|
206
|
+
FeedbackList = Shapes::ListShape.new(name: 'FeedbackList')
|
|
207
|
+
FeedbackMessage = Shapes::StringShape.new(name: 'FeedbackMessage')
|
|
204
208
|
Float = Shapes::FloatShape.new(name: 'Float')
|
|
205
209
|
FlowDefinitionArn = Shapes::StringShape.new(name: 'FlowDefinitionArn')
|
|
206
210
|
Gender = Shapes::StructureShape.new(name: 'Gender')
|
|
@@ -417,6 +421,7 @@ module Aws::Rekognition
|
|
|
417
421
|
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
|
418
422
|
S3ObjectName = Shapes::StringShape.new(name: 'S3ObjectName')
|
|
419
423
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
|
424
|
+
SDKTypeString = Shapes::StringShape.new(name: 'SDKTypeString')
|
|
420
425
|
SNSTopicArn = Shapes::StringShape.new(name: 'SNSTopicArn')
|
|
421
426
|
SearchFacesByImageRequest = Shapes::StructureShape.new(name: 'SearchFacesByImageRequest')
|
|
422
427
|
SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
|
|
@@ -437,6 +442,7 @@ module Aws::Rekognition
|
|
|
437
442
|
SegmentTypes = Shapes::ListShape.new(name: 'SegmentTypes')
|
|
438
443
|
SegmentTypesInfo = Shapes::ListShape.new(name: 'SegmentTypesInfo')
|
|
439
444
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
445
|
+
SessionMetadata = Shapes::StructureShape.new(name: 'SessionMetadata')
|
|
440
446
|
SessionNotFoundException = Shapes::StructureShape.new(name: 'SessionNotFoundException')
|
|
441
447
|
ShotSegment = Shapes::StructureShape.new(name: 'ShotSegment')
|
|
442
448
|
Smile = Shapes::StructureShape.new(name: 'Smile')
|
|
@@ -1206,6 +1212,12 @@ module Aws::Rekognition
|
|
|
1206
1212
|
FaceSearchSettings.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
|
|
1207
1213
|
FaceSearchSettings.struct_class = Types::FaceSearchSettings
|
|
1208
1214
|
|
|
1215
|
+
FeedbackItem.add_member(:code, Shapes::ShapeRef.new(shape: FeedbackCode, required: true, location_name: "Code"))
|
|
1216
|
+
FeedbackItem.add_member(:message, Shapes::ShapeRef.new(shape: FeedbackMessage, required: true, location_name: "Message"))
|
|
1217
|
+
FeedbackItem.struct_class = Types::FeedbackItem
|
|
1218
|
+
|
|
1219
|
+
FeedbackList.member = Shapes::ShapeRef.new(shape: FeedbackItem)
|
|
1220
|
+
|
|
1209
1221
|
Gender.add_member(:value, Shapes::ShapeRef.new(shape: GenderType, location_name: "Value"))
|
|
1210
1222
|
Gender.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
|
1211
1223
|
Gender.struct_class = Types::Gender
|
|
@@ -1293,6 +1305,8 @@ module Aws::Rekognition
|
|
|
1293
1305
|
GetFaceLivenessSessionResultsResponse.add_member(:reference_image, Shapes::ShapeRef.new(shape: AuditImage, location_name: "ReferenceImage"))
|
|
1294
1306
|
GetFaceLivenessSessionResultsResponse.add_member(:audit_images, Shapes::ShapeRef.new(shape: AuditImages, location_name: "AuditImages"))
|
|
1295
1307
|
GetFaceLivenessSessionResultsResponse.add_member(:challenge, Shapes::ShapeRef.new(shape: Challenge, location_name: "Challenge"))
|
|
1308
|
+
GetFaceLivenessSessionResultsResponse.add_member(:feedback, Shapes::ShapeRef.new(shape: FeedbackList, location_name: "Feedback"))
|
|
1309
|
+
GetFaceLivenessSessionResultsResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: SessionMetadata, location_name: "Metadata"))
|
|
1296
1310
|
GetFaceLivenessSessionResultsResponse.struct_class = Types::GetFaceLivenessSessionResultsResponse
|
|
1297
1311
|
|
|
1298
1312
|
GetFaceSearchRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
|
@@ -1921,6 +1935,9 @@ module Aws::Rekognition
|
|
|
1921
1935
|
|
|
1922
1936
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
1923
1937
|
|
|
1938
|
+
SessionMetadata.add_member(:sdk_type, Shapes::ShapeRef.new(shape: SDKTypeString, required: true, location_name: "SDKType"))
|
|
1939
|
+
SessionMetadata.struct_class = Types::SessionMetadata
|
|
1940
|
+
|
|
1924
1941
|
SessionNotFoundException.struct_class = Types::SessionNotFoundException
|
|
1925
1942
|
|
|
1926
1943
|
ShotSegment.add_member(:index, Shapes::ShapeRef.new(shape: ULong, location_name: "Index"))
|
|
@@ -3196,6 +3196,28 @@ module Aws::Rekognition
|
|
|
3196
3196
|
include Aws::Structure
|
|
3197
3197
|
end
|
|
3198
3198
|
|
|
3199
|
+
# Describes a condition that was detected in the Face Liveness video and
|
|
3200
|
+
# that contributed to the confidence score returned for the session.
|
|
3201
|
+
#
|
|
3202
|
+
# @!attribute [rw] code
|
|
3203
|
+
# A code identifying the condition that was detected during the Face
|
|
3204
|
+
# Liveness session.
|
|
3205
|
+
# @return [String]
|
|
3206
|
+
#
|
|
3207
|
+
# @!attribute [rw] message
|
|
3208
|
+
# A human-readable description of the detected condition, suitable for
|
|
3209
|
+
# displaying to an end user before they retry a Face Liveness check.
|
|
3210
|
+
# Use `Code` rather than this message for programmatic decisions,
|
|
3211
|
+
# because the message text can change.
|
|
3212
|
+
# @return [String]
|
|
3213
|
+
#
|
|
3214
|
+
class FeedbackItem < Struct.new(
|
|
3215
|
+
:code,
|
|
3216
|
+
:message)
|
|
3217
|
+
SENSITIVE = []
|
|
3218
|
+
include Aws::Structure
|
|
3219
|
+
end
|
|
3220
|
+
|
|
3199
3221
|
# The predicted gender of a detected face.
|
|
3200
3222
|
#
|
|
3201
3223
|
# Amazon Rekognition makes gender binary (male/female) predictions based
|
|
@@ -3680,13 +3702,28 @@ module Aws::Rekognition
|
|
|
3680
3702
|
# Liveness check.
|
|
3681
3703
|
# @return [Types::Challenge]
|
|
3682
3704
|
#
|
|
3705
|
+
# @!attribute [rw] feedback
|
|
3706
|
+
# A list of conditions that were detected in the Face Liveness video
|
|
3707
|
+
# and that contributed to the returned `Confidence` score. Each item
|
|
3708
|
+
# contains a code and a human-readable message. Feedback is returned
|
|
3709
|
+
# only for sessions with a `Status` of `SUCCEEDED`, and the list is
|
|
3710
|
+
# empty when no such conditions were detected.
|
|
3711
|
+
# @return [Array<Types::FeedbackItem>]
|
|
3712
|
+
#
|
|
3713
|
+
# @!attribute [rw] metadata
|
|
3714
|
+
# Metadata about the client that streamed the video for the Face
|
|
3715
|
+
# Liveness session.
|
|
3716
|
+
# @return [Types::SessionMetadata]
|
|
3717
|
+
#
|
|
3683
3718
|
class GetFaceLivenessSessionResultsResponse < Struct.new(
|
|
3684
3719
|
:session_id,
|
|
3685
3720
|
:status,
|
|
3686
3721
|
:confidence,
|
|
3687
3722
|
:reference_image,
|
|
3688
3723
|
:audit_images,
|
|
3689
|
-
:challenge
|
|
3724
|
+
:challenge,
|
|
3725
|
+
:feedback,
|
|
3726
|
+
:metadata)
|
|
3690
3727
|
SENSITIVE = []
|
|
3691
3728
|
include Aws::Structure
|
|
3692
3729
|
end
|
|
@@ -6831,6 +6868,26 @@ module Aws::Rekognition
|
|
|
6831
6868
|
#
|
|
6832
6869
|
class ServiceQuotaExceededException < Aws::EmptyStructure; end
|
|
6833
6870
|
|
|
6871
|
+
# Contains metadata about the client that streamed the video for a Face
|
|
6872
|
+
# Liveness session.
|
|
6873
|
+
#
|
|
6874
|
+
# @!attribute [rw] sdk_type
|
|
6875
|
+
# The type of SDK that was used to stream the video for the Face
|
|
6876
|
+
# Liveness session.
|
|
6877
|
+
#
|
|
6878
|
+
# <note markdown="1"> This value is self-reported by the client that streamed the session,
|
|
6879
|
+
# and Amazon Rekognition doesn't verify it. Don't rely on it for
|
|
6880
|
+
# authentication, authorization, or any other security decision.
|
|
6881
|
+
#
|
|
6882
|
+
# </note>
|
|
6883
|
+
# @return [String]
|
|
6884
|
+
#
|
|
6885
|
+
class SessionMetadata < Struct.new(
|
|
6886
|
+
:sdk_type)
|
|
6887
|
+
SENSITIVE = []
|
|
6888
|
+
include Aws::Structure
|
|
6889
|
+
end
|
|
6890
|
+
|
|
6834
6891
|
# Occurs when a given sessionId is not found.
|
|
6835
6892
|
#
|
|
6836
6893
|
class SessionNotFoundException < Aws::EmptyStructure; end
|
data/lib/aws-sdk-rekognition.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -676,6 +676,8 @@ module Aws
|
|
|
676
676
|
def reference_image: () -> Types::AuditImage
|
|
677
677
|
def audit_images: () -> ::Array[Types::AuditImage]
|
|
678
678
|
def challenge: () -> Types::Challenge
|
|
679
|
+
def feedback: () -> ::Array[Types::FeedbackItem]
|
|
680
|
+
def metadata: () -> Types::SessionMetadata
|
|
679
681
|
end
|
|
680
682
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#get_face_liveness_session_results-instance_method
|
|
681
683
|
def get_face_liveness_session_results: (
|
data/sig/types.rbs
CHANGED
|
@@ -816,6 +816,12 @@ module Aws::Rekognition
|
|
|
816
816
|
SENSITIVE: []
|
|
817
817
|
end
|
|
818
818
|
|
|
819
|
+
class FeedbackItem
|
|
820
|
+
attr_accessor code: ("FACE_NOT_VISIBLE" | "FACE_OBSTRUCTION_DETECTED" | "LOW_VIDEO_QUALITY_DETECTED" | "FACE_NOT_ALIGNED" | "EYES_CLOSED_DETECTED" | "LOW_LIGHTING_DETECTED" | "HIGH_LIGHTING_DETECTED")
|
|
821
|
+
attr_accessor message: ::String
|
|
822
|
+
SENSITIVE: []
|
|
823
|
+
end
|
|
824
|
+
|
|
819
825
|
class Gender
|
|
820
826
|
attr_accessor value: ("Male" | "Female")
|
|
821
827
|
attr_accessor confidence: ::Float
|
|
@@ -928,6 +934,8 @@ module Aws::Rekognition
|
|
|
928
934
|
attr_accessor reference_image: Types::AuditImage
|
|
929
935
|
attr_accessor audit_images: ::Array[Types::AuditImage]
|
|
930
936
|
attr_accessor challenge: Types::Challenge
|
|
937
|
+
attr_accessor feedback: ::Array[Types::FeedbackItem]
|
|
938
|
+
attr_accessor metadata: Types::SessionMetadata
|
|
931
939
|
SENSITIVE: []
|
|
932
940
|
end
|
|
933
941
|
|
|
@@ -1722,6 +1730,11 @@ module Aws::Rekognition
|
|
|
1722
1730
|
class ServiceQuotaExceededException < Aws::EmptyStructure
|
|
1723
1731
|
end
|
|
1724
1732
|
|
|
1733
|
+
class SessionMetadata
|
|
1734
|
+
attr_accessor sdk_type: ::String
|
|
1735
|
+
SENSITIVE: []
|
|
1736
|
+
end
|
|
1737
|
+
|
|
1725
1738
|
class SessionNotFoundException < Aws::EmptyStructure
|
|
1726
1739
|
end
|
|
1727
1740
|
|