Skip to content

Commit

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

* Update src/Service/Translate/CHANGELOG.md

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored Jul 9, 2024
1 parent 6e893a8 commit a5d2b66
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 `us-west-1-fips` region

## 1.0.2

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

0 comments on commit a5d2b66

Please sign in to comment.