aws-sdk-rekognition 1.72.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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]
@@ -354,30 +323,6 @@ module Aws::Rekognition
354
323
  include Aws::Structure
355
324
  end
356
325
 
357
- # @note When making an API call, you may pass CompareFacesRequest
358
- # data as a hash:
359
- #
360
- # {
361
- # source_image: { # required
362
- # bytes: "data",
363
- # s3_object: {
364
- # bucket: "S3Bucket",
365
- # name: "S3ObjectName",
366
- # version: "S3ObjectVersion",
367
- # },
368
- # },
369
- # target_image: { # required
370
- # bytes: "data",
371
- # s3_object: {
372
- # bucket: "S3Bucket",
373
- # name: "S3ObjectName",
374
- # version: "S3ObjectVersion",
375
- # },
376
- # },
377
- # similarity_threshold: 1.0,
378
- # quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
379
- # }
380
- #
381
326
  # @!attribute [rw] source_image
382
327
  # The input image as base64-encoded bytes or an S3 object. If you use
383
328
  # the AWS CLI to call Amazon Rekognition operations, passing
@@ -572,14 +517,6 @@ module Aws::Rekognition
572
517
  # SNS notification is published the first time a pet is detected, as
573
518
  # well as an end-of-session summary.
574
519
  #
575
- # @note When making an API call, you may pass ConnectedHomeSettings
576
- # data as a hash:
577
- #
578
- # {
579
- # labels: ["ConnectedHomeLabel"], # required
580
- # min_confidence: 1.0,
581
- # }
582
- #
583
520
  # @!attribute [rw] labels
584
521
  # Specifies what you want to detect in the video, such as people,
585
522
  # packages, or pets. The current valid labels you can include in this
@@ -601,14 +538,6 @@ module Aws::Rekognition
601
538
  # This includes the labels you want the stream processor to detect and
602
539
  # the minimum confidence level allowed to label objects.
603
540
  #
604
- # @note When making an API call, you may pass ConnectedHomeSettingsForUpdate
605
- # data as a hash:
606
- #
607
- # {
608
- # labels: ["ConnectedHomeLabel"],
609
- # min_confidence: 1.0,
610
- # }
611
- #
612
541
  # @!attribute [rw] labels
613
542
  # Specifies what you want to detect in the video, such as people,
614
543
  # packages, or pets. The current valid labels you can include in this
@@ -647,24 +576,6 @@ module Aws::Rekognition
647
576
  include Aws::Structure
648
577
  end
649
578
 
650
- # @note When making an API call, you may pass CopyProjectVersionRequest
651
- # data as a hash:
652
- #
653
- # {
654
- # source_project_arn: "ProjectArn", # required
655
- # source_project_version_arn: "ProjectVersionArn", # required
656
- # destination_project_arn: "ProjectArn", # required
657
- # version_name: "VersionName", # required
658
- # output_config: { # required
659
- # s3_bucket: "S3Bucket",
660
- # s3_key_prefix: "S3KeyPrefix",
661
- # },
662
- # tags: {
663
- # "TagKey" => "TagValue",
664
- # },
665
- # kms_key_id: "KmsKeyId",
666
- # }
667
- #
668
579
  # @!attribute [rw] source_project_arn
669
580
  # The ARN of the source project in the trusting AWS account.
670
581
  # @return [String]
@@ -756,16 +667,6 @@ module Aws::Rekognition
756
667
  include Aws::Structure
757
668
  end
758
669
 
759
- # @note When making an API call, you may pass CreateCollectionRequest
760
- # data as a hash:
761
- #
762
- # {
763
- # collection_id: "CollectionId", # required
764
- # tags: {
765
- # "TagKey" => "TagValue",
766
- # },
767
- # }
768
- #
769
670
  # @!attribute [rw] collection_id
770
671
  # ID for the collection that you are creating.
771
672
  # @return [String]
@@ -804,24 +705,6 @@ module Aws::Rekognition
804
705
  include Aws::Structure
805
706
  end
806
707
 
807
- # @note When making an API call, you may pass CreateDatasetRequest
808
- # data as a hash:
809
- #
810
- # {
811
- # dataset_source: {
812
- # ground_truth_manifest: {
813
- # s3_object: {
814
- # bucket: "S3Bucket",
815
- # name: "S3ObjectName",
816
- # version: "S3ObjectVersion",
817
- # },
818
- # },
819
- # dataset_arn: "DatasetArn",
820
- # },
821
- # dataset_type: "TRAIN", # required, accepts TRAIN, TEST
822
- # project_arn: "ProjectArn", # required
823
- # }
824
- #
825
708
  # @!attribute [rw] dataset_source
826
709
  # The source files for the dataset. You can specify the ARN of an
827
710
  # existing dataset or specify the Amazon S3 bucket location of an
@@ -859,13 +742,6 @@ module Aws::Rekognition
859
742
  include Aws::Structure
860
743
  end
861
744
 
862
- # @note When making an API call, you may pass CreateProjectRequest
863
- # data as a hash:
864
- #
865
- # {
866
- # project_name: "ProjectName", # required
867
- # }
868
- #
869
745
  # @!attribute [rw] project_name
870
746
  # The name of the project to create.
871
747
  # @return [String]
@@ -887,49 +763,6 @@ module Aws::Rekognition
887
763
  include Aws::Structure
888
764
  end
889
765
 
890
- # @note When making an API call, you may pass CreateProjectVersionRequest
891
- # data as a hash:
892
- #
893
- # {
894
- # project_arn: "ProjectArn", # required
895
- # version_name: "VersionName", # required
896
- # output_config: { # required
897
- # s3_bucket: "S3Bucket",
898
- # s3_key_prefix: "S3KeyPrefix",
899
- # },
900
- # training_data: {
901
- # assets: [
902
- # {
903
- # ground_truth_manifest: {
904
- # s3_object: {
905
- # bucket: "S3Bucket",
906
- # name: "S3ObjectName",
907
- # version: "S3ObjectVersion",
908
- # },
909
- # },
910
- # },
911
- # ],
912
- # },
913
- # testing_data: {
914
- # assets: [
915
- # {
916
- # ground_truth_manifest: {
917
- # s3_object: {
918
- # bucket: "S3Bucket",
919
- # name: "S3ObjectName",
920
- # version: "S3ObjectVersion",
921
- # },
922
- # },
923
- # },
924
- # ],
925
- # auto_create: false,
926
- # },
927
- # tags: {
928
- # "TagKey" => "TagValue",
929
- # },
930
- # kms_key_id: "KmsKeyId",
931
- # }
932
- #
933
766
  # @!attribute [rw] project_arn
934
767
  # The ARN of the Amazon Rekognition Custom Labels project that manages
935
768
  # the model that you want to train.
@@ -1010,64 +843,6 @@ module Aws::Rekognition
1010
843
  include Aws::Structure
1011
844
  end
1012
845
 
1013
- # @note When making an API call, you may pass CreateStreamProcessorRequest
1014
- # data as a hash:
1015
- #
1016
- # {
1017
- # input: { # required
1018
- # kinesis_video_stream: {
1019
- # arn: "KinesisVideoArn",
1020
- # },
1021
- # },
1022
- # output: { # required
1023
- # kinesis_data_stream: {
1024
- # arn: "KinesisDataArn",
1025
- # },
1026
- # s3_destination: {
1027
- # bucket: "S3Bucket",
1028
- # key_prefix: "S3KeyPrefix",
1029
- # },
1030
- # },
1031
- # name: "StreamProcessorName", # required
1032
- # settings: { # required
1033
- # face_search: {
1034
- # collection_id: "CollectionId",
1035
- # face_match_threshold: 1.0,
1036
- # },
1037
- # connected_home: {
1038
- # labels: ["ConnectedHomeLabel"], # required
1039
- # min_confidence: 1.0,
1040
- # },
1041
- # },
1042
- # role_arn: "RoleArn", # required
1043
- # tags: {
1044
- # "TagKey" => "TagValue",
1045
- # },
1046
- # notification_channel: {
1047
- # sns_topic_arn: "SNSTopicArn", # required
1048
- # },
1049
- # kms_key_id: "KmsKeyId",
1050
- # regions_of_interest: [
1051
- # {
1052
- # bounding_box: {
1053
- # width: 1.0,
1054
- # height: 1.0,
1055
- # left: 1.0,
1056
- # top: 1.0,
1057
- # },
1058
- # polygon: [
1059
- # {
1060
- # x: 1.0,
1061
- # y: 1.0,
1062
- # },
1063
- # ],
1064
- # },
1065
- # ],
1066
- # data_sharing_preference: {
1067
- # opt_in: false, # required
1068
- # },
1069
- # }
1070
- #
1071
846
  # @!attribute [rw] input
1072
847
  # Kinesis video stream stream that provides the source streaming
1073
848
  # video. If you are using the AWS CLI, the parameter name is
@@ -1213,13 +988,6 @@ module Aws::Rekognition
1213
988
  # that you want to update. If the `source-ref` field doesn't match an
1214
989
  # existing entry, the entry is added to dataset as a new entry.
1215
990
  #
1216
- # @note When making an API call, you may pass DatasetChanges
1217
- # data as a hash:
1218
- #
1219
- # {
1220
- # ground_truth: "data", # required
1221
- # }
1222
- #
1223
991
  # @!attribute [rw] ground_truth
1224
992
  # A Base64-encoded binary data object containing one or JSON lines
1225
993
  # that either update the dataset or are additions to the dataset. You
@@ -1376,20 +1144,6 @@ module Aws::Rekognition
1376
1144
  #
1377
1145
  # For more information, see CreateDataset.
1378
1146
  #
1379
- # @note When making an API call, you may pass DatasetSource
1380
- # data as a hash:
1381
- #
1382
- # {
1383
- # ground_truth_manifest: {
1384
- # s3_object: {
1385
- # bucket: "S3Bucket",
1386
- # name: "S3ObjectName",
1387
- # version: "S3ObjectVersion",
1388
- # },
1389
- # },
1390
- # dataset_arn: "DatasetArn",
1391
- # }
1392
- #
1393
1147
  # @!attribute [rw] ground_truth_manifest
1394
1148
  # The S3 bucket that contains an Amazon Sagemaker Ground Truth format
1395
1149
  # manifest file.
@@ -1435,13 +1189,6 @@ module Aws::Rekognition
1435
1189
  include Aws::Structure
1436
1190
  end
1437
1191
 
