Skip to content

Commit a3abf16

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

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
@@ -6,6 +6,7 @@
66

77
- Added getPublicKey and verify operation
88
- AWS api-change: Added `ap-southeast-7` and `ap-southeast-7-fips` regions
9+
- AWS api-change: Added `mx-central-1` and `mx-central-1-fips` regions
910

1011
## 1.6.0
1112

src/KmsClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ protected function getEndpointMetadata(?string $region): array
10911091
case 'il-central-1':
10921092
case 'me-central-1':
10931093
case 'me-south-1':
1094+
case 'mx-central-1':
10941095
case 'sa-east-1':
10951096
case 'us-east-1':
10961097
case 'us-east-2':
@@ -1302,6 +1303,13 @@ protected function getEndpointMetadata(?string $region): array
13021303
'signService' => 'kms',
13031304
'signVersions' => ['v4'],
13041305
];
1306+
case 'mx-central-1-fips':
1307+
return [
1308+
'endpoint' => 'https://kms-fips.mx-central-1.amazonaws.com',
1309+
'signRegion' => 'mx-central-1',
1310+
'signService' => 'kms',
1311+
'signVersions' => ['v4'],
1312+
];
13051313
case 'sa-east-1-fips':
13061314
return [
13071315
'endpoint' => 'https://kms-fips.sa-east-1.amazonaws.com',

0 commit comments

Comments
 (0)