Skip to content

Commit 30e7ffd

Browse files
4.1.733
1 parent 616ab0a commit 30e7ffd

File tree

9 files changed

+923
-819
lines changed

9 files changed

+923
-819
lines changed

Include/sdk/_sdk-versions.json

Lines changed: 812 additions & 812 deletions
Large diffs are not rendered by default.

changelogs/CHANGELOG.2025.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.732 (2025-01-08 21:41Z)
1+
### 4.1.733 (2025-01-09 22:01Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.960.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon CodeBuild
4+
* Modified cmdlet New-CBProject: added parameter Restrictions_FleetsAllowed.
5+
* Modified cmdlet Start-CBBatch: added parameter Restrictions_FleetsAllowed.
6+
* Modified cmdlet Update-CBProject: added parameter Restrictions_FleetsAllowed.
7+
8+
### 4.1.732 (2025-01-08 21:41Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.959.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
310

411
### 4.1.731 (2025-01-07 21:35Z)

changelogs/CHANGELOG.ALL.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.732 (2025-01-08 21:41Z)
1+
### 4.1.733 (2025-01-09 22:01Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.960.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon CodeBuild
4+
* Modified cmdlet New-CBProject: added parameter Restrictions_FleetsAllowed.
5+
* Modified cmdlet Start-CBBatch: added parameter Restrictions_FleetsAllowed.
6+
* Modified cmdlet Update-CBProject: added parameter Restrictions_FleetsAllowed.
7+
8+
### 4.1.732 (2025-01-08 21:41Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.959.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
310

411
### 4.1.731 (2025-01-07 21:35Z)

modules/AWSPowerShell/Cmdlets/CodeBuild/Basic/New-CBProject-Cmdlet.cs

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,20 @@ public partial class NewCBProjectCmdlet : AmazonCodeBuildClientCmdlet, IExecutor
361361
public System.String Fleet_FleetArn { get; set; }
362362
#endregion
363363