1438
- # @note When making an API call, you may pass DeleteCollectionRequest
1439
- # data as a hash:
1440
- #
1441
- # {
1442
- # collection_id: "CollectionId", # required
1443
- # }
1444
- #
1445
1192
  # @!attribute [rw] collection_id
1446
1193
  # ID of the collection to delete.
1447
1194
  # @return [String]
@@ -1462,13 +1209,6 @@ module Aws::Rekognition
1462
1209
  include Aws::Structure
1463
1210
  end
1464
1211
 
1465
- # @note When making an API call, you may pass DeleteDatasetRequest
1466
- # data as a hash:
1467
- #
1468
- # {
1469
- # dataset_arn: "DatasetArn", # required
1470
- # }
1471
- #
1472
1212
  # @!attribute [rw] dataset_arn
1473
1213
  # The ARN of the Amazon Rekognition Custom Labels dataset that you
1474
1214
  # want to delete.
@@ -1482,14 +1222,6 @@ module Aws::Rekognition
1482
1222
 
1483
1223
  class DeleteDatasetResponse < Aws::EmptyStructure; end
1484
1224
 
1485
- # @note When making an API call, you may pass DeleteFacesRequest
1486
- # data as a hash:
1487
- #
1488
- # {
1489
- # collection_id: "CollectionId", # required
1490
- # face_ids: ["FaceId"], # required
1491
- # }
1492
- #
1493
1225
  # @!attribute [rw] collection_id
1494
1226
  # Collection from which to remove the specific faces.
1495
1227
  # @return [String]
@@ -1515,15 +1247,6 @@ module Aws::Rekognition
1515
1247
  include Aws::Structure
1516
1248
  end
1517
1249
 
1518
- # @note When making an API call, you may pass DeleteProjectPolicyRequest
1519
- # data as a hash:
1520
- #
1521
- # {
1522
- # project_arn: "ProjectArn", # required
1523
- # policy_name: "ProjectPolicyName", # required
1524
- # policy_revision_id: "ProjectPolicyRevisionId",
1525
- # }
1526
- #
1527
1250
  # @!attribute [rw] project_arn
1528
1251
  # The Amazon Resource Name (ARN) of the project that the project
1529
1252
  # policy you want to delete is attached to.
@@ -1547,13 +1270,6 @@ module Aws::Rekognition
1547
1270
 
1548
1271
  class DeleteProjectPolicyResponse < Aws::EmptyStructure; end
1549
1272
 
1550
- # @note When making an API call, you may pass DeleteProjectRequest
1551
- # data as a hash:
1552
- #
1553
- # {
1554
- # project_arn: "ProjectArn", # required
1555
- # }
1556
- #
1557
1273
  # @!attribute [rw] project_arn
1558
1274
  # The Amazon Resource Name (ARN) of the project that you want to
1559
1275
  # delete.
@@ -1575,13 +1291,6 @@ module Aws::Rekognition
1575
1291
  include Aws::Structure
1576
1292
  end
1577
1293
 
1578
- # @note When making an API call, you may pass DeleteProjectVersionRequest
1579
- # data as a hash:
1580
- #
1581
- # {
1582
- # project_version_arn: "ProjectVersionArn", # required
1583
- # }
1584
- #
1585
1294
  # @!attribute [rw] project_version_arn
1586
1295
  # The Amazon Resource Name (ARN) of the model version that you want to
1587
1296
  # delete.
@@ -1603,13 +1312,6 @@ module Aws::Rekognition
1603
1312
  include Aws::Structure
1604
1313
  end
1605
1314
 
1606
- # @note When making an API call, you may pass DeleteStreamProcessorRequest
1607
- # data as a hash:
1608
- #
1609
- # {
1610
- # name: "StreamProcessorName", # required
1611
- # }
1612
- #
1613
1315
  # @!attribute [rw] name
1614
1316
  # The name of the stream processor you want to delete.
1615
1317
  # @return [String]
@@ -1622,13 +1324,6 @@ module Aws::Rekognition
1622
1324
 
1623
1325
  class DeleteStreamProcessorResponse < Aws::EmptyStructure; end
1624
1326
 
1625
- # @note When making an API call, you may pass DescribeCollectionRequest
1626
- # data as a hash:
1627
- #
1628
- # {
1629
- # collection_id: "CollectionId", # required
1630
- # }
1631
- #
1632
1327
  # @!attribute [rw] collection_id
1633
1328
  # The ID of the collection to describe.
1634
1329
  # @return [String]
@@ -1671,13 +1366,6 @@ module Aws::Rekognition
1671
1366
  include Aws::Structure
1672
1367
  end
1673
1368
 
1674
- # @note When making an API call, you may pass DescribeDatasetRequest
1675
- # data as a hash:
1676
- #
1677
- # {
1678
- # dataset_arn: "DatasetArn", # required
1679
- # }
1680
- #
1681
1369
  # @!attribute [rw] dataset_arn
1682
1370
  # The Amazon Resource Name (ARN) of the dataset that you want to
1683
1371
  # describe.
@@ -1699,16 +1387,6 @@ module Aws::Rekognition
1699
1387
  include Aws::Structure
1700
1388
  end
1701
1389
 
1702
- # @note When making an API call, you may pass DescribeProjectVersionsRequest
1703
- # data as a hash:
1704
- #
1705
- # {
1706
- # project_arn: "ProjectArn", # required
1707
- # version_names: ["VersionName"],
1708
- # next_token: "ExtendedPaginationToken",
1709
- # max_results: 1,
1710
- # }
1711
- #
1712
1390
  # @!attribute [rw] project_arn
1713
1391
  # The Amazon Resource Name (ARN) of the project that contains the
1714
1392
  # models you want to describe.
@@ -1766,15 +1444,6 @@ module Aws::Rekognition
1766
1444
  include Aws::Structure
1767
1445
  end
1768
1446
 
1769
- # @note When making an API call, you may pass DescribeProjectsRequest
1770
- # data as a hash:
1771
- #
1772
- # {
1773
- # next_token: "ExtendedPaginationToken",
1774
- # max_results: 1,
1775
- # project_names: ["ProjectName"],
1776
- # }
1777
- #
1778
1447
  # @!attribute [rw] next_token
1779
1448
  # If the previous response was incomplete (because there is more
1780
1449
  # results to retrieve), Amazon Rekognition Custom Labels returns a
@@ -1822,13 +1491,6 @@ module Aws::Rekognition
1822
1491
  include Aws::Structure
1823
1492
  end
1824
1493
 
1825
- # @note When making an API call, you may pass DescribeStreamProcessorRequest
1826
- # data as a hash:
1827
- #
1828
- # {
1829
- # name: "StreamProcessorName", # required
1830
- # }
1831
- #
1832
1494
  # @!attribute [rw] name
1833
1495
  # Name of the stream processor for which you want information.
1834
1496
  # @return [String]
@@ -1938,23 +1600,6 @@ module Aws::Rekognition
1938
1600
  include Aws::Structure
1939
1601
  end
1940
1602
 
1941
- # @note When making an API call, you may pass DetectCustomLabelsRequest
1942
- # data as a hash:
1943
- #
1944
- # {
1945
- # project_version_arn: "ProjectVersionArn", # required
1946
- # image: { # required
1947
- # bytes: "data",
1948
- # s3_object: {
1949
- # bucket: "S3Bucket",
1950
- # name: "S3ObjectName",
1951
- # version: "S3ObjectVersion",
1952
- # },
1953
- # },
1954
- # max_results: 1,
1955
- # min_confidence: 1.0,
1956
- # }
1957
- #
1958
1603
  # @!attribute [rw] project_version_arn
1959
1604
  # The ARN of the model version that you want to use.
1960
1605
  # @return [String]
@@ -2025,21 +1670,6 @@ module Aws::Rekognition
2025
1670
  include Aws::Structure
2026
1671
  end
2027
1672
 
2028
- # @note When making an API call, you may pass DetectFacesRequest
2029
- # data as a hash:
2030
- #
2031
- # {
2032
- # image: { # required
2033
- # bytes: "data",
2034
- # s3_object: {
2035
- # bucket: "S3Bucket",
2036
- # name: "S3ObjectName",
2037
- # version: "S3ObjectVersion",
2038
- # },
2039
- # },
2040
- # attributes: ["DEFAULT"], # accepts DEFAULT, ALL
2041
- # }
2042
- #
2043
1673
  # @!attribute [rw] image
2044
1674
  # The input image as base64-encoded bytes or an S3 object. If you use
2045
1675
  # the AWS CLI to call Amazon Rekognition operations, passing
@@ -2184,13 +1814,6 @@ module Aws::Rekognition
2184
1814
 
2185
1815
  # Settings for the IMAGE\_PROPERTIES feature type.
2186
1816
  #
2187
- # @note When making an API call, you may pass DetectLabelsImagePropertiesSettings
2188
- # data as a hash:
2189
- #
2190
- # {
2191
- # max_dominant_colors: 1,
2192
- # }
2193
- #
2194
1817
  # @!attribute [rw] max_dominant_colors
2195
1818
  # The maximum number of dominant colors to return when detecting
2196
1819
  # labels in an image. The default value is 10.
@@ -2225,34 +1848,6 @@ module Aws::Rekognition
2225
1848
  include Aws::Structure
2226
1849
  end
2227
1850
 
2228
- # @note When making an API call, you may pass DetectLabelsRequest
2229
- # data as a hash:
2230
- #
2231
- # {
2232
- # image: { # required
2233
- # bytes: "data",
2234
- # s3_object: {
2235
- # bucket: "S3Bucket",
2236
- # name: "S3ObjectName",
2237
- # version: "S3ObjectVersion",
2238
- # },
2239
- # },
2240
- # max_labels: 1,
2241
- # min_confidence: 1.0,
2242
- # features: ["GENERAL_LABELS"], # accepts GENERAL_LABELS, IMAGE_PROPERTIES
2243
- # settings: {
2244
- # general_labels: {
2245
- # label_inclusion_filters: ["GeneralLabelsFilterValue"],
2246
- # label_exclusion_filters: ["GeneralLabelsFilterValue"],
2247
- # label_category_inclusion_filters: ["GeneralLabelsFilterValue"],
2248
- # label_category_exclusion_filters: ["GeneralLabelsFilterValue"],
2249
- # },
2250
- # image_properties: {
2251
- # max_dominant_colors: 1,
2252
- # },
2253
- # },
2254
- # }
2255
- #
2256
1851
  # @!attribute [rw] image
