diff --git a/CHANGELOG.md b/CHANGELOG.md index dbb2c13..30bf878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - AWS api-change: Added `fips-us-iso-east-1` region +- AWS api-change: Added `ca-west-1` and `fips-ca-west-1` regions ## 2.1.0 diff --git a/src/S3Client.php b/src/S3Client.php index fda98e1..3887610 100644 --- a/src/S3Client.php +++ b/src/S3Client.php @@ -2936,6 +2936,7 @@ protected function getEndpointMetadata(?string $region): array case 'ap-southeast-3': case 'ap-southeast-4': case 'ca-central-1': + case 'ca-west-1': case 'eu-central-1': case 'eu-central-2': case 'eu-north-1': @@ -2982,6 +2983,13 @@ protected function getEndpointMetadata(?string $region): array 'signService' => 's3', 'signVersions' => ['s3v4'], ]; + case 'fips-ca-west-1': + return [ + 'endpoint' => 'https://s3-fips.ca-west-1.amazonaws.com', + 'signRegion' => 'ca-west-1', + 'signService' => 's3', + 'signVersions' => ['s3v4'], + ]; case 'fips-us-east-1': return [ 'endpoint' => 'https://s3-fips.us-east-1.amazonaws.com',