@aws-sdk/client-ec2 3.175.0 → 3.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_ec2.js +2 -2
- package/dist-es/protocols/Aws_ec2.js +2 -2
- package/dist-types/EC2.d.ts +28 -17
- package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +5 -2
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +4 -2
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/ImportImageCommand.d.ts +6 -0
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +6 -5
- package/dist-types/models/models_1.d.ts +39 -26
- package/dist-types/models/models_2.d.ts +3 -1
- package/dist-types/models/models_3.d.ts +7 -7
- package/dist-types/models/models_4.d.ts +7 -7
- package/dist-types/models/models_5.d.ts +14 -4
- package/dist-types/models/models_6.d.ts +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.177.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.176.0...v3.177.0) (2022-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-ec2:** Documentation updates for Amazon EC2. ([36ac02c](https://github.com/aws/aws-sdk-js-v3/commit/36ac02ce71f727af23452bc3e024707d1840f6b4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.175.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.174.0...v3.175.0) (2022-09-20)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -47890,8 +47890,8 @@ const deserializeAws_ec2EbsBlockDevice = (output, context) => {
|
|
|
47890
47890
|
if (output["volumeType"] !== undefined) {
|
|
47891
47891
|
contents.VolumeType = (0, smithy_client_1.expectString)(output["volumeType"]);
|
|
47892
47892
|
}
|
|
47893
|
-
if (output["
|
|
47894
|
-
contents.KmsKeyId = (0, smithy_client_1.expectString)(output["
|
|
47893
|
+
if (output["kmsKeyId"] !== undefined) {
|
|
47894
|
+
contents.KmsKeyId = (0, smithy_client_1.expectString)(output["kmsKeyId"]);
|
|
47895
47895
|
}
|
|
47896
47896
|
if (output["throughput"] !== undefined) {
|
|
47897
47897
|
contents.Throughput = (0, smithy_client_1.strictParseInt32)(output["throughput"]);
|
|
@@ -56764,8 +56764,8 @@ var deserializeAws_ec2EbsBlockDevice = function (output, context) {
|
|
|
56764
56764
|
if (output["volumeType"] !== undefined) {
|
|
56765
56765
|
contents.VolumeType = __expectString(output["volumeType"]);
|
|
56766
56766
|
}
|
|
56767
|
-
if (output["
|
|
56768
|
-
contents.KmsKeyId = __expectString(output["
|
|
56767
|
+
if (output["kmsKeyId"] !== undefined) {
|
|
56768
|
+
contents.KmsKeyId = __expectString(output["kmsKeyId"]);
|
|
56769
56769
|
}
|
|
56770
56770
|
if (output["throughput"] !== undefined) {
|
|
56771
56771
|
contents.Throughput = __strictParseInt32(output["throughput"]);
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -647,7 +647,7 @@ export declare class EC2 extends EC2Client {
|
|
|
647
647
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
648
648
|
* <p>You can allocate a carrier IP address which is a public IP address from a telecommunication carrier, to a network interface which resides in a subnet in a Wavelength Zone (for example an EC2 instance). </p>
|
|
649
649
|
* <note>
|
|
650
|
-
* <p>We are retiring EC2-Classic
|
|
650
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
651
651
|
* </note>
|
|
652
652
|
*/
|
|
653
653
|
allocateAddress(args: AllocateAddressCommandInput, options?: __HttpHandlerOptions): Promise<AllocateAddressCommandOutput>;
|
|
@@ -740,7 +740,7 @@ export declare class EC2 extends EC2Client {
|
|
|
740
740
|
* </important>
|
|
741
741
|
*
|
|
742
742
|
* <note>
|
|
743
|
-
* <p>We are retiring EC2-Classic
|
|
743
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
744
744
|
* </note>
|
|
745
745
|
*/
|
|
746
746
|
associateAddress(args: AssociateAddressCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAddressCommandOutput>;
|
|
@@ -769,7 +769,7 @@ export declare class EC2 extends EC2Client {
|
|
|
769
769
|
* User Guide</i>.</p>
|
|
770
770
|
*
|
|
771
771
|
* <p>When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted
|
|
772
|
-
* private key are placed in an Amazon S3
|
|
772
|
+
* private key are placed in an Amazon S3 location that only the associated IAM role can access. The private key of the certificate
|
|
773
773
|
* is encrypted with an Amazon Web Services managed key that has an attached attestation-based key policy.</p>
|
|
774
774
|
*
|
|
775
775
|
* <p>To enable the IAM role to access the Amazon S3 object, you must grant it permission to call <code>s3:GetObject</code>
|
|
@@ -971,7 +971,7 @@ export declare class EC2 extends EC2Client {
|
|
|
971
971
|
* <p>For more information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
|
|
972
972
|
*
|
|
973
973
|
* <note>
|
|
974
|
-
* <p>We are retiring EC2-Classic
|
|
974
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
975
975
|
* </note>
|
|
976
976
|
*/
|
|
977
977
|
authorizeSecurityGroupIngress(args: AuthorizeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeSecurityGroupIngressCommandOutput>;
|
|
@@ -1613,8 +1613,11 @@ export declare class EC2 extends EC2Client {
|
|
|
1613
1613
|
createNetworkInsightsPath(args: CreateNetworkInsightsPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNetworkInsightsPathCommandOutput) => void): void;
|
|
1614
1614
|
/**
|
|
1615
1615
|
* <p>Creates a network interface in the specified subnet.</p>
|
|
1616
|
-
* <p>
|
|
1617
|
-
*
|
|
1616
|
+
* <p>The number of IP addresses you can assign to a network interface varies by instance
|
|
1617
|
+
* type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI">IP Addresses Per ENI Per
|
|
1618
|
+
* Instance Type</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
1619
|
+
* <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>
|
|
1620
|
+
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1618
1621
|
*/
|
|
1619
1622
|
createNetworkInterface(args: CreateNetworkInterfaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateNetworkInterfaceCommandOutput>;
|
|
1620
1623
|
createNetworkInterface(args: CreateNetworkInterfaceCommandInput, cb: (err: any, data?: CreateNetworkInterfaceCommandOutput) => void): void;
|
|
@@ -1742,7 +1745,7 @@ export declare class EC2 extends EC2Client {
|
|
|
1742
1745
|
* <p>For more information about VPC security group limits, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Limits</a>.</p>
|
|
1743
1746
|
*
|
|
1744
1747
|
* <note>
|
|
1745
|
-
* <p>We are retiring EC2-Classic
|
|
1748
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
1746
1749
|
* </note>
|
|
1747
1750
|
*/
|
|
1748
1751
|
createSecurityGroup(args: CreateSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityGroupCommandOutput>;
|
|
@@ -1784,8 +1787,10 @@ export declare class EC2 extends EC2Client {
|
|
|
1784
1787
|
/**
|
|
1785
1788
|
* <p>Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3.
|
|
1786
1789
|
* Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot
|
|
1787
|
-
* each that is crash-consistent across the instance
|
|
1788
|
-
*
|
|
1790
|
+
* each that is crash-consistent across the instance.</p>
|
|
1791
|
+
*
|
|
1792
|
+
* <p>You can include all of the volumes currently attached to the instance, or you can exclude
|
|
1793
|
+
* the root volume or specific data (non-root) volumes from the multi-volume snapshot set.</p>
|
|
1789
1794
|
*
|
|
1790
1795
|
* <p>You can create multi-volume snapshots of instances in a Region and instances on an
|
|
1791
1796
|
* Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored
|
|
@@ -2427,7 +2432,7 @@ export declare class EC2 extends EC2Client {
|
|
|
2427
2432
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
2428
2433
|
*
|
|
2429
2434
|
* <note>
|
|
2430
|
-
* <p>We are retiring EC2-Classic
|
|
2435
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2431
2436
|
* </note>
|
|
2432
2437
|
*/
|
|
2433
2438
|
deleteSecurityGroup(args: DeleteSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityGroupCommandOutput>;
|
|
@@ -2784,7 +2789,7 @@ export declare class EC2 extends EC2Client {
|
|
|
2784
2789
|
* <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
|
|
2785
2790
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2786
2791
|
* <note>
|
|
2787
|
-
* <p>We are retiring EC2-Classic
|
|
2792
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2788
2793
|
* </note>
|
|
2789
2794
|
*/
|
|
2790
2795
|
describeAddresses(args: DescribeAddressesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAddressesCommandOutput>;
|
|
@@ -3566,7 +3571,7 @@ export declare class EC2 extends EC2Client {
|
|
|
3566
3571
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
3567
3572
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
3568
3573
|
* <note>
|
|
3569
|
-
* <p>We are retiring EC2-Classic
|
|
3574
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3570
3575
|
* </note>
|
|
3571
3576
|
*/
|
|
3572
3577
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityGroupsCommandOutput>;
|
|
@@ -4157,7 +4162,7 @@ export declare class EC2 extends EC2Client {
|
|
|
4157
4162
|
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4158
4163
|
*
|
|
4159
4164
|
* <note>
|
|
4160
|
-
* <p>We are retiring EC2-Classic
|
|
4165
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4161
4166
|
* </note>
|
|
4162
4167
|
* <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
|
|
4163
4168
|
*/
|
|
@@ -4747,6 +4752,12 @@ export declare class EC2 extends EC2Client {
|
|
|
4747
4752
|
importClientVpnClientCertificateRevocationList(args: ImportClientVpnClientCertificateRevocationListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportClientVpnClientCertificateRevocationListCommandOutput) => void): void;
|
|
4748
4753
|
/**
|
|
4749
4754
|
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
|
|
4755
|
+
* <important>
|
|
4756
|
+
* <p>Amazon Web Services VM Import/Export strongly recommends specifying a value for either the
|
|
4757
|
+
* <code>--license-type</code> or <code>--usage-operation</code> parameter when you create a new
|
|
4758
|
+
* VM Import task. This ensures your operating system is licensed appropriately and your billing is
|
|
4759
|
+
* optimized.</p>
|
|
4760
|
+
* </important>
|
|
4750
4761
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html">Importing a
|
|
4751
4762
|
* VM as an image using VM Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>
|
|
4752
4763
|
*/
|
|
@@ -5528,7 +5539,7 @@ export declare class EC2 extends EC2Client {
|
|
|
5528
5539
|
* <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
|
|
5529
5540
|
* originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
|
|
5530
5541
|
* <note>
|
|
5531
|
-
* <p>We are retiring EC2-Classic
|
|
5542
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5532
5543
|
* </note>
|
|
5533
5544
|
*/
|
|
5534
5545
|
moveAddressToVpc(args: MoveAddressToVpcCommandInput, options?: __HttpHandlerOptions): Promise<MoveAddressToVpcCommandOutput>;
|
|
@@ -5757,7 +5768,7 @@ export declare class EC2 extends EC2Client {
|
|
|
5757
5768
|
* from any instance that it's associated with. To disassociate an Elastic IP address without
|
|
5758
5769
|
* releasing it, use <a>DisassociateAddress</a>.</p>
|
|
5759
5770
|
* <note>
|
|
5760
|
-
* <p>We are retiring EC2-Classic
|
|
5771
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5761
5772
|
* </note>
|
|
5762
5773
|
* <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
|
|
5763
5774
|
* before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
|
|
@@ -5972,7 +5983,7 @@ export declare class EC2 extends EC2Client {
|
|
|
5972
5983
|
/**
|
|
5973
5984
|
* <p>Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.</p>
|
|
5974
5985
|
* <note>
|
|
5975
|
-
* <p>We are retiring EC2-Classic
|
|
5986
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5976
5987
|
* </note>
|
|
5977
5988
|
*/
|
|
5978
5989
|
restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, options?: __HttpHandlerOptions): Promise<RestoreAddressToClassicCommandOutput>;
|
|
@@ -6052,7 +6063,7 @@ export declare class EC2 extends EC2Client {
|
|
|
6052
6063
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
|
|
6053
6064
|
*
|
|
6054
6065
|
* <note>
|
|
6055
|
-
* <p>We are retiring EC2-Classic
|
|
6066
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
6056
6067
|
* </note>
|
|
6057
6068
|
*/
|
|
6058
6069
|
revokeSecurityGroupIngress(args: RevokeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<RevokeSecurityGroupIngressCommandOutput>;
|
|
@@ -21,7 +21,7 @@ export interface AllocateAddressCommandOutput extends AllocateAddressResult, __M
|
|
|
21
21
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
22
22
|
* <p>You can allocate a carrier IP address which is a public IP address from a telecommunication carrier, to a network interface which resides in a subnet in a Wavelength Zone (for example an EC2 instance). </p>
|
|
23
23
|
* <note>
|
|
24
|
-
* <p>We are retiring EC2-Classic
|
|
24
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
25
25
|
* </note>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -34,7 +34,7 @@ export interface AssociateAddressCommandOutput extends AssociateAddressResult, _
|
|
|
34
34
|
* </important>
|
|
35
35
|
*
|
|
36
36
|
* <note>
|
|
37
|
-
* <p>We are retiring EC2-Classic
|
|
37
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
38
38
|
* </note>
|
|
39
39
|
* @example
|
|
40
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -13,7 +13,7 @@ export interface AssociateEnclaveCertificateIamRoleCommandOutput extends Associa
|
|
|
13
13
|
* User Guide</i>.</p>
|
|
14
14
|
*
|
|
15
15
|
* <p>When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted
|
|
16
|
-
* private key are placed in an Amazon S3
|
|
16
|
+
* private key are placed in an Amazon S3 location that only the associated IAM role can access. The private key of the certificate
|
|
17
17
|
* is encrypted with an Amazon Web Services managed key that has an attached attestation-based key policy.</p>
|
|
18
18
|
*
|
|
19
19
|
* <p>To enable the IAM role to access the Amazon S3 object, you must grant it permission to call <code>s3:GetObject</code>
|
|
@@ -21,7 +21,7 @@ export interface AuthorizeSecurityGroupIngressCommandOutput extends AuthorizeSec
|
|
|
21
21
|
* <p>For more information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
|
|
22
22
|
*
|
|
23
23
|
* <note>
|
|
24
|
-
* <p>We are retiring EC2-Classic
|
|
24
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
25
25
|
* </note>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,8 +8,11 @@ export interface CreateNetworkInterfaceCommandOutput extends CreateNetworkInterf
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a network interface in the specified subnet.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
11
|
+
* <p>The number of IP addresses you can assign to a network interface varies by instance
|
|
12
|
+
* type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI">IP Addresses Per ENI Per
|
|
13
|
+
* Instance Type</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
14
|
+
* <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>
|
|
15
|
+
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface CreateSecurityGroupCommandOutput extends CreateSecurityGroupRes
|
|
|
24
24
|
* <p>For more information about VPC security group limits, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Limits</a>.</p>
|
|
25
25
|
*
|
|
26
26
|
* <note>
|
|
27
|
-
* <p>We are retiring EC2-Classic
|
|
27
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,8 +9,10 @@ export interface CreateSnapshotsCommandOutput extends CreateSnapshotsResult, __M
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3.
|
|
11
11
|
* Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot
|
|
12
|
-
* each that is crash-consistent across the instance
|
|
13
|
-
*
|
|
12
|
+
* each that is crash-consistent across the instance.</p>
|
|
13
|
+
*
|
|
14
|
+
* <p>You can include all of the volumes currently attached to the instance, or you can exclude
|
|
15
|
+
* the root volume or specific data (non-root) volumes from the multi-volume snapshot set.</p>
|
|
14
16
|
*
|
|
15
17
|
* <p>You can create multi-volume snapshots of instances in a Region and instances on an
|
|
16
18
|
* Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored
|
|
@@ -14,7 +14,7 @@ export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
|
|
|
14
14
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
15
15
|
*
|
|
16
16
|
* <note>
|
|
17
|
-
* <p>We are retiring EC2-Classic
|
|
17
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
18
18
|
* </note>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,7 +11,7 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
|
|
|
11
11
|
* <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
|
|
12
12
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
13
13
|
* <note>
|
|
14
|
-
* <p>We are retiring EC2-Classic
|
|
14
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
15
15
|
* </note>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -15,7 +15,7 @@ export interface DescribeSecurityGroupsCommandOutput extends DescribeSecurityGro
|
|
|
15
15
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
16
16
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
17
17
|
* <note>
|
|
18
|
-
* <p>We are retiring EC2-Classic
|
|
18
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
19
|
* </note>
|
|
20
20
|
* @example
|
|
21
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -13,7 +13,7 @@ export interface DisassociateAddressCommandOutput extends __MetadataBearer {
|
|
|
13
13
|
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
14
14
|
*
|
|
15
15
|
* <note>
|
|
16
|
-
* <p>We are retiring EC2-Classic
|
|
16
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
17
17
|
* </note>
|
|
18
18
|
* <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
|
|
19
19
|
* @example
|
|
@@ -8,6 +8,12 @@ export interface ImportImageCommandOutput extends ImportImageResult, __MetadataB
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
|
|
11
|
+
* <important>
|
|
12
|
+
* <p>Amazon Web Services VM Import/Export strongly recommends specifying a value for either the
|
|
13
|
+
* <code>--license-type</code> or <code>--usage-operation</code> parameter when you create a new
|
|
14
|
+
* VM Import task. This ensures your operating system is licensed appropriately and your billing is
|
|
15
|
+
* optimized.</p>
|
|
16
|
+
* </important>
|
|
11
17
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html">Importing a
|
|
12
18
|
* VM as an image using VM Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>
|
|
13
19
|
* @example
|
|
@@ -14,7 +14,7 @@ export interface MoveAddressToVpcCommandOutput extends MoveAddressToVpcResult, _
|
|
|
14
14
|
* <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
|
|
15
15
|
* originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
|
|
16
16
|
* <note>
|
|
17
|
-
* <p>We are retiring EC2-Classic
|
|
17
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
18
18
|
* </note>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -12,7 +12,7 @@ export interface ReleaseAddressCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* from any instance that it's associated with. To disassociate an Elastic IP address without
|
|
13
13
|
* releasing it, use <a>DisassociateAddress</a>.</p>
|
|
14
14
|
* <note>
|
|
15
|
-
* <p>We are retiring EC2-Classic
|
|
15
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
16
16
|
* </note>
|
|
17
17
|
* <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
|
|
18
18
|
* before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
|
|
@@ -9,7 +9,7 @@ export interface RestoreAddressToClassicCommandOutput extends RestoreAddressToCl
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.</p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>We are retiring EC2-Classic
|
|
12
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
13
13
|
* </note>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -23,7 +23,7 @@ export interface RevokeSecurityGroupIngressCommandOutput extends RevokeSecurityG
|
|
|
23
23
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
|
|
24
24
|
*
|
|
25
25
|
* <note>
|
|
26
|
-
* <p>We are retiring EC2-Classic
|
|
26
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
27
27
|
* </note>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1985,7 +1985,7 @@ export interface AllocateIpamPoolCidrRequest {
|
|
|
1985
1985
|
*/
|
|
1986
1986
|
PreviewNextCidr?: boolean;
|
|
1987
1987
|
/**
|
|
1988
|
-
* <p>Exclude a particular CIDR range from being returned by the pool.</p>
|
|
1988
|
+
* <p>Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.</p>
|
|
1989
1989
|
*/
|
|
1990
1990
|
DisallowedCidrs?: string[];
|
|
1991
1991
|
}
|
|
@@ -2129,7 +2129,7 @@ export interface AssignIpv6AddressesRequest {
|
|
|
2129
2129
|
*/
|
|
2130
2130
|
Ipv6AddressCount?: number;
|
|
2131
2131
|
/**
|
|
2132
|
-
* <p>
|
|
2132
|
+
* <p>The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.</p>
|
|
2133
2133
|
*/
|
|
2134
2134
|
Ipv6Addresses?: string[];
|
|
2135
2135
|
/**
|
|
@@ -2175,7 +2175,7 @@ export interface AssignPrivateIpAddressesRequest {
|
|
|
2175
2175
|
*/
|
|
2176
2176
|
NetworkInterfaceId: string | undefined;
|
|
2177
2177
|
/**
|
|
2178
|
-
* <p>
|
|
2178
|
+
* <p>The IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.</p>
|
|
2179
2179
|
* <p>If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.</p>
|
|
2180
2180
|
*/
|
|
2181
2181
|
PrivateIpAddresses?: string[];
|
|
@@ -3308,7 +3308,7 @@ export interface PrefixListId {
|
|
|
3308
3308
|
/**
|
|
3309
3309
|
* <p>Describes a security group and Amazon Web Services account ID pair.</p>
|
|
3310
3310
|
* <note>
|
|
3311
|
-
* <p>We are retiring EC2-Classic
|
|
3311
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3312
3312
|
* </note>
|
|
3313
3313
|
*/
|
|
3314
3314
|
export interface UserIdGroupPair {
|
|
@@ -3563,7 +3563,8 @@ export interface AuthorizeSecurityGroupIngressRequest {
|
|
|
3563
3563
|
GroupId?: string;
|
|
3564
3564
|
/**
|
|
3565
3565
|
* <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
|
|
3566
|
-
*
|
|
3566
|
+
* security group ID or the security group name in the request. For security groups in a
|
|
3567
|
+
* nondefault VPC, you must specify the security group ID.</p>
|
|
3567
3568
|
*/
|
|
3568
3569
|
GroupName?: string;
|
|
3569
3570
|
/**
|
|
@@ -565,7 +565,7 @@ export interface InstanceRequirementsRequest {
|
|
|
565
565
|
* <p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p>
|
|
566
566
|
* </li>
|
|
567
567
|
* <li>
|
|
568
|
-
* <p>For instance types with Amazon Web Services Inferentia
|
|
568
|
+
* <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
|
|
569
569
|
* </li>
|
|
570
570
|
* <li>
|
|
571
571
|
* <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
|
|
@@ -1484,7 +1484,7 @@ export interface InstanceRequirements {
|
|
|
1484
1484
|
* <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
|
|
1485
1485
|
* </li>
|
|
1486
1486
|
* <li>
|
|
1487
|
-
* <p>For instance types with Amazon Web Services Inferentia
|
|
1487
|
+
* <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
|
|
1488
1488
|
* </li>
|
|
1489
1489
|
* <li>
|
|
1490
1490
|
* <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
|
|
@@ -3319,7 +3319,7 @@ export interface PrivateIpAddressSpecification {
|
|
|
3319
3319
|
*/
|
|
3320
3320
|
Primary?: boolean;
|
|
3321
3321
|
/**
|
|
3322
|
-
* <p>The private IPv4
|
|
3322
|
+
* <p>The private IPv4 address.</p>
|
|
3323
3323
|
*/
|
|
3324
3324
|
PrivateIpAddress?: string;
|
|
3325
3325
|
}
|
|
@@ -3550,7 +3550,7 @@ export interface RequestLaunchTemplateData {
|
|
|
3550
3550
|
/**
|
|
3551
3551
|
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
3552
3552
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3553
|
-
* <p>If you specify <code>
|
|
3553
|
+
* <p>If you specify <code>InstanceType</code>, you can't specify
|
|
3554
3554
|
* <code>InstanceRequirements</code>.</p>
|
|
3555
3555
|
*/
|
|
3556
3556
|
InstanceType?: _InstanceType | string;
|
|
@@ -4195,7 +4195,7 @@ export interface LaunchTemplatesMonitoring {
|
|
|
4195
4195
|
*/
|
|
4196
4196
|
export interface Ipv4PrefixSpecificationResponse {
|
|
4197
4197
|
/**
|
|
4198
|
-
* <p>
|
|
4198
|
+
* <p>The IPv4 delegated prefixes assigned to the network interface.</p>
|
|
4199
4199
|
*/
|
|
4200
4200
|
Ipv4Prefix?: string;
|
|
4201
4201
|
}
|
|
@@ -4214,7 +4214,7 @@ export interface InstanceIpv6Address {
|
|
|
4214
4214
|
*/
|
|
4215
4215
|
export interface Ipv6PrefixSpecificationResponse {
|
|
4216
4216
|
/**
|
|
4217
|
-
* <p>
|
|
4217
|
+
* <p>The IPv6 delegated prefixes assigned to the network interface.</p>
|
|
4218
4218
|
*/
|
|
4219
4219
|
Ipv6Prefix?: string;
|
|
4220
4220
|
}
|
|
@@ -5605,9 +5605,6 @@ export declare enum NetworkInterfaceCreationType {
|
|
|
5605
5605
|
efa = "efa",
|
|
5606
5606
|
trunk = "trunk"
|
|
5607
5607
|
}
|
|
5608
|
-
/**
|
|
5609
|
-
* <p>Contains the parameters for CreateNetworkInterface.</p>
|
|
5610
|
-
*/
|
|
5611
5608
|
export interface CreateNetworkInterfaceRequest {
|
|
5612
5609
|
/**
|
|
5613
5610
|
* <p>A description for the network interface.</p>
|
|
@@ -5625,14 +5622,17 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
5625
5622
|
Groups?: string[];
|
|
5626
5623
|
/**
|
|
5627
5624
|
* <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
|
|
5628
|
-
* automatically selects the IPv6 addresses from the subnet range
|
|
5629
|
-
*
|
|
5630
|
-
*
|
|
5625
|
+
* automatically selects the IPv6 addresses from the subnet range.</p>
|
|
5626
|
+
* <p>You can't specify a count of IPv6 addresses using this parameter if you've specified
|
|
5627
|
+
* one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
5628
|
+
* <p>If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set, you can
|
|
5629
|
+
* override that setting by specifying 0 as the IPv6 address count.</p>
|
|
5631
5630
|
*/
|
|
5632
5631
|
Ipv6AddressCount?: number;
|
|
5633
5632
|
/**
|
|
5634
|
-
* <p>
|
|
5635
|
-
*
|
|
5633
|
+
* <p>The IPv6 addresses from the IPv6 CIDR block range of your subnet.</p>
|
|
5634
|
+
* <p>You can't specify IPv6 addresses using this parameter if you've specified one of the
|
|
5635
|
+
* following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
5636
5636
|
*/
|
|
5637
5637
|
Ipv6Addresses?: InstanceIpv6Address[];
|
|
5638
5638
|
/**
|
|
@@ -5644,7 +5644,9 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
5644
5644
|
*/
|
|
5645
5645
|
PrivateIpAddress?: string;
|
|
5646
5646
|
/**
|
|
5647
|
-
* <p>
|
|
5647
|
+
* <p>The private IPv4 addresses.</p>
|
|
5648
|
+
* <p>You can't specify private IPv4 addresses if you've specified one of the following:
|
|
5649
|
+
* a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
5648
5650
|
*/
|
|
5649
5651
|
PrivateIpAddresses?: PrivateIpAddressSpecification[];
|
|
5650
5652
|
/**
|
|
@@ -5652,30 +5654,38 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
5652
5654
|
* you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses
|
|
5653
5655
|
* within the subnet's IPv4 CIDR range. You can't specify this option and specify more than
|
|
5654
5656
|
* one private IP address using <code>privateIpAddresses</code>.</p>
|
|
5655
|
-
* <p>
|
|
5656
|
-
*
|
|
5657
|
-
* Instance Type</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
5657
|
+
* <p>You can't specify a count of private IPv4 addresses if you've specified one of the following:
|
|
5658
|
+
* specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
5658
5659
|
*/
|
|
5659
5660
|
SecondaryPrivateIpAddressCount?: number;
|
|
5660
5661
|
/**
|
|
5661
|
-
* <p>
|
|
5662
|
+
* <p>The IPv4 prefixes assigned to the network interface.</p>
|
|
5663
|
+
* <p>You can't specify IPv4 prefixes if you've specified one of the following:
|
|
5664
|
+
* a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.</p>
|
|
5662
5665
|
*/
|
|
5663
5666
|
Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
|
|
5664
5667
|
/**
|
|
5665
|
-
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface
|
|
5668
|
+
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
5669
|
+
* <p>You can't specify a count of IPv4 prefixes if you've specified one of the following:
|
|
5670
|
+
* specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4
|
|
5671
|
+
* addresses.</p>
|
|
5666
5672
|
*/
|
|
5667
5673
|
Ipv4PrefixCount?: number;
|
|
5668
5674
|
/**
|
|
5669
|
-
* <p>
|
|
5675
|
+
* <p>The IPv6 prefixes assigned to the network interface.</p>
|
|
5676
|
+
* <p>You can't specify IPv6 prefixes if you've specified one of the following:
|
|
5677
|
+
* a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
5670
5678
|
*/
|
|
5671
5679
|
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
5672
5680
|
/**
|
|
5673
|
-
* <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface
|
|
5681
|
+
* <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
5682
|
+
* <p>You can't specify a count of IPv6 prefixes if you've specified one of the following:
|
|
5683
|
+
* specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
5674
5684
|
*/
|
|
5675
5685
|
Ipv6PrefixCount?: number;
|
|
5676
5686
|
/**
|
|
5677
5687
|
* <p>The type of network interface. The default is <code>interface</code>.</p>
|
|
5678
|
-
*
|
|
5688
|
+
* <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
|
|
5679
5689
|
*/
|
|
5680
5690
|
InterfaceType?: NetworkInterfaceCreationType | string;
|
|
5681
5691
|
/**
|
|
@@ -5956,9 +5966,6 @@ export interface NetworkInterface {
|
|
|
5956
5966
|
*/
|
|
5957
5967
|
Ipv6Address?: string;
|
|
5958
5968
|
}
|
|
5959
|
-
/**
|
|
5960
|
-
* <p>Contains the output of CreateNetworkInterface.</p>
|
|
5961
|
-
*/
|
|
5962
5969
|
export interface CreateNetworkInterfaceResult {
|
|
5963
5970
|
/**
|
|
5964
5971
|
* <p>Information about the network interface.</p>
|
|
@@ -6834,6 +6841,12 @@ export interface InstanceSpecification {
|
|
|
6834
6841
|
* <p>Excludes the root volume from being snapshotted.</p>
|
|
6835
6842
|
*/
|
|
6836
6843
|
ExcludeBootVolume?: boolean;
|
|
6844
|
+
/**
|
|
6845
|
+
* <p>The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.
|
|
6846
|
+
* If you specify the ID of the root volume, the request fails. To exclude the root volume,
|
|
6847
|
+
* use <b>ExcludeBootVolume</b>.</p>
|
|
6848
|
+
* <p>You can specify up to 40 volume IDs per request.</p>
|
|
6849
|
+
*/
|
|
6837
6850
|
ExcludeDataVolumeIds?: string[];
|
|
6838
6851
|
}
|
|
6839
6852
|
export interface CreateSnapshotsRequest {
|
|
@@ -3965,7 +3965,9 @@ export interface DeleteSecurityGroupRequest {
|
|
|
3965
3965
|
*/
|
|
3966
3966
|
GroupId?: string;
|
|
3967
3967
|
/**
|
|
3968
|
-
* <p>[EC2-Classic, default VPC] The name of the security group. You can specify either the
|
|
3968
|
+
* <p>[EC2-Classic, default VPC] The name of the security group. You can specify either the
|
|
3969
|
+
* security group name or the security group ID. For security groups in a nondefault VPC,
|
|
3970
|
+
* you must specify the security group ID.</p>
|
|
3969
3971
|
*/
|
|
3970
3972
|
GroupName?: string;
|
|
3971
3973
|
/**
|
|
@@ -4540,11 +4540,11 @@ export interface DescribeImagesRequest {
|
|
|
4540
4540
|
*/
|
|
4541
4541
|
Owners?: string[];
|
|
4542
4542
|
/**
|
|
4543
|
-
* <p>
|
|
4544
|
-
*
|
|
4545
|
-
* specified, the default value is <code>false</code>.</p>
|
|
4543
|
+
* <p>Specifies whether to include deprecated AMIs.</p>
|
|
4544
|
+
* <p>Default: No deprecated AMIs are included in the response.</p>
|
|
4546
4545
|
* <note>
|
|
4547
|
-
* <p>If you are the AMI owner, all deprecated AMIs appear in the response regardless of
|
|
4546
|
+
* <p>If you are the AMI owner, all deprecated AMIs appear in the response regardless of what
|
|
4547
|
+
* you specify for this parameter.</p>
|
|
4548
4548
|
* </note>
|
|
4549
4549
|
*/
|
|
4550
4550
|
IncludeDeprecated?: boolean;
|
|
@@ -6200,11 +6200,11 @@ export interface InstanceNetworkInterface {
|
|
|
6200
6200
|
*/
|
|
6201
6201
|
Description?: string;
|
|
6202
6202
|
/**
|
|
6203
|
-
* <p>
|
|
6203
|
+
* <p>The security groups.</p>
|
|
6204
6204
|
*/
|
|
6205
6205
|
Groups?: GroupIdentifier[];
|
|
6206
6206
|
/**
|
|
6207
|
-
* <p>
|
|
6207
|
+
* <p>The IPv6 addresses associated with the network interface.</p>
|
|
6208
6208
|
*/
|
|
6209
6209
|
Ipv6Addresses?: InstanceIpv6Address[];
|
|
6210
6210
|
/**
|
|
@@ -6228,7 +6228,7 @@ export interface InstanceNetworkInterface {
|
|
|
6228
6228
|
*/
|
|
6229
6229
|
PrivateIpAddress?: string;
|
|
6230
6230
|
/**
|
|
6231
|
-
* <p>
|
|
6231
|
+
* <p>The private IPv4 addresses associated with the network interface.</p>
|
|
6232
6232
|
*/
|
|
6233
6233
|
PrivateIpAddresses?: InstancePrivateIpAddress[];
|
|
6234
6234
|
/**
|
|
@@ -317,7 +317,7 @@ export declare enum MoveStatus {
|
|
|
317
317
|
/**
|
|
318
318
|
* <p>Describes the status of a moving Elastic IP address.</p>
|
|
319
319
|
* <note>
|
|
320
|
-
* <p>We are retiring EC2-Classic
|
|
320
|
+
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
321
321
|
* </note>
|
|
322
322
|
*/
|
|
323
323
|
export interface MovingAddressStatus {
|
|
@@ -881,7 +881,7 @@ export interface DescribeNetworkInterfaceAttributeResult {
|
|
|
881
881
|
*/
|
|
882
882
|
export interface DescribeNetworkInterfacePermissionsRequest {
|
|
883
883
|
/**
|
|
884
|
-
* <p>
|
|
884
|
+
* <p>The network interface permission IDs.</p>
|
|
885
885
|
*/
|
|
886
886
|
NetworkInterfacePermissionIds?: string[];
|
|
887
887
|
/**
|
|
@@ -1115,7 +1115,7 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
DryRun?: boolean;
|
|
1117
1117
|
/**
|
|
1118
|
-
* <p>
|
|
1118
|
+
* <p>The network interface IDs.</p>
|
|
1119
1119
|
* <p>Default: Describes all your network interfaces.</p>
|
|
1120
1120
|
*/
|
|
1121
1121
|
NetworkInterfaceIds?: string[];
|
|
@@ -3526,7 +3526,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
3526
3526
|
*/
|
|
3527
3527
|
Ipv6AddressCount?: number;
|
|
3528
3528
|
/**
|
|
3529
|
-
* <p>
|
|
3529
|
+
* <p>The IPv6 addresses to assign to the network interface. You cannot specify
|
|
3530
3530
|
* this option and the option to assign a number of IPv6 addresses in the same request. You
|
|
3531
3531
|
* cannot specify this option if you've specified a minimum number of instances to
|
|
3532
3532
|
* launch.</p>
|
|
@@ -3543,7 +3543,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
3543
3543
|
*/
|
|
3544
3544
|
PrivateIpAddress?: string;
|
|
3545
3545
|
/**
|
|
3546
|
-
* <p>
|
|
3546
|
+
* <p>The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're
|
|
3547
3547
|
* launching more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
|
|
3548
3548
|
*/
|
|
3549
3549
|
PrivateIpAddresses?: PrivateIpAddressSpecification[];
|
|
@@ -3579,7 +3579,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
3579
3579
|
*/
|
|
3580
3580
|
NetworkCardIndex?: number;
|
|
3581
3581
|
/**
|
|
3582
|
-
* <p>
|
|
3582
|
+
* <p>The IPv4 delegated prefixes to be assigned to the network interface. You cannot
|
|
3583
3583
|
* use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
|
|
3584
3584
|
*/
|
|
3585
3585
|
Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
|
|
@@ -3589,7 +3589,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
3589
3589
|
*/
|
|
3590
3590
|
Ipv4PrefixCount?: number;
|
|
3591
3591
|
/**
|
|
3592
|
-
* <p>
|
|
3592
|
+
* <p>The IPv6 delegated prefixes to be assigned to the network interface. You cannot
|
|
3593
3593
|
* use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
|
|
3594
3594
|
*/
|
|
3595
3595
|
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
@@ -2623,9 +2623,11 @@ export interface ImportImageRequest {
|
|
|
2623
2623
|
KmsKeyId?: string;
|
|
2624
2624
|
/**
|
|
2625
2625
|
* <p>The license type to be used for the Amazon Machine Image (AMI) after importing.</p>
|
|
2626
|
-
* <p>
|
|
2627
|
-
* <code>
|
|
2628
|
-
*
|
|
2626
|
+
* <p>Specify <code>AWS</code> to replace the source-system license with an Amazon Web Services
|
|
2627
|
+
* license or <code>BYOL</code> to retain the source-system license. Leaving this parameter
|
|
2628
|
+
* undefined is the same as choosing <code>AWS</code> when importing a Windows Server operating
|
|
2629
|
+
* system, and the same as choosing <code>BYOL</code> when importing a Windows client operating
|
|
2630
|
+
* system (such as Windows 10) or a Linux operating system.</p>
|
|
2629
2631
|
* <p>To use <code>BYOL</code>, you must have existing licenses with rights to use these licenses in a third party
|
|
2630
2632
|
* cloud, such as Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image">Prerequisites</a> in the
|
|
2631
2633
|
* VM Import/Export User Guide.</p>
|
|
@@ -3821,7 +3823,14 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
3821
3823
|
*/
|
|
3822
3824
|
SourceDestCheck?: AttributeBooleanValue;
|
|
3823
3825
|
/**
|
|
3824
|
-
* <p>The name of the attribute.</p>
|
|
3826
|
+
* <p>The name of the attribute to modify.</p>
|
|
3827
|
+
* <important>
|
|
3828
|
+
* <p>You can modify the following attributes only: <code>disableApiTermination</code> | <code>instanceType</code> |
|
|
3829
|
+
* <code>kernel</code> | <code>ramdisk</code> | <code>instanceInitiatedShutdownBehavior</code> | <code>blockDeviceMapping</code> |
|
|
3830
|
+
* <code>userData</code> | <code>sourceDestCheck</code> | <code>groupSet</code> | <code>ebsOptimized</code> | <code>sriovNetSupport</code> |
|
|
3831
|
+
* <code>enaSupport</code> | <code>nvmeSupport</code> | <code>disableApiStop</code> | <code>enclaveOptions</code>
|
|
3832
|
+
* </p>
|
|
3833
|
+
* </important>
|
|
3825
3834
|
*/
|
|
3826
3835
|
Attribute?: InstanceAttributeName | string;
|
|
3827
3836
|
/**
|
|
@@ -5155,6 +5164,7 @@ export interface ModifyTransitGatewayOptions {
|
|
|
5155
5164
|
/**
|
|
5156
5165
|
* <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
|
5157
5166
|
* The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
|
|
5167
|
+
* <p>The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.</p>
|
|
5158
5168
|
*/
|
|
5159
5169
|
AmazonSideAsn?: number;
|
|
5160
5170
|
}
|
|
@@ -1711,7 +1711,8 @@ export interface RevokeSecurityGroupIngressRequest {
|
|
|
1711
1711
|
GroupId?: string;
|
|
1712
1712
|
/**
|
|
1713
1713
|
* <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
|
|
1714
|
-
*
|
|
1714
|
+
* security group ID or the security group name in the request. For security groups in a
|
|
1715
|
+
* nondefault VPC, you must specify the security group ID.</p>
|
|
1715
1716
|
*/
|
|
1716
1717
|
GroupName?: string;
|
|
1717
1718
|
/**
|
|
@@ -3092,7 +3093,7 @@ export interface UnassignIpv6AddressesRequest {
|
|
|
3092
3093
|
*/
|
|
3093
3094
|
Ipv6Addresses?: string[];
|
|
3094
3095
|
/**
|
|
3095
|
-
* <p>
|
|
3096
|
+
* <p>The IPv6 prefixes to unassign from the network interface.</p>
|
|
3096
3097
|
*/
|
|
3097
3098
|
Ipv6Prefixes?: string[];
|
|
3098
3099
|
/**
|
|
@@ -3213,7 +3214,8 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
|
|
|
3213
3214
|
GroupId?: string;
|
|
3214
3215
|
/**
|
|
3215
3216
|
* <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
|
|
3216
|
-
*
|
|
3217
|
+
* security group ID or the security group name in the request. For security groups in a
|
|
3218
|
+
* nondefault VPC, you must specify the security group ID.</p>
|
|
3217
3219
|
*/
|
|
3218
3220
|
GroupName?: string;
|
|
3219
3221
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.177.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|