Skip to content

Commit 09e468a

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

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
@@ -32,7 +32,7 @@
3232
},
3333
"extra": {
3434
"branch-alias": {
35-
"dev-master": "3.8-dev"
35+
"dev-master": "3.9-dev"
3636
}
3737
}
3838
}

src/DynamoDbClient.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,14 @@ protected function getEndpointMetadata(?string $region): array
12021202
'signService' => 'dynamodb',
12031203
'signVersions' => ['v4'],
12041204
];
1205+
case 'us-isob-east-1':
1206+
case 'us-isob-west-1':
1207+
return [
1208+
'endpoint' => "https://dynamodb.$region.sc2s.sgov.gov",
1209+
'signRegion' => $region,
1210+
'signService' => 'dynamodb',
1211+
'signVersions' => ['v4'],
1212+
];
12051213
case 'us-isof-east-1':
12061214
case 'us-isof-south-1':
12071215
return [
@@ -1217,13 +1225,6 @@ protected function getEndpointMetadata(?string $region): array
12171225
'signService' => 'dynamodb',
12181226
'signVersions' => ['v4'],
12191227
];
1220-
case 'us-isob-east-1':
1221-
return [
1222-
'endpoint' => 'https://dynamodb.us-isob-east-1.sc2s.sgov.gov',
1223-
'signRegion' => 'us-isob-east-1',
1224-
'signService' => 'dynamodb',
1225-
'signVersions' => ['v4'],
1226-
];
12271228
}
12281229

12291230
return [

0 commit comments

Comments
 (0)