aws-sdk-rekognition 1.53.0 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee84fb06704b864d6e850935c0993d13504308dedc59832df63b554951454aa3
4
- data.tar.gz: 573db1696cc9ca01596429f839d5c5c0a07699ac1b07b82e49f9b2ffd877557e
3
+ metadata.gz: 3be2c5689e792a068c696e416622e79a1ef01e2564a6b77a58bd7f9764cdcce9
4
+ data.tar.gz: 8275849761b724ea256aeb308d281c254f1a46ae0694b0d9a50a81e6e3552073
5
5
  SHA512:
6
- metadata.gz: 557d2ad9853c265c10e5b39194e0e22e42405d5d9dfd47198b9234ce9d778c3fa40ae10116f3095e3e436da3cfbddaa75e247b70de2e92c9bfc471ff7d5a94fb
7
- data.tar.gz: 732dba155b2df524eb3f6e5cf9b175eaeeadc4b477aa9b4e94a536252dd0f1a62cf0a6778ce9ee57c0743de6e8bf7114a5916361b8a42e33d896f174047d7f74
6
+ metadata.gz: b53c25a316b0643b6e26034e1f2aa209669fc550799b306e9fe2debc5d824314ac1bb0ec8f5c6663dd14c15203fa8e246504472f8969df8ab8a1fdf42e385e60
7
+ data.tar.gz: 28041784233e4cea2a86458435fcfb3a5f6c5f313ea202e80458c6580c13705d10b926281ac503987104902f32790be0e6fe12ddd8f25472f3304a5ac19df94b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2021-08-09)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for four new types of segments (opening credits, content segments, slates, and studio logos), improved accuracy for credits and shot detection and new filters to control black frame detection.
8
+
4
9
  1.53.0 (2021-07-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-rekognition/customizations'
49
49
  # @!group service
50
50
  module Aws::Rekognition
51
51
 
52
- GEM_VERSION = '1.53.0'
52
+ GEM_VERSION = '1.54.0'
53
53
 
54
54
  end
@@ -699,7 +699,9 @@ module Aws::Rekognition
699
699
  # A name for the version of the model. This value must be unique.
700
700
  #
701
701
  # @option params [required, Types::OutputConfig] :output_config
702
- # The Amazon S3 location to store the results of training.
702
+ # The Amazon S3 bucket location to store the results of training. The S3
703
+ # bucket can be in any AWS account as long as the caller has
704
+ # `s3:PutObject` permissions on the S3 bucket.
703
705
  #
704
706
  # @option params [required, Types::TrainingData] :training_data
705
707
  # The dataset to use for training.
@@ -713,11 +715,22 @@ module Aws::Rekognition
713
715
  # @option params [String] :kms_key_id
714
716
  # The identifier for your AWS Key Management Service (AWS KMS) customer
715
717
  # master key (CMK). You can supply the Amazon Resource Name (ARN) of
716
- # your CMK, the ID of your CMK, or an alias for your CMK. The key is
717
- # used to encrypt training and test images copied into the service for
718
- # model training. Your source images are unaffected. The key is also
719
- # used to encrypt training results and manifest files written to the
720
- # output Amazon S3 bucket (`OutputConfig`).
718
+ # your CMK, the ID of your CMK, an alias for your CMK, or an alias ARN.
719
+ # The key is used to encrypt training and test images copied into the
720
+ # service for model training. Your source images are unaffected. The key
721
+ # is also used to encrypt training results and manifest files written to
722
+ # the output Amazon S3 bucket (`OutputConfig`).
723
+ #
724
+ # If you choose to use your own CMK, you need the following permissions
725
+ # on the CMK.
726
+ #
727
+ # * kms:CreateGrant
728
+ #
729
+ # * kms:DescribeKey
730
+ #
731
+ # * kms:GenerateDataKey
732
+ #
733
+ # * kms:Decrypt
721
734
  #
722
735
  # If you don't specify a value for `KmsKeyId`, images copied into the
723
736
  # service are encrypted using a key that AWS owns and manages.
@@ -1990,7 +2003,7 @@ module Aws::Rekognition
1990
2003
  # the image.
1991
2004
  #
1992
2005
  # A word is one or more ISO basic latin script characters that are not
1993
- # separated by spaces. `DetectText` can detect up to 50 words in an
2006
+ # separated by spaces. `DetectText` can detect up to 100 words in an
1994
2007
  # image.
1995
2008
  #
1996
2009
  # A line is a string of equally spaced words. A line isn't necessarily
@@ -2225,6 +2238,7 @@ module Aws::Rekognition
2225
2238
  # resp.video_metadata.frame_rate #=> Float
2226
2239
  # resp.video_metadata.frame_height #=> Integer
2227
2240
  # resp.video_metadata.frame_width #=> Integer
2241
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2228
2242
  # resp.next_token #=> String
2229
2243
  # resp.celebrities #=> Array
2230
2244
  # resp.celebrities[0].timestamp #=> Integer
@@ -2280,26 +2294,29 @@ module Aws::Rekognition
2280
2294
  req.send_request(options)
2281
2295
  end
2282
2296
 
2283
- # Gets the unsafe content analysis results for a Amazon Rekognition
2284
- # Video analysis started by StartContentModeration.
2285
- #
2286
- # Unsafe content analysis of a video is an asynchronous operation. You
2287
- # start analysis by calling StartContentModeration which returns a job
2288
- # identifier (`JobId`). When analysis finishes, Amazon Rekognition Video
2289
- # publishes a completion status to the Amazon Simple Notification
2290
- # Service topic registered in the initial call to
2291
- # `StartContentModeration`. To get the results of the unsafe content
2292
- # analysis, first check that the status value published to the Amazon
2293
- # SNS topic is `SUCCEEDED`. If so, call `GetContentModeration` and pass
2294
- # the job identifier (`JobId`) from the initial call to
2295
- # `StartContentModeration`.
2297
+ # Gets the inappropriate, unwanted, or offensive content analysis
2298
+ # results for a Amazon Rekognition Video analysis started by
2299
+ # StartContentModeration. For a list of moderation labels in Amazon
2300
+ # Rekognition, see [Using the image and video moderation APIs][1].
2301
+ #
2302
+ # Amazon Rekognition Video inappropriate or offensive content detection
2303
+ # in a stored video is an asynchronous operation. You start analysis by
2304
+ # calling StartContentModeration which returns a job identifier
2305
+ # (`JobId`). When analysis finishes, Amazon Rekognition Video publishes
2306
+ # a completion status to the Amazon Simple Notification Service topic
2307
+ # registered in the initial call to `StartContentModeration`. To get the
2308
+ # results of the content analysis, first check that the status value
2309
+ # published to the Amazon SNS topic is `SUCCEEDED`. If so, call
2310
+ # `GetContentModeration` and pass the job identifier (`JobId`) from the
2311
+ # initial call to `StartContentModeration`.
2296
2312
  #
2297
2313
  # For more information, see Working with Stored Videos in the Amazon
2298
2314
  # Rekognition Devlopers Guide.
2299
2315
  #
2300
- # `GetContentModeration` returns detected unsafe content labels, and the
2301
- # time they are detected, in an array, `ModerationLabels`, of
2302
- # ContentModerationDetection objects.
2316
+ # `GetContentModeration` returns detected inappropriate, unwanted, or
2317
+ # offensive content moderation labels, and the time they are detected,
2318
+ # in an array, `ModerationLabels`, of ContentModerationDetection
2319
+ # objects.
2303
2320
  #
2304
2321
  # By default, the moderated labels are returned sorted by time, in
2305
2322
  # milliseconds from the start of the video. You can also sort them by
@@ -2314,12 +2331,17 @@ module Aws::Rekognition
2314
2331
  # and populate the `NextToken` request parameter with the value of
2315
2332
  # `NextToken` returned from the previous call to `GetContentModeration`.
2316
2333
  #
2317
- # For more information, see Detecting Unsafe Content in the Amazon
2318
- # Rekognition Developer Guide.
2334
+ # For more information, see Content moderation in the Amazon Rekognition
2335
+ # Developer Guide.
2336
+ #
2337
+ #
2338
+ #
2339
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api
2319
2340
  #
2320
2341
  # @option params [required, String] :job_id
2321
- # The identifier for the unsafe content job. Use `JobId` to identify the
2322
- # job in a subsequent call to `GetContentModeration`.
2342
+ # The identifier for the inappropriate, unwanted, or offensive content
2343
+ # moderation job. Use `JobId` to identify the job in a subsequent call
2344
+ # to `GetContentModeration`.
2323
2345
  #
2324
2346
  # @option params [Integer] :max_results
2325
2347
  # Maximum number of results to return per paginated call. The largest
@@ -2331,7 +2353,7 @@ module Aws::Rekognition
2331
2353
  # If the previous response was incomplete (because there is more data to
2332
2354
  # retrieve), Amazon Rekognition returns a pagination token in the
2333
2355
  # response. You can use this pagination token to retrieve the next set
2334
- # of unsafe content labels.
2356
+ # of content moderation labels.
2335
2357
  #
2336
2358
  # @option params [String] :sort_by
2337
2359
  # Sort to use for elements in the `ModerationLabelDetections` array. Use
@@ -2370,6 +2392,7 @@ module Aws::Rekognition
2370
2392
  # resp.video_metadata.frame_rate #=> Float
2371
2393
  # resp.video_metadata.frame_height #=> Integer
2372
2394
  # resp.video_metadata.frame_width #=> Integer
2395
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2373
2396
  # resp.moderation_labels #=> Array
2374
2397
  # resp.moderation_labels[0].timestamp #=> Integer
2375
2398
  # resp.moderation_labels[0].moderation_label.confidence #=> Float
@@ -2453,6 +2476,7 @@ module Aws::Rekognition
2453
2476
  # resp.video_metadata.frame_rate #=> Float
2454
2477
  # resp.video_metadata.frame_height #=> Integer
2455
2478
  # resp.video_metadata.frame_width #=> Integer
2479
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2456
2480
  # resp.next_token #=> String
2457
2481
  # resp.faces #=> Array
2458
2482
  # resp.faces[0].timestamp #=> Integer
@@ -2586,6 +2610,7 @@ module Aws::Rekognition
2586
2610
  # resp.video_metadata.frame_rate #=> Float
2587
2611
  # resp.video_metadata.frame_height #=> Integer
2588
2612
  # resp.video_metadata.frame_width #=> Integer
2613
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2589
2614
  # resp.persons #=> Array
2590
2615
  # resp.persons[0].timestamp #=> Integer
2591
2616
  # resp.persons[0].person.index #=> Integer
@@ -2733,6 +2758,7 @@ module Aws::Rekognition
2733
2758
  # resp.video_metadata.frame_rate #=> Float
2734
2759
  # resp.video_metadata.frame_height #=> Integer
2735
2760
  # resp.video_metadata.frame_width #=> Integer
2761
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2736
2762
  # resp.next_token #=> String
2737
2763
  # resp.labels #=> Array
2738
2764
  # resp.labels[0].timestamp #=> Integer
@@ -2846,6 +2872,7 @@ module Aws::Rekognition
2846
2872
  # resp.video_metadata.frame_rate #=> Float
2847
2873
  # resp.video_metadata.frame_height #=> Integer
2848
2874
  # resp.video_metadata.frame_width #=> Integer
2875
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
2849
2876
  # resp.next_token #=> String
2850
2877
  # resp.persons #=> Array
2851
2878
  # resp.persons[0].timestamp #=> Integer
@@ -2978,6 +3005,7 @@ module Aws::Rekognition
2978
3005
  # resp.video_metadata[0].frame_rate #=> Float
2979
3006
  # resp.video_metadata[0].frame_height #=> Integer
2980
3007
  # resp.video_metadata[0].frame_width #=> Integer
3008
+ # resp.video_metadata[0].color_range #=> String, one of "FULL", "LIMITED"
2981
3009
  # resp.audio_metadata #=> Array
2982
3010
  # resp.audio_metadata[0].codec #=> String
2983
3011
  # resp.audio_metadata[0].duration_millis #=> Integer
@@ -2992,10 +3020,13 @@ module Aws::Rekognition
2992
3020
  # resp.segments[0].start_timecode_smpte #=> String
2993
3021
  # resp.segments[0].end_timecode_smpte #=> String
2994
3022
  # resp.segments[0].duration_smpte #=> String
2995
- # resp.segments[0].technical_cue_segment.type #=> String, one of "ColorBars", "EndCredits", "BlackFrames"
3023
+ # resp.segments[0].technical_cue_segment.type #=> String, one of "ColorBars", "EndCredits", "BlackFrames", "OpeningCredits", "StudioLogo", "Slate", "Content"
2996
3024
  # resp.segments[0].technical_cue_segment.confidence #=> Float
2997
3025
  # resp.segments[0].shot_segment.index #=> Integer
2998
3026
  # resp.segments[0].shot_segment.confidence #=> Float
3027
+ # resp.segments[0].start_frame_number #=> Integer
3028
+ # resp.segments[0].end_frame_number #=> Integer
3029
+ # resp.segments[0].duration_frames #=> Integer
2999
3030
  # resp.selected_segment_types #=> Array
3000
3031
  # resp.selected_segment_types[0].type #=> String, one of "TECHNICAL_CUE", "SHOT"
3001
3032
  # resp.selected_segment_types[0].model_version #=> String
@@ -3082,6 +3113,7 @@ module Aws::Rekognition
3082
3113
  # resp.video_metadata.frame_rate #=> Float
3083
3114
  # resp.video_metadata.frame_height #=> Integer
3084
3115
  # resp.video_metadata.frame_width #=> Integer
3116
+ # resp.video_metadata.color_range #=> String, one of "FULL", "LIMITED"
3085
3117
  # resp.text_detections #=> Array
3086
3118
  # resp.text_detections[0].timestamp #=> Integer
3087
3119
  # resp.text_detections[0].text_detection.detected_text #=> String
@@ -4325,7 +4357,9 @@ module Aws::Rekognition
4325
4357
  # @option params [Types::NotificationChannel] :notification_channel
4326
4358
  # The Amazon SNS topic ARN that you want Amazon Rekognition Video to
4327
4359
  # publish the completion status of the celebrity recognition analysis
4328
- # to.
4360
+ # to. The Amazon SNS topic must have a topic name that begins with
4361
+ # *AmazonRekognition* if you are using the AmazonRekognitionServiceRole
4362
+ # permissions policy.
4329
4363
  #
4330
4364
  # @option params [String] :job_tag
4331
4365
  # An identifier you specify that's returned in the completion
@@ -4366,27 +4400,33 @@ module Aws::Rekognition
4366
4400
  req.send_request(options)
4367
4401
  end
4368
4402
 
4369
- # Starts asynchronous detection of unsafe content in a stored video.
4403
+ # Starts asynchronous detection of inappropriate, unwanted, or offensive
4404
+ # content in a stored video. For a list of moderation labels in Amazon
4405
+ # Rekognition, see [Using the image and video moderation APIs][1].
4370
4406
  #
4371
4407
  # Amazon Rekognition Video can moderate content in a video stored in an
4372
4408
  # Amazon S3 bucket. Use Video to specify the bucket name and the
4373
4409
  # filename of the video. `StartContentModeration` returns a job
4374
4410
  # identifier (`JobId`) which you use to get the results of the analysis.
4375
- # When unsafe content analysis is finished, Amazon Rekognition Video
4376
- # publishes a completion status to the Amazon Simple Notification
4377
- # Service topic that you specify in `NotificationChannel`.
4411
+ # When content analysis is finished, Amazon Rekognition Video publishes
4412
+ # a completion status to the Amazon Simple Notification Service topic
4413
+ # that you specify in `NotificationChannel`.
4378
4414
  #
4379
- # To get the results of the unsafe content analysis, first check that
4380
- # the status value published to the Amazon SNS topic is `SUCCEEDED`. If
4381
- # so, call GetContentModeration and pass the job identifier (`JobId`)
4382
- # from the initial call to `StartContentModeration`.
4415
+ # To get the results of the content analysis, first check that the
4416
+ # status value published to the Amazon SNS topic is `SUCCEEDED`. If so,
4417
+ # call GetContentModeration and pass the job identifier (`JobId`) from
4418
+ # the initial call to `StartContentModeration`.
4419
+ #
4420
+ # For more information, see Content moderation in the Amazon Rekognition
4421
+ # Developer Guide.
4383
4422
  #
4384
- # For more information, see Detecting Unsafe Content in the Amazon
4385
- # Rekognition Developer Guide.
4423
+ #
4424
+ #
4425
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api
4386
4426
  #
4387
4427
  # @option params [required, Types::Video] :video
4388
- # The video in which you want to detect unsafe content. The video must
4389
- # be stored in an Amazon S3 bucket.
4428
+ # The video in which you want to detect inappropriate, unwanted, or
4429
+ # offensive content. The video must be stored in an Amazon S3 bucket.
4390
4430
  #
4391
4431
  # @option params [Float] :min_confidence
4392
4432
  # Specifies the minimum confidence that Amazon Rekognition must have in
@@ -4406,7 +4446,10 @@ module Aws::Rekognition
4406
4446
  #
4407
4447
  # @option params [Types::NotificationChannel] :notification_channel
4408
4448
  # The Amazon SNS topic ARN that you want Amazon Rekognition Video to
4409
- # publish the completion status of the unsafe content analysis to.
4449
+ # publish the completion status of the content analysis to. The Amazon
4450
+ # SNS topic must have a topic name that begins with *AmazonRekognition*
4451
+ # if you are using the AmazonRekognitionServiceRole permissions policy
4452
+ # to access the topic.
4410
4453
  #
4411
4454
  # @option params [String] :job_tag
4412
4455
  # An identifier you specify that's returned in the completion
@@ -4478,7 +4521,9 @@ module Aws::Rekognition
4478
4521
  # @option params [Types::NotificationChannel] :notification_channel
4479
4522
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4480
4523
  # Video to publish the completion status of the face detection
4481
- # operation.
4524
+ # operation. The Amazon SNS topic must have a topic name that begins
4525
+ # with *AmazonRekognition* if you are using the
4526
+ # AmazonRekognitionServiceRole permissions policy.
4482
4527
  #
4483
4528
  # @option params [String] :face_attributes
4484
4529
  # The face attributes you want returned.
@@ -4563,7 +4608,10 @@ module Aws::Rekognition
4563
4608
  #
4564
4609
  # @option params [Types::NotificationChannel] :notification_channel
4565
4610
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4566
- # Video to publish the completion status of the search.
4611
+ # Video to publish the completion status of the search. The Amazon SNS
4612
+ # topic must have a topic name that begins with *AmazonRekognition* if
4613
+ # you are using the AmazonRekognitionServiceRole permissions policy to
4614
+ # access the topic.
4567
4615
  #
4568
4616
  # @option params [String] :job_tag
4569
4617
  # An identifier you specify that's returned in the completion
@@ -4649,7 +4697,9 @@ module Aws::Rekognition
4649
4697
  #
4650
4698
  # @option params [Types::NotificationChannel] :notification_channel
4651
4699
  # The Amazon SNS topic ARN you want Amazon Rekognition Video to publish
4652
- # the completion status of the label detection operation to.
4700
+ # the completion status of the label detection operation to. The Amazon
4701
+ # SNS topic must have a topic name that begins with *AmazonRekognition*
4702
+ # if you are using the AmazonRekognitionServiceRole permissions policy.
4653
4703
  #
4654
4704
  # @option params [String] :job_tag
4655
4705
  # An identifier you specify that's returned in the completion
@@ -4719,7 +4769,9 @@ module Aws::Rekognition
4719
4769
  #
4720
4770
  # @option params [Types::NotificationChannel] :notification_channel
4721
4771
  # The Amazon SNS topic ARN you want Amazon Rekognition Video to publish
4722
- # the completion status of the people detection operation to.
4772
+ # the completion status of the people detection operation to. The Amazon
4773
+ # SNS topic must have a topic name that begins with *AmazonRekognition*
4774
+ # if you are using the AmazonRekognitionServiceRole permissions policy.
4723
4775
  #
4724
4776
  # @option params [String] :job_tag
4725
4777
  # An identifier you specify that's returned in the completion
@@ -4848,7 +4900,9 @@ module Aws::Rekognition
4848
4900
  # @option params [Types::NotificationChannel] :notification_channel
4849
4901
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4850
4902
  # Video to publish the completion status of the segment detection
4851
- # operation.
4903
+ # operation. Note that the Amazon SNS topic must have a topic name that
4904
+ # begins with *AmazonRekognition* if you are using the
4905
+ # AmazonRekognitionServiceRole permissions policy to access the topic.
4852
4906
  #
4853
4907
  # @option params [String] :job_tag
4854
4908
  # An identifier you specify that's returned in the completion
@@ -4886,6 +4940,10 @@ module Aws::Rekognition
4886
4940
  # filters: {
4887
4941
  # technical_cue_filter: {
4888
4942
  # min_segment_confidence: 1.0,
4943
+ # black_frame: {
4944
+ # max_pixel_threshold: 1.0,
4945
+ # min_coverage_percentage: 1.0,
4946
+ # },
4889
4947
  # },
4890
4948
  # shot_filter: {
4891
4949
  # min_segment_confidence: 1.0,
@@ -4958,7 +5016,15 @@ module Aws::Rekognition
4958
5016
  # @option params [Types::NotificationChannel] :notification_channel
4959
5017
  # The Amazon Simple Notification Service topic to which Amazon
4960
5018
  # Rekognition publishes the completion status of a video analysis
4961
- # operation. For more information, see api-video.
5019
+ # operation. For more information, see api-video. Note that the Amazon
5020
+ # SNS topic must have a topic name that begins with *AmazonRekognition*
5021
+ # if you are using the AmazonRekognitionServiceRole permissions policy
5022
+ # to access the topic. For more information, see [Giving access to
5023
+ # multiple Amazon SNS topics][1].
5024
+ #
5025
+ #
5026
+ #
5027
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics
4962
5028
  #
4963
5029
  # @option params [String] :job_tag
4964
5030
  # An identifier returned in the completion status published by your
@@ -5150,7 +5216,7 @@ module Aws::Rekognition
5150
5216
  params: params,
5151
5217
  config: config)
