@aws-sdk/client-ec2 3.139.0 → 3.140.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-types/EC2.d.ts +95 -7
  3. package/dist-types/commands/AllocateAddressCommand.d.ts +3 -0
  4. package/dist-types/commands/AssociateAddressCommand.d.ts +4 -0
  5. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +4 -1
  6. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  7. package/dist-types/commands/DescribeAddressesCommand.d.ts +3 -0
  8. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -0
  9. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -0
  11. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +3 -0
  12. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -0
  13. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -0
  14. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +4 -0
  15. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -0
  16. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +4 -1
  17. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -1
  18. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +3 -0
  19. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +4 -0
  20. package/dist-types/commands/DisassociateAddressCommand.d.ts +4 -0
  21. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +4 -1
  22. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +4 -1
  23. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -0
  24. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -1
  25. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +4 -1
  26. package/dist-types/commands/ReleaseAddressCommand.d.ts +3 -0
  27. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -0
  28. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +3 -0
  29. package/dist-types/commands/RunInstancesCommand.d.ts +4 -0
  30. package/dist-types/models/models_0.d.ts +5 -2
  31. package/dist-types/models/models_2.d.ts +4 -1
  32. package/dist-types/models/models_3.d.ts +7 -0
  33. package/dist-types/models/models_4.d.ts +20 -1
  34. package/dist-types/models/models_5.d.ts +8 -2
  35. package/dist-types/models/models_6.d.ts +6 -2
  36. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  37. 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.140.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.139.0...v3.140.0) (2022-07-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-ec2:** Documentation updates for Amazon EC2. ([504891a](https://github.com/aws/aws-sdk-js-v3/commit/504891a60f4cf5f642a8092f32747fad0d8d3f99))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.139.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.138.0...v3.139.0) (2022-07-28)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-ec2
@@ -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
- * <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
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
@@ -1220,6 +1230,9 @@ export declare class EC2 extends EC2Client {
1220
1230
  * supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is
1221
1231
  * that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
1222
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>
1223
1236
  */
1224
1237
  createDefaultVpc(args: CreateDefaultVpcCommandInput, options?: __HttpHandlerOptions): Promise<CreateDefaultVpcCommandOutput>;
1225
1238
  createDefaultVpc(args: CreateDefaultVpcCommandInput, cb: (err: any, data?: CreateDefaultVpcCommandOutput) => void): void;
@@ -2688,6 +2701,9 @@ export declare class EC2 extends EC2Client {
2688
2701
  * <p>Describes the specified Elastic IP addresses or all of your Elastic IP addresses.</p>
2689
2702
  * <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
2690
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>
2691
2707
  */
2692
2708
  describeAddresses(args: DescribeAddressesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAddressesCommandOutput>;
2693
2709
  describeAddresses(args: DescribeAddressesCommandInput, cb: (err: any, data?: DescribeAddressesCommandOutput) => void): void;
@@ -2772,6 +2788,9 @@ export declare class EC2 extends EC2Client {
2772
2788
  * <p>Describes one or more of your linked EC2-Classic instances. This request only returns
2773
2789
  * information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
2774
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>
2775
2794
  */
2776
2795
  describeClassicLinkInstances(args: DescribeClassicLinkInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClassicLinkInstancesCommandOutput>;
2777
2796
  describeClassicLinkInstances(args: DescribeClassicLinkInstancesCommandInput, cb: (err: any, data?: DescribeClassicLinkInstancesCommandOutput) => void): void;
@@ -3110,6 +3129,9 @@ export declare class EC2 extends EC2Client {
3110
3129
  * not specify any instance IDs at all, the call fails. If you describe instances and
3111
3130
  * specify only instance IDs that are in an unaffected zone, the call works
3112
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>
3113
3135
  */
3114
3136
  describeInstances(args: DescribeInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstancesCommandOutput>;
3115
3137
  describeInstances(args: DescribeInstancesCommandInput, cb: (err: any, data?: DescribeInstancesCommandOutput) => void): void;
@@ -3389,6 +3411,9 @@ export declare class EC2 extends EC2Client {
3389
3411
  * <p>Describes one or more of the Reserved Instances that you purchased.</p>
3390
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
3391
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>
3392
3417
  */
3393
3418
  describeReservedInstances(args: DescribeReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesCommandOutput>;
3394
3419
  describeReservedInstances(args: DescribeReservedInstancesCommandInput, cb: (err: any, data?: DescribeReservedInstancesCommandOutput) => void): void;
@@ -3407,6 +3432,9 @@ export declare class EC2 extends EC2Client {
3407
3432
  /**
3408
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>
3409
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>
3410
3438
  */
3411
3439
  describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesModificationsCommandOutput>;
3412
3440
  describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, cb: (err: any, data?: DescribeReservedInstancesModificationsCommandOutput) => void): void;
@@ -3416,6 +3444,9 @@ export declare class EC2 extends EC2Client {
3416
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>
3417
3445
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
3418
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>
3419
3450
  */
3420
3451
  describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesOfferingsCommandOutput>;
3421
3452
  describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, cb: (err: any, data?: DescribeReservedInstancesOfferingsCommandOutput) => void): void;
@@ -3434,12 +3465,20 @@ export declare class EC2 extends EC2Client {
3434
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>
3435
3466
  * <p>After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
3436
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>
3437
3472
  */
3438
3473
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstanceAvailabilityCommandOutput>;
3439
3474
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
3440
3475
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
3441
3476
  /**
3442
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>
3443
3482
  */
3444
3483
  describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstancesCommandOutput>;
3445
3484
  describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, cb: (err: any, data?: DescribeScheduledInstancesCommandOutput) => void): void;
@@ -3815,12 +3854,18 @@ export declare class EC2 extends EC2Client {
3815
3854
  describeVpcAttribute(args: DescribeVpcAttributeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcAttributeCommandOutput) => void): void;
3816
3855
  /**
3817
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>
3818
3860
  */
3819
3861
  describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcClassicLinkCommandOutput>;
3820
3862
  describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, cb: (err: any, data?: DescribeVpcClassicLinkCommandOutput) => void): void;
3821
3863
  describeVpcClassicLink(args: DescribeVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcClassicLinkCommandOutput) => void): void;
3822
3864
  /**
3823
- * <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
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
3824
3869
  * hostname of a linked EC2-Classic instance resolves to its private IP address when
3825
3870
  * addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
3826
3871
  * of an instance in a VPC resolves to its private IP address when addressed from a linked
@@ -3904,7 +3949,10 @@ export declare class EC2 extends EC2Client {
3904
3949
  describeVpnGateways(args: DescribeVpnGatewaysCommandInput, cb: (err: any, data?: DescribeVpnGatewaysCommandOutput) => void): void;
3905
3950
  describeVpnGateways(args: DescribeVpnGatewaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpnGatewaysCommandOutput) => void): void;
3906
3951
  /**
3907
- * <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>
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>
3908
3956
  */
3909
3957
  detachClassicLinkVpc(args: DetachClassicLinkVpcCommandInput, options?: __HttpHandlerOptions): Promise<DetachClassicLinkVpcCommandOutput>;
3910
3958
  detachClassicLinkVpc(args: DetachClassicLinkVpcCommandInput, cb: (err: any, data?: DetachClassicLinkVpcCommandOutput) => void): void;
@@ -4019,6 +4067,9 @@ export declare class EC2 extends EC2Client {
4019
4067
  disableVgwRoutePropagation(args: DisableVgwRoutePropagationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableVgwRoutePropagationCommandOutput) => void): void;
4020
4068
  /**
4021
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>
4022
4073
  */
4023
4074
  disableVpcClassicLink(args: DisableVpcClassicLinkCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkCommandOutput>;
4024
4075
  disableVpcClassicLink(args: DisableVpcClassicLinkCommandInput, cb: (err: any, data?: DisableVpcClassicLinkCommandOutput) => void): void;
@@ -4029,6 +4080,10 @@ export declare class EC2 extends EC2Client {
4029
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
4030
4081
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4031
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>
4032
4087
  */
4033
4088
  disableVpcClassicLinkDnsSupport(args: DisableVpcClassicLinkDnsSupportCommandInput, options?: __HttpHandlerOptions): Promise<DisableVpcClassicLinkDnsSupportCommandOutput>;
4034
4089
  disableVpcClassicLinkDnsSupport(args: DisableVpcClassicLinkDnsSupportCommandInput, cb: (err: any, data?: DisableVpcClassicLinkDnsSupportCommandOutput) => void): void;
@@ -4038,6 +4093,10 @@ export declare class EC2 extends EC2Client {
4038
4093
  * <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more
4039
4094
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
4040
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>
4041
4100
  * <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
4042
4101
  */
4043
4102
  disassociateAddress(args: DisassociateAddressCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAddressCommandOutput>;
@@ -4232,7 +4291,10 @@ export declare class EC2 extends EC2Client {
4232
4291
  enableVolumeIO(args: EnableVolumeIOCommandInput, cb: (err: any, data?: EnableVolumeIOCommandOutput) => void): void;
4233
4292
  enableVolumeIO(args: EnableVolumeIOCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVolumeIOCommandOutput) => void): void;
4234
4293
  /**
4235
- * <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
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
4236
4298
  * ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
4237
4299
  * enable your VPC for ClassicLink if any of your VPC route tables have existing routes for
4238
4300
  * address ranges within the <code>10.0.0.0/8</code> IP address range, excluding local
@@ -4244,7 +4306,10 @@ export declare class EC2 extends EC2Client {
4244
4306
  enableVpcClassicLink(args: EnableVpcClassicLinkCommandInput, cb: (err: any, data?: EnableVpcClassicLinkCommandOutput) => void): void;
4245
4307
  enableVpcClassicLink(args: EnableVpcClassicLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableVpcClassicLinkCommandOutput) => void): void;
4246
4308
  /**
4247
- * <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
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
4248
4313
  * hostname of a linked EC2-Classic instance resolves to its private IP address when
4249
4314
  * addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
4250
4315
  * of an instance in a VPC resolves to its private IP address when addressed from a linked
@@ -5041,6 +5106,10 @@ export declare class EC2 extends EC2Client {
5041
5106
  * type.</p>
5042
5107
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
5043
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>
5044
5113
  */
5045
5114
  modifyReservedInstances(args: ModifyReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyReservedInstancesCommandOutput>;
5046
5115
  modifyReservedInstances(args: ModifyReservedInstancesCommandInput, cb: (err: any, data?: ModifyReservedInstancesCommandOutput) => void): void;
@@ -5266,7 +5335,10 @@ export declare class EC2 extends EC2Client {
5266
5335
  modifyVpcEndpointServicePermissions(args: ModifyVpcEndpointServicePermissionsCommandInput, cb: (err: any, data?: ModifyVpcEndpointServicePermissionsCommandOutput) => void): void;
5267
5336
  modifyVpcEndpointServicePermissions(args: ModifyVpcEndpointServicePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyVpcEndpointServicePermissionsCommandOutput) => void): void;
5268
5337
  /**
5269
- * <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
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>
5270
5342
  * <ul>
5271
5343
  * <li>
5272
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>
@@ -5388,7 +5460,10 @@ export declare class EC2 extends EC2Client {
5388
5460
  * be associated with an instance. After the Elastic IP address is moved, it is no longer
5389
5461
  * available for use in the EC2-Classic platform, unless you move it back using the
5390
5462
  * <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
5391
- * originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. </p>
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>
5392
5467
  */
5393
5468
  moveAddressToVpc(args: MoveAddressToVpcCommandInput, options?: __HttpHandlerOptions): Promise<MoveAddressToVpcCommandOutput>;
5394
5469
  moveAddressToVpc(args: MoveAddressToVpcCommandInput, cb: (err: any, data?: MoveAddressToVpcCommandOutput) => void): void;
@@ -5609,6 +5684,9 @@ export declare class EC2 extends EC2Client {
5609
5684
  * <p>[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it
5610
5685
  * from any instance that it's associated with. To disassociate an Elastic IP address without
5611
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>
5612
5690
  * <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
5613
5691
  * before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
5614
5692
  * <p>After releasing an Elastic IP address, it is released to the IP address pool.
@@ -5754,6 +5832,9 @@ export declare class EC2 extends EC2Client {
5754
5832
  * is the best Spot request method to use?</a> in the
5755
5833
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
5756
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>
5757
5838
  */
5758
5839
  requestSpotInstances(args: RequestSpotInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RequestSpotInstancesCommandOutput>;
5759
5840
  requestSpotInstances(args: RequestSpotInstancesCommandInput, cb: (err: any, data?: RequestSpotInstancesCommandOutput) => void): void;
@@ -5818,6 +5899,9 @@ export declare class EC2 extends EC2Client {
5818
5899
  resetSnapshotAttribute(args: ResetSnapshotAttributeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetSnapshotAttributeCommandOutput) => void): void;
5819
5900
  /**
5820
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>
5821
5905
  */
5822
5906
  restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, options?: __HttpHandlerOptions): Promise<RestoreAddressToClassicCommandOutput>;
5823
5907
  restoreAddressToClassic(args: RestoreAddressToClassicCommandInput, cb: (err: any, data?: RestoreAddressToClassicCommandOutput) => void): void;
@@ -5960,6 +6044,10 @@ export declare class EC2 extends EC2Client {
5960
6044
  * pairs</a>.</p>
5961
6045
  * <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
5962
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>
5963
6051
  */
5964
6052
  runInstances(args: RunInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RunInstancesCommandOutput>;
5965
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
- * <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
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
@@ -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
@@ -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
@@ -9,6 +9,9 @@ export interface DescribeReservedInstancesModificationsCommandOutput extends Des
9
9
  /**
10
10
  * <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>
11
11
  * <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>
12
+ * <note>
13
+ * <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>
14
+ * </note>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -11,6 +11,9 @@ export interface DescribeReservedInstancesOfferingsCommandOutput extends Describ
11
11
  * <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>
12
12
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
13
13
  * in the <i>Amazon EC2 User Guide</i>.</p>
14
+ * <note>
15
+ * <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>
16
+ * </note>
14
17
  * @example
15
18
  * Use a bare-bones client and the command you need to make an API call.
16
19
  * ```javascript
@@ -11,6 +11,10 @@ export interface DescribeScheduledInstanceAvailabilityCommandOutput extends Desc
11
11
  * <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>
12
12
  * <p>After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
13
13
  * to purchase Scheduled Instances with that schedule.</p>
14
+ *
15
+ * <note>
16
+ * <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>
17
+ * </note>
14
18
  * @example
15
19
  * Use a bare-bones client and the command you need to make an API call.
16
20
  * ```javascript
@@ -8,6 +8,10 @@ export interface DescribeScheduledInstancesCommandOutput extends DescribeSchedul
8
8
  }
9
9
  /**
10
10
  * <p>Describes the specified Scheduled Instances or all your Scheduled Instances.</p>
11
+ *
12
+ * <note>
13
+ * <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>
14
+ * </note>
11
15
  * @example
12
16
  * Use a bare-bones client and the command you need to make an API call.
13
17
  * ```javascript
@@ -8,6 +8,9 @@ export interface DescribeVpcClassicLinkCommandOutput extends DescribeVpcClassicL
8
8
  }
9
9
  /**
10
10
  * <p>Describes the ClassicLink status of one or more VPCs.</p>
11
+ * <note>
12
+ * <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>
13
+ * </note>
11
14
  * @example
12
15
  * Use a bare-bones client and the command you need to make an API call.
13
16
  * ```javascript
@@ -7,7 +7,10 @@ export interface DescribeVpcClassicLinkDnsSupportCommandInput extends DescribeVp
7
7
  export interface DescribeVpcClassicLinkDnsSupportCommandOutput extends DescribeVpcClassicLinkDnsSupportResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
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>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
11
14
  * hostname of a linked EC2-Classic instance resolves to its private IP address when
12
15
  * addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
13
16
  * of an instance in a VPC resolves to its private IP address when addressed from a linked
@@ -7,7 +7,10 @@ export interface DetachClassicLinkVpcCommandInput extends DetachClassicLinkVpcRe
7
7
  export interface DetachClassicLinkVpcCommandOutput extends DetachClassicLinkVpcResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <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>
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>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>
11
14
  * @example
12
15
  * Use a bare-bones client and the command you need to make an API call.
13
16
  * ```javascript
@@ -8,6 +8,9 @@ export interface DisableVpcClassicLinkCommandOutput extends DisableVpcClassicLin
8
8
  }
9
9
  /**
10
10
  * <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.</p>
11
+ * <note>
12
+ * <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>
13
+ * </note>
11
14
  * @example
12
15
  * Use a bare-bones client and the command you need to make an API call.
13
16
  * ```javascript
@@ -12,6 +12,10 @@ export interface DisableVpcClassicLinkDnsSupportCommandOutput extends DisableVpc
12
12
  * 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
13
13
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
14
14
  * <p>You must specify a VPC ID in the request.</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
@@ -11,6 +11,10 @@ export interface DisassociateAddressCommandOutput extends __MetadataBearer {
11
11
  * <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more
12
12
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
13
13
  * Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
14
+ *
15
+ * <note>
16
+ * <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>
17
+ * </note>
14
18
  * <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
15
19
  * @example
16
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,10 @@ export interface EnableVpcClassicLinkCommandInput extends EnableVpcClassicLinkRe
7
7
  export interface EnableVpcClassicLinkCommandOutput extends EnableVpcClassicLinkResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
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>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
11
14
  * ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
12
15
  * enable your VPC for ClassicLink if any of your VPC route tables have existing routes for
13
16
  * address ranges within the <code>10.0.0.0/8</code> IP address range, excluding local
@@ -7,7 +7,10 @@ export interface EnableVpcClassicLinkDnsSupportCommandInput extends EnableVpcCla
7
7
  export interface EnableVpcClassicLinkDnsSupportCommandOutput extends EnableVpcClassicLinkDnsSupportResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
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>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
11
14
  * hostname of a linked EC2-Classic instance resolves to its private IP address when
12
15
  * addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
13
16
  * of an instance in a VPC resolves to its private IP address when addressed from a linked
@@ -13,6 +13,10 @@ export interface ModifyReservedInstancesCommandOutput extends ModifyReservedInst
13
13
  * type.</p>
14
14
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
15
15
  * Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
16
+ *
17
+ * <note>
18
+ * <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>
19
+ * </note>
16
20
  * @example
17
21
  * Use a bare-bones client and the command you need to make an API call.
18
22
  * ```javascript
@@ -7,7 +7,10 @@ export interface ModifyVpcPeeringConnectionOptionsCommandInput extends ModifyVpc
7
7
  export interface ModifyVpcPeeringConnectionOptionsCommandOutput extends ModifyVpcPeeringConnectionOptionsResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
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>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
11
14
  * <ul>
12
15
  * <li>
13
16
  * <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>
@@ -12,7 +12,10 @@ export interface MoveAddressToVpcCommandOutput extends MoveAddressToVpcResult, _
12
12
  * be associated with an instance. After the Elastic IP address is moved, it is no longer
13
13
  * available for use in the EC2-Classic platform, unless you move it back using the
14
14
  * <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
15
- * originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. </p>
15
+ * originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.</p>
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>
16
19
  * @example
17
20
  * Use a bare-bones client and the command you need to make an API call.
18
21
  * ```javascript
@@ -11,6 +11,9 @@ export interface ReleaseAddressCommandOutput extends __MetadataBearer {
11
11
  * <p>[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it
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
+ * <note>
15
+ * <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>
16
+ * </note>
14
17
  * <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
15
18
  * before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
16
19
  * <p>After releasing an Elastic IP address, it is released to the IP address pool.
@@ -18,6 +18,9 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
18
18
  * is the best Spot request method to use?</a> in the
19
19
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
20
20
  * </important>
21
+ * <note>
22
+ * <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>
23
+ * </note>
21
24
  * @example
22
25
  * Use a bare-bones client and the command you need to make an API call.
23
26
  * ```javascript
@@ -8,6 +8,9 @@ export interface RestoreAddressToClassicCommandOutput extends RestoreAddressToCl
8
8
  }
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
+ * <note>
12
+ * <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>
13
+ * </note>
11
14
  * @example
12
15
  * Use a bare-bones client and the command you need to make an API call.
13
16
  * ```javascript
@@ -65,6 +65,10 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
65
65
  * pairs</a>.</p>
66
66
  * <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
67
67
  * 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>
68
+ *
69
+ * <note>
70
+ * <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>
71
+ * </note>
68
72
  * @example
69
73
  * Use a bare-bones client and the command you need to make an API call.
70
74
  * ```javascript
@@ -479,7 +479,10 @@ export interface Ipv6CidrBlock {
479
479
  Ipv6CidrBlock?: string;
480
480
  }
481
481
  /**
482
- * <p>Describes the VPC peering connection options.</p>
482
+ * <note>
483
+ * <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>
484
+ * </note>
485
+ * <p>Describes the VPC peering connection options.</p>
483
486
  */
484
487
  export interface VpcPeeringConnectionOptionsDescription {
485
488
  /**
@@ -1299,7 +1302,7 @@ export interface AdvertiseByoipCidrResult {
1299
1302
  ByoipCidr?: ByoipCidr;
1300
1303
  }
1301
1304
  export declare type Affinity = "default" | "host";
1302
- export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1305
+ export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1303
1306
  /**
1304
1307
  * <p>The tags to apply to a resource when the resource is being created.</p>
1305
1308
  * <note>
@@ -5009,7 +5009,10 @@ export interface DescribeClassicLinkInstancesRequest {
5009
5009
  NextToken?: string;
5010
5010
  }
5011
5011
  /**
5012
- * <p>Describes a linked EC2-Classic instance.</p>
5012
+ * <note>
5013
+ * <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>
5014
+ * </note>
5015
+ * <p>Describes a linked EC2-Classic instance.</p>
5013
5016
  */
5014
5017
  export interface ClassicLinkInstance {
5015
5018
  /**
@@ -5576,6 +5576,10 @@ export interface Instance {
5576
5576
  * <p>Describes a launch request for one or more instances, and includes owner, requester,
5577
5577
  * and security group information that applies to all instances in the launch
5578
5578
  * request.</p>
5579
+ *
5580
+ * <note>
5581
+ * <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>
5582
+ * </note>
5579
5583
  */
5580
5584
  export interface Reservation {
5581
5585
  /**
@@ -7803,6 +7807,9 @@ export interface DescribeMovingAddressesRequest {
7803
7807
  export declare type MoveStatus = "movingToVpc" | "restoringToClassic";
7804
7808
  /**
7805
7809
  * <p>Describes the status of a moving Elastic IP address.</p>
7810
+ * <note>
7811
+ * <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>
7812
+ * </note>
7806
7813
  */
7807
7814
  export interface MovingAddressStatus {
7808
7815
  /**
@@ -1353,6 +1353,9 @@ export interface DescribeReservedInstancesModificationsRequest {
1353
1353
  }
1354
1354
  /**
1355
1355
  * <p>Describes the configuration settings for the modified Reserved Instances.</p>
1356
+ * <note>
1357
+ * <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>
1358
+ * </note>
1356
1359
  */
1357
1360
  export interface ReservedInstancesConfiguration {
1358
1361
  /**
@@ -1968,6 +1971,9 @@ export interface ScheduledInstanceRecurrence {
1968
1971
  }
1969
1972
  /**
1970
1973
  * <p>Describes a schedule that is available for your Scheduled Instances.</p>
1974
+ * <note>
1975
+ * <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>
1976
+ * </note>
1971
1977
  */
1972
1978
  export interface ScheduledInstanceAvailability {
1973
1979
  /**
@@ -2103,6 +2109,9 @@ export interface DescribeScheduledInstancesRequest {
2103
2109
  }
2104
2110
  /**
2105
2111
  * <p>Describes a Scheduled Instance.</p>
2112
+ * <note>
2113
+ * <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>
2114
+ * </note>
2106
2115
  */
2107
2116
  export interface ScheduledInstance {
2108
2117
  /**
@@ -3125,6 +3134,10 @@ export interface SpotFleetTagSpecification {
3125
3134
  * <p>Describes the launch specification for one or more Spot Instances. If you include
3126
3135
  * On-Demand capacity in your fleet request or want to specify an EFA network device, you
3127
3136
  * can't use <code>SpotFleetLaunchSpecification</code>; you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
3137
+ *
3138
+ * <note>
3139
+ * <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>
3140
+ * </note>
3128
3141
  */
3129
3142
  export interface SpotFleetLaunchSpecification {
3130
3143
  /**
@@ -3894,6 +3907,9 @@ export interface RunInstancesMonitoringEnabled {
3894
3907
  }
3895
3908
  /**
3896
3909
  * <p>Describes the launch specification for an instance.</p>
3910
+ * <note>
3911
+ * <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>
3912
+ * </note>
3897
3913
  */
3898
3914
  export interface LaunchSpecification {
3899
3915
  /**
@@ -6066,7 +6082,10 @@ export interface DescribeVpcClassicLinkRequest {
6066
6082
  VpcIds?: string[];
6067
6083
  }
6068
6084
  /**
6069
- * <p>Describes whether a VPC is enabled for ClassicLink.</p>
6085
+ * <note>
6086
+ * <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>
6087
+ * </note>
6088
+ * <p>Describes whether a VPC is enabled for ClassicLink.</p>
6070
6089
  */
6071
6090
  export interface VpcClassicLink {
6072
6091
  /**
@@ -5269,7 +5269,10 @@ export interface ModifyVpcEndpointServicePermissionsResult {
5269
5269
  ReturnValue?: boolean;
5270
5270
  }
5271
5271
  /**
5272
- * <p>The VPC peering connection options.</p>
5272
+ * <note>
5273
+ * <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>
5274
+ * </note>
5275
+ * <p>The VPC peering connection options.</p>
5273
5276
  */
5274
5277
  export interface PeeringConnectionOptionsRequest {
5275
5278
  /**
@@ -5308,7 +5311,10 @@ export interface ModifyVpcPeeringConnectionOptionsRequest {
5308
5311
  VpcPeeringConnectionId: string | undefined;
5309
5312
  }
5310
5313
  /**
5311
- * <p>Describes the VPC peering connection options.</p>
5314
+ * <note>
5315
+ * <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>
5316
+ * </note>
5317
+ * <p>Describes the VPC peering connection options.</p>
5312
5318
  */
5313
5319
  export interface PeeringConnectionOptions {
5314
5320
  /**
@@ -1404,8 +1404,12 @@ export interface LaunchTemplateSpecification {
1404
1404
  */
1405
1405
  LaunchTemplateName?: string;
1406
1406
  /**
1407
- * <p>The version number of the launch template.</p>
1408
- * <p>Default: The default version for the launch template.</p>
1407
+ * <p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>.</p>
1408
+ * <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch
1409
+ * template.</p>
1410
+ * <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch
1411
+ * template.</p>
1412
+ * <p>Default: The default version of the launch template.</p>
1409
1413
  */
1410
1414
  Version?: string;
1411
1415
  }
@@ -676,7 +676,7 @@ export interface AdvertiseByoipCidrResult {
676
676
  ByoipCidr?: ByoipCidr;
677
677
  }
678
678
  export declare type Affinity = "default" | "host";
679
- export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
679
+ export declare type ResourceType = "capacity-reservation" | "capacity-reservation-fleet" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-filter-rule" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection-device-type" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
680
680
 
681
681
  export interface TagSpecification {
682
682
 
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.139.0",
4
+ "version": "3.140.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",