Skip to content

Commit e32a5ad

Browse files
Update generated code (#1859)
update generated code
1 parent 4ae925b commit e32a5ad

21 files changed

+145
-29
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.342.6"
3+
"${LATEST}": "3.342.8"
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 support for AVC passthrough, the ability to specify PTS offset without padding, and an A/V segment matching feature.
8+
59
## 1.6.0
610

711
### 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.6-dev"
31+
"dev-master": "1.7-dev"
3232
}
3333
}
3434
}

src/Service/MediaConvert/src/Enum/CmafSegmentLengthControl.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,30 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
7-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
8-
* to have the encoder round up the segment lengths to match the next GOP boundary.
6+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
7+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
8+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
9+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
10+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
11+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
12+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
13+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
14+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
15+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
16+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
917
*/
1018
final class CmafSegmentLengthControl
1119
{
1220
public const EXACT = 'EXACT';
1321
public const GOP_MULTIPLE = 'GOP_MULTIPLE';
22+
public const MATCH = 'MATCH';
1423

1524
public static function exists(string $value): bool
1625
{
1726
return isset([
1827
self::EXACT => true,
1928
self::GOP_MULTIPLE => true,
29+
self::MATCH => true,
2030
][$value]);
2131
}
2232
}

src/Service/MediaConvert/src/Enum/DashIsoSegmentLengthControl.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,30 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
7-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
8-
* to have the encoder round up the segment lengths to match the next GOP boundary.
6+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
7+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
8+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
9+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
10+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
11+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
12+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
13+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
14+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
15+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
16+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
917
*/
1018
final class DashIsoSegmentLengthControl
1119
{
1220
public const EXACT = 'EXACT';
1321
public const GOP_MULTIPLE = 'GOP_MULTIPLE';
22+
public const MATCH = 'MATCH';
1423

1524
public static function exists(string $value): bool
1625
{
1726
return isset([
1827
self::EXACT => true,
1928
self::GOP_MULTIPLE => true,
29+
self::MATCH => true,
2030
][$value]);
2131
}
2232
}

src/Service/MediaConvert/src/Enum/HlsSegmentLengthControl.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,30 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
7-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
8-
* to have the encoder round up the segment lengths to match the next GOP boundary.
6+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
7+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
8+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
9+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
10+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
11+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
12+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
13+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
14+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
15+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
16+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
917
*/
1018
final class HlsSegmentLengthControl
1119
{
1220
public const EXACT = 'EXACT';
1321
public const GOP_MULTIPLE = 'GOP_MULTIPLE';
22+
public const MATCH = 'MATCH';
1423

1524
public static function exists(string $value): bool
1625
{
1726
return isset([
1827
self::EXACT => true,
1928
self::GOP_MULTIPLE => true,
29+
self::MATCH => true,
2030
][$value]);
2131
}
2232
}

