aws-sdk-rekognition 1.38.0 → 1.43.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -30,6 +32,7 @@ module Aws::Rekognition
30
32
  class AgeRange < Struct.new(
31
33
  :low,
32
34
  :high)
35
+ SENSITIVE = []
33
36
  include Aws::Structure
34
37
  end
35
38
 
@@ -56,6 +59,36 @@ module Aws::Rekognition
56
59
  #
57
60
  class Asset < Struct.new(
58
61
  :ground_truth_manifest)
62
+ SENSITIVE = []
63
+ include Aws::Structure
64
+ end
65
+
66
+ # Metadata information about an audio stream. An array of
67
+ # `AudioMetadata` objects for the audio streams found in a stored video
68
+ # is returned by GetSegmentDetection.
69
+ #
70
+ # @!attribute [rw] codec
71
+ # The audio codec used to encode or decode the audio stream.
72
+ # @return [String]
73
+ #
74
+ # @!attribute [rw] duration_millis
75
+ # The duration of the audio stream in milliseconds.
76
+ # @return [Integer]
77
+ #
78
+ # @!attribute [rw] sample_rate
79
+ # The sample rate for the audio stream.
80
+ # @return [Integer]
81
+ #
82
+ # @!attribute [rw] number_of_channels
83
+ # The number of audio channels in the segement.
84
+ # @return [Integer]
85
+ #
86
+ class AudioMetadata < Struct.new(
87
+ :codec,
88
+ :duration_millis,
89
+ :sample_rate,
90
+ :number_of_channels)
91
+ SENSITIVE = []
59
92
  include Aws::Structure
60
93
  end
61
94
 
@@ -73,6 +106,7 @@ module Aws::Rekognition
73
106
  class Beard < Struct.new(
74
107
  :value,
75
108
  :confidence)
109
+ SENSITIVE = []
76
110
  include Aws::Structure
77
111
  end
78
112
 
@@ -134,6 +168,7 @@ module Aws::Rekognition
134
168
  :height,
135
169
  :left,
136
170
  :top)
171
+ SENSITIVE = []
137
172
  include Aws::Structure
138
173
  end
139
174
 
@@ -170,6 +205,7 @@ module Aws::Rekognition
170
205
  :id,
171
206
  :face,
172
207
  :match_confidence)
208
+ SENSITIVE = []
173
209
  include Aws::Structure
174
210
  end
175
211
 
@@ -207,6 +243,7 @@ module Aws::Rekognition
207
243
  :confidence,
208
244
  :bounding_box,
209
245
  :face)
246
+ SENSITIVE = []
210
247
  include Aws::Structure
211
248
  end
212
249
 
@@ -226,6 +263,7 @@ module Aws::Rekognition
226
263
  class CelebrityRecognition < Struct.new(
227
264
  :timestamp,
228
265
  :celebrity)
266
+ SENSITIVE = []
229
267
  include Aws::Structure
230
268
  end
231
269
 
@@ -247,6 +285,7 @@ module Aws::Rekognition
247
285
  class CompareFacesMatch < Struct.new(
248
286
  :similarity,
249
287
  :face)
288
+ SENSITIVE = []
250
289
  include Aws::Structure
251
290
  end
252
291
 
@@ -322,6 +361,7 @@ module Aws::Rekognition
322
361
  :target_image,
323
362
  :similarity_threshold,
324
363
  :quality_filter)
364
+ SENSITIVE = []
325
365
  include Aws::Structure
326
366
  end
327
367
 
@@ -382,6 +422,7 @@ module Aws::Rekognition
382
422
  :unmatched_faces,
383
423
  :source_image_orientation_correction,
384
424
  :target_image_orientation_correction)
425
+ SENSITIVE = []
385
426
  include Aws::Structure
386
427
  end
387
428
 
@@ -415,6 +456,7 @@ module Aws::Rekognition
415
456
  :landmarks,
416
457
  :pose,
417
458
  :quality)
459
+ SENSITIVE = []
418
460
  include Aws::Structure
419
461
  end
420
462
 
@@ -435,6 +477,7 @@ module Aws::Rekognition
435
477
  class ComparedSourceImageFace < Struct.new(
436
478
  :bounding_box,
437
479
  :confidence)
480
+ SENSITIVE = []
438
481
  include Aws::Structure
439
482
  end
440
483
 
@@ -452,6 +495,7 @@ module Aws::Rekognition
452
495
  class ContentModerationDetection < Struct.new(
453
496
  :timestamp,
454
497
  :moderation_label)
498
+ SENSITIVE = []
455
499
  include Aws::Structure
456
500
  end
457
501
 
@@ -468,6 +512,7 @@ module Aws::Rekognition
468
512
  #
469
513
  class CreateCollectionRequest < Struct.new(
470
514
  :collection_id)
515
+ SENSITIVE = []
471
516
  include Aws::Structure
472
517
  end
473
518
 
@@ -489,6 +534,7 @@ module Aws::Rekognition
489
534
  :status_code,
490
535
  :collection_arn,
491
536
  :face_model_version)
537
+ SENSITIVE = []
492
538
  include Aws::Structure
493
539
  end
494
540
 
@@ -505,6 +551,7 @@ module Aws::Rekognition
505
551
  #
506
552
  class CreateProjectRequest < Struct.new(
507
553
  :project_name)
554
+ SENSITIVE = []
508
555
  include Aws::Structure
509
556
  end
510
557
 
@@ -515,6 +562,7 @@ module Aws::Rekognition
515
562
  #
516
563
  class CreateProjectResponse < Struct.new(
517
564
  :project_arn)
565
+ SENSITIVE = []
518
566
  include Aws::Structure
519
567
  end
520
568
 
@@ -584,6 +632,7 @@ module Aws::Rekognition
584
632
  :output_config,
585
633
  :training_data,
586
634
  :testing_data)
635
+ SENSITIVE = []
587
636
  include Aws::Structure
588
637
  end
589
638
 
@@ -595,6 +644,7 @@ module Aws::Rekognition
595
644
  #
596
645
  class CreateProjectVersionResponse < Struct.new(
597
646
  :project_version_arn)
647
+ SENSITIVE = []
598
648
  include Aws::Structure
599
649
  end
600
650
 
@@ -657,6 +707,7 @@ module Aws::Rekognition
657
707
  :name,
658
708
  :settings,
659
709
  :role_arn)
710
+ SENSITIVE = []
660
711
  include Aws::Structure
661
712
  end
662
713
 
@@ -666,6 +717,7 @@ module Aws::Rekognition
666
717
  #
667
718
  class CreateStreamProcessorResponse < Struct.new(
668
719
  :stream_processor_arn)
720
+ SENSITIVE = []
669
721
  include Aws::Structure
670
722
  end
671
723
 
@@ -692,6 +744,7 @@ module Aws::Rekognition
692
744
  :name,
693
745
  :confidence,
694
746
  :geometry)
747
+ SENSITIVE = []
695
748
  include Aws::Structure
696
749
  end
697
750
 
@@ -708,6 +761,7 @@ module Aws::Rekognition
708
761
  #
709
762
  class DeleteCollectionRequest < Struct.new(
710
763
  :collection_id)
764
+ SENSITIVE = []
711
765
  include Aws::Structure
712
766
  end
713
767
 
@@ -717,6 +771,7 @@ module Aws::Rekognition
717
771
  #
718
772
  class DeleteCollectionResponse < Struct.new(
719
773
  :status_code)
774
+ SENSITIVE = []
720
775
  include Aws::Structure
721
776
  end
722
777
 
@@ -739,6 +794,7 @@ module Aws::Rekognition
739
794
  class DeleteFacesRequest < Struct.new(
740
795
  :collection_id,
741
796
  :face_ids)
797
+ SENSITIVE = []
742
798
  include Aws::Structure
743
799
  end
744
800
 
@@ -748,6 +804,7 @@ module Aws::Rekognition
748
804
  #
749
805
  class DeleteFacesResponse < Struct.new(
750
806
  :deleted_faces)
807
+ SENSITIVE = []
751
808
  include Aws::Structure
752
809
  end
753
810
 
@@ -765,6 +822,7 @@ module Aws::Rekognition
765
822
  #
766
823
  class DeleteProjectRequest < Struct.new(
767
824
  :project_arn)
825
+ SENSITIVE = []
768
826
  include Aws::Structure
769
827
  end
770
828
 