2257
1852
  # The input image as base64-encoded bytes or an S3 object. If you use
2258
1853
  # the AWS CLI to call Amazon Rekognition operations, passing image
@@ -2353,21 +1948,6 @@ module Aws::Rekognition
2353
1948
  # or label categories. IMAGE\_PROPERTIES filters allow specification of
2354
1949
  # a maximum number of dominant colors.
2355
1950
  #
2356
- # @note When making an API call, you may pass DetectLabelsSettings
2357
- # data as a hash:
2358
- #
2359
- # {
2360
- # general_labels: {
2361
- # label_inclusion_filters: ["GeneralLabelsFilterValue"],
2362
- # label_exclusion_filters: ["GeneralLabelsFilterValue"],
2363
- # label_category_inclusion_filters: ["GeneralLabelsFilterValue"],
2364
- # label_category_exclusion_filters: ["GeneralLabelsFilterValue"],
2365
- # },
2366
- # image_properties: {
2367
- # max_dominant_colors: 1,
2368
- # },
2369
- # }
2370
- #
2371
1951
  # @!attribute [rw] general_labels
2372
1952
  # Contains the specified filters for GENERAL\_LABELS.
2373
1953
  # @return [Types::GeneralLabelsSettings]
@@ -2383,28 +1963,6 @@ module Aws::Rekognition
2383
1963
  include Aws::Structure
2384
1964
  end
2385
1965
 
2386
- # @note When making an API call, you may pass DetectModerationLabelsRequest
2387
- # data as a hash:
2388
- #
2389
- # {
2390
- # image: { # required
2391
- # bytes: "data",
2392
- # s3_object: {
2393
- # bucket: "S3Bucket",
2394
- # name: "S3ObjectName",
2395
- # version: "S3ObjectVersion",
2396
- # },
2397
- # },
2398
- # min_confidence: 1.0,
2399
- # human_loop_config: {
2400
- # human_loop_name: "HumanLoopName", # required
2401
- # flow_definition_arn: "FlowDefinitionArn", # required
2402
- # data_attributes: {
2403
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
2404
- # },
2405
- # },
2406
- # }
2407
- #
2408
1966
  # @!attribute [rw] image
2409
1967
  # The input image as base64-encoded bytes or an S3 object. If you use
2410
1968
  # the AWS CLI to call Amazon Rekognition operations, passing
@@ -2460,24 +2018,6 @@ module Aws::Rekognition
2460
2018
  include Aws::Structure
2461
2019
  end
2462
2020
 
2463
- # @note When making an API call, you may pass DetectProtectiveEquipmentRequest
2464
- # data as a hash:
2465
- #
2466
- # {
2467
- # image: { # required
2468
- # bytes: "data",
2469
- # s3_object: {
2470
- # bucket: "S3Bucket",
2471
- # name: "S3ObjectName",
2472
- # version: "S3ObjectVersion",
2473
- # },
2474
- # },
2475
- # summarization_attributes: {
2476
- # min_confidence: 1.0, # required
2477
- # required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
2478
- # },
2479
- # }
2480
- #
2481
2021
  # @!attribute [rw] image
2482
2022
  # The image in which you want to detect PPE on detected persons. The
2483
2023
  # image can be passed as image bytes or you can reference an image
@@ -2523,33 +2063,6 @@ module Aws::Rekognition
2523
2063
  # at a word’s height, width, and minimum confidence. `RegionOfInterest`
2524
2064
  # lets you set a specific region of the image to look for text in.
2525
2065
  #
2526
- # @note When making an API call, you may pass DetectTextFilters
2527
- # data as a hash:
2528
- #
2529
- # {
2530
- # word_filter: {
2531
- # min_confidence: 1.0,
2532
- # min_bounding_box_height: 1.0,
2533
- # min_bounding_box_width: 1.0,
2534
- # },
2535
- # regions_of_interest: [
2536
- # {
2537
- # bounding_box: {
2538
- # width: 1.0,
2539
- # height: 1.0,
2540
- # left: 1.0,
2541
- # top: 1.0,
2542
- # },
2543
- # polygon: [
2544
- # {
2545
- # x: 1.0,
2546
- # y: 1.0,
2547
- # },
2548
- # ],
2549
- # },
2550
- # ],
2551
- # }
2552
- #
2553
2066
  # @!attribute [rw] word_filter
2554
2067
  # A set of parameters that allow you to filter out certain results
2555
2068
  # from your returned results.
@@ -2567,43 +2080,6 @@ module Aws::Rekognition
2567
2080
  include Aws::Structure
2568
2081
  end
2569
2082
 
2570
- # @note When making an API call, you may pass DetectTextRequest
2571
- # data as a hash:
2572
- #
2573
- # {
2574
- # image: { # required
2575
- # bytes: "data",
2576
- # s3_object: {
2577
- # bucket: "S3Bucket",
2578
- # name: "S3ObjectName",
2579
- # version: "S3ObjectVersion",
2580
- # },
2581
- # },
2582
- # filters: {
2583
- # word_filter: {
2584
- # min_confidence: 1.0,
2585
- # min_bounding_box_height: 1.0,
2586
- # min_bounding_box_width: 1.0,
2587
- # },
2588
- # regions_of_interest: [
2589
- # {
2590
- # bounding_box: {
2591
- # width: 1.0,
2592
- # height: 1.0,
2593
- # left: 1.0,
2594
- # top: 1.0,
2595
- # },
2596
- # polygon: [
2597
- # {
2598
- # x: 1.0,
2599
- # y: 1.0,
2600
- # },
2601
- # ],
2602
- # },
2603
- # ],
2604
- # },
2605
- # }
2606
- #
2607
2083
  # @!attribute [rw] image
2608
2084
  # The input image as base64-encoded bytes or an Amazon S3 object. If
2609
2085
  # you use the AWS CLI to call Amazon Rekognition operations, you
@@ -2645,15 +2121,6 @@ module Aws::Rekognition
2645
2121
  # A set of parameters that allow you to filter out certain results from
2646
2122
  # your returned results.
2647
2123
  #
2648
- # @note When making an API call, you may pass DetectionFilter
2649
- # data as a hash:
2650
- #
2651
- # {
2652
- # min_confidence: 1.0,
2653
- # min_bounding_box_height: 1.0,
2654
- # min_bounding_box_width: 1.0,
2655
- # }
2656
- #
2657
2124
  # @!attribute [rw] min_confidence
2658
2125
  # Sets the confidence of word detection. Words with detection
2659
2126
  # confidence below this will be excluded from the result. Values
@@ -2683,13 +2150,6 @@ module Aws::Rekognition
2683
2150
  # A training dataset or a test dataset used in a dataset distribution
2684
2151
  # operation. For more information, see DistributeDatasetEntries.
2685
2152
  #
2686
- # @note When making an API call, you may pass DistributeDataset
2687
- # data as a hash:
2688
- #
2689
- # {
2690
- # arn: "DatasetArn", # required
2691
- # }
2692
- #
2693
2153
  # @!attribute [rw] arn
2694
2154
  # The Amazon Resource Name (ARN) of the dataset that you want to use.
2695
2155
  # @return [String]
@@ -2700,17 +2160,6 @@ module Aws::Rekognition
2700
2160
  include Aws::Structure
2701
2161
  end
2702
2162
 
2703
- # @note When making an API call, you may pass DistributeDatasetEntriesRequest
2704
- # data as a hash:
2705
- #
2706
- # {
2707
- # datasets: [ # required
2708
- # {
2709
- # arn: "DatasetArn", # required
2710
- # },
2711
- # ],
2712
- # }
2713
- #
2714
2163
  # @!attribute [rw] datasets
2715
2164
  # The ARNS for the training dataset and test dataset that you want to
2716
2165
  # use. The datasets must belong to the same project. The test dataset
@@ -2930,7 +2379,7 @@ module Aws::Rekognition
2930
2379
  # To specify which attributes to return, use the `FaceAttributes` input
2931
2380
  # parameter for StartFaceDetection. The following Amazon Rekognition
2932
2381
  # Video operations return only the default attributes. The corresponding
2933
- # Start operations don't have a `FaceAttributes` input parameter.
2382
+ # Start operations don't have a `FaceAttributes` input parameter:
2934
2383
  #
2935
2384
  # * GetCelebrityRecognition
2936
2385
  #
@@ -3105,14 +2554,6 @@ module Aws::Rekognition
3105
2554
  # face attributes to detect. Defining the settings is required in the
3106
2555
  # request parameter for CreateStreamProcessor.
3107
2556
  #
3108
- # @note When making an API call, you may pass FaceSearchSettings
3109
- # data as a hash:
3110
- #
3111
- # {
3112
- # collection_id: "CollectionId",
3113
- # face_match_threshold: 1.0,
3114
- # }
3115
- #
3116
2557
  # @!attribute [rw] collection_id
3117
2558
  # The ID of a collection that contains faces that you want to search
3118
2559
  # for.
@@ -3169,16 +2610,6 @@ module Aws::Rekognition
3169
2610
  # Filters can be inclusive, exclusive, or a combination of both and can
3170
2611
  # be applied to individual l abels or entire label categories.
3171
2612
  #
3172
- # @note When making an API call, you may pass GeneralLabelsSettings
3173
- # data as a hash:
3174
- #
3175
- # {
3176
- # label_inclusion_filters: ["GeneralLabelsFilterValue"],
3177
- # label_exclusion_filters: ["GeneralLabelsFilterValue"],
3178
- # label_category_inclusion_filters: ["GeneralLabelsFilterValue"],
3179
- # label_category_exclusion_filters: ["GeneralLabelsFilterValue"],
3180
- # }
3181
- #
3182
2613
  # @!attribute [rw] label_inclusion_filters
3183
2614
  # The labels that should be included in the return from DetectLabels.
3184
2615
  # @return [Array<String>]
@@ -3227,13 +2658,6 @@ module Aws::Rekognition
3227
2658
  include Aws::Structure
3228
2659
  end
3229
2660
 
3230
- # @note When making an API call, you may pass GetCelebrityInfoRequest
3231
- # data as a hash:
3232
- #
3233
- # {
3234
- # id: "RekognitionUniqueId", # required
3235
- # }
3236
- #
3237
2661
  # @!attribute [rw] id
3238
2662
  # The ID for the celebrity. You get the celebrity ID from a call to
3239
2663
  # the RecognizeCelebrities operation, which recognizes celebrities in
