diff --git a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts index 919e9fe05739..02e88ff03f69 100644 --- a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts @@ -218,6 +218,9 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts index ddf5802a8140..5a53a9968a74 100644 --- a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts @@ -236,6 +236,9 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/CreateProjectCommand.ts b/clients/client-codebuild/src/commands/CreateProjectCommand.ts index dfca2d11b5ad..b57117f5fc01 100644 --- a/clients/client-codebuild/src/commands/CreateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/CreateProjectCommand.ts @@ -198,6 +198,9 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * computeTypesAllowed: [ // ComputeTypesAllowed * "STRING_VALUE", * ], + * fleetsAllowed: [ // FleetsAllowed + * "STRING_VALUE", + * ], * }, * timeoutInMins: Number("int"), * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", @@ -400,6 +403,9 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts index 7a4c2f7441ac..0bfe7b7f84c5 100644 --- a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts @@ -217,6 +217,9 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts index 63ac02dd126f..e442f6023bff 100644 --- a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts @@ -155,6 +155,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * computeTypesAllowed: [ // ComputeTypesAllowed * "STRING_VALUE", * ], + * fleetsAllowed: [ // FleetsAllowed + * "STRING_VALUE", + * ], * }, * timeoutInMins: Number("int"), * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", @@ -338,6 +341,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts index bd029904a951..4767604850d4 100644 --- a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts @@ -215,6 +215,9 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts index f29c6a9ea0b7..63eef6c559a8 100644 --- a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts @@ -198,6 +198,9 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * computeTypesAllowed: [ // ComputeTypesAllowed * "STRING_VALUE", * ], + * fleetsAllowed: [ // FleetsAllowed + * "STRING_VALUE", + * ], * }, * timeoutInMins: Number("int"), * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", @@ -400,6 +403,9 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // computeTypesAllowed: [ // ComputeTypesAllowed * // "STRING_VALUE", * // ], + * // fleetsAllowed: [ // FleetsAllowed + * // "STRING_VALUE", + * // ], * // }, * // timeoutInMins: Number("int"), * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", diff --git a/clients/client-codebuild/src/models/models_0.ts b/clients/client-codebuild/src/models/models_0.ts index 485b9de843a6..28de5dfc29de 100644 --- a/clients/client-codebuild/src/models/models_0.ts +++ b/clients/client-codebuild/src/models/models_0.ts @@ -346,6 +346,14 @@ export interface BatchRestrictions { * @public */ computeTypesAllowed?: string[] | undefined; + + /** + *

An array of strings that specify the fleets that are allowed + * for the batch build. See Run builds on reserved capacity fleets in the CodeBuild User Guide + * for more information.

+ * @public + */ + fleetsAllowed?: string[] | undefined; } /** @@ -1825,7 +1833,7 @@ export interface ProjectSource { /** *

Set to true to report the status of a build's start and finish to your source * provider. This option is valid only when your source provider is GitHub, GitHub - * Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an + * Enterprise, GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an * invalidInputException is thrown.

*

To be able to report the build status to the source provider, the user associated with the source provider must * have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

@@ -7616,7 +7624,7 @@ export interface StartBuildInput { /** *

Set to true to report to your source provider the status of a build's start and * completion. If you use this option with a source provider other than GitHub, GitHub - * Enterprise, or Bitbucket, an invalidInputException is thrown.

+ * Enterprise, GitLab, GitLab Self Managed, or Bitbucket, an invalidInputException is thrown.

*

To be able to report the build status to the source provider, the user associated with the source provider must * have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

* diff --git a/clients/client-codebuild/src/protocols/Aws_json1_1.ts b/clients/client-codebuild/src/protocols/Aws_json1_1.ts index 7e044a5cdc21..d6badb2616c9 100644 --- a/clients/client-codebuild/src/protocols/Aws_json1_1.ts +++ b/clients/client-codebuild/src/protocols/Aws_json1_1.ts @@ -2117,6 +2117,8 @@ const se_DescribeCodeCoveragesInput = (input: DescribeCodeCoveragesInput, contex // se_FleetProxyRules omitted. +// se_FleetsAllowed omitted. + // se_GetReportGroupTrendInput omitted. // se_GetResourcePolicyInput omitted. @@ -2781,6 +2783,8 @@ const de_Fleets = (output: any, context: __SerdeContext): Fleet[] => { return retVal; }; +// de_FleetsAllowed omitted. + // de_FleetStatus omitted. // de_GetReportGroupTrendOutput omitted.