@@ -774,6 +832,7 @@ module Aws::Rekognition
774
832
  #
775
833
  class DeleteProjectResponse < Struct.new(
776
834
  :status)
835
+ SENSITIVE = []
777
836
  include Aws::Structure
778
837
  end
779
838
 
@@ -791,6 +850,7 @@ module Aws::Rekognition
791
850
  #
792
851
  class DeleteProjectVersionRequest < Struct.new(
793
852
  :project_version_arn)
853
+ SENSITIVE = []
794
854
  include Aws::Structure
795
855
  end
796
856
 
@@ -800,6 +860,7 @@ module Aws::Rekognition
800
860
  #
801
861
  class DeleteProjectVersionResponse < Struct.new(
802
862
  :status)
863
+ SENSITIVE = []
803
864
  include Aws::Structure
804
865
  end
805
866
 
@@ -816,6 +877,7 @@ module Aws::Rekognition
816
877
  #
817
878
  class DeleteStreamProcessorRequest < Struct.new(
818
879
  :name)
880
+ SENSITIVE = []
819
881
  include Aws::Structure
820
882
  end
821
883
 
@@ -834,6 +896,7 @@ module Aws::Rekognition
834
896
  #
835
897
  class DescribeCollectionRequest < Struct.new(
836
898
  :collection_id)
899
+ SENSITIVE = []
837
900
  include Aws::Structure
838
901
  end
839
902
 
@@ -865,6 +928,7 @@ module Aws::Rekognition
865
928
  :face_model_version,
866
929
  :collection_arn,
867
930
  :creation_timestamp)
931
+ SENSITIVE = []
868
932
  include Aws::Structure
869
933
  end
870
934
 
@@ -886,7 +950,11 @@ module Aws::Rekognition
886
950
  # @!attribute [rw] version_names
887
951
  # A list of model version names that you want to describe. You can add
888
952
  # up to 10 model version names to the list. If you don't specify a
889
- # value, all model descriptions are returned.
953
+ # value, all model descriptions are returned. A version name is part
954
+ # of a model (ProjectVersion) ARN. For example,
955
+ # `my-model.2020-01-21T09.10.15` is the version name in the following
956
+ # ARN.
957
+ # `arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123`.
890
958
  # @return [Array<String>]
891
959
  #
892
960
  # @!attribute [rw] next_token
@@ -908,6 +976,7 @@ module Aws::Rekognition
908
976
  :version_names,
909
977
  :next_token,
910
978
  :max_results)
979
+ SENSITIVE = []
911
980
  include Aws::Structure
912
981
  end
913
982
 
@@ -926,6 +995,7 @@ module Aws::Rekognition
926
995
  class DescribeProjectVersionsResponse < Struct.new(
927
996
  :project_version_descriptions,
928
997
  :next_token)
998
+ SENSITIVE = []
929
999
  include Aws::Structure
930
1000
  end
931
1001
 
@@ -954,6 +1024,7 @@ module Aws::Rekognition
954
1024
  class DescribeProjectsRequest < Struct.new(
955
1025
  :next_token,
956
1026
  :max_results)
1027
+ SENSITIVE = []
957
1028
  include Aws::Structure
958
1029
  end
959
1030
 
@@ -972,6 +1043,7 @@ module Aws::Rekognition
972
1043
  class DescribeProjectsResponse < Struct.new(
973
1044
  :project_descriptions,
974
1045
  :next_token)
1046
+ SENSITIVE = []
975
1047
  include Aws::Structure
976
1048
  end
977
1049
 
@@ -988,6 +1060,7 @@ module Aws::Rekognition
988
1060
  #
989
1061
  class DescribeStreamProcessorRequest < Struct.new(
990
1062
  :name)
1063
+ SENSITIVE = []
991
1064
  include Aws::Structure
992
1065
  end
993
1066
 
@@ -1047,6 +1120,7 @@ module Aws::Rekognition
1047
1120
  :output,
1048
1121
  :role_arn,
1049
1122
  :settings)
1123
+ SENSITIVE = []
1050
1124
  include Aws::Structure
1051
1125
  end
1052
1126
 
@@ -1120,6 +1194,7 @@ module Aws::Rekognition
1120
1194
  :image,
1121
1195
  :max_results,
1122
1196
  :min_confidence)
1197
+ SENSITIVE = []
1123
1198
  include Aws::Structure
1124
1199
  end
1125
1200
 
@@ -1129,6 +1204,7 @@ module Aws::Rekognition
1129
1204
  #
1130
1205
  class DetectCustomLabelsResponse < Struct.new(
1131
1206
  :custom_labels)
1207
+ SENSITIVE = []
1132
1208
  include Aws::Structure
1133
1209
  end
1134
1210
 
@@ -1175,6 +1251,7 @@ module Aws::Rekognition
1175
1251
  class DetectFacesRequest < Struct.new(
1176
1252
  :image,
1177
1253
  :attributes)
1254
+ SENSITIVE = []
1178
1255
  include Aws::Structure
1179
1256
  end
1180
1257
 
@@ -1202,6 +1279,7 @@ module Aws::Rekognition
1202
1279
  class DetectFacesResponse < Struct.new(
1203
1280
  :face_details,
1204
1281
  :orientation_correction)
1282
+ SENSITIVE = []
1205
1283
  include Aws::Structure
1206
1284
  end
1207
1285
 
@@ -1252,6 +1330,7 @@ module Aws::Rekognition
1252
1330
  :image,
1253
1331
  :max_labels,
1254
1332
  :min_confidence)
1333
+ SENSITIVE = []
1255
1334
  include Aws::Structure
1256
1335
  end
1257
1336
 
@@ -1285,6 +1364,7 @@ module Aws::Rekognition
1285
1364
  :labels,
1286
1365
  :orientation_correction,
1287
1366
  :label_model_version)
1367
+ SENSITIVE = []
1288
1368
  include Aws::Structure
1289
1369
  end
1290
1370
 
@@ -1339,6 +1419,7 @@ module Aws::Rekognition
1339
1419
  :image,
1340
1420
  :min_confidence,
1341
1421
  :human_loop_config)
1422
+ SENSITIVE = []
1342
1423
  include Aws::Structure
1343
1424
  end
1344
1425
 
@@ -1360,6 +1441,7 @@ module Aws::Rekognition
1360
1441
  :moderation_labels,
1361
1442
  :moderation_model_version,
1362
1443
  :human_loop_activation_output)
1444
+ SENSITIVE = []
1363
1445
  include Aws::Structure
1364
1446
  end
1365
1447
 
@@ -1402,6 +1484,7 @@ module Aws::Rekognition
1402
1484
  class DetectTextFilters < Struct.new(
1403
1485
  :word_filter,
1404
1486
  :regions_of_interest)
1487
+ SENSITIVE = []
1405
1488
  include Aws::Structure
1406
1489
  end
1407
1490
 
@@ -1455,6 +1538,7 @@ module Aws::Rekognition
1455
1538
  class DetectTextRequest < Struct.new(
1456
1539
  :image,
1457
1540
  :filters)
1541
+ SENSITIVE = []
1458
1542
  include Aws::Structure
1459
1543
  end
1460
1544
 
@@ -1469,6 +1553,7 @@ module Aws::Rekognition
1469
1553
  class DetectTextResponse < Struct.new(
1470
1554
  :text_detections,
1471
1555
  :text_model_version)
1556
+ SENSITIVE = []
1472
1557
  include Aws::Structure
1473
1558
  end
1474
1559
 
@@ -1507,6 +1592,7 @@ module Aws::Rekognition
1507
1592
  :min_confidence,
1508
1593
  :min_bounding_box_height,
1509
1594
  :min_bounding_box_width)
1595
+ SENSITIVE = []
1510
1596
  include Aws::Structure
1511
1597
  end
1512
1598
 
@@ -1528,6 +1614,7 @@ module Aws::Rekognition
1528
1614
  class Emotion < Struct.new(
1529
1615
  :type,
1530
1616
  :confidence)
1617
+ SENSITIVE = []
1531
1618
  include Aws::Structure
1532
1619
  end
1533
1620
 
@@ -1548,6 +1635,7 @@ module Aws::Rekognition
1548
1635
  class EvaluationResult < Struct.new(
1549
1636
  :f1_score,
1550
1637
  :summary)
1638
+ SENSITIVE = []
1551
1639
  include Aws::Structure
1552
1640
  end
1553
1641
 
