Skip to content

Commit 4fb5b7e

Browse files
author
awstools
committed
feat(client-codebuild): AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda
1 parent b33aa6f commit 4fb5b7e

File tree

9 files changed

+44
-2
lines changed

9 files changed

+44
-2
lines changed

clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
218218
* // computeTypesAllowed: [ // ComputeTypesAllowed
219219
* // "STRING_VALUE",
220220
* // ],
221+
* // fleetsAllowed: [ // FleetsAllowed
222+
* // "STRING_VALUE",
223+
* // ],
221224
* // },
222225
* // timeoutInMins: Number("int"),
223226
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
236236
* // computeTypesAllowed: [ // ComputeTypesAllowed
237237
* // "STRING_VALUE",
238238
* // ],
239+
* // fleetsAllowed: [ // FleetsAllowed
240+
* // "STRING_VALUE",
241+
* // ],
239242
* // },
240243
* // timeoutInMins: Number("int"),
241244
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/CreateProjectCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
198198
* computeTypesAllowed: [ // ComputeTypesAllowed
199199
* "STRING_VALUE",
200200
* ],
201+
* fleetsAllowed: [ // FleetsAllowed
202+
* "STRING_VALUE",
203+
* ],
201204
* },
202205
* timeoutInMins: Number("int"),
203206
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
@@ -400,6 +403,9 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
400403
* // computeTypesAllowed: [ // ComputeTypesAllowed
401404
* // "STRING_VALUE",
402405
* // ],
406+
* // fleetsAllowed: [ // FleetsAllowed
407+
* // "STRING_VALUE",
408+
* // ],
403409
* // },
404410
* // timeoutInMins: Number("int"),
405411
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
217217
* // computeTypesAllowed: [ // ComputeTypesAllowed
218218
* // "STRING_VALUE",
219219
* // ],
220+
* // fleetsAllowed: [ // FleetsAllowed
221+
* // "STRING_VALUE",
222+
* // ],
220223
* // },
221224
* // timeoutInMins: Number("int"),
222225
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/StartBuildBatchCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
155155
* computeTypesAllowed: [ // ComputeTypesAllowed
156156
* "STRING_VALUE",
157157
* ],
158+
* fleetsAllowed: [ // FleetsAllowed
159+
* "STRING_VALUE",
160+
* ],
158161
* },
159162
* timeoutInMins: Number("int"),
160163
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
@@ -338,6 +341,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
338341
* // computeTypesAllowed: [ // ComputeTypesAllowed
339342
* // "STRING_VALUE",
340343
* // ],
344+
* // fleetsAllowed: [ // FleetsAllowed
345+
* // "STRING_VALUE",
346+
* // ],
341347
* // },
342348
* // timeoutInMins: Number("int"),
343349
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/StopBuildBatchCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met
215215
* // computeTypesAllowed: [ // ComputeTypesAllowed
216216
* // "STRING_VALUE",
217217
* // ],
218+
* // fleetsAllowed: [ // FleetsAllowed
219+
* // "STRING_VALUE",
220+
* // ],
218221
* // },
219222
* // timeoutInMins: Number("int"),
220223
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/commands/UpdateProjectCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
198198
* computeTypesAllowed: [ // ComputeTypesAllowed
199199
* "STRING_VALUE",
200200
* ],
201+
* fleetsAllowed: [ // FleetsAllowed
202+
* "STRING_VALUE",
203+
* ],
201204
* },
202205
* timeoutInMins: Number("int"),
203206
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
@@ -400,6 +403,9 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
400403
* // computeTypesAllowed: [ // ComputeTypesAllowed
401404
* // "STRING_VALUE",
402405
* // ],
406+
* // fleetsAllowed: [ // FleetsAllowed
407+
* // "STRING_VALUE",
408+
* // ],
403409
* // },
404410
* // timeoutInMins: Number("int"),
405411
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",

clients/client-codebuild/src/models/models_0.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,14 @@ export interface BatchRestrictions {
346346
* @public
347347
*/
348348
computeTypesAllowed?: string[] | undefined;
349+
350+
/**
351+
* <p>An array of strings that specify the fleets that are allowed
352+
* 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>
353+
* for more information. </p>
354+
* @public
355+
*/
356+
fleetsAllowed?: string[] | undefined;
349357
}
350358

351359
/**
@@ -1825,7 +1833,7 @@ export interface ProjectSource {
18251833
/**
18261834
* <p> Set to true to report the status of a build's start and finish to your source
18271835
* provider. This option is valid only when your source provider is GitHub, GitHub
1828-
* Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an
1836+
* Enterprise, GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an
18291837
* <code>invalidInputException</code> is thrown. </p>
18301838
* <p>To be able to report the build status to the source provider, the user associated with the source provider must
18311839
* 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>
@@ -7616,7 +7624,7 @@ export interface StartBuildInput {
76167624
/**
76177625
* <p> Set to true to report to your source provider the status of a build's start and
76187626
* completion. If you use this option with a source provider other than GitHub, GitHub
7619-
* Enterprise, or Bitbucket, an <code>invalidInputException</code> is thrown. </p>
7627+
* Enterprise, GitLab, GitLab Self Managed, or Bitbucket, an <code>invalidInputException</code> is thrown. </p>
76207628
* <p>To be able to report the build status to the source provider, the user associated with the source provider must
76217629
* 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>
76227630
* <note>

clients/client-codebuild/src/protocols/Aws_json1_1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,8 @@ const se_DescribeCodeCoveragesInput = (input: DescribeCodeCoveragesInput, contex
21172117

21182118
// se_FleetProxyRules omitted.
21192119

2120+
// se_FleetsAllowed omitted.
2121+
21202122
// se_GetReportGroupTrendInput omitted.
21212123

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

2786+
// de_FleetsAllowed omitted.
2787+
27842788
// de_FleetStatus omitted.
27852789

27862790
// de_GetReportGroupTrendOutput omitted.

0 commit comments

Comments
 (0)