@@ -3266,16 +2690,6 @@ module Aws::Rekognition
3266
2690
  include Aws::Structure
3267
2691
  end
3268
2692
 
3269
- # @note When making an API call, you may pass GetCelebrityRecognitionRequest
3270
- # data as a hash:
3271
- #
3272
- # {
3273
- # job_id: "JobId", # required
3274
- # max_results: 1,
3275
- # next_token: "PaginationToken",
3276
- # sort_by: "ID", # accepts ID, TIMESTAMP
3277
- # }
3278
- #
3279
2693
  # @!attribute [rw] job_id
3280
2694
  # Job identifier for the required celebrity recognition analysis. You
3281
2695
  # can get the job identifer from a call to
@@ -3346,16 +2760,6 @@ module Aws::Rekognition
3346
2760
  include Aws::Structure
3347
2761
  end
3348
2762
 
3349
- # @note When making an API call, you may pass GetContentModerationRequest
3350
- # data as a hash:
3351
- #
3352
- # {
3353
- # job_id: "JobId", # required
3354
- # max_results: 1,
3355
- # next_token: "PaginationToken",
3356
- # sort_by: "NAME", # accepts NAME, TIMESTAMP
3357
- # }
3358
- #
3359
2763
  # @!attribute [rw] job_id
3360
2764
  # The identifier for the inappropriate, unwanted, or offensive content
3361
2765
  # moderation job. Use `JobId` to identify the job in a subsequent call
@@ -3435,15 +2839,6 @@ module Aws::Rekognition
3435
2839
  include Aws::Structure
3436
2840
  end
3437
2841
 
3438
- # @note When making an API call, you may pass GetFaceDetectionRequest
3439
- # data as a hash:
3440
- #
3441
- # {
3442
- # job_id: "JobId", # required
3443
- # max_results: 1,
3444
- # next_token: "PaginationToken",
3445
- # }
3446
- #
3447
2842
  # @!attribute [rw] job_id
3448
2843
  # Unique identifier for the face detection job. The `JobId` is
3449
2844
  # returned from `StartFaceDetection`.
@@ -3508,16 +2903,6 @@ module Aws::Rekognition
3508
2903
  include Aws::Structure
3509
2904
  end
3510
2905
 
3511
- # @note When making an API call, you may pass GetFaceSearchRequest
3512
- # data as a hash:
3513
- #
3514
- # {
3515
- # job_id: "JobId", # required
3516
- # max_results: 1,
3517
- # next_token: "PaginationToken",
3518
- # sort_by: "INDEX", # accepts INDEX, TIMESTAMP
3519
- # }
3520
- #
3521
2906
  # @!attribute [rw] job_id
3522
2907
  # The job identifer for the search request. You get the job identifier
3523
2908
  # from an initial call to `StartFaceSearch`.
@@ -3594,16 +2979,6 @@ module Aws::Rekognition
3594
2979
  include Aws::Structure
3595
2980
  end
3596
2981
 
3597
- # @note When making an API call, you may pass GetLabelDetectionRequest
3598
- # data as a hash:
3599
- #
3600
- # {
3601
- # job_id: "JobId", # required
3602
- # max_results: 1,
3603
- # next_token: "PaginationToken",
3604
- # sort_by: "NAME", # accepts NAME, TIMESTAMP
3605
- # }
3606
- #
3607
2982
  # @!attribute [rw] job_id
3608
2983
  # Job identifier for the label detection operation for which you want
3609
2984
  # results returned. You get the job identifer from an initial call to
@@ -3632,11 +3007,17 @@ module Aws::Rekognition
3632
3007
  # The default sort is by `TIMESTAMP`.
3633
3008
  # @return [String]
3634
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
+ #
3635
3015
  class GetLabelDetectionRequest < Struct.new(
3636
3016
  :job_id,
3637
3017
  :max_results,
3638
3018
  :next_token,
3639
- :sort_by)
3019
+ :sort_by,
3020
+ :aggregate_by)
3640
3021
  SENSITIVE = []
3641
3022
  include Aws::Structure
3642
3023
  end
@@ -3684,16 +3065,6 @@ module Aws::Rekognition
3684
3065
  include Aws::Structure
3685
3066
  end
3686
3067
 
3687
- # @note When making an API call, you may pass GetPersonTrackingRequest
3688
- # data as a hash:
3689
- #
3690
- # {
3691
- # job_id: "JobId", # required
3692
- # max_results: 1,
3693
- # next_token: "PaginationToken",
3694
- # sort_by: "INDEX", # accepts INDEX, TIMESTAMP
3695
- # }
3696
- #
3697
3068
  # @!attribute [rw] job_id
3698
3069
  # The identifier for a job that tracks persons in a video. You get the
3699
3070
  # `JobId` from a call to `StartPersonTracking`.
@@ -3767,15 +3138,6 @@ module Aws::Rekognition
3767
3138
  include Aws::Structure
3768
3139
  end
3769
3140
 
3770
- # @note When making an API call, you may pass GetSegmentDetectionRequest
3771
- # data as a hash:
3772
- #
3773
- # {
3774
- # job_id: "JobId", # required
3775
- # max_results: 1,
3776
- # next_token: "PaginationToken",
3777
- # }
3778
- #
3779
3141
  # @!attribute [rw] job_id
3780
3142
  # Job identifier for the text detection operation for which you want
3781
3143
  # results returned. You get the job identifer from an initial call to
@@ -3859,15 +3221,6 @@ module Aws::Rekognition
3859
3221
  include Aws::Structure
3860
3222
  end
3861
3223
 
3862
- # @note When making an API call, you may pass GetTextDetectionRequest
3863
- # data as a hash:
3864
- #
3865
- # {
3866
- # job_id: "JobId", # required
3867
- # max_results: 1,
3868
- # next_token: "PaginationToken",
3869
- # }
3870
- #
3871
3224
  # @!attribute [rw] job_id
3872
3225
  # Job identifier for the text detection operation for which you want
3873
3226
  # results returned. You get the job identifer from an initial call to
@@ -3940,17 +3293,6 @@ module Aws::Rekognition
3940
3293
  # The S3 bucket that contains an Amazon Sagemaker Ground Truth format
3941
3294
  # manifest file.
3942
3295
  #
3943
- # @note When making an API call, you may pass GroundTruthManifest
3944
- # data as a hash:
3945
- #
3946
- # {
3947
- # s3_object: {
3948
- # bucket: "S3Bucket",
3949
- # name: "S3ObjectName",
3950
- # version: "S3ObjectVersion",
3951
- # },
3952
- # }
3953
- #
3954
3296
  # @!attribute [rw] s3_object
3955
3297
  # Provides the S3 bucket name and object name.
3956
3298
  #
@@ -3997,17 +3339,6 @@ module Aws::Rekognition
3997
3339
  # conditions is met. You can also set certain attributes of the image
3998
3340
  # before review.
3999
3341
  #
4000
- # @note When making an API call, you may pass HumanLoopConfig
4001
- # data as a hash:
4002
- #
4003
- # {
4004
- # human_loop_name: "HumanLoopName", # required
4005
- # flow_definition_arn: "FlowDefinitionArn", # required
4006
- # data_attributes: {
4007
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
4008
- # },
4009
- # }
4010
- #
4011
3342
  # @!attribute [rw] human_loop_name
4012
3343
  # The name of the human review used for this image. This should be
4013
3344
  # kept unique within a region.
@@ -4038,13 +3369,6 @@ module Aws::Rekognition
4038
3369
  # Allows you to set attributes of the image. Currently, you can declare
4039
3370
  # an image as free of personally identifiable information.
4040
3371
  #
4041
- # @note When making an API call, you may pass HumanLoopDataAttributes
4042
- # data as a hash:
4043
- #
4044
- # {
4045
- # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
4046
- # }
4047
- #
4048
3372
  # @!attribute [rw] content_classifiers
4049
3373
  # Sets whether the input image is free of personally identifiable
4050
3374
  # information.
@@ -4114,18 +3438,6 @@ module Aws::Rekognition
4114
3438
  # Amazon Rekognition works with IAM in the Amazon Rekognition Developer
4115
3439
  # Guide.
4116
3440
  #
4117
- # @note When making an API call, you may pass Image
4118
- # data as a hash:
4119
- #
4120
- # {
4121
- # bytes: "data",
4122
- # s3_object: {
4123
- # bucket: "S3Bucket",
4124
- # name: "S3ObjectName",
4125
- # version: "S3ObjectVersion",
4126
- # },
4127
- # }
4128
- #
4129
3441
  # @!attribute [rw] bytes
4130
3442
  # Blob of image bytes up to 5 MBs.
4131
3443
  # @return [String]
@@ -4169,25 +3481,6 @@ module Aws::Rekognition
4169
3481
  #
4170
3482
  class ImageTooLargeException < Aws::EmptyStructure; end
4171
3483
 
4172
- # @note When making an API call, you may pass IndexFacesRequest
4173
- # data as a hash:
4174
- #
4175
- # {
4176
- # collection_id: "CollectionId", # required
4177
- # image: { # required
4178
- # bytes: "data",
4179
- # s3_object: {
4180
- # bucket: "S3Bucket",
4181
- # name: "S3ObjectName",
4182
- # version: "S3ObjectVersion",
4183
- # },
4184
- # },
4185
- # external_image_id: "ExternalImageId",
4186
- # detection_attributes: ["DEFAULT"], # accepts DEFAULT, ALL
4187
- # max_faces: 1,
4188
- # quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
4189
- # }
4190
- #
4191
3484
  # @!attribute [rw] collection_id
4192
3485
  # The ID of an existing collection to which you want to add the faces
4193
3486
  # that are detected in the input images.
@@ -4382,13 +3675,6 @@ module Aws::Rekognition
4382
3675
  # more information, see CreateStreamProcessor in the Amazon Rekognition
4383
3676
  # Developer Guide.
4384
3677
  #
4385
- # @note When making an API call, you may pass KinesisDataStream
4386
- # data as a hash:
4387
- #
4388
- # {
4389
- # arn: "KinesisDataArn",
4390
- # }
4391
- #
4392
3678
  # @!attribute [rw] arn
4393
3679
  # ARN of the output Amazon Kinesis Data Streams stream.
4394
3680
  # @return [String]
@@ -4403,13 +3689,6 @@ module Aws::Rekognition
4403
3689
  # for a Amazon Rekognition Video stream processor. For more information,
