aws-sdk-rekognition 1.71.0 → 1.73.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +269 -51
- data/lib/aws-sdk-rekognition/client_api.rb +96 -0
- data/lib/aws-sdk-rekognition/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-rekognition/endpoint_provider.rb +100 -101
- data/lib/aws-sdk-rekognition/types.rb +364 -1366
- data/lib/aws-sdk-rekognition.rb +1 -1
- metadata +2 -2
@@ -40,19 +40,6 @@ module Aws::Rekognition
|
|
40
40
|
# version. Assets can also contain validation information that you use
|
41
41
|
# to debug a failed model training.
|
42
42
|
#
|
43
|
-
# @note When making an API call, you may pass Asset
|
44
|
-
# data as a hash:
|
45
|
-
#
|
46
|
-
# {
|
47
|
-
# ground_truth_manifest: {
|
48
|
-
# s3_object: {
|
49
|
-
# bucket: "S3Bucket",
|
50
|
-
# name: "S3ObjectName",
|
51
|
-
# version: "S3ObjectVersion",
|
52
|
-
# },
|
53
|
-
# },
|
54
|
-
# }
|
55
|
-
#
|
56
43
|
# @!attribute [rw] ground_truth_manifest
|
57
44
|
# The S3 bucket that contains an Amazon Sagemaker Ground Truth format
|
58
45
|
# manifest file.
|
@@ -118,14 +105,6 @@ module Aws::Rekognition
|
|
118
105
|
# for black frames that need to be accounted for. For more information,
|
119
106
|
# see StartSegmentDetection.
|
120
107
|
#
|
121
|
-
# @note When making an API call, you may pass BlackFrame
|
122
|
-
# data as a hash:
|
123
|
-
#
|
124
|
-
# {
|
125
|
-
# max_pixel_threshold: 1.0,
|
126
|
-
# min_coverage_percentage: 1.0,
|
127
|
-
# }
|
128
|
-
#
|
129
108
|
# @!attribute [rw] max_pixel_threshold
|
130
109
|
# A threshold used to determine the maximum luminance value for a
|
131
110
|
# pixel to be considered black. In a full color range video, luminance
|
@@ -186,16 +165,6 @@ module Aws::Rekognition
|
|
186
165
|
#
|
187
166
|
# </note>
|
188
167
|
#
|
189
|
-
# @note When making an API call, you may pass BoundingBox
|
190
|
-
# data as a hash:
|
191
|
-
#
|
192
|
-
# {
|
193
|
-
# width: 1.0,
|
194
|
-
# height: 1.0,
|
195
|
-
# left: 1.0,
|
196
|
-
# top: 1.0,
|
197
|
-
# }
|
198
|
-
#
|
199
168
|
# @!attribute [rw] width
|
200
169
|
# Width of the bounding box as a ratio of the overall image width.
|
201
170
|
# @return [Float]
|
@@ -316,7 +285,9 @@ module Aws::Rekognition
|
|
316
285
|
#
|
317
286
|
# @!attribute [rw] timestamp
|
318
287
|
# The time, in milliseconds from the start of the video, that the
|
319
|
-
# celebrity was recognized.
|
288
|
+
# celebrity was recognized. Note that `Timestamp` is not guaranteed to
|
289
|
+
# be accurate to the individual frame where the celebrity first
|
290
|
+
# appears.
|
320
291
|
# @return [Integer]
|
321
292
|
#
|
322
293
|
# @!attribute [rw] celebrity
|
@@ -352,30 +323,6 @@ module Aws::Rekognition
|
|
352
323
|
include Aws::Structure
|
353
324
|
end
|
354
325
|
|
355
|
-
# @note When making an API call, you may pass CompareFacesRequest
|
356
|
-
# data as a hash:
|
357
|
-
#
|
358
|
-
# {
|
359
|
-
# source_image: { # required
|
360
|
-
# bytes: "data",
|
361
|
-
# s3_object: {
|
362
|
-
# bucket: "S3Bucket",
|
363
|
-
# name: "S3ObjectName",
|
364
|
-
# version: "S3ObjectVersion",
|
365
|
-
# },
|
366
|
-
# },
|
367
|
-
# target_image: { # required
|
368
|
-
# bytes: "data",
|
369
|
-
# s3_object: {
|
370
|
-
# bucket: "S3Bucket",
|
371
|
-
# name: "S3ObjectName",
|
372
|
-
# version: "S3ObjectVersion",
|
373
|
-
# },
|
374
|
-
# },
|
375
|
-
# similarity_threshold: 1.0,
|
376
|
-
# quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
|
377
|
-
# }
|
378
|
-
#
|
379
326
|
# @!attribute [rw] source_image
|
380
327
|
# The input image as base64-encoded bytes or an S3 object. If you use
|
381
328
|
# the AWS CLI to call Amazon Rekognition operations, passing
|
@@ -570,14 +517,6 @@ module Aws::Rekognition
|
|
570
517
|
# SNS notification is published the first time a pet is detected, as
|
571
518
|
# well as an end-of-session summary.
|
572
519
|
#
|
573
|
-
# @note When making an API call, you may pass ConnectedHomeSettings
|
574
|
-
# data as a hash:
|
575
|
-
#
|
576
|
-
# {
|
577
|
-
# labels: ["ConnectedHomeLabel"], # required
|
578
|
-
# min_confidence: 1.0,
|
579
|
-
# }
|
580
|
-
#
|
581
520
|
# @!attribute [rw] labels
|
582
521
|
# Specifies what you want to detect in the video, such as people,
|
583
522
|
# packages, or pets. The current valid labels you can include in this
|
@@ -599,14 +538,6 @@ module Aws::Rekognition
|
|
599
538
|
# This includes the labels you want the stream processor to detect and
|
600
539
|
# the minimum confidence level allowed to label objects.
|
601
540
|
#
|
602
|
-
# @note When making an API call, you may pass ConnectedHomeSettingsForUpdate
|
603
|
-
# data as a hash:
|
604
|
-
#
|
605
|
-
# {
|
606
|
-
# labels: ["ConnectedHomeLabel"],
|
607
|
-
# min_confidence: 1.0,
|
608
|
-
# }
|
609
|
-
#
|
610
541
|
# @!attribute [rw] labels
|
611
542
|
# Specifies what you want to detect in the video, such as people,
|
612
543
|
# packages, or pets. The current valid labels you can include in this
|
@@ -629,7 +560,9 @@ module Aws::Rekognition
|
|
629
560
|
#
|
630
561
|
# @!attribute [rw] timestamp
|
631
562
|
# Time, in milliseconds from the beginning of the video, that the
|
632
|
-
# content moderation label was detected.
|
563
|
+
# content moderation label was detected. Note that `Timestamp` is not
|
564
|
+
# guaranteed to be accurate to the individual frame where the
|
565
|
+
# moderated content first appears.
|
633
566
|
# @return [Integer]
|
634
567
|
#
|
635
568
|
# @!attribute [rw] moderation_label
|
@@ -643,24 +576,6 @@ module Aws::Rekognition
|
|
643
576
|
include Aws::Structure
|
644
577
|
end
|
645
578
|
|
646
|
-
# @note When making an API call, you may pass CopyProjectVersionRequest
|
647
|
-
# data as a hash:
|
648
|
-
#
|
649
|
-
# {
|
650
|
-
# source_project_arn: "ProjectArn", # required
|
651
|
-
# source_project_version_arn: "ProjectVersionArn", # required
|
652
|
-
# destination_project_arn: "ProjectArn", # required
|
653
|
-
# version_name: "VersionName", # required
|
654
|
-
# output_config: { # required
|
655
|
-
# s3_bucket: "S3Bucket",
|
656
|
-
# s3_key_prefix: "S3KeyPrefix",
|
657
|
-
# },
|
658
|
-
# tags: {
|
659
|
-
# "TagKey" => "TagValue",
|
660
|
-
# },
|
661
|
-
# kms_key_id: "KmsKeyId",
|
662
|
-
# }
|
663
|
-
#
|
664
579
|
# @!attribute [rw] source_project_arn
|
665
580
|
# The ARN of the source project in the trusting AWS account.
|
666
581
|
# @return [String]
|
@@ -752,16 +667,6 @@ module Aws::Rekognition
|
|
752
667
|
include Aws::Structure
|
753
668
|
end
|
754
669
|
|
755
|
-
# @note When making an API call, you may pass CreateCollectionRequest
|
756
|
-
# data as a hash:
|
757
|
-
#
|
758
|
-
# {
|
759
|
-
# collection_id: "CollectionId", # required
|
760
|
-
# tags: {
|
761
|
-
# "TagKey" => "TagValue",
|
762
|
-
# },
|
763
|
-
# }
|
764
|
-
#
|
765
670
|
# @!attribute [rw] collection_id
|
766
671
|
# ID for the collection that you are creating.
|
767
672
|
# @return [String]
|
@@ -800,24 +705,6 @@ module Aws::Rekognition
|
|
800
705
|
include Aws::Structure
|
801
706
|
end
|
802
707
|
|
803
|
-
# @note When making an API call, you may pass CreateDatasetRequest
|
804
|
-
# data as a hash:
|
805
|
-
#
|
806
|
-
# {
|
807
|
-
# dataset_source: {
|
808
|
-
# ground_truth_manifest: {
|
809
|
-
# s3_object: {
|
810
|
-
# bucket: "S3Bucket",
|
811
|
-
# name: "S3ObjectName",
|
812
|
-
# version: "S3ObjectVersion",
|
813
|
-
# },
|
814
|
-
# },
|
815
|
-
# dataset_arn: "DatasetArn",
|
816
|
-
# },
|
817
|
-
# dataset_type: "TRAIN", # required, accepts TRAIN, TEST
|
818
|
-
# project_arn: "ProjectArn", # required
|
819
|
-
# }
|
820
|
-
#
|
821
708
|
# @!attribute [rw] dataset_source
|
822
709
|
# The source files for the dataset. You can specify the ARN of an
|
823
710
|
# existing dataset or specify the Amazon S3 bucket location of an
|
@@ -855,13 +742,6 @@ module Aws::Rekognition
|
|
855
742
|
include Aws::Structure
|
856
743
|
end
|
857
744
|
|
858
|
-
# @note When making an API call, you may pass CreateProjectRequest
|
859
|
-
# data as a hash:
|
860
|
-
#
|
861
|
-
# {
|
862
|
-
# project_name: "ProjectName", # required
|
863
|
-
# }
|
864
|
-
#
|
865
745
|
# @!attribute [rw] project_name
|
866
746
|
# The name of the project to create.
|
867
747
|
# @return [String]
|
@@ -883,49 +763,6 @@ module Aws::Rekognition
|
|
883
763
|
include Aws::Structure
|
884
764
|
end
|
885
765
|
|
886
|
-
# @note When making an API call, you may pass CreateProjectVersionRequest
|
887
|
-
# data as a hash:
|
888
|
-
#
|
889
|
-
# {
|
890
|
-
# project_arn: "ProjectArn", # required
|
891
|
-
# version_name: "VersionName", # required
|
892
|
-
# output_config: { # required
|
893
|
-
# s3_bucket: "S3Bucket",
|
894
|
-
# s3_key_prefix: "S3KeyPrefix",
|
895
|
-
# },
|
896
|
-
# training_data: {
|
897
|
-
# assets: [
|
898
|
-
# {
|
899
|
-
# ground_truth_manifest: {
|
900
|
-
# s3_object: {
|
901
|
-
# bucket: "S3Bucket",
|
902
|
-
# name: "S3ObjectName",
|
903
|
-
# version: "S3ObjectVersion",
|
904
|
-
# },
|
905
|
-
# },
|
906
|
-
# },
|
907
|
-
# ],
|
908
|
-
# },
|
909
|
-
# testing_data: {
|
910
|
-
# assets: [
|
911
|
-
# {
|
912
|
-
# ground_truth_manifest: {
|
913
|
-
# s3_object: {
|
914
|
-
# bucket: "S3Bucket",
|
915
|
-
# name: "S3ObjectName",
|
916
|
-
# version: "S3ObjectVersion",
|
917
|
-
# },
|
918
|
-
# },
|
919
|
-
# },
|
920
|
-
# ],
|
921
|
-
# auto_create: false,
|
922
|
-
# },
|
923
|
-
# tags: {
|
924
|
-
# "TagKey" => "TagValue",
|
925
|
-
# },
|
926
|
-
# kms_key_id: "KmsKeyId",
|
927
|
-
# }
|
928
|
-
#
|
929
766
|
# @!attribute [rw] project_arn
|
930
767
|
# The ARN of the Amazon Rekognition Custom Labels project that manages
|
931
768
|
# the model that you want to train.
|
@@ -1006,64 +843,6 @@ module Aws::Rekognition
|
|
1006
843
|
include Aws::Structure
|
1007
844
|
end
|
1008
845
|
|
1009
|
-
# @note When making an API call, you may pass CreateStreamProcessorRequest
|
1010
|
-
# data as a hash:
|
1011
|
-
#
|
1012
|
-
# {
|
1013
|
-
# input: { # required
|
1014
|
-
# kinesis_video_stream: {
|
1015
|
-
# arn: "KinesisVideoArn",
|
1016
|
-
# },
|
1017
|
-
# },
|
1018
|
-
# output: { # required
|
1019
|
-
# kinesis_data_stream: {
|
1020
|
-
# arn: "KinesisDataArn",
|
1021
|
-
# },
|
1022
|
-
# s3_destination: {
|
1023
|
-
# bucket: "S3Bucket",
|
1024
|
-
# key_prefix: "S3KeyPrefix",
|
1025
|
-
# },
|
1026
|
-
# },
|
1027
|
-
# name: "StreamProcessorName", # required
|
1028
|
-
# settings: { # required
|
1029
|
-
# face_search: {
|
1030
|
-
# collection_id: "CollectionId",
|
1031
|
-
# face_match_threshold: 1.0,
|
1032
|
-
# },
|
1033
|
-
# connected_home: {
|
1034
|
-
# labels: ["ConnectedHomeLabel"], # required
|
1035
|
-
# min_confidence: 1.0,
|
1036
|
-
# },
|
1037
|
-
# },
|
1038
|
-
# role_arn: "RoleArn", # required
|
1039
|
-
# tags: {
|
1040
|
-
# "TagKey" => "TagValue",
|
1041
|
-
# },
|
1042
|
-
# notification_channel: {
|
1043
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
1044
|
-
# },
|
1045
|
-
# kms_key_id: "KmsKeyId",
|
1046
|
-
# regions_of_interest: [
|
1047
|
-
# {
|
1048
|
-
# bounding_box: {
|
1049
|
-
# width: 1.0,
|
1050
|
-
# height: 1.0,
|
1051
|
-
# left: 1.0,
|
1052
|
-
# top: 1.0,
|
1053
|
-
# },
|
1054
|
-
# polygon: [
|
1055
|
-
# {
|
1056
|
-
# x: 1.0,
|
1057
|
-
# y: 1.0,
|
1058
|
-
# },
|
1059
|
-
# ],
|
1060
|
-
# },
|
1061
|
-
# ],
|
1062
|
-
# data_sharing_preference: {
|
1063
|
-
# opt_in: false, # required
|
1064
|
-
# },
|
1065
|
-
# }
|
1066
|
-
#
|
1067
846
|
# @!attribute [rw] input
|
1068
847
|
# Kinesis video stream stream that provides the source streaming
|
1069
848
|
# video. If you are using the AWS CLI, the parameter name is
|
@@ -1209,13 +988,6 @@ module Aws::Rekognition
|
|
1209
988
|
# that you want to update. If the `source-ref` field doesn't match an
|
1210
989
|
# existing entry, the entry is added to dataset as a new entry.
|
1211
990
|
#
|
1212
|
-
# @note When making an API call, you may pass DatasetChanges
|
1213
|
-
# data as a hash:
|
1214
|
-
#
|
1215
|
-
# {
|
1216
|
-
# ground_truth: "data", # required
|
1217
|
-
# }
|
1218
|
-
#
|
1219
991
|
# @!attribute [rw] ground_truth
|
1220
992
|
# A Base64-encoded binary data object containing one or JSON lines
|
1221
993
|
# that either update the dataset or are additions to the dataset. You
|
@@ -1372,20 +1144,6 @@ module Aws::Rekognition
|
|
1372
1144
|
#
|
1373
1145
|
# For more information, see CreateDataset.
|
1374
1146
|
#
|
1375
|
-
# @note When making an API call, you may pass DatasetSource
|
1376
|
-
# data as a hash:
|
1377
|
-
#
|
1378
|
-
# {
|
1379
|
-
# ground_truth_manifest: {
|
1380
|
-
# s3_object: {
|
1381
|
-
# bucket: "S3Bucket",
|
1382
|
-
# name: "S3ObjectName",
|
1383
|
-
# version: "S3ObjectVersion",
|
1384
|
-
# },
|
1385
|
-
# },
|
1386
|
-
# dataset_arn: "DatasetArn",
|
1387
|
-
# }
|
1388
|
-
#
|
1389
1147
|
# @!attribute [rw] ground_truth_manifest
|
1390
1148
|
# The S3 bucket that contains an Amazon Sagemaker Ground Truth format
|
1391
1149
|
# manifest file.
|
@@ -1431,13 +1189,6 @@ module Aws::Rekognition
|
|
1431
1189
|
include Aws::Structure
|
1432
1190
|
end
|
1433
1191
|
|
1434
|
-
# @note When making an API call, you may pass DeleteCollectionRequest
|
1435
|
-
# data as a hash:
|
1436
|
-
#
|
1437
|
-
# {
|
1438
|
-
# collection_id: "CollectionId", # required
|
1439
|
-
# }
|
1440
|
-
#
|
1441
1192
|
# @!attribute [rw] collection_id
|
1442
1193
|
# ID of the collection to delete.
|
1443
1194
|
# @return [String]
|
@@ -1458,13 +1209,6 @@ module Aws::Rekognition
|
|
1458
1209
|
include Aws::Structure
|
1459
1210
|
end
|
1460
1211
|
|
1461
|
-
# @note When making an API call, you may pass DeleteDatasetRequest
|
1462
|
-
# data as a hash:
|
1463
|
-
#
|
1464
|
-
# {
|
1465
|
-
# dataset_arn: "DatasetArn", # required
|
1466
|
-
# }
|
1467
|
-
#
|
1468
1212
|
# @!attribute [rw] dataset_arn
|
1469
1213
|
# The ARN of the Amazon Rekognition Custom Labels dataset that you
|
1470
1214
|
# want to delete.
|
@@ -1478,14 +1222,6 @@ module Aws::Rekognition
|
|
1478
1222
|
|
1479
1223
|
class DeleteDatasetResponse < Aws::EmptyStructure; end
|
1480
1224
|
|
1481
|
-
# @note When making an API call, you may pass DeleteFacesRequest
|
1482
|
-
# data as a hash:
|
1483
|
-
#
|
1484
|
-
# {
|
1485
|
-
# collection_id: "CollectionId", # required
|
1486
|
-
# face_ids: ["FaceId"], # required
|
1487
|
-
# }
|
1488
|
-
#
|
1489
1225
|
# @!attribute [rw] collection_id
|
1490
1226
|
# Collection from which to remove the specific faces.
|
1491
1227
|
# @return [String]
|
@@ -1511,15 +1247,6 @@ module Aws::Rekognition
|
|
1511
1247
|
include Aws::Structure
|
1512
1248
|
end
|
1513
1249
|
|
1514
|
-
# @note When making an API call, you may pass DeleteProjectPolicyRequest
|
1515
|
-
# data as a hash:
|
1516
|
-
#
|
1517
|
-
# {
|
1518
|
-
# project_arn: "ProjectArn", # required
|
1519
|
-
# policy_name: "ProjectPolicyName", # required
|
1520
|
-
# policy_revision_id: "ProjectPolicyRevisionId",
|
1521
|
-
# }
|
1522
|
-
#
|
1523
1250
|
# @!attribute [rw] project_arn
|
1524
1251
|
# The Amazon Resource Name (ARN) of the project that the project
|
1525
1252
|
# policy you want to delete is attached to.
|
@@ -1543,13 +1270,6 @@ module Aws::Rekognition
|
|
1543
1270
|
|
1544
1271
|
class DeleteProjectPolicyResponse < Aws::EmptyStructure; end
|
1545
1272
|
|
1546
|
-
# @note When making an API call, you may pass DeleteProjectRequest
|
1547
|
-
# data as a hash:
|
1548
|
-
#
|
1549
|
-
# {
|
1550
|
-
# project_arn: "ProjectArn", # required
|
1551
|
-
# }
|
1552
|
-
#
|
1553
1273
|
# @!attribute [rw] project_arn
|
1554
1274
|
# The Amazon Resource Name (ARN) of the project that you want to
|
1555
1275
|
# delete.
|
@@ -1571,13 +1291,6 @@ module Aws::Rekognition
|
|
1571
1291
|
include Aws::Structure
|
1572
1292
|
end
|
1573
1293
|
|
1574
|
-
# @note When making an API call, you may pass DeleteProjectVersionRequest
|
1575
|
-
# data as a hash:
|
1576
|
-
#
|
1577
|
-
# {
|
1578
|
-
# project_version_arn: "ProjectVersionArn", # required
|
1579
|
-
# }
|
1580
|
-
#
|
1581
1294
|
# @!attribute [rw] project_version_arn
|
1582
1295
|
# The Amazon Resource Name (ARN) of the model version that you want to
|
1583
1296
|
# delete.
|
@@ -1599,13 +1312,6 @@ module Aws::Rekognition
|
|
1599
1312
|
include Aws::Structure
|
1600
1313
|
end
|
1601
1314
|
|
1602
|
-
# @note When making an API call, you may pass DeleteStreamProcessorRequest
|
1603
|
-
# data as a hash:
|
1604
|
-
#
|
1605
|
-
# {
|
1606
|
-
# name: "StreamProcessorName", # required
|
1607
|
-
# }
|
1608
|
-
#
|
1609
1315
|
# @!attribute [rw] name
|
1610
1316
|
# The name of the stream processor you want to delete.
|
1611
1317
|
# @return [String]
|
@@ -1618,13 +1324,6 @@ module Aws::Rekognition
|
|
1618
1324
|
|
1619
1325
|
class DeleteStreamProcessorResponse < Aws::EmptyStructure; end
|
1620
1326
|
|
1621
|
-
# @note When making an API call, you may pass DescribeCollectionRequest
|
1622
|
-
# data as a hash:
|
1623
|
-
#
|
1624
|
-
# {
|
1625
|
-
# collection_id: "CollectionId", # required
|
1626
|
-
# }
|
1627
|
-
#
|
1628
1327
|
# @!attribute [rw] collection_id
|
1629
1328
|
# The ID of the collection to describe.
|
1630
1329
|
# @return [String]
|
@@ -1667,13 +1366,6 @@ module Aws::Rekognition
|
|
1667
1366
|
include Aws::Structure
|
1668
1367
|
end
|
1669
1368
|
|
1670
|
-
# @note When making an API call, you may pass DescribeDatasetRequest
|
1671
|
-
# data as a hash:
|
1672
|
-
#
|
1673
|
-
# {
|
1674
|
-
# dataset_arn: "DatasetArn", # required
|
1675
|
-
# }
|
1676
|
-
#
|
1677
1369
|
# @!attribute [rw] dataset_arn
|
1678
1370
|
# The Amazon Resource Name (ARN) of the dataset that you want to
|
1679
1371
|
# describe.
|
@@ -1695,16 +1387,6 @@ module Aws::Rekognition
|
|
1695
1387
|
include Aws::Structure
|
1696
1388
|
end
|
1697
1389
|
|
1698
|
-
# @note When making an API call, you may pass DescribeProjectVersionsRequest
|
1699
|
-
# data as a hash:
|
1700
|
-
#
|
1701
|
-
# {
|
1702
|
-
# project_arn: "ProjectArn", # required
|
1703
|
-
# version_names: ["VersionName"],
|
1704
|
-
# next_token: "ExtendedPaginationToken",
|
1705
|
-
# max_results: 1,
|
1706
|
-
# }
|
1707
|
-
#
|
1708
1390
|
# @!attribute [rw] project_arn
|
1709
1391
|
# The Amazon Resource Name (ARN) of the project that contains the
|
1710
1392
|
# models you want to describe.
|
@@ -1762,15 +1444,6 @@ module Aws::Rekognition
|
|
1762
1444
|
include Aws::Structure
|
1763
1445
|
end
|
1764
1446
|
|
1765
|
-
# @note When making an API call, you may pass DescribeProjectsRequest
|
1766
|
-
# data as a hash:
|
1767
|
-
#
|
1768
|
-
# {
|
1769
|
-
# next_token: "ExtendedPaginationToken",
|
1770
|
-
# max_results: 1,
|
1771
|
-
# project_names: ["ProjectName"],
|
1772
|
-
# }
|
1773
|
-
#
|
1774
1447
|
# @!attribute [rw] next_token
|
1775
1448
|
# If the previous response was incomplete (because there is more
|
1776
1449
|
# results to retrieve), Amazon Rekognition Custom Labels returns a
|
@@ -1818,13 +1491,6 @@ module Aws::Rekognition
|
|
1818
1491
|
include Aws::Structure
|
1819
1492
|
end
|
1820
1493
|
|
1821
|
-
# @note When making an API call, you may pass DescribeStreamProcessorRequest
|
1822
|
-
# data as a hash:
|
1823
|
-
#
|
1824
|
-
# {
|
1825
|
-
# name: "StreamProcessorName", # required
|
1826
|
-
# }
|
1827
|
-
#
|
1828
1494
|
# @!attribute [rw] name
|
1829
1495
|
# Name of the stream processor for which you want information.
|
1830
1496
|
# @return [String]
|
@@ -1934,23 +1600,6 @@ module Aws::Rekognition
|
|
1934
1600
|
include Aws::Structure
|
1935
1601
|
end
|
1936
1602
|
|
1937
|
-
# @note When making an API call, you may pass DetectCustomLabelsRequest
|
1938
|
-
# data as a hash:
|
1939
|
-
#
|
1940
|
-
# {
|
1941
|
-
# project_version_arn: "ProjectVersionArn", # required
|
1942
|
-
# image: { # required
|
1943
|
-
# bytes: "data",
|
1944
|
-
# s3_object: {
|
1945
|
-
# bucket: "S3Bucket",
|
1946
|
-
# name: "S3ObjectName",
|
1947
|
-
# version: "S3ObjectVersion",
|
1948
|
-
# },
|
1949
|
-
# },
|
1950
|
-
# max_results: 1,
|
1951
|
-
# min_confidence: 1.0,
|
1952
|
-
# }
|
1953
|
-
#
|
1954
1603
|
# @!attribute [rw] project_version_arn
|
1955
1604
|
# The ARN of the model version that you want to use.
|
1956
1605
|
# @return [String]
|
@@ -2021,21 +1670,6 @@ module Aws::Rekognition
|
|
2021
1670
|
include Aws::Structure
|
2022
1671
|
end
|
2023
1672
|
|
2024
|
-
# @note When making an API call, you may pass DetectFacesRequest
|
2025
|
-
# data as a hash:
|
2026
|
-
#
|
2027
|
-
# {
|
2028
|
-
# image: { # required
|
2029
|
-
# bytes: "data",
|
2030
|
-
# s3_object: {
|
2031
|
-
# bucket: "S3Bucket",
|
2032
|
-
# name: "S3ObjectName",
|
2033
|
-
# version: "S3ObjectVersion",
|
2034
|
-
# },
|
2035
|
-
# },
|
2036
|
-
# attributes: ["DEFAULT"], # accepts DEFAULT, ALL
|
2037
|
-
# }
|
2038
|
-
#
|
2039
1673
|
# @!attribute [rw] image
|
2040
1674
|
# The input image as base64-encoded bytes or an S3 object. If you use
|
2041
1675
|
# the AWS CLI to call Amazon Rekognition operations, passing
|
@@ -2096,22 +1730,124 @@ module Aws::Rekognition
|
|
2096
1730
|
include Aws::Structure
|
2097
1731
|
end
|
2098
1732
|
|
2099
|
-
#
|
2100
|
-
#
|
1733
|
+
# The background of the image with regard to image quality and dominant
|
1734
|
+
# colors.
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] quality
|
1737
|
+
# The quality of the image background as defined by brightness and
|
1738
|
+
# sharpness.
|
1739
|
+
# @return [Types::DetectLabelsImageQuality]
|
1740
|
+
#
|
1741
|
+
# @!attribute [rw] dominant_colors
|
1742
|
+
# The dominant colors found in the background of an image, defined
|
1743
|
+
# with RGB values, CSS color name, simplified color name, and
|
1744
|
+
# PixelPercentage (the percentage of image pixels that have a
|
1745
|
+
# particular color).
|
1746
|
+
# @return [Array<Types::DominantColor>]
|
1747
|
+
#
|
1748
|
+
class DetectLabelsImageBackground < Struct.new(
|
1749
|
+
:quality,
|
1750
|
+
:dominant_colors)
|
1751
|
+
SENSITIVE = []
|
1752
|
+
include Aws::Structure
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
# The foreground of the image with regard to image quality and dominant
|
1756
|
+
# colors.
|
1757
|
+
#
|
1758
|
+
# @!attribute [rw] quality
|
1759
|
+
# The quality of the image foreground as defined by brightness and
|
1760
|
+
# sharpness.
|
1761
|
+
# @return [Types::DetectLabelsImageQuality]
|
1762
|
+
#
|
1763
|
+
# @!attribute [rw] dominant_colors
|
1764
|
+
# The dominant colors found in the foreground of an image, defined
|
1765
|
+
# with RGB values, CSS color name, simplified color name, and
|
1766
|
+
# PixelPercentage (the percentage of image pixels that have a
|
1767
|
+
# particular color).
|
1768
|
+
# @return [Array<Types::DominantColor>]
|
1769
|
+
#
|
1770
|
+
class DetectLabelsImageForeground < Struct.new(
|
1771
|
+
:quality,
|
1772
|
+
:dominant_colors)
|
1773
|
+
SENSITIVE = []
|
1774
|
+
include Aws::Structure
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Information about the quality and dominant colors of an input image.
|
1778
|
+
# Quality and color information is returned for the entire image,
|
1779
|
+
# foreground, and background.
|
1780
|
+
#
|
1781
|
+
# @!attribute [rw] quality
|
1782
|
+
# Information about the quality of the image foreground as defined by
|
1783
|
+
# brightness, sharpness, and contrast. The higher the value the
|
1784
|
+
# greater the brightness, sharpness, and contrast respectively.
|
1785
|
+
# @return [Types::DetectLabelsImageQuality]
|
1786
|
+
#
|
1787
|
+
# @!attribute [rw] dominant_colors
|
1788
|
+
# Information about the dominant colors found in an image, described
|
1789
|
+
# with RGB values, CSS color name, simplified color name, and
|
1790
|
+
# PixelPercentage (the percentage of image pixels that have a
|
1791
|
+
# particular color).
|
1792
|
+
# @return [Array<Types::DominantColor>]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] foreground
|
1795
|
+
# Information about the properties of an image’s foreground, including
|
1796
|
+
# the foreground’s quality and dominant colors, including the quality
|
1797
|
+
# and dominant colors of the image.
|
1798
|
+
# @return [Types::DetectLabelsImageForeground]
|
1799
|
+
#
|
1800
|
+
# @!attribute [rw] background
|
1801
|
+
# Information about the properties of an image’s background, including
|
1802
|
+
# the background’s quality and dominant colors, including the quality
|
1803
|
+
# and dominant colors of the image.
|
1804
|
+
# @return [Types::DetectLabelsImageBackground]
|
1805
|
+
#
|
1806
|
+
class DetectLabelsImageProperties < Struct.new(
|
1807
|
+
:quality,
|
1808
|
+
:dominant_colors,
|
1809
|
+
:foreground,
|
1810
|
+
:background)
|
1811
|
+
SENSITIVE = []
|
1812
|
+
include Aws::Structure
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
# Settings for the IMAGE\_PROPERTIES feature type.
|
2101
1816
|
#
|
2102
|
-
#
|
2103
|
-
#
|
2104
|
-
#
|
2105
|
-
#
|
2106
|
-
#
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
#
|
1817
|
+
# @!attribute [rw] max_dominant_colors
|
1818
|
+
# The maximum number of dominant colors to return when detecting
|
1819
|
+
# labels in an image. The default value is 10.
|
1820
|
+
# @return [Integer]
|
1821
|
+
#
|
1822
|
+
class DetectLabelsImagePropertiesSettings < Struct.new(
|
1823
|
+
:max_dominant_colors)
|
1824
|
+
SENSITIVE = []
|
1825
|
+
include Aws::Structure
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
# The quality of an image provided for label detection, with regard to
|
1829
|
+
# brightness, sharpness, and contrast.
|
2114
1830
|
#
|
1831
|
+
# @!attribute [rw] brightness
|
1832
|
+
# The brightness of an image provided for label detection.
|
1833
|
+
# @return [Float]
|
1834
|
+
#
|
1835
|
+
# @!attribute [rw] sharpness
|
1836
|
+
# The sharpness of an image provided for label detection.
|
1837
|
+
# @return [Float]
|
1838
|
+
#
|
1839
|
+
# @!attribute [rw] contrast
|
1840
|
+
# The contrast of an image provided for label detection.
|
1841
|
+
# @return [Float]
|
1842
|
+
#
|
1843
|
+
class DetectLabelsImageQuality < Struct.new(
|
1844
|
+
:brightness,
|
1845
|
+
:sharpness,
|
1846
|
+
:contrast)
|
1847
|
+
SENSITIVE = []
|
1848
|
+
include Aws::Structure
|
1849
|
+
end
|
1850
|
+
|
2115
1851
|
# @!attribute [rw] image
|
2116
1852
|
# The input image as base64-encoded bytes or an S3 object. If you use
|
2117
1853
|
# the AWS CLI to call Amazon Rekognition operations, passing image
|
@@ -2139,10 +1875,29 @@ module Aws::Rekognition
|
|
2139
1875
|
# with a confidence values greater than or equal to 55 percent.
|
2140
1876
|
# @return [Float]
|
2141
1877
|
#
|
1878
|
+
# @!attribute [rw] features
|
1879
|
+
# A list of the types of analysis to perform. Specifying
|
1880
|
+
# GENERAL\_LABELS uses the label detection feature, while specifying
|
1881
|
+
# IMAGE\_PROPERTIES returns information regarding image color and
|
1882
|
+
# quality. If no option is specified GENERAL\_LABELS is used by
|
1883
|
+
# default.
|
1884
|
+
# @return [Array<String>]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] settings
|
1887
|
+
# A list of the filters to be applied to returned detected labels and
|
1888
|
+
# image properties. Specified filters can be inclusive, exclusive, or
|
1889
|
+
# a combination of both. Filters can be used for individual labels or
|
1890
|
+
# label categories. The exact label names or label categories must be
|
1891
|
+
# supplied. For a full list of labels and label categories, see LINK
|
1892
|
+
# HERE.
|
1893
|
+
# @return [Types::DetectLabelsSettings]
|
1894
|
+
#
|
2142
1895
|
class DetectLabelsRequest < Struct.new(
|
2143
1896
|
:image,
|
2144
1897
|
:max_labels,
|
2145
|
-
:min_confidence
|
1898
|
+
:min_confidence,
|
1899
|
+
:features,
|
1900
|
+
:settings)
|
2146
1901
|
SENSITIVE = []
|
2147
1902
|
include Aws::Structure
|
2148
1903
|
end
|
@@ -2173,36 +1928,41 @@ module Aws::Rekognition
|
|
2173
1928
|
# labels.
|
2174
1929
|
# @return [String]
|
2175
1930
|
#
|
1931
|
+
# @!attribute [rw] image_properties
|
1932
|
+
# Information about the properties of the input image, such as
|
1933
|
+
# brightness, sharpness, contrast, and dominant colors.
|
1934
|
+
# @return [Types::DetectLabelsImageProperties]
|
1935
|
+
#
|
2176
1936
|
class DetectLabelsResponse < Struct.new(
|
2177
1937
|
:labels,
|
2178
1938
|
:orientation_correction,
|
2179
|
-
:label_model_version
|
1939
|
+
:label_model_version,
|
1940
|
+
:image_properties)
|
2180
1941
|
SENSITIVE = []
|
2181
1942
|
include Aws::Structure
|
2182
1943
|
end
|
2183
1944
|
|
2184
|
-
#
|
2185
|
-
#
|
1945
|
+
# Settings for the DetectLabels request. Settings can include filters
|
1946
|
+
# for both GENERAL\_LABELS and IMAGE\_PROPERTIES. GENERAL\_LABELS
|
1947
|
+
# filters can be inclusive or exclusive and applied to individual labels
|
1948
|
+
# or label categories. IMAGE\_PROPERTIES filters allow specification of
|
1949
|
+
# a maximum number of dominant colors.
|
1950
|
+
#
|
1951
|
+
# @!attribute [rw] general_labels
|
1952
|
+
# Contains the specified filters for GENERAL\_LABELS.
|
1953
|
+
# @return [Types::GeneralLabelsSettings]
|
2186
1954
|
#
|
2187
|
-
#
|
2188
|
-
#
|
2189
|
-
#
|
2190
|
-
# s3_object: {
|
2191
|
-
# bucket: "S3Bucket",
|
2192
|
-
# name: "S3ObjectName",
|
2193
|
-
# version: "S3ObjectVersion",
|
2194
|
-
# },
|
2195
|
-
# },
|
2196
|
-
# min_confidence: 1.0,
|
2197
|
-
# human_loop_config: {
|
2198
|
-
# human_loop_name: "HumanLoopName", # required
|
2199
|
-
# flow_definition_arn: "FlowDefinitionArn", # required
|
2200
|
-
# data_attributes: {
|
2201
|
-
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
2202
|
-
# },
|
2203
|
-
# },
|
2204
|
-
# }
|
1955
|
+
# @!attribute [rw] image_properties
|
1956
|
+
# Contains the chosen number of maximum dominant colors in an image.
|
1957
|
+
# @return [Types::DetectLabelsImagePropertiesSettings]
|
2205
1958
|
#
|
1959
|
+
class DetectLabelsSettings < Struct.new(
|
1960
|
+
:general_labels,
|
1961
|
+
:image_properties)
|
1962
|
+
SENSITIVE = []
|
1963
|
+
include Aws::Structure
|
1964
|
+
end
|
1965
|
+
|
2206
1966
|
# @!attribute [rw] image
|
2207
1967
|
# The input image as base64-encoded bytes or an S3 object. If you use
|
2208
1968
|
# the AWS CLI to call Amazon Rekognition operations, passing
|
@@ -2258,24 +2018,6 @@ module Aws::Rekognition
|
|
2258
2018
|
include Aws::Structure
|
2259
2019
|
end
|
2260
2020
|
|
2261
|
-
# @note When making an API call, you may pass DetectProtectiveEquipmentRequest
|
2262
|
-
# data as a hash:
|
2263
|
-
#
|
2264
|
-
# {
|
2265
|
-
# image: { # required
|
2266
|
-
# bytes: "data",
|
2267
|
-
# s3_object: {
|
2268
|
-
# bucket: "S3Bucket",
|
2269
|
-
# name: "S3ObjectName",
|
2270
|
-
# version: "S3ObjectVersion",
|
2271
|
-
# },
|
2272
|
-
# },
|
2273
|
-
# summarization_attributes: {
|
2274
|
-
# min_confidence: 1.0, # required
|
2275
|
-
# required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
|
2276
|
-
# },
|
2277
|
-
# }
|
2278
|
-
#
|
2279
2021
|
# @!attribute [rw] image
|
2280
2022
|
# The image in which you want to detect PPE on detected persons. The
|
2281
2023
|
# image can be passed as image bytes or you can reference an image
|
@@ -2321,33 +2063,6 @@ module Aws::Rekognition
|
|
2321
2063
|
# at a word’s height, width, and minimum confidence. `RegionOfInterest`
|
2322
2064
|
# lets you set a specific region of the image to look for text in.
|
2323
2065
|
#
|
2324
|
-
# @note When making an API call, you may pass DetectTextFilters
|
2325
|
-
# data as a hash:
|
2326
|
-
#
|
2327
|
-
# {
|
2328
|
-
# word_filter: {
|
2329
|
-
# min_confidence: 1.0,
|
2330
|
-
# min_bounding_box_height: 1.0,
|
2331
|
-
# min_bounding_box_width: 1.0,
|
2332
|
-
# },
|
2333
|
-
# regions_of_interest: [
|
2334
|
-
# {
|
2335
|
-
# bounding_box: {
|
2336
|
-
# width: 1.0,
|
2337
|
-
# height: 1.0,
|
2338
|
-
# left: 1.0,
|
2339
|
-
# top: 1.0,
|
2340
|
-
# },
|
2341
|
-
# polygon: [
|
2342
|
-
# {
|
2343
|
-
# x: 1.0,
|
2344
|
-
# y: 1.0,
|
2345
|
-
# },
|
2346
|
-
# ],
|
2347
|
-
# },
|
2348
|
-
# ],
|
2349
|
-
# }
|
2350
|
-
#
|
2351
2066
|
# @!attribute [rw] word_filter
|
2352
2067
|
# A set of parameters that allow you to filter out certain results
|
2353
2068
|
# from your returned results.
|
@@ -2365,43 +2080,6 @@ module Aws::Rekognition
|
|
2365
2080
|
include Aws::Structure
|
2366
2081
|
end
|
2367
2082
|
|
2368
|
-
# @note When making an API call, you may pass DetectTextRequest
|
2369
|
-
# data as a hash:
|
2370
|
-
#
|
2371
|
-
# {
|
2372
|
-
# image: { # required
|
2373
|
-
# bytes: "data",
|
2374
|
-
# s3_object: {
|
2375
|
-
# bucket: "S3Bucket",
|
2376
|
-
# name: "S3ObjectName",
|
2377
|
-
# version: "S3ObjectVersion",
|
2378
|
-
# },
|
2379
|
-
# },
|
2380
|
-
# filters: {
|
2381
|
-
# word_filter: {
|
2382
|
-
# min_confidence: 1.0,
|
2383
|
-
# min_bounding_box_height: 1.0,
|
2384
|
-
# min_bounding_box_width: 1.0,
|
2385
|
-
# },
|
2386
|
-
# regions_of_interest: [
|
2387
|
-
# {
|
2388
|
-
# bounding_box: {
|
2389
|
-
# width: 1.0,
|
2390
|
-
# height: 1.0,
|
2391
|
-
# left: 1.0,
|
2392
|
-
# top: 1.0,
|
2393
|
-
# },
|
2394
|
-
# polygon: [
|
2395
|
-
# {
|
2396
|
-
# x: 1.0,
|
2397
|
-
# y: 1.0,
|
2398
|
-
# },
|
2399
|
-
# ],
|
2400
|
-
# },
|
2401
|
-
# ],
|
2402
|
-
# },
|
2403
|
-
# }
|
2404
|
-
#
|
2405
2083
|
# @!attribute [rw] image
|
2406
2084
|
# The input image as base64-encoded bytes or an Amazon S3 object. If
|
2407
2085
|
# you use the AWS CLI to call Amazon Rekognition operations, you
|
@@ -2443,15 +2121,6 @@ module Aws::Rekognition
|
|
2443
2121
|
# A set of parameters that allow you to filter out certain results from
|
2444
2122
|
# your returned results.
|
2445
2123
|
#
|
2446
|
-
# @note When making an API call, you may pass DetectionFilter
|
2447
|
-
# data as a hash:
|
2448
|
-
#
|
2449
|
-
# {
|
2450
|
-
# min_confidence: 1.0,
|
2451
|
-
# min_bounding_box_height: 1.0,
|
2452
|
-
# min_bounding_box_width: 1.0,
|
2453
|
-
# }
|
2454
|
-
#
|
2455
2124
|
# @!attribute [rw] min_confidence
|
2456
2125
|
# Sets the confidence of word detection. Words with detection
|
2457
2126
|
# confidence below this will be excluded from the result. Values
|
@@ -2481,13 +2150,6 @@ module Aws::Rekognition
|
|
2481
2150
|
# A training dataset or a test dataset used in a dataset distribution
|
2482
2151
|
# operation. For more information, see DistributeDatasetEntries.
|
2483
2152
|
#
|
2484
|
-
# @note When making an API call, you may pass DistributeDataset
|
2485
|
-
# data as a hash:
|
2486
|
-
#
|
2487
|
-
# {
|
2488
|
-
# arn: "DatasetArn", # required
|
2489
|
-
# }
|
2490
|
-
#
|
2491
2153
|
# @!attribute [rw] arn
|
2492
2154
|
# The Amazon Resource Name (ARN) of the dataset that you want to use.
|
2493
2155
|
# @return [String]
|
@@ -2498,17 +2160,6 @@ module Aws::Rekognition
|
|
2498
2160
|
include Aws::Structure
|
2499
2161
|
end
|
2500
2162
|
|
2501
|
-
# @note When making an API call, you may pass DistributeDatasetEntriesRequest
|
2502
|
-
# data as a hash:
|
2503
|
-
#
|
2504
|
-
# {
|
2505
|
-
# datasets: [ # required
|
2506
|
-
# {
|
2507
|
-
# arn: "DatasetArn", # required
|
2508
|
-
# },
|
2509
|
-
# ],
|
2510
|
-
# }
|
2511
|
-
#
|
2512
2163
|
# @!attribute [rw] datasets
|
2513
2164
|
# The ARNS for the training dataset and test dataset that you want to
|
2514
2165
|
# use. The datasets must belong to the same project. The test dataset
|
@@ -2523,6 +2174,48 @@ module Aws::Rekognition
|
|
2523
2174
|
|
2524
2175
|
class DistributeDatasetEntriesResponse < Aws::EmptyStructure; end
|
2525
2176
|
|
2177
|
+
# A description of the dominant colors in an image.
|
2178
|
+
#
|
2179
|
+
# @!attribute [rw] red
|
2180
|
+
# The Red RGB value for a dominant color.
|
2181
|
+
# @return [Integer]
|
2182
|
+
#
|
2183
|
+
# @!attribute [rw] blue
|
2184
|
+
# The Blue RGB value for a dominant color.
|
2185
|
+
# @return [Integer]
|
2186
|
+
#
|
2187
|
+
# @!attribute [rw] green
|
2188
|
+
# The Green RGB value for a dominant color.
|
2189
|
+
# @return [Integer]
|
2190
|
+
#
|
2191
|
+
# @!attribute [rw] hex_code
|
2192
|
+
# The Hex code equivalent of the RGB values for a dominant color.
|
2193
|
+
# @return [String]
|
2194
|
+
#
|
2195
|
+
# @!attribute [rw] css_color
|
2196
|
+
# The CSS color name of a dominant color.
|
2197
|
+
# @return [String]
|
2198
|
+
#
|
2199
|
+
# @!attribute [rw] simplified_color
|
2200
|
+
# One of 12 simplified color names applied to a dominant color.
|
2201
|
+
# @return [String]
|
2202
|
+
#
|
2203
|
+
# @!attribute [rw] pixel_percent
|
2204
|
+
# The percentage of image pixels that have a given dominant color.
|
2205
|
+
# @return [Float]
|
2206
|
+
#
|
2207
|
+
class DominantColor < Struct.new(
|
2208
|
+
:red,
|
2209
|
+
:blue,
|
2210
|
+
:green,
|
2211
|
+
:hex_code,
|
2212
|
+
:css_color,
|
2213
|
+
:simplified_color,
|
2214
|
+
:pixel_percent)
|
2215
|
+
SENSITIVE = []
|
2216
|
+
include Aws::Structure
|
2217
|
+
end
|
2218
|
+
|
2526
2219
|
# The emotions that appear to be expressed on the face, and the
|
2527
2220
|
# confidence level in the determination. The API is only making a
|
2528
2221
|
# determination of the physical appearance of a person's face. It is
|
@@ -2686,7 +2379,7 @@ module Aws::Rekognition
|
|
2686
2379
|
# To specify which attributes to return, use the `FaceAttributes` input
|
2687
2380
|
# parameter for StartFaceDetection. The following Amazon Rekognition
|
2688
2381
|
# Video operations return only the default attributes. The corresponding
|
2689
|
-
# Start operations don't have a `FaceAttributes` input parameter
|
2382
|
+
# Start operations don't have a `FaceAttributes` input parameter:
|
2690
2383
|
#
|
2691
2384
|
# * GetCelebrityRecognition
|
2692
2385
|
#
|
@@ -2799,7 +2492,8 @@ module Aws::Rekognition
|
|
2799
2492
|
#
|
2800
2493
|
# @!attribute [rw] timestamp
|
2801
2494
|
# Time, in milliseconds from the start of the video, that the face was
|
2802
|
-
# detected.
|
2495
|
+
# detected. Note that `Timestamp` is not guaranteed to be accurate to
|
2496
|
+
# the individual frame where the face first appears.
|
2803
2497
|
# @return [Integer]
|
2804
2498
|
#
|
2805
2499
|
# @!attribute [rw] face
|
@@ -2860,14 +2554,6 @@ module Aws::Rekognition
|
|
2860
2554
|
# face attributes to detect. Defining the settings is required in the
|
2861
2555
|
# request parameter for CreateStreamProcessor.
|
2862
2556
|
#
|
2863
|
-
# @note When making an API call, you may pass FaceSearchSettings
|
2864
|
-
# data as a hash:
|
2865
|
-
#
|
2866
|
-
# {
|
2867
|
-
# collection_id: "CollectionId",
|
2868
|
-
# face_match_threshold: 1.0,
|
2869
|
-
# }
|
2870
|
-
#
|
2871
2557
|
# @!attribute [rw] collection_id
|
2872
2558
|
# The ID of a collection that contains faces that you want to search
|
2873
2559
|
# for.
|
@@ -2920,6 +2606,38 @@ module Aws::Rekognition
|
|
2920
2606
|
include Aws::Structure
|
2921
2607
|
end
|
2922
2608
|
|
2609
|
+
# Contains filters for the object labels returned by DetectLabels.
|
2610
|
+
# Filters can be inclusive, exclusive, or a combination of both and can
|
2611
|
+
# be applied to individual l abels or entire label categories.
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] label_inclusion_filters
|
2614
|
+
# The labels that should be included in the return from DetectLabels.
|
2615
|
+
# @return [Array<String>]
|
2616
|
+
#
|
2617
|
+
# @!attribute [rw] label_exclusion_filters
|
2618
|
+
# The labels that should be excluded from the return from
|
2619
|
+
# DetectLabels.
|
2620
|
+
# @return [Array<String>]
|
2621
|
+
#
|
2622
|
+
# @!attribute [rw] label_category_inclusion_filters
|
2623
|
+
# The label categories that should be included in the return from
|
2624
|
+
# DetectLabels.
|
2625
|
+
# @return [Array<String>]
|
2626
|
+
#
|
2627
|
+
# @!attribute [rw] label_category_exclusion_filters
|
2628
|
+
# The label categories that should be excluded from the return from
|
2629
|
+
# DetectLabels.
|
2630
|
+
# @return [Array<String>]
|
2631
|
+
#
|
2632
|
+
class GeneralLabelsSettings < Struct.new(
|
2633
|
+
:label_inclusion_filters,
|
2634
|
+
:label_exclusion_filters,
|
2635
|
+
:label_category_inclusion_filters,
|
2636
|
+
:label_category_exclusion_filters)
|
2637
|
+
SENSITIVE = []
|
2638
|
+
include Aws::Structure
|
2639
|
+
end
|
2640
|
+
|
2923
2641
|
# Information about where an object (DetectCustomLabels) or text
|
2924
2642
|
# (DetectText) is located on an image.
|
2925
2643
|
#
|
@@ -2940,13 +2658,6 @@ module Aws::Rekognition
|
|
2940
2658
|
include Aws::Structure
|
2941
2659
|
end
|
2942
2660
|
|
2943
|
-
# @note When making an API call, you may pass GetCelebrityInfoRequest
|
2944
|
-
# data as a hash:
|
2945
|
-
#
|
2946
|
-
# {
|
2947
|
-
# id: "RekognitionUniqueId", # required
|
2948
|
-
# }
|
2949
|
-
#
|
2950
2661
|
# @!attribute [rw] id
|
2951
2662
|
# The ID for the celebrity. You get the celebrity ID from a call to
|
2952
2663
|
# the RecognizeCelebrities operation, which recognizes celebrities in
|
@@ -2979,16 +2690,6 @@ module Aws::Rekognition
|
|
2979
2690
|
include Aws::Structure
|
2980
2691
|
end
|
2981
2692
|
|
2982
|
-
# @note When making an API call, you may pass GetCelebrityRecognitionRequest
|
2983
|
-
# data as a hash:
|
2984
|
-
#
|
2985
|
-
# {
|
2986
|
-
# job_id: "JobId", # required
|
2987
|
-
# max_results: 1,
|
2988
|
-
# next_token: "PaginationToken",
|
2989
|
-
# sort_by: "ID", # accepts ID, TIMESTAMP
|
2990
|
-
# }
|
2991
|
-
#
|
2992
2693
|
# @!attribute [rw] job_id
|
2993
2694
|
# Job identifier for the required celebrity recognition analysis. You
|
2994
2695
|
# can get the job identifer from a call to
|
@@ -3059,16 +2760,6 @@ module Aws::Rekognition
|
|
3059
2760
|
include Aws::Structure
|
3060
2761
|
end
|
3061
2762
|
|
3062
|
-
# @note When making an API call, you may pass GetContentModerationRequest
|
3063
|
-
# data as a hash:
|
3064
|
-
#
|
3065
|
-
# {
|
3066
|
-
# job_id: "JobId", # required
|
3067
|
-
# max_results: 1,
|
3068
|
-
# next_token: "PaginationToken",
|
3069
|
-
# sort_by: "NAME", # accepts NAME, TIMESTAMP
|
3070
|
-
# }
|
3071
|
-
#
|
3072
2763
|
# @!attribute [rw] job_id
|
3073
2764
|
# The identifier for the inappropriate, unwanted, or offensive content
|
3074
2765
|
# moderation job. Use `JobId` to identify the job in a subsequent call
|
@@ -3148,15 +2839,6 @@ module Aws::Rekognition
|
|
3148
2839
|
include Aws::Structure
|
3149
2840
|
end
|
3150
2841
|
|
3151
|
-
# @note When making an API call, you may pass GetFaceDetectionRequest
|
3152
|
-
# data as a hash:
|
3153
|
-
#
|
3154
|
-
# {
|
3155
|
-
# job_id: "JobId", # required
|
3156
|
-
# max_results: 1,
|
3157
|
-
# next_token: "PaginationToken",
|
3158
|
-
# }
|
3159
|
-
#
|
3160
2842
|
# @!attribute [rw] job_id
|
3161
2843
|
# Unique identifier for the face detection job. The `JobId` is
|
3162
2844
|
# returned from `StartFaceDetection`.
|
@@ -3221,16 +2903,6 @@ module Aws::Rekognition
|
|
3221
2903
|
include Aws::Structure
|
3222
2904
|
end
|
3223
2905
|
|
3224
|
-
# @note When making an API call, you may pass GetFaceSearchRequest
|
3225
|
-
# data as a hash:
|
3226
|
-
#
|
3227
|
-
# {
|
3228
|
-
# job_id: "JobId", # required
|
3229
|
-
# max_results: 1,
|
3230
|
-
# next_token: "PaginationToken",
|
3231
|
-
# sort_by: "INDEX", # accepts INDEX, TIMESTAMP
|
3232
|
-
# }
|
3233
|
-
#
|
3234
2906
|
# @!attribute [rw] job_id
|
3235
2907
|
# The job identifer for the search request. You get the job identifier
|
3236
2908
|
# from an initial call to `StartFaceSearch`.
|
@@ -3307,16 +2979,6 @@ module Aws::Rekognition
|
|
3307
2979
|
include Aws::Structure
|
3308
2980
|
end
|
3309
2981
|
|
3310
|
-
# @note When making an API call, you may pass GetLabelDetectionRequest
|
3311
|
-
# data as a hash:
|
3312
|
-
#
|
3313
|
-
# {
|
3314
|
-
# job_id: "JobId", # required
|
3315
|
-
# max_results: 1,
|
3316
|
-
# next_token: "PaginationToken",
|
3317
|
-
# sort_by: "NAME", # accepts NAME, TIMESTAMP
|
3318
|
-
# }
|
3319
|
-
#
|
3320
2982
|
# @!attribute [rw] job_id
|
3321
2983
|
# Job identifier for the label detection operation for which you want
|
3322
2984
|
# results returned. You get the job identifer from an initial call to
|
@@ -3345,11 +3007,17 @@ module Aws::Rekognition
|
|
3345
3007
|
# The default sort is by `TIMESTAMP`.
|
3346
3008
|
# @return [String]
|
3347
3009
|
#
|
3010
|
+
# @!attribute [rw] aggregate_by
|
3011
|
+
# Defines how to aggregate the returned results. Results can be
|
3012
|
+
# aggregated by timestamps or segments.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3348
3015
|
class GetLabelDetectionRequest < Struct.new(
|
3349
3016
|
:job_id,
|
3350
3017
|
:max_results,
|
3351
3018
|
:next_token,
|
3352
|
-
:sort_by
|
3019
|
+
:sort_by,
|
3020
|
+
:aggregate_by)
|
3353
3021
|
SENSITIVE = []
|
3354
3022
|
include Aws::Structure
|
3355
3023
|
end
|
@@ -3397,16 +3065,6 @@ module Aws::Rekognition
|
|
3397
3065
|
include Aws::Structure
|
3398
3066
|
end
|
3399
3067
|
|
3400
|
-
# @note When making an API call, you may pass GetPersonTrackingRequest
|
3401
|
-
# data as a hash:
|
3402
|
-
#
|
3403
|
-
# {
|
3404
|
-
# job_id: "JobId", # required
|
3405
|
-
# max_results: 1,
|
3406
|
-
# next_token: "PaginationToken",
|
3407
|
-
# sort_by: "INDEX", # accepts INDEX, TIMESTAMP
|
3408
|
-
# }
|
3409
|
-
#
|
3410
3068
|
# @!attribute [rw] job_id
|
3411
3069
|
# The identifier for a job that tracks persons in a video. You get the
|
3412
3070
|
# `JobId` from a call to `StartPersonTracking`.
|
@@ -3480,15 +3138,6 @@ module Aws::Rekognition
|
|
3480
3138
|
include Aws::Structure
|
3481
3139
|
end
|
3482
3140
|
|
3483
|
-
# @note When making an API call, you may pass GetSegmentDetectionRequest
|
3484
|
-
# data as a hash:
|
3485
|
-
#
|
3486
|
-
# {
|
3487
|
-
# job_id: "JobId", # required
|
3488
|
-
# max_results: 1,
|
3489
|
-
# next_token: "PaginationToken",
|
3490
|
-
# }
|
3491
|
-
#
|
3492
3141
|
# @!attribute [rw] job_id
|
3493
3142
|
# Job identifier for the text detection operation for which you want
|
3494
3143
|
# results returned. You get the job identifer from an initial call to
|
@@ -3572,15 +3221,6 @@ module Aws::Rekognition
|
|
3572
3221
|
include Aws::Structure
|
3573
3222
|
end
|
3574
3223
|
|
3575
|
-
# @note When making an API call, you may pass GetTextDetectionRequest
|
3576
|
-
# data as a hash:
|
3577
|
-
#
|
3578
|
-
# {
|
3579
|
-
# job_id: "JobId", # required
|
3580
|
-
# max_results: 1,
|
3581
|
-
# next_token: "PaginationToken",
|
3582
|
-
# }
|
3583
|
-
#
|
3584
3224
|
# @!attribute [rw] job_id
|
3585
3225
|
# Job identifier for the text detection operation for which you want
|
3586
3226
|
# results returned. You get the job identifer from an initial call to
|
@@ -3653,17 +3293,6 @@ module Aws::Rekognition
|
|
3653
3293
|
# The S3 bucket that contains an Amazon Sagemaker Ground Truth format
|
3654
3294
|
# manifest file.
|
3655
3295
|
#
|
3656
|
-
# @note When making an API call, you may pass GroundTruthManifest
|
3657
|
-
# data as a hash:
|
3658
|
-
#
|
3659
|
-
# {
|
3660
|
-
# s3_object: {
|
3661
|
-
# bucket: "S3Bucket",
|
3662
|
-
# name: "S3ObjectName",
|
3663
|
-
# version: "S3ObjectVersion",
|
3664
|
-
# },
|
3665
|
-
# }
|
3666
|
-
#
|
3667
3296
|
# @!attribute [rw] s3_object
|
3668
3297
|
# Provides the S3 bucket name and object name.
|
3669
3298
|
#
|
@@ -3710,17 +3339,6 @@ module Aws::Rekognition
|
|
3710
3339
|
# conditions is met. You can also set certain attributes of the image
|
3711
3340
|
# before review.
|
3712
3341
|
#
|
3713
|
-
# @note When making an API call, you may pass HumanLoopConfig
|
3714
|
-
# data as a hash:
|
3715
|
-
#
|
3716
|
-
# {
|
3717
|
-
# human_loop_name: "HumanLoopName", # required
|
3718
|
-
# flow_definition_arn: "FlowDefinitionArn", # required
|
3719
|
-
# data_attributes: {
|
3720
|
-
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
3721
|
-
# },
|
3722
|
-
# }
|
3723
|
-
#
|
3724
3342
|
# @!attribute [rw] human_loop_name
|
3725
3343
|
# The name of the human review used for this image. This should be
|
3726
3344
|
# kept unique within a region.
|
@@ -3751,13 +3369,6 @@ module Aws::Rekognition
|
|
3751
3369
|
# Allows you to set attributes of the image. Currently, you can declare
|
3752
3370
|
# an image as free of personally identifiable information.
|
3753
3371
|
#
|
3754
|
-
# @note When making an API call, you may pass HumanLoopDataAttributes
|
3755
|
-
# data as a hash:
|
3756
|
-
#
|
3757
|
-
# {
|
3758
|
-
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
3759
|
-
# }
|
3760
|
-
#
|
3761
3372
|
# @!attribute [rw] content_classifiers
|
3762
3373
|
# Sets whether the input image is free of personally identifiable
|
3763
3374
|
# information.
|
@@ -3827,18 +3438,6 @@ module Aws::Rekognition
|
|
3827
3438
|
# Amazon Rekognition works with IAM in the Amazon Rekognition Developer
|
3828
3439
|
# Guide.
|
3829
3440
|
#
|
3830
|
-
# @note When making an API call, you may pass Image
|
3831
|
-
# data as a hash:
|
3832
|
-
#
|
3833
|
-
# {
|
3834
|
-
# bytes: "data",
|
3835
|
-
# s3_object: {
|
3836
|
-
# bucket: "S3Bucket",
|
3837
|
-
# name: "S3ObjectName",
|
3838
|
-
# version: "S3ObjectVersion",
|
3839
|
-
# },
|
3840
|
-
# }
|
3841
|
-
#
|
3842
3441
|
# @!attribute [rw] bytes
|
3843
3442
|
# Blob of image bytes up to 5 MBs.
|
3844
3443
|
# @return [String]
|
@@ -3882,25 +3481,6 @@ module Aws::Rekognition
|
|
3882
3481
|
#
|
3883
3482
|
class ImageTooLargeException < Aws::EmptyStructure; end
|
3884
3483
|
|
3885
|
-
# @note When making an API call, you may pass IndexFacesRequest
|
3886
|
-
# data as a hash:
|
3887
|
-
#
|
3888
|
-
# {
|
3889
|
-
# collection_id: "CollectionId", # required
|
3890
|
-
# image: { # required
|
3891
|
-
# bytes: "data",
|
3892
|
-
# s3_object: {
|
3893
|
-
# bucket: "S3Bucket",
|
3894
|
-
# name: "S3ObjectName",
|
3895
|
-
# version: "S3ObjectVersion",
|
3896
|
-
# },
|
3897
|
-
# },
|
3898
|
-
# external_image_id: "ExternalImageId",
|
3899
|
-
# detection_attributes: ["DEFAULT"], # accepts DEFAULT, ALL
|
3900
|
-
# max_faces: 1,
|
3901
|
-
# quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
|
3902
|
-
# }
|
3903
|
-
#
|
3904
3484
|
# @!attribute [rw] collection_id
|
3905
3485
|
# The ID of an existing collection to which you want to add the faces
|
3906
3486
|
# that are detected in the input images.
|
@@ -4052,9 +3632,14 @@ module Aws::Rekognition
|
|
4052
3632
|
# bounding box.
|
4053
3633
|
# @return [Float]
|
4054
3634
|
#
|
3635
|
+
# @!attribute [rw] dominant_colors
|
3636
|
+
# The dominant colors found in an individual instance of a label.
|
3637
|
+
# @return [Array<Types::DominantColor>]
|
3638
|
+
#
|
4055
3639
|
class Instance < Struct.new(
|
4056
3640
|
:bounding_box,
|
4057
|
-
:confidence
|
3641
|
+
:confidence,
|
3642
|
+
:dominant_colors)
|
4058
3643
|
SENSITIVE = []
|
4059
3644
|
include Aws::Structure
|
4060
3645
|
end
|
@@ -4090,13 +3675,6 @@ module Aws::Rekognition
|
|
4090
3675
|
# more information, see CreateStreamProcessor in the Amazon Rekognition
|
4091
3676
|
# Developer Guide.
|
4092
3677
|
#
|
4093
|
-
# @note When making an API call, you may pass KinesisDataStream
|
4094
|
-
# data as a hash:
|
4095
|
-
#
|
4096
|
-
# {
|
4097
|
-
# arn: "KinesisDataArn",
|
4098
|
-
# }
|
4099
|
-
#
|
4100
3678
|
# @!attribute [rw] arn
|
4101
3679
|
# ARN of the output Amazon Kinesis Data Streams stream.
|
4102
3680
|
# @return [String]
|
@@ -4111,13 +3689,6 @@ module Aws::Rekognition
|
|
4111
3689
|
# for a Amazon Rekognition Video stream processor. For more information,
|
4112
3690
|
# see CreateStreamProcessor in the Amazon Rekognition Developer Guide.
|
4113
3691
|
#
|
4114
|
-
# @note When making an API call, you may pass KinesisVideoStream
|
4115
|
-
# data as a hash:
|
4116
|
-
#
|
4117
|
-
# {
|
4118
|
-
# arn: "KinesisVideoArn",
|
4119
|
-
# }
|
4120
|
-
#
|
4121
3692
|
# @!attribute [rw] arn
|
4122
3693
|
# ARN of the Kinesis video stream stream that streams the source
|
4123
3694
|
# video.
|
@@ -4130,23 +3701,18 @@ module Aws::Rekognition
|
|
4130
3701
|
end
|
4131
3702
|
|
4132
3703
|
# Specifies the starting point in a Kinesis stream to start processing.
|
4133
|
-
# You can use the producer timestamp or the fragment number.
|
4134
|
-
#
|
3704
|
+
# You can use the producer timestamp or the fragment number. One of
|
3705
|
+
# either producer timestamp or fragment number is required. If you use
|
3706
|
+
# the producer timestamp, you must put the time in milliseconds. For
|
3707
|
+
# more information about fragment numbers, see [Fragment][1].
|
4135
3708
|
#
|
4136
3709
|
#
|
4137
3710
|
#
|
4138
3711
|
# [1]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_reader_Fragment.html
|
4139
3712
|
#
|
4140
|
-
# @note When making an API call, you may pass KinesisVideoStreamStartSelector
|
4141
|
-
# data as a hash:
|
4142
|
-
#
|
4143
|
-
# {
|
4144
|
-
# producer_timestamp: 1,
|
4145
|
-
# fragment_number: "KinesisVideoStreamFragmentNumber",
|
4146
|
-
# }
|
4147
|
-
#
|
4148
3713
|
# @!attribute [rw] producer_timestamp
|
4149
|
-
# The timestamp from the producer corresponding to the fragment
|
3714
|
+
# The timestamp from the producer corresponding to the fragment, in
|
3715
|
+
# milliseconds, expressed in unix time format.
|
4150
3716
|
# @return [Integer]
|
4151
3717
|
#
|
4152
3718
|
# @!attribute [rw] fragment_number
|
@@ -4198,11 +3764,45 @@ module Aws::Rekognition
|
|
4198
3764
|
# labels.
|
4199
3765
|
# @return [Array<Types::Parent>]
|
4200
3766
|
#
|
3767
|
+
# @!attribute [rw] aliases
|
3768
|
+
# A list of potential aliases for a given label.
|
3769
|
+
# @return [Array<Types::LabelAlias>]
|
3770
|
+
#
|
3771
|
+
# @!attribute [rw] categories
|
3772
|
+
# A list of the categories associated with a given label.
|
3773
|
+
# @return [Array<Types::LabelCategory>]
|
3774
|
+
#
|
4201
3775
|
class Label < Struct.new(
|
4202
3776
|
:name,
|
4203
3777
|
:confidence,
|
4204
3778
|
:instances,
|
4205
|
-
:parents
|
3779
|
+
:parents,
|
3780
|
+
:aliases,
|
3781
|
+
:categories)
|
3782
|
+
SENSITIVE = []
|
3783
|
+
include Aws::Structure
|
3784
|
+
end
|
3785
|
+
|
3786
|
+
# A potential alias of for a given label.
|
3787
|
+
#
|
3788
|
+
# @!attribute [rw] name
|
3789
|
+
# The name of an alias for a given label.
|
3790
|
+
# @return [String]
|
3791
|
+
#
|
3792
|
+
class LabelAlias < Struct.new(
|
3793
|
+
:name)
|
3794
|
+
SENSITIVE = []
|
3795
|
+
include Aws::Structure
|
3796
|
+
end
|
3797
|
+
|
3798
|
+
# The category that applies to a given label.
|
3799
|
+
#
|
3800
|
+
# @!attribute [rw] name
|
3801
|
+
# The name of a category that applies to a given label.
|
3802
|
+
# @return [String]
|
3803
|
+
#
|
3804
|
+
class LabelCategory < Struct.new(
|
3805
|
+
:name)
|
4206
3806
|
SENSITIVE = []
|
4207
3807
|
include Aws::Structure
|
4208
3808
|
end
|
@@ -4212,16 +3812,50 @@ module Aws::Rekognition
|
|
4212
3812
|
#
|
4213
3813
|
# @!attribute [rw] timestamp
|
4214
3814
|
# Time, in milliseconds from the start of the video, that the label
|
4215
|
-
# was detected.
|
3815
|
+
# was detected. Note that `Timestamp` is not guaranteed to be accurate
|
3816
|
+
# to the individual frame where the label first appears.
|
4216
3817
|
# @return [Integer]
|
4217
3818
|
#
|
4218
3819
|
# @!attribute [rw] label
|
4219
3820
|
# Details about the detected label.
|
4220
3821
|
# @return [Types::Label]
|
4221
3822
|
#
|
3823
|
+
# @!attribute [rw] start_timestamp_millis
|
3824
|
+
# The time in milliseconds defining the start of the timeline segment
|
3825
|
+
# containing a continuously detected label.
|
3826
|
+
# @return [Integer]
|
3827
|
+
#
|
3828
|
+
# @!attribute [rw] end_timestamp_millis
|
3829
|
+
# The time in milliseconds defining the end of the timeline segment
|
3830
|
+
# containing a continuously detected label.
|
3831
|
+
# @return [Integer]
|
3832
|
+
#
|
3833
|
+
# @!attribute [rw] duration_millis
|
3834
|
+
# The time duration of a segment in milliseconds, I.e. time elapsed
|
3835
|
+
# from StartTimestampMillis to EndTimestampMillis.
|
3836
|
+
# @return [Integer]
|
3837
|
+
#
|
4222
3838
|
class LabelDetection < Struct.new(
|
4223
3839
|
:timestamp,
|
4224
|
-
:label
|
3840
|
+
:label,
|
3841
|
+
:start_timestamp_millis,
|
3842
|
+
:end_timestamp_millis,
|
3843
|
+
:duration_millis)
|
3844
|
+
SENSITIVE = []
|
3845
|
+
include Aws::Structure
|
3846
|
+
end
|
3847
|
+
|
3848
|
+
# Contains the specified filters that should be applied to a list of
|
3849
|
+
# returned GENERAL\_LABELS.
|
3850
|
+
#
|
3851
|
+
# @!attribute [rw] general_labels
|
3852
|
+
# Contains filters for the object labels returned by DetectLabels.
|
3853
|
+
# Filters can be inclusive, exclusive, or a combination of both and
|
3854
|
+
# can be applied to individual l abels or entire label categories.
|
3855
|
+
# @return [Types::GeneralLabelsSettings]
|
3856
|
+
#
|
3857
|
+
class LabelDetectionSettings < Struct.new(
|
3858
|
+
:general_labels)
|
4225
3859
|
SENSITIVE = []
|
4226
3860
|
include Aws::Structure
|
4227
3861
|
end
|
@@ -4263,14 +3897,6 @@ module Aws::Rekognition
|
|
4263
3897
|
#
|
4264
3898
|
class LimitExceededException < Aws::EmptyStructure; end
|
4265
3899
|
|
4266
|
-
# @note When making an API call, you may pass ListCollectionsRequest
|
4267
|
-
# data as a hash:
|
4268
|
-
#
|
4269
|
-
# {
|
4270
|
-
# next_token: "PaginationToken",
|
4271
|
-
# max_results: 1,
|
4272
|
-
# }
|
4273
|
-
#
|
4274
3900
|
# @!attribute [rw] next_token
|
4275
3901
|
# Pagination token from the previous response.
|
4276
3902
|
# @return [String]
|
@@ -4311,19 +3937,6 @@ module Aws::Rekognition
|
|
4311
3937
|
include Aws::Structure
|
4312
3938
|
end
|
4313
3939
|
|
4314
|
-
# @note When making an API call, you may pass ListDatasetEntriesRequest
|
4315
|
-
# data as a hash:
|
4316
|
-
#
|
4317
|
-
# {
|
4318
|
-
# dataset_arn: "DatasetArn", # required
|
4319
|
-
# contains_labels: ["DatasetLabel"],
|
4320
|
-
# labeled: false,
|
4321
|
-
# source_ref_contains: "QueryString",
|
4322
|
-
# has_errors: false,
|
4323
|
-
# next_token: "ExtendedPaginationToken",
|
4324
|
-
# max_results: 1,
|
4325
|
-
# }
|
4326
|
-
#
|
4327
3940
|
# @!attribute [rw] dataset_arn
|
4328
3941
|
# The Amazon Resource Name (ARN) for the dataset that you want to use.
|
4329
3942
|
# @return [String]
|
@@ -4400,15 +4013,6 @@ module Aws::Rekognition
|
|
4400
4013
|
include Aws::Structure
|
4401
4014
|
end
|
4402
4015
|
|
4403
|
-
# @note When making an API call, you may pass ListDatasetLabelsRequest
|
4404
|
-
# data as a hash:
|
4405
|
-
#
|
4406
|
-
# {
|
4407
|
-
# dataset_arn: "DatasetArn", # required
|
4408
|
-
# next_token: "ExtendedPaginationToken",
|
4409
|
-
# max_results: 1,
|
4410
|
-
# }
|
4411
|
-
#
|
4412
4016
|
# @!attribute [rw] dataset_arn
|
4413
4017
|
# The Amazon Resource Name (ARN) of the dataset that you want to use.
|
4414
4018
|
# @return [String]
|
@@ -4453,15 +4057,6 @@ module Aws::Rekognition
|
|
4453
4057
|
include Aws::Structure
|
4454
4058
|
end
|
4455
4059
|
|
4456
|
-
# @note When making an API call, you may pass ListFacesRequest
|
4457
|
-
# data as a hash:
|
4458
|
-
#
|
4459
|
-
# {
|
4460
|
-
# collection_id: "CollectionId", # required
|
4461
|
-
# next_token: "PaginationToken",
|
4462
|
-
# max_results: 1,
|
4463
|
-
# }
|
4464
|
-
#
|
4465
4060
|
# @!attribute [rw] collection_id
|
4466
4061
|
# ID of the collection from which to list the faces.
|
4467
4062
|
# @return [String]
|
@@ -4508,15 +4103,6 @@ module Aws::Rekognition
|
|
4508
4103
|
include Aws::Structure
|
4509
4104
|
end
|
4510
4105
|
|
4511
|
-
# @note When making an API call, you may pass ListProjectPoliciesRequest
|
4512
|
-
# data as a hash:
|
4513
|
-
#
|
4514
|
-
# {
|
4515
|
-
# project_arn: "ProjectArn", # required
|
4516
|
-
# next_token: "ExtendedPaginationToken",
|
4517
|
-
# max_results: 1,
|
4518
|
-
# }
|
4519
|
-
#
|
4520
4106
|
# @!attribute [rw] project_arn
|
4521
4107
|
# The ARN of the project for which you want to list the project
|
4522
4108
|
# policies.
|
@@ -4560,14 +4146,6 @@ module Aws::Rekognition
|
|
4560
4146
|
include Aws::Structure
|
4561
4147
|
end
|
4562
4148
|
|
4563
|
-
# @note When making an API call, you may pass ListStreamProcessorsRequest
|
4564
|
-
# data as a hash:
|
4565
|
-
#
|
4566
|
-
# {
|
4567
|
-
# next_token: "PaginationToken",
|
4568
|
-
# max_results: 1,
|
4569
|
-
# }
|
4570
|
-
#
|
4571
4149
|
# @!attribute [rw] next_token
|
4572
4150
|
# If the previous response was incomplete (because there are more
|
4573
4151
|
# stream processors to retrieve), Amazon Rekognition Video returns a
|
@@ -4604,13 +4182,6 @@ module Aws::Rekognition
|
|
4604
4182
|
include Aws::Structure
|
4605
4183
|
end
|
4606
4184
|
|
4607
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4608
|
-
# data as a hash:
|
4609
|
-
#
|
4610
|
-
# {
|
4611
|
-
# resource_arn: "ResourceArn", # required
|
4612
|
-
# }
|
4613
|
-
#
|
4614
4185
|
# @!attribute [rw] resource_arn
|
4615
4186
|
# Amazon Resource Name (ARN) of the model, collection, or stream
|
4616
4187
|
# processor that contains the tags that you want a list of.
|
@@ -4720,14 +4291,6 @@ module Aws::Rekognition
|
|
4720
4291
|
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html
|
4721
4292
|
# [2]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics
|
4722
4293
|
#
|
4723
|
-
# @note When making an API call, you may pass NotificationChannel
|
4724
|
-
# data as a hash:
|
4725
|
-
#
|
4726
|
-
# {
|
4727
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
4728
|
-
# role_arn: "RoleArn", # required
|
4729
|
-
# }
|
4730
|
-
#
|
4731
4294
|
# @!attribute [rw] sns_topic_arn
|
4732
4295
|
# The Amazon SNS topic to which Amazon Rekognition posts the
|
4733
4296
|
# completion status.
|
@@ -4747,14 +4310,6 @@ module Aws::Rekognition
|
|
4747
4310
|
|
4748
4311
|
# The S3 bucket and folder location where training output is placed.
|
4749
4312
|
#
|
4750
|
-
# @note When making an API call, you may pass OutputConfig
|
4751
|
-
# data as a hash:
|
4752
|
-
#
|
4753
|
-
# {
|
4754
|
-
# s3_bucket: "S3Bucket",
|
4755
|
-
# s3_key_prefix: "S3KeyPrefix",
|
4756
|
-
# }
|
4757
|
-
#
|
4758
4313
|
# @!attribute [rw] s3_bucket
|
4759
4314
|
# The S3 bucket where training output is placed.
|
4760
4315
|
# @return [String]
|
@@ -4816,7 +4371,9 @@ module Aws::Rekognition
|
|
4816
4371
|
#
|
4817
4372
|
# @!attribute [rw] timestamp
|
4818
4373
|
# The time, in milliseconds from the start of the video, that the
|
4819
|
-
# person's path was tracked.
|
4374
|
+
# person's path was tracked. Note that `Timestamp` is not guaranteed
|
4375
|
+
# to be accurate to the individual frame where the person's path
|
4376
|
+
# first appears.
|
4820
4377
|
# @return [Integer]
|
4821
4378
|
#
|
4822
4379
|
# @!attribute [rw] person
|
@@ -4870,14 +4427,6 @@ module Aws::Rekognition
|
|
4870
4427
|
# a fine-grained polygon around a detected item. For more information,
|
4871
4428
|
# see Geometry in the Amazon Rekognition Developer Guide.
|
4872
4429
|
#
|
4873
|
-
# @note When making an API call, you may pass Point
|
4874
|
-
# data as a hash:
|
4875
|
-
#
|
4876
|
-
# {
|
4877
|
-
# x: 1.0,
|
4878
|
-
# y: 1.0,
|
4879
|
-
# }
|
4880
|
-
#
|
4881
4430
|
# @!attribute [rw] x
|
4882
4431
|
# The value of the X coordinate for a point on a `Polygon`.
|
4883
4432
|
# @return [Float]
|
@@ -5146,14 +4695,6 @@ module Aws::Rekognition
|
|
5146
4695
|
# the persons in which a determination could not be made. For more
|
5147
4696
|
# information, see ProtectiveEquipmentSummary.
|
5148
4697
|
#
|
5149
|
-
# @note When making an API call, you may pass ProtectiveEquipmentSummarizationAttributes
|
5150
|
-
# data as a hash:
|
5151
|
-
#
|
5152
|
-
# {
|
5153
|
-
# min_confidence: 1.0, # required
|
5154
|
-
# required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
|
5155
|
-
# }
|
5156
|
-
#
|
5157
4698
|
# @!attribute [rw] min_confidence
|
5158
4699
|
# The minimum confidence level for which you want summary information.
|
5159
4700
|
# The confidence level applies to person detection, body part
|
@@ -5232,16 +4773,6 @@ module Aws::Rekognition
|
|
5232
4773
|
#
|
5233
4774
|
class ProvisionedThroughputExceededException < Aws::EmptyStructure; end
|
5234
4775
|
|
5235
|
-
# @note When making an API call, you may pass PutProjectPolicyRequest
|
5236
|
-
# data as a hash:
|
5237
|
-
#
|
5238
|
-
# {
|
5239
|
-
# project_arn: "ProjectArn", # required
|
5240
|
-
# policy_name: "ProjectPolicyName", # required
|
5241
|
-
# policy_revision_id: "ProjectPolicyRevisionId",
|
5242
|
-
# policy_document: "ProjectPolicyDocument", # required
|
5243
|
-
# }
|
5244
|
-
#
|
5245
4776
|
# @!attribute [rw] project_arn
|
5246
4777
|
# The Amazon Resource Name (ARN) of the project that the project
|
5247
4778
|
# policy is attached to.
|
@@ -5289,20 +4820,6 @@ module Aws::Rekognition
|
|
5289
4820
|
include Aws::Structure
|
5290
4821
|
end
|
5291
4822
|
|
5292
|
-
# @note When making an API call, you may pass RecognizeCelebritiesRequest
|
5293
|
-
# data as a hash:
|
5294
|
-
#
|
5295
|
-
# {
|
5296
|
-
# image: { # required
|
5297
|
-
# bytes: "data",
|
5298
|
-
# s3_object: {
|
5299
|
-
# bucket: "S3Bucket",
|
5300
|
-
# name: "S3ObjectName",
|
5301
|
-
# version: "S3ObjectVersion",
|
5302
|
-
# },
|
5303
|
-
# },
|
5304
|
-
# }
|
5305
|
-
#
|
5306
4823
|
# @!attribute [rw] image
|
5307
4824
|
# The input image as base64-encoded bytes or an S3 object. If you use
|
5308
4825
|
# the AWS CLI to call Amazon Rekognition operations, passing
|
@@ -5375,24 +4892,6 @@ module Aws::Rekognition
|
|
5375
4892
|
# or label is compared with all regions of the screen. Any object of
|
5376
4893
|
# interest that is more than half in a region is kept in the results.
|
5377
4894
|
#
|
5378
|
-
# @note When making an API call, you may pass RegionOfInterest
|
5379
|
-
# data as a hash:
|
5380
|
-
#
|
5381
|
-
# {
|
5382
|
-
# bounding_box: {
|
5383
|
-
# width: 1.0,
|
5384
|
-
# height: 1.0,
|
5385
|
-
# left: 1.0,
|
5386
|
-
# top: 1.0,
|
5387
|
-
# },
|
5388
|
-
# polygon: [
|
5389
|
-
# {
|
5390
|
-
# x: 1.0,
|
5391
|
-
# y: 1.0,
|
5392
|
-
# },
|
5393
|
-
# ],
|
5394
|
-
# }
|
5395
|
-
#
|
5396
4895
|
# @!attribute [rw] bounding_box
|
5397
4896
|
# The box representing a region of interest on screen.
|
5398
4897
|
# @return [Types::BoundingBox]
|
@@ -5433,14 +4932,6 @@ module Aws::Rekognition
|
|
5433
4932
|
# ID of the stream processing session, and labeled timestamps and
|
5434
4933
|
# bounding boxes for detected labels.
|
5435
4934
|
#
|
5436
|
-
# @note When making an API call, you may pass S3Destination
|
5437
|
-
# data as a hash:
|
5438
|
-
#
|
5439
|
-
# {
|
5440
|
-
# bucket: "S3Bucket",
|
5441
|
-
# key_prefix: "S3KeyPrefix",
|
5442
|
-
# }
|
5443
|
-
#
|
5444
4935
|
# @!attribute [rw] bucket
|
5445
4936
|
# The name of the Amazon S3 bucket you want to associate with the
|
5446
4937
|
# streaming video project. You must be the owner of the Amazon S3
|
@@ -5474,15 +4965,6 @@ module Aws::Rekognition
|
|
5474
4965
|
# Amazon Rekognition works with IAM in the Amazon Rekognition Developer
|
5475
4966
|
# Guide.
|
5476
4967
|
#
|
5477
|
-
# @note When making an API call, you may pass S3Object
|
5478
|
-
# data as a hash:
|
5479
|
-
#
|
5480
|
-
# {
|
5481
|
-
# bucket: "S3Bucket",
|
5482
|
-
# name: "S3ObjectName",
|
5483
|
-
# version: "S3ObjectVersion",
|
5484
|
-
# }
|
5485
|
-
#
|
5486
4968
|
# @!attribute [rw] bucket
|
5487
4969
|
# Name of the S3 bucket.
|
5488
4970
|
# @return [String]
|
@@ -5504,24 +4986,6 @@ module Aws::Rekognition
|
|
5504
4986
|
include Aws::Structure
|
5505
4987
|
end
|
5506
4988
|
|
5507
|
-
# @note When making an API call, you may pass SearchFacesByImageRequest
|
5508
|
-
# data as a hash:
|
5509
|
-
#
|
5510
|
-
# {
|
5511
|
-
# collection_id: "CollectionId", # required
|
5512
|
-
# image: { # required
|
5513
|
-
# bytes: "data",
|
5514
|
-
# s3_object: {
|
5515
|
-
# bucket: "S3Bucket",
|
5516
|
-
# name: "S3ObjectName",
|
5517
|
-
# version: "S3ObjectVersion",
|
5518
|
-
# },
|
5519
|
-
# },
|
5520
|
-
# max_faces: 1,
|
5521
|
-
# face_match_threshold: 1.0,
|
5522
|
-
# quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
|
5523
|
-
# }
|
5524
|
-
#
|
5525
4989
|
# @!attribute [rw] collection_id
|
5526
4990
|
# ID of the collection to search.
|
5527
4991
|
# @return [String]
|
@@ -5603,16 +5067,6 @@ module Aws::Rekognition
|
|
5603
5067
|
include Aws::Structure
|
5604
5068
|
end
|
5605
5069
|
|
5606
|
-
# @note When making an API call, you may pass SearchFacesRequest
|
5607
|
-
# data as a hash:
|
5608
|
-
#
|
5609
|
-
# {
|
5610
|
-
# collection_id: "CollectionId", # required
|
5611
|
-
# face_id: "FaceId", # required
|
5612
|
-
# max_faces: 1,
|
5613
|
-
# face_match_threshold: 1.0,
|
5614
|
-
# }
|
5615
|
-
#
|
5616
5070
|
# @!attribute [rw] collection_id
|
5617
5071
|
# ID of the collection the face belongs to.
|
5618
5072
|
# @return [String]
|
@@ -5808,25 +5262,6 @@ module Aws::Rekognition
|
|
5808
5262
|
include Aws::Structure
|
5809
5263
|
end
|
5810
5264
|
|
5811
|
-
# @note When making an API call, you may pass StartCelebrityRecognitionRequest
|
5812
|
-
# data as a hash:
|
5813
|
-
#
|
5814
|
-
# {
|
5815
|
-
# video: { # required
|
5816
|
-
# s3_object: {
|
5817
|
-
# bucket: "S3Bucket",
|
5818
|
-
# name: "S3ObjectName",
|
5819
|
-
# version: "S3ObjectVersion",
|
5820
|
-
# },
|
5821
|
-
# },
|
5822
|
-
# client_request_token: "ClientRequestToken",
|
5823
|
-
# notification_channel: {
|
5824
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
5825
|
-
# role_arn: "RoleArn", # required
|
5826
|
-
# },
|
5827
|
-
# job_tag: "JobTag",
|
5828
|
-
# }
|
5829
|
-
#
|
5830
5265
|
# @!attribute [rw] video
|
5831
5266
|
# The video in which you want to recognize celebrities. The video must
|
5832
5267
|
# be stored in an Amazon S3 bucket.
|
@@ -5875,26 +5310,6 @@ module Aws::Rekognition
|
|
5875
5310
|
include Aws::Structure
|
5876
5311
|
end
|
5877
5312
|
|
5878
|
-
# @note When making an API call, you may pass StartContentModerationRequest
|
5879
|
-
# data as a hash:
|
5880
|
-
#
|
5881
|
-
# {
|
5882
|
-
# video: { # required
|
5883
|
-
# s3_object: {
|
5884
|
-
# bucket: "S3Bucket",
|
5885
|
-
# name: "S3ObjectName",
|
5886
|
-
# version: "S3ObjectVersion",
|
5887
|
-
# },
|
5888
|
-
# },
|
5889
|
-
# min_confidence: 1.0,
|
5890
|
-
# client_request_token: "ClientRequestToken",
|
5891
|
-
# notification_channel: {
|
5892
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
5893
|
-
# role_arn: "RoleArn", # required
|
5894
|
-
# },
|
5895
|
-
# job_tag: "JobTag",
|
5896
|
-
# }
|
5897
|
-
#
|
5898
5313
|
# @!attribute [rw] video
|
5899
5314
|
# The video in which you want to detect inappropriate, unwanted, or
|
5900
5315
|
# offensive content. The video must be stored in an Amazon S3 bucket.
|
@@ -5954,26 +5369,6 @@ module Aws::Rekognition
|
|
5954
5369
|
include Aws::Structure
|
5955
5370
|
end
|
5956
5371
|
|
5957
|
-
# @note When making an API call, you may pass StartFaceDetectionRequest
|
5958
|
-
# data as a hash:
|
5959
|
-
#
|
5960
|
-
# {
|
5961
|
-
# video: { # required
|
5962
|
-
# s3_object: {
|
5963
|
-
# bucket: "S3Bucket",
|
5964
|
-
# name: "S3ObjectName",
|
5965
|
-
# version: "S3ObjectVersion",
|
5966
|
-
# },
|
5967
|
-
# },
|
5968
|
-
# client_request_token: "ClientRequestToken",
|
5969
|
-
# notification_channel: {
|
5970
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
5971
|
-
# role_arn: "RoleArn", # required
|
5972
|
-
# },
|
5973
|
-
# face_attributes: "DEFAULT", # accepts DEFAULT, ALL
|
5974
|
-
# job_tag: "JobTag",
|
5975
|
-
# }
|
5976
|
-
#
|
5977
5372
|
# @!attribute [rw] video
|
5978
5373
|
# The video in which you want to detect faces. The video must be
|
5979
5374
|
# stored in an Amazon S3 bucket.
|
@@ -6031,27 +5426,6 @@ module Aws::Rekognition
|
|
6031
5426
|
include Aws::Structure
|
6032
5427
|
end
|
6033
5428
|
|
6034
|
-
# @note When making an API call, you may pass StartFaceSearchRequest
|
6035
|
-
# data as a hash:
|
6036
|
-
#
|
6037
|
-
# {
|
6038
|
-
# video: { # required
|
6039
|
-
# s3_object: {
|
6040
|
-
# bucket: "S3Bucket",
|
6041
|
-
# name: "S3ObjectName",
|
6042
|
-
# version: "S3ObjectVersion",
|
6043
|
-
# },
|
6044
|
-
# },
|
6045
|
-
# client_request_token: "ClientRequestToken",
|
6046
|
-
# face_match_threshold: 1.0,
|
6047
|
-
# collection_id: "CollectionId", # required
|
6048
|
-
# notification_channel: {
|
6049
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6050
|
-
# role_arn: "RoleArn", # required
|
6051
|
-
# },
|
6052
|
-
# job_tag: "JobTag",
|
6053
|
-
# }
|
6054
|
-
#
|
6055
5429
|
# @!attribute [rw] video
|
6056
5430
|
# The video you want to search. The video must be stored in an Amazon
|
6057
5431
|
# S3 bucket.
|
@@ -6111,26 +5485,6 @@ module Aws::Rekognition
|
|
6111
5485
|
include Aws::Structure
|
6112
5486
|
end
|
6113
5487
|
|
6114
|
-
# @note When making an API call, you may pass StartLabelDetectionRequest
|
6115
|
-
# data as a hash:
|
6116
|
-
#
|
6117
|
-
# {
|
6118
|
-
# video: { # required
|
6119
|
-
# s3_object: {
|
6120
|
-
# bucket: "S3Bucket",
|
6121
|
-
# name: "S3ObjectName",
|
6122
|
-
# version: "S3ObjectVersion",
|
6123
|
-
# },
|
6124
|
-
# },
|
6125
|
-
# client_request_token: "ClientRequestToken",
|
6126
|
-
# min_confidence: 1.0,
|
6127
|
-
# notification_channel: {
|
6128
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6129
|
-
# role_arn: "RoleArn", # required
|
6130
|
-
# },
|
6131
|
-
# job_tag: "JobTag",
|
6132
|
-
# }
|
6133
|
-
#
|
6134
5488
|
# @!attribute [rw] video
|
6135
5489
|
# The video in which you want to detect labels. The video must be
|
6136
5490
|
# stored in an Amazon S3 bucket.
|
@@ -6152,7 +5506,8 @@ module Aws::Rekognition
|
|
6152
5506
|
# lower than this specified value.
|
6153
5507
|
#
|
6154
5508
|
# If you don't specify `MinConfidence`, the operation returns labels
|
6155
|
-
# with confidence values greater than
|
5509
|
+
# and bounding boxes (if detected) with confidence values greater than
|
5510
|
+
# or equal to 50 percent.
|
6156
5511
|
# @return [Float]
|
6157
5512
|
#
|
6158
5513
|
# @!attribute [rw] notification_channel
|
@@ -6170,12 +5525,26 @@ module Aws::Rekognition
|
|
6170
5525
|
# jobs and identify them in the completion notification.
|
6171
5526
|
# @return [String]
|
6172
5527
|
#
|
5528
|
+
# @!attribute [rw] features
|
5529
|
+
# The features to return after video analysis. You can specify that
|
5530
|
+
# GENERAL\_LABELS are returned.
|
5531
|
+
# @return [Array<String>]
|
5532
|
+
#
|
5533
|
+
# @!attribute [rw] settings
|
5534
|
+
# The settings for a StartLabelDetection request.Contains the
|
5535
|
+
# specified parameters for the label detection request of an
|
5536
|
+
# asynchronous label analysis operation. Settings can include filters
|
5537
|
+
# for GENERAL\_LABELS.
|
5538
|
+
# @return [Types::LabelDetectionSettings]
|
5539
|
+
#
|
6173
5540
|
class StartLabelDetectionRequest < Struct.new(
|
6174
5541
|
:video,
|
6175
5542
|
:client_request_token,
|
6176
5543
|
:min_confidence,
|
6177
5544
|
:notification_channel,
|
6178
|
-
:job_tag
|
5545
|
+
:job_tag,
|
5546
|
+
:features,
|
5547
|
+
:settings)
|
6179
5548
|
SENSITIVE = []
|
6180
5549
|
include Aws::Structure
|
6181
5550
|
end
|
@@ -6191,25 +5560,6 @@ module Aws::Rekognition
|
|
6191
5560
|
include Aws::Structure
|
6192
5561
|
end
|
6193
5562
|
|
6194
|
-
# @note When making an API call, you may pass StartPersonTrackingRequest
|
6195
|
-
# data as a hash:
|
6196
|
-
#
|
6197
|
-
# {
|
6198
|
-
# video: { # required
|
6199
|
-
# s3_object: {
|
6200
|
-
# bucket: "S3Bucket",
|
6201
|
-
# name: "S3ObjectName",
|
6202
|
-
# version: "S3ObjectVersion",
|
6203
|
-
# },
|
6204
|
-
# },
|
6205
|
-
# client_request_token: "ClientRequestToken",
|
6206
|
-
# notification_channel: {
|
6207
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6208
|
-
# role_arn: "RoleArn", # required
|
6209
|
-
# },
|
6210
|
-
# job_tag: "JobTag",
|
6211
|
-
# }
|
6212
|
-
#
|
6213
5563
|
# @!attribute [rw] video
|
6214
5564
|
# The video in which you want to detect people. The video must be
|
6215
5565
|
# stored in an Amazon S3 bucket.
|
@@ -6257,15 +5607,6 @@ module Aws::Rekognition
|
|
6257
5607
|
include Aws::Structure
|
6258
5608
|
end
|
6259
5609
|
|
6260
|
-
# @note When making an API call, you may pass StartProjectVersionRequest
|
6261
|
-
# data as a hash:
|
6262
|
-
#
|
6263
|
-
# {
|
6264
|
-
# project_version_arn: "ProjectVersionArn", # required
|
6265
|
-
# min_inference_units: 1, # required
|
6266
|
-
# max_inference_units: 1,
|
6267
|
-
# }
|
6268
|
-
#
|
6269
5610
|
# @!attribute [rw] project_version_arn
|
6270
5611
|
# The Amazon Resource Name(ARN) of the model version that you want to
|
6271
5612
|
# start.
|
@@ -6311,22 +5652,6 @@ module Aws::Rekognition
|
|
6311
5652
|
# Filters applied to the technical cue or shot detection segments. For
|
6312
5653
|
# more information, see StartSegmentDetection.
|
6313
5654
|
#
|
6314
|
-
# @note When making an API call, you may pass StartSegmentDetectionFilters
|
6315
|
-
# data as a hash:
|
6316
|
-
#
|
6317
|
-
# {
|
6318
|
-
# technical_cue_filter: {
|
6319
|
-
# min_segment_confidence: 1.0,
|
6320
|
-
# black_frame: {
|
6321
|
-
# max_pixel_threshold: 1.0,
|
6322
|
-
# min_coverage_percentage: 1.0,
|
6323
|
-
# },
|
6324
|
-
# },
|
6325
|
-
# shot_filter: {
|
6326
|
-
# min_segment_confidence: 1.0,
|
6327
|
-
# },
|
6328
|
-
# }
|
6329
|
-
#
|
6330
5655
|
# @!attribute [rw] technical_cue_filter
|
6331
5656
|
# Filters that are specific to technical cues.
|
6332
5657
|
# @return [Types::StartTechnicalCueDetectionFilter]
|
@@ -6342,38 +5667,6 @@ module Aws::Rekognition
|
|
6342
5667
|
include Aws::Structure
|
6343
5668
|
end
|
6344
5669
|
|
6345
|
-
# @note When making an API call, you may pass StartSegmentDetectionRequest
|
6346
|
-
# data as a hash:
|
6347
|
-
#
|
6348
|
-
# {
|
6349
|
-
# video: { # required
|
6350
|
-
# s3_object: {
|
6351
|
-
# bucket: "S3Bucket",
|
6352
|
-
# name: "S3ObjectName",
|
6353
|
-
# version: "S3ObjectVersion",
|
6354
|
-
# },
|
6355
|
-
# },
|
6356
|
-
# client_request_token: "ClientRequestToken",
|
6357
|
-
# notification_channel: {
|
6358
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6359
|
-
# role_arn: "RoleArn", # required
|
6360
|
-
# },
|
6361
|
-
# job_tag: "JobTag",
|
6362
|
-
# filters: {
|
6363
|
-
# technical_cue_filter: {
|
6364
|
-
# min_segment_confidence: 1.0,
|
6365
|
-
# black_frame: {
|
6366
|
-
# max_pixel_threshold: 1.0,
|
6367
|
-
# min_coverage_percentage: 1.0,
|
6368
|
-
# },
|
6369
|
-
# },
|
6370
|
-
# shot_filter: {
|
6371
|
-
# min_segment_confidence: 1.0,
|
6372
|
-
# },
|
6373
|
-
# },
|
6374
|
-
# segment_types: ["TECHNICAL_CUE"], # required, accepts TECHNICAL_CUE, SHOT
|
6375
|
-
# }
|
6376
|
-
#
|
6377
5670
|
# @!attribute [rw] video
|
6378
5671
|
# Video file stored in an Amazon S3 bucket. Amazon Rekognition video
|
6379
5672
|
# start operations such as StartLabelDetection use `Video` to specify
|
@@ -6438,13 +5731,6 @@ module Aws::Rekognition
|
|
6438
5731
|
# `GetSegmentDetection`. For more information, see
|
6439
5732
|
# StartSegmentDetectionFilters.
|
6440
5733
|
#
|
6441
|
-
# @note When making an API call, you may pass StartShotDetectionFilter
|
6442
|
-
# data as a hash:
|
6443
|
-
#
|
6444
|
-
# {
|
6445
|
-
# min_segment_confidence: 1.0,
|
6446
|
-
# }
|
6447
|
-
#
|
6448
5734
|
# @!attribute [rw] min_segment_confidence
|
6449
5735
|
# Specifies the minimum confidence that Amazon Rekognition Video must
|
6450
5736
|
# have in order to return a detected segment. Confidence represents
|
@@ -6464,22 +5750,6 @@ module Aws::Rekognition
|
|
6464
5750
|
include Aws::Structure
|
6465
5751
|
end
|
6466
5752
|
|
6467
|
-
# @note When making an API call, you may pass StartStreamProcessorRequest
|
6468
|
-
# data as a hash:
|
6469
|
-
#
|
6470
|
-
# {
|
6471
|
-
# name: "StreamProcessorName", # required
|
6472
|
-
# start_selector: {
|
6473
|
-
# kvs_stream_start_selector: {
|
6474
|
-
# producer_timestamp: 1,
|
6475
|
-
# fragment_number: "KinesisVideoStreamFragmentNumber",
|
6476
|
-
# },
|
6477
|
-
# },
|
6478
|
-
# stop_selector: {
|
6479
|
-
# max_duration_in_seconds: 1,
|
6480
|
-
# },
|
6481
|
-
# }
|
6482
|
-
#
|
6483
5753
|
# @!attribute [rw] name
|
6484
5754
|
# The name of the stream processor to start processing.
|
6485
5755
|
# @return [String]
|
@@ -6487,7 +5757,9 @@ module Aws::Rekognition
|
|
6487
5757
|
# @!attribute [rw] start_selector
|
6488
5758
|
# Specifies the starting point in the Kinesis stream to start
|
6489
5759
|
# processing. You can use the producer timestamp or the fragment
|
6490
|
-
# number.
|
5760
|
+
# number. If you use the producer timestamp, you must put the time in
|
5761
|
+
# milliseconds. For more information about fragment numbers, see
|
5762
|
+
# [Fragment][1].
|
6491
5763
|
#
|
6492
5764
|
# This is a required parameter for label detection stream processors
|
6493
5765
|
# and should not be used to start a face search stream processor.
|
@@ -6526,17 +5798,6 @@ module Aws::Rekognition
|
|
6526
5798
|
# Filters for the technical segments returned by GetSegmentDetection.
|
6527
5799
|
# For more information, see StartSegmentDetectionFilters.
|
6528
5800
|
#
|
6529
|
-
# @note When making an API call, you may pass StartTechnicalCueDetectionFilter
|
6530
|
-
# data as a hash:
|
6531
|
-
#
|
6532
|
-
# {
|
6533
|
-
# min_segment_confidence: 1.0,
|
6534
|
-
# black_frame: {
|
6535
|
-
# max_pixel_threshold: 1.0,
|
6536
|
-
# min_coverage_percentage: 1.0,
|
6537
|
-
# },
|
6538
|
-
# }
|
6539
|
-
#
|
6540
5801
|
# @!attribute [rw] min_segment_confidence
|
6541
5802
|
# Specifies the minimum confidence that Amazon Rekognition Video must
|
6542
5803
|
# have in order to return a detected segment. Confidence represents
|
@@ -6570,33 +5831,6 @@ module Aws::Rekognition
|
|
6570
5831
|
# height, width and minimum confidence. `RegionOfInterest` lets you set
|
6571
5832
|
# a specific region of the screen to look for text in.
|
6572
5833
|
#
|
6573
|
-
# @note When making an API call, you may pass StartTextDetectionFilters
|
6574
|
-
# data as a hash:
|
6575
|
-
#
|
6576
|
-
# {
|
6577
|
-
# word_filter: {
|
6578
|
-
# min_confidence: 1.0,
|
6579
|
-
# min_bounding_box_height: 1.0,
|
6580
|
-
# min_bounding_box_width: 1.0,
|
6581
|
-
# },
|
6582
|
-
# regions_of_interest: [
|
6583
|
-
# {
|
6584
|
-
# bounding_box: {
|
6585
|
-
# width: 1.0,
|
6586
|
-
# height: 1.0,
|
6587
|
-
# left: 1.0,
|
6588
|
-
# top: 1.0,
|
6589
|
-
# },
|
6590
|
-
# polygon: [
|
6591
|
-
# {
|
6592
|
-
# x: 1.0,
|
6593
|
-
# y: 1.0,
|
6594
|
-
# },
|
6595
|
-
# ],
|
6596
|
-
# },
|
6597
|
-
# ],
|
6598
|
-
# }
|
6599
|
-
#
|
6600
5834
|
# @!attribute [rw] word_filter
|
6601
5835
|
# Filters focusing on qualities of the text, such as confidence or
|
6602
5836
|
# size.
|
@@ -6614,48 +5848,6 @@ module Aws::Rekognition
|
|
6614
5848
|
include Aws::Structure
|
6615
5849
|
end
|
6616
5850
|
|
6617
|
-
# @note When making an API call, you may pass StartTextDetectionRequest
|
6618
|
-
# data as a hash:
|
6619
|
-
#
|
6620
|
-
# {
|
6621
|
-
# video: { # required
|
6622
|
-
# s3_object: {
|
6623
|
-
# bucket: "S3Bucket",
|
6624
|
-
# name: "S3ObjectName",
|
6625
|
-
# version: "S3ObjectVersion",
|
6626
|
-
# },
|
6627
|
-
# },
|
6628
|
-
# client_request_token: "ClientRequestToken",
|
6629
|
-
# notification_channel: {
|
6630
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6631
|
-
# role_arn: "RoleArn", # required
|
6632
|
-
# },
|
6633
|
-
# job_tag: "JobTag",
|
6634
|
-
# filters: {
|
6635
|
-
# word_filter: {
|
6636
|
-
# min_confidence: 1.0,
|
6637
|
-
# min_bounding_box_height: 1.0,
|
6638
|
-
# min_bounding_box_width: 1.0,
|
6639
|
-
# },
|
6640
|
-
# regions_of_interest: [
|
6641
|
-
# {
|
6642
|
-
# bounding_box: {
|
6643
|
-
# width: 1.0,
|
6644
|
-
# height: 1.0,
|
6645
|
-
# left: 1.0,
|
6646
|
-
# top: 1.0,
|
6647
|
-
# },
|
6648
|
-
# polygon: [
|
6649
|
-
# {
|
6650
|
-
# x: 1.0,
|
6651
|
-
# y: 1.0,
|
6652
|
-
# },
|
6653
|
-
# ],
|
6654
|
-
# },
|
6655
|
-
# ],
|
6656
|
-
# },
|
6657
|
-
# }
|
6658
|
-
#
|
6659
5851
|
# @!attribute [rw] video
|
6660
5852
|
# Video file stored in an Amazon S3 bucket. Amazon Rekognition video
|
6661
5853
|
# start operations such as StartLabelDetection use `Video` to specify
|
@@ -6719,13 +5911,6 @@ module Aws::Rekognition
|
|
6719
5911
|
include Aws::Structure
|
6720
5912
|
end
|
6721
5913
|
|
6722
|
-
# @note When making an API call, you may pass StopProjectVersionRequest
|
6723
|
-
# data as a hash:
|
6724
|
-
#
|
6725
|
-
# {
|
6726
|
-
# project_version_arn: "ProjectVersionArn", # required
|
6727
|
-
# }
|
6728
|
-
#
|
6729
5914
|
# @!attribute [rw] project_version_arn
|
6730
5915
|
# The Amazon Resource Name (ARN) of the model version that you want to
|
6731
5916
|
# delete.
|
@@ -6750,13 +5935,6 @@ module Aws::Rekognition
|
|
6750
5935
|
include Aws::Structure
|
6751
5936
|
end
|
6752
5937
|
|
6753
|
-
# @note When making an API call, you may pass StopStreamProcessorRequest
|
6754
|
-
# data as a hash:
|
6755
|
-
#
|
6756
|
-
# {
|
6757
|
-
# name: "StreamProcessorName", # required
|
6758
|
-
# }
|
6759
|
-
#
|
6760
5938
|
# @!attribute [rw] name
|
6761
5939
|
# The name of a stream processor created by CreateStreamProcessor.
|
6762
5940
|
# @return [String]
|
@@ -6769,20 +5947,13 @@ module Aws::Rekognition
|
|
6769
5947
|
|
6770
5948
|
class StopStreamProcessorResponse < Aws::EmptyStructure; end
|
6771
5949
|
|
6772
|
-
#
|
6773
|
-
#
|
6774
|
-
#
|
6775
|
-
# {
|
6776
|
-
# kvs_stream_start_selector: {
|
6777
|
-
# producer_timestamp: 1,
|
6778
|
-
# fragment_number: "KinesisVideoStreamFragmentNumber",
|
6779
|
-
# },
|
6780
|
-
# }
|
5950
|
+
# This is a required parameter for label detection stream processors and
|
5951
|
+
# should not be used to start a face search stream processor.
|
6781
5952
|
#
|
6782
5953
|
# @!attribute [rw] kvs_stream_start_selector
|
6783
5954
|
# Specifies the starting point in the stream to start processing. This
|
6784
|
-
# can be done with a timestamp or a fragment number in a
|
6785
|
-
# stream.
|
5955
|
+
# can be done with a producer timestamp or a fragment number in a
|
5956
|
+
# Kinesis stream.
|
6786
5957
|
# @return [Types::KinesisVideoStreamStartSelector]
|
6787
5958
|
#
|
6788
5959
|
class StreamProcessingStartSelector < Struct.new(
|
@@ -6794,13 +5965,6 @@ module Aws::Rekognition
|
|
6794
5965
|
# Specifies when to stop processing the stream. You can specify a
|
6795
5966
|
# maximum amount of time to process the video.
|
6796
5967
|
#
|
6797
|
-
# @note When making an API call, you may pass StreamProcessingStopSelector
|
6798
|
-
# data as a hash:
|
6799
|
-
#
|
6800
|
-
# {
|
6801
|
-
# max_duration_in_seconds: 1,
|
6802
|
-
# }
|
6803
|
-
#
|
6804
5968
|
# @!attribute [rw] max_duration_in_seconds
|
6805
5969
|
# Specifies the maximum amount of time in seconds that you want the
|
6806
5970
|
# stream to be processed. The largest amount of time is 2 minutes. The
|
@@ -6840,13 +6004,6 @@ module Aws::Rekognition
|
|
6840
6004
|
# level or on a per-stream basis. Note that if you opt out at the
|
6841
6005
|
# account level this setting is ignored on individual streams.
|
6842
6006
|
#
|
6843
|
-
# @note When making an API call, you may pass StreamProcessorDataSharingPreference
|
6844
|
-
# data as a hash:
|
6845
|
-
#
|
6846
|
-
# {
|
6847
|
-
# opt_in: false, # required
|
6848
|
-
# }
|
6849
|
-
#
|
6850
6007
|
# @!attribute [rw] opt_in
|
6851
6008
|
# If this option is set to true, you choose to share data with
|
6852
6009
|
# Rekognition to improve model performance.
|
@@ -6860,15 +6017,6 @@ module Aws::Rekognition
|
|
6860
6017
|
|
6861
6018
|
# Information about the source streaming video.
|
6862
6019
|
#
|
6863
|
-
# @note When making an API call, you may pass StreamProcessorInput
|
6864
|
-
# data as a hash:
|
6865
|
-
#
|
6866
|
-
# {
|
6867
|
-
# kinesis_video_stream: {
|
6868
|
-
# arn: "KinesisVideoArn",
|
6869
|
-
# },
|
6870
|
-
# }
|
6871
|
-
#
|
6872
6020
|
# @!attribute [rw] kinesis_video_stream
|
6873
6021
|
# The Kinesis video stream input stream for the source streaming
|
6874
6022
|
# video.
|
@@ -6894,13 +6042,6 @@ module Aws::Rekognition
|
|
6894
6042
|
# Amazon Rekognition also publishes an an end-of-session notification
|
6895
6043
|
# with a summary when the stream processing session is complete.
|
6896
6044
|
#
|
6897
|
-
# @note When making an API call, you may pass StreamProcessorNotificationChannel
|
6898
|
-
# data as a hash:
|
6899
|
-
#
|
6900
|
-
# {
|
6901
|
-
# sns_topic_arn: "SNSTopicArn", # required
|
6902
|
-
# }
|
6903
|
-
#
|
6904
6045
|
# @!attribute [rw] sns_topic_arn
|
6905
6046
|
# The Amazon Resource Number (ARN) of the Amazon Amazon Simple
|
6906
6047
|
# Notification Service topic to which Amazon Rekognition posts the
|
@@ -6918,19 +6059,6 @@ module Aws::Rekognition
|
|
6918
6059
|
# video analysis. For more information, see CreateStreamProcessor in the
|
6919
6060
|
# Amazon Rekognition Developer Guide.
|
6920
6061
|
#
|
6921
|
-
# @note When making an API call, you may pass StreamProcessorOutput
|
6922
|
-
# data as a hash:
|
6923
|
-
#
|
6924
|
-
# {
|
6925
|
-
# kinesis_data_stream: {
|
6926
|
-
# arn: "KinesisDataArn",
|
6927
|
-
# },
|
6928
|
-
# s3_destination: {
|
6929
|
-
# bucket: "S3Bucket",
|
6930
|
-
# key_prefix: "S3KeyPrefix",
|
6931
|
-
# },
|
6932
|
-
# }
|
6933
|
-
#
|
6934
6062
|
# @!attribute [rw] kinesis_data_stream
|
6935
6063
|
# The Amazon Kinesis Data Streams stream to which the Amazon
|
6936
6064
|
# Rekognition stream processor streams the analysis results.
|
@@ -6953,20 +6081,6 @@ module Aws::Rekognition
|
|
6953
6081
|
# faces in a streaming video, or you can use `ConnectedHome` to detect
|
6954
6082
|
# labels.
|
6955
6083
|
#
|
6956
|
-
# @note When making an API call, you may pass StreamProcessorSettings
|
6957
|
-
# data as a hash:
|
6958
|
-
#
|
6959
|
-
# {
|
6960
|
-
# face_search: {
|
6961
|
-
# collection_id: "CollectionId",
|
6962
|
-
# face_match_threshold: 1.0,
|
6963
|
-
# },
|
6964
|
-
# connected_home: {
|
6965
|
-
# labels: ["ConnectedHomeLabel"], # required
|
6966
|
-
# min_confidence: 1.0,
|
6967
|
-
# },
|
6968
|
-
# }
|
6969
|
-
#
|
6970
6084
|
# @!attribute [rw] face_search
|
6971
6085
|
# Face search settings to use on a streaming video.
|
6972
6086
|
# @return [Types::FaceSearchSettings]
|
@@ -6996,16 +6110,6 @@ module Aws::Rekognition
|
|
6996
6110
|
# settings can be updated to detect different labels with a different
|
6997
6111
|
# minimum confidence.
|
6998
6112
|
#
|
6999
|
-
# @note When making an API call, you may pass StreamProcessorSettingsForUpdate
|
7000
|
-
# data as a hash:
|
7001
|
-
#
|
7002
|
-
# {
|
7003
|
-
# connected_home_for_update: {
|
7004
|
-
# labels: ["ConnectedHomeLabel"],
|
7005
|
-
# min_confidence: 1.0,
|
7006
|
-
# },
|
7007
|
-
# }
|
7008
|
-
#
|
7009
6113
|
# @!attribute [rw] connected_home_for_update
|
7010
6114
|
# The label detection settings you want to use for your stream
|
7011
6115
|
# processor.
|
@@ -7061,16 +6165,6 @@ module Aws::Rekognition
|
|
7061
6165
|
include Aws::Structure
|
7062
6166
|
end
|
7063
6167
|
|
7064
|
-
# @note When making an API call, you may pass TagResourceRequest
|
7065
|
-
# data as a hash:
|
7066
|
-
#
|
7067
|
-
# {
|
7068
|
-
# resource_arn: "ResourceArn", # required
|
7069
|
-
# tags: { # required
|
7070
|
-
# "TagKey" => "TagValue",
|
7071
|
-
# },
|
7072
|
-
# }
|
7073
|
-
#
|
7074
6168
|
# @!attribute [rw] resource_arn
|
7075
6169
|
# Amazon Resource Name (ARN) of the model, collection, or stream
|
7076
6170
|
# processor that you want to assign the tags to.
|
@@ -7112,24 +6206,6 @@ module Aws::Rekognition
|
|
7112
6206
|
# Amazon Rekognition Custom Labels uses the training dataset to create a
|
7113
6207
|
# test dataset with a temporary split of the training dataset.
|
7114
6208
|
#
|
7115
|
-
# @note When making an API call, you may pass TestingData
|
7116
|
-
# data as a hash:
|
7117
|
-
#
|
7118
|
-
# {
|
7119
|
-
# assets: [
|
7120
|
-
# {
|
7121
|
-
# ground_truth_manifest: {
|
7122
|
-
# s3_object: {
|
7123
|
-
# bucket: "S3Bucket",
|
7124
|
-
# name: "S3ObjectName",
|
7125
|
-
# version: "S3ObjectVersion",
|
7126
|
-
# },
|
7127
|
-
# },
|
7128
|
-
# },
|
7129
|
-
# ],
|
7130
|
-
# auto_create: false,
|
7131
|
-
# }
|
7132
|
-
#
|
7133
6209
|
# @!attribute [rw] assets
|
7134
6210
|
# The assets used for testing.
|
7135
6211
|
# @return [Array<Types::Asset>]
|
@@ -7235,7 +6311,8 @@ module Aws::Rekognition
|
|
7235
6311
|
#
|
7236
6312
|
# @!attribute [rw] timestamp
|
7237
6313
|
# The time, in milliseconds from the start of the video, that the text
|
7238
|
-
# was detected.
|
6314
|
+
# was detected. Note that `Timestamp` is not guaranteed to be accurate
|
6315
|
+
# to the individual frame where the text first appears.
|
7239
6316
|
# @return [Integer]
|
7240
6317
|
#
|
7241
6318
|
# @!attribute [rw] text_detection
|
@@ -7256,23 +6333,6 @@ module Aws::Rekognition
|
|
7256
6333
|
|
7257
6334
|
# The dataset used for training.
|
7258
6335
|
#
|
7259
|
-
# @note When making an API call, you may pass TrainingData
|
7260
|
-
# data as a hash:
|
7261
|
-
#
|
7262
|
-
# {
|
7263
|
-
# assets: [
|
7264
|
-
# {
|
7265
|
-
# ground_truth_manifest: {
|
7266
|
-
# s3_object: {
|
7267
|
-
# bucket: "S3Bucket",
|
7268
|
-
# name: "S3ObjectName",
|
7269
|
-
# version: "S3ObjectVersion",
|
7270
|
-
# },
|
7271
|
-
# },
|
7272
|
-
# },
|
7273
|
-
# ],
|
7274
|
-
# }
|
7275
|
-
#
|
7276
6336
|
# @!attribute [rw] assets
|
7277
6337
|
# A Sagemaker GroundTruth manifest file that contains the training
|
7278
6338
|
# images (assets).
|
@@ -7344,14 +6404,6 @@ module Aws::Rekognition
|
|
7344
6404
|
include Aws::Structure
|
7345
6405
|
end
|
7346
6406
|
|
7347
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
7348
|
-
# data as a hash:
|
7349
|
-
#
|
7350
|
-
# {
|
7351
|
-
# resource_arn: "ResourceArn", # required
|
7352
|
-
# tag_keys: ["TagKey"], # required
|
7353
|
-
# }
|
7354
|
-
#
|
7355
6407
|
# @!attribute [rw] resource_arn
|
7356
6408
|
# Amazon Resource Name (ARN) of the model, collection, or stream
|
7357
6409
|
# processor that you want to remove the tags from.
|
@@ -7370,16 +6422,6 @@ module Aws::Rekognition
|
|
7370
6422
|
|
7371
6423
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
7372
6424
|
|
7373
|
-
# @note When making an API call, you may pass UpdateDatasetEntriesRequest
|
7374
|
-
# data as a hash:
|
7375
|
-
#
|
7376
|
-
# {
|
7377
|
-
# dataset_arn: "DatasetArn", # required
|
7378
|
-
# changes: { # required
|
7379
|
-
# ground_truth: "data", # required
|
7380
|
-
# },
|
7381
|
-
# }
|
7382
|
-
#
|
7383
6425
|
# @!attribute [rw] dataset_arn
|
7384
6426
|
# The Amazon Resource Name (ARN) of the dataset that you want to
|
7385
6427
|
# update.
|
@@ -7398,39 +6440,6 @@ module Aws::Rekognition
|
|
7398
6440
|
|
7399
6441
|
class UpdateDatasetEntriesResponse < Aws::EmptyStructure; end
|
7400
6442
|
|
7401
|
-
# @note When making an API call, you may pass UpdateStreamProcessorRequest
|
7402
|
-
# data as a hash:
|
7403
|
-
#
|
7404
|
-
# {
|
7405
|
-
# name: "StreamProcessorName", # required
|
7406
|
-
# settings_for_update: {
|
7407
|
-
# connected_home_for_update: {
|
7408
|
-
# labels: ["ConnectedHomeLabel"],
|
7409
|
-
# min_confidence: 1.0,
|
7410
|
-
# },
|
7411
|
-
# },
|
7412
|
-
# regions_of_interest_for_update: [
|
7413
|
-
# {
|
7414
|
-
# bounding_box: {
|
7415
|
-
# width: 1.0,
|
7416
|
-
# height: 1.0,
|
7417
|
-
# left: 1.0,
|
7418
|
-
# top: 1.0,
|
7419
|
-
# },
|
7420
|
-
# polygon: [
|
7421
|
-
# {
|
7422
|
-
# x: 1.0,
|
7423
|
-
# y: 1.0,
|
7424
|
-
# },
|
7425
|
-
# ],
|
7426
|
-
# },
|
7427
|
-
# ],
|
7428
|
-
# data_sharing_preference_for_update: {
|
7429
|
-
# opt_in: false, # required
|
7430
|
-
# },
|
7431
|
-
# parameters_to_delete: ["ConnectedHomeMinConfidence"], # accepts ConnectedHomeMinConfidence, RegionsOfInterest
|
7432
|
-
# }
|
7433
|
-
#
|
7434
6443
|
# @!attribute [rw] name
|
7435
6444
|
# Name of the stream processor that you want to update.
|
7436
6445
|
# @return [String]
|
@@ -7501,17 +6510,6 @@ module Aws::Rekognition
|
|
7501
6510
|
# video for analysis. The supported file formats are .mp4, .mov and
|
7502
6511
|
# .avi.
|
7503
6512
|
#
|
7504
|
-
# @note When making an API call, you may pass Video
|
7505
|
-
# data as a hash:
|
7506
|
-
#
|
7507
|
-
# {
|
7508
|
-
# s3_object: {
|
7509
|
-
# bucket: "S3Bucket",
|
7510
|
-
# name: "S3ObjectName",
|
7511
|
-
# version: "S3ObjectVersion",
|
7512
|
-
# },
|
7513
|
-
# }
|
7514
|
-
#
|
7515
6513
|
# @!attribute [rw] s3_object
|
7516
6514
|
# The Amazon S3 bucket name and file name for the video.
|
7517
6515
|
# @return [Types::S3Object]
|