From 603d548e40b1f8a0b0b87fc23600b5c495cf7543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Fri, 29 Jul 2022 00:51:07 +0200 Subject: [PATCH] Improve region deduplication (#1277) --- src/SesClient.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SesClient.php b/src/SesClient.php index bd8b0f0..fa28274 100644 --- a/src/SesClient.php +++ b/src/SesClient.php @@ -89,17 +89,17 @@ protected function getEndpointMetadata(?string $region): array 'signService' => 'ses', 'signVersions' => ['v4'], ]; - case 'fips-us-gov-west-1': + case 'fips-us-west-2': return [ - 'endpoint' => 'https://email-fips.us-gov-west-1.amazonaws.com', - 'signRegion' => 'us-gov-west-1', + 'endpoint' => 'https://email-fips.us-west-2.amazonaws.com', + 'signRegion' => 'us-west-2', 'signService' => 'ses', 'signVersions' => ['v4'], ]; - case 'fips-us-west-2': + case 'fips-us-gov-west-1': return [ - 'endpoint' => 'https://email-fips.us-west-2.amazonaws.com', - 'signRegion' => 'us-west-2', + 'endpoint' => 'https://email-fips.us-gov-west-1.amazonaws.com', + 'signRegion' => 'us-gov-west-1', 'signService' => 'ses', 'signVersions' => ['v4'], ];