Skip to content

Commit

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

* Apply suggestions from code review

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored Dec 21, 2023
1 parent 2209d97 commit 730f599
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: Added `fips-ca-west-1` regions

## 2.0.1

### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
"dev-master": "2.1-dev"
}
}
}
7 changes: 7 additions & 0 deletions src/SsmClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ protected function getEndpointMetadata(?string $region): array
'signService' => 'ssm',
'signVersions' => ['v4'],
];
case 'fips-ca-west-1':
return [
'endpoint' => 'https://ssm-fips.ca-west-1.amazonaws.com',
'signRegion' => 'ca-west-1',
'signService' => 'ssm',
'signVersions' => ['v4'],
];
case 'fips-us-east-1':
return [
'endpoint' => 'https://ssm-fips.us-east-1.amazonaws.com',
Expand Down

0 comments on commit 730f599

Please sign in to comment.