aws-sdk-core 2.6.29 → 2.6.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/lightsail/2016-11-28/api-2.json +2137 -0
- data/apis/lightsail/2016-11-28/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 +5 -0
- data/apis/rekognition/2016-06-27/api-2.json +836 -0
- data/apis/rekognition/2016-06-27/examples-1.json +5 -0
- data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
- data/apis/snowball/2016-06-30/api-2.json +283 -11
- data/endpoints.json +20 -0
- data/lib/aws-sdk-core.rb +3 -0
- data/lib/aws-sdk-core/lightsail.rb +5 -0
- 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/version.rb +1 -1
- data/service-models.json +12 -0
- metadata +13 -2
@@ -0,0 +1,836 @@
|
|
1
|
+
{
|
2
|
+
"version":"2.0",
|
3
|
+
"metadata":{
|
4
|
+
"apiVersion":"2016-06-27",
|
5
|
+
"endpointPrefix":"rekognition",
|
6
|
+
"jsonVersion":"1.1",
|
7
|
+
"protocol":"json",
|
8
|
+
"serviceFullName":"Amazon Rekognition",
|
9
|
+
"signatureVersion":"v4",
|
10
|
+
"targetPrefix":"RekognitionService",
|
11
|
+
"uid":"rekognition-2016-06-27"
|
12
|
+
},
|
13
|
+
"operations":{
|
14
|
+
"CompareFaces":{
|
15
|
+
"name":"CompareFaces",
|
16
|
+
"http":{
|
17
|
+
"method":"POST",
|
18
|
+
"requestUri":"/"
|
19
|
+
},
|
20
|
+
"input":{"shape":"CompareFacesRequest"},
|
21
|
+
"output":{"shape":"CompareFacesResponse"},
|
22
|
+
"errors":[
|
23
|
+
{"shape":"InvalidParameterException"},
|
24
|
+
{"shape":"InvalidS3ObjectException"},
|
25
|
+
{"shape":"ImageTooLargeException"},
|
26
|
+
{"shape":"AccessDeniedException"},
|
27
|
+
{"shape":"InternalServerError"},
|
28
|
+
{"shape":"ThrottlingException"},
|
29
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
30
|
+
{"shape":"InvalidImageFormatException"}
|
31
|
+
]
|
32
|
+
},
|
33
|
+
"CreateCollection":{
|
34
|
+
"name":"CreateCollection",
|
35
|
+
"http":{
|
36
|
+
"method":"POST",
|
37
|
+
"requestUri":"/"
|
38
|
+
},
|
39
|
+
"input":{"shape":"CreateCollectionRequest"},
|
40
|
+
"output":{"shape":"CreateCollectionResponse"},
|
41
|
+
"errors":[
|
42
|
+
{"shape":"InvalidParameterException"},
|
43
|
+
{"shape":"AccessDeniedException"},
|
44
|
+
{"shape":"InternalServerError"},
|
45
|
+
{"shape":"ThrottlingException"},
|
46
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
47
|
+
{"shape":"ResourceAlreadyExistsException"}
|
48
|
+
]
|
49
|
+
},
|
50
|
+
"DeleteCollection":{
|
51
|
+
"name":"DeleteCollection",
|
52
|
+
"http":{
|
53
|
+
"method":"POST",
|
54
|
+
"requestUri":"/"
|
55
|
+
},
|
56
|
+
"input":{"shape":"DeleteCollectionRequest"},
|
57
|
+
"output":{"shape":"DeleteCollectionResponse"},
|
58
|
+
"errors":[
|
59
|
+
{"shape":"InvalidParameterException"},
|
60
|
+
{"shape":"AccessDeniedException"},
|
61
|
+
{"shape":"InternalServerError"},
|
62
|
+
{"shape":"ThrottlingException"},
|
63
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
64
|
+
{"shape":"ResourceNotFoundException"}
|
65
|
+
]
|
66
|
+
},
|
67
|
+
"DeleteFaces":{
|
68
|
+
"name":"DeleteFaces",
|
69
|
+
"http":{
|
70
|
+
"method":"POST",
|
71
|
+
"requestUri":"/"
|
72
|
+
},
|
73
|
+
"input":{"shape":"DeleteFacesRequest"},
|
74
|
+
"output":{"shape":"DeleteFacesResponse"},
|
75
|
+
"errors":[
|
76
|
+
{"shape":"InvalidParameterException"},
|
77
|
+
{"shape":"AccessDeniedException"},
|
78
|
+
{"shape":"InternalServerError"},
|
79
|
+
{"shape":"ThrottlingException"},
|
80
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
81
|
+
{"shape":"ResourceNotFoundException"}
|
82
|
+
]
|
83
|
+
},
|
84
|
+
"DetectFaces":{
|
85
|
+
"name":"DetectFaces",
|
86
|
+
"http":{
|
87
|
+
"method":"POST",
|
88
|
+
"requestUri":"/"
|
89
|
+
},
|
90
|
+
"input":{"shape":"DetectFacesRequest"},
|
91
|
+
"output":{"shape":"DetectFacesResponse"},
|
92
|
+
"errors":[
|
93
|
+
{"shape":"InvalidS3ObjectException"},
|
94
|
+
{"shape":"InvalidParameterException"},
|
95
|
+
{"shape":"ImageTooLargeException"},
|
96
|
+
{"shape":"AccessDeniedException"},
|
97
|
+
{"shape":"InternalServerError"},
|
98
|
+
{"shape":"ThrottlingException"},
|
99
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
100
|
+
{"shape":"InvalidImageFormatException"}
|
101
|
+
]
|
102
|
+
},
|
103
|
+
"DetectLabels":{
|
104
|
+
"name":"DetectLabels",
|
105
|
+
"http":{
|
106
|
+
"method":"POST",
|
107
|
+
"requestUri":"/"
|
108
|
+
},
|
109
|
+
"input":{"shape":"DetectLabelsRequest"},
|
110
|
+
"output":{"shape":"DetectLabelsResponse"},
|
111
|
+
"errors":[
|
112
|
+
{"shape":"InvalidS3ObjectException"},
|
113
|
+
{"shape":"InvalidParameterException"},
|
114
|
+
{"shape":"ImageTooLargeException"},
|
115
|
+
{"shape":"AccessDeniedException"},
|
116
|
+
{"shape":"InternalServerError"},
|
117
|
+
{"shape":"ThrottlingException"},
|
118
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
119
|
+
{"shape":"InvalidImageFormatException"}
|
120
|
+
]
|
121
|
+
},
|
122
|
+
"IndexFaces":{
|
123
|
+
"name":"IndexFaces",
|
124
|
+
"http":{
|
125
|
+
"method":"POST",
|
126
|
+
"requestUri":"/"
|
127
|
+
},
|
128
|
+
"input":{"shape":"IndexFacesRequest"},
|
129
|
+
"output":{"shape":"IndexFacesResponse"},
|
130
|
+
"errors":[
|
131
|
+
{"shape":"InvalidS3ObjectException"},
|
132
|
+
{"shape":"InvalidParameterException"},
|
133
|
+
{"shape":"ImageTooLargeException"},
|
134
|
+
{"shape":"AccessDeniedException"},
|
135
|
+
{"shape":"InternalServerError"},
|
136
|
+
{"shape":"ThrottlingException"},
|
137
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
138
|
+
{"shape":"ResourceNotFoundException"},
|
139
|
+
{"shape":"InvalidImageFormatException"}
|
140
|
+
]
|
141
|
+
},
|
142
|
+
"ListCollections":{
|
143
|
+
"name":"ListCollections",
|
144
|
+
"http":{
|
145
|
+
"method":"POST",
|
146
|
+
"requestUri":"/"
|
147
|
+
},
|
148
|
+
"input":{"shape":"ListCollectionsRequest"},
|
149
|
+
"output":{"shape":"ListCollectionsResponse"},
|
150
|
+
"errors":[
|
151
|
+
{"shape":"InvalidParameterException"},
|
152
|
+
{"shape":"AccessDeniedException"},
|
153
|
+
{"shape":"InternalServerError"},
|
154
|
+
{"shape":"ThrottlingException"},
|
155
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
156
|
+
{"shape":"InvalidPaginationTokenException"},
|
157
|
+
{"shape":"ResourceNotFoundException"}
|
158
|
+
]
|
159
|
+
},
|
160
|
+
"ListFaces":{
|
161
|
+
"name":"ListFaces",
|
162
|
+
"http":{
|
163
|
+
"method":"POST",
|
164
|
+
"requestUri":"/"
|
165
|
+
},
|
166
|
+
"input":{"shape":"ListFacesRequest"},
|
167
|
+
"output":{"shape":"ListFacesResponse"},
|
168
|
+
"errors":[
|
169
|
+
{"shape":"InvalidParameterException"},
|
170
|
+
{"shape":"AccessDeniedException"},
|
171
|
+
{"shape":"InternalServerError"},
|
172
|
+
{"shape":"ThrottlingException"},
|
173
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
174
|
+
{"shape":"InvalidPaginationTokenException"},
|
175
|
+
{"shape":"ResourceNotFoundException"}
|
176
|
+
]
|
177
|
+
},
|
178
|
+
"SearchFaces":{
|
179
|
+
"name":"SearchFaces",
|
180
|
+
"http":{
|
181
|
+
"method":"POST",
|
182
|
+
"requestUri":"/"
|
183
|
+
},
|
184
|
+
"input":{"shape":"SearchFacesRequest"},
|
185
|
+
"output":{"shape":"SearchFacesResponse"},
|
186
|
+
"errors":[
|
187
|
+
{"shape":"InvalidParameterException"},
|
188
|
+
{"shape":"AccessDeniedException"},
|
189
|
+
{"shape":"InternalServerError"},
|
190
|
+
{"shape":"ThrottlingException"},
|
191
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
192
|
+
{"shape":"ResourceNotFoundException"}
|
193
|
+
]
|
194
|
+
},
|
195
|
+
"SearchFacesByImage":{
|
196
|
+
"name":"SearchFacesByImage",
|
197
|
+
"http":{
|
198
|
+
"method":"POST",
|
199
|
+
"requestUri":"/"
|
200
|
+
},
|
201
|
+
"input":{"shape":"SearchFacesByImageRequest"},
|
202
|
+
"output":{"shape":"SearchFacesByImageResponse"},
|
203
|
+
"errors":[
|
204
|
+
{"shape":"InvalidS3ObjectException"},
|
205
|
+
{"shape":"InvalidParameterException"},
|
206
|
+
{"shape":"ImageTooLargeException"},
|
207
|
+
{"shape":"AccessDeniedException"},
|
208
|
+
{"shape":"InternalServerError"},
|
209
|
+
{"shape":"ThrottlingException"},
|
210
|
+
{"shape":"ProvisionedThroughputExceededException"},
|
211
|
+
{"shape":"ResourceNotFoundException"},
|
212
|
+
{"shape":"InvalidImageFormatException"}
|
213
|
+
]
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"shapes":{
|
217
|
+
"AccessDeniedException":{
|
218
|
+
"type":"structure",
|
219
|
+
"members":{
|
220
|
+
},
|
221
|
+
"exception":true
|
222
|
+
},
|
223
|
+
"Attribute":{
|
224
|
+
"type":"string",
|
225
|
+
"enum":[
|
226
|
+
"DEFAULT",
|
227
|
+
"ALL"
|
228
|
+
]
|
229
|
+
},
|
230
|
+
"Attributes":{
|
231
|
+
"type":"list",
|
232
|
+
"member":{"shape":"Attribute"}
|
233
|
+
},
|
234
|
+
"Beard":{
|
235
|
+
"type":"structure",
|
236
|
+
"members":{
|
237
|
+
"Value":{"shape":"Boolean"},
|
238
|
+
"Confidence":{"shape":"Percent"}
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"Boolean":{"type":"boolean"},
|
242
|
+
"BoundingBox":{
|
243
|
+
"type":"structure",
|
244
|
+
"members":{
|
245
|
+
"Width":{"shape":"Float"},
|
246
|
+
"Height":{"shape":"Float"},
|
247
|
+
"Left":{"shape":"Float"},
|
248
|
+
"Top":{"shape":"Float"}
|
249
|
+
}
|
250
|
+
},
|
251
|
+
"CollectionId":{
|
252
|
+
"type":"string",
|
253
|
+
"max":255,
|
254
|
+
"min":1,
|
255
|
+
"pattern":"[a-zA-Z0-9_.\\-]+"
|
256
|
+
},
|
257
|
+
"CollectionIdList":{
|
258
|
+
"type":"list",
|
259
|
+
"member":{"shape":"CollectionId"}
|
260
|
+
},
|
261
|
+
"CompareFacesMatch":{
|
262
|
+
"type":"structure",
|
263
|
+
"members":{
|
264
|
+
"Similarity":{"shape":"Percent"},
|
265
|
+
"Face":{"shape":"ComparedFace"}
|
266
|
+
}
|
267
|
+
},
|
268
|
+
"CompareFacesMatchList":{
|
269
|
+
"type":"list",
|
270
|
+
"member":{"shape":"CompareFacesMatch"}
|
271
|
+
},
|
272
|
+
"CompareFacesRequest":{
|
273
|
+
"type":"structure",
|
274
|
+
"required":[
|
275
|
+
"SourceImage",
|
276
|
+
"TargetImage"
|
277
|
+
],
|
278
|
+
"members":{
|
279
|
+
"SourceImage":{"shape":"Image"},
|
280
|
+
"TargetImage":{"shape":"Image"},
|
281
|
+
"SimilarityThreshold":{"shape":"Percent"}
|
282
|
+
}
|
283
|
+
},
|
284
|
+
"CompareFacesResponse":{
|
285
|
+
"type":"structure",
|
286
|
+
"members":{
|
287
|
+
"SourceImageFace":{"shape":"ComparedSourceImageFace"},
|
288
|
+
"FaceMatches":{"shape":"CompareFacesMatchList"}
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"ComparedFace":{
|
292
|
+
"type":"structure",
|
293
|
+
"members":{
|
294
|
+
"BoundingBox":{"shape":"BoundingBox"},
|
295
|
+
"Confidence":{"shape":"Percent"}
|
296
|
+
}
|
297
|
+
},
|
298
|
+
"ComparedSourceImageFace":{
|
299
|
+
"type":"structure",
|
300
|
+
"members":{
|
301
|
+
"BoundingBox":{"shape":"BoundingBox"},
|
302
|
+
"Confidence":{"shape":"Percent"}
|
303
|
+
}
|
304
|
+
},
|
305
|
+
"CreateCollectionRequest":{
|
306
|
+
"type":"structure",
|
307
|
+
"required":["CollectionId"],
|
308
|
+
"members":{
|
309
|
+
"CollectionId":{"shape":"CollectionId"}
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"CreateCollectionResponse":{
|
313
|
+
"type":"structure",
|
314
|
+
"members":{
|
315
|
+
"StatusCode":{"shape":"UInteger"},
|
316
|
+
"CollectionArn":{"shape":"String"}
|
317
|
+
}
|
318
|
+
},
|
319
|
+
"Degree":{
|
320
|
+
"type":"float",
|
321
|
+
"max":180,
|
322
|
+
"min":-180
|
323
|
+
},
|
324
|
+
"DeleteCollectionRequest":{
|
325
|
+
"type":"structure",
|
326
|
+
"required":["CollectionId"],
|
327
|
+
"members":{
|
328
|
+
"CollectionId":{"shape":"CollectionId"}
|
329
|
+
}
|
330
|
+
},
|
331
|
+
"DeleteCollectionResponse":{
|
332
|
+
"type":"structure",
|
333
|
+
"members":{
|
334
|
+
"StatusCode":{"shape":"UInteger"}
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"DeleteFacesRequest":{
|
338
|
+
"type":"structure",
|
339
|
+
"required":[
|
340
|
+
"CollectionId",
|
341
|
+
"FaceIds"
|
342
|
+
],
|
343
|
+
"members":{
|
344
|
+
"CollectionId":{"shape":"CollectionId"},
|
345
|
+
"FaceIds":{"shape":"FaceIdList"}
|
346
|
+
}
|
347
|
+
},
|
348
|
+
"DeleteFacesResponse":{
|
349
|
+
"type":"structure",
|
350
|
+
"members":{
|
351
|
+
"DeletedFaces":{"shape":"FaceIdList"}
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"DetectFacesRequest":{
|
355
|
+
"type":"structure",
|
356
|
+
"required":["Image"],
|
357
|
+
"members":{
|
358
|
+
"Image":{"shape":"Image"},
|
359
|
+
"Attributes":{"shape":"Attributes"}
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"DetectFacesResponse":{
|
363
|
+
"type":"structure",
|
364
|
+
"members":{
|
365
|
+
"FaceDetails":{"shape":"FaceDetailList"},
|
366
|
+
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"DetectLabelsRequest":{
|
370
|
+
"type":"structure",
|
371
|
+
"required":["Image"],
|
372
|
+
"members":{
|
373
|
+
"Image":{"shape":"Image"},
|
374
|
+
"MaxLabels":{"shape":"UInteger"},
|
375
|
+
"MinConfidence":{"shape":"Percent"}
|
376
|
+
}
|
377
|
+
},
|
378
|
+
"DetectLabelsResponse":{
|
379
|
+
"type":"structure",
|
380
|
+
"members":{
|
381
|
+
"Labels":{"shape":"Labels"},
|
382
|
+
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
383
|
+
}
|
384
|
+
},
|
385
|
+
"Emotion":{
|
386
|
+
"type":"structure",
|
387
|
+
"members":{
|
388
|
+
"Type":{"shape":"EmotionName"},
|
389
|
+
"Confidence":{"shape":"Percent"}
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"EmotionName":{
|
393
|
+
"type":"string",
|
394
|
+
"enum":[
|
395
|
+
"HAPPY",
|
396
|
+
"SAD",
|
397
|
+
"ANGRY",
|
398
|
+
"CONFUSED",
|
399
|
+
"DISGUSTED",
|
400
|
+
"SURPRISED",
|
401
|
+
"CALM",
|
402
|
+
"UNKNOWN"
|
403
|
+
]
|
404
|
+
},
|
405
|
+
"Emotions":{
|
406
|
+
"type":"list",
|
407
|
+
"member":{"shape":"Emotion"}
|
408
|
+
},
|
409
|
+
"ExternalImageId":{
|
410
|
+
"type":"string",
|
411
|
+
"max":255,
|
412
|
+
"min":1,
|
413
|
+
"pattern":"[a-zA-Z0-9_.\\-:]+"
|
414
|
+
},
|
415
|
+
"EyeOpen":{
|
416
|
+
"type":"structure",
|
417
|
+
"members":{
|
418
|
+
"Value":{"shape":"Boolean"},
|
419
|
+
"Confidence":{"shape":"Percent"}
|
420
|
+
}
|
421
|
+
},
|
422
|
+
"Eyeglasses":{
|
423
|
+
"type":"structure",
|
424
|
+
"members":{
|
425
|
+
"Value":{"shape":"Boolean"},
|
426
|
+
"Confidence":{"shape":"Percent"}
|
427
|
+
}
|
428
|
+
},
|
429
|
+
"Face":{
|
430
|
+
"type":"structure",
|
431
|
+
"members":{
|
432
|
+
"FaceId":{"shape":"FaceId"},
|
433
|
+
"BoundingBox":{"shape":"BoundingBox"},
|
434
|
+
"ImageId":{"shape":"ImageId"},
|
435
|
+
"ExternalImageId":{"shape":"ExternalImageId"},
|
436
|
+
"Confidence":{"shape":"Percent"}
|
437
|
+
}
|
438
|
+
},
|
439
|
+
"FaceDetail":{
|
440
|
+
"type":"structure",
|
441
|
+
"members":{
|
442
|
+
"BoundingBox":{"shape":"BoundingBox"},
|
443
|
+
"Smile":{"shape":"Smile"},
|
444
|
+
"Eyeglasses":{"shape":"Eyeglasses"},
|
445
|
+
"Sunglasses":{"shape":"Sunglasses"},
|
446
|
+
"Gender":{"shape":"Gender"},
|
447
|
+
"Beard":{"shape":"Beard"},
|
448
|
+
"Mustache":{"shape":"Mustache"},
|
449
|
+
"EyesOpen":{"shape":"EyeOpen"},
|
450
|
+
"MouthOpen":{"shape":"MouthOpen"},
|
451
|
+
"Emotions":{"shape":"Emotions"},
|
452
|
+
"Landmarks":{"shape":"Landmarks"},
|
453
|
+
"Pose":{"shape":"Pose"},
|
454
|
+
"Quality":{"shape":"ImageQuality"},
|
455
|
+
"Confidence":{"shape":"Percent"}
|
456
|
+
}
|
457
|
+
},
|
458
|
+
"FaceDetailList":{
|
459
|
+
"type":"list",
|
460
|
+
"member":{"shape":"FaceDetail"}
|
461
|
+
},
|
462
|
+
"FaceId":{
|
463
|
+
"type":"string",
|
464
|
+
"pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
|
465
|
+
},
|
466
|
+
"FaceIdList":{
|
467
|
+
"type":"list",
|
468
|
+
"member":{"shape":"FaceId"},
|
469
|
+
"max":4096,
|
470
|
+
"min":1
|
471
|
+
},
|
472
|
+
"FaceList":{
|
473
|
+
"type":"list",
|
474
|
+
"member":{"shape":"Face"}
|
475
|
+
},
|
476
|
+
"FaceMatch":{
|
477
|
+
"type":"structure",
|
478
|
+
"members":{
|
479
|
+
"Similarity":{"shape":"Percent"},
|
480
|
+
"Face":{"shape":"Face"}
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"FaceMatchList":{
|
484
|
+
"type":"list",
|
485
|
+
"member":{"shape":"FaceMatch"}
|
486
|
+
},
|
487
|
+
"FaceRecord":{
|
488
|
+
"type":"structure",
|
489
|
+
"members":{
|
490
|
+
"Face":{"shape":"Face"},
|
491
|
+
"FaceDetail":{"shape":"FaceDetail"}
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"FaceRecordList":{
|
495
|
+
"type":"list",
|
496
|
+
"member":{"shape":"FaceRecord"}
|
497
|
+
},
|
498
|
+
"Float":{"type":"float"},
|
499
|
+
"Gender":{
|
500
|
+
"type":"structure",
|
501
|
+
"members":{
|
502
|
+
"Value":{"shape":"GenderType"},
|
503
|
+
"Confidence":{"shape":"Percent"}
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"GenderType":{
|
507
|
+
"type":"string",
|
508
|
+
"enum":[
|
509
|
+
"MALE",
|
510
|
+
"FEMALE"
|
511
|
+
]
|
512
|
+
},
|
513
|
+
"Image":{
|
514
|
+
"type":"structure",
|
515
|
+
"members":{
|
516
|
+
"Bytes":{"shape":"ImageBlob"},
|
517
|
+
"S3Object":{"shape":"S3Object"}
|
518
|
+
}
|
519
|
+
},
|
520
|
+
"ImageBlob":{
|
521
|
+
"type":"blob",
|
522
|
+
"max":5242880,
|
523
|
+
"min":1
|
524
|
+
},
|
525
|
+
"ImageId":{
|
526
|
+
"type":"string",
|
527
|
+
"pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
|
528
|
+
},
|
529
|
+
"ImageQuality":{
|
530
|
+
"type":"structure",
|
531
|
+
"members":{
|
532
|
+
"Brightness":{"shape":"Float"},
|
533
|
+
"Sharpness":{"shape":"Float"}
|
534
|
+
}
|
535
|
+
},
|
536
|
+
"ImageTooLargeException":{
|
537
|
+
"type":"structure",
|
538
|
+
"members":{
|
539
|
+
},
|
540
|
+
"exception":true
|
541
|
+
},
|
542
|
+
"IndexFacesRequest":{
|
543
|
+
"type":"structure",
|
544
|
+
"required":[
|
545
|
+
"CollectionId",
|
546
|
+
"Image"
|
547
|
+
],
|
548
|
+
"members":{
|
549
|
+
"CollectionId":{"shape":"CollectionId"},
|
550
|
+
"Image":{"shape":"Image"},
|
551
|
+
"ExternalImageId":{"shape":"ExternalImageId"},
|
552
|
+
"DetectionAttributes":{"shape":"Attributes"}
|
553
|
+
}
|
554
|
+
},
|
555
|
+
"IndexFacesResponse":{
|
556
|
+
"type":"structure",
|
557
|
+
"members":{
|
558
|
+
"FaceRecords":{"shape":"FaceRecordList"},
|
559
|
+
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
560
|
+
}
|
561
|
+
},
|
562
|
+
"InternalServerError":{
|
563
|
+
"type":"structure",
|
564
|
+
"members":{
|
565
|
+
},
|
566
|
+
"exception":true,
|
567
|
+
"fault":true
|
568
|
+
},
|
569
|
+
"InvalidImageFormatException":{
|
570
|
+
"type":"structure",
|
571
|
+
"members":{
|
572
|
+
},
|
573
|
+
"exception":true
|
574
|
+
},
|
575
|
+
"InvalidPaginationTokenException":{
|
576
|
+
"type":"structure",
|
577
|
+
"members":{
|
578
|
+
},
|
579
|
+
"exception":true
|
580
|
+
},
|
581
|
+
"InvalidParameterException":{
|
582
|
+
"type":"structure",
|
583
|
+
"members":{
|
584
|
+
},
|
585
|
+
"exception":true
|
586
|
+
},
|
587
|
+
"InvalidS3ObjectException":{
|
588
|
+
"type":"structure",
|
589
|
+
"members":{
|
590
|
+
},
|
591
|
+
"exception":true
|
592
|
+
},
|
593
|
+
"Label":{
|
594
|
+
"type":"structure",
|
595
|
+
"members":{
|
596
|
+
"Name":{"shape":"String"},
|
597
|
+
"Confidence":{"shape":"Percent"}
|
598
|
+
}
|
599
|
+
},
|
600
|
+
"Labels":{
|
601
|
+
"type":"list",
|
602
|
+
"member":{"shape":"Label"}
|
603
|
+
},
|
604
|
+
"Landmark":{
|
605
|
+
"type":"structure",
|
606
|
+
"members":{
|
607
|
+
"Type":{"shape":"LandmarkType"},
|
608
|
+
"X":{"shape":"Float"},
|
609
|
+
"Y":{"shape":"Float"}
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"LandmarkType":{
|
613
|
+
"type":"string",
|
614
|
+
"enum":[
|
615
|
+
"EYE_LEFT",
|
616
|
+
"EYE_RIGHT",
|
617
|
+
"NOSE",
|
618
|
+
"MOUTH_LEFT",
|
619
|
+
"MOUTH_RIGHT",
|
620
|
+
"LEFT_EYEBROW_LEFT",
|
621
|
+
"LEFT_EYEBROW_RIGHT",
|
622
|
+
"LEFT_EYEBROW_UP",
|
623
|
+
"RIGHT_EYEBROW_LEFT",
|
624
|
+
"RIGHT_EYEBROW_RIGHT",
|
625
|
+
"RIGHT_EYEBROW_UP",
|
626
|
+
"LEFT_EYE_LEFT",
|
627
|
+
"LEFT_EYE_RIGHT",
|
628
|
+
"LEFT_EYE_UP",
|
629
|
+
"LEFT_EYE_DOWN",
|
630
|
+
"RIGHT_EYE_LEFT",
|
631
|
+
"RIGHT_EYE_RIGHT",
|
632
|
+
"RIGHT_EYE_UP",
|
633
|
+
"RIGHT_EYE_DOWN",
|
634
|
+
"NOSE_LEFT",
|
635
|
+
"NOSE_RIGHT",
|
636
|
+
"MOUTH_UP",
|
637
|
+
"MOUTH_DOWN",
|
638
|
+
"LEFT_PUPIL",
|
639
|
+
"RIGHT_PUPIL"
|
640
|
+
]
|
641
|
+
},
|
642
|
+
"Landmarks":{
|
643
|
+
"type":"list",
|
644
|
+
"member":{"shape":"Landmark"}
|
645
|
+
},
|
646
|
+
"ListCollectionsRequest":{
|
647
|
+
"type":"structure",
|
648
|
+
"members":{
|
649
|
+
"NextToken":{"shape":"PaginationToken"},
|
650
|
+
"MaxResults":{"shape":"PageSize"}
|
651
|
+
}
|
652
|
+
},
|
653
|
+
"ListCollectionsResponse":{
|
654
|
+
"type":"structure",
|
655
|
+
"members":{
|
656
|
+
"CollectionIds":{"shape":"CollectionIdList"},
|
657
|
+
"NextToken":{"shape":"PaginationToken"}
|
658
|
+
}
|
659
|
+
},
|
660
|
+
"ListFacesRequest":{
|
661
|
+
"type":"structure",
|
662
|
+
"required":["CollectionId"],
|
663
|
+
"members":{
|
664
|
+
"CollectionId":{"shape":"CollectionId"},
|
665
|
+
"NextToken":{"shape":"PaginationToken"},
|
666
|
+
"MaxResults":{"shape":"PageSize"}
|
667
|
+
}
|
668
|
+
},
|
669
|
+
"ListFacesResponse":{
|
670
|
+
"type":"structure",
|
671
|
+
"members":{
|
672
|
+
"Faces":{"shape":"FaceList"},
|
673
|
+
"NextToken":{"shape":"String"}
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"MaxFaces":{
|
677
|
+
"type":"integer",
|
678
|
+
"max":4096,
|
679
|
+
"min":1
|
680
|
+
},
|
681
|
+
"MouthOpen":{
|
682
|
+
"type":"structure",
|
683
|
+
"members":{
|
684
|
+
"Value":{"shape":"Boolean"},
|
685
|
+
"Confidence":{"shape":"Percent"}
|
686
|
+
}
|
687
|
+
},
|
688
|
+
"Mustache":{
|
689
|
+
"type":"structure",
|
690
|
+
"members":{
|
691
|
+
"Value":{"shape":"Boolean"},
|
692
|
+
"Confidence":{"shape":"Percent"}
|
693
|
+
}
|
694
|
+
},
|
695
|
+
"OrientationCorrection":{
|
696
|
+
"type":"string",
|
697
|
+
"enum":[
|
698
|
+
"ROTATE_0",
|
699
|
+
"ROTATE_90",
|
700
|
+
"ROTATE_180",
|
701
|
+
"ROTATE_270"
|
702
|
+
]
|
703
|
+
},
|
704
|
+
"PageSize":{
|
705
|
+
"type":"integer",
|
706
|
+
"max":4096,
|
707
|
+
"min":0
|
708
|
+
},
|
709
|
+
"PaginationToken":{
|
710
|
+
"type":"string",
|
711
|
+
"max":255
|
712
|
+
},
|
713
|
+
"Percent":{
|
714
|
+
"type":"float",
|
715
|
+
"max":100,
|
716
|
+
"min":0
|
717
|
+
},
|
718
|
+
"Pose":{
|
719
|
+
"type":"structure",
|
720
|
+
"members":{
|
721
|
+
"Roll":{"shape":"Degree"},
|
722
|
+
"Yaw":{"shape":"Degree"},
|
723
|
+
"Pitch":{"shape":"Degree"}
|
724
|
+
}
|
725
|
+
},
|
726
|
+
"ProvisionedThroughputExceededException":{
|
727
|
+
"type":"structure",
|
728
|
+
"members":{
|
729
|
+
},
|
730
|
+
"exception":true
|
731
|
+
},
|
732
|
+
"ResourceAlreadyExistsException":{
|
733
|
+
"type":"structure",
|
734
|
+
"members":{
|
735
|
+
},
|
736
|
+
"exception":true
|
737
|
+
},
|
738
|
+
"ResourceNotFoundException":{
|
739
|
+
"type":"structure",
|
740
|
+
"members":{
|
741
|
+
},
|
742
|
+
"exception":true
|
743
|
+
},
|
744
|
+
"S3Bucket":{
|
745
|
+
"type":"string",
|
746
|
+
"max":255,
|
747
|
+
"min":3,
|
748
|
+
"pattern":"[0-9A-Za-z\\.\\-_]*"
|
749
|
+
},
|
750
|
+
"S3Object":{
|
751
|
+
"type":"structure",
|
752
|
+
"members":{
|
753
|
+
"Bucket":{"shape":"S3Bucket"},
|
754
|
+
"Name":{"shape":"S3ObjectName"},
|
755
|
+
"Version":{"shape":"S3ObjectVersion"}
|
756
|
+
}
|
757
|
+
},
|
758
|
+
"S3ObjectName":{
|
759
|
+
"type":"string",
|
760
|
+
"max":1024,
|
761
|
+
"min":1
|
762
|
+
},
|
763
|
+
"S3ObjectVersion":{
|
764
|
+
"type":"string",
|
765
|
+
"max":1024,
|
766
|
+
"min":1
|
767
|
+
},
|
768
|
+
"SearchFacesByImageRequest":{
|
769
|
+
"type":"structure",
|
770
|
+
"required":[
|
771
|
+
"CollectionId",
|
772
|
+
"Image"
|
773
|
+
],
|
774
|
+
"members":{
|
775
|
+
"CollectionId":{"shape":"CollectionId"},
|
776
|
+
"Image":{"shape":"Image"},
|
777
|
+
"MaxFaces":{"shape":"MaxFaces"},
|
778
|
+
"FaceMatchThreshold":{"shape":"Percent"}
|
779
|
+
}
|
780
|
+
},
|
781
|
+
"SearchFacesByImageResponse":{
|
782
|
+
"type":"structure",
|
783
|
+
"members":{
|
784
|
+
"SearchedFaceBoundingBox":{"shape":"BoundingBox"},
|
785
|
+
"SearchedFaceConfidence":{"shape":"Percent"},
|
786
|
+
"FaceMatches":{"shape":"FaceMatchList"}
|
787
|
+
}
|
788
|
+
},
|
789
|
+
"SearchFacesRequest":{
|
790
|
+
"type":"structure",
|
791
|
+
"required":[
|
792
|
+
"CollectionId",
|
793
|
+
"FaceId"
|
794
|
+
],
|
795
|
+
"members":{
|
796
|
+
"CollectionId":{"shape":"CollectionId"},
|
797
|
+
"FaceId":{"shape":"FaceId"},
|
798
|
+
"MaxFaces":{"shape":"MaxFaces"},
|
799
|
+
"FaceMatchThreshold":{"shape":"Percent"}
|
800
|
+
}
|
801
|
+
},
|
802
|
+
"SearchFacesResponse":{
|
803
|
+
"type":"structure",
|
804
|
+
"members":{
|
805
|
+
"SearchedFaceId":{"shape":"FaceId"},
|
806
|
+
"FaceMatches":{"shape":"FaceMatchList"}
|
807
|
+
}
|
808
|
+
},
|
809
|
+
"Smile":{
|
810
|
+
"type":"structure",
|
811
|
+
"members":{
|
812
|
+
"Value":{"shape":"Boolean"},
|
813
|
+
"Confidence":{"shape":"Percent"}
|
814
|
+
}
|
815
|
+
},
|
816
|
+
"String":{"type":"string"},
|
817
|
+
"Sunglasses":{
|
818
|
+
"type":"structure",
|
819
|
+
"members":{
|
820
|
+
"Value":{"shape":"Boolean"},
|
821
|
+
"Confidence":{"shape":"Percent"}
|
822
|
+
}
|
823
|
+
},
|
824
|
+
"ThrottlingException":{
|
825
|
+
"type":"structure",
|
826
|
+
"members":{
|
827
|
+
},
|
828
|
+
"exception":true,
|
829
|
+
"fault":true
|
830
|
+
},
|
831
|
+
"UInteger":{
|
832
|
+
"type":"integer",
|
833
|
+
"min":0
|
834
|
+
}
|
835
|
+
}
|
836
|
+
}
|