4404
3690
  # see CreateStreamProcessor in the Amazon Rekognition Developer Guide.
4405
3691
  #
4406
- # @note When making an API call, you may pass KinesisVideoStream
4407
- # data as a hash:
4408
- #
4409
- # {
4410
- # arn: "KinesisVideoArn",
4411
- # }
4412
- #
4413
3692
  # @!attribute [rw] arn
4414
3693
  # ARN of the Kinesis video stream stream that streams the source
4415
3694
  # video.
@@ -4431,14 +3710,6 @@ module Aws::Rekognition
4431
3710
  #
4432
3711
  # [1]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_reader_Fragment.html
4433
3712
  #
4434
- # @note When making an API call, you may pass KinesisVideoStreamStartSelector
4435
- # data as a hash:
4436
- #
4437
- # {
4438
- # producer_timestamp: 1,
4439
- # fragment_number: "KinesisVideoStreamFragmentNumber",
4440
- # }
4441
- #
4442
3713
  # @!attribute [rw] producer_timestamp
4443
3714
  # The timestamp from the producer corresponding to the fragment, in
4444
3715
  # milliseconds, expressed in unix time format.
@@ -4549,9 +3820,42 @@ module Aws::Rekognition
4549
3820
  # Details about the detected label.
4550
3821
  # @return [Types::Label]
4551
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
+ #
4552
3838
  class LabelDetection < Struct.new(
4553
3839
  :timestamp,
4554
- :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)
4555
3859
  SENSITIVE = []
4556
3860
  include Aws::Structure
4557
3861
  end
@@ -4593,14 +3897,6 @@ module Aws::Rekognition
4593
3897
  #
4594
3898
  class LimitExceededException < Aws::EmptyStructure; end
4595
3899
 
4596
- # @note When making an API call, you may pass ListCollectionsRequest
4597
- # data as a hash:
4598
- #
4599
- # {
4600
- # next_token: "PaginationToken",
4601
- # max_results: 1,
4602
- # }
4603
- #
4604
3900
  # @!attribute [rw] next_token
4605
3901
  # Pagination token from the previous response.
4606
3902
  # @return [String]
@@ -4641,19 +3937,6 @@ module Aws::Rekognition
4641
3937
  include Aws::Structure
4642
3938
  end
4643
3939
 
4644
- # @note When making an API call, you may pass ListDatasetEntriesRequest
4645
- # data as a hash:
4646
- #
4647
- # {
4648
- # dataset_arn: "DatasetArn", # required
4649
- # contains_labels: ["DatasetLabel"],
4650
- # labeled: false,
4651
- # source_ref_contains: "QueryString",
4652
- # has_errors: false,
4653
- # next_token: "ExtendedPaginationToken",
4654
- # max_results: 1,
4655
- # }
4656
- #
4657
3940
  # @!attribute [rw] dataset_arn
4658
3941
  # The Amazon Resource Name (ARN) for the dataset that you want to use.
4659
3942
  # @return [String]
@@ -4730,15 +4013,6 @@ module Aws::Rekognition
4730
4013
  include Aws::Structure
4731
4014
  end
4732
4015
 
4733
- # @note When making an API call, you may pass ListDatasetLabelsRequest
4734
- # data as a hash:
4735
- #
4736
- # {
4737
- # dataset_arn: "DatasetArn", # required
4738
- # next_token: "ExtendedPaginationToken",
4739
- # max_results: 1,
4740
- # }
4741
- #
4742
4016
  # @!attribute [rw] dataset_arn
4743
4017
  # The Amazon Resource Name (ARN) of the dataset that you want to use.
4744
4018
  # @return [String]
@@ -4783,15 +4057,6 @@ module Aws::Rekognition
4783
4057
  include Aws::Structure
4784
4058
  end
4785
4059
 
4786
- # @note When making an API call, you may pass ListFacesRequest
4787
- # data as a hash:
4788
- #
4789
- # {
4790
- # collection_id: "CollectionId", # required
4791
- # next_token: "PaginationToken",
4792
- # max_results: 1,
4793
- # }
4794
- #
4795
4060
  # @!attribute [rw] collection_id
4796
4061
  # ID of the collection from which to list the faces.
4797
4062
  # @return [String]
@@ -4838,15 +4103,6 @@ module Aws::Rekognition
4838
4103
  include Aws::Structure
4839
4104
  end
4840
4105
 
4841
- # @note When making an API call, you may pass ListProjectPoliciesRequest
4842
- # data as a hash:
4843
- #
4844
- # {
4845
- # project_arn: "ProjectArn", # required
4846
- # next_token: "ExtendedPaginationToken",
4847
- # max_results: 1,
4848
- # }
4849
- #
4850
4106
  # @!attribute [rw] project_arn
4851
4107
  # The ARN of the project for which you want to list the project
4852
4108
  # policies.
@@ -4890,14 +4146,6 @@ module Aws::Rekognition
4890
4146
  include Aws::Structure
4891
4147
  end
4892
4148
 
4893
- # @note When making an API call, you may pass ListStreamProcessorsRequest
4894
- # data as a hash:
4895
- #
4896
- # {
4897
- # next_token: "PaginationToken",
4898
- # max_results: 1,
4899
- # }
4900
- #
4901
4149
  # @!attribute [rw] next_token
4902
4150
  # If the previous response was incomplete (because there are more
4903
4151
  # stream processors to retrieve), Amazon Rekognition Video returns a
@@ -4934,13 +4182,6 @@ module Aws::Rekognition
4934
4182
  include Aws::Structure
4935
4183
  end
4936
4184
 
4937
- # @note When making an API call, you may pass ListTagsForResourceRequest
4938
- # data as a hash:
4939
- #
4940
- # {
4941
- # resource_arn: "ResourceArn", # required
4942
- # }
4943
- #
4944
4185
  # @!attribute [rw] resource_arn
4945
4186
  # Amazon Resource Name (ARN) of the model, collection, or stream
4946
4187
  # processor that contains the tags that you want a list of.
@@ -5050,14 +4291,6 @@ module Aws::Rekognition
5050
4291
  # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html
5051
4292
  # [2]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics
5052
4293
  #
5053
- # @note When making an API call, you may pass NotificationChannel
5054
- # data as a hash:
5055
- #
5056
- # {
5057
- # sns_topic_arn: "SNSTopicArn", # required
5058
- # role_arn: "RoleArn", # required
5059
- # }
5060
- #
5061
4294
  # @!attribute [rw] sns_topic_arn
5062
4295
  # The Amazon SNS topic to which Amazon Rekognition posts the
5063
4296
  # completion status.
@@ -5077,14 +4310,6 @@ module Aws::Rekognition
5077
4310
 
5078
4311
  # The S3 bucket and folder location where training output is placed.
5079
4312
  #
5080
- # @note When making an API call, you may pass OutputConfig
5081
- # data as a hash:
5082
- #
5083
- # {
5084
- # s3_bucket: "S3Bucket",
5085
- # s3_key_prefix: "S3KeyPrefix",
5086
- # }
5087
- #
5088
4313
  # @!attribute [rw] s3_bucket
5089
4314
  # The S3 bucket where training output is placed.
5090
4315
  # @return [String]
@@ -5202,14 +4427,6 @@ module Aws::Rekognition
5202
4427
  # a fine-grained polygon around a detected item. For more information,
5203
4428
  # see Geometry in the Amazon Rekognition Developer Guide.
5204
4429
  #
5205
- # @note When making an API call, you may pass Point
5206
- # data as a hash:
5207
- #
5208
- # {
5209
- # x: 1.0,
5210
- # y: 1.0,
5211
- # }
5212
- #
5213
4430
  # @!attribute [rw] x
5214
4431
  # The value of the X coordinate for a point on a `Polygon`.
5215
4432
  # @return [Float]
@@ -5478,14 +4695,6 @@ module Aws::Rekognition
5478
4695
  # the persons in which a determination could not be made. For more
5479
4696
  # information, see ProtectiveEquipmentSummary.
5480
4697
  #
5481
- # @note When making an API call, you may pass ProtectiveEquipmentSummarizationAttributes
5482
- # data as a hash:
5483
- #
5484
- # {
5485
- # min_confidence: 1.0, # required
5486
- # required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
5487
- # }
5488
- #
5489
4698
  # @!attribute [rw] min_confidence
5490
4699
  # The minimum confidence level for which you want summary information.
5491
4700
  # The confidence level applies to person detection, body part
@@ -5564,16 +4773,6 @@ module Aws::Rekognition
5564
4773
  #
5565
4774
  class ProvisionedThroughputExceededException < Aws::EmptyStructure; end
5566
4775
 
5567
- # @note When making an API call, you may pass PutProjectPolicyRequest
5568
- # data as a hash:
5569
- #
5570
- # {
5571
- # project_arn: "ProjectArn", # required
5572
- # policy_name: "ProjectPolicyName", # required
5573
- # policy_revision_id: "ProjectPolicyRevisionId",
5574
- # policy_document: "ProjectPolicyDocument", # required
5575
- # }
5576
- #
5577
4776
  # @!attribute [rw] project_arn
5578
4777
  # The Amazon Resource Name (ARN) of the project that the project
5579
4778
  # policy is attached to.
@@ -5621,20 +4820,6 @@ module Aws::Rekognition
5621
4820
  include Aws::Structure
5622
4821
  end
5623
4822
 
5624
- # @note When making an API call, you may pass RecognizeCelebritiesRequest
5625
- # data as a hash:
5626
- #
5627
- # {
5628
- # image: { # required
5629
- # bytes: "data",
5630
- # s3_object: {
5631
- # bucket: "S3Bucket",
5632
- # name: "S3ObjectName",
5633
- # version: "S3ObjectVersion",
5634
- # },
5635
- # },
5636
- # }
5637
- #
5638
4823
  # @!attribute [rw] image
5639
4824
  # The input image as base64-encoded bytes or an S3 object. If you use
5640
4825
  # the AWS CLI to call Amazon Rekognition operations, passing
@@ -5707,24 +4892,6 @@ module Aws::Rekognition
5707
4892
  # or label is compared with all regions of the screen. Any object of
5708
4893
  # interest that is more than half in a region is kept in the results.
5709
4894
  #
