Skip to content

Commit 752ea12

Browse files
author
awstools
committed
feat(client-ec2): Added "future" allocation type for future dated capacity reservation
1 parent e81ee56 commit 752ea12

26 files changed

+73
-100
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export interface AssignIpv6AddressesCommandInput extends AssignIpv6AddressesRequ
2828
export interface AssignIpv6AddressesCommandOutput extends AssignIpv6AddressesResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Assigns the specified IPv6 addresses to the specified network interface. You can
32-
* specify specific IPv6 addresses, or you can specify the number of IPv6
33-
* addresses to be automatically assigned from the subnet's IPv6 CIDR block range.
31+
* <p>Assigns one or more IPv6 addresses to the specified network interface. You can
32+
* specify one or more specific IPv6 addresses, or you can specify the number of IPv6
33+
* addresses to be automatically assigned from within the subnet's IPv6 CIDR block range.
3434
* You can assign as many IPv6 addresses to a network interface as you can assign private
35-
* IPv4 addresses, and the limit varies by instance type.</p>
35+
* IPv4 addresses, and the limit varies per instance type.</p>
3636
* <p>You must specify either the IPv6 addresses or the IPv6 address count in the request. </p>
3737
* <p>You can optionally use Prefix Delegation on the network interface. You must specify
3838
* either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export interface AssignPrivateIpAddressesCommandInput extends AssignPrivateIpAdd
2828
export interface AssignPrivateIpAddressesCommandOutput extends AssignPrivateIpAddressesResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Assigns the specified secondary private IP addresses to the specified network interface.</p>
32-
* <p>You can specify specific secondary IP addresses, or you can specify the number
33-
* of secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
31+
* <p>Assigns one or more secondary private IP addresses to the specified network interface.</p>
32+
* <p>You can specify one or more specific secondary IP addresses, or you can specify the number
33+
* of secondary IP addresses to be automatically assigned within the subnet's CIDR block range.
3434
* The number of secondary IP addresses that you can assign to an instance varies by instance type.
3535
* For more information about Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
3636
* <p>When you move a secondary private IP address to another network interface, any Elastic IP address

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ export interface CancelCapacityReservationCommandOutput extends CancelCapacityRe
4343
* duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.</p>
4444
* </li>
4545
* </ul>
46-
* <note>
47-
* <p>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 Blocks for ML</a>.</p>
48-
* </note>
4946
* <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the commitment
5047
* duration is waived, and you can cancel it as soon as it enters the <code>active</code> state.</p>
5148
* <p>Instances running in the reserved capacity continue running until you stop them. Stopped

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResult, __Metadat
4040
* however, you can specify a different KMS key. To copy an encrypted
4141
* snapshot that has been shared from another account, you must have permissions for the KMS key
4242
* used to encrypt the snapshot.</p>
43-
* <p>Snapshots copied to an Outpost are encrypted by default using the default encryption key
44-
* for the Region, or a different key that you specify in the request using <b>KmsKeyId</b>. Outposts do not support unencrypted snapshots. For more information,
45-
* see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS
46-
* local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
43+
* <p>Snapshots copied to an Outpost are encrypted by default using the default
44+
* encryption key for the Region, or a different key that you specify in the request using
45+
* <b>KmsKeyId</b>. Outposts do not support unencrypted
46+
* snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
47+
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
4748
* <p>Snapshots created by copying another snapshot have an arbitrary volume ID that should not
4849
* be used for any purpose.</p>
4950
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html">Copy an Amazon EBS snapshot</a> in the

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface CreateCapacityReservationBySplittingCommandOutput
9696
* // PlacementGroupArn: "STRING_VALUE",
9797
* // CapacityAllocations: [ // CapacityAllocations
9898
* // { // CapacityAllocation
99-
* // AllocationType: "used",
99+
* // AllocationType: "used" || "future",
100100
* // Count: Number("int"),
101101
* // },
102102
* // ],
@@ -138,7 +138,7 @@ export interface CreateCapacityReservationBySplittingCommandOutput
138138
* // PlacementGroupArn: "STRING_VALUE",
139139
* // CapacityAllocations: [
140140
* // {
141-
* // AllocationType: "used",
141+
* // AllocationType: "used" || "future",
142142
* // Count: Number("int"),
143143
* // },
144144
* // ],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export interface CreateCapacityReservationCommandOutput extends CreateCapacityRe
120120
* // PlacementGroupArn: "STRING_VALUE",
121121
* // CapacityAllocations: [ // CapacityAllocations
122122
* // { // CapacityAllocation
123-
* // AllocationType: "used",
123+
* // AllocationType: "used" || "future",
124124
* // Count: Number("int"),
125125
* // },
126126
* // ],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateManagedPrefixListCommandInput extends CreateManagedPrefix
2828
export interface CreateManagedPrefixListCommandOutput extends CreateManagedPrefixListResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a managed prefix list. You can specify entries for the prefix list.
31+
* <p>Creates a managed prefix list. You can specify one or more entries for the prefix list.
3232
* Each entry consists of a CIDR block and an optional description.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export interface CreateSnapshotCommandOutput extends Snapshot, __MetadataBearer
3838
* Region as the volume.</p>
3939
* </li>
4040
* <li>
41-
* <p>If the source volume is in a Local Zone, you can create the snapshot in the same Local
42-
* Zone or in its parent Amazon Web Services Region.</p>
41+
* <p>If the source volume is in a Local Zone, you can create the snapshot in the same
42+
* Local Zone or in parent Amazon Web Services Region.</p>
4343
* </li>
4444
* <li>
4545
* <p>If the source volume is on an Outpost, you can create the snapshot on the same
@@ -60,7 +60,8 @@ export interface CreateSnapshotCommandOutput extends Snapshot, __MetadataBearer
6060
* that you stop the instance before taking the snapshot.</p>
6161
* <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
6262
* are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
63-
* and any associated snapshots always remain protected. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
63+
* and any associated snapshots always remain protected. For more information,
64+
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
6465
* in the <i>Amazon EBS User Guide</i>.</p>
6566
* @example
6667
* Use a bare-bones client and the command you need to make an API call.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface CreateSnapshotsCommandOutput extends CreateSnapshotsResult, __M
4141
* </li>
4242
* <li>
4343
* <p>If the source instance is in a Local Zone, you can create the snapshots in the same
44-
* Local Zone or in its parent Amazon Web Services Region.</p>
44+
* Local Zone or in parent Amazon Web Services Region.</p>
4545
* </li>
4646
* <li>
4747
* <p>If the source instance is on an Outpost, you can create the snapshots on the same

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface DeleteSnapshotCommandOutput extends __MetadataBearer {}
3535
* regardless of which prior snapshots have been deleted, all active snapshots will have access
3636
* to all the information needed to restore the volume.</p>
3737
* <p>You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.
38-
* You must first deregister the AMI before you can delete the snapshot.</p>
38+
* You must first de-register the AMI before you can delete the snapshot.</p>
3939
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html">Delete an Amazon EBS snapshot</a> in the
4040
* <i>Amazon EBS User Guide</i>.</p>
4141
* @example

0 commit comments

Comments
 (0)