diff --git a/CHANGELOG.md b/CHANGELOG.md index add9125..651c47a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- AWS api-change: Added `fips-ca-central-1` and `fips-ca-west-1` regions. + ### Changed - Enable compiler optimization for the `sprintf` function. diff --git a/composer.json b/composer.json index 24ee5f0..e31e8a4 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } } } diff --git a/src/AthenaClient.php b/src/AthenaClient.php index 32e19be..e14dce1 100644 --- a/src/AthenaClient.php +++ b/src/AthenaClient.php @@ -748,6 +748,20 @@ protected function getEndpointMetadata(?string $region): array 'signService' => 'athena', 'signVersions' => ['v4'], ]; + case 'fips-ca-central-1': + return [ + 'endpoint' => 'https://athena-fips.ca-central-1.amazonaws.com', + 'signRegion' => 'ca-central-1', + 'signService' => 'athena', + 'signVersions' => ['v4'], + ]; + case 'fips-ca-west-1': + return [ + 'endpoint' => 'https://athena-fips.ca-west-1.amazonaws.com', + 'signRegion' => 'ca-west-1', + 'signService' => 'athena', + 'signVersions' => ['v4'], + ]; case 'fips-us-east-1': return [ 'endpoint' => 'https://athena-fips.us-east-1.amazonaws.com',