diff --git a/manifest.json b/manifest.json index 5ec80533e..d19a226a3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.346.1" + "${LATEST}": "3.346.2" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/AppSync/CHANGELOG.md b/src/Service/AppSync/CHANGELOG.md index a5397c6d6..d2912979a 100644 --- a/src/Service/AppSync/CHANGELOG.md +++ b/src/Service/AppSync/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- AWS api-change: Rework regions configuration + ## 3.2.0 ### Added diff --git a/src/Service/AppSync/composer.json b/src/Service/AppSync/composer.json index 4d488d524..6d3dc28b8 100644 --- a/src/Service/AppSync/composer.json +++ b/src/Service/AppSync/composer.json @@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } } } diff --git a/src/Service/AppSync/src/AppSyncClient.php b/src/Service/AppSync/src/AppSyncClient.php index 2c2fa249e..97f5aadab 100644 --- a/src/Service/AppSync/src/AppSyncClient.php +++ b/src/Service/AppSync/src/AppSyncClient.php @@ -46,7 +46,6 @@ use AsyncAws\Core\AwsError\AwsErrorFactoryInterface; use AsyncAws\Core\AwsError\JsonRestAwsErrorFactory; use AsyncAws\Core\Configuration; -use AsyncAws\Core\Exception\UnsupportedRegion; use AsyncAws\Core\RequestContext; class AppSyncClient extends AbstractApi @@ -396,40 +395,6 @@ protected function getEndpointMetadata(?string $region): array } switch ($region) { - case 'af-south-1': - case 'ap-east-1': - case 'ap-northeast-1': - case 'ap-northeast-2': - case 'ap-northeast-3': - case 'ap-south-1': - case 'ap-south-2': - case 'ap-southeast-1': - case 'ap-southeast-2': - case 'ap-southeast-3': - case 'ap-southeast-4': - case 'ca-central-1': - case 'eu-central-1': - case 'eu-central-2': - case 'eu-north-1': - case 'eu-south-1': - case 'eu-south-2': - case 'eu-west-1': - case 'eu-west-2': - case 'eu-west-3': - case 'il-central-1': - case 'me-central-1': - case 'me-south-1': - case 'sa-east-1': - case 'us-east-1': - case 'us-east-2': - case 'us-west-1': - case 'us-west-2': - return [ - 'endpoint' => "https://appsync.$region.amazonaws.com", - 'signRegion' => $region, - 'signService' => 'appsync', - 'signVersions' => ['v4'], - ]; case 'cn-north-1': case 'cn-northwest-1': return [ @@ -440,6 +405,11 @@ protected function getEndpointMetadata(?string $region): array ]; } - throw new UnsupportedRegion(\sprintf('The region "%s" is not supported by "AppSync".', $region)); + return [ + 'endpoint' => "https://appsync.$region.amazonaws.com", + 'signRegion' => $region, + 'signService' => 'appsync', + 'signVersions' => ['v4'], + ]; } } diff --git a/src/Service/MediaConvert/CHANGELOG.md b/src/Service/MediaConvert/CHANGELOG.md index 96fe5e635..eee0cc2ab 100644 --- a/src/Service/MediaConvert/CHANGELOG.md +++ b/src/Service/MediaConvert/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - AWS api-change: This release includes support for embedding and signing C2PA content credentials in MP4 outputs. +- AWS api-change: This release adds a new SPECIFIED_OPTIMAL option for handling DDS when using DVB-Sub with high resolution video. ## 1.9.0 diff --git a/src/Service/MediaConvert/src/Enum/DvbddsHandling.php b/src/Service/MediaConvert/src/Enum/DvbddsHandling.php index e9bf4455e..e0dcd0d8a 100644 --- a/src/Service/MediaConvert/src/Enum/DvbddsHandling.php +++ b/src/Service/MediaConvert/src/Enum/DvbddsHandling.php @@ -9,13 +9,17 @@ * Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS * x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn't * include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must - * match. + * match. To include the DDS, with optimized subtitle placement and reduced data overhead: We recommend that you choose + * Specified (optimal). This option provides the same visual positioning as Specified while using less bandwidth. This + * also supports resolutions higher than 1080p while maintaining full DVB-Sub compatibility. When you do, also specify + * the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. */ final class DvbddsHandling { public const NONE = 'NONE'; public const NO_DISPLAY_WINDOW = 'NO_DISPLAY_WINDOW'; public const SPECIFIED = 'SPECIFIED'; + public const SPECIFIED_OPTIMAL = 'SPECIFIED_OPTIMAL'; public static function exists(string $value): bool { @@ -23,6 +27,7 @@ public static function exists(string $value): bool self::NONE => true, self::NO_DISPLAY_WINDOW => true, self::SPECIFIED => true, + self::SPECIFIED_OPTIMAL => true, ][$value]); } } diff --git a/src/Service/MediaConvert/src/ValueObject/DvbSubDestinationSettings.php b/src/Service/MediaConvert/src/ValueObject/DvbSubDestinationSettings.php index d148d7cde..c5fbaf65d 100644 --- a/src/Service/MediaConvert/src/ValueObject/DvbSubDestinationSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/DvbSubDestinationSettings.php @@ -70,7 +70,10 @@ final class DvbSubDestinationSettings * Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS * x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn't * include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must - * match. + * match. To include the DDS, with optimized subtitle placement and reduced data overhead: We recommend that you choose + * Specified (optimal). This option provides the same visual positioning as Specified while using less bandwidth. This + * also supports resolutions higher than 1080p while maintaining full DVB-Sub compatibility. When you do, also specify + * the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. * * @var DvbddsHandling::*|null */