364+
#region Parameter Restrictions_FleetsAllowed
365+
/// <summary>
366+
/// <para>
367+
/// <para>An array of strings that specify the fleets that are allowed for the batch build.
368+
/// See <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html">Run
369+
/// builds on reserved capacity fleets</a> in the <i>CodeBuild User Guide</i> for more
370+
/// information. </para>
371+
/// </para>
372+
/// </summary>
373+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
374+
[Alias("BuildBatchConfig_Restrictions_FleetsAllowed")]
375+
public System.String[] Restrictions_FleetsAllowed { get; set; }
376+
#endregion
377+
364378
#region Parameter Source_GitCloneDepth
365379
/// <summary>
366380
/// <para>
@@ -702,8 +716,9 @@ public partial class NewCBProjectCmdlet : AmazonCodeBuildClientCmdlet, IExecutor
702716
/// <para>
703717
/// <para> Set to true to report the status of a build's start and finish to your source provider.
704718
/// This option is valid only when your source provider is GitHub, GitHub Enterprise,
705-
/// GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different
706-
/// source provider, an <c>invalidInputException</c> is thrown. </para><para>To be able to report the build status to the source provider, the user associated
719+
/// GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is
720+
/// set and you use a different source provider, an <c>invalidInputException</c> is thrown.
721+
/// </para><para>To be able to report the build status to the source provider, the user associated
707722
/// with the source provider must have write access to the repo. If the user does not
708723
/// 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
709724
/// provider access</a> in the <i>CodeBuild User Guide</i>.</para><para>The status of a build triggered by a webhook is always reported to your source provider.
@@ -1129,6 +1144,10 @@ protected override void ProcessRecord()
11291144
{
11301145
context.Restrictions_ComputeTypesAllowed = new List<System.String>(this.Restrictions_ComputeTypesAllowed);
11311146
}
1147+
if (this.Restrictions_FleetsAllowed != null)
1148+
{
1149+
context.Restrictions_FleetsAllowed = new List<System.String>(this.Restrictions_FleetsAllowed);
1150+
}
11321151
context.Restrictions_MaximumBuildsAllowed = this.Restrictions_MaximumBuildsAllowed;
11331152
context.BuildBatchConfig_ServiceRole = this.BuildBatchConfig_ServiceRole;
11341153
context.BuildBatchConfig_TimeoutInMin = this.BuildBatchConfig_TimeoutInMin;
@@ -1439,6 +1458,16 @@ public object Execute(ExecutorContext context)
14391458
requestBuildBatchConfig_buildBatchConfig_Restrictions.ComputeTypesAllowed = requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_ComputeTypesAllowed;
14401459
requestBuildBatchConfig_buildBatchConfig_RestrictionsIsNull = false;
14411460
}
1461+
List<System.String> requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed = null;
1462+
if (cmdletContext.Restrictions_FleetsAllowed != null)
1463+
{
1464+
requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed = cmdletContext.Restrictions_FleetsAllowed;
1465+
}
1466+
if (requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed != null)
1467+
{
1468+
requestBuildBatchConfig_buildBatchConfig_Restrictions.FleetsAllowed = requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed;
1469+
requestBuildBatchConfig_buildBatchConfig_RestrictionsIsNull = false;
1470+
}
14421471
System.Int32? requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_MaximumBuildsAllowed = null;
14431472
if (cmdletContext.Restrictions_MaximumBuildsAllowed != null)
14441473
{
@@ -2147,6 +2176,7 @@ internal partial class CmdletContext : ExecutorContext
21472176
public Amazon.CodeBuild.BatchReportModeType BuildBatchConfig_BatchReportMode { get; set; }
21482177
public System.Boolean? BuildBatchConfig_CombineArtifact { get; set; }
21492178
public List<System.String> Restrictions_ComputeTypesAllowed { get; set; }
2179+
public List<System.String> Restrictions_FleetsAllowed { get; set; }
21502180
public System.Int32? Restrictions_MaximumBuildsAllowed { get; set; }
21512181
public System.String BuildBatchConfig_ServiceRole { get; set; }
21522182
public System.Int32? BuildBatchConfig_TimeoutInMin { get; set; }

modules/AWSPowerShell/Cmdlets/CodeBuild/Basic/Start-CBBatch-Cmdlet.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ public partial class StartCBBatchCmdlet : AmazonCodeBuildClientCmdlet, IExecutor
274274
public System.Boolean? GitSubmodulesConfigOverride_FetchSubmodule { get; set; }
275275
#endregion
276276

277+
#region Parameter Restrictions_FleetsAllowed
278+
/// <summary>
279+
/// <para>
280+
/// <para>An array of strings that specify the fleets that are allowed for the batch build.
281+
/// See <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html">Run
282+
/// builds on reserved capacity fleets</a> in the <i>CodeBuild User Guide</i> for more
283+
/// information. </para>
284+
/// </para>
285+
/// </summary>
286+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
287+
[Alias("BuildBatchConfigOverride_Restrictions_FleetsAllowed")]
288+
public System.String[] Restrictions_FleetsAllowed { get; set; }
289+
#endregion
290+
277291
#region Parameter GitCloneDepthOverride
278292
/// <summary>
279293
/// <para>
@@ -820,6 +834,10 @@ protected override void ProcessRecord()
820834
{
821835
context.Restrictions_ComputeTypesAllowed = new List<System.String>(this.Restrictions_ComputeTypesAllowed);
822836
}
837+
if (this.Restrictions_FleetsAllowed != null)
838+
{
839+
context.Restrictions_FleetsAllowed = new List<System.String>(this.Restrictions_FleetsAllowed);
840+
}
823841
context.Restrictions_MaximumBuildsAllowed = this.Restrictions_MaximumBuildsAllowed;
824842
context.BuildBatchConfigOverride_ServiceRole = this.BuildBatchConfigOverride_ServiceRole;
825843
context.BuildBatchConfigOverride_TimeoutInMin = this.BuildBatchConfigOverride_TimeoutInMin;
@@ -1067,6 +1085,16 @@ public object Execute(ExecutorContext context)
10671085
requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions.ComputeTypesAllowed = requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_ComputeTypesAllowed;
10681086
requestBuildBatchConfigOverride_buildBatchConfigOverride_RestrictionsIsNull = false;
10691087
}
1088+
List<System.String> requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_FleetsAllowed = null;
1089+
if (cmdletContext.Restrictions_FleetsAllowed != null)
1090+
{
1091+
requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_FleetsAllowed = cmdletContext.Restrictions_FleetsAllowed;
1092+
}
1093+
if (requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_FleetsAllowed != null)
1094+
{
1095+
requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions.FleetsAllowed = requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_FleetsAllowed;
1096+
requestBuildBatchConfigOverride_buildBatchConfigOverride_RestrictionsIsNull = false;
1097+
}
10701098
System.Int32? requestBuildBatchConfigOverride_buildBatchConfigOverride_Restrictions_restrictions_MaximumBuildsAllowed = null;
10711099
if (cmdletContext.Restrictions_MaximumBuildsAllowed != null)
10721100
{
@@ -1487,6 +1515,7 @@ internal partial class CmdletContext : ExecutorContext
14871515
public Amazon.CodeBuild.BatchReportModeType BuildBatchConfigOverride_BatchReportMode { get; set; }
14881516
public System.Boolean? BuildBatchConfigOverride_CombineArtifact { get; set; }
14891517
public List<System.String> Restrictions_ComputeTypesAllowed { get; set; }
1518+
public List<System.String> Restrictions_FleetsAllowed { get; set; }
14901519
public System.Int32? Restrictions_MaximumBuildsAllowed { get; set; }
14911520
public System.String BuildBatchConfigOverride_ServiceRole { get; set; }
14921521
public System.Int32? BuildBatchConfigOverride_TimeoutInMin { get; set; }

modules/AWSPowerShell/Cmdlets/CodeBuild/Basic/Start-CBBuild-Cmdlet.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ public partial class StartCBBuildCmdlet : AmazonCodeBuildClientCmdlet, IExecutor
532532
/// <para>
533533
/// <para> Set to true to report to your source provider the status of a build's start and completion.
534534
/// If you use this option with a source provider other than GitHub, GitHub Enterprise,
535-
/// or Bitbucket, an <c>invalidInputException</c> is thrown. </para><para>To be able to report the build status to the source provider, the user associated
535+
/// GitLab, GitLab Self Managed, or Bitbucket, an <c>invalidInputException</c> is thrown.
536+
/// </para><para>To be able to report the build status to the source provider, the user associated
536537
/// with the source provider must have write access to the repo. If the user does not
537538
/// 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
538539
/// provider access</a> in the <i>CodeBuild User Guide</i>.</para><note><para> The status of a build triggered by a webhook is always reported to your source provider.

modules/AWSPowerShell/Cmdlets/CodeBuild/Basic/Update-CBProject-Cmdlet.cs

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,20 @@ public partial class UpdateCBProjectCmdlet : AmazonCodeBuildClientCmdlet, IExecu
355355
public System.String Fleet_FleetArn { get; set; }
356356
#endregion
357357

358+
#region Parameter Restrictions_FleetsAllowed
359+
/// <summary>
360+
/// <para>
361+
/// <para>An array of strings that specify the fleets that are allowed for the batch build.
362+
/// See <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html">Run
363+
/// builds on reserved capacity fleets</a> in the <i>CodeBuild User Guide</i> for more
364+
/// information. </para>
365+
/// </para>
366+
/// </summary>
367+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
368+
[Alias("BuildBatchConfig_Restrictions_FleetsAllowed")]
369+
public System.String[] Restrictions_FleetsAllowed { get; set; }
370+
#endregion
371+
358372
#region Parameter Source_GitCloneDepth
359373
/// <summary>
360374
/// <para>
@@ -689,8 +703,9 @@ public partial class UpdateCBProjectCmdlet : AmazonCodeBuildClientCmdlet, IExecu
689703
/// <para>
690704
/// <para> Set to true to report the status of a build's start and finish to your source provider.
691705
/// This option is valid only when your source provider is GitHub, GitHub Enterprise,
692-
/// GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different
693-
/// source provider, an <c>invalidInputException</c> is thrown. </para><para>To be able to report the build status to the source provider, the user associated
706+
/// GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is
707+
/// set and you use a different source provider, an <c>invalidInputException</c> is thrown.
708+
/// </para><para>To be able to report the build status to the source provider, the user associated
694709
/// with the source provider must have write access to the repo. If the user does not
695710
/// 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
696711
/// provider access</a> in the <i>CodeBuild User Guide</i>.</para><para>The status of a build triggered by a webhook is always reported to your source provider.
@@ -1085,6 +1100,10 @@ protected override void ProcessRecord()
10851100
{
10861101
context.Restrictions_ComputeTypesAllowed = new List<System.String>(this.Restrictions_ComputeTypesAllowed);
10871102
}
1103+
if (this.Restrictions_FleetsAllowed != null)
1104+
{
1105+
context.Restrictions_FleetsAllowed = new List<System.String>(this.Restrictions_FleetsAllowed);
1106+
}
10881107
context.Restrictions_MaximumBuildsAllowed = this.Restrictions_MaximumBuildsAllowed;
10891108
context.BuildBatchConfig_ServiceRole = this.BuildBatchConfig_ServiceRole;
10901109
context.BuildBatchConfig_TimeoutInMin = this.BuildBatchConfig_TimeoutInMin;
@@ -1365,6 +1384,16 @@ public object Execute(ExecutorContext context)
13651384
requestBuildBatchConfig_buildBatchConfig_Restrictions.ComputeTypesAllowed = requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_ComputeTypesAllowed;
13661385
requestBuildBatchConfig_buildBatchConfig_RestrictionsIsNull = false;
13671386
}
1387+
List<System.String> requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed = null;
1388+
if (cmdletContext.Restrictions_FleetsAllowed != null)
1389+
{
1390+
requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed = cmdletContext.Restrictions_FleetsAllowed;
1391+
}
1392+
if (requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed != null)
1393+
{
1394+
requestBuildBatchConfig_buildBatchConfig_Restrictions.FleetsAllowed = requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_FleetsAllowed;
1395+
requestBuildBatchConfig_buildBatchConfig_RestrictionsIsNull = false;
1396+
}
13681397
System.Int32? requestBuildBatchConfig_buildBatchConfig_Restrictions_restrictions_MaximumBuildsAllowed = null;
13691398
if (cmdletContext.Restrictions_MaximumBuildsAllowed != null)
13701399
{
@@ -2073,6 +2102,7 @@ internal partial class CmdletContext : ExecutorContext
20732102
public Amazon.CodeBuild.BatchReportModeType BuildBatchConfig_BatchReportMode { get; set; }
20742103
public System.Boolean? BuildBatchConfig_CombineArtifact { get; set; }
20752104
public List<System.String> Restrictions_ComputeTypesAllowed { get; set; }
2105+
public List<System.String> Restrictions_FleetsAllowed { get; set; }
20762106
public System.Int32? Restrictions_MaximumBuildsAllowed { get; set; }
20772107
public System.String BuildBatchConfig_ServiceRole { get; set; }
20782108
public System.Int32? BuildBatchConfig_TimeoutInMin { get; set; }
-2 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)