@@ -1565,6 +1653,7 @@ module Aws::Rekognition
1565
1653
  class EyeOpen < Struct.new(
1566
1654
  :value,
1567
1655
  :confidence)
1656
+ SENSITIVE = []
1568
1657
  include Aws::Structure
1569
1658
  end
1570
1659
 
@@ -1583,6 +1672,7 @@ module Aws::Rekognition
1583
1672
  class Eyeglasses < Struct.new(
1584
1673
  :value,
1585
1674
  :confidence)
1675
+ SENSITIVE = []
1586
1676
  include Aws::Structure
1587
1677
  end
1588
1678
 
@@ -1617,6 +1707,7 @@ module Aws::Rekognition
1617
1707
  :image_id,
1618
1708
  :external_image_id,
1619
1709
  :confidence)
1710
+ SENSITIVE = []
1620
1711
  include Aws::Structure
1621
1712
  end
1622
1713
 
@@ -1736,6 +1827,7 @@ module Aws::Rekognition
1736
1827
  :pose,
1737
1828
  :quality,
1738
1829
  :confidence)
1830
+ SENSITIVE = []
1739
1831
  include Aws::Structure
1740
1832
  end
1741
1833
 
@@ -1754,6 +1846,7 @@ module Aws::Rekognition
1754
1846
  class FaceDetection < Struct.new(
1755
1847
  :timestamp,
1756
1848
  :face)
1849
+ SENSITIVE = []
1757
1850
  include Aws::Structure
1758
1851
  end
1759
1852
 
@@ -1773,6 +1866,7 @@ module Aws::Rekognition
1773
1866
  class FaceMatch < Struct.new(
1774
1867
  :similarity,
1775
1868
  :face)
1869
+ SENSITIVE = []
1776
1870
  include Aws::Structure
1777
1871
  end
1778
1872
 
@@ -1794,6 +1888,7 @@ module Aws::Rekognition
1794
1888
  class FaceRecord < Struct.new(
1795
1889
  :face,
1796
1890
  :face_detail)
1891
+ SENSITIVE = []
1797
1892
  include Aws::Structure
1798
1893
  end
1799
1894
 
@@ -1823,6 +1918,7 @@ module Aws::Rekognition
1823
1918
  class FaceSearchSettings < Struct.new(
1824
1919
  :collection_id,
1825
1920
  :face_match_threshold)
1921
+ SENSITIVE = []
1826
1922
  include Aws::Structure
1827
1923
  end
1828
1924
 
@@ -1855,6 +1951,7 @@ module Aws::Rekognition
1855
1951
  class Gender < Struct.new(
1856
1952
  :value,
1857
1953
  :confidence)
1954
+ SENSITIVE = []
1858
1955
  include Aws::Structure
1859
1956
  end
1860
1957
 
@@ -1874,6 +1971,7 @@ module Aws::Rekognition
1874
1971
  class Geometry < Struct.new(
1875
1972
  :bounding_box,
1876
1973
  :polygon)
1974
+ SENSITIVE = []
1877
1975
  include Aws::Structure
1878
1976
  end
1879
1977
 
@@ -1892,6 +1990,7 @@ module Aws::Rekognition
1892
1990
  #
1893
1991
  class GetCelebrityInfoRequest < Struct.new(
1894
1992
  :id)
1993
+ SENSITIVE = []
1895
1994
  include Aws::Structure
1896
1995
  end
1897
1996
 
@@ -1906,6 +2005,7 @@ module Aws::Rekognition
1906
2005
  class GetCelebrityInfoResponse < Struct.new(
1907
2006
  :urls,
1908
2007
  :name)
2008
+ SENSITIVE = []
1909
2009
  include Aws::Structure
1910
2010
  end
1911
2011
 
@@ -1950,6 +2050,7 @@ module Aws::Rekognition
1950
2050
  :max_results,
1951
2051
  :next_token,
1952
2052
  :sort_by)
2053
+ SENSITIVE = []
1953
2054
  include Aws::Structure
1954
2055
  end
1955
2056
 
@@ -1984,6 +2085,7 @@ module Aws::Rekognition
1984
2085
  :video_metadata,
1985
2086
  :next_token,
1986
2087
  :celebrities)
2088
+ SENSITIVE = []
1987
2089
  include Aws::Structure
1988
2090
  end
1989
2091
 
@@ -2029,6 +2131,7 @@ module Aws::Rekognition
2029
2131
  :max_results,
2030
2132
  :next_token,
2031
2133
  :sort_by)
2134
+ SENSITIVE = []
2032
2135
  include Aws::Structure
2033
2136
  end
2034
2137
 
@@ -2070,6 +2173,7 @@ module Aws::Rekognition
2070
2173
  :moderation_labels,
2071
2174
  :next_token,
2072
2175
  :moderation_model_version)
2176
+ SENSITIVE = []
2073
2177
  include Aws::Structure
2074
2178
  end
2075
2179
 
@@ -2105,6 +2209,7 @@ module Aws::Rekognition
2105
2209
  :job_id,
2106
2210
  :max_results,
2107
2211
  :next_token)
2212
+ SENSITIVE = []
2108
2213
  include Aws::Structure
2109
2214
  end
2110
2215
 
@@ -2141,6 +2246,7 @@ module Aws::Rekognition
2141
2246
  :video_metadata,
2142
2247
  :next_token,
2143
2248
  :faces)
2249
+ SENSITIVE = []
2144
2250
  include Aws::Structure
2145
2251
  end
2146
2252
 
@@ -2184,6 +2290,7 @@ module Aws::Rekognition
2184
2290
  :max_results,
2185
2291
  :next_token,
2186
2292
  :sort_by)
2293
+ SENSITIVE = []
2187
2294
  include Aws::Structure
2188
2295
  end
2189
2296
 
@@ -2225,6 +2332,7 @@ module Aws::Rekognition
2225
2332
  :next_token,
2226
2333
  :video_metadata,
2227
2334
  :persons)
2335
+ SENSITIVE = []
2228
2336
  include Aws::Structure
2229
2337
  end
2230
2338
 
@@ -2271,6 +2379,7 @@ module Aws::Rekognition
2271
2379
  :max_results,
2272
2380
  :next_token,
2273
2381
  :sort_by)
2382
+ SENSITIVE = []
2274
2383
  include Aws::Structure
2275
2384
  end
2276
2385
 
@@ -2313,6 +2422,7 @@ module Aws::Rekognition
2313
2422
  :next_token,
2314
2423
  :labels,
2315
2424
  :label_model_version)
2425
+ SENSITIVE = []
2316
2426
  include Aws::Structure
2317
2427
  end
2318
2428
 
@@ -2358,6 +2468,7 @@ module Aws::Rekognition
2358
2468
  :max_results,
2359
2469
  :next_token,
2360
2470
  :sort_by)
2471
+ SENSITIVE = []
2361
2472
  include Aws::Structure
2362
2473
  end
2363
2474
 
@@ -2394,6 +2505,96 @@ module Aws::Rekognition
2394
2505
  :video_metadata,
2395
2506
  :next_token,
2396
2507
  :persons)
