Skip to content

Commit 81faaca

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

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
@@ -38,7 +38,7 @@
3838
},
3939
"extra": {
4040
"branch-alias": {
41-
"dev-master": "1.27-dev"
41+
"dev-master": "1.28-dev"
4242
}
4343
}
4444
}

src/Sts/StsClient.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,14 @@ protected function getEndpointMetadata(?string $region): array
397397
'signService' => 'sts',
398398
'signVersions' => ['v4'],
399399
];
400+
case 'us-isob-east-1':
401+
case 'us-isob-west-1':
402+
return [
403+
'endpoint' => "https://sts.$region.sc2s.sgov.gov",
404+
'signRegion' => $region,
405+
'signService' => 'sts',
406+
'signVersions' => ['v4'],
407+
];
400408
case 'us-isof-east-1':
401409
case 'us-isof-south-1':
402410
return [
@@ -412,13 +420,6 @@ protected function getEndpointMetadata(?string $region): array
412420
'signService' => 'sts',
413421
'signVersions' => ['v4'],
414422
];
415-
case 'us-isob-east-1':
416-
return [
417-
'endpoint' => 'https://sts.us-isob-east-1.sc2s.sgov.gov',
418-
'signRegion' => 'us-isob-east-1',
419-
'signService' => 'sts',
420-
'signVersions' => ['v4'],
421-
];
422423
}
423424

424425
return [

0 commit comments

Comments
 (0)