Skip to content

Commit 4b57885

Browse files
async-aws-botstof
andauthored
Update generated code (#1964)
* update generated code * Update changelogs --------- Co-authored-by: Christophe Coevoet <[email protected]>
1 parent 4c7ab75 commit 4b57885

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Update endpoint ruleset parameters casing
8+
- AWS api-change: Added `us-isob-west-1` region
9+
510
### Changed
611

712
- Apply new CodingStandard from latest php-cs-fixer.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"extra": {
3131
"branch-alias": {
32-
"dev-master": "1.11-dev"
32+
"dev-master": "1.12-dev"
3333
}
3434
}
3535
}

src/EcrClient.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,14 @@ protected function getEndpointMetadata(?string $region): array
165165
'signService' => 'ecr',
166166
'signVersions' => ['v4'],
167167
];
168+
case 'us-isob-east-1':
169+
case 'us-isob-west-1':
170+
return [
171+
'endpoint' => "https://api.ecr.$region.sc2s.sgov.gov",
172+
'signRegion' => $region,
173+
'signService' => 'ecr',
174+
'signVersions' => ['v4'],
175+
];
168176
case 'us-isof-east-1':
169177
case 'us-isof-south-1':
170178
return [
@@ -180,13 +188,6 @@ protected function getEndpointMetadata(?string $region): array
180188
'signService' => 'ecr',
181189
'signVersions' => ['v4'],
182190
];
183-
case 'us-isob-east-1':
184-
return [
185-
'endpoint' => 'https://api.ecr.us-isob-east-1.sc2s.sgov.gov',
186-
'signRegion' => 'us-isob-east-1',
187-
'signService' => 'ecr',
188-
'signVersions' => ['v4'],
189-
];
190191
}
191192

192193
return [

0 commit comments

Comments
 (0)