Skip to content

Commit 828bbbc

Browse files
Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint.
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. ServiceCatalog's APIs (DeleteServiceAction, DisassociateServiceActionFromProvisioningArtifact, AssociateServiceActionWithProvisioningArtifact) now throw InvalidParametersException when IdempotencyToken is invalid. Add dualstack endpoints support.
1 parent 4750660 commit 828bbbc

32 files changed

+2557
-1185
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.561
1+
1.11.562

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ClientVpnEndpoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ namespace Model
346346
* <p>Indicates whether the client VPN session is disconnected after the maximum
347347
* <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are
348348
* prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to
349-
* reconnect automatically. The default value is <code>false</code>.</p>
349+
* reconnect automatically. The default value is <code>true</code>.</p>
350350
*/
351351
inline bool GetDisconnectOnSessionTimeout() const { return m_disconnectOnSessionTimeout; }
352352
inline bool DisconnectOnSessionTimeoutHasBeenSet() const { return m_disconnectOnSessionTimeoutHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateClientVpnEndpointRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ namespace Model
319319
* timeout specified in <code>SessionTimeoutHours</code> is reached. If
320320
* <code>true</code>, users are prompted to reconnect client VPN. If
321321
* <code>false</code>, client VPN attempts to reconnect automatically. The default
322-
* value is <code>false</code>.</p>
322+
* value is <code>true</code>.</p>
323323
*/
324324
inline bool GetDisconnectOnSessionTimeout() const { return m_disconnectOnSessionTimeout; }
325325
inline bool DisconnectOnSessionTimeoutHasBeenSet() const { return m_disconnectOnSessionTimeoutHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateReplaceRootVolumeTaskRequest.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,31 @@ namespace Model
139139
inline void SetDeleteReplacedRootVolume(bool value) { m_deleteReplacedRootVolumeHasBeenSet = true; m_deleteReplacedRootVolume = value; }
140140
inline CreateReplaceRootVolumeTaskRequest& WithDeleteReplacedRootVolume(bool value) { SetDeleteReplacedRootVolume(value); return *this;}
141141
///@}
142+
143+
///@{
144+
/**
145+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume
146+
* initialization rate), in MiB/s, at which to download the snapshot blocks from
147+
* Amazon S3 to the replacement root volume. This is also known as <i>volume
148+
* initialization</i>. Specifying a volume initialization rate ensures that the
149+
* volume is initialized at a predictable and consistent rate after creation.</p>
150+
* <p>Omit this parameter if:</p> <ul> <li> <p>You want to create the volume using
151+
* fast snapshot restore. You must specify a snapshot that is enabled for fast
152+
* snapshot restore. In this case, the volume is fully initialized at creation.</p>
153+
* <p>If you specify a snapshot that is enabled for fast snapshot restore
154+
* and a volume initialization rate, the volume will be initialized at the
155+
* specified rate instead of fast snapshot restore.</p> </li> <li> <p>You
156+
* want to create a volume that is initialized at the default rate.</p> </li> </ul>
157+
* <p>For more information, see <a
158+
* href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
159+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
160+
* <p>Valid range: 100 - 300 MiB/s</p>
161+
*/
162+
inline long long GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
163+
inline bool VolumeInitializationRateHasBeenSet() const { return m_volumeInitializationRateHasBeenSet; }
164+
inline void SetVolumeInitializationRate(long long value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
165+
inline CreateReplaceRootVolumeTaskRequest& WithVolumeInitializationRate(long long value) { SetVolumeInitializationRate(value); return *this;}
166+
///@}
142167
private:
143168

144169
Aws::String m_instanceId;
@@ -161,6 +186,9 @@ namespace Model
161186

162187
bool m_deleteReplacedRootVolume{false};
163188
bool m_deleteReplacedRootVolumeHasBeenSet = false;
189+
190+
long long m_volumeInitializationRate{0};
191+
bool m_volumeInitializationRateHasBeenSet = false;
164192
};
165193

166194
} // namespace Model

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVolumeRequest.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,31 @@ namespace Model
246246
CreateVolumeRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
247247
///@}
248248

249+
///@{
250+
/**
251+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume
252+
* initialization rate), in MiB/s, at which to download the snapshot blocks from
253+
* Amazon S3 to the volume. This is also known as <i>volume initialization</i>.
254+
* Specifying a volume initialization rate ensures that the volume is initialized
255+
* at a predictable and consistent rate after creation.</p> <p>This parameter is
256+
* supported only for volumes created from snapshots. Omit this parameter if:</p>
257+
* <ul> <li> <p>You want to create the volume using fast snapshot restore. You must
258+
* specify a snapshot that is enabled for fast snapshot restore. In this case, the
259+
* volume is fully initialized at creation.</p> <p>If you specify a snapshot
260+
* that is enabled for fast snapshot restore and a volume initialization rate, the
261+
* volume will be initialized at the specified rate instead of fast snapshot
262+
* restore.</p> </li> <li> <p>You want to create a volume that is
263+
* initialized at the default rate.</p> </li> </ul> <p>For more information, see <a
264+
* href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
265+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
266+
* <p>Valid range: 100 - 300 MiB/s</p>
267+
*/
268+
inline int GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
269+
inline bool VolumeInitializationRateHasBeenSet() const { return m_volumeInitializationRateHasBeenSet; }
270+
inline void SetVolumeInitializationRate(int value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
271+
inline CreateVolumeRequest& WithVolumeInitializationRate(int value) { SetVolumeInitializationRate(value); return *this;}
272+
///@}
273+
249274
///@{
250275
/**
251276
* <p>Reserved for internal use.</p>
@@ -308,6 +333,9 @@ namespace Model
308333
Aws::String m_clientToken;
309334
bool m_clientTokenHasBeenSet = false;
310335

336+
int m_volumeInitializationRate{0};
337+
bool m_volumeInitializationRateHasBeenSet = false;
338+
311339
OperatorRequest m_operator;
312340
bool m_operatorHasBeenSet = false;
313341

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateVolumeResponse.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,17 @@ namespace Model
141141
CreateVolumeResponse& WithOperator(OperatorT&& value) { SetOperator(std::forward<OperatorT>(value)); return *this;}
142142
///@}
143143

144+
///@{
145+
/**
146+
* <p>The Amazon EBS Provisioned Rate for Volume Initialization (volume
147+
* initialization rate) specified for the volume during creation, in MiB/s. If no
148+
* volume initialization rate was specified, the value is <code>null</code>.</p>
149+
*/
150+
inline int GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
151+
inline void SetVolumeInitializationRate(int value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
152+
inline CreateVolumeResponse& WithVolumeInitializationRate(int value) { SetVolumeInitializationRate(value); return *this;}
153+
///@}
154+
144155
///@{
145156
/**
146157
* <p>The ID of the volume.</p>
@@ -275,6 +286,9 @@ namespace Model
275286
OperatorResponse m_operator;
276287
bool m_operatorHasBeenSet = false;
277288

289+
int m_volumeInitializationRate{0};
290+
bool m_volumeInitializationRateHasBeenSet = false;
291+
278292
Aws::String m_volumeId;
279293
bool m_volumeIdHasBeenSet = false;
280294

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/EbsBlockDevice.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,33 @@ namespace Model
203203
inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
204204
inline EbsBlockDevice& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
205205
///@}
206+
207+
///@{
208+
/**
209+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume
210+
* initialization rate), in MiB/s, at which to download the snapshot blocks from
211+
* Amazon S3 to the volume. This is also known as <i>volume initialization</i>.
212+
* Specifying a volume initialization rate ensures that the volume is initialized
213+
* at a predictable and consistent rate after creation.</p> <p>This parameter is
214+
* supported only for volumes created from snapshots. Omit this parameter if:</p>
215+
* <ul> <li> <p>You want to create the volume using fast snapshot restore. You must
216+
* specify a snapshot that is enabled for fast snapshot restore. In this case, the
217+
* volume is fully initialized at creation.</p> <p>If you specify a snapshot
218+
* that is enabled for fast snapshot restore and a volume initialization rate, the
219+
* volume will be initialized at the specified rate instead of fast snapshot
220+
* restore.</p> </li> <li> <p>You want to create a volume that is
221+
* initialized at the default rate.</p> </li> </ul> <p>For more information, see <a
222+
* href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
223+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
224+
* <p>This parameter is not supported when using <a
225+
* href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
226+
* <p>Valid range: 100 - 300 MiB/s</p>
227+
*/
228+
inline int GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
229+
inline bool VolumeInitializationRateHasBeenSet() const { return m_volumeInitializationRateHasBeenSet; }
230+
inline void SetVolumeInitializationRate(int value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
231+
inline EbsBlockDevice& WithVolumeInitializationRate(int value) { SetVolumeInitializationRate(value); return *this;}
232+
///@}
206233
private:
207234

208235
bool m_deleteOnTermination{false};
@@ -231,6 +258,9 @@ namespace Model
231258

232259
bool m_encrypted{false};
233260
bool m_encryptedHasBeenSet = false;
261+
262+
int m_volumeInitializationRate{0};
263+
bool m_volumeInitializationRateHasBeenSet = false;
234264
};
235265

236266
} // namespace Model

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateEbsBlockDevice.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ namespace Model
124124
inline void SetThroughput(int value) { m_throughputHasBeenSet = true; m_throughput = value; }
125125
inline LaunchTemplateEbsBlockDevice& WithThroughput(int value) { SetThroughput(value); return *this;}
126126
///@}
127+
128+
///@{
129+
/**
130+
* <p>The Amazon EBS Provisioned Rate for Volume Initialization (volume
131+
* initialization rate) specified for the volume, in MiB/s. If no volume
132+
* initialization rate was specified, the value is <code>null</code>.</p>
133+
*/
134+
inline int GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
135+
inline bool VolumeInitializationRateHasBeenSet() const { return m_volumeInitializationRateHasBeenSet; }
136+
inline void SetVolumeInitializationRate(int value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
137+
inline LaunchTemplateEbsBlockDevice& WithVolumeInitializationRate(int value) { SetVolumeInitializationRate(value); return *this;}
138+
///@}
127139
private:
128140

129141
bool m_encrypted{false};
@@ -149,6 +161,9 @@ namespace Model
149161

150162
int m_throughput{0};
151163
bool m_throughputHasBeenSet = false;
164+
165+
int m_volumeInitializationRate{0};
166+
bool m_volumeInitializationRateHasBeenSet = false;
152167
};
153168

154169
} // namespace Model

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateEbsBlockDeviceRequest.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,31 @@ namespace Model
149149
inline void SetThroughput(int value) { m_throughputHasBeenSet = true; m_throughput = value; }
150150
inline LaunchTemplateEbsBlockDeviceRequest& WithThroughput(int value) { SetThroughput(value); return *this;}
151151
///@}
152+
153+
///@{
154+
/**
155+
* <p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume
156+
* initialization rate), in MiB/s, at which to download the snapshot blocks from
157+
* Amazon S3 to the volume. This is also known as <i>volume initialization</i>.
158+
* Specifying a volume initialization rate ensures that the volume is initialized
159+
* at a predictable and consistent rate after creation.</p> <p>This parameter is
160+
* supported only for volumes created from snapshots. Omit this parameter if:</p>
161+
* <ul> <li> <p>You want to create the volume using fast snapshot restore. You must
162+
* specify a snapshot that is enabled for fast snapshot restore. In this case, the
163+
* volume is fully initialized at creation.</p> <p>If you specify a snapshot
164+
* that is enabled for fast snapshot restore and a volume initialization rate, the
165+
* volume will be initialized at the specified rate instead of fast snapshot
166+
* restore.</p> </li> <li> <p>You want to create a volume that is
167+
* initialized at the default rate.</p> </li> </ul> <p>For more information, see <a
168+
* href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
169+
* Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
170+
* <p>Valid range: 100 - 300 MiB/s</p>
171+
*/
172+
inline int GetVolumeInitializationRate() const { return m_volumeInitializationRate; }
173+
inline bool VolumeInitializationRateHasBeenSet() const { return m_volumeInitializationRateHasBeenSet; }
174+
inline void SetVolumeInitializationRate(int value) { m_volumeInitializationRateHasBeenSet = true; m_volumeInitializationRate = value; }
175+
inline LaunchTemplateEbsBlockDeviceRequest& WithVolumeInitializationRate(int value) { SetVolumeInitializationRate(value); return *this;}
176+
///@}
152177
private:
153178

154179
bool m_encrypted{false};
@@ -174,6 +199,9 @@ namespace Model
174199

175200
int m_throughput{0};
176201
bool m_throughputHasBeenSet = false;
202+
203+
int m_volumeInitializationRate{0};
204+
bool m_volumeInitializationRateHasBeenSet = false;
177205
};
178206

179207
} // namespace Model

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyClientVpnEndpointRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ namespace Model
248248
* timeout specified in <code>sessionTimeoutHours</code> is reached. If
249249
* <code>true</code>, users are prompted to reconnect client VPN. If
250250
* <code>false</code>, client VPN attempts to reconnect automatically. The default
251-
* value is <code>false</code>.</p>
251+
* value is <code>true</code>.</p>
252252
*/
253253
inline bool GetDisconnectOnSessionTimeout() const { return m_disconnectOnSessionTimeout; }
254254
inline bool DisconnectOnSessionTimeoutHasBeenSet() const { return m_disconnectOnSessionTimeoutHasBeenSet; }

0 commit comments

Comments
 (0)