aws-sdk-medialive 1.193.0 → 1.194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-medialive/client.rb +65 -1
- data/lib/aws-sdk-medialive/client_api.rb +11 -0
- data/lib/aws-sdk-medialive/types.rb +52 -1
- data/lib/aws-sdk-medialive.rb +1 -1
- data/sig/params.rbs +13 -1
- data/sig/types.rbs +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f57d65185e0802c26b7c7162514c2111fe3dfd9d65f590305f4d14374e283186
|
|
4
|
+
data.tar.gz: ea8da323180f5bdffcfbaf2eb28537e2bf72dd1ab523e0a0ffa7def819917a7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac27aab9738a6c12b0f11345e72097b09b82d44d9d55368b67090c927499af17e59499c6b2c96080f303b6bcd86f39b66b4248435a763a39d2f43d633999f99d
|
|
7
|
+
data.tar.gz: 95f8794a8f08d0e56100dfe985f3a987f5e02c06f56ed6c2e17cc23c54881531be0352393a6c08175933b169a37ce387a9ea607fd3c64fc76b81807e457e55bc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.194.0 (2026-08-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Elemental MediaLive now supports video cropping and output positioning. Use cropRectangle and outputPositionRectangle to position the encoded video within the output frame, with the surrounding area filled with black.
|
|
8
|
+
|
|
4
9
|
1.193.0 (2026-08-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.194.0
|
|
@@ -1899,6 +1899,14 @@ module Aws::MediaLive
|
|
|
1899
1899
|
# resp.channel.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
1900
1900
|
# resp.channel.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
1901
1901
|
# resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
|
|
1902
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
1903
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
1904
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
1905
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
1906
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
1907
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
1908
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
1909
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
1902
1910
|
# resp.channel.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
1903
1911
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
1904
1912
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -3487,6 +3495,14 @@ module Aws::MediaLive
|
|
|
3487
3495
|
# resp.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
3488
3496
|
# resp.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
3489
3497
|
# resp.encoder_settings.video_descriptions[0].width #=> Integer
|
|
3498
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
3499
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
3500
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
3501
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
3502
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
3503
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
3504
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
3505
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
3490
3506
|
# resp.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
3491
3507
|
# resp.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
3492
3508
|
# resp.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -4798,6 +4814,14 @@ module Aws::MediaLive
|
|
|
4798
4814
|
# resp.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
4799
4815
|
# resp.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
4800
4816
|
# resp.encoder_settings.video_descriptions[0].width #=> Integer
|
|
4817
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
4818
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
4819
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
4820
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
4821
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
4822
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
4823
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
4824
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
4801
4825
|
# resp.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
4802
4826
|
# resp.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
4803
4827
|
# resp.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -7402,6 +7426,14 @@ module Aws::MediaLive
|
|
|
7402
7426
|
# resp.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
7403
7427
|
# resp.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
7404
7428
|
# resp.encoder_settings.video_descriptions[0].width #=> Integer
|
|
7429
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
7430
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
7431
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
7432
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
7433
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
7434
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
7435
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
7436
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
7405
7437
|
# resp.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
7406
7438
|
# resp.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
7407
7439
|
# resp.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -8520,6 +8552,14 @@ module Aws::MediaLive
|
|
|
8520
8552
|
# resp.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
8521
8553
|
# resp.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
8522
8554
|
# resp.encoder_settings.video_descriptions[0].width #=> Integer
|
|
8555
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
8556
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
8557
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
8558
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
8559
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
8560
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
8561
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
8562
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
8523
8563
|
# resp.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
8524
8564
|
# resp.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
8525
8565
|
# resp.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -9683,6 +9723,14 @@ module Aws::MediaLive
|
|
|
9683
9723
|
# resp.channel.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
9684
9724
|
# resp.channel.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
9685
9725
|
# resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
|
|
9726
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
9727
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
9728
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
9729
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
9730
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
9731
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
9732
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
9733
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
9686
9734
|
# resp.channel.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
9687
9735
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
9688
9736
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -10725,6 +10773,14 @@ module Aws::MediaLive
|
|
|
10725
10773
|
# resp.channel.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
10726
10774
|
# resp.channel.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
10727
10775
|
# resp.channel.encoder_settings.video_descriptions[0].width #=> Integer
|
|
10776
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
10777
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
10778
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
10779
|
+
# resp.channel.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
10780
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
10781
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
10782
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
10783
|
+
# resp.channel.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
10728
10784
|
# resp.channel.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
10729
10785
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
10730
10786
|
# resp.channel.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -12375,6 +12431,14 @@ module Aws::MediaLive
|
|
|
12375
12431
|
# resp.encoder_settings.video_descriptions[0].scaling_behavior #=> String, one of "DEFAULT", "STRETCH_TO_OUTPUT", "SMART_CROP"
|
|
12376
12432
|
# resp.encoder_settings.video_descriptions[0].sharpness #=> Integer
|
|
12377
12433
|
# resp.encoder_settings.video_descriptions[0].width #=> Integer
|
|
12434
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.height #=> Integer
|
|
12435
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.width #=> Integer
|
|
12436
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.x #=> Integer
|
|
12437
|
+
# resp.encoder_settings.video_descriptions[0].crop_rectangle.y #=> Integer
|
|
12438
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.height #=> Integer
|
|
12439
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.width #=> Integer
|
|
12440
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.x #=> Integer
|
|
12441
|
+
# resp.encoder_settings.video_descriptions[0].output_position_rectangle.y #=> Integer
|
|
12378
12442
|
# resp.encoder_settings.thumbnail_configuration.state #=> String, one of "AUTO", "DISABLED"
|
|
12379
12443
|
# resp.encoder_settings.color_correction_settings.global_color_corrections #=> Array
|
|
12380
12444
|
# resp.encoder_settings.color_correction_settings.global_color_corrections[0].input_color_space #=> String, one of "HDR10", "HLG_2020", "REC_601", "REC_709"
|
|
@@ -15865,7 +15929,7 @@ module Aws::MediaLive
|
|
|
15865
15929
|
tracer: tracer
|
|
15866
15930
|
)
|
|
15867
15931
|
context[:gem_name] = 'aws-sdk-medialive'
|
|
15868
|
-
context[:gem_version] = '1.
|
|
15932
|
+
context[:gem_version] = '1.194.0'
|
|
15869
15933
|
Seahorse::Client::Request.new(handlers, context)
|
|
15870
15934
|
end
|
|
15871
15935
|
|
|
@@ -1079,6 +1079,7 @@ module Aws::MediaLive
|
|
|
1079
1079
|
VideoDescription = Shapes::StructureShape.new(name: 'VideoDescription')
|
|
1080
1080
|
VideoDescriptionRespondToAfd = Shapes::StringShape.new(name: 'VideoDescriptionRespondToAfd')
|
|
1081
1081
|
VideoDescriptionScalingBehavior = Shapes::StringShape.new(name: 'VideoDescriptionScalingBehavior')
|
|
1082
|
+
VideoPositionRectangle = Shapes::StructureShape.new(name: 'VideoPositionRectangle')
|
|
1082
1083
|
VideoSelector = Shapes::StructureShape.new(name: 'VideoSelector')
|
|
1083
1084
|
VideoSelectorColorSpace = Shapes::StringShape.new(name: 'VideoSelectorColorSpace')
|
|
1084
1085
|
VideoSelectorColorSpaceSettings = Shapes::StructureShape.new(name: 'VideoSelectorColorSpaceSettings')
|
|
@@ -1131,6 +1132,7 @@ module Aws::MediaLive
|
|
|
1131
1132
|
__integerMin0Max65536 = Shapes::IntegerShape.new(name: '__integerMin0Max65536')
|
|
1132
1133
|
__integerMin0Max7 = Shapes::IntegerShape.new(name: '__integerMin0Max7')
|
|
1133
1134
|
__integerMin0Max8000000 = Shapes::IntegerShape.new(name: '__integerMin0Max8000000')
|
|
1135
|
+
__integerMin0Max8190 = Shapes::IntegerShape.new(name: '__integerMin0Max8190')
|
|
1134
1136
|
__integerMin0Max8191 = Shapes::IntegerShape.new(name: '__integerMin0Max8191')
|
|
1135
1137
|
__integerMin1 = Shapes::IntegerShape.new(name: '__integerMin1')
|
|
1136
1138
|
__integerMin100 = Shapes::IntegerShape.new(name: '__integerMin100')
|
|
@@ -1159,6 +1161,7 @@ module Aws::MediaLive
|
|
|
1159
1161
|
__integerMin256Max3840 = Shapes::IntegerShape.new(name: '__integerMin256Max3840')
|
|
1160
1162
|
__integerMin25Max10000 = Shapes::IntegerShape.new(name: '__integerMin25Max10000')
|
|
1161
1163
|
__integerMin25Max2000 = Shapes::IntegerShape.new(name: '__integerMin25Max2000')
|
|
1164
|
+
__integerMin2Max8192 = Shapes::IntegerShape.new(name: '__integerMin2Max8192')
|
|
1162
1165
|
__integerMin3 = Shapes::IntegerShape.new(name: '__integerMin3')
|
|
1163
1166
|
__integerMin30 = Shapes::IntegerShape.new(name: '__integerMin30')
|
|
1164
1167
|
__integerMin32Max8191 = Shapes::IntegerShape.new(name: '__integerMin32Max8191')
|
|
@@ -5938,8 +5941,16 @@ module Aws::MediaLive
|
|
|
5938
5941
|
VideoDescription.add_member(:scaling_behavior, Shapes::ShapeRef.new(shape: VideoDescriptionScalingBehavior, location_name: "scalingBehavior"))
|
|
5939
5942
|
VideoDescription.add_member(:sharpness, Shapes::ShapeRef.new(shape: __integerMin0Max100, location_name: "sharpness"))
|
|
5940
5943
|
VideoDescription.add_member(:width, Shapes::ShapeRef.new(shape: __integer, location_name: "width"))
|
|
5944
|
+
VideoDescription.add_member(:crop_rectangle, Shapes::ShapeRef.new(shape: VideoPositionRectangle, location_name: "cropRectangle"))
|
|
5945
|
+
VideoDescription.add_member(:output_position_rectangle, Shapes::ShapeRef.new(shape: VideoPositionRectangle, location_name: "outputPositionRectangle"))
|
|
5941
5946
|
VideoDescription.struct_class = Types::VideoDescription
|
|
5942
5947
|
|
|
5948
|
+
VideoPositionRectangle.add_member(:height, Shapes::ShapeRef.new(shape: __integerMin2Max8192, required: true, location_name: "height"))
|
|
5949
|
+
VideoPositionRectangle.add_member(:width, Shapes::ShapeRef.new(shape: __integerMin2Max8192, required: true, location_name: "width"))
|
|
5950
|
+
VideoPositionRectangle.add_member(:x, Shapes::ShapeRef.new(shape: __integerMin0Max8190, required: true, location_name: "x"))
|
|
5951
|
+
VideoPositionRectangle.add_member(:y, Shapes::ShapeRef.new(shape: __integerMin0Max8190, required: true, location_name: "y"))
|
|
5952
|
+
VideoPositionRectangle.struct_class = Types::VideoPositionRectangle
|
|
5953
|
+
|
|
5943
5954
|
VideoSelector.add_member(:color_space, Shapes::ShapeRef.new(shape: VideoSelectorColorSpace, location_name: "colorSpace"))
|
|
5944
5955
|
VideoSelector.add_member(:color_space_settings, Shapes::ShapeRef.new(shape: VideoSelectorColorSpaceSettings, location_name: "colorSpaceSettings"))
|
|
5945
5956
|
VideoSelector.add_member(:color_space_usage, Shapes::ShapeRef.new(shape: VideoSelectorColorSpaceUsage, location_name: "colorSpaceUsage"))
|
|
@@ -13990,6 +13990,25 @@ module Aws::MediaLive
|
|
|
13990
13990
|
# height and width are required.
|
|
13991
13991
|
# @return [Integer]
|
|
13992
13992
|
#
|
|
13993
|
+
# @!attribute [rw] crop_rectangle
|
|
13994
|
+
# Region of the input video to crop before scaling. If not specified,
|
|
13995
|
+
# the entire input frame is used. Note: Unlike \{@link
|
|
13996
|
+
# outputPositionRectangle}, the bounds of cropRectangle are validated
|
|
13997
|
+
# at ingest time by the encoder/scaler rather than at the API level,
|
|
13998
|
+
# because the input resolution is not known until the source is
|
|
13999
|
+
# probed. Field-level constraints on (x, y, width, height) defined on
|
|
14000
|
+
# \{@link VideoPositionRectangle} still apply.
|
|
14001
|
+
# @return [Types::VideoPositionRectangle]
|
|
14002
|
+
#
|
|
14003
|
+
# @!attribute [rw] output_position_rectangle
|
|
14004
|
+
# Position of the encoded video within the output frame. The area
|
|
14005
|
+
# outside the rectangle is filled with black. If not specified, the
|
|
14006
|
+
# video fills the entire output frame. When used, both \{@link width}
|
|
14007
|
+
# and \{@link height} of the VideoDescription must be explicitly
|
|
14008
|
+
# specified so that the rectangle can be validated against the output
|
|
14009
|
+
# frame.
|
|
14010
|
+
# @return [Types::VideoPositionRectangle]
|
|
14011
|
+
#
|
|
13993
14012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoDescription AWS API Documentation
|
|
13994
14013
|
#
|
|
13995
14014
|
class VideoDescription < Struct.new(
|
|
@@ -13999,7 +14018,9 @@ module Aws::MediaLive
|
|
|
13999
14018
|
:respond_to_afd,
|
|
14000
14019
|
:scaling_behavior,
|
|
14001
14020
|
:sharpness,
|
|
14002
|
-
:width
|
|
14021
|
+
:width,
|
|
14022
|
+
:crop_rectangle,
|
|
14023
|
+
:output_position_rectangle)
|
|
14003
14024
|
SENSITIVE = []
|
|
14004
14025
|
include Aws::Structure
|
|
14005
14026
|
end
|
|
@@ -23363,6 +23384,36 @@ module Aws::MediaLive
|
|
|
23363
23384
|
include Aws::Structure
|
|
23364
23385
|
end
|
|
23365
23386
|
|
|
23387
|
+
# A rectangle defined by position (x, y) and dimensions (width, height)
|
|
23388
|
+
# in pixels. Used for output positioning and input cropping.
|
|
23389
|
+
#
|
|
23390
|
+
# @!attribute [rw] height
|
|
23391
|
+
# Height in pixels. Must be an even number.
|
|
23392
|
+
# @return [Integer]
|
|
23393
|
+
#
|
|
23394
|
+
# @!attribute [rw] width
|
|
23395
|
+
# Width in pixels. Must be an even number.
|
|
23396
|
+
# @return [Integer]
|
|
23397
|
+
#
|
|
23398
|
+
# @!attribute [rw] x
|
|
23399
|
+
# Left offset in pixels. Must be an even number.
|
|
23400
|
+
# @return [Integer]
|
|
23401
|
+
#
|
|
23402
|
+
# @!attribute [rw] y
|
|
23403
|
+
# Top offset in pixels. Must be an even number.
|
|
23404
|
+
# @return [Integer]
|
|
23405
|
+
#
|
|
23406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoPositionRectangle AWS API Documentation
|
|
23407
|
+
#
|
|
23408
|
+
class VideoPositionRectangle < Struct.new(
|
|
23409
|
+
:height,
|
|
23410
|
+
:width,
|
|
23411
|
+
:x,
|
|
23412
|
+
:y)
|
|
23413
|
+
SENSITIVE = []
|
|
23414
|
+
include Aws::Structure
|
|
23415
|
+
end
|
|
23416
|
+
|
|
23366
23417
|
end
|
|
23367
23418
|
end
|
|
23368
23419
|
|
data/lib/aws-sdk-medialive.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -1189,7 +1189,19 @@ module Aws
|
|
|
1189
1189
|
respond_to_afd: ("NONE" | "PASSTHROUGH" | "RESPOND")?,
|
|
1190
1190
|
scaling_behavior: ("DEFAULT" | "STRETCH_TO_OUTPUT" | "SMART_CROP")?,
|
|
1191
1191
|
sharpness: ::Integer?,
|
|
1192
|
-
width: ::Integer
|
|
1192
|
+
width: ::Integer?,
|
|
1193
|
+
crop_rectangle: {
|
|
1194
|
+
height: ::Integer,
|
|
1195
|
+
width: ::Integer,
|
|
1196
|
+
x: ::Integer,
|
|
1197
|
+
y: ::Integer
|
|
1198
|
+
}?,
|
|
1199
|
+
output_position_rectangle: {
|
|
1200
|
+
height: ::Integer,
|
|
1201
|
+
width: ::Integer,
|
|
1202
|
+
x: ::Integer,
|
|
1203
|
+
y: ::Integer
|
|
1204
|
+
}?
|
|
1193
1205
|
}
|
|
1194
1206
|
|
|
1195
1207
|
type automatic_input_failover_settings = {
|
data/sig/types.rbs
CHANGED
|
@@ -3559,6 +3559,8 @@ module Aws::MediaLive
|
|
|
3559
3559
|
attr_accessor scaling_behavior: ("DEFAULT" | "STRETCH_TO_OUTPUT" | "SMART_CROP")
|
|
3560
3560
|
attr_accessor sharpness: ::Integer
|
|
3561
3561
|
attr_accessor width: ::Integer
|
|
3562
|
+
attr_accessor crop_rectangle: Types::VideoPositionRectangle
|
|
3563
|
+
attr_accessor output_position_rectangle: Types::VideoPositionRectangle
|
|
3562
3564
|
SENSITIVE: []
|
|
3563
3565
|
end
|
|
3564
3566
|
|
|
@@ -6046,5 +6048,13 @@ module Aws::MediaLive
|
|
|
6046
6048
|
attr_accessor timezone: ("AMERICA_PUERTO_RICO" | "US_ALASKA" | "US_ARIZONA" | "US_CENTRAL" | "US_EASTERN" | "US_HAWAII" | "US_MOUNTAIN" | "US_PACIFIC" | "US_SAMOA" | "UTC")
|
|
6047
6049
|
SENSITIVE: []
|
|
6048
6050
|
end
|
|
6051
|
+
|
|
6052
|
+
class VideoPositionRectangle
|
|
6053
|
+
attr_accessor height: ::Integer
|
|
6054
|
+
attr_accessor width: ::Integer
|
|
6055
|
+
attr_accessor x: ::Integer
|
|
6056
|
+
attr_accessor y: ::Integer
|
|
6057
|
+
SENSITIVE: []
|
|
6058
|
+
end
|
|
6049
6059
|
end
|
|
6050
6060
|
end
|