Skip to content

Commit

Permalink
feat(client-codebuild): AWS CodeBuild Now Supports BuildBatch in Rese…
Browse files Browse the repository at this point in the history
…rved Capacity and Lambda
  • Loading branch information
awstools committed Jan 9, 2025
1 parent b33aa6f commit 4fb5b7e
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions clients/client-codebuild/src/commands/CreateProjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions clients/client-codebuild/src/commands/UpdateProjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
12 changes: 10 additions & 2 deletions clients/client-codebuild/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,14 @@ export interface BatchRestrictions {
* @public
*/
computeTypesAllowed?: string[] | undefined;

/**
* <p>An array of strings that specify the fleets that are allowed
* for the batch build. See <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html">Run builds on reserved capacity fleets</a> in the <i>CodeBuild User Guide</i>
* for more information. </p>
* @public
*/
fleetsAllowed?: string[] | undefined;
}

/**
Expand Down Expand Up @@ -1825,7 +1833,7 @@ export interface ProjectSource {
/**
* <p> 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
* <code>invalidInputException</code> is thrown. </p>
* <p>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 <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html">Source provider access</a> in the <i>CodeBuild User Guide</i>.</p>
Expand Down Expand Up @@ -7616,7 +7624,7 @@ export interface StartBuildInput {
/**
* <p> 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 <code>invalidInputException</code> is thrown. </p>
* Enterprise, GitLab, GitLab Self Managed, or Bitbucket, an <code>invalidInputException</code> is thrown. </p>
* <p>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 <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html">Source provider access</a> in the <i>CodeBuild User Guide</i>.</p>
* <note>
Expand Down
4 changes: 4 additions & 0 deletions clients/client-codebuild/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2117,6 +2117,8 @@ const se_DescribeCodeCoveragesInput = (input: DescribeCodeCoveragesInput, contex

// se_FleetProxyRules omitted.

// se_FleetsAllowed omitted.

// se_GetReportGroupTrendInput omitted.

// se_GetResourcePolicyInput omitted.
Expand Down Expand Up @@ -2781,6 +2783,8 @@ const de_Fleets = (output: any, context: __SerdeContext): Fleet[] => {
return retVal;
};

// de_FleetsAllowed omitted.

// de_FleetStatus omitted.

// de_GetReportGroupTrendOutput omitted.
Expand Down

0 comments on commit 4fb5b7e

Please sign in to comment.