From 7a204d61276578555e7a0cb6bcf3df9e1efd8138 Mon Sep 17 00:00:00 2001 From: AsyncAws Bot Date: Wed, 13 Nov 2024 06:29:56 +0000 Subject: [PATCH] update generated code --- manifest.json | 2 +- src/Service/CodeBuild/CHANGELOG.md | 1 + src/Service/CodeBuild/src/Enum/EnvironmentType.php | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) 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]); }