Skip to content

Commit

Permalink
update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
async-aws-bot committed Aug 15, 2024
1 parent 05737d9 commit 25c81bd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.319.2"
"${LATEST}": "3.320.0"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/CodeBuild/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.

### Changed

- Enable compiler optimization for the `sprintf` function.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CodeBuild/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
"dev-master": "2.5-dev"
}
}
}
2 changes: 2 additions & 0 deletions src/Service/CodeBuild/src/Enum/SourceAuthType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ final class SourceAuthType
{
public const CODECONNECTIONS = 'CODECONNECTIONS';
public const OAUTH = 'OAUTH';
public const SECRETS_MANAGER = 'SECRETS_MANAGER';

public static function exists(string $value): bool
{
return isset([
self::CODECONNECTIONS => true,
self::OAUTH => true,
self::SECRETS_MANAGER => true,
][$value]);
}
}
2 changes: 0 additions & 2 deletions src/Service/CodeBuild/src/ValueObject/ProjectSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ final class ProjectSource
/**
* Information about the authorization settings for CodeBuild to access the source code to be built.
*
* This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
*
* @var SourceAuth|null
*/
private $auth;
Expand Down
4 changes: 1 addition & 3 deletions src/Service/CodeBuild/src/ValueObject/SourceAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@

/**
* Information about the authorization settings for CodeBuild to access the source code to be built.
*
* This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
*/
final class SourceAuth
{
/**
* The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
* The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
*
* @var SourceAuthType::*
*/
Expand Down

0 comments on commit 25c81bd

Please sign in to comment.