Skip to content

Commit eeedfa3

Browse files
4.1.814
1 parent 9d15fc2 commit eeedfa3

File tree

9 files changed

+883
-820
lines changed

9 files changed

+883
-820
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2025.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
### 4.1.813 (2025-05-05 20:22Z)
1+
### 4.1.814 (2025-05-06 20:31Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1038.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Elastic Compute Cloud (EC2)
4+
* Modified cmdlet New-EC2ReplaceRootVolumeTask: added parameter VolumeInitializationRate.
5+
* Modified cmdlet New-EC2Volume: added parameter VolumeInitializationRate.
6+
7+
### 4.1.813 (2025-05-05 20:22Z)
28
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1037.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
39
* Amazon DataZone
410
* Modified cmdlet Add-DZPolicyGrant: added parameter UseAssetType_DomainUnitId.

changelogs/CHANGELOG.ALL.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
### 4.1.813 (2025-05-05 20:22Z)
1+
### 4.1.814 (2025-05-06 20:31Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1038.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Elastic Compute Cloud (EC2)
4+
* Modified cmdlet New-EC2ReplaceRootVolumeTask: added parameter VolumeInitializationRate.
5+
* Modified cmdlet New-EC2Volume: added parameter VolumeInitializationRate.
6+
7+
### 4.1.813 (2025-05-05 20:22Z)
28
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1037.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
39
* Amazon DataZone
410
* Modified cmdlet Add-DZPolicyGrant: added parameter UseAssetType_DomainUnitId.

modules/AWSPowerShell/Cmdlets/EC2/Basic/Edit-EC2ClientVpnEndpoint-Cmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public partial class EditEC2ClientVpnEndpointCmdlet : AmazonEC2ClientCmdlet, IEx
121121
/// <para>Indicates whether the client VPN session is disconnected after the maximum timeout
122122
/// specified in <c>sessionTimeoutHours</c> is reached. If <c>true</c>, users are prompted
123123
/// to reconnect client VPN. If <c>false</c>, client VPN attempts to reconnect automatically.
124-
/// The default value is <c>false</c>.</para>
124+
/// The default value is <c>true</c>.</para>
125125
/// </para>
126126
/// </summary>
127127
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/EC2/Basic/New-EC2ClientVpnEndpoint-Cmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public partial class NewEC2ClientVpnEndpointCmdlet : AmazonEC2ClientCmdlet, IExe
130130
/// <para>Indicates whether the client VPN session is disconnected after the maximum timeout
131131
/// specified in <c>SessionTimeoutHours</c> is reached. If <c>true</c>, users are prompted
132132
/// to reconnect client VPN. If <c>false</c>, client VPN attempts to reconnect automatically.
133-
/// The default value is <c>false</c>.</para>
133+
/// The default value is <c>true</c>.</para>
134134
/// </para>
135135
/// </summary>
136136
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/EC2/Basic/New-EC2ReplaceRootVolumeTask-Cmdlet.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,25 @@ public partial class NewEC2ReplaceRootVolumeTaskCmdlet : AmazonEC2ClientCmdlet,
117117
public Amazon.EC2.Model.TagSpecification[] TagSpecification { get; set; }
118118
#endregion
119119

120+
#region Parameter VolumeInitializationRate
121+
/// <summary>
122+
/// <para>
123+
/// <para>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization
124+
/// rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the replacement
125+
/// root volume. This is also known as <i>volume initialization</i>. Specifying a volume
126+
/// initialization rate ensures that the volume is initialized at a predictable and consistent
127+
/// rate after creation.</para><para>Omit this parameter if:</para><ul><li><para>You want to create the volume using fast snapshot restore. You must specify a snapshot
128+
/// that is enabled for fast snapshot restore. In this case, the volume is fully initialized
129+
/// at creation.</para><note><para>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization
130+
/// rate, the volume will be initialized at the specified rate instead of fast snapshot
131+
/// restore.</para></note></li><li><para>You want to create a volume that is initialized at the default rate.</para></li></ul><para>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
132+
/// Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</para><para>Valid range: 100 - 300 MiB/s</para>
133+
/// </para>
134+
/// </summary>
135+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
136+
public System.Int64? VolumeInitializationRate { get; set; }
137+
#endregion
138+
120139
#region Parameter ClientToken
121140
/// <summary>
122141
/// <para>
@@ -207,6 +226,7 @@ protected override void ProcessRecord()
207226
{
208227
context.TagSpecification = new List<Amazon.EC2.Model.TagSpecification>(this.TagSpecification);
209228
}
229+
context.VolumeInitializationRate = this.VolumeInitializationRate;
210230