2508
+ SENSITIVE = []
2509
+ include Aws::Structure
2510
+ end
2511
+
2512
+ # @note When making an API call, you may pass GetSegmentDetectionRequest
2513
+ # data as a hash:
2514
+ #
2515
+ # {
2516
+ # job_id: "JobId", # required
2517
+ # max_results: 1,
2518
+ # next_token: "PaginationToken",
2519
+ # }
2520
+ #
2521
+ # @!attribute [rw] job_id
2522
+ # Job identifier for the text detection operation for which you want
2523
+ # results returned. You get the job identifer from an initial call to
2524
+ # `StartSegmentDetection`.
2525
+ # @return [String]
2526
+ #
2527
+ # @!attribute [rw] max_results
2528
+ # Maximum number of results to return per paginated call. The largest
2529
+ # value you can specify is 1000.
2530
+ # @return [Integer]
2531
+ #
2532
+ # @!attribute [rw] next_token
2533
+ # If the response is truncated, Amazon Rekognition Video returns this
2534
+ # token that you can use in the subsequent request to retrieve the
2535
+ # next set of text.
2536
+ # @return [String]
2537
+ #
2538
+ class GetSegmentDetectionRequest < Struct.new(
2539
+ :job_id,
2540
+ :max_results,
2541
+ :next_token)
2542
+ SENSITIVE = []
2543
+ include Aws::Structure
2544
+ end
2545
+
2546
+ # @!attribute [rw] job_status
2547
+ # Current status of the segment detection job.
2548
+ # @return [String]
2549
+ #
2550
+ # @!attribute [rw] status_message
2551
+ # If the job fails, `StatusMessage` provides a descriptive error
2552
+ # message.
2553
+ # @return [String]
2554
+ #
2555
+ # @!attribute [rw] video_metadata
2556
+ # Currently, Amazon Rekognition Video returns a single object in the
2557
+ # `VideoMetadata` array. The object contains information about the
2558
+ # video stream in the input file that Amazon Rekognition Video chose
2559
+ # to analyze. The `VideoMetadata` object includes the video codec,
2560
+ # video format and other information. Video metadata is returned in
2561
+ # each page of information returned by `GetSegmentDetection`.
2562
+ # @return [Array<Types::VideoMetadata>]
2563
+ #
2564
+ # @!attribute [rw] audio_metadata
2565
+ # An array of objects. There can be multiple audio streams. Each
2566
+ # `AudioMetadata` object contains metadata for a single audio stream.
2567
+ # Audio information in an `AudioMetadata` objects includes the audio
2568
+ # codec, the number of audio channels, the duration of the audio
2569
+ # stream, and the sample rate. Audio metadata is returned in each page
2570
+ # of information returned by `GetSegmentDetection`.
2571
+ # @return [Array<Types::AudioMetadata>]
2572
+ #
2573
+ # @!attribute [rw] next_token
2574
+ # If the previous response was incomplete (because there are more
2575
+ # labels to retrieve), Amazon Rekognition Video returns a pagination
2576
+ # token in the response. You can use this pagination token to retrieve
2577
+ # the next set of text.
2578
+ # @return [String]
2579
+ #
2580
+ # @!attribute [rw] segments
2581
+ # An array of segments detected in a video.
2582
+ # @return [Array<Types::SegmentDetection>]
2583
+ #
2584
+ # @!attribute [rw] selected_segment_types
2585
+ # An array containing the segment types requested in the call to
2586
+ # `StartSegmentDetection`.
2587
+ # @return [Array<Types::SegmentTypeInfo>]
2588
+ #
2589
+ class GetSegmentDetectionResponse < Struct.new(
2590
+ :job_status,
2591
+ :status_message,
2592
+ :video_metadata,
2593
+ :audio_metadata,
2594
+ :next_token,
2595
+ :segments,
2596
+ :selected_segment_types)
2597
+ SENSITIVE = []
2397
2598
  include Aws::Structure
2398
2599
  end
2399
2600
 
@@ -2407,7 +2608,7 @@ module Aws::Rekognition
2407
2608
  # }
2408
2609
  #
2409
2610
  # @!attribute [rw] job_id
2410
- # Job identifier for the label detection operation for which you want
2611
+ # Job identifier for the text detection operation for which you want
2411
2612
  # results returned. You get the job identifer from an initial call to
2412
2613
  # `StartTextDetection`.
2413
2614
  # @return [String]
@@ -2428,6 +2629,7 @@ module Aws::Rekognition
2428
2629
  :job_id,
2429
2630
  :max_results,
2430
2631
  :next_token)
2632
+ SENSITIVE = []
2431
2633
  include Aws::Structure
2432
2634
  end
2433
2635
 
@@ -2470,6 +2672,7 @@ module Aws::Rekognition
2470
2672
  :text_detections,
2471
2673
  :next_token,
2472
2674
  :text_model_version)
2675
+ SENSITIVE = []
2473
2676
  include Aws::Structure
2474
2677
  end
2475
2678
 
@@ -2499,6 +2702,7 @@ module Aws::Rekognition
2499
2702
  #
2500
2703
  class GroundTruthManifest < Struct.new(
2501
2704
  :s3_object)
2705
+ SENSITIVE = []
2502
2706
  include Aws::Structure
2503
2707
  end
2504
2708
 
@@ -2522,6 +2726,7 @@ module Aws::Rekognition
2522
2726
  :human_loop_arn,
2523
2727
  :human_loop_activation_reasons,
2524
2728
  :human_loop_activation_conditions_evaluation_results)
2729
+ SENSITIVE = []
2525
2730
  include Aws::Structure
2526
2731
  end
2527
2732
 
@@ -2546,7 +2751,13 @@ module Aws::Rekognition
2546
2751
  # @return [String]
2547
2752
  #
2548
2753
  # @!attribute [rw] flow_definition_arn
2549
- # The Amazon Resource Name (ARN) of the flow definition.
2754
+ # The Amazon Resource Name (ARN) of the flow definition. You can
2755
+ # create a flow definition by using the Amazon Sagemaker
2756
+ # [CreateFlowDefinition][1] Operation.
2757
+ #
2758
+ #
2759
+ #
2760
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateFlowDefinition.html
2550
2761
  # @return [String]
2551
2762
  #
2552
2763
  # @!attribute [rw] data_attributes
@@ -2557,6 +2768,7 @@ module Aws::Rekognition
2557
2768
  :human_loop_name,
2558
2769
  :flow_definition_arn,
2559
2770
  :data_attributes)
2771
+ SENSITIVE = []
2560
2772
  include Aws::Structure
2561
2773
  end
2562
2774
 
@@ -2577,6 +2789,7 @@ module Aws::Rekognition
2577
2789
  #
2578
2790
  class HumanLoopDataAttributes < Struct.new(
2579
2791
  :content_classifiers)
2792
+ SENSITIVE = []
2580
2793
  include Aws::Structure
2581
2794
  end
2582
2795
 
@@ -2584,18 +2797,22 @@ module Aws::Rekognition
2584
2797
  # number allowed.
2585
2798
  #
2586
2799
  # @!attribute [rw] resource_type
2800
+ # The resource type.
2587
2801
  # @return [String]
2588
2802
  #
2589
2803
  # @!attribute [rw] quota_code
2804
+ # The quota code.
2590
2805
  # @return [String]
2591
2806
  #
2592
2807
  # @!attribute [rw] service_code
2808
+ # The service code.
2593
2809
  # @return [String]
2594
2810
  #
2595
2811
  class HumanLoopQuotaExceededException < Struct.new(
2596
2812
  :resource_type,
2597
2813
  :quota_code,
2598
2814
  :service_code)
2815
+ SENSITIVE = []
2599
2816
  include Aws::Structure
2600
2817
  end
2601
2818
 
@@ -2656,6 +2873,7 @@ module Aws::Rekognition
2656
2873
  class Image < Struct.new(
2657
2874
  :bytes,
2658
2875
  :s3_object)
2876
+ SENSITIVE = []
2659
2877
  include Aws::Structure
2660
2878
  end
2661
2879
 
@@ -2676,6 +2894,7 @@ module Aws::Rekognition
2676
2894
  class ImageQuality < Struct.new(
2677
2895
  :brightness,
2678
2896
  :sharpness)
2897
+ SENSITIVE = []
2679
2898
  include Aws::Structure
2680
2899
  end
2681
2900
 
@@ -2782,6 +3001,7 @@ module Aws::Rekognition
2782
3001
  :detection_attributes,
2783
3002
  :max_faces,
2784
3003
  :quality_filter)
3004
+ SENSITIVE = []
2785
3005
  include Aws::Structure
2786
3006
  end
2787
3007
 
@@ -2838,6 +3058,7 @@ module Aws::Rekognition
2838
3058
  :orientation_correction,
2839
3059
  :face_model_version,
2840
3060
  :unindexed_faces)
3061
+ SENSITIVE = []
2841
3062
  include Aws::Structure
2842
3063
  end
2843
3064
 
@@ -2856,6 +3077,7 @@ module Aws::Rekognition
2856
3077
  class Instance < Struct.new(
2857
3078
  :bounding_box,
2858
3079
  :confidence)
3080
+ SENSITIVE = []
2859
3081
  include Aws::Structure
2860
3082
  end
2861
3083
 
@@ -2899,6 +3121,7 @@ module Aws::Rekognition
2899
3121
  #
2900
3122
  class KinesisDataStream < Struct.new(
2901
3123
  :arn)
3124
+ SENSITIVE = []
2902
3125
  include Aws::Structure
2903
3126
  end
2904
3127
 
@@ -2920,6 +3143,7 @@ module Aws::Rekognition
2920
3143
  #
2921
3144
  class KinesisVideoStream < Struct.new(
2922
3145
  :arn)
