Skip to content

Commit a78288d

Browse files
Update generated code (#1841)
* update generated code * Apply suggestions from code review --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent cdeca10 commit a78288d

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
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-isof-east-1` and `us-isof-south-1` regions
8+
59
## 1.2.0
610

711
### Added

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.2-dev"
30+
"dev-master": "1.3-dev"
3131
}
3232
}
3333
}

src/ComprehendClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ protected function getEndpointMetadata(?string $region): array
8585
'signService' => 'comprehend',
8686
'signVersions' => ['v4'],
8787
];
88+
case 'us-isof-east-1':
89+
case 'us-isof-south-1':
90+
return [
91+
'endpoint' => "https://comprehend.$region.csp.hci.ic.gov",
92+
'signRegion' => $region,
93+
'signService' => 'comprehend',
94+
'signVersions' => ['v4'],
95+
];
8896
case 'us-iso-east-1':
8997
return [
9098
'endpoint' => 'https://comprehend.us-iso-east-1.c2s.ic.gov',

0 commit comments

Comments
 (0)