Skip to content

Commit e671947

Browse files
Update generated code (#1568)
* update generated code * Update src/Service/LocationService/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 2cb6815 commit e671947

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.280.1"
3+
"${LATEST}": "3.281.1"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/LocationService/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Allow passing explicit null values for optional fields of input objects
88

9+
### Added
10+
11+
- AWS api-change: Added `fips-us-gov-west-1` region
12+
913
## 0.1.1
1014

1115
### Added

src/Service/LocationService/src/LocationServiceClient.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,16 @@ protected function getEndpointMetadata(?string $region): array
257257
$region = Configuration::DEFAULT_REGION;
258258
}
259259

260+
switch ($region) {
261+
case 'fips-us-gov-west-1':
262+
return [
263+
'endpoint' => 'https://geo-fips.us-gov-west-1.amazonaws.com',
264+
'signRegion' => 'us-gov-west-1',
265+
'signService' => 'geo',
266+
'signVersions' => ['v4'],
267+
];
268+
}
269+
260270
return [
261271
'endpoint' => "https://geo.$region.amazonaws.com",
262272
'signRegion' => $region,

0 commit comments

Comments
 (0)