5152
5218
  context[:gem_name] = 'aws-sdk-rekognition'
5153
- context[:gem_version] = '1.53.0'
5219
+ context[:gem_version] = '1.54.0'
5154
5220
  Seahorse::Client::Request.new(handlers, context)
5155
5221
  end
5156
5222
 
@@ -22,6 +22,7 @@ module Aws::Rekognition
22
22
  AudioMetadata = Shapes::StructureShape.new(name: 'AudioMetadata')
23
23
  AudioMetadataList = Shapes::ListShape.new(name: 'AudioMetadataList')
24
24
  Beard = Shapes::StructureShape.new(name: 'Beard')
25
+ BlackFrame = Shapes::StructureShape.new(name: 'BlackFrame')
25
26
  BodyPart = Shapes::StringShape.new(name: 'BodyPart')
26
27
  BodyParts = Shapes::ListShape.new(name: 'BodyParts')
27
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -196,7 +197,9 @@ module Aws::Rekognition
196
197
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
197
198
  MaxFaces = Shapes::IntegerShape.new(name: 'MaxFaces')
198
199
  MaxFacesToIndex = Shapes::IntegerShape.new(name: 'MaxFacesToIndex')
200
+ MaxPixelThreshold = Shapes::FloatShape.new(name: 'MaxPixelThreshold')
199
201
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
202
+ MinCoveragePercentage = Shapes::FloatShape.new(name: 'MinCoveragePercentage')
200
203
  ModerationLabel = Shapes::StructureShape.new(name: 'ModerationLabel')
