Skip to content

Commit 72aa2bb

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

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

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
@@ -27,7 +27,7 @@
2727
},
2828
"extra": {
2929
"branch-alias": {
30-
"dev-master": "1.4-dev"
30+
"dev-master": "1.5-dev"
3131
}
3232
}
3333
}

src/XRayClient.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ protected function getEndpointMetadata(?string $region): array
147147
'signService' => 'xray',
148148
'signVersions' => ['v4'],
149149
];
150+
case 'us-isob-east-1':
151+
case 'us-isob-west-1':
152+
return [
153+
'endpoint' => "https://xray.$region.sc2s.sgov.gov",
154+
'signRegion' => $region,
155+
'signService' => 'xray',
156+
'signVersions' => ['v4'],
157+
];
150158
case 'us-isof-east-1':
151159
case 'us-isof-south-1':
152160
return [
@@ -162,13 +170,6 @@ protected function getEndpointMetadata(?string $region): array
162170
'signService' => 'xray',
163171
'signVersions' => ['v4'],
164172
];
165-
case 'us-isob-east-1':
166-
return [
167-
'endpoint' => 'https://xray.us-isob-east-1.sc2s.sgov.gov',
168-
'signRegion' => 'us-isob-east-1',
169-
'signService' => 'xray',
170-
'signVersions' => ['v4'],
171-
];
172173
}
173174

174175
return [

0 commit comments

Comments
 (0)