From 5aeb14a83ad7bc3c4c6cf394c83b14d4bf46e048 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 8 Jan 2024 19:13:33 +0000 Subject: [PATCH] feat(client-codebuild): Aws CodeBuild now supports new compute type BUILD_GENERAL1_XLARGE --- .../commands/BatchGetBuildBatchesCommand.ts | 2 +- .../src/commands/BatchGetBuildsCommand.ts | 2 +- .../src/commands/BatchGetProjectsCommand.ts | 2 +- .../src/commands/CreateProjectCommand.ts | 4 ++-- .../src/commands/RetryBuildBatchCommand.ts | 2 +- .../src/commands/RetryBuildCommand.ts | 2 +- .../src/commands/StartBuildBatchCommand.ts | 4 ++-- .../src/commands/StartBuildCommand.ts | 4 ++-- .../src/commands/StopBuildBatchCommand.ts | 2 +- .../src/commands/StopBuildCommand.ts | 2 +- .../src/commands/UpdateProjectCommand.ts | 4 ++-- .../client-codebuild/src/models/models_0.ts | 6 ++++++ codegen/sdk-codegen/aws-models/codebuild.json | 19 +++++++------------ 13 files changed, 28 insertions(+), 27 deletions(-) diff --git a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts index 2d5b9ba66bb6..18fbd70743cf 100644 --- a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts @@ -147,7 +147,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts b/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts index fe09af3f838d..0c9d3ee1dbf7 100644 --- a/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts @@ -148,7 +148,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts index b3f24101986c..795ecb3d3ca0 100644 --- a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts @@ -133,7 +133,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/CreateProjectCommand.ts b/clients/client-codebuild/src/commands/CreateProjectCommand.ts index 324aba12bde5..1d6c25e44a1b 100644 --- a/clients/client-codebuild/src/commands/CreateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/CreateProjectCommand.ts @@ -123,7 +123,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * environment: { // ProjectEnvironment * type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * image: "STRING_VALUE", // required - * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * environmentVariables: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required @@ -287,7 +287,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts index b1bd90c4bb6c..19771f438ddb 100644 --- a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts @@ -146,7 +146,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/RetryBuildCommand.ts b/clients/client-codebuild/src/commands/RetryBuildCommand.ts index 3df4c641f11f..2811cd49c4d2 100644 --- a/clients/client-codebuild/src/commands/RetryBuildCommand.ts +++ b/clients/client-codebuild/src/commands/RetryBuildCommand.ts @@ -146,7 +146,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts index 486442e53beb..79355502496d 100644 --- a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts @@ -114,7 +114,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * reportBuildBatchStatusOverride: true || false, * environmentTypeOverride: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", * imageOverride: "STRING_VALUE", - * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", + * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", * certificateOverride: "STRING_VALUE", * cacheOverride: { // ProjectCache * type: "NO_CACHE" || "S3" || "LOCAL", // required @@ -267,7 +267,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/StartBuildCommand.ts b/clients/client-codebuild/src/commands/StartBuildCommand.ts index 179b80176a18..982fa21366b9 100644 --- a/clients/client-codebuild/src/commands/StartBuildCommand.ts +++ b/clients/client-codebuild/src/commands/StartBuildCommand.ts @@ -118,7 +118,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * }, * environmentTypeOverride: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", * imageOverride: "STRING_VALUE", - * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", + * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", * certificateOverride: "STRING_VALUE", * cacheOverride: { // ProjectCache * type: "NO_CACHE" || "S3" || "LOCAL", // required @@ -260,7 +260,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts index fdcee665aca1..799e32339d05 100644 --- a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts @@ -144,7 +144,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/StopBuildCommand.ts b/clients/client-codebuild/src/commands/StopBuildCommand.ts index 9f4a1fa0c8b9..8664d3cd6d1a 100644 --- a/clients/client-codebuild/src/commands/StopBuildCommand.ts +++ b/clients/client-codebuild/src/commands/StopBuildCommand.ts @@ -145,7 +145,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts index 6c4b20414dc9..236824649ae5 100644 --- a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts @@ -123,7 +123,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * environment: { // ProjectEnvironment * type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * image: "STRING_VALUE", // required - * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * environmentVariables: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required @@ -287,7 +287,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // environment: { // ProjectEnvironment * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER" || "LINUX_LAMBDA_CONTAINER" || "ARM_LAMBDA_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_XLARGE" || "BUILD_GENERAL1_2XLARGE" || "BUILD_LAMBDA_1GB" || "BUILD_LAMBDA_2GB" || "BUILD_LAMBDA_4GB" || "BUILD_LAMBDA_8GB" || "BUILD_LAMBDA_10GB", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required diff --git a/clients/client-codebuild/src/models/models_0.ts b/clients/client-codebuild/src/models/models_0.ts index d41852f0e385..25f77455d6aa 100644 --- a/clients/client-codebuild/src/models/models_0.ts +++ b/clients/client-codebuild/src/models/models_0.ts @@ -655,6 +655,7 @@ export const ComputeType = { BUILD_GENERAL1_LARGE: "BUILD_GENERAL1_LARGE", BUILD_GENERAL1_MEDIUM: "BUILD_GENERAL1_MEDIUM", BUILD_GENERAL1_SMALL: "BUILD_GENERAL1_SMALL", + BUILD_GENERAL1_XLARGE: "BUILD_GENERAL1_XLARGE", BUILD_LAMBDA_10GB: "BUILD_LAMBDA_10GB", BUILD_LAMBDA_1GB: "BUILD_LAMBDA_1GB", BUILD_LAMBDA_2GB: "BUILD_LAMBDA_2GB", @@ -918,6 +919,11 @@ export interface ProjectEnvironment { * *
  • *

    + * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for + * builds, depending on your environment type.

    + *
  • + *
  • + *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and * 824 GB of SSD storage for builds. This compute type supports Docker images up to * 100 GB uncompressed.

    diff --git a/codegen/sdk-codegen/aws-models/codebuild.json b/codegen/sdk-codegen/aws-models/codebuild.json index 3166606bd171..960aa34ad363 100644 --- a/codegen/sdk-codegen/aws-models/codebuild.json +++ b/codegen/sdk-codegen/aws-models/codebuild.json @@ -2550,17 +2550,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" @@ -2706,6 +2695,12 @@ "smithy.api#enumValue": "BUILD_GENERAL1_LARGE" } }, + "BUILD_GENERAL1_XLARGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILD_GENERAL1_XLARGE" + } + }, "BUILD_GENERAL1_2XLARGE": { "target": "smithy.api#Unit", "traits": { @@ -5618,7 +5613,7 @@ "computeType": { "target": "com.amazonaws.codebuild#ComputeType", "traits": { - "smithy.api#documentation": "

    Information about the compute resources the build project uses. Available values\n include:

    \n \n

    If you use BUILD_GENERAL1_SMALL:

    \n \n

    If you use BUILD_GENERAL1_LARGE:

    \n \n

    For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n

    ", + "smithy.api#documentation": "

    Information about the compute resources the build project uses. Available values\n include:

    \n \n

    If you use BUILD_GENERAL1_SMALL:

    \n \n

    If you use BUILD_GENERAL1_LARGE:

    \n \n

    For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n

    ", "smithy.api#required": {} } },