Skip to content

Commit b9b5b6c

Browse files
author
awstools
committed
feat(client-ec2): Launching the feature to support ENA queues offering flexibility to support multiple queues per Enhanced Network Interface (ENI)
1 parent c9ce944 commit b9b5b6c

File tree

47 files changed

+1339
-864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1339
-864
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ export interface AssignIpv6AddressesCommandOutput extends AssignIpv6AddressesRes
2929

3030
/**
3131
* <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.
34-
* 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>
32+
* specify specific IPv6 addresses, or you can specify the number of IPv6 addresses to be
33+
* automatically assigned from the subnet's IPv6 CIDR block range. You can assign as many
34+
* IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the
35+
* limit varies by 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
39-
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
40-
* Assigning prefixes to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
39+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html"> Assigning prefixes to network
40+
* interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript

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

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,25 @@ 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.
34-
* The number of secondary IP addresses that you can assign to an instance varies by instance type.
35-
* 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>
36-
* <p>When you move a secondary private IP address to another network interface, any Elastic IP address
37-
* that is associated with the IP address is also moved.</p>
38-
* <p>Remapping an IP address is an asynchronous operation. When you move an IP address from one network
39-
* interface to another, check <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance
40-
* metadata to confirm that the remapping is complete.</p>
41-
* <p>You must specify either the IP addresses or the IP address count in the request.</p>
31+
* <p>Assigns the specified secondary private IP addresses to the specified network
32+
* interface.</p>
33+
* <p>You can specify specific secondary IP addresses, or you can specify the number of
34+
* secondary IP addresses to be automatically assigned from the subnet's CIDR block range.
35+
* The number of secondary IP addresses that you can assign to an instance varies by
36+
* 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 IP
37+
* Addresses</a> in the <i>Amazon EC2 User Guide</i>.</p>
38+
* <p>When you move a secondary private IP address to another network interface, any Elastic
39+
* IP address that is associated with the IP address is also moved.</p>
40+
* <p>Remapping an IP address is an asynchronous operation. When you move an IP address from
41+
* one network interface to another, check
42+
* <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance metadata to
43+
* confirm that the remapping is complete.</p>
44+
* <p>You must specify either the IP addresses or the IP address count in the
45+
* request.</p>
4246
* <p>You can optionally use Prefix Delegation on the network interface. You must specify
4347
* either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For
44-
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
45-
* Assigning prefixes to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
48+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html"> Assigning prefixes to network
49+
* interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
4650
* @example
4751
* Use a bare-bones client and the command you need to make an API call.
4852
* ```javascript

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface AttachNetworkInterfaceCommandOutput extends AttachNetworkInterf
4343
* EnaSrdUdpEnabled: true || false,
4444
* },
4545
* },
46+
* EnaQueueCount: Number("int"),
4647
* DryRun: true || false,
4748
* NetworkInterfaceId: "STRING_VALUE", // required
4849
* InstanceId: "STRING_VALUE", // required

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export interface CancelReservedInstancesListingCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.</p>
36+
* <p>Cancels the specified Reserved Instance listing in the Reserved Instance
37+
* Marketplace.</p>
3738
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Sell in the Reserved Instance
3839
* Marketplace</a> in the <i>Amazon EC2 User Guide</i>.</p>
3940
* @example

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
130130
* UdpStreamTimeout: Number("int"),
131131
* UdpTimeout: Number("int"),
132132
* },
133+
* EnaQueueCount: Number("int"),
133134
* },
134135
* ],
135136
* ImageId: "STRING_VALUE",

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
4343
* <p>Launch templates are immutable; after you create a launch template, you can't modify
4444
* it. Instead, you can create a new version of the launch template that includes the
4545
* changes that you require.</p>
46-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html">Modify a launch template (manage launch template versions)</a> in the
46+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html">Modify a launch
47+
* template (manage launch template versions)</a> in the
4748
* <i>Amazon EC2 User Guide</i>.</p>
4849
* @example
4950
* Use a bare-bones client and the command you need to make an API call.
@@ -135,6 +136,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
135136
* UdpStreamTimeout: Number("int"),
136137
* UdpTimeout: Number("int"),
137138
* },
139+
* EnaQueueCount: Number("int"),
138140
* },
139141
* ],
140142
* ImageId: "STRING_VALUE",
@@ -414,6 +416,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
414416
* // UdpTimeout: Number("int"),
415417
* // UdpStreamTimeout: Number("int"),
416418
* // },
419+
* // EnaQueueCount: Number("int"),
417420
* // },
418421
* // ],
419422
* // ImageId: "STRING_VALUE",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
3131
* <p>Creates a network interface in the specified subnet.</p>
3232
* <p>The number of IP addresses you can assign to a network interface varies by instance
3333
* type.</p>
34-
* <p>For more information about network interfaces, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html">Elastic network interfaces</a>
35-
* in the <i>Amazon EC2 User Guide</i>.</p>
34+
* <p>For more information about network interfaces, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html">Elastic network interfaces</a> in the
35+
* <i>Amazon EC2 User Guide</i>.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript
@@ -124,6 +124,7 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
124124
* // EnaSrdUdpEnabled: true || false,
125125
* // },
126126
* // },
127+
* // EnaQueueCount: Number("int"),
127128
* // },
128129
* // AvailabilityZone: "STRING_VALUE",
129130
* // ConnectionTrackingConfiguration: { // ConnectionTrackingConfiguration

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ export interface CreateNetworkInterfacePermissionCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Grants an Amazon Web Services-authorized account permission to attach the specified network interface to
37-
* an instance in their account.</p>
38-
* <p>You can grant permission to a single Amazon Web Services account only, and only one account at a time.</p>
36+
* <p>Grants an Amazon Web Services-authorized account permission to attach the specified
37+
* network interface to an instance in their account.</p>
38+
* <p>You can grant permission to a single Amazon Web Services account only, and only one
39+
* account at a time.</p>
3940
* @example
4041
* Use a bare-bones client and the command you need to make an API call.
4142
* ```javascript

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

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,23 @@ export interface CreateReservedInstancesListingCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance
37-
* Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your
38-
* Standard Reserved Instances, you can use the <a>DescribeReservedInstances</a> operation.</p>
36+
* <p>Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved
37+
* Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. To get
38+
* a list of your Standard Reserved Instances, you can use the <a>DescribeReservedInstances</a> operation.</p>
3939
* <note>
4040
* <p>Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace.
41-
* Convertible Reserved Instances cannot be sold.</p>
41+
* Convertible Reserved Instances cannot be sold.</p>
4242
* </note>
43-
* <p>The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.</p>
44-
* <p>To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance
45-
* Marketplace. After completing the registration process, you can create a Reserved Instance
46-
* Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price
47-
* to receive for them. Your Standard Reserved Instance listings then become available for purchase. To
48-
* view the details of your Standard Reserved Instance listing, you can use the
49-
* <a>DescribeReservedInstancesListings</a> operation.</p>
43+
* <p>The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved
44+
* Instance capacity that they no longer need with buyers who want to purchase additional
45+
* capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work
46+
* like any other Reserved Instances.</p>
47+
* <p>To sell your Standard Reserved Instances, you must first register as a seller in the
48+
* Reserved Instance Marketplace. After completing the registration process, you can create a
49+
* Reserved Instance Marketplace listing of some or all of your Standard Reserved Instances, and
50+
* specify the upfront price to receive for them. Your Standard Reserved Instance listings then
51+
* become available for purchase. To view the details of your Standard Reserved Instance listing,
52+
* you can use the <a>DescribeReservedInstancesListings</a> operation.</p>
5053
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Sell in the Reserved Instance
5154
* Marketplace</a> in the <i>Amazon EC2 User Guide</i>.</p>
5255
* @example

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface DeleteNetworkInterfaceCommandInput extends DeleteNetworkInterfa
2828
export interface DeleteNetworkInterfaceCommandOutput extends __MetadataBearer {}
2929

3030
/**
31-
* <p>Deletes the specified network interface. You must detach the network interface before you can delete it.</p>
31+
* <p>Deletes the specified network interface. You must detach the network interface before
32+
* you can delete it.</p>
3233
* @example
3334
* Use a bare-bones client and the command you need to make an API call.
3435
* ```javascript

0 commit comments

Comments
 (0)