Skip to content

Commit

Permalink
Update generated code (#1817)
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 14, 2024
1 parent 7fd9a52 commit d7a1365
Show file tree
Hide file tree
Showing 3 changed files with 13 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-iso-east-1` and `us-iso-west-1` regions.

## 2.6.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.6-dev"
"dev-master": "2.7-dev"
}
}
}
8 changes: 8 additions & 0 deletions src/CodeBuildClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ protected function getEndpointMetadata(?string $region): array
'signService' => 'codebuild',
'signVersions' => ['v4'],
];
case 'us-iso-east-1':
case 'us-iso-west-1':
return [
'endpoint' => "https://codebuild.$region.c2s.ic.gov",
'signRegion' => $region,
'signService' => 'codebuild',
'signVersions' => ['v4'],
];
}

return [
Expand Down

0 comments on commit d7a1365

Please sign in to comment.