aws-sdk-rekognition 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/lib/aws-sdk-rekognition/client.rb +16 -87
- data/lib/aws-sdk-rekognition/client_api.rb +0 -41
- data/lib/aws-sdk-rekognition/types.rb +24 -130
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e09dfa476cc2e1543a043f2b2e9077ba3344388
|
4
|
+
data.tar.gz: e411ca3ae4df3aacaf6ef12d0023686c5849074c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d12c048d39506a905db428b6680e5a94fcba4581b88512a82a8360a242ee70ddb351106f148ed05e3eb12c3cddb09c1baefb4bc47ca8b9cbb1a7c04d0d223948
|
7
|
+
data.tar.gz: a8e5b6cdedd4b108cf6fe94b66d66c6f9c15a770d32ca2529ff79acd28deb2555e2e52b9badc02199ee829fe2ef554c458e90cc09fbce2bd6a50a89737ebf05b
|
data/lib/aws-sdk-rekognition.rb
CHANGED
@@ -618,7 +618,16 @@ module Aws::Rekognition
|
|
618
618
|
req.send_request(options)
|
619
619
|
end
|
620
620
|
|
621
|
+
# Describes the specified collection. You can use `DescribeCollection`
|
622
|
+
# to get information, such as the number of faces indexed into a
|
623
|
+
# collection and the version of the model used by the collection for
|
624
|
+
# face detection.
|
625
|
+
#
|
626
|
+
# For more information, see Describing a Collection in the Amazon
|
627
|
+
# Rekognition Developer Guide.
|
628
|
+
#
|
621
629
|
# @option params [required, String] :collection_id
|
630
|
+
# The ID of the collection to describe.
|
622
631
|
#
|
623
632
|
# @return [Types::DescribeCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
624
633
|
#
|
@@ -1110,7 +1119,7 @@ module Aws::Rekognition
|
|
1110
1119
|
# To determine whether a `TextDetection` element is a line of text or a
|
1111
1120
|
# word, use the `TextDetection` object `Type` field.
|
1112
1121
|
#
|
1113
|
-
# To be detected, text must be within +/-
|
1122
|
+
# To be detected, text must be within +/- 90 degrees orientation of the
|
1114
1123
|
# horizontal axis.
|
1115
1124
|
#
|
1116
1125
|
# For more information, see DetectText in the Amazon Rekognition
|
@@ -1277,9 +1286,6 @@ module Aws::Rekognition
|
|
1277
1286
|
# * {Types::GetCelebrityRecognitionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1278
1287
|
# * {Types::GetCelebrityRecognitionResponse#next_token #next_token} => String
|
1279
1288
|
# * {Types::GetCelebrityRecognitionResponse#celebrities #celebrities} => Array<Types::CelebrityRecognition>
|
1280
|
-
# * {Types::GetCelebrityRecognitionResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1281
|
-
# * {Types::GetCelebrityRecognitionResponse#error_code #error_code} => String
|
1282
|
-
# * {Types::GetCelebrityRecognitionResponse#warnings #warnings} => Array<Types::Warning>
|
1283
1289
|
#
|
1284
1290
|
# @example Request syntax with placeholder values
|
1285
1291
|
#
|
@@ -1300,7 +1306,6 @@ module Aws::Rekognition
|
|
1300
1306
|
# resp.video_metadata.frame_rate #=> Float
|
1301
1307
|
# resp.video_metadata.frame_height #=> Integer
|
1302
1308
|
# resp.video_metadata.frame_width #=> Integer
|
1303
|
-
# resp.video_metadata.rotation #=> Integer
|
1304
1309
|
# resp.next_token #=> String
|
1305
1310
|
# resp.celebrities #=> Array
|
1306
1311
|
# resp.celebrities[0].timestamp #=> Integer
|
@@ -1348,14 +1353,6 @@ module Aws::Rekognition
|
|
1348
1353
|
# resp.celebrities[0].celebrity.face.quality.brightness #=> Float
|
1349
1354
|
# resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
|
1350
1355
|
# resp.celebrities[0].celebrity.face.confidence #=> Float
|
1351
|
-
# resp.billable_duration_seconds #=> Integer
|
1352
|
-
# resp.error_code #=> String
|
1353
|
-
# resp.warnings #=> Array
|
1354
|
-
# resp.warnings[0].error_code #=> String
|
1355
|
-
# resp.warnings[0].message #=> String
|
1356
|
-
# resp.warnings[0].sections #=> Array
|
1357
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
1358
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
1359
1356
|
#
|
1360
1357
|
# @overload get_celebrity_recognition(params = {})
|
1361
1358
|
# @param [Hash] params ({})
|
@@ -1430,9 +1427,6 @@ module Aws::Rekognition
|
|
1430
1427
|
# * {Types::GetContentModerationResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1431
1428
|
# * {Types::GetContentModerationResponse#moderation_labels #moderation_labels} => Array<Types::ContentModerationDetection>
|
1432
1429
|
# * {Types::GetContentModerationResponse#next_token #next_token} => String
|
1433
|
-
# * {Types::GetContentModerationResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1434
|
-
# * {Types::GetContentModerationResponse#error_code #error_code} => String
|
1435
|
-
# * {Types::GetContentModerationResponse#warnings #warnings} => Array<Types::Warning>
|
1436
1430
|
#
|
1437
1431
|
# @example Request syntax with placeholder values
|
1438
1432
|
#
|
@@ -1453,21 +1447,12 @@ module Aws::Rekognition
|
|
1453
1447
|
# resp.video_metadata.frame_rate #=> Float
|
1454
1448
|
# resp.video_metadata.frame_height #=> Integer
|
1455
1449
|
# resp.video_metadata.frame_width #=> Integer
|
1456
|
-
# resp.video_metadata.rotation #=> Integer
|
1457
1450
|
# resp.moderation_labels #=> Array
|
1458
1451
|
# resp.moderation_labels[0].timestamp #=> Integer
|
1459
1452
|
# resp.moderation_labels[0].moderation_label.confidence #=> Float
|
1460
1453
|
# resp.moderation_labels[0].moderation_label.name #=> String
|
1461
1454
|
# resp.moderation_labels[0].moderation_label.parent_name #=> String
|
1462
1455
|
# resp.next_token #=> String
|
1463
|
-
# resp.billable_duration_seconds #=> Integer
|
1464
|
-
# resp.error_code #=> String
|
1465
|
-
# resp.warnings #=> Array
|
1466
|
-
# resp.warnings[0].error_code #=> String
|
1467
|
-
# resp.warnings[0].message #=> String
|
1468
|
-
# resp.warnings[0].sections #=> Array
|
1469
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
1470
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
1471
1456
|
#
|
1472
1457
|
# @overload get_content_moderation(params = {})
|
1473
1458
|
# @param [Hash] params ({})
|
@@ -1522,9 +1507,6 @@ module Aws::Rekognition
|
|
1522
1507
|
# * {Types::GetFaceDetectionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1523
1508
|
# * {Types::GetFaceDetectionResponse#next_token #next_token} => String
|
1524
1509
|
# * {Types::GetFaceDetectionResponse#faces #faces} => Array<Types::FaceDetection>
|
1525
|
-
# * {Types::GetFaceDetectionResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1526
|
-
# * {Types::GetFaceDetectionResponse#error_code #error_code} => String
|
1527
|
-
# * {Types::GetFaceDetectionResponse#warnings #warnings} => Array<Types::Warning>
|
1528
1510
|
#
|
1529
1511
|
# @example Request syntax with placeholder values
|
1530
1512
|
#
|
@@ -1544,7 +1526,6 @@ module Aws::Rekognition
|
|
1544
1526
|
# resp.video_metadata.frame_rate #=> Float
|
1545
1527
|
# resp.video_metadata.frame_height #=> Integer
|
1546
1528
|
# resp.video_metadata.frame_width #=> Integer
|
1547
|
-
# resp.video_metadata.rotation #=> Integer
|
1548
1529
|
# resp.next_token #=> String
|
1549
1530
|
# resp.faces #=> Array
|
1550
1531
|
# resp.faces[0].timestamp #=> Integer
|
@@ -1583,14 +1564,6 @@ module Aws::Rekognition
|
|
1583
1564
|
# resp.faces[0].face.quality.brightness #=> Float
|
1584
1565
|
# resp.faces[0].face.quality.sharpness #=> Float
|
1585
1566
|
# resp.faces[0].face.confidence #=> Float
|
1586
|
-
# resp.billable_duration_seconds #=> Integer
|
1587
|
-
# resp.error_code #=> String
|
1588
|
-
# resp.warnings #=> Array
|
1589
|
-
# resp.warnings[0].error_code #=> String
|
1590
|
-
# resp.warnings[0].message #=> String
|
1591
|
-
# resp.warnings[0].sections #=> Array
|
1592
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
1593
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
1594
1567
|
#
|
1595
1568
|
# @overload get_face_detection(params = {})
|
1596
1569
|
# @param [Hash] params ({})
|
@@ -1662,9 +1635,6 @@ module Aws::Rekognition
|
|
1662
1635
|
# * {Types::GetFaceSearchResponse#next_token #next_token} => String
|
1663
1636
|
# * {Types::GetFaceSearchResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1664
1637
|
# * {Types::GetFaceSearchResponse#persons #persons} => Array<Types::PersonMatch>
|
1665
|
-
# * {Types::GetFaceSearchResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1666
|
-
# * {Types::GetFaceSearchResponse#error_code #error_code} => String
|
1667
|
-
# * {Types::GetFaceSearchResponse#warnings #warnings} => Array<Types::Warning>
|
1668
1638
|
#
|
1669
1639
|
# @example Request syntax with placeholder values
|
1670
1640
|
#
|
@@ -1686,7 +1656,6 @@ module Aws::Rekognition
|
|
1686
1656
|
# resp.video_metadata.frame_rate #=> Float
|
1687
1657
|
# resp.video_metadata.frame_height #=> Integer
|
1688
1658
|
# resp.video_metadata.frame_width #=> Integer
|
1689
|
-
# resp.video_metadata.rotation #=> Integer
|
1690
1659
|
# resp.persons #=> Array
|
1691
1660
|
# resp.persons[0].timestamp #=> Integer
|
1692
1661
|
# resp.persons[0].person.index #=> Integer
|
@@ -1739,15 +1708,6 @@ module Aws::Rekognition
|
|
1739
1708
|
# resp.persons[0].face_matches[0].face.image_id #=> String
|
1740
1709
|
# resp.persons[0].face_matches[0].face.external_image_id #=> String
|
1741
1710
|
# resp.persons[0].face_matches[0].face.confidence #=> Float
|
1742
|
-
# resp.persons[0].face_matches[0].face.association_score #=> Float
|
1743
|
-
# resp.billable_duration_seconds #=> Integer
|
1744
|
-
# resp.error_code #=> String
|
1745
|
-
# resp.warnings #=> Array
|
1746
|
-
# resp.warnings[0].error_code #=> String
|
1747
|
-
# resp.warnings[0].message #=> String
|
1748
|
-
# resp.warnings[0].sections #=> Array
|
1749
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
1750
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
1751
1711
|
#
|
1752
1712
|
# @overload get_face_search(params = {})
|
1753
1713
|
# @param [Hash] params ({})
|
@@ -1815,9 +1775,6 @@ module Aws::Rekognition
|
|
1815
1775
|
# * {Types::GetLabelDetectionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1816
1776
|
# * {Types::GetLabelDetectionResponse#next_token #next_token} => String
|
1817
1777
|
# * {Types::GetLabelDetectionResponse#labels #labels} => Array<Types::LabelDetection>
|
1818
|
-
# * {Types::GetLabelDetectionResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1819
|
-
# * {Types::GetLabelDetectionResponse#error_code #error_code} => String
|
1820
|
-
# * {Types::GetLabelDetectionResponse#warnings #warnings} => Array<Types::Warning>
|
1821
1778
|
#
|
1822
1779
|
# @example Request syntax with placeholder values
|
1823
1780
|
#
|
@@ -1838,20 +1795,11 @@ module Aws::Rekognition
|
|
1838
1795
|
# resp.video_metadata.frame_rate #=> Float
|
1839
1796
|
# resp.video_metadata.frame_height #=> Integer
|
1840
1797
|
# resp.video_metadata.frame_width #=> Integer
|
1841
|
-
# resp.video_metadata.rotation #=> Integer
|
1842
1798
|
# resp.next_token #=> String
|
1843
1799
|
# resp.labels #=> Array
|
1844
1800
|
# resp.labels[0].timestamp #=> Integer
|
1845
1801
|
# resp.labels[0].label.name #=> String
|
1846
1802
|
# resp.labels[0].label.confidence #=> Float
|
1847
|
-
# resp.billable_duration_seconds #=> Integer
|
1848
|
-
# resp.error_code #=> String
|
1849
|
-
# resp.warnings #=> Array
|
1850
|
-
# resp.warnings[0].error_code #=> String
|
1851
|
-
# resp.warnings[0].message #=> String
|
1852
|
-
# resp.warnings[0].sections #=> Array
|
1853
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
1854
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
1855
1803
|
#
|
1856
1804
|
# @overload get_label_detection(params = {})
|
1857
1805
|
# @param [Hash] params ({})
|
@@ -1929,9 +1877,6 @@ module Aws::Rekognition
|
|
1929
1877
|
# * {Types::GetPersonTrackingResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1930
1878
|
# * {Types::GetPersonTrackingResponse#next_token #next_token} => String
|
1931
1879
|
# * {Types::GetPersonTrackingResponse#persons #persons} => Array<Types::PersonDetection>
|
1932
|
-
# * {Types::GetPersonTrackingResponse#billable_duration_seconds #billable_duration_seconds} => Integer
|
1933
|
-
# * {Types::GetPersonTrackingResponse#error_code #error_code} => String
|
1934
|
-
# * {Types::GetPersonTrackingResponse#warnings #warnings} => Array<Types::Warning>
|
1935
1880
|
#
|
1936
1881
|
# @example Request syntax with placeholder values
|
1937
1882
|
#
|
@@ -1952,7 +1897,6 @@ module Aws::Rekognition
|
|
1952
1897
|
# resp.video_metadata.frame_rate #=> Float
|
1953
1898
|
# resp.video_metadata.frame_height #=> Integer
|
1954
1899
|
# resp.video_metadata.frame_width #=> Integer
|
1955
|
-
# resp.video_metadata.rotation #=> Integer
|
1956
1900
|
# resp.next_token #=> String
|
1957
1901
|
# resp.persons #=> Array
|
1958
1902
|
# resp.persons[0].timestamp #=> Integer
|
@@ -1996,14 +1940,6 @@ module Aws::Rekognition
|
|
1996
1940
|
# resp.persons[0].person.face.quality.brightness #=> Float
|
1997
1941
|
# resp.persons[0].person.face.quality.sharpness #=> Float
|
1998
1942
|
# resp.persons[0].person.face.confidence #=> Float
|
1999
|
-
# resp.billable_duration_seconds #=> Integer
|
2000
|
-
# resp.error_code #=> String
|
2001
|
-
# resp.warnings #=> Array
|
2002
|
-
# resp.warnings[0].error_code #=> String
|
2003
|
-
# resp.warnings[0].message #=> String
|
2004
|
-
# resp.warnings[0].sections #=> Array
|
2005
|
-
# resp.warnings[0].sections[0].start_timestamp #=> Integer
|
2006
|
-
# resp.warnings[0].sections[0].end_timestamp #=> Integer
|
2007
1943
|
#
|
2008
1944
|
# @overload get_person_tracking(params = {})
|
2009
1945
|
# @param [Hash] params ({})
|
@@ -2022,11 +1958,14 @@ module Aws::Rekognition
|
|
2022
1958
|
# uses feature vectors when performing face match and search operations
|
2023
1959
|
# using the and operations.
|
2024
1960
|
#
|
1961
|
+
# To get the number of faces in a collection, call .
|
1962
|
+
#
|
2025
1963
|
# If you are using version 1.0 of the face detection model, `IndexFaces`
|
2026
1964
|
# indexes the 15 largest faces in the input image. Later versions of the
|
2027
1965
|
# face detection model index the 100 largest faces in the input image.
|
2028
|
-
# To determine which version of the model you are using,
|
2029
|
-
#
|
1966
|
+
# To determine which version of the model you are using, call and supply
|
1967
|
+
# the collection ID. You also get the model version from the value of
|
1968
|
+
# `FaceModelVersion` in the response from `IndexFaces`.
|
2030
1969
|
#
|
2031
1970
|
# For more information, see Model Versioning in the Amazon Rekognition
|
2032
1971
|
# Developer Guide.
|
@@ -2260,7 +2199,6 @@ module Aws::Rekognition
|
|
2260
2199
|
# resp.face_records[0].face.image_id #=> String
|
2261
2200
|
# resp.face_records[0].face.external_image_id #=> String
|
2262
2201
|
# resp.face_records[0].face.confidence #=> Float
|
2263
|
-
# resp.face_records[0].face.association_score #=> Float
|
2264
2202
|
# resp.face_records[0].face_detail.bounding_box.width #=> Float
|
2265
2203
|
# resp.face_records[0].face_detail.bounding_box.height #=> Float
|
2266
2204
|
# resp.face_records[0].face_detail.bounding_box.left #=> Float
|
@@ -2548,7 +2486,6 @@ module Aws::Rekognition
|
|
2548
2486
|
# resp.faces[0].image_id #=> String
|
2549
2487
|
# resp.faces[0].external_image_id #=> String
|
2550
2488
|
# resp.faces[0].confidence #=> Float
|
2551
|
-
# resp.faces[0].association_score #=> Float
|
2552
2489
|
# resp.next_token #=> String
|
2553
2490
|
# resp.face_model_version #=> String
|
2554
2491
|
#
|
@@ -2829,7 +2766,6 @@ module Aws::Rekognition
|
|
2829
2766
|
# resp.face_matches[0].face.image_id #=> String
|
2830
2767
|
# resp.face_matches[0].face.external_image_id #=> String
|
2831
2768
|
# resp.face_matches[0].face.confidence #=> Float
|
2832
|
-
# resp.face_matches[0].face.association_score #=> Float
|
2833
2769
|
# resp.face_model_version #=> String
|
2834
2770
|
#
|
2835
2771
|
# @overload search_faces(params = {})
|
@@ -2975,7 +2911,6 @@ module Aws::Rekognition
|
|
2975
2911
|
# resp.face_matches[0].face.image_id #=> String
|
2976
2912
|
# resp.face_matches[0].face.external_image_id #=> String
|
2977
2913
|
# resp.face_matches[0].face.confidence #=> Float
|
2978
|
-
# resp.face_matches[0].face.association_score #=> Float
|
2979
2914
|
# resp.face_model_version #=> String
|
2980
2915
|
#
|
2981
2916
|
# @overload search_faces_by_image(params = {})
|
@@ -3017,8 +2952,6 @@ module Aws::Rekognition
|
|
3017
2952
|
# publish the completion status of the celebrity recognition analysis
|
3018
2953
|
# to.
|
3019
2954
|
#
|
3020
|
-
# @option params [Boolean] :enable_person_tracking
|
3021
|
-
#
|
3022
2955
|
# @option params [String] :job_tag
|
3023
2956
|
# Unique identifier you specify to identify the job in the completion
|
3024
2957
|
# status published to the Amazon Simple Notification Service topic.
|
@@ -3042,7 +2975,6 @@ module Aws::Rekognition
|
|
3042
2975
|
# sns_topic_arn: "SNSTopicArn", # required
|
3043
2976
|
# role_arn: "RoleArn", # required
|
3044
2977
|
# },
|
3045
|
-
# enable_person_tracking: false,
|
3046
2978
|
# job_tag: "JobTag",
|
3047
2979
|
# })
|
3048
2980
|
#
|
@@ -3246,8 +3178,6 @@ module Aws::Rekognition
|
|
3246
3178
|
# @option params [required, String] :collection_id
|
3247
3179
|
# ID of the collection that contains the faces you want to search for.
|
3248
3180
|
#
|
3249
|
-
# @option params [Boolean] :enable_person_tracking
|
3250
|
-
#
|
3251
3181
|
# @option params [Types::NotificationChannel] :notification_channel
|
3252
3182
|
# The ARN of the Amazon SNS topic to which you want Amazon Rekognition
|
3253
3183
|
# Video to publish the completion status of the search.
|
@@ -3273,7 +3203,6 @@ module Aws::Rekognition
|
|
3273
3203
|
# client_request_token: "ClientRequestToken",
|
3274
3204
|
# face_match_threshold: 1.0,
|
3275
3205
|
# collection_id: "CollectionId", # required
|
3276
|
-
# enable_person_tracking: false,
|
3277
3206
|
# notification_channel: {
|
3278
3207
|
# sns_topic_arn: "SNSTopicArn", # required
|
3279
3208
|
# role_arn: "RoleArn", # required
|
@@ -3497,7 +3426,7 @@ module Aws::Rekognition
|
|
3497
3426
|
params: params,
|
3498
3427
|
config: config)
|
3499
3428
|
context[:gem_name] = 'aws-sdk-rekognition'
|
3500
|
-
context[:gem_version] = '1.
|
3429
|
+
context[:gem_version] = '1.7.0'
|
3501
3430
|
Seahorse::Client::Request.new(handlers, context)
|
3502
3431
|
end
|
3503
3432
|
|
@@ -65,7 +65,6 @@ module Aws::Rekognition
|
|
65
65
|
Emotion = Shapes::StructureShape.new(name: 'Emotion')
|
66
66
|
EmotionName = Shapes::StringShape.new(name: 'EmotionName')
|
67
67
|
Emotions = Shapes::ListShape.new(name: 'Emotions')
|
68
|
-
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
69
68
|
ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
|
70
69
|
EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
|
71
70
|
Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
|
@@ -144,7 +143,6 @@ module Aws::Rekognition
|
|
144
143
|
MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
|
145
144
|
Mustache = Shapes::StructureShape.new(name: 'Mustache')
|
146
145
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
147
|
-
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
148
146
|
OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
|
149
147
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
150
148
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
@@ -176,8 +174,6 @@ module Aws::Rekognition
|
|
176
174
|
SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
|
177
175
|
SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
|
178
176
|
SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
|
179
|
-
Section = Shapes::StructureShape.new(name: 'Section')
|
180
|
-
Sections = Shapes::ListShape.new(name: 'Sections')
|
181
177
|
Smile = Shapes::StructureShape.new(name: 'Smile')
|
182
178
|
StartCelebrityRecognitionRequest = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionRequest')
|
183
179
|
StartCelebrityRecognitionResponse = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionResponse')
|
@@ -219,8 +215,6 @@ module Aws::Rekognition
|
|
219
215
|
VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
|
220
216
|
VideoMetadata = Shapes::StructureShape.new(name: 'VideoMetadata')
|
221
217
|
VideoTooLargeException = Shapes::StructureShape.new(name: 'VideoTooLargeException')
|
222
|
-
Warning = Shapes::StructureShape.new(name: 'Warning')
|
223
|
-
Warnings = Shapes::ListShape.new(name: 'Warnings')
|
224
218
|
|
225
219
|
AgeRange.add_member(:low, Shapes::ShapeRef.new(shape: UInteger, location_name: "Low"))
|
226
220
|
AgeRange.add_member(:high, Shapes::ShapeRef.new(shape: UInteger, location_name: "High"))
|
@@ -411,7 +405,6 @@ module Aws::Rekognition
|
|
411
405
|
Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
412
406
|
Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
|
413
407
|
Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
414
|
-
Face.add_member(:association_score, Shapes::ShapeRef.new(shape: Percent, location_name: "AssociationScore"))
|
415
408
|
Face.struct_class = Types::Face
|
416
409
|
|
417
410
|
FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
@@ -487,9 +480,6 @@ module Aws::Rekognition
|
|
487
480
|
GetCelebrityRecognitionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
488
481
|
GetCelebrityRecognitionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
489
482
|
GetCelebrityRecognitionResponse.add_member(:celebrities, Shapes::ShapeRef.new(shape: CelebrityRecognitions, location_name: "Celebrities"))
|
490
|
-
GetCelebrityRecognitionResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
491
|
-
GetCelebrityRecognitionResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
492
|
-
GetCelebrityRecognitionResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
493
483
|
GetCelebrityRecognitionResponse.struct_class = Types::GetCelebrityRecognitionResponse
|
494
484
|
|
495
485
|
GetContentModerationRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -503,9 +493,6 @@ module Aws::Rekognition
|
|
503
493
|
GetContentModerationResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
504
494
|
GetContentModerationResponse.add_member(:moderation_labels, Shapes::ShapeRef.new(shape: ContentModerationDetections, location_name: "ModerationLabels"))
|
505
495
|
GetContentModerationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
506
|
-
GetContentModerationResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
507
|
-
GetContentModerationResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
508
|
-
GetContentModerationResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
509
496
|
GetContentModerationResponse.struct_class = Types::GetContentModerationResponse
|
510
497
|
|
511
498
|
GetFaceDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -518,9 +505,6 @@ module Aws::Rekognition
|
|
518
505
|
GetFaceDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
519
506
|
GetFaceDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
520
507
|
GetFaceDetectionResponse.add_member(:faces, Shapes::ShapeRef.new(shape: FaceDetections, location_name: "Faces"))
|
521
|
-
GetFaceDetectionResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
522
|
-
GetFaceDetectionResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
523
|
-
GetFaceDetectionResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
524
508
|
GetFaceDetectionResponse.struct_class = Types::GetFaceDetectionResponse
|
525
509
|
|
526
510
|
GetFaceSearchRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -534,9 +518,6 @@ module Aws::Rekognition
|
|
534
518
|
GetFaceSearchResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
535
519
|
GetFaceSearchResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
536
520
|
GetFaceSearchResponse.add_member(:persons, Shapes::ShapeRef.new(shape: PersonMatches, location_name: "Persons"))
|
537
|
-
GetFaceSearchResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
538
|
-
GetFaceSearchResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
539
|
-
GetFaceSearchResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
540
521
|
GetFaceSearchResponse.struct_class = Types::GetFaceSearchResponse
|
541
522
|
|
542
523
|
GetLabelDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -550,9 +531,6 @@ module Aws::Rekognition
|
|
550
531
|
GetLabelDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
551
532
|
GetLabelDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
552
533
|
GetLabelDetectionResponse.add_member(:labels, Shapes::ShapeRef.new(shape: LabelDetections, location_name: "Labels"))
|
553
|
-
GetLabelDetectionResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
554
|
-
GetLabelDetectionResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
555
|
-
GetLabelDetectionResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
556
534
|
GetLabelDetectionResponse.struct_class = Types::GetLabelDetectionResponse
|
557
535
|
|
558
536
|
GetPersonTrackingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -566,9 +544,6 @@ module Aws::Rekognition
|
|
566
544
|
GetPersonTrackingResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
567
545
|
GetPersonTrackingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
568
546
|
GetPersonTrackingResponse.add_member(:persons, Shapes::ShapeRef.new(shape: PersonDetections, location_name: "Persons"))
|
569
|
-
GetPersonTrackingResponse.add_member(:billable_duration_seconds, Shapes::ShapeRef.new(shape: UInteger, location_name: "BillableDurationSeconds"))
|
570
|
-
GetPersonTrackingResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
571
|
-
GetPersonTrackingResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings"))
|
572
547
|
GetPersonTrackingResponse.struct_class = Types::GetPersonTrackingResponse
|
573
548
|
|
574
549
|
Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
|
@@ -726,12 +701,6 @@ module Aws::Rekognition
|
|
726
701
|
SearchFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
727
702
|
SearchFacesResponse.struct_class = Types::SearchFacesResponse
|
728
703
|
|
729
|
-
Section.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimestamp"))
|
730
|
-
Section.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp"))
|
731
|
-
Section.struct_class = Types::Section
|
732
|
-
|
733
|
-
Sections.member = Shapes::ShapeRef.new(shape: Section)
|
734
|
-
|
735
704
|
Smile.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
736
705
|
Smile.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
737
706
|
Smile.struct_class = Types::Smile
|
@@ -739,7 +708,6 @@ module Aws::Rekognition
|
|
739
708
|
StartCelebrityRecognitionRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
740
709
|
StartCelebrityRecognitionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
741
710
|
StartCelebrityRecognitionRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
742
|
-
StartCelebrityRecognitionRequest.add_member(:enable_person_tracking, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "EnablePersonTracking"))
|
743
711
|
StartCelebrityRecognitionRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
744
712
|
StartCelebrityRecognitionRequest.struct_class = Types::StartCelebrityRecognitionRequest
|
745
713
|
|
@@ -770,7 +738,6 @@ module Aws::Rekognition
|
|
770
738
|
StartFaceSearchRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
771
739
|
StartFaceSearchRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
|
772
740
|
StartFaceSearchRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
773
|
-
StartFaceSearchRequest.add_member(:enable_person_tracking, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "EnablePersonTracking"))
|
774
741
|
StartFaceSearchRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
775
742
|
StartFaceSearchRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
776
743
|
StartFaceSearchRequest.struct_class = Types::StartFaceSearchRequest
|
@@ -847,16 +814,8 @@ module Aws::Rekognition
|
|
847
814
|
VideoMetadata.add_member(:frame_rate, Shapes::ShapeRef.new(shape: Float, location_name: "FrameRate"))
|
848
815
|
VideoMetadata.add_member(:frame_height, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameHeight"))
|
849
816
|
VideoMetadata.add_member(:frame_width, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameWidth"))
|
850
|
-
VideoMetadata.add_member(:rotation, Shapes::ShapeRef.new(shape: UInteger, location_name: "Rotation"))
|
851
817
|
VideoMetadata.struct_class = Types::VideoMetadata
|
852
818
|
|
853
|
-
Warning.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
854
|
-
Warning.add_member(:message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "Message"))
|
855
|
-
Warning.add_member(:sections, Shapes::ShapeRef.new(shape: Sections, location_name: "Sections"))
|
856
|
-
Warning.struct_class = Types::Warning
|
857
|
-
|
858
|
-
Warnings.member = Shapes::ShapeRef.new(shape: Warning)
|
859
|
-
|
860
819
|
|
861
820
|
# @api private
|
862
821
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -46,10 +46,10 @@ module Aws::Rekognition
|
|
46
46
|
include Aws::Structure
|
47
47
|
end
|
48
48
|
|
49
|
-
# Identifies the bounding box around the
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
49
|
+
# Identifies the bounding box around the face or text. The `left`
|
50
|
+
# (x-coordinate) and `top` (y-coordinate) are coordinates representing
|
51
|
+
# the top and left sides of the bounding box. Note that the upper-left
|
52
|
+
# corner of the image is the origin (0,0).
|
53
53
|
#
|
54
54
|
# The `top` and `left` values returned are ratios of the overall image
|
55
55
|
# size. For example, if the input image is 700x200 pixels, and the
|
@@ -577,6 +577,7 @@ module Aws::Rekognition
|
|
577
577
|
# }
|
578
578
|
#
|
579
579
|
# @!attribute [rw] collection_id
|
580
|
+
# The ID of the collection to describe.
|
580
581
|
# @return [String]
|
581
582
|
#
|
582
583
|
class DescribeCollectionRequest < Struct.new(
|
@@ -585,15 +586,26 @@ module Aws::Rekognition
|
|
585
586
|
end
|
586
587
|
|
587
588
|
# @!attribute [rw] face_count
|
589
|
+
# The number of faces that are indexed into the collection. To index
|
590
|
+
# faces into a collection, use .
|
588
591
|
# @return [Integer]
|
589
592
|
#
|
590
593
|
# @!attribute [rw] face_model_version
|
594
|
+
# The version of the face model that's used by the collection for
|
595
|
+
# face detection.
|
596
|
+
#
|
597
|
+
# For more information, see Model Versioning in the Amazon Rekognition
|
598
|
+
# Developer Guide.
|
591
599
|
# @return [String]
|
592
600
|
#
|
593
601
|
# @!attribute [rw] collection_arn
|
602
|
+
# The Amazon Resource Name (ARN) of the collection.
|
594
603
|
# @return [String]
|
595
604
|
#
|
596
605
|
# @!attribute [rw] creation_timestamp
|
606
|
+
# The number of milliseconds since the Unix epoch time until the
|
607
|
+
# creation of the collection. The Unix epoch time is 00:00:00
|
608
|
+
# Coordinated Universal Time (UTC), Thursday, 1 January 1970.
|
597
609
|
# @return [Time]
|
598
610
|
#
|
599
611
|
class DescribeCollectionResponse < Struct.new(
|
@@ -973,16 +985,12 @@ module Aws::Rekognition
|
|
973
985
|
# different object such as a tree).
|
974
986
|
# @return [Float]
|
975
987
|
#
|
976
|
-
# @!attribute [rw] association_score
|
977
|
-
# @return [Float]
|
978
|
-
#
|
979
988
|
class Face < Struct.new(
|
980
989
|
:face_id,
|
981
990
|
:bounding_box,
|
982
991
|
:image_id,
|
983
992
|
:external_image_id,
|
984
|
-
:confidence
|
985
|
-
:association_score)
|
993
|
+
:confidence)
|
986
994
|
include Aws::Structure
|
987
995
|
end
|
988
996
|
|
@@ -1321,24 +1329,12 @@ module Aws::Rekognition
|
|
1321
1329
|
# Array of celebrities recognized in the video.
|
1322
1330
|
# @return [Array<Types::CelebrityRecognition>]
|
1323
1331
|
#
|
1324
|
-
# @!attribute [rw] billable_duration_seconds
|
1325
|
-
# @return [Integer]
|
1326
|
-
#
|
1327
|
-
# @!attribute [rw] error_code
|
1328
|
-
# @return [String]
|
1329
|
-
#
|
1330
|
-
# @!attribute [rw] warnings
|
1331
|
-
# @return [Array<Types::Warning>]
|
1332
|
-
#
|
1333
1332
|
class GetCelebrityRecognitionResponse < Struct.new(
|
1334
1333
|
:job_status,
|
1335
1334
|
:status_message,
|
1336
1335
|
:video_metadata,
|
1337
1336
|
:next_token,
|
1338
|
-
:celebrities
|
1339
|
-
:billable_duration_seconds,
|
1340
|
-
:error_code,
|
1341
|
-
:warnings)
|
1337
|
+
:celebrities)
|
1342
1338
|
include Aws::Structure
|
1343
1339
|
end
|
1344
1340
|
|
@@ -1412,24 +1408,12 @@ module Aws::Rekognition
|
|
1412
1408
|
# next set of moderation labels.
|
1413
1409
|
# @return [String]
|
1414
1410
|
#
|
1415
|
-
# @!attribute [rw] billable_duration_seconds
|
1416
|
-
# @return [Integer]
|
1417
|
-
#
|
1418
|
-
# @!attribute [rw] error_code
|
1419
|
-
# @return [String]
|
1420
|
-
#
|
1421
|
-
# @!attribute [rw] warnings
|
1422
|
-
# @return [Array<Types::Warning>]
|
1423
|
-
#
|
1424
1411
|
class GetContentModerationResponse < Struct.new(
|
1425
1412
|
:job_status,
|
1426
1413
|
:status_message,
|
1427
1414
|
:video_metadata,
|
1428
1415
|
:moderation_labels,
|
1429
|
-
:next_token
|
1430
|
-
:billable_duration_seconds,
|
1431
|
-
:error_code,
|
1432
|
-
:warnings)
|
1416
|
+
:next_token)
|
1433
1417
|
include Aws::Structure
|
1434
1418
|
end
|
1435
1419
|
|
@@ -1495,24 +1479,12 @@ module Aws::Rekognition
|
|
1495
1479
|
# start of the video, the face was detected.
|
1496
1480
|
# @return [Array<Types::FaceDetection>]
|
1497
1481
|
#
|
1498
|
-
# @!attribute [rw] billable_duration_seconds
|
1499
|
-
# @return [Integer]
|
1500
|
-
#
|
1501
|
-
# @!attribute [rw] error_code
|
1502
|
-
# @return [String]
|
1503
|
-
#
|
1504
|
-
# @!attribute [rw] warnings
|
1505
|
-
# @return [Array<Types::Warning>]
|
1506
|
-
#
|
1507
1482
|
class GetFaceDetectionResponse < Struct.new(
|
1508
1483
|
:job_status,
|
1509
1484
|
:status_message,
|
1510
1485
|
:video_metadata,
|
1511
1486
|
:next_token,
|
1512
|
-
:faces
|
1513
|
-
:billable_duration_seconds,
|
1514
|
-
:error_code,
|
1515
|
-
:warnings)
|
1487
|
+
:faces)
|
1516
1488
|
include Aws::Structure
|
1517
1489
|
end
|
1518
1490
|
|
@@ -1590,24 +1562,12 @@ module Aws::Rekognition
|
|
1590
1562
|
# person information (`Person`) for the matched person.
|
1591
1563
|
# @return [Array<Types::PersonMatch>]
|
1592
1564
|
#
|
1593
|
-
# @!attribute [rw] billable_duration_seconds
|
1594
|
-
# @return [Integer]
|
1595
|
-
#
|
1596
|
-
# @!attribute [rw] error_code
|
1597
|
-
# @return [String]
|
1598
|
-
#
|
1599
|
-
# @!attribute [rw] warnings
|
1600
|
-
# @return [Array<Types::Warning>]
|
1601
|
-
#
|
1602
1565
|
class GetFaceSearchResponse < Struct.new(
|
1603
1566
|
:job_status,
|
1604
1567
|
:status_message,
|
1605
1568
|
:next_token,
|
1606
1569
|
:video_metadata,
|
1607
|
-
:persons
|
1608
|
-
:billable_duration_seconds,
|
1609
|
-
:error_code,
|
1610
|
-
:warnings)
|
1570
|
+
:persons)
|
1611
1571
|
include Aws::Structure
|
1612
1572
|
end
|
1613
1573
|
|
@@ -1684,24 +1644,12 @@ module Aws::Rekognition
|
|
1684
1644
|
# video, that the label was detected.
|
1685
1645
|
# @return [Array<Types::LabelDetection>]
|
1686
1646
|
#
|
1687
|
-
# @!attribute [rw] billable_duration_seconds
|
1688
|
-
# @return [Integer]
|
1689
|
-
#
|
1690
|
-
# @!attribute [rw] error_code
|
1691
|
-
# @return [String]
|
1692
|
-
#
|
1693
|
-
# @!attribute [rw] warnings
|
1694
|
-
# @return [Array<Types::Warning>]
|
1695
|
-
#
|
1696
1647
|
class GetLabelDetectionResponse < Struct.new(
|
1697
1648
|
:job_status,
|
1698
1649
|
:status_message,
|
1699
1650
|
:video_metadata,
|
1700
1651
|
:next_token,
|
1701
|
-
:labels
|
1702
|
-
:billable_duration_seconds,
|
1703
|
-
:error_code,
|
1704
|
-
:warnings)
|
1652
|
+
:labels)
|
1705
1653
|
include Aws::Structure
|
1706
1654
|
end
|
1707
1655
|
|
@@ -1777,24 +1725,12 @@ module Aws::Rekognition
|
|
1777
1725
|
# time the person is tracked.
|
1778
1726
|
# @return [Array<Types::PersonDetection>]
|
1779
1727
|
#
|
1780
|
-
# @!attribute [rw] billable_duration_seconds
|
1781
|
-
# @return [Integer]
|
1782
|
-
#
|
1783
|
-
# @!attribute [rw] error_code
|
1784
|
-
# @return [String]
|
1785
|
-
#
|
1786
|
-
# @!attribute [rw] warnings
|
1787
|
-
# @return [Array<Types::Warning>]
|
1788
|
-
#
|
1789
1728
|
class GetPersonTrackingResponse < Struct.new(
|
1790
1729
|
:job_status,
|
1791
1730
|
:status_message,
|
1792
1731
|
:video_metadata,
|
1793
1732
|
:next_token,
|
1794
|
-
:persons
|
1795
|
-
:billable_duration_seconds,
|
1796
|
-
:error_code,
|
1797
|
-
:warnings)
|
1733
|
+
:persons)
|
1798
1734
|
include Aws::Structure
|
1799
1735
|
end
|
1800
1736
|
|
@@ -2647,18 +2583,6 @@ module Aws::Rekognition
|
|
2647
2583
|
include Aws::Structure
|
2648
2584
|
end
|
2649
2585
|
|
2650
|
-
# @!attribute [rw] start_timestamp
|
2651
|
-
# @return [Integer]
|
2652
|
-
#
|
2653
|
-
# @!attribute [rw] end_timestamp
|
2654
|
-
# @return [Integer]
|
2655
|
-
#
|
2656
|
-
class Section < Struct.new(
|
2657
|
-
:start_timestamp,
|
2658
|
-
:end_timestamp)
|
2659
|
-
include Aws::Structure
|
2660
|
-
end
|
2661
|
-
|
2662
2586
|
# Indicates whether or not the face is smiling, and the confidence level
|
2663
2587
|
# in the determination.
|
2664
2588
|
#
|
@@ -2692,7 +2616,6 @@ module Aws::Rekognition
|
|
2692
2616
|
# sns_topic_arn: "SNSTopicArn", # required
|
2693
2617
|
# role_arn: "RoleArn", # required
|
2694
2618
|
# },
|
2695
|
-
# enable_person_tracking: false,
|
2696
2619
|
# job_tag: "JobTag",
|
2697
2620
|
# }
|
2698
2621
|
#
|
@@ -2714,9 +2637,6 @@ module Aws::Rekognition
|
|
2714
2637
|
# to.
|
2715
2638
|
# @return [Types::NotificationChannel]
|
2716
2639
|
#
|
2717
|
-
# @!attribute [rw] enable_person_tracking
|
2718
|
-
# @return [Boolean]
|
2719
|
-
#
|
2720
2640
|
# @!attribute [rw] job_tag
|
2721
2641
|
# Unique identifier you specify to identify the job in the completion
|
2722
2642
|
# status published to the Amazon Simple Notification Service topic.
|
@@ -2726,7 +2646,6 @@ module Aws::Rekognition
|
|
2726
2646
|
:video,
|
2727
2647
|
:client_request_token,
|
2728
2648
|
:notification_channel,
|
2729
|
-
:enable_person_tracking,
|
2730
2649
|
:job_tag)
|
2731
2650
|
include Aws::Structure
|
2732
2651
|
end
|
@@ -2897,7 +2816,6 @@ module Aws::Rekognition
|
|
2897
2816
|
# client_request_token: "ClientRequestToken",
|
2898
2817
|
# face_match_threshold: 1.0,
|
2899
2818
|
# collection_id: "CollectionId", # required
|
2900
|
-
# enable_person_tracking: false,
|
2901
2819
|
# notification_channel: {
|
2902
2820
|
# sns_topic_arn: "SNSTopicArn", # required
|
2903
2821
|
# role_arn: "RoleArn", # required
|
@@ -2927,9 +2845,6 @@ module Aws::Rekognition
|
|
2927
2845
|
# ID of the collection that contains the faces you want to search for.
|
2928
2846
|
# @return [String]
|
2929
2847
|
#
|
2930
|
-
# @!attribute [rw] enable_person_tracking
|
2931
|
-
# @return [Boolean]
|
2932
|
-
#
|
2933
2848
|
# @!attribute [rw] notification_channel
|
2934
2849
|
# The ARN of the Amazon SNS topic to which you want Amazon Rekognition
|
2935
2850
|
# Video to publish the completion status of the search.
|
@@ -2945,7 +2860,6 @@ module Aws::Rekognition
|
|
2945
2860
|
:client_request_token,
|
2946
2861
|
:face_match_threshold,
|
2947
2862
|
:collection_id,
|
2948
|
-
:enable_person_tracking,
|
2949
2863
|
:notification_channel,
|
2950
2864
|
:job_tag)
|
2951
2865
|
include Aws::Structure
|
@@ -3340,33 +3254,13 @@ module Aws::Rekognition
|
|
3340
3254
|
# Horizontal pixel dimension of the video.
|
3341
3255
|
# @return [Integer]
|
3342
3256
|
#
|
3343
|
-
# @!attribute [rw] rotation
|
3344
|
-
# @return [Integer]
|
3345
|
-
#
|
3346
3257
|
class VideoMetadata < Struct.new(
|
3347
3258
|
:codec,
|
3348
3259
|
:duration_millis,
|
3349
3260
|
:format,
|
3350
3261
|
:frame_rate,
|
3351
3262
|
:frame_height,
|
3352
|
-
:frame_width
|
3353
|
-
:rotation)
|
3354
|
-
include Aws::Structure
|
3355
|
-
end
|
3356
|
-
|
3357
|
-
# @!attribute [rw] error_code
|
3358
|
-
# @return [String]
|
3359
|
-
#
|
3360
|
-
# @!attribute [rw] message
|
3361
|
-
# @return [String]
|
3362
|
-
#
|
3363
|
-
# @!attribute [rw] sections
|
3364
|
-
# @return [Array<Types::Section>]
|
3365
|
-
#
|
3366
|
-
class Warning < Struct.new(
|
3367
|
-
:error_code,
|
3368
|
-
:message,
|
3369
|
-
:sections)
|
3263
|
+
:frame_width)
|
3370
3264
|
include Aws::Structure
|
3371
3265
|
end
|
3372
3266
|
|
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.
|
4
|
+
version: 1.7.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: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|