Skip to content

Commit f81bde4

Browse files
committed
update generated code
1 parent e1d6459 commit f81bde4

24 files changed

+426
-41
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.359.0"
3+
"${LATEST}": "3.359.3"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/Lambda/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- AWS api-change: Add NodeJs 24 (nodejs24.x) support to AWS Lambda.
88
- AWS api-change: Added `us-isob-west-1` region
99
- AWS api-change: Added SerializedRequestEntityTooLargeException to Lambda Invoke API
10+
- AWS api-change: Add Python3.14 (python3.14) and Java 25 (java25) support to AWS Lambda
1011

1112
### Dependency bumped
1213

src/Service/Lambda/src/Enum/Runtime.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ final class Runtime
1414
public const JAVA_11 = 'java11';
1515
public const JAVA_17 = 'java17';
1616
public const JAVA_21 = 'java21';
17+
public const JAVA_25 = 'java25';
1718
public const JAVA_8 = 'java8';
1819
public const JAVA_8_AL_2 = 'java8.al2';
1920
public const NODEJS = 'nodejs';
@@ -37,6 +38,7 @@ final class Runtime
3738
public const PYTHON_3_11 = 'python3.11';
3839
public const PYTHON_3_12 = 'python3.12';
3940
public const PYTHON_3_13 = 'python3.13';
41+
public const PYTHON_3_14 = 'python3.14';
4042
public const PYTHON_3_6 = 'python3.6';
4143
public const PYTHON_3_7 = 'python3.7';
4244
public const PYTHON_3_8 = 'python3.8';
@@ -60,6 +62,7 @@ public static function exists(string $value): bool
6062
self::JAVA_11 => true,
6163
self::JAVA_17 => true,
6264
self::JAVA_21 => true,
65+
self::JAVA_25 => true,
6366
self::JAVA_8 => true,
6467
self::JAVA_8_AL_2 => true,
6568
self::NODEJS => true,
@@ -83,6 +86,7 @@ public static function exists(string $value): bool
8386
self::PYTHON_3_11 => true,
8487
self::PYTHON_3_12 => true,
8588
self::PYTHON_3_13 => true,
89+
self::PYTHON_3_14 => true,
8690
self::PYTHON_3_6 => true,
8791
self::PYTHON_3_7 => true,
8892
self::PYTHON_3_8 => true,

src/Service/MediaConvert/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: This release adds the ability to set resolution for the black video generator.
8+
- 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.
89

910
### Dependency bumped
1011

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,27 @@
66
* Specify how MediaConvert selects audio content within your input. The default is Track. PID: Select audio by
77
* specifying the Packet Identifier (PID) values for MPEG Transport Stream inputs. Use this when you know the exact PID
88
* values of your audio streams. Track: Default. Select audio by track number. This is the most common option and works
9-
* with most input container formats. Language code: Select audio by language using an ISO 639-2 or ISO 639-3
10-
* three-letter code in all capital letters. Use this when your source has embedded language metadata and you want to
11-
* select tracks based on their language. HLS rendition group: Select audio from an HLS rendition group. Use this when
12-
* your input is an HLS package with multiple audio renditions and you want to select specific rendition groups. All
13-
* PCM: Select all uncompressed PCM audio tracks from your input automatically. This is useful when you want to include
14-
* all PCM audio tracks without specifying individual track numbers.
9+
* with most input container formats. If more types of audio data get recognized in the future, these numberings may
10+
* 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
14+
* groups. All PCM: Select all uncompressed PCM audio tracks from your input automatically. This is useful when you want
15+
* to include all PCM audio tracks without specifying individual track numbers. Stream: Select audio by stream number.
16+
* Stream numbers include all tracks in the source file, regardless of type, and correspond to either the order of
17+
* tracks in the file, or if applicable, the stream number metadata of the track. Although all tracks count toward these
18+
* stream numbers, in this audio selector context, only the stream number of a track containing audio data may be used.
19+
* If your source file contains a track which is not recognized by the service, then the corresponding stream number
20+
* will still be reserved for future use. If more types of audio data get recognized in the future, these numberings
21+
* will not shift.
1522
*/
1623
final class AudioSelectorType
1724
{
1825
public const ALL_PCM = 'ALL_PCM';
1926
public const HLS_RENDITION_GROUP = 'HLS_RENDITION_GROUP';
2027
public const LANGUAGE_CODE = 'LANGUAGE_CODE';
2128
public const PID = 'PID';
29+
public const STREAM = 'STREAM';
2230
public const TRACK = 'TRACK';
2331

2432
public static function exists(string $value): bool
@@ -28,6 +36,7 @@ public static function exists(string $value): bool
2836
self::HLS_RENDITION_GROUP => true,
2937
self::LANGUAGE_CODE => true,
3038
self::PID => true,
39+
self::STREAM => true,
3140
self::TRACK => true,
3241
][$value]);
3342
}