5710
- # @note When making an API call, you may pass RegionOfInterest
5711
- # data as a hash:
5712
- #
5713
- # {
5714
- # bounding_box: {
5715
- # width: 1.0,
5716
- # height: 1.0,
5717
- # left: 1.0,
5718
- # top: 1.0,
5719
- # },
5720
- # polygon: [
5721
- # {
5722
- # x: 1.0,
5723
- # y: 1.0,
5724
- # },
5725
- # ],
5726
- # }
5727
- #
5728
4895
  # @!attribute [rw] bounding_box
5729
4896
  # The box representing a region of interest on screen.
5730
4897
  # @return [Types::BoundingBox]
@@ -5765,14 +4932,6 @@ module Aws::Rekognition
5765
4932
  # ID of the stream processing session, and labeled timestamps and
5766
4933
  # bounding boxes for detected labels.
5767
4934
  #
5768
- # @note When making an API call, you may pass S3Destination
5769
- # data as a hash:
5770
- #
5771
- # {
5772
- # bucket: "S3Bucket",
5773
- # key_prefix: "S3KeyPrefix",
5774
- # }
5775
- #
5776
4935
  # @!attribute [rw] bucket
5777
4936
  # The name of the Amazon S3 bucket you want to associate with the
5778
4937
  # streaming video project. You must be the owner of the Amazon S3
@@ -5806,15 +4965,6 @@ module Aws::Rekognition
5806
4965
  # Amazon Rekognition works with IAM in the Amazon Rekognition Developer
5807
4966
  # Guide.
5808
4967
  #
5809
- # @note When making an API call, you may pass S3Object
5810
- # data as a hash:
5811
- #
5812
- # {
5813
- # bucket: "S3Bucket",
5814
- # name: "S3ObjectName",
5815
- # version: "S3ObjectVersion",
5816
- # }
5817
- #
5818
4968
  # @!attribute [rw] bucket
5819
4969
  # Name of the S3 bucket.
5820
4970
  # @return [String]
@@ -5836,24 +4986,6 @@ module Aws::Rekognition
5836
4986
  include Aws::Structure
5837
4987
  end
5838
4988
 
5839
- # @note When making an API call, you may pass SearchFacesByImageRequest
5840
- # data as a hash:
5841
- #
5842
- # {
5843
- # collection_id: "CollectionId", # required
5844
- # image: { # required
5845
- # bytes: "data",
5846
- # s3_object: {
5847
- # bucket: "S3Bucket",
5848
- # name: "S3ObjectName",
5849
- # version: "S3ObjectVersion",
5850
- # },
5851
- # },
5852
- # max_faces: 1,
5853
- # face_match_threshold: 1.0,
5854
- # quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
5855
- # }
5856
- #
5857
4989
  # @!attribute [rw] collection_id
5858
4990
  # ID of the collection to search.
5859
4991
  # @return [String]
@@ -5935,16 +5067,6 @@ module Aws::Rekognition
5935
5067
  include Aws::Structure
5936
5068
  end
5937
5069
 
5938
- # @note When making an API call, you may pass SearchFacesRequest
5939
- # data as a hash:
5940
- #
5941
- # {
5942
- # collection_id: "CollectionId", # required
5943
- # face_id: "FaceId", # required
5944
- # max_faces: 1,
5945
- # face_match_threshold: 1.0,
5946
- # }
5947
- #
5948
5070
  # @!attribute [rw] collection_id
5949
5071
  # ID of the collection the face belongs to.
5950
5072
  # @return [String]
@@ -6140,25 +5262,6 @@ module Aws::Rekognition
6140
5262
  include Aws::Structure
6141
5263
  end
6142
5264
 
6143
- # @note When making an API call, you may pass StartCelebrityRecognitionRequest
6144
- # data as a hash:
6145
- #
6146
- # {
6147
- # video: { # required
6148
- # s3_object: {
6149
- # bucket: "S3Bucket",
6150
- # name: "S3ObjectName",
6151
- # version: "S3ObjectVersion",
6152
- # },
6153
- # },
6154
- # client_request_token: "ClientRequestToken",
6155
- # notification_channel: {
6156
- # sns_topic_arn: "SNSTopicArn", # required
6157
- # role_arn: "RoleArn", # required
6158
- # },
6159
- # job_tag: "JobTag",
6160
- # }
6161
- #
6162
5265
  # @!attribute [rw] video
6163
5266
  # The video in which you want to recognize celebrities. The video must
6164
5267
  # be stored in an Amazon S3 bucket.
@@ -6207,26 +5310,6 @@ module Aws::Rekognition
6207
5310
  include Aws::Structure
6208
5311
  end
6209
5312
 
6210
- # @note When making an API call, you may pass StartContentModerationRequest
6211
- # data as a hash:
6212
- #
6213
- # {
6214
- # video: { # required
6215
- # s3_object: {
6216
- # bucket: "S3Bucket",
6217
- # name: "S3ObjectName",
6218
- # version: "S3ObjectVersion",
6219
- # },
6220
- # },
6221
- # min_confidence: 1.0,
6222
- # client_request_token: "ClientRequestToken",
6223
- # notification_channel: {
6224
- # sns_topic_arn: "SNSTopicArn", # required
6225
- # role_arn: "RoleArn", # required
6226
- # },
6227
- # job_tag: "JobTag",
6228
- # }
6229
- #
6230
5313
  # @!attribute [rw] video
6231
5314
  # The video in which you want to detect inappropriate, unwanted, or
6232
5315
  # offensive content. The video must be stored in an Amazon S3 bucket.
@@ -6286,26 +5369,6 @@ module Aws::Rekognition
6286
5369
  include Aws::Structure
6287
5370
  end
6288
5371
 
6289
- # @note When making an API call, you may pass StartFaceDetectionRequest
6290
- # data as a hash:
6291
- #
6292
- # {
6293
- # video: { # required
6294
- # s3_object: {
6295
- # bucket: "S3Bucket",
6296
- # name: "S3ObjectName",
6297
- # version: "S3ObjectVersion",
6298
- # },
6299
- # },
6300
- # client_request_token: "ClientRequestToken",
6301
- # notification_channel: {
6302
- # sns_topic_arn: "SNSTopicArn", # required
6303
- # role_arn: "RoleArn", # required
6304
- # },
6305
- # face_attributes: "DEFAULT", # accepts DEFAULT, ALL
6306
- # job_tag: "JobTag",
6307
- # }
6308
- #
6309
5372
  # @!attribute [rw] video
6310
5373
  # The video in which you want to detect faces. The video must be
6311
5374
  # stored in an Amazon S3 bucket.
@@ -6363,27 +5426,6 @@ module Aws::Rekognition
6363
5426
  include Aws::Structure
6364
5427
  end
6365
5428
 
6366
- # @note When making an API call, you may pass StartFaceSearchRequest
6367
- # data as a hash:
6368
- #
6369
- # {
6370
- # video: { # required
6371
- # s3_object: {
6372
- # bucket: "S3Bucket",
6373
- # name: "S3ObjectName",
6374
- # version: "S3ObjectVersion",
6375
- # },
6376
- # },
6377
- # client_request_token: "ClientRequestToken",
6378
- # face_match_threshold: 1.0,
6379
- # collection_id: "CollectionId", # required
6380
- # notification_channel: {
6381
- # sns_topic_arn: "SNSTopicArn", # required
6382
- # role_arn: "RoleArn", # required
6383
- # },
6384
- # job_tag: "JobTag",
6385
- # }
6386
- #
6387
5429
  # @!attribute [rw] video
6388
5430
  # The video you want to search. The video must be stored in an Amazon
6389
5431
  # S3 bucket.
@@ -6443,26 +5485,6 @@ module Aws::Rekognition
6443
5485
  include Aws::Structure
6444
5486
  end
6445
5487
 
6446
- # @note When making an API call, you may pass StartLabelDetectionRequest
6447
- # data as a hash:
6448
- #
6449
- # {
6450
- # video: { # required
6451
- # s3_object: {
6452
- # bucket: "S3Bucket",
6453
- # name: "S3ObjectName",
6454
- # version: "S3ObjectVersion",
6455
- # },
6456
- # },
6457
- # client_request_token: "ClientRequestToken",
6458
- # min_confidence: 1.0,
6459
- # notification_channel: {
6460
- # sns_topic_arn: "SNSTopicArn", # required
6461
- # role_arn: "RoleArn", # required
6462
- # },
6463
- # job_tag: "JobTag",
6464
- # }
6465
- #
6466
5488
  # @!attribute [rw] video
6467
5489
  # The video in which you want to detect labels. The video must be
6468
5490
  # stored in an Amazon S3 bucket.
@@ -6484,7 +5506,8 @@ module Aws::Rekognition
6484
5506
  # lower than this specified value.
6485
5507
  #
6486
5508
  # If you don't specify `MinConfidence`, the operation returns labels
6487
- # with confidence values greater than or equal to 50 percent.
5509
+ # and bounding boxes (if detected) with confidence values greater than
5510
+ # or equal to 50 percent.
6488
5511
  # @return [Float]
6489
5512
  #
6490
5513
  # @!attribute [rw] notification_channel
@@ -6502,12 +5525,26 @@ module Aws::Rekognition
6502
5525
  # jobs and identify them in the completion notification.
6503
5526
  # @return [String]
6504
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
+ #
6505
5540
  class StartLabelDetectionRequest < Struct.new(
6506
5541
  :video,
6507
5542
  :client_request_token,
6508
5543
  :min_confidence,
6509
5544
  :notification_channel,
6510
- :job_tag)
5545
+ :job_tag,
5546
+ :features,
5547
+ :settings)
6511
5548
  SENSITIVE = []
6512
5549
  include Aws::Structure
6513
5550
  end
@@ -6523,25 +5560,6 @@ module Aws::Rekognition
6523
5560
  include Aws::Structure
6524
5561
  end
6525
5562
 
6526
- # @note When making an API call, you may pass StartPersonTrackingRequest
6527
- # data as a hash:
6528
- #
6529
- # {
6530
- # video: { # required
6531
- # s3_object: {
6532
- # bucket: "S3Bucket",
6533
- # name: "S3ObjectName",
6534
- # version: "S3ObjectVersion",
6535
- # },
6536
- # },
6537
- # client_request_token: "ClientRequestToken",
6538
- # notification_channel: {
6539
- # sns_topic_arn: "SNSTopicArn", # required
6540
- # role_arn: "RoleArn", # required
6541
- # },
6542
- # job_tag: "JobTag",
6543
- # }
6544
- #
6545
5563
  # @!attribute [rw] video
6546
5564
  # The video in which you want to detect people. The video must be