3146
+ SENSITIVE = []
2923
3147
  include Aws::Structure
2924
3148
  end
2925
3149
 
@@ -2951,6 +3175,7 @@ module Aws::Rekognition
2951
3175
  :confidence,
2952
3176
  :instances,
2953
3177
  :parents)
3178
+ SENSITIVE = []
2954
3179
  include Aws::Structure
2955
3180
  end
2956
3181
 
@@ -2969,6 +3194,7 @@ module Aws::Rekognition
2969
3194
  class LabelDetection < Struct.new(
2970
3195
  :timestamp,
2971
3196
  :label)
3197
+ SENSITIVE = []
2972
3198
  include Aws::Structure
2973
3199
  end
2974
3200
 
@@ -2996,6 +3222,7 @@ module Aws::Rekognition
2996
3222
  :type,
2997
3223
  :x,
2998
3224
  :y)
3225
+ SENSITIVE = []
2999
3226
  include Aws::Structure
3000
3227
  end
3001
3228
 
@@ -3027,6 +3254,7 @@ module Aws::Rekognition
3027
3254
  class ListCollectionsRequest < Struct.new(
3028
3255
  :next_token,
3029
3256
  :max_results)
3257
+ SENSITIVE = []
3030
3258
  include Aws::Structure
3031
3259
  end
3032
3260
 
@@ -3051,6 +3279,7 @@ module Aws::Rekognition
3051
3279
  :collection_ids,
3052
3280
  :next_token,
3053
3281
  :face_model_versions)
3282
+ SENSITIVE = []
3054
3283
  include Aws::Structure
3055
3284
  end
3056
3285
 
@@ -3082,6 +3311,7 @@ module Aws::Rekognition
3082
3311
  :collection_id,
3083
3312
  :next_token,
3084
3313
  :max_results)
3314
+ SENSITIVE = []
3085
3315
  include Aws::Structure
3086
3316
  end
3087
3317
 
@@ -3104,6 +3334,7 @@ module Aws::Rekognition
3104
3334
  :faces,
3105
3335
  :next_token,
3106
3336
  :face_model_version)
3337
+ SENSITIVE = []
3107
3338
  include Aws::Structure
3108
3339
  end
3109
3340
 
@@ -3130,6 +3361,7 @@ module Aws::Rekognition
3130
3361
  class ListStreamProcessorsRequest < Struct.new(
3131
3362
  :next_token,
3132
3363
  :max_results)
3364
+ SENSITIVE = []
3133
3365
  include Aws::Structure
3134
3366
  end
3135
3367
 
@@ -3146,6 +3378,7 @@ module Aws::Rekognition
3146
3378
  class ListStreamProcessorsResponse < Struct.new(
3147
3379
  :next_token,
3148
3380
  :stream_processors)
3381
+ SENSITIVE = []
3149
3382
  include Aws::Structure
3150
3383
  end
3151
3384
 
@@ -3176,6 +3409,7 @@ module Aws::Rekognition
3176
3409
  :confidence,
3177
3410
  :name,
3178
3411
  :parent_name)
3412
+ SENSITIVE = []
3179
3413
  include Aws::Structure
3180
3414
  end
3181
3415
 
@@ -3194,6 +3428,7 @@ module Aws::Rekognition
3194
3428
  class MouthOpen < Struct.new(
3195
3429
  :value,
3196
3430
  :confidence)
3431
+ SENSITIVE = []
3197
3432
  include Aws::Structure
3198
3433
  end
3199
3434
 
@@ -3211,6 +3446,7 @@ module Aws::Rekognition
3211
3446
  class Mustache < Struct.new(
3212
3447
  :value,
3213
3448
  :confidence)
3449
+ SENSITIVE = []
3214
3450
  include Aws::Structure
3215
3451
  end
3216
3452
 
@@ -3239,6 +3475,7 @@ module Aws::Rekognition
3239
3475
  class NotificationChannel < Struct.new(
3240
3476
  :sns_topic_arn,
3241
3477
  :role_arn)
3478
+ SENSITIVE = []
3242
3479
  include Aws::Structure
3243
3480
  end
3244
3481
 
@@ -3263,6 +3500,7 @@ module Aws::Rekognition
3263
3500
  class OutputConfig < Struct.new(
3264
3501
  :s3_bucket,
3265
3502
  :s3_key_prefix)
3503
+ SENSITIVE = []
3266
3504
  include Aws::Structure
3267
3505
  end
3268
3506
 
@@ -3274,6 +3512,7 @@ module Aws::Rekognition
3274
3512
  #
3275
3513
  class Parent < Struct.new(
3276
3514
  :name)
3515
+ SENSITIVE = []
3277
3516
  include Aws::Structure
3278
3517
  end
3279
3518
 
@@ -3297,6 +3536,7 @@ module Aws::Rekognition
3297
3536
  :index,
3298
3537
  :bounding_box,
3299
3538
  :face)
3539
+ SENSITIVE = []
3300
3540
  include Aws::Structure
3301
3541
  end
3302
3542
 
@@ -3320,6 +3560,7 @@ module Aws::Rekognition
3320
3560
  class PersonDetection < Struct.new(
3321
3561
  :timestamp,
3322
3562
  :person)
3563
+ SENSITIVE = []
3323
3564
  include Aws::Structure
3324
3565
  end
3325
3566
 
@@ -3348,6 +3589,7 @@ module Aws::Rekognition
3348
3589
  :timestamp,
3349
3590
  :person,
3350
3591
  :face_matches)
3592
+ SENSITIVE = []
3351
3593
  include Aws::Structure
3352
3594
  end
3353
3595
 
@@ -3372,6 +3614,7 @@ module Aws::Rekognition
3372
3614
  class Point < Struct.new(
3373
3615
  :x,
3374
3616
  :y)
3617
+ SENSITIVE = []
3375
3618
  include Aws::Structure
3376
3619
  end
3377
3620
 
@@ -3394,6 +3637,7 @@ module Aws::Rekognition
3394
3637
  :roll,
3395
3638
  :yaw,
3396
3639
  :pitch)
3640
+ SENSITIVE = []
3397
3641
  include Aws::Structure
3398
3642
  end
3399
3643
 
@@ -3416,6 +3660,7 @@ module Aws::Rekognition
3416
3660
  :project_arn,
3417
3661
  :creation_timestamp,
3418
3662
  :status)
3663
+ SENSITIVE = []
3419
3664
  include Aws::Structure
3420
3665
  end
3421
3666
 
@@ -3481,6 +3726,7 @@ module Aws::Rekognition
3481
3726
  :training_data_result,
3482
3727
  :testing_data_result,
3483
3728
  :evaluation_result)
3729
+ SENSITIVE = []
3484
3730
  include Aws::Structure
3485
3731
  end
3486
3732
 
@@ -3516,6 +3762,7 @@ module Aws::Rekognition
3516
3762
  #
3517
3763
  class RecognizeCelebritiesRequest < Struct.new(
3518
3764
  :image)
3765
+ SENSITIVE = []
3519
3766
  include Aws::Structure
3520
3767
  end
3521
3768
 
@@ -3551,6 +3798,7 @@ module Aws::Rekognition
3551
3798
  :celebrity_faces,
3552
3799
  :unrecognized_faces,
3553
3800
  :orientation_correction)
3801
+ SENSITIVE = []
3554
3802
  include Aws::Structure
3555
3803
  end
3556
3804
 
@@ -3580,6 +3828,7 @@ module Aws::Rekognition
3580
3828
  #
3581
3829
  class RegionOfInterest < Struct.new(
3582
3830
  :bounding_box)
3831
+ SENSITIVE = []
3583
3832
  include Aws::Structure
3584
3833
  end
3585
3834
 
@@ -3587,6 +3836,8 @@ module Aws::Rekognition
3587
3836
  #
3588
3837
  class ResourceAlreadyExistsException < Aws::EmptyStructure; end
3589
3838
 
3839
+ # The specified resource is already being used.
3840
+ #
3590
3841
  class ResourceInUseException < Aws::EmptyStructure; end
3591
3842
 
3592
3843
  # The collection specified in the request cannot be found.
@@ -3634,6 +3885,7 @@ module Aws::Rekognition
3634
3885
  :bucket,
3635
3886
  :name,
3636
3887
  :version)
3888
+ SENSITIVE = []
3637
3889
  include Aws::Structure
3638
3890
  end