201
204
  ModerationLabels = Shapes::ListShape.new(name: 'ModerationLabels')
202
205
  MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
@@ -345,6 +348,7 @@ module Aws::Rekognition
345
348
  VersionName = Shapes::StringShape.new(name: 'VersionName')
346
349
  VersionNames = Shapes::ListShape.new(name: 'VersionNames')
347
350
  Video = Shapes::StructureShape.new(name: 'Video')
351
+ VideoColorRange = Shapes::StringShape.new(name: 'VideoColorRange')
348
352
  VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
349
353
  VideoMetadata = Shapes::StructureShape.new(name: 'VideoMetadata')
350
354
  VideoMetadataList = Shapes::ListShape.new(name: 'VideoMetadataList')
@@ -375,6 +379,10 @@ module Aws::Rekognition
375
379
  Beard.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
376
380
  Beard.struct_class = Types::Beard
377
381
 
382
+ BlackFrame.add_member(:max_pixel_threshold, Shapes::ShapeRef.new(shape: MaxPixelThreshold, location_name: "MaxPixelThreshold"))
383
+ BlackFrame.add_member(:min_coverage_percentage, Shapes::ShapeRef.new(shape: MinCoveragePercentage, location_name: "MinCoveragePercentage"))
384
+ BlackFrame.struct_class = Types::BlackFrame
385
+
378
386
  BodyParts.member = Shapes::ShapeRef.new(shape: ProtectiveEquipmentBodyPart)