6547
5565
  # stored in an Amazon S3 bucket.
@@ -6589,15 +5607,6 @@ module Aws::Rekognition
6589
5607
  include Aws::Structure
6590
5608
  end
6591
5609
 
6592
- # @note When making an API call, you may pass StartProjectVersionRequest
6593
- # data as a hash:
6594
- #
6595
- # {
6596
- # project_version_arn: "ProjectVersionArn", # required
6597
- # min_inference_units: 1, # required
6598
- # max_inference_units: 1,
6599
- # }
6600
- #
6601
5610
  # @!attribute [rw] project_version_arn
6602
5611
  # The Amazon Resource Name(ARN) of the model version that you want to
6603
5612
  # start.
@@ -6643,22 +5652,6 @@ module Aws::Rekognition
6643
5652
  # Filters applied to the technical cue or shot detection segments. For
6644
5653
  # more information, see StartSegmentDetection.
6645
5654
  #
6646
- # @note When making an API call, you may pass StartSegmentDetectionFilters
6647
- # data as a hash:
6648
- #
6649
- # {
6650
- # technical_cue_filter: {
6651
- # min_segment_confidence: 1.0,
6652
- # black_frame: {
6653
- # max_pixel_threshold: 1.0,
6654
- # min_coverage_percentage: 1.0,
6655
- # },
6656
- # },
6657
- # shot_filter: {
6658
- # min_segment_confidence: 1.0,
6659
- # },
6660
- # }
6661
- #
6662
5655
  # @!attribute [rw] technical_cue_filter
6663
5656
  # Filters that are specific to technical cues.
6664
5657
  # @return [Types::StartTechnicalCueDetectionFilter]
@@ -6674,38 +5667,6 @@ module Aws::Rekognition
6674
5667
  include Aws::Structure
6675
5668
  end
6676
5669
 
6677
- # @note When making an API call, you may pass StartSegmentDetectionRequest
6678
- # data as a hash:
6679
- #
6680
- # {
6681
- # video: { # required
6682
- # s3_object: {
6683
- # bucket: "S3Bucket",
6684
- # name: "S3ObjectName",
6685
- # version: "S3ObjectVersion",
6686
- # },
6687
- # },
6688
- # client_request_token: "ClientRequestToken",
6689
- # notification_channel: {
6690
- # sns_topic_arn: "SNSTopicArn", # required
6691
- # role_arn: "RoleArn", # required
6692
- # },
6693
- # job_tag: "JobTag",
6694
- # filters: {
6695
- # technical_cue_filter: {
6696
- # min_segment_confidence: 1.0,
6697
- # black_frame: {
6698
- # max_pixel_threshold: 1.0,
6699
- # min_coverage_percentage: 1.0,
6700
- # },
6701
- # },
6702
- # shot_filter: {
6703
- # min_segment_confidence: 1.0,
6704
- # },
6705
- # },
6706
- # segment_types: ["TECHNICAL_CUE"], # required, accepts TECHNICAL_CUE, SHOT
6707
- # }
6708
- #
6709
5670
  # @!attribute [rw] video
6710
5671
  # Video file stored in an Amazon S3 bucket. Amazon Rekognition video
6711
5672
  # start operations such as StartLabelDetection use `Video` to specify
@@ -6770,13 +5731,6 @@ module Aws::Rekognition
6770
5731
  # `GetSegmentDetection`. For more information, see
6771
5732
  # StartSegmentDetectionFilters.
6772
5733
  #
6773
- # @note When making an API call, you may pass StartShotDetectionFilter
6774
- # data as a hash:
6775
- #
6776
- # {
6777
- # min_segment_confidence: 1.0,
6778
- # }
6779
- #
6780
5734
  # @!attribute [rw] min_segment_confidence
6781
5735
  # Specifies the minimum confidence that Amazon Rekognition Video must
6782
5736
  # have in order to return a detected segment. Confidence represents
@@ -6796,22 +5750,6 @@ module Aws::Rekognition
6796
5750
  include Aws::Structure
6797
5751
  end
6798
5752
 
6799
- # @note When making an API call, you may pass StartStreamProcessorRequest
6800
- # data as a hash:
6801
- #
6802
- # {
6803
- # name: "StreamProcessorName", # required
6804
- # start_selector: {
6805
- # kvs_stream_start_selector: {
6806
- # producer_timestamp: 1,
6807
- # fragment_number: "KinesisVideoStreamFragmentNumber",
6808
- # },
6809
- # },
6810
- # stop_selector: {
6811
- # max_duration_in_seconds: 1,
6812
- # },
6813
- # }
6814
- #
6815
5753
  # @!attribute [rw] name
6816
5754
  # The name of the stream processor to start processing.
6817
5755
  # @return [String]
@@ -6860,17 +5798,6 @@ module Aws::Rekognition
6860
5798
  # Filters for the technical segments returned by GetSegmentDetection.
6861
5799
  # For more information, see StartSegmentDetectionFilters.
6862
5800
  #
6863
- # @note When making an API call, you may pass StartTechnicalCueDetectionFilter
6864
- # data as a hash:
6865
- #
6866
- # {
6867
- # min_segment_confidence: 1.0,
6868
- # black_frame: {
6869
- # max_pixel_threshold: 1.0,
6870
- # min_coverage_percentage: 1.0,
6871
- # },
6872
- # }
6873
- #
6874
5801
  # @!attribute [rw] min_segment_confidence
6875
5802
  # Specifies the minimum confidence that Amazon Rekognition Video must
6876
5803
  # have in order to return a detected segment. Confidence represents
@@ -6904,33 +5831,6 @@ module Aws::Rekognition
6904
5831
  # height, width and minimum confidence. `RegionOfInterest` lets you set
6905
5832
  # a specific region of the screen to look for text in.
6906
5833
  #
6907
- # @note When making an API call, you may pass StartTextDetectionFilters
6908
- # data as a hash:
6909
- #
6910
- # {
6911
- # word_filter: {
6912
- # min_confidence: 1.0,
6913
- # min_bounding_box_height: 1.0,
6914
- # min_bounding_box_width: 1.0,
6915
- # },
6916
- # regions_of_interest: [
6917
- # {
6918
- # bounding_box: {
6919
- # width: 1.0,
6920
- # height: 1.0,
6921
- # left: 1.0,
6922
- # top: 1.0,
6923
- # },
6924
- # polygon: [
6925
- # {
6926
- # x: 1.0,
6927
- # y: 1.0,
6928
- # },
6929
- # ],
6930
- # },
6931
- # ],
6932
- # }
6933
- #
6934
5834
  # @!attribute [rw] word_filter
6935
5835
  # Filters focusing on qualities of the text, such as confidence or
6936
5836
  # size.
@@ -6948,48 +5848,6 @@ module Aws::Rekognition
6948
5848
  include Aws::Structure
6949
5849
  end
6950
5850
 
6951
- # @note When making an API call, you may pass StartTextDetectionRequest
6952
- # data as a hash:
6953
- #
6954
- # {
6955
- # video: { # required
6956
- # s3_object: {
6957
- # bucket: "S3Bucket",
6958
- # name: "S3ObjectName",
6959
- # version: "S3ObjectVersion",
6960
- # },
6961
- # },
6962
- # client_request_token: "ClientRequestToken",
6963
- # notification_channel: {
6964
- # sns_topic_arn: "SNSTopicArn", # required
6965
- # role_arn: "RoleArn", # required
6966
- # },
6967
- # job_tag: "JobTag",
6968
- # filters: {
6969
- # word_filter: {
6970
- # min_confidence: 1.0,
6971
- # min_bounding_box_height: 1.0,
6972
- # min_bounding_box_width: 1.0,
6973
- # },
6974
- # regions_of_interest: [
6975
- # {
6976
- # bounding_box: {
6977
- # width: 1.0,
6978
- # height: 1.0,
6979
- # left: 1.0,
6980
- # top: 1.0,
6981
- # },
6982
- # polygon: [
6983
- # {
6984
- # x: 1.0,
6985
- # y: 1.0,
6986
- # },
6987
- # ],
6988
- # },
6989
- # ],
6990
- # },
6991
- # }
6992
- #
6993
5851
  # @!attribute [rw] video
6994
5852
  # Video file stored in an Amazon S3 bucket. Amazon Rekognition video
6995
5853
  # start operations such as StartLabelDetection use `Video` to specify
@@ -7053,13 +5911,6 @@ module Aws::Rekognition
7053
5911
  include Aws::Structure
7054
5912
  end
7055
5913
 
7056
- # @note When making an API call, you may pass StopProjectVersionRequest
7057
- # data as a hash:
7058
- #
7059
- # {
7060
- # project_version_arn: "ProjectVersionArn", # required
7061
- # }
7062
- #
7063
5914
  # @!attribute [rw] project_version_arn
7064
5915
  # The Amazon Resource Name (ARN) of the model version that you want to
7065
5916
  # delete.
@@ -7084,13 +5935,6 @@ module Aws::Rekognition
7084
5935
  include Aws::Structure
7085
5936
  end
7086
5937
 
7087
- # @note When making an API call, you may pass StopStreamProcessorRequest
7088
- # data as a hash:
7089
- #
7090
- # {
7091
- # name: "StreamProcessorName", # required
7092
- # }
7093
- #
7094
5938
  # @!attribute [rw] name
7095
5939
  # The name of a stream processor created by CreateStreamProcessor.
7096
5940
  # @return [String]
@@ -7106,16 +5950,6 @@ module Aws::Rekognition
7106
5950
  # This is a required parameter for label detection stream processors and
7107
5951
  # should not be used to start a face search stream processor.
7108
5952
  #
7109
- # @note When making an API call, you may pass StreamProcessingStartSelector
7110
- # data as a hash:
7111
- #
7112
- # {
7113
- # kvs_stream_start_selector: {
7114
- # producer_timestamp: 1,
7115
- # fragment_number: "KinesisVideoStreamFragmentNumber",
7116
- # },
7117
- # }
7118
- #
7119
5953
  # @!attribute [rw] kvs_stream_start_selector
7120
5954
  # Specifies the starting point in the stream to start processing. This
7121
5955
  # can be done with a producer timestamp or a fragment number in a
@@ -7131,13 +5965,6 @@ module Aws::Rekognition
7131
5965
  # Specifies when to stop processing the stream. You can specify a
7132
5966
  # maximum amount of time to process the video.
7133
5967
  #
