Skip to content

Commit 82dae56

Browse files
Update generated code (#1748)
* update generated code * Update src/Service/Athena/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent 8f48893 commit 82dae56

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Added `fips-ca-central-1` and `fips-ca-west-1` regions.
8+
59
### Changed
610

711
- Enable compiler optimization for the `sprintf` function.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"extra": {
3131
"branch-alias": {
32-
"dev-master": "2.2-dev"
32+
"dev-master": "2.3-dev"
3333
}
3434
}
3535
}

src/AthenaClient.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,20 @@ protected function getEndpointMetadata(?string $region): array
748748
'signService' => 'athena',
749749
'signVersions' => ['v4'],
750750
];
751+
case 'fips-ca-central-1':
752+
return [
753+
'endpoint' => 'https://athena-fips.ca-central-1.amazonaws.com',
754+
'signRegion' => 'ca-central-1',
755+
'signService' => 'athena',
756+
'signVersions' => ['v4'],
757+
];
758+
case 'fips-ca-west-1':
759+
return [
760+
'endpoint' => 'https://athena-fips.ca-west-1.amazonaws.com',
761+
'signRegion' => 'ca-west-1',
762+
'signService' => 'athena',
763+
'signVersions' => ['v4'],
764+
];
751765
case 'fips-us-east-1':
752766
return [
753767
'endpoint' => 'https://athena-fips.us-east-1.amazonaws.com',

0 commit comments

Comments
 (0)