379
387
 
380
388
  BoundingBox.add_member(:width, Shapes::ShapeRef.new(shape: Float, location_name: "Width"))
@@ -1132,6 +1140,9 @@ module Aws::Rekognition
1132
1140
  SegmentDetection.add_member(:duration_smpte, Shapes::ShapeRef.new(shape: Timecode, location_name: "DurationSMPTE"))
1133
1141
  SegmentDetection.add_member(:technical_cue_segment, Shapes::ShapeRef.new(shape: TechnicalCueSegment, location_name: "TechnicalCueSegment"))
1134
1142
  SegmentDetection.add_member(:shot_segment, Shapes::ShapeRef.new(shape: ShotSegment, location_name: "ShotSegment"))
1143
+ SegmentDetection.add_member(:start_frame_number, Shapes::ShapeRef.new(shape: ULong, location_name: "StartFrameNumber"))
1144
+ SegmentDetection.add_member(:end_frame_number, Shapes::ShapeRef.new(shape: ULong, location_name: "EndFrameNumber"))
1145
+ SegmentDetection.add_member(:duration_frames, Shapes::ShapeRef.new(shape: ULong, location_name: "DurationFrames"))
1135
1146
  SegmentDetection.struct_class = Types::SegmentDetection
1136
1147
 
1137
1148
  SegmentDetections.member = Shapes::ShapeRef.new(shape: SegmentDetection)