7134
- # @note When making an API call, you may pass StreamProcessingStopSelector
7135
- # data as a hash:
7136
- #
7137
- # {
7138
- # max_duration_in_seconds: 1,
7139
- # }
7140
- #
7141
5968
  # @!attribute [rw] max_duration_in_seconds
7142
5969
  # Specifies the maximum amount of time in seconds that you want the
7143
5970
  # stream to be processed. The largest amount of time is 2 minutes. The
@@ -7177,13 +6004,6 @@ module Aws::Rekognition
7177
6004
  # level or on a per-stream basis. Note that if you opt out at the
7178
6005
  # account level this setting is ignored on individual streams.
7179
6006
  #
7180
- # @note When making an API call, you may pass StreamProcessorDataSharingPreference
7181
- # data as a hash:
7182
- #
7183
- # {
7184
- # opt_in: false, # required
7185
- # }
7186
- #
7187
6007
  # @!attribute [rw] opt_in
7188
6008
  # If this option is set to true, you choose to share data with
7189
6009
  # Rekognition to improve model performance.
@@ -7197,15 +6017,6 @@ module Aws::Rekognition
7197
6017
 
7198
6018
  # Information about the source streaming video.
7199
6019
  #
7200
- # @note When making an API call, you may pass StreamProcessorInput
7201
- # data as a hash:
7202
- #
7203
- # {
7204
- # kinesis_video_stream: {
7205
- # arn: "KinesisVideoArn",
7206
- # },
7207
- # }
7208
- #
7209
6020
  # @!attribute [rw] kinesis_video_stream
7210
6021
  # The Kinesis video stream input stream for the source streaming
7211
6022
  # video.
@@ -7231,13 +6042,6 @@ module Aws::Rekognition
7231
6042
  # Amazon Rekognition also publishes an an end-of-session notification
7232
6043
  # with a summary when the stream processing session is complete.
7233
6044
  #
7234
- # @note When making an API call, you may pass StreamProcessorNotificationChannel
7235
- # data as a hash:
7236
- #
7237
- # {
7238
- # sns_topic_arn: "SNSTopicArn", # required
7239
- # }
7240
- #
7241
6045
  # @!attribute [rw] sns_topic_arn
7242
6046
  # The Amazon Resource Number (ARN) of the Amazon Amazon Simple
7243
6047
  # Notification Service topic to which Amazon Rekognition posts the
@@ -7255,19 +6059,6 @@ module Aws::Rekognition
7255
6059
  # video analysis. For more information, see CreateStreamProcessor in the
7256
6060
  # Amazon Rekognition Developer Guide.
7257
6061
  #
7258
- # @note When making an API call, you may pass StreamProcessorOutput
7259
- # data as a hash:
7260
- #
7261
- # {
7262
- # kinesis_data_stream: {
7263
- # arn: "KinesisDataArn",
7264
- # },
7265
- # s3_destination: {
7266
- # bucket: "S3Bucket",
7267
- # key_prefix: "S3KeyPrefix",
7268
- # },
7269
- # }
7270
- #
7271
6062
  # @!attribute [rw] kinesis_data_stream
7272
6063
  # The Amazon Kinesis Data Streams stream to which the Amazon
7273
6064
  # Rekognition stream processor streams the analysis results.
@@ -7290,20 +6081,6 @@ module Aws::Rekognition
7290
6081
  # faces in a streaming video, or you can use `ConnectedHome` to detect
7291
6082
  # labels.
7292
6083
  #
7293
- # @note When making an API call, you may pass StreamProcessorSettings
7294
- # data as a hash:
7295
- #
7296
- # {
7297
- # face_search: {
7298
- # collection_id: "CollectionId",
7299
- # face_match_threshold: 1.0,
7300
- # },
7301
- # connected_home: {
7302
- # labels: ["ConnectedHomeLabel"], # required
7303
- # min_confidence: 1.0,
7304
- # },
7305
- # }
7306
- #
7307
6084
  # @!attribute [rw] face_search
7308
6085
  # Face search settings to use on a streaming video.
7309
6086
  # @return [Types::FaceSearchSettings]
@@ -7333,16 +6110,6 @@ module Aws::Rekognition
7333
6110
  # settings can be updated to detect different labels with a different
7334
6111
  # minimum confidence.
7335
6112
  #
7336
- # @note When making an API call, you may pass StreamProcessorSettingsForUpdate
7337
- # data as a hash:
7338
- #
7339
- # {
7340
- # connected_home_for_update: {
7341
- # labels: ["ConnectedHomeLabel"],
7342
- # min_confidence: 1.0,
7343
- # },
7344
- # }
7345
- #
7346
6113
  # @!attribute [rw] connected_home_for_update
7347
6114
  # The label detection settings you want to use for your stream
7348
6115
  # processor.
@@ -7398,16 +6165,6 @@ module Aws::Rekognition
7398
6165
  include Aws::Structure
7399
6166
  end
7400
6167
 
7401
- # @note When making an API call, you may pass TagResourceRequest
7402
- # data as a hash:
7403
- #
7404
- # {
7405
- # resource_arn: "ResourceArn", # required
7406
- # tags: { # required
7407
- # "TagKey" => "TagValue",
7408
- # },
7409
- # }
7410
- #
7411
6168
  # @!attribute [rw] resource_arn
7412
6169
  # Amazon Resource Name (ARN) of the model, collection, or stream
7413
6170
  # processor that you want to assign the tags to.
@@ -7449,24 +6206,6 @@ module Aws::Rekognition
7449
6206
  # Amazon Rekognition Custom Labels uses the training dataset to create a
7450
6207
  # test dataset with a temporary split of the training dataset.
7451
6208
  #
7452
- # @note When making an API call, you may pass TestingData
7453
- # data as a hash:
7454
- #
7455
- # {
7456
- # assets: [
7457
- # {
7458
- # ground_truth_manifest: {
7459
- # s3_object: {
7460
- # bucket: "S3Bucket",
7461
- # name: "S3ObjectName",
7462
- # version: "S3ObjectVersion",
7463
- # },
7464
- # },
7465
- # },
7466
- # ],
7467
- # auto_create: false,
7468
- # }
7469
- #
7470
6209
  # @!attribute [rw] assets
7471
6210
  # The assets used for testing.
7472
6211
  # @return [Array<Types::Asset>]
@@ -7594,23 +6333,6 @@ module Aws::Rekognition
7594
6333
 
7595
6334
  # The dataset used for training.
7596
6335
  #
7597
- # @note When making an API call, you may pass TrainingData
7598
- # data as a hash:
7599
- #
7600
- # {
7601
- # assets: [
7602
- # {
7603
- # ground_truth_manifest: {
7604
- # s3_object: {
7605
- # bucket: "S3Bucket",
7606
- # name: "S3ObjectName",
7607
- # version: "S3ObjectVersion",
7608
- # },
7609
- # },
7610
- # },
7611
- # ],
7612
- # }
7613
- #
7614
6336
  # @!attribute [rw] assets
7615
6337
  # A Sagemaker GroundTruth manifest file that contains the training
7616
6338
  # images (assets).
@@ -7682,14 +6404,6 @@ module Aws::Rekognition
7682
6404
  include Aws::Structure
7683
6405
  end
7684
6406
 
7685
- # @note When making an API call, you may pass UntagResourceRequest
7686
- # data as a hash:
7687
- #
7688
- # {
7689
- # resource_arn: "ResourceArn", # required
7690
- # tag_keys: ["TagKey"], # required
7691
- # }
7692
- #
7693
6407
  # @!attribute [rw] resource_arn
7694
6408
  # Amazon Resource Name (ARN) of the model, collection, or stream
7695
6409
  # processor that you want to remove the tags from.
@@ -7708,16 +6422,6 @@ module Aws::Rekognition
7708
6422
 
7709
6423
  class UntagResourceResponse < Aws::EmptyStructure; end
7710
6424
 
7711
- # @note When making an API call, you may pass UpdateDatasetEntriesRequest
7712
- # data as a hash:
7713
- #
7714
- # {
7715
- # dataset_arn: "DatasetArn", # required
7716
- # changes: { # required
7717
- # ground_truth: "data", # required
7718
- # },
7719
- # }
7720
- #
7721
6425
  # @!attribute [rw] dataset_arn
7722
6426
  # The Amazon Resource Name (ARN) of the dataset that you want to
7723
6427
  # update.
@@ -7736,39 +6440,6 @@ module Aws::Rekognition
7736
6440
 
7737
6441
  class UpdateDatasetEntriesResponse < Aws::EmptyStructure; end
7738
6442
 
7739
- # @note When making an API call, you may pass UpdateStreamProcessorRequest
7740
- # data as a hash:
7741
- #
7742
- # {
7743
- # name: "StreamProcessorName", # required
7744
- # settings_for_update: {
7745
- # connected_home_for_update: {
7746
- # labels: ["ConnectedHomeLabel"],
7747
- # min_confidence: 1.0,
7748
- # },
7749
- # },
7750
- # regions_of_interest_for_update: [
7751
- # {
7752
- # bounding_box: {
7753
- # width: 1.0,
7754
- # height: 1.0,
7755
- # left: 1.0,
7756
- # top: 1.0,
7757
- # },
7758
- # polygon: [
7759
- # {
7760
- # x: 1.0,
7761
- # y: 1.0,
7762
- # },
7763
- # ],
7764
- # },
7765
- # ],
7766
- # data_sharing_preference_for_update: {
7767
- # opt_in: false, # required
7768
- # },
7769
- # parameters_to_delete: ["ConnectedHomeMinConfidence"], # accepts ConnectedHomeMinConfidence, RegionsOfInterest
7770
- # }
7771
- #
7772
6443
  # @!attribute [rw] name
7773
6444
  # Name of the stream processor that you want to update.
7774
6445
  # @return [String]
@@ -7839,17 +6510,6 @@ module Aws::Rekognition
7839
6510
  # video for analysis. The supported file formats are .mp4, .mov and
7840
6511
  # .avi.
7841
6512
  #
7842
- # @note When making an API call, you may pass Video
7843
- # data as a hash:
7844
- #
7845
- # {
7846
- # s3_object: {
7847
- # bucket: "S3Bucket",
7848
- # name: "S3ObjectName",
7849
- # version: "S3ObjectVersion",
7850
- # },
7851
- # }
7852
- #
7853
6513
  # @!attribute [rw] s3_object
7854
6514
  # The Amazon S3 bucket name and file name for the video.
7855
6515
  # @return [Types::S3Object]