Skip to content

Commit b915844

Browse files
Update generated code (#1749)
update generated code
1 parent fd09f5e commit b915844

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.
8+
59
### Changed
610

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

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.4-dev"
31+
"dev-master": "2.5-dev"
3232
}
3333
}
3434
}

src/Enum/SourceAuthType.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ final class SourceAuthType
66
{
77
public const CODECONNECTIONS = 'CODECONNECTIONS';
88
public const OAUTH = 'OAUTH';
9+
public const SECRETS_MANAGER = 'SECRETS_MANAGER';
910

1011
public static function exists(string $value): bool
1112
{
1213
return isset([
1314
self::CODECONNECTIONS => true,
1415
self::OAUTH => true,
16+
self::SECRETS_MANAGER => true,
1517
][$value]);
1618
}
1719
}

src/ValueObject/ProjectSource.php

-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ final class ProjectSource
105105
/**
106106
* Information about the authorization settings for CodeBuild to access the source code to be built.
107107
*
108-
* This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
109-
*
110108
* @var SourceAuth|null
111109
*/
112110
private $auth;

src/ValueObject/SourceAuth.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@
77

88
/**
99
* Information about the authorization settings for CodeBuild to access the source code to be built.
10-
*
11-
* This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
1210
*/
1311
final class SourceAuth
1412
{
1513
/**
16-
* The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
14+
* The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
1715
*
1816
* @var SourceAuthType::*
1917
*/

0 commit comments

Comments
 (0)