src/Service/MediaConvert/src/Enum/DashManifestStyle.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each
7-
* video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet:
8-
* Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a
9-
* common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in
10-
* each AdaptationSet: Choose Distinct.
6+
* Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline for outputs
7+
* that you also specify a Name modifier for: Keep the default value, Basic. Note that if you do not specify a name
8+
* modifier for an output, MediaConvert will not write a SegmentTimeline for it. To write a common SegmentTimeline in
9+
* the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any
10+
* Representation that does not share a common timeline. To write a video AdaptationSet for each different output
11+
* framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct. To write a SegmentTimeline in each
12+
* AdaptationSet: Choose Full.
1113
*/
1214
final class DashManifestStyle
1315
{
1416
public const BASIC = 'BASIC';
1517
public const COMPACT = 'COMPACT';
1618
public const DISTINCT = 'DISTINCT';
19+
public const FULL = 'FULL';
1720

1821
public static function exists(string $value): bool
1922
{
2023
return isset([
2124
self::BASIC => true,
2225
self::COMPACT => true,
2326
self::DISTINCT => true,
27+
self::FULL => true,
2428
][$value]);
2529
}
2630
}

src/Service/MediaConvert/src/Enum/MpdCaptionContainerType.php

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

55
/**
6-
* Use this setting only in DASH output groups that include sidecar TTML or IMSC captions. You specify sidecar captions
7-
* in a separate output from your audio and video. Choose Raw for captions in a single XML file in a raw container.
8-
* Choose Fragmented MPEG-4 for captions in XML format contained within fragmented MP4 files. This set of fragmented MP4
9-
* files is separate from your video and audio fragmented MP4 files.
6+
* Use this setting only in DASH output groups that include sidecar TTML, IMSC or WEBVTT captions. You specify sidecar
7+
* captions in a separate output from your audio and video. Choose Raw for captions in a single XML file in a raw
8+
* container. Choose Fragmented MPEG-4 for captions in XML format contained within fragmented MP4 files. This set of
9+
* fragmented MP4 files is separate from your video and audio fragmented MP4 files.
1010
*/
1111
final class MpdCaptionContainerType
1212
{
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+
* Use Slow PAL pitch correction to compensate for audio pitch changes during slow PAL frame rate conversion. This
7+
* setting only applies when Slow PAL is enabled in your output video codec settings. To automatically apply audio pitch
8+
* correction: Choose Enabled. MediaConvert automatically applies a pitch correction to your output to match the
9+
* original content's audio pitch. To not apply audio pitch correction: Keep the default value, Disabled.
10+
*/
11+
final class SlowPalPitchCorrection
12+
{
13+
public const DISABLED = 'DISABLED';
14+
public const ENABLED = 'ENABLED';
15+
16+
public static function exists(string $value): bool
17+
{
18+
return isset([
19+
self::DISABLED => true,
20+
self::ENABLED => true,
21+
][$value]);
22+
}
23+
}
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+
* AUTO will select the highest bitrate input in the video selector source. REMUX_ALL will passthrough all the selected
7+
* streams in the video selector source. When selecting streams from multiple renditions (i.e. using Stream video
8+
* selector type): REMUX_ALL will only remux all streams selected, and AUTO will use the highest bitrate video stream
9+
* among the selected streams as source.
10+
*/
11+
final class VideoSelectorMode
12+
{
13+
public const AUTO = 'AUTO';
14+
public const REMUX_ALL = 'REMUX_ALL';
15+
16+
public static function exists(string $value): bool
17+
{
18+
return isset([
19+
self::AUTO => true,
20+
self::REMUX_ALL => true,
21+
][$value]);
22+
}
23+
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use AsyncAws\MediaConvert\ValueObject\AudioCodecSettings;
2020
use AsyncAws\MediaConvert\ValueObject\AudioDescription;
2121
use AsyncAws\MediaConvert\ValueObject\AudioNormalizationSettings;
22+
use AsyncAws\MediaConvert\ValueObject\AudioPitchCorrectionSettings;
2223
use AsyncAws\MediaConvert\ValueObject\AudioSelector;
2324
use AsyncAws\MediaConvert\ValueObject\AudioSelectorGroup;
2425
use AsyncAws\MediaConvert\ValueObject\AutomatedAbrRule;
@@ -138,6 +139,7 @@
138139
use AsyncAws\MediaConvert\ValueObject\OutputGroupSettings;
139140
use AsyncAws\MediaConvert\ValueObject\OutputSettings;
140141
use AsyncAws\MediaConvert\ValueObject\PartnerWatermarking;
142+
use AsyncAws\MediaConvert\ValueObject\PassthroughSettings;
141143
use AsyncAws\MediaConvert\ValueObject\ProresSettings;
142144
use AsyncAws\MediaConvert\ValueObject\QueueTransition;
143145
use AsyncAws\MediaConvert\ValueObject\Rectangle;
@@ -319,6 +321,7 @@ private function populateResultAudioDescription(array $json): AudioDescription
319321
return new AudioDescription([
320322
'AudioChannelTaggingSettings' => empty($json['audioChannelTaggingSettings']) ? null : $this->populateResultAudioChannelTaggingSettings($json['audioChannelTaggingSettings']),
321323
'AudioNormalizationSettings' => empty($json['audioNormalizationSettings']) ? null : $this->populateResultAudioNormalizationSettings($json['audioNormalizationSettings']),
324+
'AudioPitchCorrectionSettings' => empty($json['audioPitchCorrectionSettings']) ? null : $this->populateResultAudioPitchCorrectionSettings($json['audioPitchCorrectionSettings']),
322325
'AudioSourceName' => isset($json['audioSourceName']) ? (string) $json['audioSourceName'] : null,
323326
'AudioType' => isset($json['audioType']) ? (int) $json['audioType'] : null,
324327
'AudioTypeControl' => isset($json['audioTypeControl']) ? (string) $json['audioTypeControl'] : null,
@@ -344,6 +347,13 @@ private function populateResultAudioNormalizationSettings(array $json): AudioNor
344347
]);
345348
}
346349

350+
private function populateResultAudioPitchCorrectionSettings(array $json): AudioPitchCorrectionSettings
351+
{
352+
return new AudioPitchCorrectionSettings([
353+
'SlowPalPitchCorrection' => isset($json['slowPalPitchCorrection']) ? (string) $json['slowPalPitchCorrection'] : null,
354+
]);
355+
}
356+
347357
private function populateResultAudioSelector(array $json): AudioSelector
348358
{
349359
return new AudioSelector([
@@ -358,6 +368,7 @@ private function populateResultAudioSelector(array $json): AudioSelector
358368
'ProgramSelection' => isset($json['programSelection']) ? (int) $json['programSelection'] : null,
359369
'RemixSettings' => empty($json['remixSettings']) ? null : $this->populateResultRemixSettings($json['remixSettings']),
360370
'SelectorType' => isset($json['selectorType']) ? (string) $json['selectorType'] : null,
371+
'Streams' => !isset($json['streams']) ? null : $this->populateResult__listOf__integerMin1Max2147483647($json['streams']),
361372
'Tracks' => !isset($json['tracks']) ? null : $this->populateResult__listOf__integerMin1Max2147483647($json['tracks']),
362373
]);
363374
}
@@ -1938,6 +1949,13 @@ private function populateResultPartnerWatermarking(array $json): PartnerWatermar
19381949
]);
19391950
}
19401951

