@aws-sdk/client-ec2 3.137.0 → 3.141.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 +30 -0
- package/README.md +1 -1
- package/dist-types/EC2.d.ts +123 -10
- package/dist-types/commands/AllocateAddressCommand.d.ts +3 -0
- package/dist-types/commands/AssociateAddressCommand.d.ts +4 -0
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +4 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +4 -2
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +6 -1
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -0
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -0
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +4 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -1
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +3 -0
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateAddressCommand.d.ts +4 -0
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +4 -1
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +4 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -0
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -1
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +4 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +3 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -0
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +3 -0
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +4 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +8 -2
- package/dist-types/models/models_1.d.ts +7 -6
- package/dist-types/models/models_2.d.ts +4 -1
- package/dist-types/models/models_3.d.ts +12 -4
- package/dist-types/models/models_4.d.ts +23 -3
- package/dist-types/models/models_5.d.ts +12 -6
- package/dist-types/models/models_6.d.ts +7 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.140.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.139.0...v3.140.0) (2022-07-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-ec2:** Documentation updates for Amazon EC2. ([504891a](https://github.com/aws/aws-sdk-js-v3/commit/504891a60f4cf5f642a8092f32747fad0d8d3f99))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.139.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.138.0...v3.139.0) (2022-07-28)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-ec2
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
7
37
|
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -191,7 +191,7 @@ try {
|
|
|
191
191
|
const data = await client.send(command);
|
|
192
192
|
// process data.
|
|
193
193
|
} catch (error) {
|
|
194
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
194
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
195
195
|
console.log({ requestId, cfId, extendedRequestId });
|
|
196
196
|
/**
|
|
197
197
|
* The keys within exceptions are also parsed.
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -637,6 +637,9 @@ export declare class EC2 extends EC2Client {
|
|
|
637
637
|
* 5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.</p>
|
|
638
638
|
* <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>
|
|
639
639
|
* <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>
|
|
640
|
+
* <note>
|
|
641
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
642
|
+
* </note>
|
|
640
643
|
*/
|
|
641
644
|
allocateAddress(args: AllocateAddressCommandInput, options?: __HttpHandlerOptions): Promise<AllocateAddressCommandOutput>;
|
|
642
645
|
allocateAddress(args: AllocateAddressCommandInput, cb: (err: any, data?: AllocateAddressCommandOutput) => void): void;
|
|
@@ -726,6 +729,10 @@ export declare class EC2 extends EC2Client {
|
|
|
726
729
|
* Addresses</i> section of <a href="http://aws.amazon.com/ec2/pricing/">Amazon EC2
|
|
727
730
|
* Pricing</a>.</p>
|
|
728
731
|
* </important>
|
|
732
|
+
*
|
|
733
|
+
* <note>
|
|
734
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
735
|
+
* </note>
|
|
729
736
|
*/
|
|
730
737
|
associateAddress(args: AssociateAddressCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAddressCommandOutput>;
|
|
731
738
|
associateAddress(args: AssociateAddressCommandInput, cb: (err: any, data?: AssociateAddressCommandOutput) => void): void;
|
|
@@ -850,7 +857,10 @@ export declare class EC2 extends EC2Client {
|
|
|
850
857
|
associateVpcCidrBlock(args: AssociateVpcCidrBlockCommandInput, cb: (err: any, data?: AssociateVpcCidrBlockCommandOutput) => void): void;
|
|
851
858
|
associateVpcCidrBlock(args: AssociateVpcCidrBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateVpcCidrBlockCommandOutput) => void): void;
|
|
852
859
|
/**
|
|
853
|
-
* <
|
|
860
|
+
* <note>
|
|
861
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
862
|
+
* </note>
|
|
863
|
+
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
|
|
854
864
|
* security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
|
|
855
865
|
* can only link an instance that's in the <code>running</code> state. An instance is
|
|
856
866
|
* automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when
|
|
@@ -923,8 +933,10 @@ export declare class EC2 extends EC2Client {
|
|
|
923
933
|
authorizeClientVpnIngress(args: AuthorizeClientVpnIngressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeClientVpnIngressCommandOutput) => void): void;
|
|
924
934
|
/**
|
|
925
935
|
* <p>[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.</p>
|
|
926
|
-
*
|
|
927
|
-
*
|
|
936
|
+
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR
|
|
937
|
+
* address ranges, or to the instances that are associated with the specified source
|
|
938
|
+
* security groups. When specifying an outbound rule for your security group in a VPC, the
|
|
939
|
+
* <code>IpPermissions</code> must include a destination for the traffic.</p>
|
|
928
940
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
929
941
|
* For the TCP and UDP protocols, you must also specify the destination port or port range.
|
|
930
942
|
* For the ICMP protocol, you must also specify the ICMP type and code.
|
|
@@ -939,7 +951,8 @@ export declare class EC2 extends EC2Client {
|
|
|
939
951
|
* <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
|
940
952
|
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR
|
|
941
953
|
* address range, or from the instances that are associated with the specified destination security
|
|
942
|
-
* groups
|
|
954
|
+
* groups. When specifying an inbound rule for your security group in a VPC, the
|
|
955
|
+
* <code>IpPermissions</code> must include a source for the traffic.</p>
|
|
943
956
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
944
957
|
* For TCP and UDP, you must also specify the destination port or port range.
|
|
945
958
|
* For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
|
|
@@ -947,6 +960,10 @@ export declare class EC2 extends EC2Client {
|
|
|
947
960
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
948
961
|
* However, a small delay might occur.</p>
|
|
949
962
|
* <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>
|
|
963
|
+
*
|
|
964
|
+
* <note>
|
|
965
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
966
|
+
* </note>
|
|
950
967
|
*/
|
|
951
968
|
authorizeSecurityGroupIngress(args: AuthorizeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeSecurityGroupIngressCommandOutput>;
|
|
952
969
|
authorizeSecurityGroupIngress(args: AuthorizeSecurityGroupIngressCommandInput, cb: (err: any, data?: AuthorizeSecurityGroupIngressCommandOutput) => void): void;
|
|
@@ -1213,6 +1230,9 @@ export declare class EC2 extends EC2Client {
|
|
|
1213
1230
|
* supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is
|
|
1214
1231
|
* that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
|
|
1215
1232
|
* FAQ</a>.</p>
|
|
1233
|
+
* <note>
|
|
1234
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
1235
|
+
* </note>
|
|
1216
1236
|
*/
|
|
1217
1237
|
createDefaultVpc(args: CreateDefaultVpcCommandInput, options?: __HttpHandlerOptions): Promise<CreateDefaultVpcCommandOutput>;
|
|
1218
1238
|
createDefaultVpc(args: CreateDefaultVpcCommandInput, cb: (err: any, data?: CreateDefaultVpcCommandOutput) => void): void;
|
|
@@ -1668,6 +1688,10 @@ export declare class EC2 extends EC2Client {
|
|
|
1668
1688
|
* <a>RevokeSecurityGroupIngress</a>, and
|
|
1669
1689
|
* <a>RevokeSecurityGroupEgress</a>.</p>
|
|
1670
1690
|
* <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>
|
|
1691
|
+
*
|
|
1692
|
+
* <note>
|
|
1693
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
1694
|
+
* </note>
|
|
1671
1695
|
*/
|
|
1672
1696
|
createSecurityGroup(args: CreateSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityGroupCommandOutput>;
|
|
1673
1697
|
createSecurityGroup(args: CreateSecurityGroupCommandInput, cb: (err: any, data?: CreateSecurityGroupCommandOutput) => void): void;
|
|
@@ -2319,6 +2343,10 @@ export declare class EC2 extends EC2Client {
|
|
|
2319
2343
|
* referenced by another security group, the operation fails with
|
|
2320
2344
|
* <code>InvalidGroup.InUse</code> in EC2-Classic or
|
|
2321
2345
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
2346
|
+
*
|
|
2347
|
+
* <note>
|
|
2348
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
2349
|
+
* </note>
|
|
2322
2350
|
*/
|
|
2323
2351
|
deleteSecurityGroup(args: DeleteSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityGroupCommandOutput>;
|
|
2324
2352
|
deleteSecurityGroup(args: DeleteSecurityGroupCommandInput, cb: (err: any, data?: DeleteSecurityGroupCommandOutput) => void): void;
|
|
@@ -2662,6 +2690,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2662
2690
|
* allocate for use with EC2-VPC.</p>
|
|
2663
2691
|
* </li>
|
|
2664
2692
|
* </ul>
|
|
2693
|
+
* <note>
|
|
2694
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide</i>.</p>
|
|
2695
|
+
* </note>
|
|
2665
2696
|
*/
|
|
2666
2697
|
describeAccountAttributes(args: DescribeAccountAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountAttributesCommandOutput>;
|
|
2667
2698
|
describeAccountAttributes(args: DescribeAccountAttributesCommandInput, cb: (err: any, data?: DescribeAccountAttributesCommandOutput) => void): void;
|
|
@@ -2670,6 +2701,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2670
2701
|
* <p>Describes the specified Elastic IP addresses or all of your Elastic IP addresses.</p>
|
|
2671
2702
|
* <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
|
|
2672
2703
|
* 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>
|
|
2704
|
+
* <note>
|
|
2705
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
2706
|
+
* </note>
|
|
2673
2707
|
*/
|
|
2674
2708
|
describeAddresses(args: DescribeAddressesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAddressesCommandOutput>;
|
|
2675
2709
|
describeAddresses(args: DescribeAddressesCommandInput, cb: (err: any, data?: DescribeAddressesCommandOutput) => void): void;
|
|
@@ -2754,6 +2788,9 @@ export declare class EC2 extends EC2Client {
|
|
|
2754
2788
|
* <p>Describes one or more of your linked EC2-Classic instances. This request only returns
|
|
2755
2789
|
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
|
|
2756
2790
|
* use this request to return information about other instances.</p>
|
|
2791
|
+
* <note>
|
|
2792
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
2793
|
+
* </note>
|
|
2757
2794
|
*/
|
|
2758
2795
|
describeClassicLinkInstances(args: DescribeClassicLinkInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClassicLinkInstancesCommandOutput>;
|
|
2759
2796
|
describeClassicLinkInstances(args: DescribeClassicLinkInstancesCommandInput, cb: (err: any, data?: DescribeClassicLinkInstancesCommandOutput) => void): void;
|
|
@@ -3092,6 +3129,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3092
3129
|
* not specify any instance IDs at all, the call fails. If you describe instances and
|
|
3093
3130
|
* specify only instance IDs that are in an unaffected zone, the call works
|
|
3094
3131
|
* normally.</p>
|
|
3132
|
+
* <note>
|
|
3133
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide</i>.</p>
|
|
3134
|
+
* </note>
|
|
3095
3135
|
*/
|
|
3096
3136
|
describeInstances(args: DescribeInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstancesCommandOutput>;
|
|
3097
3137
|
describeInstances(args: DescribeInstancesCommandInput, cb: (err: any, data?: DescribeInstancesCommandOutput) => void): void;
|
|
@@ -3371,6 +3411,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3371
3411
|
* <p>Describes one or more of the Reserved Instances that you purchased.</p>
|
|
3372
3412
|
* <p>For more information about Reserved Instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved
|
|
3373
3413
|
* Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3414
|
+
* <note>
|
|
3415
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3416
|
+
* </note>
|
|
3374
3417
|
*/
|
|
3375
3418
|
describeReservedInstances(args: DescribeReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesCommandOutput>;
|
|
3376
3419
|
describeReservedInstances(args: DescribeReservedInstancesCommandInput, cb: (err: any, data?: DescribeReservedInstancesCommandOutput) => void): void;
|
|
@@ -3389,6 +3432,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3389
3432
|
/**
|
|
3390
3433
|
* <p>Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.</p>
|
|
3391
3434
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3435
|
+
* <note>
|
|
3436
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3437
|
+
* </note>
|
|
3392
3438
|
*/
|
|
3393
3439
|
describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesModificationsCommandOutput>;
|
|
3394
3440
|
describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, cb: (err: any, data?: DescribeReservedInstancesModificationsCommandOutput) => void): void;
|
|
@@ -3398,6 +3444,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3398
3444
|
* <p>If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.</p>
|
|
3399
3445
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
|
|
3400
3446
|
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3447
|
+
* <note>
|
|
3448
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3449
|
+
* </note>
|
|
3401
3450
|
*/
|
|
3402
3451
|
describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesOfferingsCommandOutput>;
|
|
3403
3452
|
describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, cb: (err: any, data?: DescribeReservedInstancesOfferingsCommandOutput) => void): void;
|
|
@@ -3416,12 +3465,20 @@ export declare class EC2 extends EC2Client {
|
|
|
3416
3465
|
* <p>You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.</p>
|
|
3417
3466
|
* <p>After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
|
|
3418
3467
|
* to purchase Scheduled Instances with that schedule.</p>
|
|
3468
|
+
*
|
|
3469
|
+
* <note>
|
|
3470
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3471
|
+
* </note>
|
|
3419
3472
|
*/
|
|
3420
3473
|
describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstanceAvailabilityCommandOutput>;
|
|
3421
3474
|
describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
|
|
3422
3475
|
describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
|
|
3423
3476
|
/**
|
|
3424
3477
|
* <p>Describes the specified Scheduled Instances or all your Scheduled Instances.</p>
|
|
3478
|
+
*
|
|
3479
|
+
* <note>
|
|
3480
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3481
|
+
* </note>
|
|
3425
3482
|
*/
|
|
3426
3483
|
describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstancesCommandOutput>;
|
|
3427
3484
|
describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, cb: (err: any, data?: DescribeScheduledInstancesCommandOutput) => void): void;
|
|
@@ -3446,6 +3503,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3446
3503
|
* the <i>Amazon Elastic Compute Cloud User Guide</i> and
|
|
3447
3504
|
* <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
|
|
3448
3505
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
3506
|
+
* <note>
|
|
3507
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3508
|
+
* </note>
|
|
3449
3509
|
*/
|
|
3450
3510
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSecurityGroupsCommandOutput>;
|
|
3451
3511
|
describeSecurityGroups(args: DescribeSecurityGroupsCommandInput, cb: (err: any, data?: DescribeSecurityGroupsCommandOutput) => void): void;
|
|
@@ -3794,12 +3854,18 @@ export declare class EC2 extends EC2Client {
|
|
|
3794
3854
|
describeVpcAttribute(args: DescribeVpcAttributeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcAttributeCommandOutput) => void): void;
|
|
3795
3855
|
/**
|
|
3796
3856
|
* <p>Describes the ClassicLink status of one or more VPCs.</p>
|
|
3857
|
+
* <note>
|
|
3858
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3859
|
+
* </note>
|
|
3797
3860
|
*/
|
|
3798
3861
|
describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcClassicLinkCommandOutput>;
|
|
3799
3862
|
describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, cb: (err: any, data?: DescribeVpcClassicLinkCommandOutput) => void): void;
|
|
3800
3863
|
describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcClassicLinkCommandOutput) => void): void;
|
|
3801
3864
|
/**
|
|
3802
|
-
* <
|
|
3865
|
+
* <note>
|
|
3866
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3867
|
+
* </note>
|
|
3868
|
+
* <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
|
|
3803
3869
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
3804
3870
|
* addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
|
|
3805
3871
|
* of an instance in a VPC resolves to its private IP address when addressed from a linked
|
|
@@ -3883,7 +3949,10 @@ export declare class EC2 extends EC2Client {
|
|
|
3883
3949
|
describeVpnGateways(args: DescribeVpnGatewaysCommandInput, cb: (err: any, data?: DescribeVpnGatewaysCommandOutput) => void): void;
|
|
3884
3950
|
describeVpnGateways(args: DescribeVpnGatewaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpnGatewaysCommandOutput) => void): void;
|
|
3885
3951
|
/**
|
|
3886
|
-
* <
|
|
3952
|
+
* <note>
|
|
3953
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
3954
|
+
* </note>
|
|
3955
|
+
* <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.</p>
|
|
3887
3956
|
*/
|
|
3888
3957
|
detachClassicLinkVpc(args: DetachClassicLinkVpcCommandInput, options?: __HttpHandlerOptions): Promise<DetachClassicLinkVpcCommandOutput>;
|
|
3889
3958
|
detachClassicLinkVpc(args: DetachClassicLinkVpcCommandInput, cb: (err: any, data?: DetachClassicLinkVpcCommandOutput) => void): void;
|
|
@@ -3998,6 +4067,9 @@ export declare class EC2 extends EC2Client {
|
|
|
3998
4067
|
disableVgwRoutePropagation(args: DisableVgwRoutePropagationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableVgwRoutePropagationCommandOutput) => void): void;
|
|
3999
4068
|
/**
|
|
4000
4069
|
* <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.</p>
|
|
4070
|
+
* <note>
|
|
4071
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
4072
|
+
* </note>
|
|
4001
4073
|
*/
|
|
4002
4074
|
disableVpcClassicLink(args: DisableVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkCommandOutput>;
|
|
4003
4075
|
disableVpcClassicLink(args: DisableVpcClassicLinkCommandInput, cb: (err: any, data?: DisableVpcClassicLinkCommandOutput) => void): void;
|
|
@@ -4008,6 +4080,10 @@ export declare class EC2 extends EC2Client {
|
|
|
4008
4080
|
* in the VPC to which it's linked. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the
|
|
4009
4081
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4010
4082
|
* <p>You must specify a VPC ID in the request.</p>
|
|
4083
|
+
*
|
|
4084
|
+
* <note>
|
|
4085
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
4086
|
+
* </note>
|
|
4011
4087
|
*/
|
|
4012
4088
|
disableVpcClassicLinkDnsSupport(args: DisableVpcClassicLinkDnsSupportCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkDnsSupportCommandOutput>;
|
|
4013
4089
|
disableVpcClassicLinkDnsSupport(args: DisableVpcClassicLinkDnsSupportCommandInput, cb: (err: any, data?: DisableVpcClassicLinkDnsSupportCommandOutput) => void): void;
|
|
@@ -4017,6 +4093,10 @@ export declare class EC2 extends EC2Client {
|
|
|
4017
4093
|
* <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more
|
|
4018
4094
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
|
|
4019
4095
|
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4096
|
+
*
|
|
4097
|
+
* <note>
|
|
4098
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
4099
|
+
* </note>
|
|
4020
4100
|
* <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
|
|
4021
4101
|
*/
|
|
4022
4102
|
disassociateAddress(args: DisassociateAddressCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAddressCommandOutput>;
|
|
@@ -4211,7 +4291,10 @@ export declare class EC2 extends EC2Client {
|
|
|
4211
4291
|
enableVolumeIO(args: EnableVolumeIOCommandInput, cb: (err: any, data?: EnableVolumeIOCommandOutput) => void): void;
|
|
4212
4292
|
enableVolumeIO(args: EnableVolumeIOCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVolumeIOCommandOutput) => void): void;
|
|
4213
4293
|
/**
|
|
4214
|
-
* <
|
|
4294
|
+
* <note>
|
|
4295
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
4296
|
+
* </note>
|
|
4297
|
+
* <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
|
|
4215
4298
|
* ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
|
|
4216
4299
|
* enable your VPC for ClassicLink if any of your VPC route tables have existing routes for
|
|
4217
4300
|
* address ranges within the <code>10.0.0.0/8</code> IP address range, excluding local
|
|
@@ -4223,7 +4306,10 @@ export declare class EC2 extends EC2Client {
|
|
|
4223
4306
|
enableVpcClassicLink(args: EnableVpcClassicLinkCommandInput, cb: (err: any, data?: EnableVpcClassicLinkCommandOutput) => void): void;
|
|
4224
4307
|
enableVpcClassicLink(args: EnableVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVpcClassicLinkCommandOutput) => void): void;
|
|
4225
4308
|
/**
|
|
4226
|
-
* <
|
|
4309
|
+
* <note>
|
|
4310
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
4311
|
+
* </note>
|
|
4312
|
+
* <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
|
|
4227
4313
|
* hostname of a linked EC2-Classic instance resolves to its private IP address when
|
|
4228
4314
|
* addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
|
|
4229
4315
|
* of an instance in a VPC resolves to its private IP address when addressed from a linked
|
|
@@ -5020,6 +5106,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5020
5106
|
* type.</p>
|
|
5021
5107
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
|
|
5022
5108
|
* Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
5109
|
+
*
|
|
5110
|
+
* <note>
|
|
5111
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5112
|
+
* </note>
|
|
5023
5113
|
*/
|
|
5024
5114
|
modifyReservedInstances(args: ModifyReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyReservedInstancesCommandOutput>;
|
|
5025
5115
|
modifyReservedInstances(args: ModifyReservedInstancesCommandInput, cb: (err: any, data?: ModifyReservedInstancesCommandOutput) => void): void;
|
|
@@ -5245,7 +5335,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5245
5335
|
modifyVpcEndpointServicePermissions(args: ModifyVpcEndpointServicePermissionsCommandInput, cb: (err: any, data?: ModifyVpcEndpointServicePermissionsCommandOutput) => void): void;
|
|
5246
5336
|
modifyVpcEndpointServicePermissions(args: ModifyVpcEndpointServicePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyVpcEndpointServicePermissionsCommandOutput) => void): void;
|
|
5247
5337
|
/**
|
|
5248
|
-
* <
|
|
5338
|
+
* <note>
|
|
5339
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5340
|
+
* </note>
|
|
5341
|
+
* <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
|
|
5249
5342
|
* <ul>
|
|
5250
5343
|
* <li>
|
|
5251
5344
|
* <p>Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.</p>
|
|
@@ -5367,7 +5460,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5367
5460
|
* be associated with an instance. After the Elastic IP address is moved, it is no longer
|
|
5368
5461
|
* available for use in the EC2-Classic platform, unless you move it back using the
|
|
5369
5462
|
* <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
|
|
5370
|
-
* originally allocated for use in the EC2-VPC platform to the EC2-Classic platform
|
|
5463
|
+
* originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
|
|
5464
|
+
* <note>
|
|
5465
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5466
|
+
* </note>
|
|
5371
5467
|
*/
|
|
5372
5468
|
moveAddressToVpc(args: MoveAddressToVpcCommandInput, options?: __HttpHandlerOptions): Promise<MoveAddressToVpcCommandOutput>;
|
|
5373
5469
|
moveAddressToVpc(args: MoveAddressToVpcCommandInput, cb: (err: any, data?: MoveAddressToVpcCommandOutput) => void): void;
|
|
@@ -5588,6 +5684,9 @@ export declare class EC2 extends EC2Client {
|
|
|
5588
5684
|
* <p>[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it
|
|
5589
5685
|
* from any instance that it's associated with. To disassociate an Elastic IP address without
|
|
5590
5686
|
* releasing it, use <a>DisassociateAddress</a>.</p>
|
|
5687
|
+
* <note>
|
|
5688
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5689
|
+
* </note>
|
|
5591
5690
|
* <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
|
|
5592
5691
|
* before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
|
|
5593
5692
|
* <p>After releasing an Elastic IP address, it is released to the IP address pool.
|
|
@@ -5733,6 +5832,9 @@ export declare class EC2 extends EC2Client {
|
|
|
5733
5832
|
* is the best Spot request method to use?</a> in the
|
|
5734
5833
|
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
5735
5834
|
* </important>
|
|
5835
|
+
* <note>
|
|
5836
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide for Linux Instances</i>.</p>
|
|
5837
|
+
* </note>
|
|
5736
5838
|
*/
|
|
5737
5839
|
requestSpotInstances(args: RequestSpotInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RequestSpotInstancesCommandOutput>;
|
|
5738
5840
|
requestSpotInstances(args: RequestSpotInstancesCommandInput, cb: (err: any, data?: RequestSpotInstancesCommandOutput) => void): void;
|
|
@@ -5797,6 +5899,9 @@ export declare class EC2 extends EC2Client {
|
|
|
5797
5899
|
resetSnapshotAttribute(args: ResetSnapshotAttributeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetSnapshotAttributeCommandOutput) => void): void;
|
|
5798
5900
|
/**
|
|
5799
5901
|
* <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>
|
|
5902
|
+
* <note>
|
|
5903
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5904
|
+
* </note>
|
|
5800
5905
|
*/
|
|
5801
5906
|
restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, options?: __HttpHandlerOptions): Promise<RestoreAddressToClassicCommandOutput>;
|
|
5802
5907
|
restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, cb: (err: any, data?: RestoreAddressToClassicCommandOutput) => void): void;
|
|
@@ -5873,6 +5978,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5873
5978
|
* <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
|
|
5874
5979
|
*
|
|
5875
5980
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
|
|
5981
|
+
*
|
|
5982
|
+
* <note>
|
|
5983
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
5984
|
+
* </note>
|
|
5876
5985
|
*/
|
|
5877
5986
|
revokeSecurityGroupIngress(args: RevokeSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<RevokeSecurityGroupIngressCommandOutput>;
|
|
5878
5987
|
revokeSecurityGroupIngress(args: RevokeSecurityGroupIngressCommandInput, cb: (err: any, data?: RevokeSecurityGroupIngressCommandOutput) => void): void;
|
|
@@ -5935,6 +6044,10 @@ export declare class EC2 extends EC2Client {
|
|
|
5935
6044
|
* pairs</a>.</p>
|
|
5936
6045
|
* <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
|
|
5937
6046
|
* an instance immediately terminates</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html">Troubleshooting connecting to your instance</a>.</p>
|
|
6047
|
+
*
|
|
6048
|
+
* <note>
|
|
6049
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide</i>.</p>
|
|
6050
|
+
* </note>
|
|
5938
6051
|
*/
|
|
5939
6052
|
runInstances(args: RunInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RunInstancesCommandOutput>;
|
|
5940
6053
|
runInstances(args: RunInstancesCommandInput, cb: (err: any, data?: RunInstancesCommandOutput) => void): void;
|
|
@@ -20,6 +20,9 @@ export interface AllocateAddressCommandOutput extends AllocateAddressResult, __M
|
|
|
20
20
|
* 5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.</p>
|
|
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
|
+
* <note>
|
|
24
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
23
26
|
* @example
|
|
24
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
28
|
* ```javascript
|
|
@@ -32,6 +32,10 @@ export interface AssociateAddressCommandOutput extends AssociateAddressResult, _
|
|
|
32
32
|
* Addresses</i> section of <a href="http://aws.amazon.com/ec2/pricing/">Amazon EC2
|
|
33
33
|
* Pricing</a>.</p>
|
|
34
34
|
* </important>
|
|
35
|
+
*
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
35
39
|
* @example
|
|
36
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
41
|
* ```javascript
|
|
@@ -7,7 +7,10 @@ export interface AttachClassicLinkVpcCommandInput extends AttachClassicLinkVpcRe
|
|
|
7
7
|
export interface AttachClassicLinkVpcCommandOutput extends AttachClassicLinkVpcResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <
|
|
10
|
+
* <note>
|
|
11
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
12
|
+
* </note>
|
|
13
|
+
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
|
|
11
14
|
* security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
|
|
12
15
|
* can only link an instance that's in the <code>running</code> state. An instance is
|
|
13
16
|
* automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when
|
|
@@ -8,8 +8,10 @@ export interface AuthorizeSecurityGroupEgressCommandOutput extends AuthorizeSecu
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR
|
|
12
|
+
* address ranges, or to the instances that are associated with the specified source
|
|
13
|
+
* security groups. When specifying an outbound rule for your security group in a VPC, the
|
|
14
|
+
* <code>IpPermissions</code> must include a destination for the traffic.</p>
|
|
13
15
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
14
16
|
* For the TCP and UDP protocols, you must also specify the destination port or port range.
|
|
15
17
|
* For the ICMP protocol, you must also specify the ICMP type and code.
|
|
@@ -10,7 +10,8 @@ export interface AuthorizeSecurityGroupIngressCommandOutput extends AuthorizeSec
|
|
|
10
10
|
* <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
|
11
11
|
* <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR
|
|
12
12
|
* address range, or from the instances that are associated with the specified destination security
|
|
13
|
-
* groups
|
|
13
|
+
* groups. When specifying an inbound rule for your security group in a VPC, the
|
|
14
|
+
* <code>IpPermissions</code> must include a source for the traffic.</p>
|
|
14
15
|
* <p>You specify a protocol for each rule (for example, TCP).
|
|
15
16
|
* For TCP and UDP, you must also specify the destination port or port range.
|
|
16
17
|
* For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
|
|
@@ -18,6 +19,10 @@ export interface AuthorizeSecurityGroupIngressCommandOutput extends AuthorizeSec
|
|
|
18
19
|
* <p>Rule changes are propagated to instances within the security group as quickly as possible.
|
|
19
20
|
* However, a small delay might occur.</p>
|
|
20
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
|
+
*
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
21
26
|
* @example
|
|
22
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
28
|
* ```javascript
|
|
@@ -19,6 +19,9 @@ export interface CreateDefaultVpcCommandOutput extends CreateDefaultVpcResult, _
|
|
|
19
19
|
* supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is
|
|
20
20
|
* that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
|
|
21
21
|
* FAQ</a>.</p>
|
|
22
|
+
* <note>
|
|
23
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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>
|
|
24
|
+
* </note>
|
|
22
25
|
* @example
|
|
23
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
27
|
* ```javascript
|
|
@@ -22,6 +22,10 @@ export interface CreateSecurityGroupCommandOutput extends CreateSecurityGroupRes
|
|
|
22
22
|
* <a>RevokeSecurityGroupIngress</a>, and
|
|
23
23
|
* <a>RevokeSecurityGroupEgress</a>.</p>
|
|
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
|
+
*
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
25
29
|
* @example
|
|
26
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
31
|
* ```javascript
|
|
@@ -12,6 +12,10 @@ export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* referenced by another security group, the operation fails with
|
|
13
13
|
* <code>InvalidGroup.InUse</code> in EC2-Classic or
|
|
14
14
|
* <code>DependencyViolation</code> in EC2-VPC.</p>
|
|
15
|
+
*
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
15
19
|
* @example
|
|
16
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
21
|
* ```javascript
|
|
@@ -42,6 +42,9 @@ export interface DescribeAccountAttributesCommandOutput extends DescribeAccountA
|
|
|
42
42
|
* allocate for use with EC2-VPC.</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* </ul>
|
|
45
|
+
* <note>
|
|
46
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide</i>.</p>
|
|
47
|
+
* </note>
|
|
45
48
|
* @example
|
|
46
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
50
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
|
|
|
10
10
|
* <p>Describes the specified Elastic IP addresses or all of your Elastic IP addresses.</p>
|
|
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
|
+
* <note>
|
|
14
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeClassicLinkInstancesCommandOutput extends DescribeClass
|
|
|
10
10
|
* <p>Describes one or more of your linked EC2-Classic instances. This request only returns
|
|
11
11
|
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
|
|
12
12
|
* use this request to return information about other instances.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -23,6 +23,9 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
|
|
|
23
23
|
* not specify any instance IDs at all, the call fails. If you describe instances and
|
|
24
24
|
* specify only instance IDs that are in an unaffected zone, the call works
|
|
25
25
|
* normally.</p>
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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 EC2 User Guide</i>.</p>
|
|
28
|
+
* </note>
|
|
26
29
|
* @example
|
|
27
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
31
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
|
|
|
10
10
|
* <p>Describes one or more of the Reserved Instances that you purchased.</p>
|
|
11
11
|
* <p>For more information about Reserved Instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved
|
|
12
12
|
* Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>We are retiring EC2-Classic on August 15, 2022. 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
|
+
* </note>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|