Skip to content

Commit ba39b67

Browse files
async-aws-botstof
andauthored
Update generated code (#1964)
* update generated code * Update changelogs --------- Co-authored-by: Christophe Coevoet <stof@notk.org>
1 parent 12c44ed commit ba39b67

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

CHANGELOG.md

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

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Added `us-isob-west-1` region
8+
59
### Changed
610

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "1.4-dev"
31+
"dev-master": "1.5-dev"
3232
}
3333
}
3434
}

src/ElastiCacheClient.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ protected function getEndpointMetadata(?string $region): array
127127
'signService' => 'elasticache',
128128
'signVersions' => ['v4'],
129129
];
130+
case 'us-isob-east-1':
131+
case 'us-isob-west-1':
132+
return [
133+
'endpoint' => "https://elasticache.$region.sc2s.sgov.gov",
134+
'signRegion' => $region,
135+
'signService' => 'elasticache',
136+
'signVersions' => ['v4'],
137+
];
130138
case 'us-isof-east-1':
131139
case 'us-isof-south-1':
132140
return [
@@ -142,13 +150,6 @@ protected function getEndpointMetadata(?string $region): array
142150
'signService' => 'elasticache',
143151
'signVersions' => ['v4'],
144152
];
145-
case 'us-isob-east-1':
146-
return [
147-
'endpoint' => 'https://elasticache.us-isob-east-1.sc2s.sgov.gov',
148-
'signRegion' => 'us-isob-east-1',
149-
'signService' => 'elasticache',
150-
'signVersions' => ['v4'],
151-
];
152153
}
153154

154155
return [

0 commit comments

Comments
 (0)