Skip to content

Commit 3af705d

Browse files
Update generated code (#2033)
update generated code
1 parent f71be1d commit 3af705d

28 files changed

+186
-34
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.369.14"
3+
"${LATEST}": "3.369.22"
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: This release adds a follow source mode for audio output channel count, an AES audio frame wrapping option for MXF outputs, and an option to signal DolbyVision compatibility using the SUPPLEMENTAL-CODECS tag in HLS manifests.
8+
59
## 1.12.0
610

711
### Added

src/Service/MediaConvert/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"extra": {
3535
"branch-alias": {
36-
"dev-master": "1.12-dev"
36+
"dev-master": "1.13-dev"
3737
}
3838
}
3939
}

src/Service/MediaConvert/src/Enum/AacCodingMode.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix):
99
* One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154
1010
* Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Six channels, C, L, R, Ls, Rs,
11-
* LFE.
11+
* LFE. To follow the number of channels from your input audio, choose CODING_MODE_AUTO, and the service will
12+
* automatically choose from one of the coding modes above.
1213
*/
1314
final class AacCodingMode
1415
{
@@ -17,6 +18,7 @@ final class AacCodingMode
1718
public const CODING_MODE_1_1 = 'CODING_MODE_1_1';
1819
public const CODING_MODE_2_0 = 'CODING_MODE_2_0';
1920
public const CODING_MODE_5_1 = 'CODING_MODE_5_1';
21+
public const CODING_MODE_AUTO = 'CODING_MODE_AUTO';
2022
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';
2123

2224
/**
@@ -30,6 +32,7 @@ public static function exists(string $value): bool
3032
self::CODING_MODE_1_1 => true,
3133
self::CODING_MODE_2_0 => true,
3234
self::CODING_MODE_5_1 => true,
35+
self::CODING_MODE_AUTO => true,
3336
][$value]);
3437
}
3538
}

src/Service/MediaConvert/src/Enum/Ac3CodingMode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ final class Ac3CodingMode
1111
public const CODING_MODE_1_1 = 'CODING_MODE_1_1';
1212
public const CODING_MODE_2_0 = 'CODING_MODE_2_0';
1313
public const CODING_MODE_3_2_LFE = 'CODING_MODE_3_2_LFE';
14+
public const CODING_MODE_AUTO = 'CODING_MODE_AUTO';
1415
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';
1516

1617
/**
@@ -23,6 +24,7 @@ public static function exists(string $value): bool
2324
self::CODING_MODE_1_1 => true,
2425
self::CODING_MODE_2_0 => true,
2526
self::CODING_MODE_3_2_LFE => true,
27+
self::CODING_MODE_AUTO => true,
2628
][$value]);
2729
}
2830
}

src/Service/MediaConvert/src/Enum/AudioSelectorType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* values of your audio streams. Track: Default. Select audio by track number. This is the most common option and works
99
* with most input container formats. If more types of audio data get recognized in the future, these numberings may
1010
* shift, but the numberings used for Stream mode will not. Language code: Select audio by language using an ISO 639-2
11-
* or ISO 639-3 three-letter code in all capital letters. Use this when your source has embedded language metadata
12-
* and you want to select tracks based on their language. HLS rendition group: Select audio from an HLS rendition group.
13-
* Use this when your input is an HLS package with multiple audio renditions and you want to select specific rendition
11+
* or ISO 639-3 three-letter code in all capital letters. Use this when your source has embedded language metadata and
12+
* you want to select tracks based on their language. HLS rendition group: Select audio from an HLS rendition group. Use
13+
* this when your input is an HLS package with multiple audio renditions and you want to select specific rendition
1414
* groups. All PCM: Select all uncompressed PCM audio tracks from your input automatically. This is useful when you want
1515
* to include all PCM audio tracks without specifying individual track numbers. Stream: Select audio by stream number.
1616
* Stream numbers include all tracks in the source file, regardless of type, and correspond to either the order of
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* When you set Compatibility mapping to Duplicate Stream, DolbyVision streams that have a backward compatible base
7+
* layer (e.g., DolbyVision 8.1) will cause a duplicate stream to be signaled in the manifest as a duplicate stream.
8+
* When you set Compatibility mapping to Supplemntal Codecs, DolbyVision streams that have a backward compatible base
9+
* layer (e.g., DolbyVision 8.1) will cause the associate stream in the manifest to include a SUPPLEMENTAL_CODECS
10+
* property.
11+
*/
12+
final class DolbyVisionCompatibility
13+
{
14+
public const DUPLICATE_STREAM = 'DUPLICATE_STREAM';
15+
public const SUPPLEMENTAL_CODECS = 'SUPPLEMENTAL_CODECS';
16+
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';
17+
18+
/**
19+
* @psalm-assert-if-true self::* $value
20+
*/
21+
public static function exists(string $value): bool
22+
{
23+
return isset([
24+
self::DUPLICATE_STREAM => true,
25+
self::SUPPLEMENTAL_CODECS => true,
26+
][$value]);
27+
}
28+
}

src/Service/MediaConvert/src/Enum/Eac3CodingMode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ final class Eac3CodingMode
1010
public const CODING_MODE_1_0 = 'CODING_MODE_1_0';
1111
public const CODING_MODE_2_0 = 'CODING_MODE_2_0';
1212
public const CODING_MODE_3_2 = 'CODING_MODE_3_2';
13+
public const CODING_MODE_AUTO = 'CODING_MODE_AUTO';
1314
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';
1415

1516
/**
@@ -21,6 +22,7 @@ public static function exists(string $value): bool
2122
self::CODING_MODE_1_0 => true,
2223
self::CODING_MODE_2_0 => true,
2324
self::CODING_MODE_3_2 => true,
25+
self::CODING_MODE_AUTO => true,
2426
][$value]);
2527
}
2628
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Choose the audio frame wrapping mode for PCM tracks in MXF outputs. AUTO (default): Uses codec-appropriate defaults -
7+
* BWF for H.264/AVC, AES3 for MPEG2/XDCAM. AES3: Use AES3 frame wrapping with SMPTE-compliant descriptors. This setting
8+
* only takes effect when the MXF profile is OP1a.
9+
*/
10+
final class MxfUncompressedAudioWrapping
11+
{
12+
public const AES3 = 'AES3';
13+
public const AUTO = 'AUTO';
14+
public const UNKNOWN_TO_SDK = 'UNKNOWN_TO_SDK';
15+
16+
/**
17+
* @psalm-assert-if-true self::* $value
18+
*/
19+
public static function exists(string $value): bool
20+
{
21+
return isset([
22+
self::AES3 => true,
23+
self::AUTO => true,
24+
][$value]);
25+
}
26+
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
use AsyncAws\MediaConvert\Enum\DeinterlaceAlgorithm;
128128
use AsyncAws\MediaConvert\Enum\DeinterlacerControl;
129129
use AsyncAws\MediaConvert\Enum\DeinterlacerMode;
130+
use AsyncAws\MediaConvert\Enum\DolbyVisionCompatibility;
130131
use AsyncAws\MediaConvert\Enum\DolbyVisionLevel6Mode;
131132
use AsyncAws\MediaConvert\Enum\DolbyVisionMapping;
132133
use AsyncAws\MediaConvert\Enum\DolbyVisionProfile;
@@ -345,6 +346,7 @@
345346
use AsyncAws\MediaConvert\Enum\MsSmoothManifestEncoding;
346347
use AsyncAws\MediaConvert\Enum\MxfAfdSignaling;
347348
use AsyncAws\MediaConvert\Enum\MxfProfile;
349+
use AsyncAws\MediaConvert\Enum\MxfUncompressedAudioWrapping;
348350
use AsyncAws\MediaConvert\Enum\MxfXavcDurationMode;
349351
use AsyncAws\MediaConvert\Enum\NielsenActiveWatermarkProcessType;
350352
use AsyncAws\MediaConvert\Enum\NielsenSourceWatermarkStatusType;
@@ -1227,6 +1229,7 @@ private function populateResultDestinationSettings(array $json): DestinationSett
12271229
private function populateResultDolbyVision(array $json): DolbyVision
12281230
{
12291231
return new DolbyVision([
1232+
'Compatibility' => isset($json['compatibility']) ? (!DolbyVisionCompatibility::exists((string) $json['compatibility']) ? DolbyVisionCompatibility::UNKNOWN_TO_SDK : (string) $json['compatibility']) : null,
12301233
'L6Metadata' => empty($json['l6Metadata']) ? null : $this->populateResultDolbyVisionLevel6Metadata($json['l6Metadata']),
12311234
'L6Mode' => isset($json['l6Mode']) ? (!DolbyVisionLevel6Mode::exists((string) $json['l6Mode']) ? DolbyVisionLevel6Mode::UNKNOWN_TO_SDK : (string) $json['l6Mode']) : null,
12321235
'Mapping' => isset($json['mapping']) ? (!DolbyVisionMapping::exists((string) $json['mapping']) ? DolbyVisionMapping::UNKNOWN_TO_SDK : (string) $json['mapping']) : null,
@@ -2230,6 +2233,7 @@ private function populateResultMxfSettings(array $json): MxfSettings
22302233
return new MxfSettings([
22312234
'AfdSignaling' => isset($json['afdSignaling']) ? (!MxfAfdSignaling::exists((string) $json['afdSignaling']) ? MxfAfdSignaling::UNKNOWN_TO_SDK : (string) $json['afdSignaling']) : null,
22322235
'Profile' => isset($json['profile']) ? (!MxfProfile::exists((string) $json['profile']) ? MxfProfile::UNKNOWN_TO_SDK : (string) $json['profile']) : null,
2236+
'UncompressedAudioWrapping' => isset($json['uncompressedAudioWrapping']) ? (!MxfUncompressedAudioWrapping::exists((string) $json['uncompressedAudioWrapping']) ? MxfUncompressedAudioWrapping::UNKNOWN_TO_SDK : (string) $json['uncompressedAudioWrapping']) : null,
22332237
'XavcProfileSettings' => empty($json['xavcProfileSettings']) ? null : $this->populateResultMxfXavcProfileSettings($json['xavcProfileSettings']),
22342238
]);
22352239
}

0 commit comments

Comments
 (0)