src/Service/MediaConvert/src/Enum/TsPtsOffset.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@
77
* automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for
88
* the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's
99
* bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose
10-
* Seconds. Then specify the number of seconds with PTS offset.
10+
* Seconds or Milliseconds. Then specify the number of seconds or milliseconds with PTS offset.
1111
*/
1212
final class TsPtsOffset
1313
{
1414
public const AUTO = 'AUTO';
15+
public const MILLISECONDS = 'MILLISECONDS';
1516
public const SECONDS = 'SECONDS';
1617

1718
public static function exists(string $value): bool
1819
{
1920
return isset([
2021
self::AUTO => true,
22+
self::MILLISECONDS => true,
2123
self::SECONDS => true,
2224
][$value]);
2325
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
14911491
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
14921492
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
14931493
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1494+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
14941495
'Bitrate' => isset($json['bitrate']) ? (int) $json['bitrate'] : null,
14951496
'BufferModel' => isset($json['bufferModel']) ? (string) $json['bufferModel'] : null,
14961497
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
@@ -1538,6 +1539,7 @@ private function populateResultM3u8Settings(array $json): M3u8Settings
15381539
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
15391540
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
15401541
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1542+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
15411543
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
15421544
'MaxPcrInterval' => isset($json['maxPcrInterval']) ? (int) $json['maxPcrInterval'] : null,
15431545
'NielsenId3' => isset($json['nielsenId3']) ? (string) $json['nielsenId3'] : null,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
14911491
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
14921492
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
14931493
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1494+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
14941495
'Bitrate' => isset($json['bitrate']) ? (int) $json['bitrate'] : null,
14951496
'BufferModel' => isset($json['bufferModel']) ? (string) $json['bufferModel'] : null,
14961497
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
@@ -1538,6 +1539,7 @@ private function populateResultM3u8Settings(array $json): M3u8Settings
15381539
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
15391540
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
15401541
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1542+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
15411543
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
15421544
'MaxPcrInterval' => isset($json['maxPcrInterval']) ? (int) $json['maxPcrInterval'] : null,
15431545
'NielsenId3' => isset($json['nielsenId3']) ? (string) $json['nielsenId3'] : null,

src/Service/MediaConvert/src/Result/ListJobsResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,6 +1558,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
15581558
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
15591559
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
15601560
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1561+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
15611562
'Bitrate' => isset($json['bitrate']) ? (int) $json['bitrate'] : null,
15621563
'BufferModel' => isset($json['bufferModel']) ? (string) $json['bufferModel'] : null,
15631564
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
@@ -1605,6 +1606,7 @@ private function populateResultM3u8Settings(array $json): M3u8Settings
16051606
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
16061607
'AudioFramesPerPes' => isset($json['audioFramesPerPes']) ? (int) $json['audioFramesPerPes'] : null,
16071608
'AudioPids' => !isset($json['audioPids']) ? null : $this->populateResult__listOf__integerMin32Max8182($json['audioPids']),
1609+
'AudioPtsOffsetDelta' => isset($json['audioPtsOffsetDelta']) ? (int) $json['audioPtsOffsetDelta'] : null,
16081610
'DataPTSControl' => isset($json['dataPTSControl']) ? (string) $json['dataPTSControl'] : null,
16091611
'MaxPcrInterval' => isset($json['maxPcrInterval']) ? (int) $json['maxPcrInterval'] : null,
16101612
'NielsenId3' => isset($json['nielsenId3']) ? (string) $json['nielsenId3'] : null,

src/Service/MediaConvert/src/ValueObject/CmafGroupSettings.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,17 @@ final class CmafGroupSettings
221221
private $segmentLength;
222222

223223
/**
224-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
225-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
226-
* to have the encoder round up the segment lengths to match the next GOP boundary.
224+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
225+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
226+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
227+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
228+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
229+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
230+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
231+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
232+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
233+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
234+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
227235
*
228236
* @var CmafSegmentLengthControl::*|null
229237
*/

src/Service/MediaConvert/src/ValueObject/DashIsoGroupSettings.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,17 @@ final class DashIsoGroupSettings
204204
private $segmentLength;
205205

206206
/**
207-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
208-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
209-
* to have the encoder round up the segment lengths to match the next GOP boundary.
207+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
208+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
209+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
210+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
211+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
212+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
213+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
214+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
215+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
216+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
217+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
210218
*
211219
* @var DashIsoSegmentLengthControl::*|null
212220
*/

src/Service/MediaConvert/src/ValueObject/HlsGroupSettings.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,17 @@ final class HlsGroupSettings
245245
private $segmentLength;
246246

247247
/**
248-
* Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact
249-
* length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP
250-
* to have the encoder round up the segment lengths to match the next GOP boundary.
248+
* Specify how you want MediaConvert to determine segment lengths in this output group. To use the exact value that you
249+
* specify under Segment length: Choose Exact. Note that this might result in additional I-frames in the output GOP. To
250+
* create segment lengths that are a multiple of the GOP: Choose Multiple of GOP. MediaConvert will round up the segment
251+
* lengths to match the next GOP boundary. To have MediaConvert automatically determine a segment duration that is a
252+
* multiple of both the audio packets and the frame rates: Choose Match. When you do, also specify a target segment
253+
* duration under Segment length. This is useful for some ad-insertion or segment replacement workflows. Note that Match
254+
* has the following requirements: - Output containers: Include at least one video output and at least one audio output.
255+
* Audio-only outputs are not supported. - Output frame rate: Follow source is not supported. - Multiple output frame
256+
* rates: When you specify multiple outputs, we recommend they share a similar frame rate (as in X/3, X/2, X, or 2X).
257+
* For example: 5, 15, 30 and 60. Or: 25 and 50. (Outputs must share an integer multiple.) - Output audio codec: Specify
258+
* Advanced Audio Coding (AAC). - Output sample rate: Choose 48kHz.
251259
*
252260
* @var HlsSegmentLengthControl::*|null
253261
*/

0 commit comments

Comments
 (0)