Skip to content

Commit 03ae328

Browse files
author
awstools
committed
feat(client-ec2): 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 9ff8904 commit 03ae328

22 files changed

+215
-7
lines changed

clients/client-ec2/src/commands/CreateImageCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export interface CreateImageCommandOutput extends CreateImageResult, __MetadataB
7171
* Throughput: Number("int"),
7272
* OutpostArn: "STRING_VALUE",
7373
* Encrypted: true || false,
74+
* VolumeInitializationRate: Number("int"),
7475
* },
7576
* NoDevice: "STRING_VALUE",
7677
* DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
7373
* VolumeSize: Number("int"),
7474
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
7575
* Throughput: Number("int"),
76+
* VolumeInitializationRate: Number("int"),
7677
* },
7778
* NoDevice: "STRING_VALUE",
7879
* },

clients/client-ec2/src/commands/CreateLaunchTemplateVersionCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
7878
* VolumeSize: Number("int"),
7979
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
8080
* Throughput: Number("int"),
81+
* VolumeInitializationRate: Number("int"),
8182
* },
8283
* NoDevice: "STRING_VALUE",
8384
* },
@@ -355,6 +356,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
355356
* // VolumeSize: Number("int"),
356357
* // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
357358
* // Throughput: Number("int"),
359+
* // VolumeInitializationRate: Number("int"),
358360
* // },
359361
* // NoDevice: "STRING_VALUE",
360362
* // },

clients/client-ec2/src/commands/CreateReplaceRootVolumeTaskCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface CreateReplaceRootVolumeTaskCommandOutput extends CreateReplaceR
5757
* ],
5858
* ImageId: "STRING_VALUE",
5959
* DeleteReplacedRootVolume: true || false,
60+
* VolumeInitializationRate: Number("long"),
6061
* };
6162
* const command = new CreateReplaceRootVolumeTaskCommand(input);
6263
* const response = await client.send(command);

clients/client-ec2/src/commands/CreateVolumeCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
6868
* MultiAttachEnabled: true || false,
6969
* Throughput: Number("int"),
7070
* ClientToken: "STRING_VALUE",
71+
* VolumeInitializationRate: Number("int"),
7172
* Operator: { // OperatorRequest
7273
* Principal: "STRING_VALUE",
7374
* },
@@ -93,6 +94,7 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {}
9394
* // Managed: true || false,
9495
* // Principal: "STRING_VALUE",
9596
* // },
97+
* // VolumeInitializationRate: Number("int"),
9698
* // VolumeId: "STRING_VALUE",
9799
* // Size: Number("int"),
98100
* // SnapshotId: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeImageAttributeCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export interface DescribeImageAttributeCommandOutput extends ImageAttribute, __M
9595
* // Throughput: Number("int"),
9696
* // OutpostArn: "STRING_VALUE",
9797
* // Encrypted: true || false,
98+
* // VolumeInitializationRate: Number("int"),
9899
* // },
99100
* // NoDevice: "STRING_VALUE",
100101
* // DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeImagesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResult, __Met
100100
* // Throughput: Number("int"),
101101
* // OutpostArn: "STRING_VALUE",
102102
* // Encrypted: true || false,
103+
* // VolumeInitializationRate: Number("int"),
103104
* // },
104105
* // NoDevice: "STRING_VALUE",
105106
* // DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeLaunchTemplateVersionsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export interface DescribeLaunchTemplateVersionsCommandOutput
100100
* // VolumeSize: Number("int"),
101101
* // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
102102
* // Throughput: Number("int"),
103+
* // VolumeInitializationRate: Number("int"),
103104
* // },
104105
* // NoDevice: "STRING_VALUE",
105106
* // },

clients/client-ec2/src/commands/DescribeSpotFleetRequestsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export interface DescribeSpotFleetRequestsCommandOutput extends DescribeSpotFlee
8686
* // Throughput: Number("int"),
8787
* // OutpostArn: "STRING_VALUE",
8888
* // Encrypted: true || false,
89+
* // VolumeInitializationRate: Number("int"),
8990
* // },
9091
* // NoDevice: "STRING_VALUE",
9192
* // DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeSpotInstanceRequestsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export interface DescribeSpotInstanceRequestsCommandOutput
102102
* // Throughput: Number("int"),
103103
* // OutpostArn: "STRING_VALUE",
104104
* // Encrypted: true || false,
105+
* // VolumeInitializationRate: Number("int"),
105106
* // },
106107
* // NoDevice: "STRING_VALUE",
107108
* // DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeVolumesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResult, __M
8686
* // Managed: true || false,
8787
* // Principal: "STRING_VALUE",
8888
* // },
89+
* // VolumeInitializationRate: Number("int"),
8990
* // VolumeId: "STRING_VALUE",
9091
* // Size: Number("int"),
9192
* // SnapshotId: "STRING_VALUE",

