@aws-sdk/client-ec2 3.174.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 +22 -0
- package/dist-cjs/commands/CreateDefaultVpcCommand.js +2 -1
- package/dist-cjs/commands/CreateDhcpOptionsCommand.js +1 -2
- package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +2 -1
- package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
- package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
- package/dist-cjs/models/models_0.js +18 -18
- package/dist-cjs/models/models_1.js +17 -17
- package/dist-cjs/models/models_2.js +18 -18
- package/dist-cjs/models/models_3.js +17 -17
- package/dist-cjs/models/models_4.js +13 -13
- package/dist-cjs/protocols/Aws_ec2.js +25 -2
- package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
- package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
- package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
- package/dist-es/commands/DescribeAddressesCommand.js +1 -1
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
- package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +3 -6
- package/dist-es/models/models_2.js +6 -3
- package/dist-es/models/models_3.js +3 -3
- package/dist-es/models/models_4.js +3 -3
- package/dist-es/protocols/Aws_ec2.js +25 -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/CreateDefaultVpcCommand.d.ts +2 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
- 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/CreateTrafficMirrorFilterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -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 +303 -66
- package/dist-types/models/models_1.d.ts +85 -75
- package/dist-types/models/models_2.d.ts +52 -106
- package/dist-types/models/models_3.d.ts +113 -97
- package/dist-types/models/models_4.d.ts +166 -283
- package/dist-types/models/models_5.d.ts +17 -7
- package/dist-types/models/models_6.d.ts +7 -5
- package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +81 -29
- package/dist-types/ts3.4/models/models_1.d.ts +22 -21
- package/dist-types/ts3.4/models/models_2.d.ts +21 -21
- package/dist-types/ts3.4/models/models_3.d.ts +22 -30
- package/dist-types/ts3.4/models/models_4.d.ts +28 -76
- package/dist-types/ts3.4/models/models_5.d.ts +3 -3
- package/dist-types/ts3.4/models/models_6.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { CreateDefaultVpcRequest
|
|
4
|
+
import { CreateDefaultVpcRequest } from "../models/models_0";
|
|
5
|
+
import { CreateDefaultVpcResult } from "../models/models_1";
|
|
5
6
|
export interface CreateDefaultVpcCommandInput extends CreateDefaultVpcRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface CreateDefaultVpcCommandOutput extends CreateDefaultVpcResult, __MetadataBearer {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { CreateDhcpOptionsRequest } from "../models/
|
|
5
|
-
import { CreateDhcpOptionsResult } from "../models/models_1";
|
|
4
|
+
import { CreateDhcpOptionsRequest, CreateDhcpOptionsResult } from "../models/models_1";
|
|
6
5
|
export interface CreateDhcpOptionsCommandInput extends CreateDhcpOptionsRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface CreateDhcpOptionsCommandOutput extends CreateDhcpOptionsResult, __MetadataBearer {
|
|
@@ -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
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { CreateTrafficMirrorFilterRequest
|
|
4
|
+
import { CreateTrafficMirrorFilterRequest } from "../models/models_1";
|
|
5
|
+
import { CreateTrafficMirrorFilterResult } from "../models/models_2";
|
|
5
6
|
export interface CreateTrafficMirrorFilterCommandInput extends CreateTrafficMirrorFilterRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface CreateTrafficMirrorFilterCommandOutput extends CreateTrafficMirrorFilterResult, __MetadataBearer {
|
|
@@ -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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeAddressesRequest, DescribeAddressesResult } from "../models/
|
|
4
|
+
import { DescribeAddressesRequest, DescribeAddressesResult } from "../models/models_3";
|
|
5
5
|
export interface DescribeAddressesCommandInput extends DescribeAddressesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeAddressesCommandOutput extends DescribeAddressesResult, __MetadataBearer {
|
|
@@ -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.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeLocalGatewayVirtualInterfaceGroupsRequest } from "../models/
|
|
5
|
-
import { DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_4";
|
|
4
|
+
import { DescribeLocalGatewayVirtualInterfaceGroupsRequest, DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_4";
|
|
6
5
|
export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandInput extends DescribeLocalGatewayVirtualInterfaceGroupsRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput extends DescribeLocalGatewayVirtualInterfaceGroupsResult, __MetadataBearer {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeLocalGatewaysRequest
|
|
4
|
+
import { DescribeLocalGatewaysRequest } from "../models/models_3";
|
|
5
|
+
import { DescribeLocalGatewaysResult } from "../models/models_4";
|
|
5
6
|
export interface DescribeLocalGatewaysCommandInput extends DescribeLocalGatewaysRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface DescribeLocalGatewaysCommandOutput extends DescribeLocalGatewaysResult, __MetadataBearer {
|
|
@@ -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.
|