diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f1e29..c092c53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - AWS api-change: Add support for Dualstack Endpoints +- AWS api-change: fix dkr- regions endpoint ## 1.7.0 diff --git a/src/EcrClient.php b/src/EcrClient.php index dc0048f..84628a2 100644 --- a/src/EcrClient.php +++ b/src/EcrClient.php @@ -74,32 +74,6 @@ protected function getEndpointMetadata(?string $region): array case 'ap-southeast-5': case 'ca-central-1': case 'ca-west-1': - case 'dkr-af-south-1': - case 'dkr-ap-east-1': - case 'dkr-ap-northeast-1': - case 'dkr-ap-northeast-2': - case 'dkr-ap-northeast-3': - case 'dkr-ap-south-1': - case 'dkr-ap-south-2': - case 'dkr-ap-southeast-1': - case 'dkr-ap-southeast-2': - case 'dkr-ap-southeast-3': - case 'dkr-ap-southeast-4': - case 'dkr-ap-southeast-5': - case 'dkr-ca-central-1': - case 'dkr-ca-west-1': - case 'dkr-eu-central-1': - case 'dkr-eu-central-2': - case 'dkr-eu-north-1': - case 'dkr-eu-south-1': - case 'dkr-eu-south-2': - case 'dkr-eu-west-1': - case 'dkr-eu-west-2': - case 'dkr-eu-west-3': - case 'dkr-il-central-1': - case 'dkr-me-central-1': - case 'dkr-me-south-1': - case 'dkr-sa-east-1': case 'eu-central-1': case 'eu-central-2': case 'eu-north-1': @@ -126,8 +100,6 @@ protected function getEndpointMetadata(?string $region): array ]; case 'cn-north-1': case 'cn-northwest-1': - case 'dkr-cn-north-1': - case 'dkr-cn-northwest-1': return [ 'endpoint' => "https://api.ecr.$region.amazonaws.com.cn", 'signRegion' => $region,