3639
3891
 
@@ -3703,6 +3955,7 @@ module Aws::Rekognition
3703
3955
  :max_faces,
3704
3956
  :face_match_threshold,
3705
3957
  :quality_filter)
3958
+ SENSITIVE = []
3706
3959
  include Aws::Structure
3707
3960
  end
3708
3961
 
@@ -3731,6 +3984,7 @@ module Aws::Rekognition
3731
3984
  :searched_face_confidence,
3732
3985
  :face_matches,
3733
3986
  :face_model_version)
3987
+ SENSITIVE = []
3734
3988
  include Aws::Structure
3735
3989
  end
3736
3990
 
@@ -3768,6 +4022,7 @@ module Aws::Rekognition
3768
4022
  :face_id,
3769
4023
  :max_faces,
3770
4024
  :face_match_threshold)
4025
+ SENSITIVE = []
3771
4026
  include Aws::Structure
3772
4027
  end
3773
4028
 
@@ -3789,6 +4044,109 @@ module Aws::Rekognition
3789
4044
  :searched_face_id,
3790
4045
  :face_matches,
3791
4046
  :face_model_version)
4047
+ SENSITIVE = []
4048
+ include Aws::Structure
4049
+ end
4050
+
4051
+ # A technical cue or shot detection segment detected in a video. An
4052
+ # array of `SegmentDetection` objects containing all segments detected
4053
+ # in a stored video is returned by GetSegmentDetection.
4054
+ #
4055
+ # @!attribute [rw] type
4056
+ # The type of the segment. Valid values are `TECHNICAL_CUE` and
4057
+ # `SHOT`.
4058
+ # @return [String]
4059
+ #
4060
+ # @!attribute [rw] start_timestamp_millis
4061
+ # The start time of the detected segment in milliseconds from the
4062
+ # start of the video.
4063
+ # @return [Integer]
4064
+ #
4065
+ # @!attribute [rw] end_timestamp_millis
4066
+ # The end time of the detected segment, in milliseconds, from the
4067
+ # start of the video.
4068
+ # @return [Integer]
4069
+ #
4070
+ # @!attribute [rw] duration_millis
4071
+ # The duration of the detected segment in milliseconds.
4072
+ # @return [Integer]
4073
+ #
4074
+ # @!attribute [rw] start_timecode_smpte
4075
+ # The frame-accurate SMPTE timecode, from the start of a video, for
4076
+ # the start of a detected segment. `StartTimecode` is in *HH:MM:SS:fr*
4077
+ # format (and *;fr* for drop frame-rates).
4078
+ # @return [String]
4079
+ #
4080
+ # @!attribute [rw] end_timecode_smpte
4081
+ # The frame-accurate SMPTE timecode, from the start of a video, for
4082
+ # the end of a detected segment. `EndTimecode` is in *HH:MM:SS:fr*
4083
+ # format (and *;fr* for drop frame-rates).
4084
+ # @return [String]
4085
+ #
4086
+ # @!attribute [rw] duration_smpte
4087
+ # The duration of the timecode for the detected segment in SMPTE
4088
+ # format.
4089
+ # @return [String]
4090
+ #
4091
+ # @!attribute [rw] technical_cue_segment
4092
+ # If the segment is a technical cue, contains information about the
4093
+ # technical cue.
4094
+ # @return [Types::TechnicalCueSegment]
4095
+ #
4096
+ # @!attribute [rw] shot_segment
4097
+ # If the segment is a shot detection, contains information about the
4098
+ # shot detection.
4099
+ # @return [Types::ShotSegment]
4100
+ #
4101
+ class SegmentDetection < Struct.new(
4102
+ :type,
4103
+ :start_timestamp_millis,
4104
+ :end_timestamp_millis,
4105
+ :duration_millis,
4106
+ :start_timecode_smpte,
4107
+ :end_timecode_smpte,
4108
+ :duration_smpte,
4109
+ :technical_cue_segment,
4110
+ :shot_segment)
4111
+ SENSITIVE = []
4112
+ include Aws::Structure
4113
+ end
4114
+
4115
+ # Information about the type of a segment requested in a call to
4116
+ # StartSegmentDetection. An array of `SegmentTypeInfo` objects is
4117
+ # returned by the response from GetSegmentDetection.
4118
+ #
4119
+ # @!attribute [rw] type
4120
+ # The type of a segment (technical cue or shot detection).
4121
+ # @return [String]
4122
+ #
4123
+ # @!attribute [rw] model_version
4124
+ # The version of the model used to detect segments.
4125
+ # @return [String]
4126
+ #
4127
+ class SegmentTypeInfo < Struct.new(
4128
+ :type,
4129
+ :model_version)
4130
+ SENSITIVE = []
4131
+ include Aws::Structure
4132
+ end
4133
+
4134
+ # Information about a shot detection segment detected in a video. For
4135
+ # more information, see SegmentDetection.
4136
+ #
4137
+ # @!attribute [rw] index
4138
+ # An Identifier for a shot detection segment detected in a video
4139
+ # @return [Integer]
4140
+ #
4141
+ # @!attribute [rw] confidence
4142
+ # The confidence that Amazon Rekognition Video has in the accuracy of
4143
+ # the detected segment.
4144
+ # @return [Float]
4145
+ #
4146
+ class ShotSegment < Struct.new(
4147
+ :index,
4148
+ :confidence)
4149
+ SENSITIVE = []
3792
4150
  include Aws::Structure
3793
4151
  end
3794
4152
 
@@ -3806,6 +4164,7 @@ module Aws::Rekognition
3806
4164
  class Smile < Struct.new(
3807
4165
  :value,
3808
4166
  :confidence)
4167
+ SENSITIVE = []
3809
4168
  include Aws::Structure
3810
4169
  end
3811
4170
 
@@ -3858,6 +4217,7 @@ module Aws::Rekognition
3858
4217
  :client_request_token,
3859
4218
  :notification_channel,
3860
4219
  :job_tag)
4220
+ SENSITIVE = []
3861
4221
  include Aws::Structure
3862
4222
  end
3863
4223
 
@@ -3869,6 +4229,7 @@ module Aws::Rekognition
3869
4229
  #
3870
4230
  class StartCelebrityRecognitionResponse < Struct.new(
3871
4231
  :job_id)
4232
+ SENSITIVE = []
3872
4233
  include Aws::Structure
3873
4234
  end
3874
4235
 
@@ -3933,6 +4294,7 @@ module Aws::Rekognition
3933
4294
  :client_request_token,
3934
4295
  :notification_channel,
3935
4296
  :job_tag)
4297
+ SENSITIVE = []
3936
4298
  include Aws::Structure
3937
4299
  end
3938
4300
 
@@ -3943,6 +4305,7 @@ module Aws::Rekognition
3943
4305
  #
3944
4306
  class StartContentModerationResponse < Struct.new(
3945
4307
  :job_id)
4308
+ SENSITIVE = []
3946
4309
  include Aws::Structure
3947
4310
  end
3948
4311
 
@@ -4006,6 +4369,7 @@ module Aws::Rekognition
4006
4369
  :notification_channel,
4007
4370
  :face_attributes,
4008
4371
  :job_tag)
4372
+ SENSITIVE = []
4009
4373
  include Aws::Structure
4010
4374
  end
4011
4375
 
@@ -4016,6 +4380,7 @@ module Aws::Rekognition
4016
4380
  #
4017
4381
  class StartFaceDetectionResponse < Struct.new(
4018
4382
  :job_id)
4383
+ SENSITIVE = []
4019
4384
  include Aws::Structure
4020
4385
  end
4021
4386
 
@@ -4081,6 +4446,7 @@ module Aws::Rekognition
4081
4446
  :collection_id,
4082
4447
  :notification_channel,
4083
4448
  :job_tag)
4449
+ SENSITIVE = []
4084
4450
  include Aws::Structure
4085
4451
  end
4086
4452
 
@@ -4091,6 +4457,7 @@ module Aws::Rekognition
4091
4457
  #
4092
4458
  class StartFaceSearchResponse < Struct.new(
4093
4459
  :job_id)
4460
+ SENSITIVE = []
4094
4461
  include Aws::Structure
4095
4462
  end
4096
4463
 
@@ -4156,6 +4523,7 @@ module Aws::Rekognition
4156
4523
  :min_confidence,
4157
4524
  :notification_channel,
4158
4525
  :job_tag)
