Skip to content

Commit eebede6

Browse files
committed
update generated code
1 parent ba432c2 commit eebede6

22 files changed

+241
-19
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.356.1"
3+
"${LATEST}": "3.356.4"
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: This release adds support for input rendition selection for HLS input, adds new Share API to enable sharing jobs with AWS Support for support investigations, and adds INCLUDE_AS_TS to iFrameOnlyManifest setting for HLS outputs.
8+
- AWS api-change: Remove incorrect endpoint tests
9+
510
## 1.10.0
611

712
### Added

src/Service/MediaConvert/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "1.10-dev"
31+
"dev-master": "1.11-dev"
3232
}
3333
}
3434
}

src/Service/MediaConvert/src/Enum/AacCodecProfile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
* Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the
77
* default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1)
88
* adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo,
9-
* which optimizes for encoding stereo audio at very low bitrates.
9+
* which optimizes for encoding stereo audio at very low bitrates. For improved audio quality at lower bitrates,
10+
* adaptive audio bitrate switching, and loudness control: Choose XHE.
1011
*/
1112
final class AacCodecProfile
1213
{

src/Service/MediaConvert/src/Enum/HlsIFrameOnlyManifest.php

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

55
/**
6-
* Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in
7-
* addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates
8-
* preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child
9-
* manifest to the parent manifest. When you don't need the I-frame only child manifest, keep the default value Exclude.
6+
* Generate a variant manifest that lists only the I-frames for this rendition. You might use this manifest as part of a
7+
* workflow that creates preview functions for your video. MediaConvert adds both the I-frame only variant manifest and
8+
* the regular variant manifest to the multivariant manifest. To have MediaConvert write a variant manifest that
9+
* references I-frames from your output content using EXT-X-BYTERANGE tags: Choose Include. To have MediaConvert output
10+
* I-frames as single frame TS files and a corresponding variant manifest that references them: Choose Include as TS.
11+
* When you don't need the I-frame only variant manifest: Keep the default value, Exclude.
1012
*/
1113
final class HlsIFrameOnlyManifest
1214
{
1315
public const EXCLUDE = 'EXCLUDE';
1416
public const INCLUDE = 'INCLUDE';
17+
public const INCLUDE_AS_TS = 'INCLUDE_AS_TS';
1518

1619
public static function exists(string $value): bool
1720
{
1821
return isset([
1922
self::EXCLUDE => true,
2023
self::INCLUDE => true,
24+
self::INCLUDE_AS_TS => true,
2125
][$value]);
2226
}
2327
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.
7+
* The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster
8+
* mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the
9+
* mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and
10+
* FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this
11+
* case, the encoder will use any values you provide for AudioType and FollowInputAudioType.
12+
*/
13+
final class Mp2AudioDescriptionMix
14+
{
15+
public const BROADCASTER_MIXED_AD = 'BROADCASTER_MIXED_AD';
16+
public const NONE = 'NONE';
17+
18+
public static function exists(string $value): bool
19+
{
20+
return isset([
21+
self::BROADCASTER_MIXED_AD => true,
22+
self::NONE => true,
23+
][$value]);
24+
}
25+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
final class ShareStatus
6+
{
7+
public const INITIATED = 'INITIATED';
8+
public const NOT_SHARED = 'NOT_SHARED';
9+
public const SHARED = 'SHARED';
10+
11+
public static function exists(string $value): bool
12+
{
13+
return isset([
14+
self::INITIATED => true,
15+
self::NOT_SHARED => true,
16+
self::SHARED => true,
17+
][$value]);
18+
}
19+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Choose the video selector type for your HLS input. Use to specify which video rendition MediaConvert uses from your
7+
* HLS input. To have MediaConvert automatically use the highest bitrate rendition from your HLS input: Keep the default
8+
* value, Auto. To manually specify a rendition: Choose Stream. Then enter the unique stream number in the Streams
9+
* array, starting at 1, corresponding to the stream order in the manifest.
10+
*/
11+
final class VideoSelectorType
12+
{
13+
public const AUTO = 'AUTO';
14+
public const STREAM = 'STREAM';
15+
16+
public static function exists(string $value): bool
17+
{
18+
return isset([
19+
self::AUTO => true,
20+
self::STREAM => true,
21+
][$value]);
22+
}
23+
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,6 +1436,7 @@ private function populateResultJob(array $json): Job
14361436
'JobEngineVersionUsed' => isset($json['jobEngineVersionUsed']) ? (string) $json['jobEngineVersionUsed'] : null,
14371437
'JobPercentComplete' => isset($json['jobPercentComplete']) ? (int) $json['jobPercentComplete'] : null,
14381438
'JobTemplate' => isset($json['jobTemplate']) ? (string) $json['jobTemplate'] : null,
1439+
'LastShareDetails' => isset($json['lastShareDetails']) ? (string) $json['lastShareDetails'] : null,
14391440
'Messages' => empty($json['messages']) ? null : $this->populateResultJobMessages($json['messages']),
14401441
'OutputGroupDetails' => !isset($json['outputGroupDetails']) ? null : $this->populateResult__listOfOutputGroupDetail($json['outputGroupDetails']),
14411442
'Priority' => isset($json['priority']) ? (int) $json['priority'] : null,
@@ -1444,6 +1445,7 @@ private function populateResultJob(array $json): Job
14441445
'RetryCount' => isset($json['retryCount']) ? (int) $json['retryCount'] : null,
14451446
'Role' => (string) $json['role'],
14461447
'Settings' => $this->populateResultJobSettings($json['settings']),
1448+
'ShareStatus' => isset($json['shareStatus']) ? (string) $json['shareStatus'] : null,
14471449
'SimulateReservedQueue' => isset($json['simulateReservedQueue']) ? (string) $json['simulateReservedQueue'] : null,
14481450
'Status' => isset($json['status']) ? (string) $json['status'] : null,
14491451
'StatusUpdateInterval' => isset($json['statusUpdateInterval']) ? (string) $json['statusUpdateInterval'] : null,
@@ -1642,6 +1644,7 @@ private function populateResultMovSettings(array $json): MovSettings
16421644
private function populateResultMp2Settings(array $json): Mp2Settings
16431645
{
16441646
return new Mp2Settings([
1647+
'AudioDescriptionMix' => isset($json['audioDescriptionMix']) ? (string) $json['audioDescriptionMix'] : null,
16451648
'Bitrate' => isset($json['bitrate']) ? (int) $json['bitrate'] : null,
16461649
'Channels' => isset($json['channels']) ? (int) $json['channels'] : null,
16471650
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
@@ -2290,6 +2293,8 @@ private function populateResultVideoSelector(array $json): VideoSelector
22902293
'ProgramNumber' => isset($json['programNumber']) ? (int) $json['programNumber'] : null,
22912294
'Rotate' => isset($json['rotate']) ? (string) $json['rotate'] : null,
22922295
'SampleRange' => isset($json['sampleRange']) ? (string) $json['sampleRange'] : null,
2296+
'SelectorType' => isset($json['selectorType']) ? (string) $json['selectorType'] : null,
2297+
'Streams' => !isset($json['streams']) ? null : $this->populateResult__listOf__integerMin1Max2147483647($json['streams']),
22932298
]);
22942299
}
22952300

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,6 +1436,7 @@ private function populateResultJob(array $json): Job
14361436
'JobEngineVersionUsed' => isset($json['jobEngineVersionUsed']) ? (string) $json['jobEngineVersionUsed'] : null,
14371437
'JobPercentComplete' => isset($json['jobPercentComplete']) ? (int) $json['jobPercentComplete'] : null,
14381438
'JobTemplate' => isset($json['jobTemplate']) ? (string) $json['jobTemplate'] : null,
1439+
'LastShareDetails' => isset($json['lastShareDetails']) ? (string) $json['lastShareDetails'] : null,
14391440
'Messages' => empty($json['messages']) ? null : $this->populateResultJobMessages($json['messages']),
14401441
'OutputGroupDetails' => !isset($json['outputGroupDetails']) ? null : $this->populateResult__listOfOutputGroupDetail($json['outputGroupDetails']),
14411442
'Priority' => isset($json['priority']) ? (int) $json['priority'] : null,
@@ -1444,6 +1445,7 @@ private function populateResultJob(array $json): Job
14441445
'RetryCount' => isset($json['retryCount']) ? (int) $json['retryCount'] : null,
14451446
'Role' => (string) $json['role'],
14461447
'Settings' => $this->populateResultJobSettings($json['settings']),
1448+
'ShareStatus' => isset($json['shareStatus']) ? (string) $json['shareStatus'] : null,
14471449
'SimulateReservedQueue' => isset($json['simulateReservedQueue']) ? (string) $json['simulateReservedQueue'] : null,
14481450
'Status' => isset($json['status']) ? (string) $json['status'] : null,
14491451
'StatusUpdateInterval' => isset($json['statusUpdateInterval']) ? (string) $json['statusUpdateInterval'] : null,
@@ -1642,6 +1644,7 @@ private function populateResultMovSettings(array $json): MovSettings
16421644
private function populateResultMp2Settings(array $json): Mp2Settings
16431645
{
16441646
return new Mp2Settings([
1647+
'AudioDescriptionMix' => isset($json['audioDescriptionMix']) ? (string) $json['audioDescriptionMix'] : null,
16451648
'Bitrate' => isset($json['bitrate']) ? (int) $json['bitrate'] : null,
16461649
'Channels' => isset($json['channels']) ? (int) $json['channels'] : null,
16471650
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
@@ -2290,6 +2293,8 @@ private function populateResultVideoSelector(array $json): VideoSelector
22902293
'ProgramNumber' => isset($json['programNumber']) ? (int) $json['programNumber'] : null,
22912294
'Rotate' => isset($json['rotate']) ? (string) $json['rotate'] : null,
22922295
'SampleRange' => isset($json['sampleRange']) ? (string) $json['sampleRange'] : null,
2296+
'SelectorType' => isset($json['selectorType']) ? (string) $json['selectorType'] : null,
2297+
'Streams' => !isset($json['streams']) ? null : $this->populateResult__listOf__integerMin1Max2147483647($json['streams']),
22932298
]);
22942299
}
22952300

0 commit comments

Comments
 (0)