aws-sdk-rekognition 1.5.0 → 1.6.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 +115 -3
- data/lib/aws-sdk-rekognition/client_api.rb +66 -0
- data/lib/aws-sdk-rekognition/types.rb +162 -9
- 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: 10f37bc9e11315b5d0b03fa018771ef875bb0408
|
4
|
+
data.tar.gz: 22ad6ac85002b82f2fd021a512159f734b90bb3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed92698b454e3927a9d4281469e31dd591bd58b4794c91be35416d9f2dffe561b34da0146f8da9baac2581e41b510ae815caf1960efff4d2c623f4f1588c73f
|
7
|
+
data.tar.gz: e4ea93d06b83e09796176f954a46d426ee61bf0a22a84d9ac86f2a984e72b1ad38e0d1a528221e9b465171f78a356e22e4c0c2ed79d9babfe00ec0d40c86089f
|
data/lib/aws-sdk-rekognition.rb
CHANGED
@@ -618,6 +618,35 @@ module Aws::Rekognition
|
|
618
618
|
req.send_request(options)
|
619
619
|
end
|
620
620
|
|
621
|
+
# @option params [required, String] :collection_id
|
622
|
+
#
|
623
|
+
# @return [Types::DescribeCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
624
|
+
#
|
625
|
+
# * {Types::DescribeCollectionResponse#face_count #face_count} => Integer
|
626
|
+
# * {Types::DescribeCollectionResponse#face_model_version #face_model_version} => String
|
627
|
+
# * {Types::DescribeCollectionResponse#collection_arn #collection_arn} => String
|
628
|
+
# * {Types::DescribeCollectionResponse#creation_timestamp #creation_timestamp} => Time
|
629
|
+
#
|
630
|
+
# @example Request syntax with placeholder values
|
631
|
+
#
|
632
|
+
# resp = client.describe_collection({
|
633
|
+
# collection_id: "CollectionId", # required
|
634
|
+
# })
|
635
|
+
#
|
636
|
+
# @example Response structure
|
637
|
+
#
|
638
|
+
# resp.face_count #=> Integer
|
639
|
+
# resp.face_model_version #=> String
|
640
|
+
# resp.collection_arn #=> String
|
641
|
+
# resp.creation_timestamp #=> Time
|
642
|
+
#
|
643
|
+
# @overload describe_collection(params = {})
|
644
|
+
# @param [Hash] params ({})
|
645
|
+
def describe_collection(params = {}, options = {})
|
646
|
+
req = build_request(:describe_collection, params)
|
647
|
+
req.send_request(options)
|
648
|
+
end
|
649
|
+
|
621
650
|
# Provides information about a stream processor created by . You can get
|
622
651
|
# information about the input and output streams, the input parameters
|
623
652
|
# for the face recognition being performed, and the current status of
|
@@ -1248,6 +1277,9 @@ module Aws::Rekognition
|
|
1248
1277
|
# * {Types::GetCelebrityRecognitionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1249
1278
|
# * {Types::GetCelebrityRecognitionResponse#next_token #next_token} => String
|
1250
1279
|
# * {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>
|
1251
1283
|
#
|
1252
1284
|
# @example Request syntax with placeholder values
|
1253
1285
|
#
|
@@ -1268,6 +1300,7 @@ module Aws::Rekognition
|
|
1268
1300
|
# resp.video_metadata.frame_rate #=> Float
|
1269
1301
|
# resp.video_metadata.frame_height #=> Integer
|
1270
1302
|
# resp.video_metadata.frame_width #=> Integer
|
1303
|
+
# resp.video_metadata.rotation #=> Integer
|
1271
1304
|
# resp.next_token #=> String
|
1272
1305
|
# resp.celebrities #=> Array
|
1273
1306
|
# resp.celebrities[0].timestamp #=> Integer
|
@@ -1315,6 +1348,14 @@ module Aws::Rekognition
|
|
1315
1348
|
# resp.celebrities[0].celebrity.face.quality.brightness #=> Float
|
1316
1349
|
# resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
|
1317
1350
|
# 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
|
1318
1359
|
#
|
1319
1360
|
# @overload get_celebrity_recognition(params = {})
|
1320
1361
|
# @param [Hash] params ({})
|
@@ -1389,6 +1430,9 @@ module Aws::Rekognition
|
|
1389
1430
|
# * {Types::GetContentModerationResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1390
1431
|
# * {Types::GetContentModerationResponse#moderation_labels #moderation_labels} => Array<Types::ContentModerationDetection>
|
1391
1432
|
# * {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>
|
1392
1436
|
#
|
1393
1437
|
# @example Request syntax with placeholder values
|
1394
1438
|
#
|
@@ -1409,12 +1453,21 @@ module Aws::Rekognition
|
|
1409
1453
|
# resp.video_metadata.frame_rate #=> Float
|
1410
1454
|
# resp.video_metadata.frame_height #=> Integer
|
1411
1455
|
# resp.video_metadata.frame_width #=> Integer
|
1456
|
+
# resp.video_metadata.rotation #=> Integer
|
1412
1457
|
# resp.moderation_labels #=> Array
|
1413
1458
|
# resp.moderation_labels[0].timestamp #=> Integer
|
1414
1459
|
# resp.moderation_labels[0].moderation_label.confidence #=> Float
|
1415
1460
|
# resp.moderation_labels[0].moderation_label.name #=> String
|
1416
1461
|
# resp.moderation_labels[0].moderation_label.parent_name #=> String
|
1417
1462
|
# 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
|
1418
1471
|
#
|
1419
1472
|
# @overload get_content_moderation(params = {})
|
1420
1473
|
# @param [Hash] params ({})
|
@@ -1469,6 +1522,9 @@ module Aws::Rekognition
|
|
1469
1522
|
# * {Types::GetFaceDetectionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1470
1523
|
# * {Types::GetFaceDetectionResponse#next_token #next_token} => String
|
1471
1524
|
# * {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>
|
1472
1528
|
#
|
1473
1529
|
# @example Request syntax with placeholder values
|
1474
1530
|
#
|
@@ -1488,6 +1544,7 @@ module Aws::Rekognition
|
|
1488
1544
|
# resp.video_metadata.frame_rate #=> Float
|
1489
1545
|
# resp.video_metadata.frame_height #=> Integer
|
1490
1546
|
# resp.video_metadata.frame_width #=> Integer
|
1547
|
+
# resp.video_metadata.rotation #=> Integer
|
1491
1548
|
# resp.next_token #=> String
|
1492
1549
|
# resp.faces #=> Array
|
1493
1550
|
# resp.faces[0].timestamp #=> Integer
|
@@ -1526,6 +1583,14 @@ module Aws::Rekognition
|
|
1526
1583
|
# resp.faces[0].face.quality.brightness #=> Float
|
1527
1584
|
# resp.faces[0].face.quality.sharpness #=> Float
|
1528
1585
|
# 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
|
1529
1594
|
#
|
1530
1595
|
# @overload get_face_detection(params = {})
|
1531
1596
|
# @param [Hash] params ({})
|
@@ -1597,6 +1662,9 @@ module Aws::Rekognition
|
|
1597
1662
|
# * {Types::GetFaceSearchResponse#next_token #next_token} => String
|
1598
1663
|
# * {Types::GetFaceSearchResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1599
1664
|
# * {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>
|
1600
1668
|
#
|
1601
1669
|
# @example Request syntax with placeholder values
|
1602
1670
|
#
|
@@ -1618,6 +1686,7 @@ module Aws::Rekognition
|
|
1618
1686
|
# resp.video_metadata.frame_rate #=> Float
|
1619
1687
|
# resp.video_metadata.frame_height #=> Integer
|
1620
1688
|
# resp.video_metadata.frame_width #=> Integer
|
1689
|
+
# resp.video_metadata.rotation #=> Integer
|
1621
1690
|
# resp.persons #=> Array
|
1622
1691
|
# resp.persons[0].timestamp #=> Integer
|
1623
1692
|
# resp.persons[0].person.index #=> Integer
|
@@ -1670,6 +1739,15 @@ module Aws::Rekognition
|
|
1670
1739
|
# resp.persons[0].face_matches[0].face.image_id #=> String
|
1671
1740
|
# resp.persons[0].face_matches[0].face.external_image_id #=> String
|
1672
1741
|
# 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
|
1673
1751
|
#
|
1674
1752
|
# @overload get_face_search(params = {})
|
1675
1753
|
# @param [Hash] params ({})
|
@@ -1737,6 +1815,9 @@ module Aws::Rekognition
|
|
1737
1815
|
# * {Types::GetLabelDetectionResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1738
1816
|
# * {Types::GetLabelDetectionResponse#next_token #next_token} => String
|
1739
1817
|
# * {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>
|
1740
1821
|
#
|
1741
1822
|
# @example Request syntax with placeholder values
|
1742
1823
|
#
|
@@ -1757,11 +1838,20 @@ module Aws::Rekognition
|
|
1757
1838
|
# resp.video_metadata.frame_rate #=> Float
|
1758
1839
|
# resp.video_metadata.frame_height #=> Integer
|
1759
1840
|
# resp.video_metadata.frame_width #=> Integer
|
1841
|
+
# resp.video_metadata.rotation #=> Integer
|
1760
1842
|
# resp.next_token #=> String
|
1761
1843
|
# resp.labels #=> Array
|
1762
1844
|
# resp.labels[0].timestamp #=> Integer
|
1763
1845
|
# resp.labels[0].label.name #=> String
|
1764
1846
|
# 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
|
1765
1855
|
#
|
1766
1856
|
# @overload get_label_detection(params = {})
|
1767
1857
|
# @param [Hash] params ({})
|
@@ -1839,6 +1929,9 @@ module Aws::Rekognition
|
|
1839
1929
|
# * {Types::GetPersonTrackingResponse#video_metadata #video_metadata} => Types::VideoMetadata
|
1840
1930
|
# * {Types::GetPersonTrackingResponse#next_token #next_token} => String
|
1841
1931
|
# * {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>
|
1842
1935
|
#
|
1843
1936
|
# @example Request syntax with placeholder values
|
1844
1937
|
#
|
@@ -1859,6 +1952,7 @@ module Aws::Rekognition
|
|
1859
1952
|
# resp.video_metadata.frame_rate #=> Float
|
1860
1953
|
# resp.video_metadata.frame_height #=> Integer
|
1861
1954
|
# resp.video_metadata.frame_width #=> Integer
|
1955
|
+
# resp.video_metadata.rotation #=> Integer
|
1862
1956
|
# resp.next_token #=> String
|
1863
1957
|
# resp.persons #=> Array
|
1864
1958
|
# resp.persons[0].timestamp #=> Integer
|
@@ -1902,6 +1996,14 @@ module Aws::Rekognition
|
|
1902
1996
|
# resp.persons[0].person.face.quality.brightness #=> Float
|
1903
1997
|
# resp.persons[0].person.face.quality.sharpness #=> Float
|
1904
1998
|
# 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
|
1905
2007
|
#
|
1906
2008
|
# @overload get_person_tracking(params = {})
|
1907
2009
|
# @param [Hash] params ({})
|
@@ -1943,7 +2045,7 @@ module Aws::Rekognition
|
|
1943
2045
|
# and an image ID assigned by the service for the input image. If you
|
1944
2046
|
# request all facial attributes (using the `detectionAttributes`
|
1945
2047
|
# parameter, Amazon Rekognition returns detailed facial attributes such
|
1946
|
-
# as facial landmarks (for example, location of eye and
|
2048
|
+
# as facial landmarks (for example, location of eye and mouth) and other
|
1947
2049
|
# facial attributes such gender. If you provide the same image, specify
|
1948
2050
|
# the same collection, and use the same external ID in the `IndexFaces`
|
1949
2051
|
# operation, Amazon Rekognition doesn't save duplicate face metadata.
|
@@ -2158,6 +2260,7 @@ module Aws::Rekognition
|
|
2158
2260
|
# resp.face_records[0].face.image_id #=> String
|
2159
2261
|
# resp.face_records[0].face.external_image_id #=> String
|
2160
2262
|
# resp.face_records[0].face.confidence #=> Float
|
2263
|
+
# resp.face_records[0].face.association_score #=> Float
|
2161
2264
|
# resp.face_records[0].face_detail.bounding_box.width #=> Float
|
2162
2265
|
# resp.face_records[0].face_detail.bounding_box.height #=> Float
|
2163
2266
|
# resp.face_records[0].face_detail.bounding_box.left #=> Float
|
@@ -2445,6 +2548,7 @@ module Aws::Rekognition
|
|
2445
2548
|
# resp.faces[0].image_id #=> String
|
2446
2549
|
# resp.faces[0].external_image_id #=> String
|
2447
2550
|
# resp.faces[0].confidence #=> Float
|
2551
|
+
# resp.faces[0].association_score #=> Float
|
2448
2552
|
# resp.next_token #=> String
|
2449
2553
|
# resp.face_model_version #=> String
|
2450
2554
|
#
|
@@ -2725,6 +2829,7 @@ module Aws::Rekognition
|
|
2725
2829
|
# resp.face_matches[0].face.image_id #=> String
|
2726
2830
|
# resp.face_matches[0].face.external_image_id #=> String
|
2727
2831
|
# resp.face_matches[0].face.confidence #=> Float
|
2832
|
+
# resp.face_matches[0].face.association_score #=> Float
|
2728
2833
|
# resp.face_model_version #=> String
|
2729
2834
|
#
|
2730
2835
|
# @overload search_faces(params = {})
|
@@ -2870,6 +2975,7 @@ module Aws::Rekognition
|
|
2870
2975
|
# resp.face_matches[0].face.image_id #=> String
|
2871
2976
|
# resp.face_matches[0].face.external_image_id #=> String
|
2872
2977
|
# resp.face_matches[0].face.confidence #=> Float
|
2978
|
+
# resp.face_matches[0].face.association_score #=> Float
|
2873
2979
|
# resp.face_model_version #=> String
|
2874
2980
|
#
|
2875
2981
|
# @overload search_faces_by_image(params = {})
|
@@ -2911,6 +3017,8 @@ module Aws::Rekognition
|
|
2911
3017
|
# publish the completion status of the celebrity recognition analysis
|
2912
3018
|
# to.
|
2913
3019
|
#
|
3020
|
+
# @option params [Boolean] :enable_person_tracking
|
3021
|
+
#
|
2914
3022
|
# @option params [String] :job_tag
|
2915
3023
|
# Unique identifier you specify to identify the job in the completion
|
2916
3024
|
# status published to the Amazon Simple Notification Service topic.
|
@@ -2934,6 +3042,7 @@ module Aws::Rekognition
|
|
2934
3042
|
# sns_topic_arn: "SNSTopicArn", # required
|
2935
3043
|
# role_arn: "RoleArn", # required
|
2936
3044
|
# },
|
3045
|
+
# enable_person_tracking: false,
|
2937
3046
|
# job_tag: "JobTag",
|
2938
3047
|
# })
|
2939
3048
|
#
|
@@ -3117,7 +3226,7 @@ module Aws::Rekognition
|
|
3117
3226
|
# status value published to the Amazon SNS topic is `SUCCEEDED`. If so,
|
3118
3227
|
# call and pass the job identifier (`JobId`) from the initial call to
|
3119
3228
|
# `StartFaceSearch`. For more information, see
|
3120
|
-
#
|
3229
|
+
# procedure-person-search-videos.
|
3121
3230
|
#
|
3122
3231
|
# @option params [required, Types::Video] :video
|
3123
3232
|
# The video you want to search. The video must be stored in an Amazon S3
|
@@ -3137,6 +3246,8 @@ module Aws::Rekognition
|
|
3137
3246
|
# @option params [required, String] :collection_id
|
3138
3247
|
# ID of the collection that contains the faces you want to search for.
|
3139
3248
|
#
|
3249
|
+
# @option params [Boolean] :enable_person_tracking
|
3250
|
+
#
|
3140
3251
|
# @option params [Types::NotificationChannel] :notification_channel
|
3141
3252
|
# The ARN of the Amazon SNS topic to which you want Amazon Rekognition
|
3142
3253
|
# Video to publish the completion status of the search.
|
@@ -3162,6 +3273,7 @@ module Aws::Rekognition
|
|
3162
3273
|
# client_request_token: "ClientRequestToken",
|
3163
3274
|
# face_match_threshold: 1.0,
|
3164
3275
|
# collection_id: "CollectionId", # required
|
3276
|
+
# enable_person_tracking: false,
|
3165
3277
|
# notification_channel: {
|
3166
3278
|
# sns_topic_arn: "SNSTopicArn", # required
|
3167
3279
|
# role_arn: "RoleArn", # required
|
@@ -3385,7 +3497,7 @@ module Aws::Rekognition
|
|
3385
3497
|
params: params,
|
3386
3498
|
config: config)
|
3387
3499
|
context[:gem_name] = 'aws-sdk-rekognition'
|
3388
|
-
context[:gem_version] = '1.
|
3500
|
+
context[:gem_version] = '1.6.0'
|
3389
3501
|
Seahorse::Client::Request.new(handlers, context)
|
3390
3502
|
end
|
3391
3503
|
|
@@ -50,6 +50,8 @@ module Aws::Rekognition
|
|
50
50
|
DeleteFacesResponse = Shapes::StructureShape.new(name: 'DeleteFacesResponse')
|
51
51
|
DeleteStreamProcessorRequest = Shapes::StructureShape.new(name: 'DeleteStreamProcessorRequest')
|
52
52
|
DeleteStreamProcessorResponse = Shapes::StructureShape.new(name: 'DeleteStreamProcessorResponse')
|
53
|
+
DescribeCollectionRequest = Shapes::StructureShape.new(name: 'DescribeCollectionRequest')
|
54
|
+
DescribeCollectionResponse = Shapes::StructureShape.new(name: 'DescribeCollectionResponse')
|
53
55
|
DescribeStreamProcessorRequest = Shapes::StructureShape.new(name: 'DescribeStreamProcessorRequest')
|
54
56
|
DescribeStreamProcessorResponse = Shapes::StructureShape.new(name: 'DescribeStreamProcessorResponse')
|
55
57
|
DetectFacesRequest = Shapes::StructureShape.new(name: 'DetectFacesRequest')
|
@@ -63,6 +65,7 @@ module Aws::Rekognition
|
|
63
65
|
Emotion = Shapes::StructureShape.new(name: 'Emotion')
|
64
66
|
EmotionName = Shapes::StringShape.new(name: 'EmotionName')
|
65
67
|
Emotions = Shapes::ListShape.new(name: 'Emotions')
|
68
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
66
69
|
ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
|
67
70
|
EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
|
68
71
|
Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
|
@@ -141,6 +144,7 @@ module Aws::Rekognition
|
|
141
144
|
MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
|
142
145
|
Mustache = Shapes::StructureShape.new(name: 'Mustache')
|
143
146
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
147
|
+
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
144
148
|
OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
|
145
149
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
146
150
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
@@ -172,6 +176,8 @@ module Aws::Rekognition
|
|
172
176
|
SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
|
173
177
|
SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
|
174
178
|
SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
|
179
|
+
Section = Shapes::StructureShape.new(name: 'Section')
|
180
|
+
Sections = Shapes::ListShape.new(name: 'Sections')
|
175
181
|
Smile = Shapes::StructureShape.new(name: 'Smile')
|
176
182
|
StartCelebrityRecognitionRequest = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionRequest')
|
177
183
|
StartCelebrityRecognitionResponse = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionResponse')
|
@@ -213,6 +219,8 @@ module Aws::Rekognition
|
|
213
219
|
VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
|
214
220
|
VideoMetadata = Shapes::StructureShape.new(name: 'VideoMetadata')
|
215
221
|
VideoTooLargeException = Shapes::StructureShape.new(name: 'VideoTooLargeException')
|
222
|
+
Warning = Shapes::StructureShape.new(name: 'Warning')
|
223
|
+
Warnings = Shapes::ListShape.new(name: 'Warnings')
|
216
224
|
|
217
225
|
AgeRange.add_member(:low, Shapes::ShapeRef.new(shape: UInteger, location_name: "Low"))
|
218
226
|
AgeRange.add_member(:high, Shapes::ShapeRef.new(shape: UInteger, location_name: "High"))
|
@@ -330,6 +338,15 @@ module Aws::Rekognition
|
|
330
338
|
|
331
339
|
DeleteStreamProcessorResponse.struct_class = Types::DeleteStreamProcessorResponse
|
332
340
|
|
341
|
+
DescribeCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
342
|
+
DescribeCollectionRequest.struct_class = Types::DescribeCollectionRequest
|
343
|
+
|
344
|
+
DescribeCollectionResponse.add_member(:face_count, Shapes::ShapeRef.new(shape: ULong, location_name: "FaceCount"))
|
345
|
+
DescribeCollectionResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
346
|
+
DescribeCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: String, location_name: "CollectionARN"))
|
347
|
+
DescribeCollectionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
|
348
|
+
DescribeCollectionResponse.struct_class = Types::DescribeCollectionResponse
|
349
|
+
|
333
350
|
DescribeStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
334
351
|
DescribeStreamProcessorRequest.struct_class = Types::DescribeStreamProcessorRequest
|
335
352
|
|
@@ -394,6 +411,7 @@ module Aws::Rekognition
|
|
394
411
|
Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
395
412
|
Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
|
396
413
|
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"))
|
397
415
|
Face.struct_class = Types::Face
|
398
416
|
|
399
417
|
FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
@@ -469,6 +487,9 @@ module Aws::Rekognition
|
|
469
487
|
GetCelebrityRecognitionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
470
488
|
GetCelebrityRecognitionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
471
489
|
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"))
|
472
493
|
GetCelebrityRecognitionResponse.struct_class = Types::GetCelebrityRecognitionResponse
|
473
494
|
|
474
495
|
GetContentModerationRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -482,6 +503,9 @@ module Aws::Rekognition
|
|
482
503
|
GetContentModerationResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
483
504
|
GetContentModerationResponse.add_member(:moderation_labels, Shapes::ShapeRef.new(shape: ContentModerationDetections, location_name: "ModerationLabels"))
|
484
505
|
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"))
|
485
509
|
GetContentModerationResponse.struct_class = Types::GetContentModerationResponse
|
486
510
|
|
487
511
|
GetFaceDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -494,6 +518,9 @@ module Aws::Rekognition
|
|
494
518
|
GetFaceDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
495
519
|
GetFaceDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
496
520
|
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"))
|
497
524
|
GetFaceDetectionResponse.struct_class = Types::GetFaceDetectionResponse
|
498
525
|
|
499
526
|
GetFaceSearchRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -507,6 +534,9 @@ module Aws::Rekognition
|
|
507
534
|
GetFaceSearchResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
508
535
|
GetFaceSearchResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
509
536
|
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"))
|
510
540
|
GetFaceSearchResponse.struct_class = Types::GetFaceSearchResponse
|
511
541
|
|
512
542
|
GetLabelDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -520,6 +550,9 @@ module Aws::Rekognition
|
|
520
550
|
GetLabelDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
521
551
|
GetLabelDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
522
552
|
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"))
|
523
556
|
GetLabelDetectionResponse.struct_class = Types::GetLabelDetectionResponse
|
524
557
|
|
525
558
|
GetPersonTrackingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
@@ -533,6 +566,9 @@ module Aws::Rekognition
|
|
533
566
|
GetPersonTrackingResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
534
567
|
GetPersonTrackingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
535
568
|
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"))
|
536
572
|
GetPersonTrackingResponse.struct_class = Types::GetPersonTrackingResponse
|
537
573
|
|
538
574
|
Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
|
@@ -690,6 +726,12 @@ module Aws::Rekognition
|
|
690
726
|
SearchFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
691
727
|
SearchFacesResponse.struct_class = Types::SearchFacesResponse
|
692
728
|
|
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
|
+
|
693
735
|
Smile.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
694
736
|
Smile.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
695
737
|
Smile.struct_class = Types::Smile
|
@@ -697,6 +739,7 @@ module Aws::Rekognition
|
|
697
739
|
StartCelebrityRecognitionRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
698
740
|
StartCelebrityRecognitionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
699
741
|
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"))
|
700
743
|
StartCelebrityRecognitionRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
701
744
|
StartCelebrityRecognitionRequest.struct_class = Types::StartCelebrityRecognitionRequest
|
702
745
|
|
@@ -727,6 +770,7 @@ module Aws::Rekognition
|
|
727
770
|
StartFaceSearchRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
728
771
|
StartFaceSearchRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
|
729
772
|
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"))
|
730
774
|
StartFaceSearchRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
731
775
|
StartFaceSearchRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
732
776
|
StartFaceSearchRequest.struct_class = Types::StartFaceSearchRequest
|
@@ -803,8 +847,16 @@ module Aws::Rekognition
|
|
803
847
|
VideoMetadata.add_member(:frame_rate, Shapes::ShapeRef.new(shape: Float, location_name: "FrameRate"))
|
804
848
|
VideoMetadata.add_member(:frame_height, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameHeight"))
|
805
849
|
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"))
|
806
851
|
VideoMetadata.struct_class = Types::VideoMetadata
|
807
852
|
|
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
|
+
|
808
860
|
|
809
861
|
# @api private
|
810
862
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -908,6 +960,20 @@ module Aws::Rekognition
|
|
908
960
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
909
961
|
end)
|
910
962
|
|
963
|
+
api.add_operation(:describe_collection, Seahorse::Model::Operation.new.tap do |o|
|
964
|
+
o.name = "DescribeCollection"
|
965
|
+
o.http_method = "POST"
|
966
|
+
o.http_request_uri = "/"
|
967
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCollectionRequest)
|
968
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCollectionResponse)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
973
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
975
|
+
end)
|
976
|
+
|
911
977
|
api.add_operation(:describe_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
912
978
|
o.name = "DescribeStreamProcessor"
|
913
979
|
o.http_method = "POST"
|
@@ -569,6 +569,41 @@ module Aws::Rekognition
|
|
569
569
|
|
570
570
|
class DeleteStreamProcessorResponse < Aws::EmptyStructure; end
|
571
571
|
|
572
|
+
# @note When making an API call, you may pass DescribeCollectionRequest
|
573
|
+
# data as a hash:
|
574
|
+
#
|
575
|
+
# {
|
576
|
+
# collection_id: "CollectionId", # required
|
577
|
+
# }
|
578
|
+
#
|
579
|
+
# @!attribute [rw] collection_id
|
580
|
+
# @return [String]
|
581
|
+
#
|
582
|
+
class DescribeCollectionRequest < Struct.new(
|
583
|
+
:collection_id)
|
584
|
+
include Aws::Structure
|
585
|
+
end
|
586
|
+
|
587
|
+
# @!attribute [rw] face_count
|
588
|
+
# @return [Integer]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] face_model_version
|
591
|
+
# @return [String]
|
592
|
+
#
|
593
|
+
# @!attribute [rw] collection_arn
|
594
|
+
# @return [String]
|
595
|
+
#
|
596
|
+
# @!attribute [rw] creation_timestamp
|
597
|
+
# @return [Time]
|
598
|
+
#
|
599
|
+
class DescribeCollectionResponse < Struct.new(
|
600
|
+
:face_count,
|
601
|
+
:face_model_version,
|
602
|
+
:collection_arn,
|
603
|
+
:creation_timestamp)
|
604
|
+
include Aws::Structure
|
605
|
+
end
|
606
|
+
|
572
607
|
# @note When making an API call, you may pass DescribeStreamProcessorRequest
|
573
608
|
# data as a hash:
|
574
609
|
#
|
@@ -938,12 +973,16 @@ module Aws::Rekognition
|
|
938
973
|
# different object such as a tree).
|
939
974
|
# @return [Float]
|
940
975
|
#
|
976
|
+
# @!attribute [rw] association_score
|
977
|
+
# @return [Float]
|
978
|
+
#
|
941
979
|
class Face < Struct.new(
|
942
980
|
:face_id,
|
943
981
|
:bounding_box,
|
944
982
|
:image_id,
|
945
983
|
:external_image_id,
|
946
|
-
:confidence
|
984
|
+
:confidence,
|
985
|
+
:association_score)
|
947
986
|
include Aws::Structure
|
948
987
|
end
|
949
988
|
|
@@ -1282,12 +1321,24 @@ module Aws::Rekognition
|
|
1282
1321
|
# Array of celebrities recognized in the video.
|
1283
1322
|
# @return [Array<Types::CelebrityRecognition>]
|
1284
1323
|
#
|
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
|
+
#
|
1285
1333
|
class GetCelebrityRecognitionResponse < Struct.new(
|
1286
1334
|
:job_status,
|
1287
1335
|
:status_message,
|
1288
1336
|
:video_metadata,
|
1289
1337
|
:next_token,
|
1290
|
-
:celebrities
|
1338
|
+
:celebrities,
|
1339
|
+
:billable_duration_seconds,
|
1340
|
+
:error_code,
|
1341
|
+
:warnings)
|
1291
1342
|
include Aws::Structure
|
1292
1343
|
end
|
1293
1344
|
|
@@ -1361,12 +1412,24 @@ module Aws::Rekognition
|
|
1361
1412
|
# next set of moderation labels.
|
1362
1413
|
# @return [String]
|
1363
1414
|
#
|
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
|
+
#
|
1364
1424
|
class GetContentModerationResponse < Struct.new(
|
1365
1425
|
:job_status,
|
1366
1426
|
:status_message,
|
1367
1427
|
:video_metadata,
|
1368
1428
|
:moderation_labels,
|
1369
|
-
:next_token
|
1429
|
+
:next_token,
|
1430
|
+
:billable_duration_seconds,
|
1431
|
+
:error_code,
|
1432
|
+
:warnings)
|
1370
1433
|
include Aws::Structure
|
1371
1434
|
end
|
1372
1435
|
|
@@ -1432,12 +1495,24 @@ module Aws::Rekognition
|
|
1432
1495
|
# start of the video, the face was detected.
|
1433
1496
|
# @return [Array<Types::FaceDetection>]
|
1434
1497
|
#
|
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
|
+
#
|
1435
1507
|
class GetFaceDetectionResponse < Struct.new(
|
1436
1508
|
:job_status,
|
1437
1509
|
:status_message,
|
1438
1510
|
:video_metadata,
|
1439
1511
|
:next_token,
|
1440
|
-
:faces
|
1512
|
+
:faces,
|
1513
|
+
:billable_duration_seconds,
|
1514
|
+
:error_code,
|
1515
|
+
:warnings)
|
1441
1516
|
include Aws::Structure
|
1442
1517
|
end
|
1443
1518
|
|
@@ -1515,12 +1590,24 @@ module Aws::Rekognition
|
|
1515
1590
|
# person information (`Person`) for the matched person.
|
1516
1591
|
# @return [Array<Types::PersonMatch>]
|
1517
1592
|
#
|
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
|
+
#
|
1518
1602
|
class GetFaceSearchResponse < Struct.new(
|
1519
1603
|
:job_status,
|
1520
1604
|
:status_message,
|
1521
1605
|
:next_token,
|
1522
1606
|
:video_metadata,
|
1523
|
-
:persons
|
1607
|
+
:persons,
|
1608
|
+
:billable_duration_seconds,
|
1609
|
+
:error_code,
|
1610
|
+
:warnings)
|
1524
1611
|
include Aws::Structure
|
1525
1612
|
end
|
1526
1613
|
|
@@ -1597,12 +1684,24 @@ module Aws::Rekognition
|
|
1597
1684
|
# video, that the label was detected.
|
1598
1685
|
# @return [Array<Types::LabelDetection>]
|
1599
1686
|
#
|
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
|
+
#
|
1600
1696
|
class GetLabelDetectionResponse < Struct.new(
|
1601
1697
|
:job_status,
|
1602
1698
|
:status_message,
|
1603
1699
|
:video_metadata,
|
1604
1700
|
:next_token,
|
1605
|
-
:labels
|
1701
|
+
:labels,
|
1702
|
+
:billable_duration_seconds,
|
1703
|
+
:error_code,
|
1704
|
+
:warnings)
|
1606
1705
|
include Aws::Structure
|
1607
1706
|
end
|
1608
1707
|
|
@@ -1678,12 +1777,24 @@ module Aws::Rekognition
|
|
1678
1777
|
# time the person is tracked.
|
1679
1778
|
# @return [Array<Types::PersonDetection>]
|
1680
1779
|
#
|
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
|
+
#
|
1681
1789
|
class GetPersonTrackingResponse < Struct.new(
|
1682
1790
|
:job_status,
|
1683
1791
|
:status_message,
|
1684
1792
|
:video_metadata,
|
1685
1793
|
:next_token,
|
1686
|
-
:persons
|
1794
|
+
:persons,
|
1795
|
+
:billable_duration_seconds,
|
1796
|
+
:error_code,
|
1797
|
+
:warnings)
|
1687
1798
|
include Aws::Structure
|
1688
1799
|
end
|
1689
1800
|
|
@@ -2236,7 +2347,7 @@ module Aws::Rekognition
|
|
2236
2347
|
|
2237
2348
|
# Information about a person whose face matches a face(s) in a Amazon
|
2238
2349
|
# Rekognition collection. Includes information about the faces in the
|
2239
|
-
# Amazon Rekognition collection (, information about the person
|
2350
|
+
# Amazon Rekognition collection (), information about the person
|
2240
2351
|
# (PersonDetail) and the timestamp for when the person was detected in a
|
2241
2352
|
# video. An array of `PersonMatch` objects is returned by .
|
2242
2353
|
#
|
@@ -2536,6 +2647,18 @@ module Aws::Rekognition
|
|
2536
2647
|
include Aws::Structure
|
2537
2648
|
end
|
2538
2649
|
|
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
|
+
|
2539
2662
|
# Indicates whether or not the face is smiling, and the confidence level
|
2540
2663
|
# in the determination.
|
2541
2664
|
#
|
@@ -2569,6 +2692,7 @@ module Aws::Rekognition
|
|
2569
2692
|
# sns_topic_arn: "SNSTopicArn", # required
|
2570
2693
|
# role_arn: "RoleArn", # required
|
2571
2694
|
# },
|
2695
|
+
# enable_person_tracking: false,
|
2572
2696
|
# job_tag: "JobTag",
|
2573
2697
|
# }
|
2574
2698
|
#
|
@@ -2590,6 +2714,9 @@ module Aws::Rekognition
|
|
2590
2714
|
# to.
|
2591
2715
|
# @return [Types::NotificationChannel]
|
2592
2716
|
#
|
2717
|
+
# @!attribute [rw] enable_person_tracking
|
2718
|
+
# @return [Boolean]
|
2719
|
+
#
|
2593
2720
|
# @!attribute [rw] job_tag
|
2594
2721
|
# Unique identifier you specify to identify the job in the completion
|
2595
2722
|
# status published to the Amazon Simple Notification Service topic.
|
@@ -2599,6 +2726,7 @@ module Aws::Rekognition
|
|
2599
2726
|
:video,
|
2600
2727
|
:client_request_token,
|
2601
2728
|
:notification_channel,
|
2729
|
+
:enable_person_tracking,
|
2602
2730
|
:job_tag)
|
2603
2731
|
include Aws::Structure
|
2604
2732
|
end
|
@@ -2769,6 +2897,7 @@ module Aws::Rekognition
|
|
2769
2897
|
# client_request_token: "ClientRequestToken",
|
2770
2898
|
# face_match_threshold: 1.0,
|
2771
2899
|
# collection_id: "CollectionId", # required
|
2900
|
+
# enable_person_tracking: false,
|
2772
2901
|
# notification_channel: {
|
2773
2902
|
# sns_topic_arn: "SNSTopicArn", # required
|
2774
2903
|
# role_arn: "RoleArn", # required
|
@@ -2798,6 +2927,9 @@ module Aws::Rekognition
|
|
2798
2927
|
# ID of the collection that contains the faces you want to search for.
|
2799
2928
|
# @return [String]
|
2800
2929
|
#
|
2930
|
+
# @!attribute [rw] enable_person_tracking
|
2931
|
+
# @return [Boolean]
|
2932
|
+
#
|
2801
2933
|
# @!attribute [rw] notification_channel
|
2802
2934
|
# The ARN of the Amazon SNS topic to which you want Amazon Rekognition
|
2803
2935
|
# Video to publish the completion status of the search.
|
@@ -2813,6 +2945,7 @@ module Aws::Rekognition
|
|
2813
2945
|
:client_request_token,
|
2814
2946
|
:face_match_threshold,
|
2815
2947
|
:collection_id,
|
2948
|
+
:enable_person_tracking,
|
2816
2949
|
:notification_channel,
|
2817
2950
|
:job_tag)
|
2818
2951
|
include Aws::Structure
|
@@ -3207,13 +3340,33 @@ module Aws::Rekognition
|
|
3207
3340
|
# Horizontal pixel dimension of the video.
|
3208
3341
|
# @return [Integer]
|
3209
3342
|
#
|
3343
|
+
# @!attribute [rw] rotation
|
3344
|
+
# @return [Integer]
|
3345
|
+
#
|
3210
3346
|
class VideoMetadata < Struct.new(
|
3211
3347
|
:codec,
|
3212
3348
|
:duration_millis,
|
3213
3349
|
:format,
|
3214
3350
|
:frame_rate,
|
3215
3351
|
:frame_height,
|
3216
|
-
:frame_width
|
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)
|
3217
3370
|
include Aws::Structure
|
3218
3371
|
end
|
3219
3372
|
|
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.6.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-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|