Skip to content

Commit

Permalink
Update generated code (#1748)
Browse files Browse the repository at this point in the history
* update generated code

* Update src/Service/Athena/CHANGELOG.md

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored Aug 10, 2024
1 parent 8f48893 commit 82dae56
Showing 3 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.2-dev"
"dev-master": "2.3-dev"
}
}
}
14 changes: 14 additions & 0 deletions src/AthenaClient.php
Original file line number Diff line number Diff line change
@@ -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',

0 comments on commit 82dae56

Please sign in to comment.