Skip to content

Commit

Permalink
Update generated code (#1824)
Browse files Browse the repository at this point in the history
* update generated code

* Update src/Service/Ecr/CHANGELOG.md

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored Jan 4, 2025
1 parent d3a945f commit d71b000
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- AWS api-change: Add support for Dualstack Endpoints
- AWS api-change: fix dkr- regions endpoint

## 1.7.0

Expand Down
28 changes: 0 additions & 28 deletions src/EcrClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand All @@ -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,
Expand Down

0 comments on commit d71b000

Please sign in to comment.