@aws-sdk/client-ec2 3.172.0 → 3.175.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 (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateDefaultVpcCommand.js +2 -1
  3. package/dist-cjs/commands/CreateDhcpOptionsCommand.js +1 -2
  4. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  6. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  10. package/dist-cjs/commands/MonitorInstancesCommand.js +1 -2
  11. package/dist-cjs/models/models_0.js +28 -28
  12. package/dist-cjs/models/models_1.js +25 -25
  13. package/dist-cjs/models/models_2.js +26 -26
  14. package/dist-cjs/models/models_3.js +25 -25
  15. package/dist-cjs/models/models_4.js +26 -26
  16. package/dist-cjs/models/models_5.js +14 -14
  17. package/dist-cjs/models/models_6.js +12 -4
  18. package/dist-cjs/protocols/Aws_ec2.js +50 -0
  19. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  20. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  21. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  22. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  23. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  24. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  25. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -1
  26. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  27. package/dist-es/commands/MonitorInstancesCommand.js +1 -2
  28. package/dist-es/models/models_0.js +9 -6
  29. package/dist-es/models/models_1.js +5 -8
  30. package/dist-es/models/models_2.js +8 -5
  31. package/dist-es/models/models_3.js +5 -5
  32. package/dist-es/models/models_4.js +5 -5
  33. package/dist-es/models/models_5.js +2 -2
  34. package/dist-es/models/models_6.js +2 -0
  35. package/dist-es/protocols/Aws_ec2.js +50 -0
  36. package/dist-types/EC2.d.ts +13 -30
  37. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  39. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  40. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -2
  41. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  44. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  46. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  47. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  48. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  49. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  50. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  51. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  52. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  53. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  54. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  55. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  56. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  57. package/dist-types/models/models_0.d.ts +323 -91
  58. package/dist-types/models/models_1.d.ts +112 -141
  59. package/dist-types/models/models_2.d.ts +125 -148
  60. package/dist-types/models/models_3.d.ts +163 -146
  61. package/dist-types/models/models_4.d.ts +233 -347
  62. package/dist-types/models/models_5.d.ts +45 -43
  63. package/dist-types/models/models_6.d.ts +44 -10
  64. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/models/models_0.d.ts +92 -42
  74. package/dist-types/ts3.4/models/models_1.d.ts +35 -46
  75. package/dist-types/ts3.4/models/models_2.d.ts +47 -40
  76. package/dist-types/ts3.4/models/models_3.d.ts +42 -48
  77. package/dist-types/ts3.4/models/models_4.d.ts +46 -91
  78. package/dist-types/ts3.4/models/models_5.d.ts +19 -21
  79. package/dist-types/ts3.4/models/models_6.d.ts +17 -6
  80. package/package.json +1 -1
@@ -3211,9 +3211,6 @@ export declare class EC2 extends EC2Client {
3211
3211
  * not specify any instance IDs at all, the call fails. If you describe instances and
3212
3212
  * specify only instance IDs that are in an unaffected zone, the call works
3213
3213
  * normally.</p>
3214
- * <note>
3215
- * <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>
3216
- * </note>
3217
3214
  */
3218
3215
  describeInstances(args: DescribeInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstancesCommandOutput>;
3219
3216
  describeInstances(args: DescribeInstancesCommandInput, cb: (err: any, data?: DescribeInstancesCommandOutput) => void): void;
@@ -3493,9 +3490,6 @@ export declare class EC2 extends EC2Client {
3493
3490
  * <p>Describes one or more of the Reserved Instances that you purchased.</p>
3494
3491
  * <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
3495
3492
  * Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
3496
- * <note>
3497
- * <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>
3498
- * </note>
3499
3493
  */
3500
3494
  describeReservedInstances(args: DescribeReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesCommandOutput>;
3501
3495
  describeReservedInstances(args: DescribeReservedInstancesCommandInput, cb: (err: any, data?: DescribeReservedInstancesCommandOutput) => void): void;
@@ -3514,9 +3508,6 @@ export declare class EC2 extends EC2Client {
3514
3508
  /**
3515
3509
  * <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>
3516
3510
  * <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>
3517
- * <note>
3518
- * <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>
3519
- * </note>
3520
3511
  */
3521
3512
  describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesModificationsCommandOutput>;
3522
3513
  describeReservedInstancesModifications(args: DescribeReservedInstancesModificationsCommandInput, cb: (err: any, data?: DescribeReservedInstancesModificationsCommandOutput) => void): void;
@@ -3526,9 +3517,6 @@ export declare class EC2 extends EC2Client {
3526
3517
  * <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>
3527
3518
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
3528
3519
  * in the <i>Amazon EC2 User Guide</i>.</p>
3529
- * <note>
3530
- * <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>
3531
- * </note>
3532
3520
  */
3533
3521
  describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedInstancesOfferingsCommandOutput>;
3534
3522
  describeReservedInstancesOfferings(args: DescribeReservedInstancesOfferingsCommandInput, cb: (err: any, data?: DescribeReservedInstancesOfferingsCommandOutput) => void): void;
@@ -3547,20 +3535,12 @@ export declare class EC2 extends EC2Client {
3547
3535
  * <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>
3548
3536
  * <p>After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
3549
3537
  * to purchase Scheduled Instances with that schedule.</p>
3550
- *
3551
- * <note>
3552
- * <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>
3553
- * </note>
3554
3538
  */
3555
3539
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstanceAvailabilityCommandOutput>;
3556
3540
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
3557
3541
  describeScheduledInstanceAvailability(args: DescribeScheduledInstanceAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledInstanceAvailabilityCommandOutput) => void): void;
3558
3542
  /**
3559
3543
  * <p>Describes the specified Scheduled Instances or all your Scheduled Instances.</p>
3560
- *
3561
- * <note>
3562
- * <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>
3563
- * </note>
3564
3544
  */
3565
3545
  describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledInstancesCommandOutput>;
3566
3546
  describeScheduledInstances(args: DescribeScheduledInstancesCommandInput, cb: (err: any, data?: DescribeScheduledInstancesCommandOutput) => void): void;
@@ -5188,15 +5168,13 @@ export declare class EC2 extends EC2Client {
5188
5168
  modifyPrivateDnsNameOptions(args: ModifyPrivateDnsNameOptionsCommandInput, cb: (err: any, data?: ModifyPrivateDnsNameOptionsCommandOutput) => void): void;
5189
5169
  modifyPrivateDnsNameOptions(args: ModifyPrivateDnsNameOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyPrivateDnsNameOptionsCommandOutput) => void): void;
5190
5170
  /**
5191
- * <p>Modifies the Availability Zone, instance count, instance type, or network platform
5192
- * (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be
5193
- * modified must be identical, except for Availability Zone, network platform, and instance
5194
- * type.</p>
5171
+ * <p>Modifies the configuration of your Reserved Instances, such as the Availability Zone,
5172
+ * instance count, or instance type. The Reserved Instances to be modified must be identical,
5173
+ * except for Availability Zone, network platform, and instance type.</p>
5195
5174
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
5196
5175
  * Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
5197
- *
5198
5176
  * <note>
5199
- * <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>
5177
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
5200
5178
  * </note>
5201
5179
  */
5202
5180
  modifyReservedInstances(args: ModifyReservedInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyReservedInstancesCommandOutput>;
@@ -5615,12 +5593,18 @@ export declare class EC2 extends EC2Client {
5615
5593
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved Instances</a> and
5616
5594
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
5617
5595
  * in the <i>Amazon EC2 User Guide</i>.</p>
5596
+ * <note>
5597
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
5598
+ * </note>
5618
5599
  */
5619
5600
  purchaseReservedInstancesOffering(args: PurchaseReservedInstancesOfferingCommandInput, options?: __HttpHandlerOptions): Promise<PurchaseReservedInstancesOfferingCommandOutput>;
5620
5601
  purchaseReservedInstancesOffering(args: PurchaseReservedInstancesOfferingCommandInput, cb: (err: any, data?: PurchaseReservedInstancesOfferingCommandOutput) => void): void;
5621
5602
  purchaseReservedInstancesOffering(args: PurchaseReservedInstancesOfferingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurchaseReservedInstancesOfferingCommandOutput) => void): void;
5622
5603
  /**
5623
- * <p>Purchases the Scheduled Instances with the specified schedule.</p>
5604
+ * <note>
5605
+ * <p>You can no longer purchase Scheduled Instances.</p>
5606
+ * </note>
5607
+ * <p>Purchases the Scheduled Instances with the specified schedule.</p>
5624
5608
  * <p>Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term.
5625
5609
  * Before you can purchase a Scheduled Instance, you must call <a>DescribeScheduledInstanceAvailability</a>
5626
5610
  * to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance,
@@ -5921,7 +5905,7 @@ export declare class EC2 extends EC2Client {
5921
5905
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
5922
5906
  * </important>
5923
5907
  * <note>
5924
- * <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>
5908
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
5925
5909
  * </note>
5926
5910
  */
5927
5911
  requestSpotInstances(args: RequestSpotInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RequestSpotInstancesCommandOutput>;
@@ -6132,9 +6116,8 @@ export declare class EC2 extends EC2Client {
6132
6116
  * pairs</a>.</p>
6133
6117
  * <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
6134
6118
  * 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>
6135
- *
6136
6119
  * <note>
6137
- * <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>
6120
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
6138
6121
  * </note>
6139
6122
  */
6140
6123
  runInstances(args: RunInstancesCommandInput, options?: __HttpHandlerOptions): Promise<RunInstancesCommandOutput>;
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateDefaultVpcRequest, CreateDefaultVpcResult } from "../models/models_0";
4
+ import { CreateDefaultVpcRequest } from "../models/models_0";
5
+ import { CreateDefaultVpcResult } from "../models/models_1";
5
6
  export interface CreateDefaultVpcCommandInput extends CreateDefaultVpcRequest {
6
7
  }
7
8
  export interface CreateDefaultVpcCommandOutput extends CreateDefaultVpcResult, __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateDhcpOptionsRequest } from "../models/models_0";
5
- import { CreateDhcpOptionsResult } from "../models/models_1";
4
+ import { CreateDhcpOptionsRequest, CreateDhcpOptionsResult } from "../models/models_1";
6
5
  export interface CreateDhcpOptionsCommandInput extends CreateDhcpOptionsRequest {
7
6
  }
8
7
  export interface CreateDhcpOptionsCommandOutput extends CreateDhcpOptionsResult, __MetadataBearer {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateTrafficMirrorFilterRequest, CreateTrafficMirrorFilterResult } from "../models/models_1";
4
+ import { CreateTrafficMirrorFilterRequest } from "../models/models_1";
5
+ import { CreateTrafficMirrorFilterResult } from "../models/models_2";
5
6
  export interface CreateTrafficMirrorFilterCommandInput extends CreateTrafficMirrorFilterRequest {
6
7
  }
7
8
  export interface CreateTrafficMirrorFilterCommandOutput extends CreateTrafficMirrorFilterResult, __MetadataBearer {
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateTrafficMirrorFilterRuleRequest } from "../models/models_1";
5
- import { CreateTrafficMirrorFilterRuleResult } from "../models/models_2";
4
+ import { CreateTrafficMirrorFilterRuleRequest, CreateTrafficMirrorFilterRuleResult } from "../models/models_2";
6
5
  export interface CreateTrafficMirrorFilterRuleCommandInput extends CreateTrafficMirrorFilterRuleRequest {
7
6
  }
8
7
  export interface CreateTrafficMirrorFilterRuleCommandOutput extends CreateTrafficMirrorFilterRuleResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeAddressesAttributeRequest, DescribeAddressesAttributeResult } from "../models/models_2";
4
+ import { DescribeAddressesAttributeRequest, DescribeAddressesAttributeResult } from "../models/models_3";
5
5
  export interface DescribeAddressesAttributeCommandInput extends DescribeAddressesAttributeRequest {
6
6
  }
7
7
  export interface DescribeAddressesAttributeCommandOutput extends DescribeAddressesAttributeResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeAddressesRequest, DescribeAddressesResult } from "../models/models_2";
4
+ import { DescribeAddressesRequest, DescribeAddressesResult } from "../models/models_3";
5
5
  export interface DescribeAddressesCommandInput extends DescribeAddressesRequest {
6
6
  }
7
7
  export interface DescribeAddressesCommandOutput extends DescribeAddressesResult, __MetadataBearer {
@@ -23,9 +23,6 @@ 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>
29
26
  * @example
30
27
  * Use a bare-bones client and the command you need to make an API call.
31
28
  * ```javascript
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeLocalGatewayVirtualInterfaceGroupsRequest, DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_3";
4
+ import { DescribeLocalGatewayVirtualInterfaceGroupsRequest, DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_4";
5
5
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandInput extends DescribeLocalGatewayVirtualInterfaceGroupsRequest {
6
6
  }
7
7
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput extends DescribeLocalGatewayVirtualInterfaceGroupsResult, __MetadataBearer {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeLocalGatewaysRequest, DescribeLocalGatewaysResult } from "../models/models_3";
4
+ import { DescribeLocalGatewaysRequest } from "../models/models_3";
5
+ import { DescribeLocalGatewaysResult } from "../models/models_4";
5
6
  export interface DescribeLocalGatewaysCommandInput extends DescribeLocalGatewaysRequest {
6
7
  }
7
8
  export interface DescribeLocalGatewaysCommandOutput extends DescribeLocalGatewaysResult, __MetadataBearer {
@@ -10,9 +10,6 @@ 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>
16
13
  * @example
17
14
  * Use a bare-bones client and the command you need to make an API call.
18
15
  * ```javascript
@@ -9,9 +9,6 @@ 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>
15
12
  * @example
16
13
  * Use a bare-bones client and the command you need to make an API call.
17
14
  * ```javascript
@@ -11,9 +11,6 @@ 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>
17
14
  * @example
18
15
  * Use a bare-bones client and the command you need to make an API call.
19
16
  * ```javascript
@@ -11,10 +11,6 @@ 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>
18
14
  * @example
19
15
  * Use a bare-bones client and the command you need to make an API call.
20
16
  * ```javascript
@@ -8,10 +8,6 @@ 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>
15
11
  * @example
16
12
  * Use a bare-bones client and the command you need to make an API call.
17
13
  * ```javascript
@@ -7,15 +7,13 @@ export interface ModifyReservedInstancesCommandInput extends ModifyReservedInsta
7
7
  export interface ModifyReservedInstancesCommandOutput extends ModifyReservedInstancesResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Modifies the Availability Zone, instance count, instance type, or network platform
11
- * (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be
12
- * modified must be identical, except for Availability Zone, network platform, and instance
13
- * type.</p>
10
+ * <p>Modifies the configuration of your Reserved Instances, such as the Availability Zone,
11
+ * instance count, or instance type. The Reserved Instances to be modified must be identical,
12
+ * except for Availability Zone, network platform, and instance type.</p>
14
13
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
15
14
  * Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
16
- *
17
15
  * <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>
16
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
19
17
  * </note>
20
18
  * @example
21
19
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { MonitorInstancesRequest } from "../models/models_5";
5
- import { MonitorInstancesResult } from "../models/models_6";
4
+ import { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_6";
6
5
  export interface MonitorInstancesCommandInput extends MonitorInstancesRequest {
7
6
  }
8
7
  export interface MonitorInstancesCommandOutput extends MonitorInstancesResult, __MetadataBearer {
@@ -17,6 +17,9 @@ export interface PurchaseReservedInstancesOfferingCommandOutput extends Purchase
17
17
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved Instances</a> and
18
18
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
19
19
  * in the <i>Amazon EC2 User Guide</i>.</p>
20
+ * <note>
21
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
22
+ * </note>
20
23
  * @example
21
24
  * Use a bare-bones client and the command you need to make an API call.
22
25
  * ```javascript
@@ -7,7 +7,10 @@ export interface PurchaseScheduledInstancesCommandInput extends PurchaseSchedule
7
7
  export interface PurchaseScheduledInstancesCommandOutput extends PurchaseScheduledInstancesResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Purchases the Scheduled Instances with the specified schedule.</p>
10
+ * <note>
11
+ * <p>You can no longer purchase Scheduled Instances.</p>
12
+ * </note>
13
+ * <p>Purchases the Scheduled Instances with the specified schedule.</p>
11
14
  * <p>Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term.
12
15
  * Before you can purchase a Scheduled Instance, you must call <a>DescribeScheduledInstanceAvailability</a>
13
16
  * to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance,
@@ -19,7 +19,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
19
19
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
20
20
  * </important>
21
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>
22
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
23
23
  * </note>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
@@ -65,9 +65,8 @@ 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
68
  * <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>
69
+ * <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
71
70
  * </note>
72
71
  * @example
73
72
  * Use a bare-bones client and the command you need to make an API call.