diff --git a/manifest.json b/manifest.json index ba818af48..f8a7a84d5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.325.6" + "${LATEST}": "3.325.7" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/CodeBuild/CHANGELOG.md b/src/Service/CodeBuild/CHANGELOG.md index f06b1c155..295a8fe96 100644 --- a/src/Service/CodeBuild/CHANGELOG.md +++ b/src/Service/CodeBuild/CHANGELOG.md @@ -6,6 +6,7 @@ - AWS api-change: AWS CodeBuild now supports automatically retrying failed builds - AWS api-change: AWS CodeBuild now adds additional compute types for reserved capacity fleet. +- AWS api-change: AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity. ## 2.5.0 diff --git a/src/Service/CodeBuild/src/Enum/EnvironmentType.php b/src/Service/CodeBuild/src/Enum/EnvironmentType.php index 137412a3e..64b3884fd 100644 --- a/src/Service/CodeBuild/src/Enum/EnvironmentType.php +++ b/src/Service/CodeBuild/src/Enum/EnvironmentType.php @@ -5,24 +5,30 @@ final class EnvironmentType { public const ARM_CONTAINER = 'ARM_CONTAINER'; + public const ARM_EC2 = 'ARM_EC2'; public const ARM_LAMBDA_CONTAINER = 'ARM_LAMBDA_CONTAINER'; public const LINUX_CONTAINER = 'LINUX_CONTAINER'; + public const LINUX_EC2 = 'LINUX_EC2'; public const LINUX_GPU_CONTAINER = 'LINUX_GPU_CONTAINER'; public const LINUX_LAMBDA_CONTAINER = 'LINUX_LAMBDA_CONTAINER'; public const MAC_ARM = 'MAC_ARM'; public const WINDOWS_CONTAINER = 'WINDOWS_CONTAINER'; + public const WINDOWS_EC2 = 'WINDOWS_EC2'; public const WINDOWS_SERVER_2019_CONTAINER = 'WINDOWS_SERVER_2019_CONTAINER'; public static function exists(string $value): bool { return isset([ self::ARM_CONTAINER => true, + self::ARM_EC2 => true, self::ARM_LAMBDA_CONTAINER => true, self::LINUX_CONTAINER => true, + self::LINUX_EC2 => true, self::LINUX_GPU_CONTAINER => true, self::LINUX_LAMBDA_CONTAINER => true, self::MAC_ARM => true, self::WINDOWS_CONTAINER => true, + self::WINDOWS_EC2 => true, self::WINDOWS_SERVER_2019_CONTAINER => true, ][$value]); }