aws-sdk-rekognition 1.130.0 → 1.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +1 -1
- data/lib/aws-sdk-rekognition.rb +1 -1
- data/sig/client.rbs +20 -172
- data/sig/params.rbs +47 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6807d343e647206e5f3c8c7d1a8df0354f03f5c61fa7ee1693cd4a6f2937054d
|
|
4
|
+
data.tar.gz: a4aa590af96cf774ddbe8a59c8214c45c016f7826e62e459c4d5935e382161a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd8ab589497181ef2a3f87c6363cd0a908ed24b219ca15ba693a9ac00643a4fc89799e5e9bce37b4c9e7bc4bde5805eea07af45c065567bce4cf421a0a29ce84
|
|
7
|
+
data.tar.gz: ea8b5f204eaefa1194eb687669ff44d0666ee1b775de243be9d5bd88e44f418bcf31a121899b05d3fe5c386413f150ecc9bba3d65fb2a9342e72beb43e81c35b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.131.0
|
|
@@ -8527,7 +8527,7 @@ module Aws::Rekognition
|
|
|
8527
8527
|
tracer: tracer
|
|
8528
8528
|
)
|
|
8529
8529
|
context[:gem_name] = 'aws-sdk-rekognition'
|
|
8530
|
-
context[:gem_version] = '1.
|
|
8530
|
+
context[:gem_version] = '1.131.0'
|
|
8531
8531
|
Seahorse::Client::Request.new(handlers, context)
|
|
8532
8532
|
end
|
|
8533
8533
|
|
data/lib/aws-sdk-rekognition.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -105,22 +105,8 @@ module Aws
|
|
|
105
105
|
end
|
|
106
106
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#compare_faces-instance_method
|
|
107
107
|
def compare_faces: (
|
|
108
|
-
source_image:
|
|
109
|
-
|
|
110
|
-
s3_object: {
|
|
111
|
-
bucket: ::String?,
|
|
112
|
-
name: ::String?,
|
|
113
|
-
version: ::String?
|
|
114
|
-
}?
|
|
115
|
-
},
|
|
116
|
-
target_image: {
|
|
117
|
-
bytes: ::String?,
|
|
118
|
-
s3_object: {
|
|
119
|
-
bucket: ::String?,
|
|
120
|
-
name: ::String?,
|
|
121
|
-
version: ::String?
|
|
122
|
-
}?
|
|
123
|
-
},
|
|
108
|
+
source_image: Params::image,
|
|
109
|
+
target_image: Params::image,
|
|
124
110
|
?similarity_threshold: ::Float,
|
|
125
111
|
?quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
|
|
126
112
|
) -> _CompareFacesResponseSuccess
|
|
@@ -200,7 +186,7 @@ module Aws
|
|
|
200
186
|
minimum: ::String?,
|
|
201
187
|
maximum: ::String?
|
|
202
188
|
}?
|
|
203
|
-
}
|
|
189
|
+
}
|
|
204
190
|
]?
|
|
205
191
|
},
|
|
206
192
|
?client_request_token: ::String
|
|
@@ -234,28 +220,12 @@ module Aws
|
|
|
234
220
|
},
|
|
235
221
|
?training_data: {
|
|
236
222
|
assets: Array[
|
|
237
|
-
|
|
238
|
-
ground_truth_manifest: {
|
|
239
|
-
s3_object: {
|
|
240
|
-
bucket: ::String?,
|
|
241
|
-
name: ::String?,
|
|
242
|
-
version: ::String?
|
|
243
|
-
}?
|
|
244
|
-
}?
|
|
245
|
-
},
|
|
223
|
+
Params::asset
|
|
246
224
|
]?
|
|
247
225
|
},
|
|
248
226
|
?testing_data: {
|
|
249
227
|
assets: Array[
|
|
250
|
-
|
|
251
|
-
ground_truth_manifest: {
|
|
252
|
-
s3_object: {
|
|
253
|
-
bucket: ::String?,
|
|
254
|
-
name: ::String?,
|
|
255
|
-
version: ::String?
|
|
256
|
-
}?
|
|
257
|
-
}?
|
|
258
|
-
},
|
|
228
|
+
Params::asset
|
|
259
229
|
]?,
|
|
260
230
|
auto_create: bool?
|
|
261
231
|
},
|
|
@@ -308,20 +278,7 @@ module Aws
|
|
|
308
278
|
},
|
|
309
279
|
?kms_key_id: ::String,
|
|
310
280
|
?regions_of_interest: Array[
|
|
311
|
-
|
|
312
|
-
bounding_box: {
|
|
313
|
-
width: ::Float?,
|
|
314
|
-
height: ::Float?,
|
|
315
|
-
left: ::Float?,
|
|
316
|
-
top: ::Float?
|
|
317
|
-
}?,
|
|
318
|
-
polygon: Array[
|
|
319
|
-
{
|
|
320
|
-
x: ::Float?,
|
|
321
|
-
y: ::Float?
|
|
322
|
-
},
|
|
323
|
-
]?
|
|
324
|
-
},
|
|
281
|
+
Params::region_of_interest
|
|
325
282
|
],
|
|
326
283
|
?data_sharing_preference: {
|
|
327
284
|
opt_in: bool
|
|
@@ -504,14 +461,7 @@ module Aws
|
|
|
504
461
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_custom_labels-instance_method
|
|
505
462
|
def detect_custom_labels: (
|
|
506
463
|
project_version_arn: ::String,
|
|
507
|
-
image:
|
|
508
|
-
bytes: ::String?,
|
|
509
|
-
s3_object: {
|
|
510
|
-
bucket: ::String?,
|
|
511
|
-
name: ::String?,
|
|
512
|
-
version: ::String?
|
|
513
|
-
}?
|
|
514
|
-
},
|
|
464
|
+
image: Params::image,
|
|
515
465
|
?max_results: ::Integer,
|
|
516
466
|
?min_confidence: ::Float
|
|
517
467
|
) -> _DetectCustomLabelsResponseSuccess
|
|
@@ -524,14 +474,7 @@ module Aws
|
|
|
524
474
|
end
|
|
525
475
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_faces-instance_method
|
|
526
476
|
def detect_faces: (
|
|
527
|
-
image:
|
|
528
|
-
bytes: ::String?,
|
|
529
|
-
s3_object: {
|
|
530
|
-
bucket: ::String?,
|
|
531
|
-
name: ::String?,
|
|
532
|
-
version: ::String?
|
|
533
|
-
}?
|
|
534
|
-
},
|
|
477
|
+
image: Params::image,
|
|
535
478
|
?attributes: Array[("DEFAULT" | "ALL" | "AGE_RANGE" | "BEARD" | "EMOTIONS" | "EYE_DIRECTION" | "EYEGLASSES" | "EYES_OPEN" | "GENDER" | "MOUTH_OPEN" | "MUSTACHE" | "FACE_OCCLUDED" | "SMILE" | "SUNGLASSES")]
|
|
536
479
|
) -> _DetectFacesResponseSuccess
|
|
537
480
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectFacesResponseSuccess
|
|
@@ -545,14 +488,7 @@ module Aws
|
|
|
545
488
|
end
|
|
546
489
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_labels-instance_method
|
|
547
490
|
def detect_labels: (
|
|
548
|
-
image:
|
|
549
|
-
bytes: ::String?,
|
|
550
|
-
s3_object: {
|
|
551
|
-
bucket: ::String?,
|
|
552
|
-
name: ::String?,
|
|
553
|
-
version: ::String?
|
|
554
|
-
}?
|
|
555
|
-
},
|
|
491
|
+
image: Params::image,
|
|
556
492
|
?max_labels: ::Integer,
|
|
557
493
|
?min_confidence: ::Float,
|
|
558
494
|
?features: Array[("GENERAL_LABELS" | "IMAGE_PROPERTIES")],
|
|
@@ -580,14 +516,7 @@ module Aws
|
|
|
580
516
|
end
|
|
581
517
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_moderation_labels-instance_method
|
|
582
518
|
def detect_moderation_labels: (
|
|
583
|
-
image:
|
|
584
|
-
bytes: ::String?,
|
|
585
|
-
s3_object: {
|
|
586
|
-
bucket: ::String?,
|
|
587
|
-
name: ::String?,
|
|
588
|
-
version: ::String?
|
|
589
|
-
}?
|
|
590
|
-
},
|
|
519
|
+
image: Params::image,
|
|
591
520
|
?min_confidence: ::Float,
|
|
592
521
|
?human_loop_config: {
|
|
593
522
|
human_loop_name: ::String,
|
|
@@ -608,14 +537,7 @@ module Aws
|
|
|
608
537
|
end
|
|
609
538
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_protective_equipment-instance_method
|
|
610
539
|
def detect_protective_equipment: (
|
|
611
|
-
image:
|
|
612
|
-
bytes: ::String?,
|
|
613
|
-
s3_object: {
|
|
614
|
-
bucket: ::String?,
|
|
615
|
-
name: ::String?,
|
|
616
|
-
version: ::String?
|
|
617
|
-
}?
|
|
618
|
-
},
|
|
540
|
+
image: Params::image,
|
|
619
541
|
?summarization_attributes: {
|
|
620
542
|
min_confidence: ::Float,
|
|
621
543
|
required_equipment_types: Array[("FACE_COVER" | "HAND_COVER" | "HEAD_COVER")]
|
|
@@ -630,14 +552,7 @@ module Aws
|
|
|
630
552
|
end
|
|
631
553
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#detect_text-instance_method
|
|
632
554
|
def detect_text: (
|
|
633
|
-
image:
|
|
634
|
-
bytes: ::String?,
|
|
635
|
-
s3_object: {
|
|
636
|
-
bucket: ::String?,
|
|
637
|
-
name: ::String?,
|
|
638
|
-
version: ::String?
|
|
639
|
-
}?
|
|
640
|
-
},
|
|
555
|
+
image: Params::image,
|
|
641
556
|
?filters: {
|
|
642
557
|
word_filter: {
|
|
643
558
|
min_confidence: ::Float?,
|
|
@@ -645,20 +560,7 @@ module Aws
|
|
|
645
560
|
min_bounding_box_width: ::Float?
|
|
646
561
|
}?,
|
|
647
562
|
regions_of_interest: Array[
|
|
648
|
-
|
|
649
|
-
bounding_box: {
|
|
650
|
-
width: ::Float?,
|
|
651
|
-
height: ::Float?,
|
|
652
|
-
left: ::Float?,
|
|
653
|
-
top: ::Float?
|
|
654
|
-
}?,
|
|
655
|
-
polygon: Array[
|
|
656
|
-
{
|
|
657
|
-
x: ::Float?,
|
|
658
|
-
y: ::Float?
|
|
659
|
-
},
|
|
660
|
-
]?
|
|
661
|
-
},
|
|
563
|
+
Params::region_of_interest
|
|
662
564
|
]?
|
|
663
565
|
}
|
|
664
566
|
) -> _DetectTextResponseSuccess
|
|
@@ -687,7 +589,7 @@ module Aws
|
|
|
687
589
|
datasets: Array[
|
|
688
590
|
{
|
|
689
591
|
arn: ::String
|
|
690
|
-
}
|
|
592
|
+
}
|
|
691
593
|
]
|
|
692
594
|
) -> _DistributeDatasetEntriesResponseSuccess
|
|
693
595
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DistributeDatasetEntriesResponseSuccess
|
|
@@ -916,14 +818,7 @@ module Aws
|
|
|
916
818
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#index_faces-instance_method
|
|
917
819
|
def index_faces: (
|
|
918
820
|
collection_id: ::String,
|
|
919
|
-
image:
|
|
920
|
-
bytes: ::String?,
|
|
921
|
-
s3_object: {
|
|
922
|
-
bucket: ::String?,
|
|
923
|
-
name: ::String?,
|
|
924
|
-
version: ::String?
|
|
925
|
-
}?
|
|
926
|
-
},
|
|
821
|
+
image: Params::image,
|
|
927
822
|
?external_image_id: ::String,
|
|
928
823
|
?detection_attributes: Array[("DEFAULT" | "ALL" | "AGE_RANGE" | "BEARD" | "EMOTIONS" | "EYE_DIRECTION" | "EYEGLASSES" | "EYES_OPEN" | "GENDER" | "MOUTH_OPEN" | "MUSTACHE" | "FACE_OCCLUDED" | "SMILE" | "SUNGLASSES")],
|
|
929
824
|
?max_faces: ::Integer,
|
|
@@ -1071,14 +966,7 @@ module Aws
|
|
|
1071
966
|
end
|
|
1072
967
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#recognize_celebrities-instance_method
|
|
1073
968
|
def recognize_celebrities: (
|
|
1074
|
-
image:
|
|
1075
|
-
bytes: ::String?,
|
|
1076
|
-
s3_object: {
|
|
1077
|
-
bucket: ::String?,
|
|
1078
|
-
name: ::String?,
|
|
1079
|
-
version: ::String?
|
|
1080
|
-
}?
|
|
1081
|
-
}
|
|
969
|
+
image: Params::image
|
|
1082
970
|
) -> _RecognizeCelebritiesResponseSuccess
|
|
1083
971
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecognizeCelebritiesResponseSuccess
|
|
1084
972
|
|
|
@@ -1107,14 +995,7 @@ module Aws
|
|
|
1107
995
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#search_faces_by_image-instance_method
|
|
1108
996
|
def search_faces_by_image: (
|
|
1109
997
|
collection_id: ::String,
|
|
1110
|
-
image:
|
|
1111
|
-
bytes: ::String?,
|
|
1112
|
-
s3_object: {
|
|
1113
|
-
bucket: ::String?,
|
|
1114
|
-
name: ::String?,
|
|
1115
|
-
version: ::String?
|
|
1116
|
-
}?
|
|
1117
|
-
},
|
|
998
|
+
image: Params::image,
|
|
1118
999
|
?max_faces: ::Integer,
|
|
1119
1000
|
?face_match_threshold: ::Float,
|
|
1120
1001
|
?quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
|
|
@@ -1148,14 +1029,7 @@ module Aws
|
|
|
1148
1029
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#search_users_by_image-instance_method
|
|
1149
1030
|
def search_users_by_image: (
|
|
1150
1031
|
collection_id: ::String,
|
|
1151
|
-
image:
|
|
1152
|
-
bytes: ::String?,
|
|
1153
|
-
s3_object: {
|
|
1154
|
-
bucket: ::String?,
|
|
1155
|
-
name: ::String?,
|
|
1156
|
-
version: ::String?
|
|
1157
|
-
}?
|
|
1158
|
-
},
|
|
1032
|
+
image: Params::image,
|
|
1159
1033
|
?user_match_threshold: ::Float,
|
|
1160
1034
|
?max_users: ::Integer,
|
|
1161
1035
|
?quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
|
|
@@ -1429,20 +1303,7 @@ module Aws
|
|
|
1429
1303
|
min_bounding_box_width: ::Float?
|
|
1430
1304
|
}?,
|
|
1431
1305
|
regions_of_interest: Array[
|
|
1432
|
-
|
|
1433
|
-
bounding_box: {
|
|
1434
|
-
width: ::Float?,
|
|
1435
|
-
height: ::Float?,
|
|
1436
|
-
left: ::Float?,
|
|
1437
|
-
top: ::Float?
|
|
1438
|
-
}?,
|
|
1439
|
-
polygon: Array[
|
|
1440
|
-
{
|
|
1441
|
-
x: ::Float?,
|
|
1442
|
-
y: ::Float?
|
|
1443
|
-
},
|
|
1444
|
-
]?
|
|
1445
|
-
},
|
|
1306
|
+
Params::region_of_interest
|
|
1446
1307
|
]?
|
|
1447
1308
|
}
|
|
1448
1309
|
) -> _StartTextDetectionResponseSuccess
|
|
@@ -1512,20 +1373,7 @@ module Aws
|
|
|
1512
1373
|
}?
|
|
1513
1374
|
},
|
|
1514
1375
|
?regions_of_interest_for_update: Array[
|
|
1515
|
-
|
|
1516
|
-
bounding_box: {
|
|
1517
|
-
width: ::Float?,
|
|
1518
|
-
height: ::Float?,
|
|
1519
|
-
left: ::Float?,
|
|
1520
|
-
top: ::Float?
|
|
1521
|
-
}?,
|
|
1522
|
-
polygon: Array[
|
|
1523
|
-
{
|
|
1524
|
-
x: ::Float?,
|
|
1525
|
-
y: ::Float?
|
|
1526
|
-
},
|
|
1527
|
-
]?
|
|
1528
|
-
},
|
|
1376
|
+
Params::region_of_interest
|
|
1529
1377
|
],
|
|
1530
1378
|
?data_sharing_preference_for_update: {
|
|
1531
1379
|
opt_in: bool
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module Rekognition
|
|
10
|
+
module Params
|
|
11
|
+
type image = {
|
|
12
|
+
bytes: ::String?,
|
|
13
|
+
s3_object: {
|
|
14
|
+
bucket: ::String?,
|
|
15
|
+
name: ::String?,
|
|
16
|
+
version: ::String?
|
|
17
|
+
}?
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type asset = {
|
|
21
|
+
ground_truth_manifest: {
|
|
22
|
+
s3_object: {
|
|
23
|
+
bucket: ::String?,
|
|
24
|
+
name: ::String?,
|
|
25
|
+
version: ::String?
|
|
26
|
+
}?
|
|
27
|
+
}?
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type region_of_interest = {
|
|
31
|
+
bounding_box: {
|
|
32
|
+
width: ::Float?,
|
|
33
|
+
height: ::Float?,
|
|
34
|
+
left: ::Float?,
|
|
35
|
+
top: ::Float?
|
|
36
|
+
}?,
|
|
37
|
+
polygon: Array[
|
|
38
|
+
{
|
|
39
|
+
x: ::Float?,
|
|
40
|
+
y: ::Float?
|
|
41
|
+
}
|
|
42
|
+
]?
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.131.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-rekognition/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|