clients/client-ec2/src/commands/GetLaunchTemplateDataCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
7272
* // VolumeSize: Number("int"),
7373
* // VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
7474
* // Throughput: Number("int"),
75+
* // VolumeInitializationRate: Number("int"),
7576
* // },
7677
* // NoDevice: "STRING_VALUE",
7778
* // },

clients/client-ec2/src/commands/RegisterImageCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export interface RegisterImageCommandOutput extends RegisterImageResult, __Metad
116116
* Throughput: Number("int"),
117117
* OutpostArn: "STRING_VALUE",
118118
* Encrypted: true || false,
119+
* VolumeInitializationRate: Number("int"),
119120
* },
120121
* NoDevice: "STRING_VALUE",
121122
* DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/RequestSpotFleetCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
9393
* Throughput: Number("int"),
9494
* OutpostArn: "STRING_VALUE",
9595
* Encrypted: true || false,
96+
* VolumeInitializationRate: Number("int"),
9697
* },
9798
* NoDevice: "STRING_VALUE",
9899
* DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/RequestSpotInstancesCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
7070
* Throughput: Number("int"),
7171
* OutpostArn: "STRING_VALUE",
7272
* Encrypted: true || false,
73+
* VolumeInitializationRate: Number("int"),
7374
* },
7475
* NoDevice: "STRING_VALUE",
7576
* DeviceName: "STRING_VALUE",
@@ -205,6 +206,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
205206
* // Throughput: Number("int"),
206207
* // OutpostArn: "STRING_VALUE",
207208
* // Encrypted: true || false,
209+
* // VolumeInitializationRate: Number("int"),
208210
* // },
209211
* // NoDevice: "STRING_VALUE",
210212
* // DeviceName: "STRING_VALUE",

clients/client-ec2/src/commands/RunInstancesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
9999
* Throughput: Number("int"),
100100
* OutpostArn: "STRING_VALUE",
101101
* Encrypted: true || false,
102+
* VolumeInitializationRate: Number("int"),
102103
* },
103104
* NoDevice: "STRING_VALUE",
104105
* DeviceName: "STRING_VALUE",

clients/client-ec2/src/models/models_1.ts

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2796,7 +2796,7 @@ export interface CreateClientVpnEndpointRequest {
27962796

27972797
/**
27982798
* <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.
2799-
* The default value is <code>false</code>.</p>
2799+
* The default value is <code>true</code>.</p>
28002800
* @public
28012801
*/
28022802
DisconnectOnSessionTimeout?: boolean | undefined;
@@ -7588,6 +7588,35 @@ export interface EbsBlockDevice {
75887588
* @public
75897589
*/
75907590
Encrypted?: boolean | undefined;
7591+
7592+
/**
7593+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download
7594+
* the snapshot blocks from Amazon S3 to the volume. This is also known as
7595+
* <i>volume initialization</i>. Specifying a volume initialization rate ensures that
7596+
* the volume is initialized at a predictable and consistent rate after creation.</p>
7597+
* <p>This parameter is supported only for volumes created from snapshots. Omit this parameter
7598+
* if:</p>
7599+
* <ul>
7600+
* <li>
7601+
* <p>You want to create the volume using fast snapshot restore. You must specify a snapshot
7602+
* that is enabled for fast snapshot restore. In this case, the volume is fully initialized at
7603+
* creation.</p>
7604+
* <note>
7605+
* <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate,
7606+
* the volume will be initialized at the specified rate instead of fast snapshot restore.</p>
7607+
* </note>
7608+
* </li>
7609+
* <li>
7610+
* <p>You want to create a volume that is initialized at the default rate.</p>
7611+
* </li>
7612+
* </ul>
7613+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
7614+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
7615+
* <p>This parameter is not supported when using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
7616+
* <p>Valid range: 100 - 300 MiB/s</p>
7617+
* @public
7618+
*/
7619+
VolumeInitializationRate?: number | undefined;
75917620
}
75927621

75937622
/**
@@ -9826,6 +9855,34 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
98269855
* @public
98279856
*/
98289857
Throughput?: number | undefined;
9858+
9859+
/**
9860+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download
9861+
* the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume
9862+
* initialization</i>. Specifying a volume initialization rate ensures that the volume is
9863+
* initialized at a predictable and consistent rate after creation.</p>
9864+
* <p>This parameter is supported only for volumes created from snapshots. Omit this parameter
9865+
* if:</p>
9866+
* <ul>
9867+
* <li>
9868+
* <p>You want to create the volume using fast snapshot restore. You must specify a snapshot
9869+
* that is enabled for fast snapshot restore. In this case, the volume is fully initialized
9870+
* at creation.</p>
9871+
* <note>
9872+
* <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate,
9873+
* the volume will be initialized at the specified rate instead of fast snapshot restore.</p>
9874+
* </note>
9875+
* </li>
9876+
* <li>
9877+
* <p>You want to create a volume that is initialized at the default rate.</p>
9878+
* </li>
9879+
* </ul>
9880+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
9881+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
9882+
* <p>Valid range: 100 - 300 MiB/s</p>
9883+
* @public
9884+
*/
9885+
VolumeInitializationRate?: number | undefined;
98299886
}
98309887

