Skip to content

Commit 71a9299

Browse files
This release adds support for Amazon EBS Provisioned Rate for Volume Initialization, which lets you specify a volume initialization rate to ensure that your EBS volumes are initialized in a predictable amount of time.
1 parent fa4a75f commit 71a9299

24 files changed

+370
-15
lines changed

generator/ServiceModels/ec2/ec2-2016-11-15.api.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12873,7 +12873,8 @@
1287312873
"locationName":"TagSpecification"
1287412874
},
1287512875
"ImageId":{"shape":"ImageId"},
12876-
"DeleteReplacedRootVolume":{"shape":"Boolean"}
12876+
"DeleteReplacedRootVolume":{"shape":"Boolean"},
12877+
"VolumeInitializationRate":{"shape":"Long"}
1287712878
}
1287812879
},
1287912880
"CreateReplaceRootVolumeTaskResult":{
@@ -14076,6 +14077,7 @@
1407614077
"shape":"String",
1407714078
"idempotencyToken":true
1407814079
},
14080+
"VolumeInitializationRate":{"shape":"Integer"},
1407914081
"Operator":{"shape":"OperatorRequest"},
1408014082
"DryRun":{
1408114083
"shape":"Boolean",
@@ -23018,7 +23020,8 @@
2301823020
"Encrypted":{
2301923021
"shape":"Boolean",
2302023022
"locationName":"encrypted"
23021-
}
23023+
},
23024+
"VolumeInitializationRate":{"shape":"Integer"}
2302223025
}
2302323026
},
2302423027
"EbsBlockDeviceResponse":{
@@ -25334,7 +25337,7 @@
2533425337
"locationName":"BlockDeviceMapping"
2533525338
},
2533625339
"InstanceRequirements":{"shape":"InstanceRequirementsRequest"},
25337-
"ImageId":{"shape":"ImageId"}
25340+
"ImageId":{"shape":"String"}
2533825341
}
2533925342
},
2534025343
"FleetLaunchTemplateSpecification":{
@@ -33907,6 +33910,10 @@
3390733910
"Throughput":{
3390833911
"shape":"Integer",
3390933912
"locationName":"throughput"
33913+
},
33914+
"VolumeInitializationRate":{
33915+
"shape":"Integer",
33916+
"locationName":"volumeInitializationRate"
3391033917
}
3391133918
}
3391233919
},
@@ -33920,7 +33927,8 @@
3392033927
"SnapshotId":{"shape":"SnapshotId"},
3392133928
"VolumeSize":{"shape":"Integer"},
3392233929
"VolumeType":{"shape":"VolumeType"},
33923-
"Throughput":{"shape":"Integer"}
33930+
"Throughput":{"shape":"Integer"},
33931+
"VolumeInitializationRate":{"shape":"Integer"}
3392433932
}
3392533933
},
3392633934
"LaunchTemplateElasticInferenceAccelerator":{
@@ -50724,6 +50732,10 @@
5072450732
"shape":"OperatorResponse",
5072550733
"locationName":"operator"
5072650734
},
50735+
"VolumeInitializationRate":{
50736+
"shape":"Integer",
50737+
"locationName":"volumeInitializationRate"
50738+
},
5072750739
"VolumeId":{
5072850740
"shape":"String",
5072950741
"locationName":"volumeId"

generator/ServiceModels/ec2/ec2-2016-11-15.docs.json

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

generator/ServiceModels/ec2/ec2-2016-11-15.normal.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12500,7 +12500,7 @@
1250012500
},
1250112501
"DisconnectOnSessionTimeout":{
1250212502
"shape":"Boolean",
12503-
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>",
12503+
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>",
1250412504
"locationName":"disconnectOnSessionTimeout"
1250512505
}
1250612506
},
@@ -13763,7 +13763,7 @@
1376313763
},
1376413764
"DisconnectOnSessionTimeout":{
1376513765
"shape":"Boolean",
13766-
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>"
13766+
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>"
1376713767
}
1376813768
}
1376913769
},
@@ -15780,6 +15780,10 @@
1578015780
"DeleteReplacedRootVolume":{
1578115781
"shape":"Boolean",
1578215782
"documentation":"<p>Indicates whether to automatically delete the original root volume after the root volume replacement task completes. To delete the original root volume, specify <code>true</code>. If you choose to keep the original root volume after the replacement task completes, you must manually delete it when you no longer need it.</p>"
15783+
},
15784+
"VolumeInitializationRate":{
15785+
"shape":"Long",
15786+
"documentation":"<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the replacement root volume. This is also known as <i>volume initialization</i>. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.</p> <p>Omit this parameter if:</p> <ul> <li> <p>You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.</p> <note> <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.</p> </note> </li> <li> <p>You want to create a volume that is initialized at the default rate.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\"> Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>Valid range: 100 - 300 MiB/s</p>"
1578315787
}
1578415788
}
1578515789
},
@@ -17748,6 +17752,10 @@
1774817752
"documentation":"<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html\">Ensure Idempotency</a>.</p>",
1774917753
"idempotencyToken":true
1775017754
},
17755+
"VolumeInitializationRate":{
17756+
"shape":"Integer",
17757+
"documentation":"<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume initialization</i>. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.</p> <p>This parameter is supported only for volumes created from snapshots. Omit this parameter if:</p> <ul> <li> <p>You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.</p> <note> <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.</p> </note> </li> <li> <p>You want to create a volume that is initialized at the default rate.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\"> Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>Valid range: 100 - 300 MiB/s</p>"
17758+
},
1775117759
"Operator":{
1775217760
"shape":"OperatorRequest",
1775317761
"documentation":"<p>Reserved for internal use.</p>"
@@ -30094,6 +30102,10 @@
3009430102
"shape":"Boolean",
3009530103
"documentation":"<p>Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to <code>true</code> depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters\">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p> <p>In no case can you remove encryption from an encrypted volume.</p> <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances\">Supported instance types</a>.</p> <p>This parameter is not returned by <a>DescribeImageAttribute</a>.</p> <p>For <a>CreateImage</a> and <a>RegisterImage</a>, whether you can include this parameter, and the allowed values differ depending on the type of block device mapping you are creating.</p> <ul> <li> <p>If you are creating a block device mapping for a <b>new (empty) volume</b>, you can include this parameter, and specify either <code>true</code> for an encrypted volume, or <code>false</code> for an unencrypted volume. If you omit this parameter, it defaults to <code>false</code> (unencrypted).</p> </li> <li> <p>If you are creating a block device mapping from an <b>existing encrypted or unencrypted snapshot</b>, you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.</p> </li> <li> <p>If you are creating a block device mapping from an <b>existing unencrypted volume</b>, you can include this parameter, but you must specify <code>false</code>. If you specify <code>true</code>, the request will fail. In this case, we recommend that you omit the parameter.</p> </li> <li> <p>If you are creating a block device mapping from an <b>existing encrypted volume</b>, you can include this parameter, and specify either <code>true</code> or <code>false</code>. However, if you specify <code>false</code>, the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.</p> </li> </ul>",
3009630104
"locationName":"encrypted"
30105+
},
30106+
"VolumeInitializationRate":{
30107+
"shape":"Integer",
30108+
"documentation":"<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume initialization</i>. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.</p> <p>This parameter is supported only for volumes created from snapshots. Omit this parameter if:</p> <ul> <li> <p>You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.</p> <note> <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.</p> </note> </li> <li> <p>You want to create a volume that is initialized at the default rate.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\"> Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p> <p>Valid range: 100 - 300 MiB/s</p>"
3009730109
}
3009830110
},
3009930111
"documentation":"<p>Describes a block device for an EBS volume.</p>"
@@ -33067,7 +33079,7 @@
3306733079
"documentation":"<p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.</p> <note> <p>If you specify <code>InstanceRequirements</code>, you can't specify <code>InstanceType</code>.</p> </note>"
3306833080
},
3306933081
"ImageId":{
33070-
"shape":"ImageId",
33082+
"shape":"String",
3307133083
"documentation":"<p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p> <p>Alternatively, you can specify a Systems Manager parameter, using one of the following formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p> <p>To reference a public parameter:</p> <ul> <li> <p> <code>resolve:ssm:<i>public-parameter</i> </code> </p> </li> </ul> <p>To reference a parameter stored in the same account:</p> <ul> <li> <p> <code>resolve:ssm:<i>parameter-name</i> </code> </p> </li> <li> <p> <code>resolve:ssm:<i>parameter-name:version-number</i> </code> </p> </li> <li> <p> <code>resolve:ssm:<i>parameter-name:label</i> </code> </p> </li> </ul> <p>To reference a parameter shared from another Amazon Web Services account:</p> <ul> <li> <p> <code>resolve:ssm:<i>parameter-ARN</i> </code> </p> </li> <li> <p> <code>resolve:ssm:<i>parameter-ARN:version-number</i> </code> </p> </li> <li> <p> <code>resolve:ssm:<i>parameter-ARN:label</i> </code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id\">Use a Systems Manager parameter instead of an AMI ID</a> in the <i>Amazon EC2 User Guide</i>.</p> <note> <p>This parameter is only available for fleets of type <code>instant</code>. For fleets of type <code>maintain</code> and <code>request</code>, you must specify the AMI ID in the launch template.</p> </note>"
3307233084
}
3307333085
},
@@ -43704,6 +43716,11 @@
4370443716
"shape":"Integer",
4370543717
"documentation":"<p>The throughput that the volume supports, in MiB/s.</p>",
4370643718
"locationName":"throughput"
43719+
},
43720+
"VolumeInitializationRate":{
43721+
"shape":"Integer",
43722+
"documentation":"<p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume, in MiB/s. If no volume initialization rate was specified, the value is <code>null</code>.</p>",
43723+
"locationName":"volumeInitializationRate"
4370743724
}
4370843725
},
4370943726
"documentation":"<p>Describes a block device for an EBS volume.</p>"
@@ -43742,6 +43759,10 @@
4374243759
"Throughput":{
4374343760
"shape":"Integer",
4374443761
"documentation":"<p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 1,000 MiB/s.</p> <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>"
43762+
},
43763+
"VolumeInitializationRate":{
43764+
"shape":"Integer",
43765+
"documentation":"<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume initialization</i>. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.</p> <p>This parameter is supported only for volumes created from snapshots. Omit this parameter if:</p> <ul> <li> <p>You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.</p> <note> <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.</p> </note> </li> <li> <p>You want to create a volume that is initialized at the default rate.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\"> Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>Valid range: 100 - 300 MiB/s</p>"
4374543766
}
4374643767
},
4374743768
"documentation":"<p>The parameters for a block device for an EBS volume.</p>"
@@ -46203,7 +46224,7 @@
4620346224
},
4620446225
"DisconnectOnSessionTimeout":{
4620546226
"shape":"Boolean",
46206-
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>"
46227+
"documentation":"<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>"
4620746228
}
4620846229
}
4620946230
},
@@ -65645,6 +65666,11 @@
6564565666
"documentation":"<p>The service provider that manages the volume.</p>",
6564665667
"locationName":"operator"
6564765668
},
65669+
"VolumeInitializationRate":{
65670+
"shape":"Integer",
65671+
"documentation":"<p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume during creation, in MiB/s. If no volume initialization rate was specified, the value is <code>null</code>.</p>",
65672+
"locationName":"volumeInitializationRate"
65673+
},
6564865674
"VolumeId":{
6564965675
"shape":"String",
6565065676
"documentation":"<p>The ID of the volume.</p>",

sdk/src/Services/EC2/Generated/Model/ClientVpnEndpoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ internal bool IsSetDescription()
276276
/// <para>
277277
/// Indicates whether the client VPN session is disconnected after the maximum <c>sessionTimeoutHours</c>
278278
/// is reached. If <c>true</c>, users are prompted to reconnect client VPN. If <c>false</c>,
279-
/// client VPN attempts to reconnect automatically. The default value is <c>false</c>.
279+
/// client VPN attempts to reconnect automatically. The default value is <c>true</c>.
280280
/// </para>
281281
/// </summary>
282282
public bool DisconnectOnSessionTimeout

sdk/src/Services/EC2/Generated/Model/CreateClientVpnEndpointRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ internal bool IsSetDescription()
249249
/// Indicates whether the client VPN session is disconnected after the maximum timeout
250250
/// specified in <c>SessionTimeoutHours</c> is reached. If <c>true</c>, users are prompted
251251
/// to reconnect client VPN. If <c>false</c>, client VPN attempts to reconnect automatically.
252-
/// The default value is <c>false</c>.
252+
/// The default value is <c>true</c>.
253253
/// </para>
254254
/// </summary>
255255
public bool DisconnectOnSessionTimeout

0 commit comments

Comments
 (0)