211231
// allow further manipulation of loaded context prior to processing
212232
PostExecutionContextLoad(context);
@@ -247,6 +267,10 @@ public object Execute(ExecutorContext context)
247267
{
248268
request.TagSpecifications = cmdletContext.TagSpecification;
249269
}
270+
if (cmdletContext.VolumeInitializationRate != null)
271+
{
272+
request.VolumeInitializationRate = cmdletContext.VolumeInitializationRate.Value;
273+
}
250274

251275
CmdletOutput output;
252276

@@ -314,6 +338,7 @@ internal partial class CmdletContext : ExecutorContext
314338
public System.String InstanceId { get; set; }
315339
public System.String SnapshotId { get; set; }
316340
public List<Amazon.EC2.Model.TagSpecification> TagSpecification { get; set; }
341+
public System.Int64? VolumeInitializationRate { get; set; }
317342
public System.Func<Amazon.EC2.Model.CreateReplaceRootVolumeTaskResponse, NewEC2ReplaceRootVolumeTaskCmdlet, object> Select { get; set; } =
318343
(response, cmdlet) => response.ReplaceRootVolumeTask;
319344
}

modules/AWSPowerShell/Cmdlets/EC2/Basic/New-EC2Volume-Cmdlet.cs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,26 @@ public partial class NewEC2VolumeCmdlet : AmazonEC2ClientCmdlet, IExecutor
205205
public System.Int32? Throughput { get; set; }
206206
#endregion
207207

208+
#region Parameter VolumeInitializationRate
209+
/// <summary>
210+
/// <para>
211+
/// <para>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization
212+
/// rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume.
213+
/// This is also known as <i>volume initialization</i>. Specifying a volume initialization
214+
/// rate ensures that the volume is initialized at a predictable and consistent rate after
215+
/// creation.</para><para>This parameter is supported only for volumes created from snapshots. Omit this parameter
216+
/// if:</para><ul><li><para>You want to create the volume using fast snapshot restore. You must specify a snapshot
217+
/// that is enabled for fast snapshot restore. In this case, the volume is fully initialized
218+
/// at creation.</para><note><para>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization
219+
/// rate, the volume will be initialized at the specified rate instead of fast snapshot
220+
/// restore.</para></note></li><li><para>You want to create a volume that is initialized at the default rate.</para></li></ul><para>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
221+
/// Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</para><para>Valid range: 100 - 300 MiB/s</para>
222+
/// </para>
223+
/// </summary>
224+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
225+
public System.Int32? VolumeInitializationRate { get; set; }
226+
#endregion
227+
208228
#region Parameter VolumeType
209229
/// <summary>
210230
/// <para>
@@ -313,6 +333,7 @@ protected override void ProcessRecord()
313333
context.TagSpecification = new List<Amazon.EC2.Model.TagSpecification>(this.TagSpecification);
314334
}
315335
context.Throughput = this.Throughput;
336+
context.VolumeInitializationRate = this.VolumeInitializationRate;
316337
context.VolumeType = this.VolumeType;
317338

318339
// allow further manipulation of loaded context prior to processing
@@ -393,6 +414,10 @@ public object Execute(ExecutorContext context)
393414
{
394415
request.Throughput = cmdletContext.Throughput.Value;
395416
}
417+
if (cmdletContext.VolumeInitializationRate != null)
418+
{
419+
request.VolumeInitializationRate = cmdletContext.VolumeInitializationRate.Value;
420+
}
396421
if (cmdletContext.VolumeType != null)
397422
{
398423
request.VolumeType = cmdletContext.VolumeType;
@@ -470,6 +495,7 @@ internal partial class CmdletContext : ExecutorContext
470495
public System.String SnapshotId { get; set; }
471496
public List<Amazon.EC2.Model.TagSpecification> TagSpecification { get; set; }
472497
public System.Int32? Throughput { get; set; }
498+
public System.Int32? VolumeInitializationRate { get; set; }
473499
public Amazon.EC2.VolumeType VolumeType { get; set; }
474500
public System.Func<Amazon.EC2.Model.CreateVolumeResponse, NewEC2VolumeCmdlet, object> Select { get; set; } =
475501
(response, cmdlet) => response.Volume;
-8 Bytes
Binary file not shown.
13 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)