Skip to content

Commit ff980f5

Browse files
Added "future" allocation type for future dated capacity reservation
1 parent bcaa7d6 commit ff980f5

30 files changed

+290
-493
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6770,7 +6770,10 @@
67706770
},
67716771
"AllocationType":{
67726772
"type":"string",
6773-
"enum":["used"]
6773+
"enum":[
6774+
"used",
6775+
"future"
6776+
]
67746777
},
67756778
"AllowedImagesSettingsDisabledState":{
67766779
"type":"string",

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

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

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

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ namespace Amazon.EC2.Model
3131
{
3232
/// <summary>
3333
/// Container for the parameters to the AssignIpv6Addresses operation.
34-
/// Assigns the specified IPv6 addresses to the specified network interface. You can specify
35-
/// specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically
36-
/// assigned from the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses
37-
/// to a network interface as you can assign private IPv4 addresses, and the limit varies
38-
/// by instance type.
34+
/// Assigns one or more IPv6 addresses to the specified network interface. You can specify
35+
/// one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses
36+
/// to be automatically assigned from within the subnet's IPv6 CIDR block range. You can
37+
/// assign as many IPv6 addresses to a network interface as you can assign private IPv4
38+
/// addresses, and the limit varies per instance type.
3939
///
4040
///
4141
/// <para>
@@ -121,7 +121,7 @@ internal bool IsSetIpv6PrefixCount()
121121
/// <summary>
122122
/// Gets and sets the property Ipv6Prefixes.
123123
/// <para>
124-
/// One or more IPv6 prefixes assigned to the network interface. You can't use this option
124+
/// One or more IPv6 prefixes assigned to the network interface. You cannot use this option
125125
/// if you use the <c>Ipv6PrefixCount</c> option.
126126
/// </para>
127127
/// </summary>

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ namespace Amazon.EC2.Model
3131
{
3232
/// <summary>
3333
/// Container for the parameters to the AssignPrivateIpAddresses operation.
34-
/// Assigns the specified secondary private IP addresses to the specified network interface.
34+
/// Assigns one or more secondary private IP addresses to the specified network interface.
3535
///
3636
///
3737
/// <para>
38-
/// You can specify specific secondary IP addresses, or you can specify the number of
39-
/// secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
40-
/// The number of secondary IP addresses that you can assign to an instance varies by
41-
/// instance type. For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic
38+
/// You can specify one or more specific secondary IP addresses, or you can specify the
39+
/// number of secondary IP addresses to be automatically assigned within the subnet's
40+
/// CIDR block range. The number of secondary IP addresses that you can assign to an instance
41+
/// varies by instance type. For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic
4242
/// IP Addresses</a> in the <i>Amazon EC2 User Guide</i>.
4343
/// </para>
4444
///
@@ -96,7 +96,8 @@ internal bool IsSetAllowReassignment()
9696
/// Gets and sets the property Ipv4PrefixCount.
9797
/// <para>
9898
/// The number of IPv4 prefixes that Amazon Web Services automatically assigns to the
99-
/// network interface. You can't use this option if you use the <c>Ipv4 Prefixes</c> option.
99+
/// network interface. You cannot use this option if you use the <c>Ipv4 Prefixes</c>
100+
/// option.
100101
/// </para>
101102
/// </summary>
102103
public int Ipv4PrefixCount
@@ -114,7 +115,7 @@ internal bool IsSetIpv4PrefixCount()
114115
/// <summary>
115116
/// Gets and sets the property Ipv4Prefixes.
116117
/// <para>
117-
/// One or more IPv4 prefixes assigned to the network interface. You can't use this option
118+
/// One or more IPv4 prefixes assigned to the network interface. You cannot use this option
118119
/// if you use the <c>Ipv4PrefixCount</c> option.
119120
/// </para>
120121
/// </summary>

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@ namespace Amazon.EC2.Model
4848
/// elapsed. You can't cancel a future-dated Capacity Reservation during the commitment
4949
/// duration.
5050
/// </para>
51-
/// </li> </ul> <note>
52-
/// <para>
53-
/// You can't modify or cancel a Capacity Block. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html">Capacity
54-
/// Blocks for ML</a>.
55-
/// </para>
56-
/// </note>
51+
/// </li> </ul>
5752
/// <para>
5853
/// If a future-dated Capacity Reservation enters the <c>delayed</c> state, the commitment
5954
/// duration is waived, and you can cancel it as soon as it enters the <c>active</c> state.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ namespace Amazon.EC2.Model
5353
/// <para>
5454
/// Snapshots copied to an Outpost are encrypted by default using the default encryption
5555
/// key for the Region, or a different key that you specify in the request using <b>KmsKeyId</b>.
56-
/// Outposts do not support unencrypted snapshots. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon
57-
/// EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.
56+
/// Outposts do not support unencrypted snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
57+
/// Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.
5858
/// </para>
5959
///
6060
/// <para>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ namespace Amazon.EC2.Model
3131
{
3232
/// <summary>
3333
/// Container for the parameters to the CreateManagedPrefixList operation.
34-
/// Creates a managed prefix list. You can specify entries for the prefix list. Each entry
35-
/// consists of a CIDR block and an optional description.
34+
/// Creates a managed prefix list. You can specify one or more entries for the prefix
35+
/// list. Each entry consists of a CIDR block and an optional description.
3636
/// </summary>
3737
public partial class CreateManagedPrefixListRequest : AmazonEC2Request
3838
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ internal bool IsSetEnablePrimaryIpv6()
153153
/// <summary>
154154
/// Gets and sets the property Groups.
155155
/// <para>
156-
/// The IDs of the security groups.
156+
/// The IDs of one or more security groups.
157157
/// </para>
158158
/// </summary>
159159
public List<string> Groups

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace Amazon.EC2.Model
4747
/// </li> <li>
4848
/// <para>
4949
/// If the source volume is in a Local Zone, you can create the snapshot in the same Local
50-
/// Zone or in its parent Amazon Web Services Region.
50+
/// Zone or in parent Amazon Web Services Region.
5151
/// </para>
5252
/// </li> <li>
5353
/// <para>
@@ -81,7 +81,7 @@ namespace Amazon.EC2.Model
8181
/// Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes
8282
/// that are created from encrypted snapshots are also automatically encrypted. Your encrypted
8383
/// volumes and any associated snapshots always remain protected. For more information,
84-
/// see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon
84+
/// <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon
8585
/// EBS encryption</a> in the <i>Amazon EBS User Guide</i>.
8686
/// </para>
8787
/// </summary>

0 commit comments

Comments
 (0)