98319888
/**
@@ -11565,6 +11622,13 @@ export interface LaunchTemplateEbsBlockDevice {
1156511622
* @public
1156611623
*/
1156711624
Throughput?: number | undefined;
11625+
11626+
/**
11627+
* <p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume, in MiB/s.
11628+
* If no volume initialization rate was specified, the value is <code>null</code>.</p>
11629+
* @public
11630+
*/
11631+
VolumeInitializationRate?: number | undefined;
1156811632
}
1156911633

1157011634
/**

clients/client-ec2/src/models/models_2.ts

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3218,6 +3218,33 @@ export interface CreateReplaceRootVolumeTaskRequest {
32183218
* @public
32193219
*/
32203220
DeleteReplacedRootVolume?: boolean | undefined;
3221+
3222+
/**
3223+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download
3224+
* the snapshot blocks from Amazon S3 to the replacement root volume. This is also known as
3225+
* <i>volume initialization</i>. Specifying a volume initialization rate ensures that
3226+
* the volume is initialized at a predictable and consistent rate after creation.</p>
3227+
* <p>Omit this parameter if:</p>
3228+
* <ul>
3229+
* <li>
3230+
* <p>You want to create the volume using fast snapshot restore. You must specify a snapshot
3231+
* that is enabled for fast snapshot restore. In this case, the volume is fully initialized at
3232+
* creation.</p>
3233+
* <note>
3234+
* <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate,
3235+
* the volume will be initialized at the specified rate instead of fast snapshot restore.</p>
3236+
* </note>
3237+
* </li>
3238+
* <li>
3239+
* <p>You want to create a volume that is initialized at the default rate.</p>
3240+
* </li>
3241+
* </ul>
3242+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
3243+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
3244+
* <p>Valid range: 100 - 300 MiB/s</p>
3245+
* @public
3246+
*/
3247+
VolumeInitializationRate?: number | undefined;
32213248
}
32223249

32233250
/**
@@ -9147,6 +9174,34 @@ export interface CreateVolumeRequest {
91479174
*/
91489175
ClientToken?: string | undefined;
91499176

9177+
/**
9178+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download
9179+
* the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume
9180+
* initialization</i>. Specifying a volume initialization rate ensures that the volume is
9181+
* initialized at a predictable and consistent rate after creation.</p>
9182+
* <p>This parameter is supported only for volumes created from snapshots. Omit this parameter
9183+
* if:</p>
9184+
* <ul>
9185+
* <li>
9186+
* <p>You want to create the volume using fast snapshot restore. You must specify a snapshot
9187+
* that is enabled for fast snapshot restore. In this case, the volume is fully initialized at
9188+
* creation.</p>
9189+
* <note>
9190+
* <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate,
9191+
* the volume will be initialized at the specified rate instead of fast snapshot restore.</p>
9192+
* </note>
9193+
* </li>
9194+
* <li>
9195+
* <p>You want to create a volume that is initialized at the default rate.</p>
9196+
* </li>
9197+
* </ul>
9198+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
9199+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
9200+
* <p>Valid range: 100 - 300 MiB/s</p>
9201+
* @public
9202+
*/
9203+
VolumeInitializationRate?: number | undefined;
9204+
91509205
/**
91519206
* <p>Reserved for internal use.</p>
91529207
* @public
@@ -9247,6 +9302,13 @@ export interface Volume {
92479302
*/
92489303
Operator?: OperatorResponse | undefined;
92499304

9305+
/**
9306+
* <p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume during creation,
9307+
* in MiB/s. If no volume initialization rate was specified, the value is <code>null</code>.</p>
9308+
* @public
9309+
*/
9310+
VolumeInitializationRate?: number | undefined;
9311+
92509312
/**
92519313
* <p>The ID of the volume.</p>
92529314
* @public

clients/client-ec2/src/models/models_4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export interface ClientVpnEndpoint {
291291
ClientRouteEnforcementOptions?: ClientRouteEnforcementResponseOptions | undefined;
292292

293293
/**
294-
* <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>
294+
* <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>
295295
* @public
296296
*/
297297
DisconnectOnSessionTimeout?: boolean | undefined;

clients/client-ec2/src/models/models_7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ export interface ModifyClientVpnEndpointRequest {
20262026
ClientRouteEnforcementOptions?: ClientRouteEnforcementOptions | undefined;
20272027

20282028
/**
2029-
* <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>
2029+
* <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>
20302030
* @public
20312031
*/
20322032
DisconnectOnSessionTimeout?: boolean | undefined;

0 commit comments

Comments
 (0)