4526
+ SENSITIVE = []
4159
4527
  include Aws::Structure
4160
4528
  end
4161
4529
 
@@ -4166,6 +4534,7 @@ module Aws::Rekognition
4166
4534
  #
4167
4535
  class StartLabelDetectionResponse < Struct.new(
4168
4536
  :job_id)
4537
+ SENSITIVE = []
4169
4538
  include Aws::Structure
4170
4539
  end
4171
4540
 
@@ -4217,6 +4586,7 @@ module Aws::Rekognition
4217
4586
  :client_request_token,
4218
4587
  :notification_channel,
4219
4588
  :job_tag)
4589
+ SENSITIVE = []
4220
4590
  include Aws::Structure
4221
4591
  end
4222
4592
 
@@ -4227,6 +4597,7 @@ module Aws::Rekognition
4227
4597
  #
4228
4598
  class StartPersonTrackingResponse < Struct.new(
4229
4599
  :job_id)
4600
+ SENSITIVE = []
4230
4601
  include Aws::Structure
4231
4602
  end
4232
4603
 
@@ -4254,6 +4625,7 @@ module Aws::Rekognition
4254
4625
  class StartProjectVersionRequest < Struct.new(
4255
4626
  :project_version_arn,
4256
4627
  :min_inference_units)
4628
+ SENSITIVE = []
4257
4629
  include Aws::Structure
4258
4630
  end
4259
4631
 
@@ -4263,6 +4635,153 @@ module Aws::Rekognition
4263
4635
  #
4264
4636
  class StartProjectVersionResponse < Struct.new(
4265
4637
  :status)
4638
+ SENSITIVE = []
4639
+ include Aws::Structure
4640
+ end
4641
+
4642
+ # Filters applied to the technical cue or shot detection segments. For
4643
+ # more information, see StartSegmentDetection.
4644
+ #
4645
+ # @note When making an API call, you may pass StartSegmentDetectionFilters
4646
+ # data as a hash:
4647
+ #
4648
+ # {
4649
+ # technical_cue_filter: {
4650
+ # min_segment_confidence: 1.0,
4651
+ # },
4652
+ # shot_filter: {
4653
+ # min_segment_confidence: 1.0,
4654
+ # },
4655
+ # }
4656
+ #
4657
+ # @!attribute [rw] technical_cue_filter
4658
+ # Filters that are specific to technical cues.
4659
+ # @return [Types::StartTechnicalCueDetectionFilter]
4660
+ #
4661
+ # @!attribute [rw] shot_filter
4662
+ # Filters that are specific to shot detections.
4663
+ # @return [Types::StartShotDetectionFilter]
4664
+ #
4665
+ class StartSegmentDetectionFilters < Struct.new(
4666
+ :technical_cue_filter,
4667
+ :shot_filter)
4668
+ SENSITIVE = []
4669
+ include Aws::Structure
4670
+ end
4671
+
4672
+ # @note When making an API call, you may pass StartSegmentDetectionRequest
4673
+ # data as a hash:
4674
+ #
4675
+ # {
4676
+ # video: { # required
4677
+ # s3_object: {
4678
+ # bucket: "S3Bucket",
4679
+ # name: "S3ObjectName",
4680
+ # version: "S3ObjectVersion",
4681
+ # },
4682
+ # },
4683
+ # client_request_token: "ClientRequestToken",
4684
+ # notification_channel: {
4685
+ # sns_topic_arn: "SNSTopicArn", # required
4686
+ # role_arn: "RoleArn", # required
4687
+ # },
4688
+ # job_tag: "JobTag",
4689
+ # filters: {
4690
+ # technical_cue_filter: {
4691
+ # min_segment_confidence: 1.0,
4692
+ # },
4693
+ # shot_filter: {
4694
+ # min_segment_confidence: 1.0,
4695
+ # },
4696
+ # },
4697
+ # segment_types: ["TECHNICAL_CUE"], # required, accepts TECHNICAL_CUE, SHOT
4698
+ # }
4699
+ #
4700
+ # @!attribute [rw] video
4701
+ # Video file stored in an Amazon S3 bucket. Amazon Rekognition video
4702
+ # start operations such as StartLabelDetection use `Video` to specify
4703
+ # a video for analysis. The supported file formats are .mp4, .mov and
4704
+ # .avi.
4705
+ # @return [Types::Video]
4706
+ #
4707
+ # @!attribute [rw] client_request_token
4708
+ # Idempotent token used to identify the start request. If you use the
4709
+ # same token with multiple `StartSegmentDetection` requests, the same
4710
+ # `JobId` is returned. Use `ClientRequestToken` to prevent the same
4711
+ # job from being accidently started more than once.
4712
+ # @return [String]
4713
+ #
4714
+ # @!attribute [rw] notification_channel
4715
+ # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4716
+ # Video to publish the completion status of the segment detection
4717
+ # operation.
4718
+ # @return [Types::NotificationChannel]
4719
+ #
4720
+ # @!attribute [rw] job_tag
4721
+ # An identifier you specify that's returned in the completion
4722
+ # notification that's published to your Amazon Simple Notification
4723
+ # Service topic. For example, you can use `JobTag` to group related
4724
+ # jobs and identify them in the completion notification.
4725
+ # @return [String]
4726
+ #
4727
+ # @!attribute [rw] filters
4728
+ # Filters for technical cue or shot detection.
4729
+ # @return [Types::StartSegmentDetectionFilters]
4730
+ #
4731
+ # @!attribute [rw] segment_types
4732
+ # An array of segment types to detect in the video. Valid values are
4733
+ # TECHNICAL\_CUE and SHOT.
4734
+ # @return [Array<String>]
4735
+ #
4736
+ class StartSegmentDetectionRequest < Struct.new(
4737
+ :video,
4738
+ :client_request_token,
4739
+ :notification_channel,
4740
+ :job_tag,
4741
+ :filters,
4742
+ :segment_types)
4743
+ SENSITIVE = []
4744
+ include Aws::Structure
4745
+ end
4746
+
4747
+ # @!attribute [rw] job_id
4748
+ # Unique identifier for the segment detection job. The `JobId` is
4749
+ # returned from `StartSegmentDetection`.
4750
+ # @return [String]
4751
+ #
4752
+ class StartSegmentDetectionResponse < Struct.new(
4753
+ :job_id)
4754
+ SENSITIVE = []
4755
+ include Aws::Structure
4756
+ end
4757
+
4758
+ # Filters for the shot detection segments returned by
4759
+ # `GetSegmentDetection`. For more information, see
4760
+ # StartSegmentDetectionFilters.
4761
+ #
4762
+ # @note When making an API call, you may pass StartShotDetectionFilter
4763
+ # data as a hash:
4764
+ #
4765
+ # {
4766
+ # min_segment_confidence: 1.0,
4767
+ # }
4768
+ #
4769
+ # @!attribute [rw] min_segment_confidence
4770
+ # Specifies the minimum confidence that Amazon Rekognition Video must
4771
+ # have in order to return a detected segment. Confidence represents
4772
+ # how certain Amazon Rekognition is that a segment is correctly
4773
+ # identified. 0 is the lowest confidence. 100 is the highest
4774
+ # confidence. Amazon Rekognition Video doesn't return any segments
4775
+ # with a confidence level lower than this specified value.
4776
+ #
4777
+ # If you don't specify `MinSegmentConfidence`, the
4778
+ # `GetSegmentDetection` returns segments with confidence values
4779
+ # greater than or equal to 50 percent.
4780
+ # @return [Float]
4781
+ #
4782
+ class StartShotDetectionFilter < Struct.new(
4783
+ :min_segment_confidence)
4784
+ SENSITIVE = []
4266
4785
  include Aws::Structure
4267
4786
  end
4268
4787
 
@@ -4279,11 +4798,41 @@ module Aws::Rekognition
4279
4798
  #
4280
4799
  class StartStreamProcessorRequest < Struct.new(
4281
4800
  :name)
4801
+ SENSITIVE = []
4282
4802
  include Aws::Structure
4283
4803
  end
4284
4804
 
4285
4805
  class StartStreamProcessorResponse < Aws::EmptyStructure; end
4286
4806
 
