Skip to content

Commit 623ce12

Browse files
Update generated code (#1907)
* update generated code * Update src/Service/AppSync/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent f048dad commit 623ce12

File tree

7 files changed

+23
-40
lines changed

7 files changed

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

src/Service/AppSync/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: Rework regions configuration
8+
59
## 3.2.0
610

711
### Added

src/Service/AppSync/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": "3.2-dev"
31+
"dev-master": "3.3-dev"
3232
}
3333
}
3434
}

src/Service/AppSync/src/AppSyncClient.php

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
use AsyncAws\Core\AwsError\AwsErrorFactoryInterface;
4747
use AsyncAws\Core\AwsError\JsonRestAwsErrorFactory;
4848
use AsyncAws\Core\Configuration;
49-
use AsyncAws\Core\Exception\UnsupportedRegion;
5049
use AsyncAws\Core\RequestContext;
5150

5251
class AppSyncClient extends AbstractApi
@@ -396,40 +395,6 @@ protected function getEndpointMetadata(?string $region): array
396395
}
397396

398397
switch ($region) {
399-
case 'af-south-1':
400-
case 'ap-east-1':
401-
case 'ap-northeast-1':
402-
case 'ap-northeast-2':
403-
case 'ap-northeast-3':
404-
case 'ap-south-1':
405-
case 'ap-south-2':
406-
case 'ap-southeast-1':
407-
case 'ap-southeast-2':
408-
case 'ap-southeast-3':
409-
case 'ap-southeast-4':
410-
case 'ca-central-1':
411-
case 'eu-central-1':
412-
case 'eu-central-2':
413-
case 'eu-north-1':
414-
case 'eu-south-1':
415-
case 'eu-south-2':
416-
case 'eu-west-1':
417-
case 'eu-west-2':
418-
case 'eu-west-3':
419-
case 'il-central-1':
420-
case 'me-central-1':
421-
case 'me-south-1':
422-
case 'sa-east-1':
423-
case 'us-east-1':
424-
case 'us-east-2':
425-
case 'us-west-1':
426-
case 'us-west-2':
427-
return [
428-
'endpoint' => "https://appsync.$region.amazonaws.com",
429-
'signRegion' => $region,
430-
'signService' => 'appsync',
431-
'signVersions' => ['v4'],
432-
];
433398
case 'cn-north-1':
434399
case 'cn-northwest-1':
435400
return [
@@ -440,6 +405,11 @@ protected function getEndpointMetadata(?string $region): array
440405
];
441406
}
442407

443-
throw new UnsupportedRegion(\sprintf('The region "%s" is not supported by "AppSync".', $region));
408+
return [
409+
'endpoint' => "https://appsync.$region.amazonaws.com",
410+
'signRegion' => $region,
411+
'signService' => 'appsync',
412+
'signVersions' => ['v4'],
413+
];
444414
}
445415
}

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 includes support for embedding and signing C2PA content credentials in MP4 outputs.
8+
- AWS api-change: This release adds a new SPECIFIED_OPTIMAL option for handling DDS when using DVB-Sub with high resolution video.
89

910
## 1.9.0
1011

src/Service/MediaConvert/src/Enum/DvbddsHandling.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,25 @@
99
* Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS
1010
* x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn't
1111
* include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must
12-
* match.
12+
* match. To include the DDS, with optimized subtitle placement and reduced data overhead: We recommend that you choose
13+
* Specified (optimal). This option provides the same visual positioning as Specified while using less bandwidth. This
14+
* also supports resolutions higher than 1080p while maintaining full DVB-Sub compatibility. When you do, also specify
15+
* the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate.
1316
*/
1417
final class DvbddsHandling
1518
{
1619
public const NONE = 'NONE';
1720
public const NO_DISPLAY_WINDOW = 'NO_DISPLAY_WINDOW';
1821
public const SPECIFIED = 'SPECIFIED';
22+
public const SPECIFIED_OPTIMAL = 'SPECIFIED_OPTIMAL';
1923

2024
public static function exists(string $value): bool
2125
{
2226
return isset([
2327
self::NONE => true,
2428
self::NO_DISPLAY_WINDOW => true,
2529
self::SPECIFIED => true,
30+
self::SPECIFIED_OPTIMAL => true,
2631
][$value]);
2732
}
2833
}

src/Service/MediaConvert/src/ValueObject/DvbSubDestinationSettings.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ final class DvbSubDestinationSettings
7070
* Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS
7171
* x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn't
7272
* include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must
73-
* match.
73+
* match. To include the DDS, with optimized subtitle placement and reduced data overhead: We recommend that you choose
74+
* Specified (optimal). This option provides the same visual positioning as Specified while using less bandwidth. This
75+
* also supports resolutions higher than 1080p while maintaining full DVB-Sub compatibility. When you do, also specify
76+
* the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate.
7477
*
7578
* @var DvbddsHandling::*|null
7679
*/

0 commit comments

Comments
 (0)