1952+
private function populateResultPassthroughSettings(array $json): PassthroughSettings
1953+
{
1954+
return new PassthroughSettings([
1955+
'VideoSelectorMode' => isset($json['videoSelectorMode']) ? (string) $json['videoSelectorMode'] : null,
1956+
]);
1957+
}
1958+
19411959
private function populateResultProresSettings(array $json): ProresSettings
19421960
{
19431961
return new ProresSettings([
@@ -2113,6 +2131,7 @@ private function populateResultTiming(array $json): Timing
21132131
private function populateResultTrackSourceSettings(array $json): TrackSourceSettings
21142132
{
21152133
return new TrackSourceSettings([
2134+
'StreamNumber' => isset($json['streamNumber']) ? (int) $json['streamNumber'] : null,
21162135
'TrackNumber' => isset($json['trackNumber']) ? (int) $json['trackNumber'] : null,
21172136
]);
21182137
}
@@ -2165,6 +2184,7 @@ private function populateResultVideoCodecSettings(array $json): VideoCodecSettin
21652184
'H264Settings' => empty($json['h264Settings']) ? null : $this->populateResultH264Settings($json['h264Settings']),
21662185
'H265Settings' => empty($json['h265Settings']) ? null : $this->populateResultH265Settings($json['h265Settings']),
21672186
'Mpeg2Settings' => empty($json['mpeg2Settings']) ? null : $this->populateResultMpeg2Settings($json['mpeg2Settings']),
2187+
'PassthroughSettings' => empty($json['passthroughSettings']) ? null : $this->populateResultPassthroughSettings($json['passthroughSettings']),
21682188
'ProresSettings' => empty($json['proresSettings']) ? null : $this->populateResultProresSettings($json['proresSettings']),
21692189
'UncompressedSettings' => empty($json['uncompressedSettings']) ? null : $this->populateResultUncompressedSettings($json['uncompressedSettings']),
21702190
'Vc3Settings' => empty($json['vc3Settings']) ? null : $this->populateResultVc3Settings($json['vc3Settings']),
@@ -2251,6 +2271,7 @@ private function populateResultVideoOverlayPosition(array $json): VideoOverlayPo
22512271
{
22522272
return new VideoOverlayPosition([
22532273
'Height' => isset($json['height']) ? (int) $json['height'] : null,
2274+
'Opacity' => isset($json['opacity']) ? (int) $json['opacity'] : null,
22542275
'Unit' => isset($json['unit']) ? (string) $json['unit'] : null,
22552276
'Width' => isset($json['width']) ? (int) $json['width'] : null,
22562277
'XPosition' => isset($json['xPosition']) ? (int) $json['xPosition'] : null,

0 commit comments

Comments
 (0)