Skip to content

Commit

Permalink
Update generated code (#1822)
Browse files Browse the repository at this point in the history
update generated code
  • Loading branch information
async-aws-bot authored Dec 27, 2024
1 parent 3385942 commit b0ce8ed
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.336.3"
"${LATEST}": "3.336.4"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/Ecr/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: Add support for Dualstack Endpoints

## 1.7.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Ecr/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
"dev-master": "1.8-dev"
}
}
}
28 changes: 28 additions & 0 deletions src/Service/Ecr/src/EcrClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,32 @@ 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 @@ -100,6 +126,8 @@ 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 b0ce8ed

Please sign in to comment.