Skip to content

Commit f113432

Browse files
Update generated code (#2011)
update generated code
1 parent e1822e6 commit f113432

15 files changed

+323
-5
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.367.1"
3+
"${LATEST}": "3.368.1"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/MediaConvert/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- AWS api-change: This release adds the ability to set resolution for the black video generator.
88
- AWS api-change: Adds SlowPalPitchCorrection to audio pitch correction settings. Enables opacity for VideoOverlays. Adds REMUX_ALL option to enable multi-rendition passthrough to VideoSelector for allow listed accounts.
99
- AWS api-change: Lowers minimum duration for black video generator. Adds support for embedding and signing C2PA content credentials in DASH and CMAF HLS outputs.
10+
- AWS api-change: Adds support for tile encoding in HEVC and audio for video overlays.
1011

1112
### Dependency bumped
1213

src/Service/MediaConvert/src/Enum/AudioDefaultSelection.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Enable this setting on one audio selector to set it as the default for the job. The service uses this default for
7-
* outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.
6+
* Specify a fallback audio selector for this input. Use to ensure outputs have audio even when the audio selector you
7+
* specify in your output is missing from the source. DEFAULT (Checked in the MediaConvert console): If your output
8+
* settings specify an audio selector that does not exist in this input, MediaConvert uses this audio selector instead.
9+
* This is useful when you have multiple inputs with a different number of audio tracks. NOT_DEFAULT (Unchecked in the
10+
* MediaConvert console): MediaConvert will not fallback from any missing audio selector. Any output specifying a
11+
* missing audio selector will be silent.
812
*/
913
final class AudioDefaultSelection
1014
{

src/Service/MediaConvert/src/Enum/CaptionSourceType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ final class CaptionSourceType
2020
public const STL = 'STL';
2121
public const TELETEXT = 'TELETEXT';
2222
public const TTML = 'TTML';
23+
public const TT_3GPP = 'TT_3GPP';
2324
public const WEBVTT = 'WEBVTT';
2425

2526
public static function exists(string $value): bool
@@ -38,6 +39,7 @@ public static function exists(string $value): bool
3839
self::STL => true,
3940
self::TELETEXT => true,
4041
self::TTML => true,
42+
self::TT_3GPP => true,
4143
self::WEBVTT => true,
4244
][$value]);
4345
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you
7+
* typically enter "enabled".
8+
*/
9+
final class H265MvOverPictureBoundaries
10+
{
11+
public const DISABLED = 'DISABLED';
12+
public const ENABLED = 'ENABLED';
13+
14+
public static function exists(string $value): bool
15+
{
16+
return isset([
17+
self::DISABLED => true,
18+
self::ENABLED => true,
19+
][$value]);
20+
}
21+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically
7+
* enter "enabled".
8+
*/
9+
final class H265MvTemporalPredictor
10+
{
11+
public const DISABLED = 'DISABLED';
12+
public const ENABLED = 'ENABLED';
13+
14+
public static function exists(string $value): bool
15+
{
16+
return isset([
17+
self::DISABLED => true,
18+
self::ENABLED => true,
19+
][$value]);
20+
}
21+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Set to "padded" to force MediaConvert to add padding to the frame, to obtain a frame that is a whole multiple of the
7+
* tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you
8+
* typically enter "none".
9+
*/
10+
final class H265TilePadding
11+
{
12+
public const NONE = 'NONE';
13+
public const PADDED = 'PADDED';
14+
15+
public static function exists(string $value): bool
16+
{
17+
return isset([
18+
self::NONE => true,
19+
self::PADDED => true,
20+
][$value]);
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Select the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are
7+
* setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter
8+
* "auto".
9+
*/
10+
final class H265TreeBlockSize
11+
{
12+
public const AUTO = 'AUTO';
13+
public const TREE_SIZE_32X32 = 'TREE_SIZE_32X32';
14+
15+
public static function exists(string $value): bool
16+
{
17+
return isset([
18+
self::AUTO => true,
19+
self::TREE_SIZE_32X32 => true,
20+
][$value]);
21+
}
22+
}

src/Service/MediaConvert/src/Result/CreateJobResponse.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,8 @@ private function populateResultH265Settings(array $json): H265Settings
11571157
'InterlaceMode' => isset($json['interlaceMode']) ? (string) $json['interlaceMode'] : null,
11581158
'MaxBitrate' => isset($json['maxBitrate']) ? (int) $json['maxBitrate'] : null,
11591159
'MinIInterval' => isset($json['minIInterval']) ? (int) $json['minIInterval'] : null,
1160+
'MvOverPictureBoundaries' => isset($json['mvOverPictureBoundaries']) ? (string) $json['mvOverPictureBoundaries'] : null,
1161+
'MvTemporalPredictor' => isset($json['mvTemporalPredictor']) ? (string) $json['mvTemporalPredictor'] : null,
11601162
'NumberBFramesBetweenReferenceFrames' => isset($json['numberBFramesBetweenReferenceFrames']) ? (int) $json['numberBFramesBetweenReferenceFrames'] : null,
11611163
'NumberReferenceFrames' => isset($json['numberReferenceFrames']) ? (int) $json['numberReferenceFrames'] : null,
11621164
'ParControl' => isset($json['parControl']) ? (string) $json['parControl'] : null,
@@ -1175,7 +1177,11 @@ private function populateResultH265Settings(array $json): H265Settings
11751177
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
11761178
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
11771179
'TemporalIds' => isset($json['temporalIds']) ? (string) $json['temporalIds'] : null,
1180+
'TileHeight' => isset($json['tileHeight']) ? (int) $json['tileHeight'] : null,
1181+
'TilePadding' => isset($json['tilePadding']) ? (string) $json['tilePadding'] : null,
1182+
'TileWidth' => isset($json['tileWidth']) ? (int) $json['tileWidth'] : null,
11781183
'Tiles' => isset($json['tiles']) ? (string) $json['tiles'] : null,
1184+
'TreeBlockSize' => isset($json['treeBlockSize']) ? (string) $json['treeBlockSize'] : null,
11791185
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
11801186
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
11811187
]);
@@ -1412,6 +1418,7 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener
14121418
'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null,
14131419
'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null,
14141420
'Height' => isset($json['height']) ? (int) $json['height'] : null,
1421+
'ImageInput' => isset($json['imageInput']) ? (string) $json['imageInput'] : null,
14151422
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
14161423
'Width' => isset($json['width']) ? (int) $json['width'] : null,
14171424
]);
@@ -2259,6 +2266,7 @@ private function populateResultVideoOverlayCrop(array $json): VideoOverlayCrop
22592266
private function populateResultVideoOverlayInput(array $json): VideoOverlayInput
22602267
{
22612268
return new VideoOverlayInput([
2269+
'AudioSelectors' => !isset($json['audioSelectors']) ? null : $this->populateResult__mapOfAudioSelector($json['audioSelectors']),
22622270
'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null,
22632271
'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']),
22642272
'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,

src/Service/MediaConvert/src/Result/GetJobResponse.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,8 @@ private function populateResultH265Settings(array $json): H265Settings
11571157
'InterlaceMode' => isset($json['interlaceMode']) ? (string) $json['interlaceMode'] : null,
11581158
'MaxBitrate' => isset($json['maxBitrate']) ? (int) $json['maxBitrate'] : null,
11591159
'MinIInterval' => isset($json['minIInterval']) ? (int) $json['minIInterval'] : null,
1160+
'MvOverPictureBoundaries' => isset($json['mvOverPictureBoundaries']) ? (string) $json['mvOverPictureBoundaries'] : null,
1161+
'MvTemporalPredictor' => isset($json['mvTemporalPredictor']) ? (string) $json['mvTemporalPredictor'] : null,
11601162
'NumberBFramesBetweenReferenceFrames' => isset($json['numberBFramesBetweenReferenceFrames']) ? (int) $json['numberBFramesBetweenReferenceFrames'] : null,
11611163
'NumberReferenceFrames' => isset($json['numberReferenceFrames']) ? (int) $json['numberReferenceFrames'] : null,
11621164
'ParControl' => isset($json['parControl']) ? (string) $json['parControl'] : null,
@@ -1175,7 +1177,11 @@ private function populateResultH265Settings(array $json): H265Settings
11751177
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
11761178
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
11771179
'TemporalIds' => isset($json['temporalIds']) ? (string) $json['temporalIds'] : null,
1180+
'TileHeight' => isset($json['tileHeight']) ? (int) $json['tileHeight'] : null,
1181+
'TilePadding' => isset($json['tilePadding']) ? (string) $json['tilePadding'] : null,
1182+
'TileWidth' => isset($json['tileWidth']) ? (int) $json['tileWidth'] : null,
11781183
'Tiles' => isset($json['tiles']) ? (string) $json['tiles'] : null,
1184+
'TreeBlockSize' => isset($json['treeBlockSize']) ? (string) $json['treeBlockSize'] : null,
11791185
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
11801186
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
11811187
]);
@@ -1412,6 +1418,7 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener
14121418
'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null,
14131419
'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null,
14141420
'Height' => isset($json['height']) ? (int) $json['height'] : null,
1421+
'ImageInput' => isset($json['imageInput']) ? (string) $json['imageInput'] : null,
14151422
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
14161423
'Width' => isset($json['width']) ? (int) $json['width'] : null,
14171424
]);
@@ -2259,6 +2266,7 @@ private function populateResultVideoOverlayCrop(array $json): VideoOverlayCrop
22592266
private function populateResultVideoOverlayInput(array $json): VideoOverlayInput
22602267
{
22612268
return new VideoOverlayInput([
2269+
'AudioSelectors' => !isset($json['audioSelectors']) ? null : $this->populateResult__mapOfAudioSelector($json['audioSelectors']),
22622270
'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null,
22632271
'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']),
22642272
'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,

0 commit comments

Comments
 (0)