Skip to content

Commit cc04944

Browse files
Update generated code (#1865)
update generated code
1 parent 99dc438 commit cc04944

File tree

6 files changed

+26
-1
lines changed

6 files changed

+26
-1
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.13"
3+
"${LATEST}": "3.342.14"
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
@@ -5,6 +5,7 @@
55
### Added
66

77
- 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+
- AWS api-change: This release adds a configurable Quality Level setting for the top rendition of Auto ABR jobs
89

910
## 1.6.0
1011

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
378378
{
379379
return new AutomatedAbrSettings([
380380
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
381+
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
381382
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
382383
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
383384
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
378378
{
379379
return new AutomatedAbrSettings([
380380
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
381+
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
381382
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
382383
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
383384
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
445445
{
446446
return new AutomatedAbrSettings([
447447
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
448+
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
448449
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
449450
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
450451
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),

src/Service/MediaConvert/src/ValueObject/AutomatedAbrSettings.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ final class AutomatedAbrSettings
1919
*/
2020
private $maxAbrBitrate;
2121

22+
/**
23+
* Optional. Specify the QVBR quality level to use for all renditions in your automated ABR stack. To have MediaConvert
24+
* automatically determine the quality level: Leave blank. To manually specify a quality level: Enter an integer from 1
25+
* to 10. MediaConvert will use a quality level up to the value that you specify, depending on your source. For more
26+
* information about QVBR quality levels, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/qvbr-guidelines.html.
27+
*
28+
* @var float|null
29+
*/
30+
private $maxQualityLevel;
31+
2232
/**
2333
* Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of
2434
* renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set
@@ -50,6 +60,7 @@ final class AutomatedAbrSettings
5060
/**
5161
* @param array{
5262
* MaxAbrBitrate?: null|int,
63+
* MaxQualityLevel?: null|float,
5364
* MaxRenditions?: null|int,
5465
* MinAbrBitrate?: null|int,
5566
* Rules?: null|array<AutomatedAbrRule|array>,
@@ -58,6 +69,7 @@ final class AutomatedAbrSettings
5869
public function __construct(array $input)
5970
{
6071
$this->maxAbrBitrate = $input['MaxAbrBitrate'] ?? null;
72+
$this->maxQualityLevel = $input['MaxQualityLevel'] ?? null;
6173
$this->maxRenditions = $input['MaxRenditions'] ?? null;
6274
$this->minAbrBitrate = $input['MinAbrBitrate'] ?? null;
6375
$this->rules = isset($input['Rules']) ? array_map([AutomatedAbrRule::class, 'create'], $input['Rules']) : null;
@@ -66,6 +78,7 @@ public function __construct(array $input)
6678
/**
6779
* @param array{
6880
* MaxAbrBitrate?: null|int,
81+
* MaxQualityLevel?: null|float,
6982
* MaxRenditions?: null|int,
7083
* MinAbrBitrate?: null|int,
7184
* Rules?: null|array<AutomatedAbrRule|array>,
@@ -81,6 +94,11 @@ public function getMaxAbrBitrate(): ?int
8194
return $this->maxAbrBitrate;
8295
}
8396

97+
public function getMaxQualityLevel(): ?float
98+
{
99+
return $this->maxQualityLevel;
100+
}
101+
84102
public function getMaxRenditions(): ?int
85103
{
86104
return $this->maxRenditions;
@@ -108,6 +126,9 @@ public function requestBody(): array
108126
if (null !== $v = $this->maxAbrBitrate) {
109127
$payload['maxAbrBitrate'] = $v;
110128
}
129+
if (null !== $v = $this->maxQualityLevel) {
130+
$payload['maxQualityLevel'] = $v;
131+
}
111132
if (null !== $v = $this->maxRenditions) {
112133
$payload['maxRenditions'] = $v;
113134
}

0 commit comments

Comments
 (0)