Skip to content

Commit 1bf6021

Browse files
Update generated code (#1696)
update generated code
1 parent db69091 commit 1bf6021

14 files changed

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

src/Service/CodeBuild/src/ValueObject/ProjectSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final class ProjectSource
5353
* - For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains
5454
* the source and the buildspec file. You must connect your Amazon Web Services account to your GitLab account. Use
5555
* the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with
56-
* GitLab, on the Connections **Authorize application** page, choose **Authorize**. Then on the CodeStar Connections
56+
* GitLab, on the Connections **Authorize application** page, choose **Authorize**. Then on the CodeConnections
5757
* **Create GitLab connection** page, choose **Connect to GitLab**. (After you have connected to your GitLab account,
5858
* you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild
5959
* to override the default connection and use this connection instead, set the `auth` object's `type` value to

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 includes support for bringing your own fonts to use for burn-in or DVB-Sub captioning workflows.
8+
59
## 1.1.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.1-dev"
31+
"dev-master": "1.2-dev"
3232
}
3333
}
3434
}

src/Service/MediaConvert/src/Enum/BurnInSubtitleStylePassthrough.php

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

55
/**
6-
* Set Style passthrough to ENABLED to use the available style, color, and position information from your input
7-
* captions. MediaConvert uses default settings for any missing style and position information in your input captions.
8-
* Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input
9-
* captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing.
10-
* Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual
11-
* style and position settings.
6+
* To use the available style, color, and position information from your input captions: Set Style passthrough to
7+
* Enabled. Note that MediaConvert uses default settings for any missing style or position information in your input
8+
* captions To ignore the style and position information from your input captions and use default settings: Leave blank
9+
* or keep the default value, Disabled. Default settings include white text with black outlining, bottom-center
10+
* positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to
11+
* manually override any of the individual style and position settings. You can also override any fonts by manually
12+
* specifying custom font files.
1213
*/
1314
final class BurnInSubtitleStylePassthrough
1415
{

src/Service/MediaConvert/src/Enum/DvbSubtitleStylePassthrough.php

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

55
/**
6-
* Set Style passthrough to ENABLED to use the available style, color, and position information from your input
7-
* captions. MediaConvert uses default settings for any missing style and position information in your input captions.
8-
* Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input
9-
* captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing.
10-
* Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual
11-
* style and position settings.
6+
* To use the available style, color, and position information from your input captions: Set Style passthrough to
7+
* Enabled. Note that MediaConvert uses default settings for any missing style or position information in your input
8+
* captions To ignore the style and position information from your input captions and use default settings: Leave blank
9+
* or keep the default value, Disabled. Default settings include white text with black outlining, bottom-center
10+
* positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to
11+
* manually override any of the individual style and position settings. You can also override any fonts by manually
12+
* specifying custom font files.
1213
*/
1314
final class DvbSubtitleStylePassthrough
1415
{
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream
7+
* output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport
8+
* stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder
9+
* buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer
10+
* underflow in your output, output video quality is reduced and your job will take longer to complete.
11+
*/
12+
final class M2tsPreventBufferUnderflow
13+
{
14+
public const DISABLED = 'DISABLED';
15+
public const ENABLED = 'ENABLED';
16+
17+
public static function exists(string $value): bool
18+
{
19+
return isset([
20+
self::DISABLED => true,
21+
self::ENABLED => true,
22+
][$value]);
23+
}
24+
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ private function populateResultBurninDestinationSettings(array $json): BurninDes
461461
'BackgroundOpacity' => isset($json['backgroundOpacity']) ? (int) $json['backgroundOpacity'] : null,
462462
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
463463
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
464+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
465+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
466+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
467+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
464468
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
465469
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
466470
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -802,6 +806,10 @@ private function populateResultDvbSubDestinationSettings(array $json): DvbSubDes
802806
'DdsYCoordinate' => isset($json['ddsYCoordinate']) ? (int) $json['ddsYCoordinate'] : null,
803807
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
804808
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
809+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
810+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
811+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
812+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
805813
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
806814
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
807815
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -1458,6 +1466,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
14581466
'PcrPid' => isset($json['pcrPid']) ? (int) $json['pcrPid'] : null,
14591467
'PmtInterval' => isset($json['pmtInterval']) ? (int) $json['pmtInterval'] : null,
14601468
'PmtPid' => isset($json['pmtPid']) ? (int) $json['pmtPid'] : null,
1469+
'PreventBufferUnderflow' => isset($json['preventBufferUnderflow']) ? (string) $json['preventBufferUnderflow'] : null,
14611470
'PrivateMetadataPid' => isset($json['privateMetadataPid']) ? (int) $json['privateMetadataPid'] : null,
14621471
'ProgramNumber' => isset($json['programNumber']) ? (int) $json['programNumber'] : null,
14631472
'PtsOffset' => isset($json['ptsOffset']) ? (int) $json['ptsOffset'] : null,

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ private function populateResultBurninDestinationSettings(array $json): BurninDes
461461
'BackgroundOpacity' => isset($json['backgroundOpacity']) ? (int) $json['backgroundOpacity'] : null,
462462
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
463463
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
464+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
465+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
466+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
467+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
464468
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
465469
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
466470
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -802,6 +806,10 @@ private function populateResultDvbSubDestinationSettings(array $json): DvbSubDes
802806
'DdsYCoordinate' => isset($json['ddsYCoordinate']) ? (int) $json['ddsYCoordinate'] : null,
803807
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
804808
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
809+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
810+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
811+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
812+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
805813
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
806814
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
807815
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -1458,6 +1466,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
14581466
'PcrPid' => isset($json['pcrPid']) ? (int) $json['pcrPid'] : null,
14591467
'PmtInterval' => isset($json['pmtInterval']) ? (int) $json['pmtInterval'] : null,
14601468
'PmtPid' => isset($json['pmtPid']) ? (int) $json['pmtPid'] : null,
1469+
'PreventBufferUnderflow' => isset($json['preventBufferUnderflow']) ? (string) $json['preventBufferUnderflow'] : null,
14611470
'PrivateMetadataPid' => isset($json['privateMetadataPid']) ? (int) $json['privateMetadataPid'] : null,
14621471
'ProgramNumber' => isset($json['programNumber']) ? (int) $json['programNumber'] : null,
14631472
'PtsOffset' => isset($json['ptsOffset']) ? (int) $json['ptsOffset'] : null,

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,10 @@ private function populateResultBurninDestinationSettings(array $json): BurninDes
528528
'BackgroundOpacity' => isset($json['backgroundOpacity']) ? (int) $json['backgroundOpacity'] : null,
529529
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
530530
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
531+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
532+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
533+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
534+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
531535
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
532536
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
533537
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -869,6 +873,10 @@ private function populateResultDvbSubDestinationSettings(array $json): DvbSubDes
869873
'DdsYCoordinate' => isset($json['ddsYCoordinate']) ? (int) $json['ddsYCoordinate'] : null,
870874
'FallbackFont' => isset($json['fallbackFont']) ? (string) $json['fallbackFont'] : null,
871875
'FontColor' => isset($json['fontColor']) ? (string) $json['fontColor'] : null,
876+
'FontFileBold' => isset($json['fontFileBold']) ? (string) $json['fontFileBold'] : null,
877+
'FontFileBoldItalic' => isset($json['fontFileBoldItalic']) ? (string) $json['fontFileBoldItalic'] : null,
878+
'FontFileItalic' => isset($json['fontFileItalic']) ? (string) $json['fontFileItalic'] : null,
879+
'FontFileRegular' => isset($json['fontFileRegular']) ? (string) $json['fontFileRegular'] : null,
872880
'FontOpacity' => isset($json['fontOpacity']) ? (int) $json['fontOpacity'] : null,
873881
'FontResolution' => isset($json['fontResolution']) ? (int) $json['fontResolution'] : null,
874882
'FontScript' => isset($json['fontScript']) ? (string) $json['fontScript'] : null,
@@ -1525,6 +1533,7 @@ private function populateResultM2tsSettings(array $json): M2tsSettings
15251533
'PcrPid' => isset($json['pcrPid']) ? (int) $json['pcrPid'] : null,
15261534
'PmtInterval' => isset($json['pmtInterval']) ? (int) $json['pmtInterval'] : null,
15271535
'PmtPid' => isset($json['pmtPid']) ? (int) $json['pmtPid'] : null,
1536+
'PreventBufferUnderflow' => isset($json['preventBufferUnderflow']) ? (string) $json['preventBufferUnderflow'] : null,
15281537
'PrivateMetadataPid' => isset($json['privateMetadataPid']) ? (int) $json['privateMetadataPid'] : null,
15291538
'ProgramNumber' => isset($json['programNumber']) ? (int) $json['programNumber'] : null,
15301539
'PtsOffset' => isset($json['ptsOffset']) ? (int) $json['ptsOffset'] : null,

0 commit comments

Comments
 (0)