Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.342.13"
"${LATEST}": "3.342.14"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

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

## 1.6.0

Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/src/Result/CreateJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
{
return new AutomatedAbrSettings([
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),
Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/src/Result/GetJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
{
return new AutomatedAbrSettings([
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),
Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/src/Result/ListJobsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ private function populateResultAutomatedAbrSettings(array $json): AutomatedAbrSe
{
return new AutomatedAbrSettings([
'MaxAbrBitrate' => isset($json['maxAbrBitrate']) ? (int) $json['maxAbrBitrate'] : null,
'MaxQualityLevel' => isset($json['maxQualityLevel']) ? (float) $json['maxQualityLevel'] : null,
'MaxRenditions' => isset($json['maxRenditions']) ? (int) $json['maxRenditions'] : null,
'MinAbrBitrate' => isset($json['minAbrBitrate']) ? (int) $json['minAbrBitrate'] : null,
'Rules' => !isset($json['rules']) ? null : $this->populateResult__listOfAutomatedAbrRule($json['rules']),
Expand Down
21 changes: 21 additions & 0 deletions src/Service/MediaConvert/src/ValueObject/AutomatedAbrSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ final class AutomatedAbrSettings
*/
private $maxAbrBitrate;

/**
* Optional. Specify the QVBR quality level to use for all renditions in your automated ABR stack. To have MediaConvert
* automatically determine the quality level: Leave blank. To manually specify a quality level: Enter an integer from 1
* to 10. MediaConvert will use a quality level up to the value that you specify, depending on your source. For more
* information about QVBR quality levels, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/qvbr-guidelines.html.
*
* @var float|null
*/
private $maxQualityLevel;

/**
* Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of
* renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set
Expand Down Expand Up @@ -50,6 +60,7 @@ final class AutomatedAbrSettings
/**
* @param array{
* MaxAbrBitrate?: null|int,
* MaxQualityLevel?: null|float,
* MaxRenditions?: null|int,
* MinAbrBitrate?: null|int,
* Rules?: null|array<AutomatedAbrRule|array>,
Expand All @@ -58,6 +69,7 @@ final class AutomatedAbrSettings
public function __construct(array $input)
{
$this->maxAbrBitrate = $input['MaxAbrBitrate'] ?? null;
$this->maxQualityLevel = $input['MaxQualityLevel'] ?? null;
$this->maxRenditions = $input['MaxRenditions'] ?? null;
$this->minAbrBitrate = $input['MinAbrBitrate'] ?? null;
$this->rules = isset($input['Rules']) ? array_map([AutomatedAbrRule::class, 'create'], $input['Rules']) : null;
Expand All @@ -66,6 +78,7 @@ public function __construct(array $input)
/**
* @param array{
* MaxAbrBitrate?: null|int,
* MaxQualityLevel?: null|float,
* MaxRenditions?: null|int,
* MinAbrBitrate?: null|int,
* Rules?: null|array<AutomatedAbrRule|array>,
Expand All @@ -81,6 +94,11 @@ public function getMaxAbrBitrate(): ?int
return $this->maxAbrBitrate;
}

public function getMaxQualityLevel(): ?float
{
return $this->maxQualityLevel;
}

public function getMaxRenditions(): ?int
{
return $this->maxRenditions;
Expand Down Expand Up @@ -108,6 +126,9 @@ public function requestBody(): array
if (null !== $v = $this->maxAbrBitrate) {
$payload['maxAbrBitrate'] = $v;
}
if (null !== $v = $this->maxQualityLevel) {
$payload['maxQualityLevel'] = $v;
}
if (null !== $v = $this->maxRenditions) {
$payload['maxRenditions'] = $v;
}
Expand Down