aws-sdk-core 2.6.9 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/acm/2015-12-08/api-2.json +34 -3
- data/apis/acm/2015-12-08/paginators-1.json +2 -2
- data/apis/apigateway/2015-07-09/api-2.json +625 -17
- data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
- data/apis/appstream/2016-12-01/api-2.json +820 -0
- data/apis/appstream/2016-12-01/examples-1.json +5 -0
- data/apis/appstream/2016-12-01/waiters-2.json +55 -0
- data/apis/autoscaling/2011-01-01/api-2.json +1 -0
- data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
- data/apis/batch/2016-08-10/api-2.json +885 -0
- data/apis/batch/2016-08-10/examples-1.json +589 -0
- data/apis/budgets/2016-10-20/api-2.json +696 -0
- data/apis/budgets/2016-10-20/examples-1.json +5 -0
- data/apis/cloudformation/2010-05-15/api-2.json +126 -11
- data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
- data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
- data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
- data/apis/cloudfront/2016-01-28/api-2.json +1 -0
- data/apis/cloudfront/2016-08-01/api-2.json +1 -0
- data/apis/cloudfront/2016-08-20/api-2.json +1 -0
- data/apis/cloudfront/2016-09-07/api-2.json +1 -0
- data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
- data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
- data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
- data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
- data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
- data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
- data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
- data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
- data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
- data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
- data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
- data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
- data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
- data/apis/codebuild/2016-10-06/api-2.json +702 -0
- data/apis/codebuild/2016-10-06/examples-1.json +5 -0
- data/apis/codecommit/2015-04-13/api-2.json +2 -1
- data/apis/codedeploy/2014-10-06/api-2.json +35 -6
- data/apis/codepipeline/2015-07-09/api-2.json +3 -2
- data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
- data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
- data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
- data/apis/config/2014-11-12/api-2.json +40 -9
- data/apis/config/2014-11-12/paginators-1.json +2 -2
- data/apis/cur/2017-01-06/api-2.json +226 -0
- data/apis/cur/2017-01-06/examples-1.json +5 -0
- data/apis/cur/2017-01-06/paginators-1.json +9 -0
- data/apis/datapipeline/2012-10-29/api-2.json +2 -1
- data/apis/devicefarm/2015-06-23/api-2.json +2 -1
- data/apis/directconnect/2012-10-25/api-2.json +257 -10
- data/apis/discovery/2015-11-01/api-2.json +316 -5
- data/apis/dms/2016-01-01/api-2.json +45 -9
- data/apis/ds/2015-04-16/api-2.json +144 -1
- data/apis/dynamodb/2011-12-05/api-2.json +802 -0
- data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
- data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
- data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
- data/apis/dynamodb/2012-08-10/api-2.json +115 -1
- data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
- data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
- data/apis/ec2/2015-10-01/api-2.json +1 -0
- data/apis/ec2/2016-04-01/api-2.json +1 -0
- data/apis/ec2/2016-09-15/api-2.json +1 -0
- data/apis/ec2/2016-11-15/api-2.json +15037 -0
- data/apis/ec2/2016-11-15/examples-1.json +3740 -0
- data/apis/ec2/2016-11-15/paginators-1.json +138 -0
- data/apis/ec2/2016-11-15/resources-1.json +2582 -0
- data/apis/ec2/2016-11-15/waiters-2.json +593 -0
- data/apis/ecr/2015-09-21/api-2.json +17 -3
- data/apis/ecr/2015-09-21/paginators-1.json +12 -6
- data/apis/ecs/2014-11-13/api-2.json +183 -9
- data/apis/elasticache/2015-02-02/api-2.json +5 -2
- data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
- data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
- data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
- data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
- data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
- data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
- data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
- data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
- data/apis/email/2010-12-01/api-2.json +425 -4
- data/apis/es/2015-01-01/api-2.json +1 -0
- data/apis/events/2015-10-07/api-2.json +1 -0
- data/apis/firehose/2015-08-04/api-2.json +151 -4
- data/apis/firehose/2015-08-04/examples-1.json +5 -0
- data/apis/gamelift/2015-10-01/api-2.json +59 -1
- data/apis/glacier/2012-06-01/api-2.json +369 -779
- data/apis/glacier/2012-06-01/examples-1.json +806 -0
- data/apis/glacier/2012-06-01/paginators-1.json +5 -5
- data/apis/health/2016-08-04/api-2.json +547 -0
- data/apis/health/2016-08-04/examples-1.json +5 -0
- data/apis/health/2016-08-04/paginators-1.json +31 -0
- data/apis/iam/2010-05-08/api-2.json +209 -0
- data/apis/iam/2010-05-08/examples-1.json +1186 -0
- data/apis/importexport/2010-06-01/api-2.json +1 -0
- data/apis/inspector/2016-02-16/api-2.json +2 -1
- data/apis/inspector/2016-02-16/examples-1.json +1135 -0
- data/apis/iot-data/2015-05-28/api-2.json +1 -0
- data/apis/iot/2015-05-28/api-2.json +16 -0
- data/apis/kinesis/2013-12-02/api-2.json +80 -12
- data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
- data/apis/kms/2014-11-01/api-2.json +2 -1
- data/apis/kms/2014-11-01/examples-1.json +810 -0
- data/apis/lambda/2014-11-11/api-2.json +1 -0
- data/apis/lambda/2015-03-31/api-2.json +162 -9
- data/apis/lambda/2015-03-31/examples-1.json +609 -0
- data/apis/lightsail/2016-11-28/api-2.json +2137 -0
- data/apis/lightsail/2016-11-28/examples-1.json +5 -0
- data/apis/logs/2014-03-28/api-2.json +113 -6
- data/apis/machinelearning/2014-12-12/api-2.json +1 -0
- data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
- data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
- data/apis/monitoring/2010-08-01/api-2.json +27 -6
- data/apis/opsworks/2013-02-18/api-2.json +1 -0
- data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
- data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
- data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
- data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
- data/apis/polly/2016-06-10/api-2.json +504 -0
- data/apis/polly/2016-06-10/examples-1.json +171 -0
- data/apis/rds/2013-01-10/api-2.json +2902 -0
- data/apis/rds/2013-01-10/examples-1.json +5 -0
- data/apis/rds/2013-01-10/paginators-1.json +97 -0
- data/apis/rds/2013-02-12/api-2.json +3058 -0
- data/apis/rds/2013-02-12/examples-1.json +5 -0
- data/apis/rds/2013-02-12/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/api-2.json +3159 -0
- data/apis/rds/2013-09-09/examples-1.json +5 -0
- data/apis/rds/2013-09-09/paginators-1.json +110 -0
- data/apis/rds/2013-09-09/waiters-2.json +97 -0
- data/apis/rds/2014-09-01/api-2.json +3272 -0
- data/apis/rds/2014-09-01/examples-1.json +5 -0
- data/apis/rds/2014-09-01/paginators-1.json +4 -0
- data/apis/rds/2014-10-31/api-2.json +121 -6
- data/apis/rds/2014-10-31/examples-1.json +0 -444
- data/apis/rds/2014-10-31/paginators-1.json +18 -18
- data/apis/rds/2014-10-31/resources-1.json +1 -1
- data/apis/redshift/2012-12-01/api-2.json +1 -0
- data/apis/rekognition/2016-06-27/api-2.json +836 -0
- data/apis/rekognition/2016-06-27/examples-1.json +651 -0
- data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
- data/apis/route53/2013-04-01/api-2.json +186 -219
- data/apis/route53/2013-04-01/paginators-1.json +9 -9
- data/apis/route53domains/2014-05-15/api-2.json +1 -0
- data/apis/s3/2006-03-01/api-2.json +843 -23
- data/apis/sdb/2009-04-15/api-2.json +1 -0
- data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
- data/apis/shield/2016-06-02/api-2.json +494 -0
- data/apis/shield/2016-06-02/examples-1.json +5 -0
- data/apis/sms/2016-10-24/api-2.json +612 -0
- data/apis/sms/2016-10-24/examples-1.json +5 -0
- data/apis/sms/2016-10-24/paginators-1.json +28 -0
- data/apis/snowball/2016-06-30/api-2.json +283 -11
- data/apis/snowball/2016-06-30/examples-1.json +437 -0
- data/apis/sns/2010-03-31/api-2.json +1 -0
- data/apis/sqs/2012-11-05/api-2.json +74 -38
- data/apis/sqs/2012-11-05/examples-1.json +0 -613
- data/apis/sqs/2012-11-05/resources-1.json +232 -0
- data/apis/ssm/2014-11-06/api-2.json +4036 -536
- data/apis/states/2016-11-23/api-2.json +1021 -0
- data/apis/states/2016-11-23/examples-1.json +5 -0
- data/apis/states/2016-11-23/paginators-1.json +28 -0
- data/apis/storagegateway/2013-06-30/api-2.json +269 -6
- data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
- data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
- data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
- data/apis/sts/2011-06-15/api-2.json +1 -0
- data/apis/sts/2011-06-15/examples-1.json +201 -0
- data/apis/support/2013-04-15/api-2.json +1 -0
- data/apis/swf/2012-01-25/api-2.json +1 -0
- data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
- data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
- data/apis/waf/2015-08-24/api-2.json +3 -1
- data/apis/waf/2015-08-24/examples-1.json +1012 -0
- data/apis/workspaces/2015-04-08/api-2.json +1 -0
- data/apis/xray/2016-04-12/api-2.json +491 -0
- data/apis/xray/2016-04-12/examples-1.json +5 -0
- data/endpoints.json +781 -392
- data/lib/aws-sdk-core.rb +20 -0
- data/lib/aws-sdk-core/api/customizations.rb +16 -0
- data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
- data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
- data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
- data/lib/aws-sdk-core/appstream.rb +6 -0
- data/lib/aws-sdk-core/batch.rb +5 -0
- data/lib/aws-sdk-core/budgets.rb +5 -0
- data/lib/aws-sdk-core/client.rb +1 -0
- data/lib/aws-sdk-core/client_waiters.rb +5 -5
- data/lib/aws-sdk-core/cloudfront.rb +5 -5
- data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
- data/lib/aws-sdk-core/codebuild.rb +5 -0
- data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
- data/lib/aws-sdk-core/cur.rb +6 -0
- data/lib/aws-sdk-core/ec2.rb +6 -6
- data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
- data/lib/aws-sdk-core/firehose.rb +1 -0
- data/lib/aws-sdk-core/glacier.rb +1 -0
- data/lib/aws-sdk-core/health.rb +6 -0
- data/lib/aws-sdk-core/lightsail.rb +5 -0
- data/lib/aws-sdk-core/opsworkscm.rb +5 -0
- data/lib/aws-sdk-core/partitions/region.rb +0 -12
- data/lib/aws-sdk-core/partitions/service.rb +1 -11
- data/lib/aws-sdk-core/pinpoint.rb +5 -0
- data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
- data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
- data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
- data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
- data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
- data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
- data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
- data/lib/aws-sdk-core/polly.rb +13 -0
- data/lib/aws-sdk-core/polly/presigner.rb +70 -0
- data/lib/aws-sdk-core/rekognition.rb +6 -0
- data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
- data/lib/aws-sdk-core/shield.rb +5 -0
- data/lib/aws-sdk-core/signers/v4.rb +2 -1
- data/lib/aws-sdk-core/sms.rb +6 -0
- data/lib/aws-sdk-core/sqs.rb +1 -0
- data/lib/aws-sdk-core/states.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/wafregional.rb +5 -0
- data/lib/aws-sdk-core/xray.rb +5 -0
- data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
- data/lib/seahorse/client/net_http/handler.rb +5 -2
- data/lib/seahorse/client/plugin_list.rb +3 -1
- data/lib/seahorse/client/response.rb +9 -20
- data/service-models.json +66 -2
- metadata +110 -2
@@ -0,0 +1,651 @@
|
|
1
|
+
{
|
2
|
+
"version": "1.0",
|
3
|
+
"examples": {
|
4
|
+
"CompareFaces": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"SimilarityThreshold": 90,
|
8
|
+
"SourceImage": {
|
9
|
+
"S3Object": {
|
10
|
+
"Bucket": "mybucket",
|
11
|
+
"Name": "mysourceimage"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"TargetImage": {
|
15
|
+
"S3Object": {
|
16
|
+
"Bucket": "mybucket",
|
17
|
+
"Name": "mytargetimage"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"output": {
|
22
|
+
"FaceMatches": [
|
23
|
+
{
|
24
|
+
"Face": {
|
25
|
+
"BoundingBox": {
|
26
|
+
"Height": 0.33481481671333313,
|
27
|
+
"Left": 0.31888890266418457,
|
28
|
+
"Top": 0.4933333396911621,
|
29
|
+
"Width": 0.25
|
30
|
+
},
|
31
|
+
"Confidence": 99.9991226196289
|
32
|
+
},
|
33
|
+
"Similarity": 100
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"SourceImageFace": {
|
37
|
+
"BoundingBox": {
|
38
|
+
"Height": 0.33481481671333313,
|
39
|
+
"Left": 0.31888890266418457,
|
40
|
+
"Top": 0.4933333396911621,
|
41
|
+
"Width": 0.25
|
42
|
+
},
|
43
|
+
"Confidence": 99.9991226196289
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"comments": {
|
47
|
+
"input": {
|
48
|
+
},
|
49
|
+
"output": {
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"description": "This operation compares the largest face detected in the source image with each face detected in the target image.",
|
53
|
+
"id": "to-compare-two-images-1482181985581",
|
54
|
+
"title": "To compare two images"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"CreateCollection": [
|
58
|
+
{
|
59
|
+
"input": {
|
60
|
+
"CollectionId": "myphotos"
|
61
|
+
},
|
62
|
+
"output": {
|
63
|
+
"CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/myphotos",
|
64
|
+
"StatusCode": 200
|
65
|
+
},
|
66
|
+
"comments": {
|
67
|
+
"input": {
|
68
|
+
},
|
69
|
+
"output": {
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"description": "This operation creates a Rekognition collection for storing image data.",
|
73
|
+
"id": "to-create-a-collection-1481833313674",
|
74
|
+
"title": "To create a collection"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"DeleteCollection": [
|
78
|
+
{
|
79
|
+
"input": {
|
80
|
+
"CollectionId": "myphotos"
|
81
|
+
},
|
82
|
+
"output": {
|
83
|
+
"StatusCode": 200
|
84
|
+
},
|
85
|
+
"comments": {
|
86
|
+
"input": {
|
87
|
+
},
|
88
|
+
"output": {
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"description": "This operation deletes a Rekognition collection.",
|
92
|
+
"id": "to-delete-a-collection-1481838179973",
|
93
|
+
"title": "To delete a collection"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"DeleteFaces": [
|
97
|
+
{
|
98
|
+
"input": {
|
99
|
+
"CollectionId": "myphotos",
|
100
|
+
"FaceIds": [
|
101
|
+
"ff43d742-0c13-5d16-a3e8-03d3f58e980b"
|
102
|
+
]
|
103
|
+
},
|
104
|
+
"output": {
|
105
|
+
"DeletedFaces": [
|
106
|
+
"ff43d742-0c13-5d16-a3e8-03d3f58e980b"
|
107
|
+
]
|
108
|
+
},
|
109
|
+
"comments": {
|
110
|
+
"input": {
|
111
|
+
},
|
112
|
+
"output": {
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"description": "This operation deletes one or more faces from a Rekognition collection.",
|
116
|
+
"id": "to-delete-a-face-1482182799377",
|
117
|
+
"title": "To delete a face"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"DetectFaces": [
|
121
|
+
{
|
122
|
+
"input": {
|
123
|
+
"Image": {
|
124
|
+
"S3Object": {
|
125
|
+
"Bucket": "mybucket",
|
126
|
+
"Name": "myphoto"
|
127
|
+
}
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"output": {
|
131
|
+
"FaceDetails": [
|
132
|
+
{
|
133
|
+
"BoundingBox": {
|
134
|
+
"Height": 0.18000000715255737,
|
135
|
+
"Left": 0.5555555820465088,
|
136
|
+
"Top": 0.33666667342185974,
|
137
|
+
"Width": 0.23999999463558197
|
138
|
+
},
|
139
|
+
"Confidence": 100,
|
140
|
+
"Landmarks": [
|
141
|
+
{
|
142
|
+
"Type": "EYE_LEFT",
|
143
|
+
"X": 0.6394737362861633,
|
144
|
+
"Y": 0.40819624066352844
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"Type": "EYE_RIGHT",
|
148
|
+
"X": 0.7266660928726196,
|
149
|
+
"Y": 0.41039225459098816
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"Type": "NOSE_LEFT",
|
153
|
+
"X": 0.6912462115287781,
|
154
|
+
"Y": 0.44240960478782654
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"Type": "MOUTH_DOWN",
|
158
|
+
"X": 0.6306198239326477,
|
159
|
+
"Y": 0.46700039505958557
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"Type": "MOUTH_UP",
|
163
|
+
"X": 0.7215608954429626,
|
164
|
+
"Y": 0.47114261984825134
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"Pose": {
|
168
|
+
"Pitch": 4.050806522369385,
|
169
|
+
"Roll": 0.9950747489929199,
|
170
|
+
"Yaw": 13.693790435791016
|
171
|
+
},
|
172
|
+
"Quality": {
|
173
|
+
"Brightness": 37.60169982910156,
|
174
|
+
"Sharpness": 80
|
175
|
+
}
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"OrientationCorrection": "ROTATE_0"
|
179
|
+
},
|
180
|
+
"comments": {
|
181
|
+
"input": {
|
182
|
+
},
|
183
|
+
"output": {
|
184
|
+
}
|
185
|
+
},
|
186
|
+
"description": "This operation detects faces in an image stored in an AWS S3 bucket.",
|
187
|
+
"id": "to-detect-faces-in-an-image-1481841782793",
|
188
|
+
"title": "To detect faces in an image"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"DetectLabels": [
|
192
|
+
{
|
193
|
+
"input": {
|
194
|
+
"Image": {
|
195
|
+
"S3Object": {
|
196
|
+
"Bucket": "mybucket",
|
197
|
+
"Name": "myphoto"
|
198
|
+
}
|
199
|
+
},
|
200
|
+
"MaxLabels": 123,
|
201
|
+
"MinConfidence": 70
|
202
|
+
},
|
203
|
+
"output": {
|
204
|
+
"Labels": [
|
205
|
+
{
|
206
|
+
"Confidence": 99.25072479248047,
|
207
|
+
"Name": "People"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"Confidence": 99.25074005126953,
|
211
|
+
"Name": "Person"
|
212
|
+
}
|
213
|
+
]
|
214
|
+
},
|
215
|
+
"comments": {
|
216
|
+
"input": {
|
217
|
+
},
|
218
|
+
"output": {
|
219
|
+
}
|
220
|
+
},
|
221
|
+
"description": "This operation detects labels in the supplied image",
|
222
|
+
"id": "to-detect-labels-1481834255770",
|
223
|
+
"title": "To detect labels"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"IndexFaces": [
|
227
|
+
{
|
228
|
+
"input": {
|
229
|
+
"CollectionId": "myphotos",
|
230
|
+
"DetectionAttributes": [
|
231
|
+
|
232
|
+
],
|
233
|
+
"ExternalImageId": "myphotoid",
|
234
|
+
"Image": {
|
235
|
+
"S3Object": {
|
236
|
+
"Bucket": "mybucket",
|
237
|
+
"Name": "myphoto"
|
238
|
+
}
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"output": {
|
242
|
+
"FaceRecords": [
|
243
|
+
{
|
244
|
+
"Face": {
|
245
|
+
"BoundingBox": {
|
246
|
+
"Height": 0.33481481671333313,
|
247
|
+
"Left": 0.31888890266418457,
|
248
|
+
"Top": 0.4933333396911621,
|
249
|
+
"Width": 0.25
|
250
|
+
},
|
251
|
+
"Confidence": 99.9991226196289,
|
252
|
+
"FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
|
253
|
+
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
254
|
+
},
|
255
|
+
"FaceDetail": {
|
256
|
+
"BoundingBox": {
|
257
|
+
"Height": 0.33481481671333313,
|
258
|
+
"Left": 0.31888890266418457,
|
259
|
+
"Top": 0.4933333396911621,
|
260
|
+
"Width": 0.25
|
261
|
+
},
|
262
|
+
"Confidence": 99.9991226196289,
|
263
|
+
"Landmarks": [
|
264
|
+
{
|
265
|
+
"Type": "EYE_LEFT",
|
266
|
+
"X": 0.3976764678955078,
|
267
|
+
"Y": 0.6248345971107483
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"Type": "EYE_RIGHT",
|
271
|
+
"X": 0.4810936450958252,
|
272
|
+
"Y": 0.6317117214202881
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"Type": "NOSE_LEFT",
|
276
|
+
"X": 0.41986238956451416,
|
277
|
+
"Y": 0.7111940383911133
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"Type": "MOUTH_DOWN",
|
281
|
+
"X": 0.40525302290916443,
|
282
|
+
"Y": 0.7497701048851013
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"Type": "MOUTH_UP",
|
286
|
+
"X": 0.4753248989582062,
|
287
|
+
"Y": 0.7558549642562866
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"Pose": {
|
291
|
+
"Pitch": -9.713645935058594,
|
292
|
+
"Roll": 4.707281112670898,
|
293
|
+
"Yaw": -24.438663482666016
|
294
|
+
},
|
295
|
+
"Quality": {
|
296
|
+
"Brightness": 29.23358917236328,
|
297
|
+
"Sharpness": 80
|
298
|
+
}
|
299
|
+
}
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"Face": {
|
303
|
+
"BoundingBox": {
|
304
|
+
"Height": 0.32592591643333435,
|
305
|
+
"Left": 0.5144444704055786,
|
306
|
+
"Top": 0.15111111104488373,
|
307
|
+
"Width": 0.24444444477558136
|
308
|
+
},
|
309
|
+
"Confidence": 99.99950408935547,
|
310
|
+
"FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
311
|
+
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
312
|
+
},
|
313
|
+
"FaceDetail": {
|
314
|
+
"BoundingBox": {
|
315
|
+
"Height": 0.32592591643333435,
|
316
|
+
"Left": 0.5144444704055786,
|
317
|
+
"Top": 0.15111111104488373,
|
318
|
+
"Width": 0.24444444477558136
|
319
|
+
},
|
320
|
+
"Confidence": 99.99950408935547,
|
321
|
+
"Landmarks": [
|
322
|
+
{
|
323
|
+
"Type": "EYE_LEFT",
|
324
|
+
"X": 0.6006892323493958,
|
325
|
+
"Y": 0.290842205286026
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"Type": "EYE_RIGHT",
|
329
|
+
"X": 0.6808141469955444,
|
330
|
+
"Y": 0.29609042406082153
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"Type": "NOSE_LEFT",
|
334
|
+
"X": 0.6395332217216492,
|
335
|
+
"Y": 0.3522595763206482
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"Type": "MOUTH_DOWN",
|
339
|
+
"X": 0.5892083048820496,
|
340
|
+
"Y": 0.38689887523651123
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"Type": "MOUTH_UP",
|
344
|
+
"X": 0.674560010433197,
|
345
|
+
"Y": 0.394125759601593
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"Pose": {
|
349
|
+
"Pitch": -4.683138370513916,
|
350
|
+
"Roll": 2.1029529571533203,
|
351
|
+
"Yaw": 6.716655254364014
|
352
|
+
},
|
353
|
+
"Quality": {
|
354
|
+
"Brightness": 34.951698303222656,
|
355
|
+
"Sharpness": 160
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
359
|
+
],
|
360
|
+
"OrientationCorrection": "ROTATE_0"
|
361
|
+
},
|
362
|
+
"comments": {
|
363
|
+
"input": {
|
364
|
+
},
|
365
|
+
"output": {
|
366
|
+
}
|
367
|
+
},
|
368
|
+
"description": "This operation detects faces in an image and adds them to the specified Rekognition collection.",
|
369
|
+
"id": "to-add-a-face-to-a-collection-1482179542923",
|
370
|
+
"title": "To add a face to a collection"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"ListCollections": [
|
374
|
+
{
|
375
|
+
"input": {
|
376
|
+
},
|
377
|
+
"output": {
|
378
|
+
"CollectionIds": [
|
379
|
+
"myphotos"
|
380
|
+
]
|
381
|
+
},
|
382
|
+
"comments": {
|
383
|
+
"input": {
|
384
|
+
},
|
385
|
+
"output": {
|
386
|
+
}
|
387
|
+
},
|
388
|
+
"description": "This operation returns a list of Rekognition collections.",
|
389
|
+
"id": "to-list-the-collections-1482179199088",
|
390
|
+
"title": "To list the collections"
|
391
|
+
}
|
392
|
+
],
|
393
|
+
"ListFaces": [
|
394
|
+
{
|
395
|
+
"input": {
|
396
|
+
"CollectionId": "myphotos",
|
397
|
+
"MaxResults": 20
|
398
|
+
},
|
399
|
+
"output": {
|
400
|
+
"Faces": [
|
401
|
+
{
|
402
|
+
"BoundingBox": {
|
403
|
+
"Height": 0.18000000715255737,
|
404
|
+
"Left": 0.5555559992790222,
|
405
|
+
"Top": 0.336667001247406,
|
406
|
+
"Width": 0.23999999463558197
|
407
|
+
},
|
408
|
+
"Confidence": 100,
|
409
|
+
"FaceId": "1c62e8b5-69a7-5b7d-b3cd-db4338a8a7e7",
|
410
|
+
"ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"BoundingBox": {
|
414
|
+
"Height": 0.16555599868297577,
|
415
|
+
"Left": 0.30963000655174255,
|
416
|
+
"Top": 0.7066670060157776,
|
417
|
+
"Width": 0.22074100375175476
|
418
|
+
},
|
419
|
+
"Confidence": 100,
|
420
|
+
"FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
|
421
|
+
"ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"BoundingBox": {
|
425
|
+
"Height": 0.3234420120716095,
|
426
|
+
"Left": 0.3233329951763153,
|
427
|
+
"Top": 0.5,
|
428
|
+
"Width": 0.24222199618816376
|
429
|
+
},
|
430
|
+
"Confidence": 99.99829864501953,
|
431
|
+
"FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
|
432
|
+
"ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"BoundingBox": {
|
436
|
+
"Height": 0.03555560111999512,
|
437
|
+
"Left": 0.37388700246810913,
|
438
|
+
"Top": 0.2477779984474182,
|
439
|
+
"Width": 0.04747769981622696
|
440
|
+
},
|
441
|
+
"Confidence": 99.99210357666016,
|
442
|
+
"FaceId": "3b01bef0-c883-5654-ba42-d5ad28b720b3",
|
443
|
+
"ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"BoundingBox": {
|
447
|
+
"Height": 0.05333330109715462,
|
448
|
+
"Left": 0.2937690019607544,
|
449
|
+
"Top": 0.35666701197624207,
|
450
|
+
"Width": 0.07121659815311432
|
451
|
+
},
|
452
|
+
"Confidence": 99.99919891357422,
|
453
|
+
"FaceId": "4839a608-49d0-566c-8301-509d71b534d1",
|
454
|
+
"ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"BoundingBox": {
|
458
|
+
"Height": 0.3249259889125824,
|
459
|
+
"Left": 0.5155559778213501,
|
460
|
+
"Top": 0.1513350009918213,
|
461
|
+
"Width": 0.24333299696445465
|
462
|
+
},
|
463
|
+
"Confidence": 99.99949645996094,
|
464
|
+
"FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
|
465
|
+
"ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"BoundingBox": {
|
469
|
+
"Height": 0.03777780011296272,
|
470
|
+
"Left": 0.7002969980239868,
|
471
|
+
"Top": 0.18777799606323242,
|
472
|
+
"Width": 0.05044509842991829
|
473
|
+
},
|
474
|
+
"Confidence": 99.92639923095703,
|
475
|
+
"FaceId": "7f5f88ed-d684-5a88-b0df-01e4a521552b",
|
476
|
+
"ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"BoundingBox": {
|
480
|
+
"Height": 0.05555560067296028,
|
481
|
+
"Left": 0.13946600258350372,
|
482
|
+
"Top": 0.46333301067352295,
|
483
|
+
"Width": 0.07270029932260513
|
484
|
+
},
|
485
|
+
"Confidence": 99.99469757080078,
|
486
|
+
"FaceId": "895b4e2c-81de-5902-a4bd-d1792bda00b2",
|
487
|
+
"ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"BoundingBox": {
|
491
|
+
"Height": 0.3259260058403015,
|
492
|
+
"Left": 0.5144439935684204,
|
493
|
+
"Top": 0.15111100673675537,
|
494
|
+
"Width": 0.24444399774074554
|
495
|
+
},
|
496
|
+
"Confidence": 99.99949645996094,
|
497
|
+
"FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
498
|
+
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"BoundingBox": {
|
502
|
+
"Height": 0.18888899683952332,
|
503
|
+
"Left": 0.3783380091190338,
|
504
|
+
"Top": 0.2355560064315796,
|
505
|
+
"Width": 0.25222599506378174
|
506
|
+
},
|
507
|
+
"Confidence": 99.9999008178711,
|
508
|
+
"FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
|
509
|
+
"ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"BoundingBox": {
|
513
|
+
"Height": 0.33481499552726746,
|
514
|
+
"Left": 0.31888899207115173,
|
515
|
+
"Top": 0.49333301186561584,
|
516
|
+
"Width": 0.25
|
517
|
+
},
|
518
|
+
"Confidence": 99.99909973144531,
|
519
|
+
"FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
|
520
|
+
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
521
|
+
}
|
522
|
+
]
|
523
|
+
},
|
524
|
+
"comments": {
|
525
|
+
"input": {
|
526
|
+
},
|
527
|
+
"output": {
|
528
|
+
}
|
529
|
+
},
|
530
|
+
"description": "This operation lists the faces in a Rekognition collection.",
|
531
|
+
"id": "to-list-the-faces-in-a-collection-1482181416530",
|
532
|
+
"title": "To list the faces in a collection"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
"SearchFaces": [
|
536
|
+
{
|
537
|
+
"input": {
|
538
|
+
"CollectionId": "myphotos",
|
539
|
+
"FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
|
540
|
+
"FaceMatchThreshold": 90,
|
541
|
+
"MaxFaces": 10
|
542
|
+
},
|
543
|
+
"output": {
|
544
|
+
"FaceMatches": [
|
545
|
+
{
|
546
|
+
"Face": {
|
547
|
+
"BoundingBox": {
|
548
|
+
"Height": 0.3259260058403015,
|
549
|
+
"Left": 0.5144439935684204,
|
550
|
+
"Top": 0.15111100673675537,
|
551
|
+
"Width": 0.24444399774074554
|
552
|
+
},
|
553
|
+
"Confidence": 99.99949645996094,
|
554
|
+
"FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
555
|
+
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
556
|
+
},
|
557
|
+
"Similarity": 99.97222137451172
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"Face": {
|
561
|
+
"BoundingBox": {
|
562
|
+
"Height": 0.16555599868297577,
|
563
|
+
"Left": 0.30963000655174255,
|
564
|
+
"Top": 0.7066670060157776,
|
565
|
+
"Width": 0.22074100375175476
|
566
|
+
},
|
567
|
+
"Confidence": 100,
|
568
|
+
"FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
|
569
|
+
"ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
570
|
+
},
|
571
|
+
"Similarity": 97.04154968261719
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"Face": {
|
575
|
+
"BoundingBox": {
|
576
|
+
"Height": 0.18888899683952332,
|
577
|
+
"Left": 0.3783380091190338,
|
578
|
+
"Top": 0.2355560064315796,
|
579
|
+
"Width": 0.25222599506378174
|
580
|
+
},
|
581
|
+
"Confidence": 99.9999008178711,
|
582
|
+
"FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
|
583
|
+
"ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
|
584
|
+
},
|
585
|
+
"Similarity": 95.94520568847656
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"SearchedFaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14"
|
589
|
+
},
|
590
|
+
"comments": {
|
591
|
+
"input": {
|
592
|
+
},
|
593
|
+
"output": {
|
594
|
+
}
|
595
|
+
},
|
596
|
+
"description": "This operation searches for matching faces in the collection the supplied face belongs to.",
|
597
|
+
"id": "to-delete-a-face-1482182799377",
|
598
|
+
"title": "To delete a face"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"SearchFacesByImage": [
|
602
|
+
{
|
603
|
+
"input": {
|
604
|
+
"CollectionId": "myphotos",
|
605
|
+
"FaceMatchThreshold": 95,
|
606
|
+
"Image": {
|
607
|
+
"S3Object": {
|
608
|
+
"Bucket": "mybucket",
|
609
|
+
"Name": "myphoto"
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"MaxFaces": 5
|
613
|
+
},
|
614
|
+
"output": {
|
615
|
+
"FaceMatches": [
|
616
|
+
{
|
617
|
+
"Face": {
|
618
|
+
"BoundingBox": {
|
619
|
+
"Height": 0.3234420120716095,
|
620
|
+
"Left": 0.3233329951763153,
|
621
|
+
"Top": 0.5,
|
622
|
+
"Width": 0.24222199618816376
|
623
|
+
},
|
624
|
+
"Confidence": 99.99829864501953,
|
625
|
+
"FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
|
626
|
+
"ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
627
|
+
},
|
628
|
+
"Similarity": 99.97036743164062
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"SearchedFaceBoundingBox": {
|
632
|
+
"Height": 0.33481481671333313,
|
633
|
+
"Left": 0.31888890266418457,
|
634
|
+
"Top": 0.4933333396911621,
|
635
|
+
"Width": 0.25
|
636
|
+
},
|
637
|
+
"SearchedFaceConfidence": 99.9991226196289
|
638
|
+
},
|
639
|
+
"comments": {
|
640
|
+
"input": {
|
641
|
+
},
|
642
|
+
"output": {
|
643
|
+
}
|
644
|
+
},
|
645
|
+
"description": "This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.",
|
646
|
+
"id": "to-search-for-faces-matching-a-supplied-image-1482175994491",
|
647
|
+
"title": "To search for faces matching a supplied image"
|
648
|
+
}
|
649
|
+
]
|
650
|
+
}
|
651
|
+
}
|