@@ -1244,6 +1255,7 @@ module Aws::Rekognition
1244
1255
  StartStreamProcessorResponse.struct_class = Types::StartStreamProcessorResponse
1245
1256
 
1246
1257
  StartTechnicalCueDetectionFilter.add_member(:min_segment_confidence, Shapes::ShapeRef.new(shape: SegmentConfidence, location_name: "MinSegmentConfidence"))
1258
+ StartTechnicalCueDetectionFilter.add_member(:black_frame, Shapes::ShapeRef.new(shape: BlackFrame, location_name: "BlackFrame"))
1247
1259
  StartTechnicalCueDetectionFilter.struct_class = Types::StartTechnicalCueDetectionFilter
1248
1260
 
1249
1261
  StartTextDetectionFilters.add_member(:word_filter, Shapes::ShapeRef.new(shape: DetectionFilter, location_name: "WordFilter"))
@@ -1371,6 +1383,7 @@ module Aws::Rekognition
1371
1383
  VideoMetadata.add_member(:frame_rate, Shapes::ShapeRef.new(shape: Float, location_name: "FrameRate"))
1372
1384
  VideoMetadata.add_member(:frame_height, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameHeight"))
1373
1385
  VideoMetadata.add_member(:frame_width, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameWidth"))
1386
+ VideoMetadata.add_member(:color_range, Shapes::ShapeRef.new(shape: VideoColorRange, location_name: "ColorRange"))
1374
1387
  VideoMetadata.struct_class = Types::VideoMetadata
1375
1388
 
1376
1389
  VideoMetadataList.member = Shapes::ShapeRef.new(shape: VideoMetadata)
@@ -111,6 +111,55 @@ module Aws::Rekognition
111
111
  include Aws::Structure
112
112
  end
113
113
 
114
+ # A filter that allows you to control the black frame detection by
115
+ # specifying the black levels and pixel coverage of black pixels in a
116
+ # frame. As videos can come from multiple sources, formats, and time
117
+ # periods, they may contain different standards and varying noise levels
118
+ # for black frames that need to be accounted for. For more information,
119
+ # see StartSegmentDetection.
120
+ #
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
+ # @!attribute [rw] max_pixel_threshold
130
+ # A threshold used to determine the maximum luminance value for a
131
+ # pixel to be considered black. In a full color range video, luminance
132
+ # values range from 0-255. A pixel value of 0 is pure black, and the
133
+ # most strict filter. The maximum black pixel value is computed as
134
+ # follows: max\_black\_pixel\_value = minimum\_luminance +
135
+ # MaxPixelThreshold *luminance\_range.
136
+ #
137
+ # For example, for a full range video with BlackPixelThreshold = 0.1,
138
+ # max\_black\_pixel\_value is 0 + 0.1 * (255-0) = 25.5.
139
+ #
140
+ # The default value of MaxPixelThreshold is 0.2, which maps to a
141
+ # max\_black\_pixel\_value of 51 for a full range video. You can lower
142
+ # this threshold to be more strict on black levels.
143
+ # @return [Float]
144
+ #
145
+ # @!attribute [rw] min_coverage_percentage
146
+ # The minimum percentage of pixels in a frame that need to have a
147
+ # luminance below the max\_black\_pixel\_value for a frame to be
148
+ # considered a black frame. Luminance is calculated using the BT.709
149
+ # matrix.
150
+ #
151
+ # The default value is 99, which means at least 99% of all pixels in
152
+ # the frame are black pixels as per the `MaxPixelThreshold` set. You
153
+ # can reduce this value to allow more noise on the black frame.
154
+ # @return [Float]
155
+ #
156
+ class BlackFrame < Struct.new(
157
+ :max_pixel_threshold,
158
+ :min_coverage_percentage)
159
+ SENSITIVE = []
160
+ include Aws::Structure
161
+ end
162
+
114
163
  # Identifies the bounding box around the label, face, text or personal
115
164
  # protective equipment. The `left` (x-coordinate) and `top`
116
165
  # (y-coordinate) are coordinates representing the top and left sides of
@@ -483,15 +532,16 @@ module Aws::Rekognition
483
532
  include Aws::Structure
484
533
  end
485
534
 
486
- # Information about an unsafe content label detection in a stored video.
535
+ # Information about an inappropriate, unwanted, or offensive content
536
+ # label detection in a stored video.
487
537
  #
488
538
  # @!attribute [rw] timestamp
489
539
  # Time, in milliseconds from the beginning of the video, that the
490
- # unsafe content label was detected.
540
+ # content moderation label was detected.
491
541
  # @return [Integer]
492
542
  #
493
543
  # @!attribute [rw] moderation_label
494
- # The unsafe content label detected by in the stored video.
544
+ # The content moderation label detected by in the stored video.
495
545
  # @return [Types::ModerationLabel]
496
546
  #
497
547
  class ContentModerationDetection < Struct.new(
@@ -649,7 +699,9 @@ module Aws::Rekognition
649
699
  # @return [String]
650
700
  #
651
701
  # @!attribute [rw] output_config
652
- # The Amazon S3 location to store the results of training.
702
+ # The Amazon S3 bucket location to store the results of training. The
703
+ # S3 bucket can be in any AWS account as long as the caller has
704
+ # `s3:PutObject` permissions on the S3 bucket.
653
705
  # @return [Types::OutputConfig]
654
706
  #
655
707
  # @!attribute [rw] training_data
@@ -668,11 +720,23 @@ module Aws::Rekognition
668
720
  # @!attribute [rw] kms_key_id
669
721
  # The identifier for your AWS Key Management Service (AWS KMS)
670
722
  # customer master key (CMK). You can supply the Amazon Resource Name
671
- # (ARN) of your CMK, the ID of your CMK, or an alias for your CMK. The
672
- # key is used to encrypt training and test images copied into the
673
- # service for model training. Your source images are unaffected. The
674
- # key is also used to encrypt training results and manifest files
675
- # written to the output Amazon S3 bucket (`OutputConfig`).
723
+ # (ARN) of your CMK, the ID of your CMK, an alias for your CMK, or an
724
+ # alias ARN. The key is used to encrypt training and test images
725
+ # copied into the service for model training. Your source images are
726
+ # unaffected. The key is also used to encrypt training results and
727
+ # manifest files written to the output Amazon S3 bucket
728
+ # (`OutputConfig`).
729
+ #
730
+ # If you choose to use your own CMK, you need the following
731
+ # permissions on the CMK.
732
+ #
733
+ # * kms:CreateGrant
734
+ #
735
+ # * kms:DescribeKey
736
+ #
737
+ # * kms:GenerateDataKey
738
+ #
739
+ # * kms:Decrypt
676
740
  #
677
741
  # If you don't specify a value for `KmsKeyId`, images copied into the
678
742
  # service are encrypted using a key that AWS owns and manages.
@@ -2251,8 +2315,9 @@ module Aws::Rekognition
2251
2315
  # }
2252
2316
  #
2253
2317
  # @!attribute [rw] job_id
2254
- # The identifier for the unsafe content job. Use `JobId` to identify
2255
- # the job in a subsequent call to `GetContentModeration`.
2318
+ # The identifier for the inappropriate, unwanted, or offensive content
2319
+ # moderation job. Use `JobId` to identify the job in a subsequent call
2320
+ # to `GetContentModeration`.
2256
2321
  # @return [String]
2257
2322
  #
2258
2323
  # @!attribute [rw] max_results
@@ -2266,7 +2331,7 @@ module Aws::Rekognition
2266
2331
  # If the previous response was incomplete (because there is more data
2267
2332
  # to retrieve), Amazon Rekognition returns a pagination token in the
2268
2333
  # response. You can use this pagination token to retrieve the next set
2269
- # of unsafe content labels.
2334
+ # of content moderation labels.
2270
2335
  # @return [String]
2271
2336
  #
2272
2337
  # @!attribute [rw] sort_by
@@ -2287,7 +2352,7 @@ module Aws::Rekognition
2287
2352
  end
2288
2353
 
2289
2354
  # @!attribute [rw] job_status
2290
- # The current status of the unsafe content analysis job.
2355
+ # The current status of the content moderation analysis job.
2291
2356
  # @return [String]
2292
2357
  #
2293
2358
  # @!attribute [rw] status_message
@@ -2302,19 +2367,19 @@ module Aws::Rekognition
2302
2367
  # @return [Types::VideoMetadata]
2303
2368
  #
2304
2369
  # @!attribute [rw] moderation_labels
2305
- # The detected unsafe content labels and the time(s) they were
2306
- # detected.
2370
+ # The detected inappropriate, unwanted, or offensive content
2371
+ # moderation labels and the time(s) they were detected.
2307
2372
  # @return [Array<Types::ContentModerationDetection>]
2308
2373
  #
2309
2374
  # @!attribute [rw] next_token
2310
2375
  # If the response is truncated, Amazon Rekognition Video returns this
2311
2376
  # token that you can use in the subsequent request to retrieve the
2312
- # next set of unsafe content labels.
2377
+ # next set of content moderation labels.
2313
2378
  # @return [String]
2314
2379
  #
2315
2380
  # @!attribute [rw] moderation_model_version
2316
2381
  # Version number of the moderation detection model that was used to
2317
- # detect unsafe content.
2382
+ # detect inappropriate, unwanted, or offensive content.
2318
2383
  # @return [String]
2319
2384
  #
2320
2385
  class GetContentModerationResponse < Struct.new(
@@ -3566,10 +3631,11 @@ module Aws::Rekognition
3566
3631
  include Aws::Structure
3567
3632
  end
3568
3633
 
3569
- # Provides information about a single type of unsafe content found in an
3570
- # image or video. Each type of moderated content has a label within a
3571
- # hierarchical taxonomy. For more information, see Detecting Unsafe
3572
- # Content in the Amazon Rekognition Developer Guide.
3634
+ # Provides information about a single type of inappropriate, unwanted,
3635
+ # or offensive content found in an image or video. Each type of
3636
+ # moderated content has a label within a hierarchical taxonomy. For more
3637
+ # information, see Content moderation in the Amazon Rekognition
3638
+ # Developer Guide.
3573
3639
  #
3574
3640
  # @!attribute [rw] confidence
3575
3641
  # Specifies the confidence that Amazon Rekognition has that the label
@@ -3636,7 +3702,15 @@ module Aws::Rekognition
3636
3702
 
3637
3703
  # The Amazon Simple Notification Service topic to which Amazon
3638
3704
  # Rekognition publishes the completion status of a video analysis
3639
- # operation. For more information, see api-video.
3705
+ # operation. For more information, see api-video. Note that the Amazon
3706
+ # SNS topic must have a topic name that begins with *AmazonRekognition*
3707
+ # if you are using the AmazonRekognitionServiceRole permissions policy
3708
+ # to access the topic. For more information, see [Giving access to
3709
+ # multiple Amazon SNS topics][1].
3710
+ #
3711
+ #
3712
+ #
3713
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics
3640
3714
  #
3641
3715
  # @note When making an API call, you may pass NotificationChannel
3642
3716
  # data as a hash:
@@ -4447,6 +4521,20 @@ module Aws::Rekognition
4447
4521
  # shot detection.
4448
4522
  # @return [Types::ShotSegment]
4449
4523
  #
4524
+ # @!attribute [rw] start_frame_number
4525
+ # The frame number of the start of a video segment, using a frame
4526
+ # index that starts with 0.
4527
+ # @return [Integer]
4528
+ #
4529
+ # @!attribute [rw] end_frame_number
4530
+ # The frame number at the end of a video segment, using a frame index
4531
+ # that starts with 0.
4532
+ # @return [Integer]
4533
+ #
4534
+ # @!attribute [rw] duration_frames
4535
+ # The duration of a video segment, expressed in frames.
4536
+ # @return [Integer]
4537
+ #
4450
4538
  class SegmentDetection < Struct.new(
4451
4539
  :type,
4452
4540
  :start_timestamp_millis,
@@ -4456,7 +4544,10 @@ module Aws::Rekognition
4456
4544
  :end_timecode_smpte,
4457
4545
  :duration_smpte,
4458
4546
  :technical_cue_segment,
4459
- :shot_segment)
4547
+ :shot_segment,
4548
+ :start_frame_number,
4549
+ :end_frame_number,
4550
+ :duration_frames)
4460
4551
  SENSITIVE = []
4461
4552
  include Aws::Structure
4462
4553
  end
@@ -4557,7 +4648,9 @@ module Aws::Rekognition
4557
4648
  # @!attribute [rw] notification_channel
4558
4649
  # The Amazon SNS topic ARN that you want Amazon Rekognition Video to
4559
4650
  # publish the completion status of the celebrity recognition analysis
4560
- # to.
4651
+ # to. The Amazon SNS topic must have a topic name that begins with
4652
+ # *AmazonRekognition* if you are using the
4653
+ # AmazonRekognitionServiceRole permissions policy.
4561
4654
  # @return [Types::NotificationChannel]
4562
4655
  #
4563
4656
  # @!attribute [rw] job_tag
@@ -4609,8 +4702,8 @@ module Aws::Rekognition
4609
4702
  # }
4610
4703
  #
4611
4704
  # @!attribute [rw] video
4612
- # The video in which you want to detect unsafe content. The video must
4613
- # be stored in an Amazon S3 bucket.
4705
+ # The video in which you want to detect inappropriate, unwanted, or
4706
+ # offensive content. The video must be stored in an Amazon S3 bucket.
4614
4707
  # @return [Types::Video]
4615
4708
  #
4616
4709
  # @!attribute [rw] min_confidence
@@ -4633,7 +4726,10 @@ module Aws::Rekognition
4633
4726
  #
4634
4727
  # @!attribute [rw] notification_channel
4635
4728
  # The Amazon SNS topic ARN that you want Amazon Rekognition Video to
4636
- # publish the completion status of the unsafe content analysis to.
4729
+ # publish the completion status of the content analysis to. The Amazon
4730
+ # SNS topic must have a topic name that begins with
4731
+ # *AmazonRekognition* if you are using the
4732
+ # AmazonRekognitionServiceRole permissions policy to access the topic.
4637
4733
  # @return [Types::NotificationChannel]
4638
4734
  #
4639
4735
  # @!attribute [rw] job_tag
@@ -4654,8 +4750,8 @@ module Aws::Rekognition
4654
4750
  end
4655
4751
 
4656
4752
  # @!attribute [rw] job_id
4657
- # The identifier for the unsafe content analysis job. Use `JobId` to
4658
- # identify the job in a subsequent call to `GetContentModeration`.
4753
+ # The identifier for the content analysis job. Use `JobId` to identify
4754
+ # the job in a subsequent call to `GetContentModeration`.
4659
4755
  # @return [String]
4660
4756
  #
4661
4757
  class StartContentModerationResponse < Struct.new(
@@ -4699,7 +4795,9 @@ module Aws::Rekognition
4699
4795
  # @!attribute [rw] notification_channel
4700
4796
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4701
4797
  # Video to publish the completion status of the face detection
4702
- # operation.
4798
+ # operation. The Amazon SNS topic must have a topic name that begins
4799
+ # with *AmazonRekognition* if you are using the
4800
+ # AmazonRekognitionServiceRole permissions policy.
4703
4801
  # @return [Types::NotificationChannel]
4704
4802
  #
4705
4803
  # @!attribute [rw] face_attributes
@@ -4784,7 +4882,10 @@ module Aws::Rekognition
4784
4882
  #
4785
4883
  # @!attribute [rw] notification_channel
4786
4884
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
4787
- # Video to publish the completion status of the search.
4885
+ # Video to publish the completion status of the search. The Amazon SNS
4886
+ # topic must have a topic name that begins with *AmazonRekognition* if
4887
+ # you are using the AmazonRekognitionServiceRole permissions policy to
4888
+ # access the topic.
4788
4889
  # @return [Types::NotificationChannel]
4789
4890
  #
4790
4891
  # @!attribute [rw] job_tag
@@ -4863,6 +4964,9 @@ module Aws::Rekognition
4863
4964
  # @!attribute [rw] notification_channel
4864
4965
  # The Amazon SNS topic ARN you want Amazon Rekognition Video to
4865
4966
  # publish the completion status of the label detection operation to.
4967
+ # The Amazon SNS topic must have a topic name that begins with
4968
+ # *AmazonRekognition* if you are using the
4969
+ # AmazonRekognitionServiceRole permissions policy.
4866
4970
  # @return [Types::NotificationChannel]
4867
4971
  #
4868
4972
  # @!attribute [rw] job_tag
@@ -4927,6 +5031,9 @@ module Aws::Rekognition
4927
5031
  # @!attribute [rw] notification_channel
4928
5032
  # The Amazon SNS topic ARN you want Amazon Rekognition Video to
4929
5033
  # publish the completion status of the people detection operation to.
5034
+ # The Amazon SNS topic must have a topic name that begins with
5035
+ # *AmazonRekognition* if you are using the
5036
+ # AmazonRekognitionServiceRole permissions policy.
4930
5037
  # @return [Types::NotificationChannel]
4931
5038
  #
4932
5039
  # @!attribute [rw] job_tag
@@ -5003,6 +5110,10 @@ module Aws::Rekognition
5003
5110
  # {
5004
5111
  # technical_cue_filter: {
5005
5112
  # min_segment_confidence: 1.0,
5113
+ # black_frame: {
5114
+ # max_pixel_threshold: 1.0,
5115
+ # min_coverage_percentage: 1.0,
5116
+ # },
5006
5117
  # },
5007
5118
  # shot_filter: {
5008
5119
  # min_segment_confidence: 1.0,
@@ -5044,6 +5155,10 @@ module Aws::Rekognition
5044
5155
  # filters: {
5045
5156
  # technical_cue_filter: {
5046
5157
  # min_segment_confidence: 1.0,
5158
+ # black_frame: {
5159
+ # max_pixel_threshold: 1.0,
5160
+ # min_coverage_percentage: 1.0,
5161
+ # },
5047
5162
  # },
5048
5163
  # shot_filter: {
5049
5164
  # min_segment_confidence: 1.0,
@@ -5069,7 +5184,9 @@ module Aws::Rekognition
5069
5184
  # @!attribute [rw] notification_channel
5070
5185
  # The ARN of the Amazon SNS topic to which you want Amazon Rekognition
5071
5186
  # Video to publish the completion status of the segment detection
5072
- # operation.
5187
+ # operation. Note that the Amazon SNS topic must have a topic name
5188
+ # that begins with *AmazonRekognition* if you are using the
5189
+ # AmazonRekognitionServiceRole permissions policy to access the topic.
5073
5190
  # @return [Types::NotificationChannel]
5074
5191
  #
5075
5192
  # @!attribute [rw] job_tag
@@ -5167,6 +5284,10 @@ module Aws::Rekognition
5167
5284
  #
5168
5285
  # {
5169
5286
  # min_segment_confidence: 1.0,
5287
+ # black_frame: {
5288
+ # max_pixel_threshold: 1.0,
5289
+ # min_coverage_percentage: 1.0,
5290
+ # },
5170
5291
  # }
5171
5292
  #
5172
5293
  # @!attribute [rw] min_segment_confidence
@@ -5182,8 +5303,17 @@ module Aws::Rekognition
5182
5303
  # percent.
5183
5304
  # @return [Float]
5184
5305
  #
5306
+ # @!attribute [rw] black_frame
5307
+ # A filter that allows you to control the black frame detection by
5308
+ # specifying the black levels and pixel coverage of black pixels in a
5309
+ # frame. Videos can come from multiple sources, formats, and time
5310
+ # periods, with different standards and varying noise levels for black
5311
+ # frames that need to be accounted for.
5312
+ # @return [Types::BlackFrame]
5313
+ #
5185
5314
  class StartTechnicalCueDetectionFilter < Struct.new(
5186
- :min_segment_confidence)
5315
+ :min_segment_confidence,
5316
+ :black_frame)
5187
5317
  SENSITIVE = []
5188
5318
  include Aws::Structure
5189
5319
  end
@@ -5284,7 +5414,16 @@ module Aws::Rekognition
5284
5414
  # @!attribute [rw] notification_channel
5285
5415
  # The Amazon Simple Notification Service topic to which Amazon
5286
5416
  # Rekognition publishes the completion status of a video analysis
5287
- # operation. For more information, see api-video.
5417
+ # operation. For more information, see api-video. Note that the Amazon
5418
+ # SNS topic must have a topic name that begins with
5419
+ # *AmazonRekognition* if you are using the
5420
+ # AmazonRekognitionServiceRole permissions policy to access the topic.
5421
+ # For more information, see [Giving access to multiple Amazon SNS
5422
+ # topics][1].
5423
+ #
5424
+ #
5425
+ #
5426
+ # [1]: https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics
5288
5427
  # @return [Types::NotificationChannel]
5289
5428
  #
5290
5429
  # @!attribute [rw] job_tag
@@ -5892,13 +6031,19 @@ module Aws::Rekognition
5892
6031
  # Horizontal pixel dimension of the video.
5893
6032
  # @return [Integer]
5894
6033
  #
6034
+ # @!attribute [rw] color_range
6035
+ # A description of the range of luminance values in a video, either
6036
+ # LIMITED (16 to 235) or FULL (0 to 255).
6037
+ # @return [String]
6038
+ #
5895
6039
  class VideoMetadata < Struct.new(
5896
6040
  :codec,
5897
6041
  :duration_millis,
5898
6042
  :format,
5899
6043
  :frame_rate,
5900
6044
  :frame_height,
5901
- :frame_width)
6045
+ :frame_width,
6046
+ :color_range)
5902
6047
  SENSITIVE = []
5903
6048
  include Aws::Structure
5904
6049
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rekognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-30 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core