Skip to content

Commit 795eab8

Browse files
Update generated code (#1870)
* update generated code * Update src/Service/CodeBuild/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 72e838f commit 795eab8

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: This release adds support for environment type WINDOWS_SERVER_2022_CONTAINER in ProjectEnvironment
8+
- AWS api-change: Added `us-isob-east-1` region.
9+
510
## 2.9.0
611

712
### Added

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "2.9-dev"
31+
"dev-master": "2.10-dev"
3232
}
3333
}
3434
}

src/CodeBuildClient.php

+7
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ protected function getEndpointMetadata(?string $region): array
224224
'signService' => 'codebuild',
225225
'signVersions' => ['v4'],
226226
];
227+
case 'us-isob-east-1':
228+
return [
229+
'endpoint' => 'https://codebuild.us-isob-east-1.sc2s.sgov.gov',
230+
'signRegion' => 'us-isob-east-1',
231+
'signService' => 'codebuild',
232+
'signVersions' => ['v4'],
233+
];
227234
}
228235

229236
return [

src/Enum/EnvironmentType.php

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ final class EnvironmentType
1515
public const WINDOWS_CONTAINER = 'WINDOWS_CONTAINER';
1616
public const WINDOWS_EC2 = 'WINDOWS_EC2';
1717
public const WINDOWS_SERVER_2019_CONTAINER = 'WINDOWS_SERVER_2019_CONTAINER';
18+
public const WINDOWS_SERVER_2022_CONTAINER = 'WINDOWS_SERVER_2022_CONTAINER';
1819

1920
public static function exists(string $value): bool
2021
{
@@ -30,6 +31,7 @@ public static function exists(string $value): bool
3031
self::WINDOWS_CONTAINER => true,
3132
self::WINDOWS_EC2 => true,
3233
self::WINDOWS_SERVER_2019_CONTAINER => true,
34+
self::WINDOWS_SERVER_2022_CONTAINER => true,
3335
][$value]);
3436
}
3537
}

0 commit comments

Comments
 (0)