4807
+ # Filters for the technical segments returned by GetSegmentDetection.
4808
+ # For more information, see StartSegmentDetectionFilters.
4809
+ #
4810
+ # @note When making an API call, you may pass StartTechnicalCueDetectionFilter
4811
+ # data as a hash:
4812
+ #
4813
+ # {
4814
+ # min_segment_confidence: 1.0,
4815
+ # }
4816
+ #
4817
+ # @!attribute [rw] min_segment_confidence
4818
+ # Specifies the minimum confidence that Amazon Rekognition Video must
4819
+ # have in order to return a detected segment. Confidence represents
4820
+ # how certain Amazon Rekognition is that a segment is correctly
4821
+ # identified. 0 is the lowest confidence. 100 is the highest
4822
+ # confidence. Amazon Rekognition Video doesn't return any segments
4823
+ # with a confidence level lower than this specified value.
4824
+ #
4825
+ # If you don't specify `MinSegmentConfidence`, `GetSegmentDetection`
4826
+ # returns segments with confidence values greater than or equal to 50
4827
+ # percent.
4828
+ # @return [Float]
4829
+ #
4830
+ class StartTechnicalCueDetectionFilter < Struct.new(
4831
+ :min_segment_confidence)
4832
+ SENSITIVE = []
4833
+ include Aws::Structure
4834
+ end
4835
+
4287
4836
  # Set of optional parameters that let you set the criteria text must
4288
4837
  # meet to be included in your response. `WordFilter` looks at a word's
4289
4838
  # height, width and minimum confidence. `RegionOfInterest` lets you set
@@ -4323,6 +4872,7 @@ module Aws::Rekognition
4323
4872
  class StartTextDetectionFilters < Struct.new(
4324
4873
  :word_filter,
4325
4874
  :regions_of_interest)
4875
+ SENSITIVE = []
4326
4876
  include Aws::Structure
4327
4877
  end
4328
4878
 
@@ -4400,6 +4950,7 @@ module Aws::Rekognition
4400
4950
  :notification_channel,
4401
4951
  :job_tag,
4402
4952
  :filters)
4953
+ SENSITIVE = []
4403
4954
  include Aws::Structure
4404
4955
  end
4405
4956
 
@@ -4410,6 +4961,7 @@ module Aws::Rekognition
4410
4961
  #
4411
4962
  class StartTextDetectionResponse < Struct.new(
4412
4963
  :job_id)
4964
+ SENSITIVE = []
4413
4965
  include Aws::Structure
4414
4966
  end
4415
4967
 
@@ -4430,6 +4982,7 @@ module Aws::Rekognition
4430
4982
  #
4431
4983
  class StopProjectVersionRequest < Struct.new(
4432
4984
  :project_version_arn)
4985
+ SENSITIVE = []
4433
4986
  include Aws::Structure
4434
4987
  end
4435
4988
 
@@ -4439,6 +4992,7 @@ module Aws::Rekognition
4439
4992
  #
4440
4993
  class StopProjectVersionResponse < Struct.new(
4441
4994
  :status)
4995
+ SENSITIVE = []
4442
4996
  include Aws::Structure
4443
4997
  end
4444
4998
 
@@ -4455,6 +5009,7 @@ module Aws::Rekognition
4455
5009
  #
4456
5010
  class StopStreamProcessorRequest < Struct.new(
4457
5011
  :name)
5012
+ SENSITIVE = []
4458
5013
  include Aws::Structure
4459
5014
  end
4460
5015
 
@@ -4478,6 +5033,7 @@ module Aws::Rekognition
4478
5033
  class StreamProcessor < Struct.new(
4479
5034
  :name,
4480
5035
  :status)
5036
+ SENSITIVE = []
4481
5037
  include Aws::Structure
4482
5038
  end
4483
5039
 
@@ -4499,6 +5055,7 @@ module Aws::Rekognition
4499
5055
  #
4500
5056
  class StreamProcessorInput < Struct.new(
4501
5057
  :kinesis_video_stream)
5058
+ SENSITIVE = []
4502
5059
  include Aws::Structure
4503
5060
  end
4504
5061
 
@@ -4523,6 +5080,7 @@ module Aws::Rekognition
4523
5080
  #
4524
5081
  class StreamProcessorOutput < Struct.new(
4525
5082
  :kinesis_data_stream)
5083
+ SENSITIVE = []
4526
5084
  include Aws::Structure
4527
5085
  end
4528
5086
 
@@ -4545,6 +5103,7 @@ module Aws::Rekognition
4545
5103
  #
4546
5104
  class StreamProcessorSettings < Struct.new(
4547
5105
  :face_search)
5106
+ SENSITIVE = []
4548
5107
  include Aws::Structure
4549
5108
  end
4550
5109
 
@@ -4568,6 +5127,7 @@ module Aws::Rekognition
4568
5127
  #
4569
5128
  class Summary < Struct.new(
4570
5129
  :s3_object)
5130
+ SENSITIVE = []
4571
5131
  include Aws::Structure
4572
5132
  end
4573
5133
 
@@ -4586,6 +5146,26 @@ module Aws::Rekognition
4586
5146
  class Sunglasses < Struct.new(
4587
5147
  :value,
4588
5148
  :confidence)
5149
+ SENSITIVE = []
5150
+ include Aws::Structure
5151
+ end
5152
+
5153
+ # Information about a technical cue segment. For more information, see
5154
+ # SegmentDetection.
5155
+ #
5156
+ # @!attribute [rw] type
5157
+ # The type of the technical cue.
5158
+ # @return [String]
5159
+ #
5160
+ # @!attribute [rw] confidence
5161
+ # The confidence that Amazon Rekognition Video has in the accuracy of
5162
+ # the detected segment.
5163
+ # @return [Float]
5164
+ #
5165
+ class TechnicalCueSegment < Struct.new(
5166
+ :type,
5167
+ :confidence)
5168
+ SENSITIVE = []
4589
5169
  include Aws::Structure
4590
5170
  end
4591
5171
 
@@ -4623,6 +5203,7 @@ module Aws::Rekognition
4623
5203
  class TestingData < Struct.new(
4624
5204
  :assets,
4625
5205
  :auto_create)
5206
+ SENSITIVE = []
4626
5207
  include Aws::Structure
4627
5208
  end
4628
5209
 
@@ -4642,6 +5223,7 @@ module Aws::Rekognition
4642
5223
  class TestingDataResult < Struct.new(
4643
5224
  :input,
4644
5225
  :output)
5226
+ SENSITIVE = []
4645
5227
  include Aws::Structure
4646
5228
  end
4647
5229
 
@@ -4696,6 +5278,7 @@ module Aws::Rekognition
4696
5278
  :parent_id,
4697
5279
  :confidence,
4698
5280
  :geometry)
5281
+ SENSITIVE = []
4699
5282
  include Aws::Structure
4700
5283
  end
4701
5284
 
@@ -4715,6 +5298,7 @@ module Aws::Rekognition
4715
5298
  class TextDetectionResult < Struct.new(
4716
5299
  :timestamp,
4717
5300
  :text_detection)
5301
+ SENSITIVE = []
4718
5302
  include Aws::Structure
4719
5303
  end
4720
5304
 
@@ -4749,6 +5333,7 @@ module Aws::Rekognition
4749
5333
  #
4750
5334
  class TrainingData < Struct.new(
4751
5335
  :assets)
5336
+ SENSITIVE = []
4752
5337
  include Aws::Structure
4753
5338
  end
4754
5339
 
@@ -4767,6 +5352,7 @@ module Aws::Rekognition
4767
5352
  class TrainingDataResult < Struct.new(
4768
5353
  :input,
4769
5354
  :output)
5355
+ SENSITIVE = []
4770
5356
  include Aws::Structure
4771
5357
  end
4772
5358
 
@@ -4801,6 +5387,7 @@ module Aws::Rekognition
4801
5387
  class UnindexedFace < Struct.new(
4802
5388
  :reasons,
4803
5389
  :face_detail)
5390
+ SENSITIVE = []
4804
5391
  include Aws::Structure
4805
5392
  end
4806
5393
 
@@ -4826,6 +5413,7 @@ module Aws::Rekognition
4826
5413
  #
4827
5414
  class Video < Struct.new(
4828
5415
  :s3_object)
5416
+ SENSITIVE = []
4829
5417
  include Aws::Structure
4830
5418
  end
4831
5419
 
@@ -4864,6 +5452,7 @@ module Aws::Rekognition
4864
5452
  :frame_rate,
4865
5453
  :frame_height,
4866
5454
  :frame_width)
5455
+ SENSITIVE = []
4867
5456
  include Aws::Structure
4868
5457
  end
4869
5458