Skip to content

Commit b7aebf5

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

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- Added getPublicKey and verify operation
8+
- AWS api-change: Added `ap-southeast-7` and `ap-southeast-7-fips` regions
89

910
## 1.6.0
1011

src/KmsClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ protected function getEndpointMetadata(?string $region): array
10771077
case 'ap-southeast-3':
10781078
case 'ap-southeast-4':
10791079
case 'ap-southeast-5':
1080+
case 'ap-southeast-7':
10801081
case 'ca-central-1':
10811082
case 'ca-west-1':
10821083
case 'eu-central-1':
@@ -1203,6 +1204,13 @@ protected function getEndpointMetadata(?string $region): array
12031204
'signService' => 'kms',
12041205
'signVersions' => ['v4'],
12051206
];
1207+
case 'ap-southeast-7-fips':
1208+
return [
1209+
'endpoint' => 'https://kms-fips.ap-southeast-7.amazonaws.com',
1210+
'signRegion' => 'ap-southeast-7',
1211+
'signService' => 'kms',
1212+
'signVersions' => ['v4'],
1213+
];
12061214
case 'ca-central-1-fips':
12071215
return [
12081216
'endpoint' => 'https://kms-fips.ca-central-1.amazonaws.com',

0 commit comments

Comments
 (0)