diff --git a/manifest/endpoints.json b/manifest/endpoints.json index 065fe74..2f56092 100644 --- a/manifest/endpoints.json +++ b/manifest/endpoints.json @@ -56,13 +56,13 @@ "fe": { "hostname": "agcod-v2-fe.amazon.com", "credentialScope": { - "region": "eu-west-1" + "region": "us-west-2" } }, "fe-sandbox": { "hostname": "agcod-v2-fe-gamma.amazon.com", "credentialScope": { - "region": "eu-west-1" + "region": "us-west-2" } } } diff --git a/src/AmazonIncentivesClient.php b/src/AmazonIncentivesClient.php index 7f23d50..3a35133 100644 --- a/src/AmazonIncentivesClient.php +++ b/src/AmazonIncentivesClient.php @@ -375,14 +375,14 @@ protected function getEndpointMetadata(?string $region): array case 'fe': return [ 'endpoint' => 'https://agcod-v2-fe.amazon.com', - 'signRegion' => 'eu-west-1', + 'signRegion' => 'us-west-2', 'signService' => 'AGCODService', 'signVersions' => ['v4'], ]; case 'fe-sandbox': return [ 'endpoint' => 'https://agcod-v2-fe-gamma.amazon.com', - 'signRegion' => 'eu-west-1', + 'signRegion' => 'us-west-2', 'signService' => 'AGCODService', 'signVersions' => ['v4'], ]; @@ -402,6 +402,6 @@ protected function getEndpointMetadata(?string $region): array ]; } - throw new UnsupportedRegion(sprintf('The region "%s" is not supported by "AmazonIncentives".', $region)); + throw new UnsupportedRegion(\sprintf('The region "%s" is not supported by "AmazonIncentives".', $region)); } }