@aws-sdk/client-ec2 3.171.0 → 3.174.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 (68) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  7. package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
  8. package/dist-cjs/models/models_0.js +978 -27
  9. package/dist-cjs/models/models_1.js +250 -18
  10. package/dist-cjs/models/models_2.js +152 -18
  11. package/dist-cjs/models/models_3.js +279 -18
  12. package/dist-cjs/models/models_4.js +106 -18
  13. package/dist-cjs/models/models_5.js +62 -18
  14. package/dist-cjs/models/models_6.js +46 -3
  15. package/dist-cjs/protocols/Aws_ec2.js +88 -0
  16. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
  17. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  18. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  20. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  21. package/dist-es/commands/MonitorInstancesCommand.js +1 -1
  22. package/dist-es/models/models_0.js +966 -12
  23. package/dist-es/models/models_1.js +235 -3
  24. package/dist-es/models/models_2.js +137 -3
  25. package/dist-es/models/models_3.js +264 -3
  26. package/dist-es/models/models_4.js +91 -3
  27. package/dist-es/models/models_5.js +47 -3
  28. package/dist-es/models/models_6.js +33 -0
  29. package/dist-es/protocols/Aws_ec2.js +88 -0
  30. package/dist-types/EC2.d.ts +13 -30
  31. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  35. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  38. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  39. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  40. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  41. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  42. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  43. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  44. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  45. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  46. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  47. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  48. package/dist-types/models/models_0.d.ts +975 -108
  49. package/dist-types/models/models_1.d.ts +288 -143
  50. package/dist-types/models/models_2.d.ts +202 -79
  51. package/dist-types/models/models_3.d.ts +291 -161
  52. package/dist-types/models/models_4.d.ts +221 -103
  53. package/dist-types/models/models_5.d.ts +102 -61
  54. package/dist-types/models/models_6.d.ts +78 -14
  55. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +935 -846
  62. package/dist-types/ts3.4/models/models_1.d.ts +216 -154
  63. package/dist-types/ts3.4/models/models_2.d.ts +145 -83
  64. package/dist-types/ts3.4/models/models_3.d.ts +248 -171
  65. package/dist-types/ts3.4/models/models_4.d.ts +104 -72
  66. package/dist-types/ts3.4/models/models_5.d.ts +61 -47
  67. package/dist-types/ts3.4/models/models_6.d.ts +47 -19
  68. package/package.json +1 -1
@@ -49912,6 +49912,34 @@ var deserializeAws_ec2ActiveInstanceSet = function (output, context) {
49912
49912
  return deserializeAws_ec2ActiveInstance(entry, context);
49913
49913
  });
49914
49914
  };
49915
+ var deserializeAws_ec2AddedPrincipal = function (output, context) {
49916
+ var contents = {
49917
+ PrincipalType: undefined,
49918
+ Principal: undefined,
49919
+ ServicePermissionId: undefined,
49920
+ ServiceId: undefined,
49921
+ };
49922
+ if (output["principalType"] !== undefined) {
49923
+ contents.PrincipalType = __expectString(output["principalType"]);
49924
+ }
49925
+ if (output["principal"] !== undefined) {
49926
+ contents.Principal = __expectString(output["principal"]);
49927
+ }
49928
+ if (output["servicePermissionId"] !== undefined) {
49929
+ contents.ServicePermissionId = __expectString(output["servicePermissionId"]);
49930
+ }
49931
+ if (output["serviceId"] !== undefined) {
49932
+ contents.ServiceId = __expectString(output["serviceId"]);
49933
+ }
49934
+ return contents;
49935
+ };
49936
+ var deserializeAws_ec2AddedPrincipalSet = function (output, context) {
49937
+ return (output || [])
49938
+ .filter(function (e) { return e != null; })
49939
+ .map(function (entry) {
49940
+ return deserializeAws_ec2AddedPrincipal(entry, context);
49941
+ });
49942
+ };
49915
49943
  var deserializeAws_ec2AdditionalDetail = function (output, context) {
49916
49944
  var contents = {
49917
49945
  AdditionalDetailType: undefined,
@@ -50102,6 +50130,9 @@ var deserializeAws_ec2AllowedPrincipal = function (output, context) {
50102
50130
  var contents = {
50103
50131
  PrincipalType: undefined,
50104
50132
  Principal: undefined,
50133
+ ServicePermissionId: undefined,
50134
+ Tags: undefined,
50135
+ ServiceId: undefined,
50105
50136
  };
50106
50137
  if (output["principalType"] !== undefined) {
50107
50138
  contents.PrincipalType = __expectString(output["principalType"]);
@@ -50109,6 +50140,18 @@ var deserializeAws_ec2AllowedPrincipal = function (output, context) {
50109
50140
  if (output["principal"] !== undefined) {
50110
50141
  contents.Principal = __expectString(output["principal"]);
50111
50142
  }
50143
+ if (output["servicePermissionId"] !== undefined) {
50144
+ contents.ServicePermissionId = __expectString(output["servicePermissionId"]);
50145
+ }
50146
+ if (output.tagSet === "") {
50147
+ contents.Tags = [];
50148
+ }
50149
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
50150
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
50151
+ }
50152
+ if (output["serviceId"] !== undefined) {
50153
+ contents.ServiceId = __expectString(output["serviceId"]);
50154
+ }
50112
50155
  return contents;
50113
50156
  };
50114
50157
  var deserializeAws_ec2AllowedPrincipalSet = function (output, context) {
@@ -51186,6 +51229,26 @@ var deserializeAws_ec2CancelSpotInstanceRequestsResult = function (output, conte
51186
51229
  }
51187
51230
  return contents;
51188
51231
  };
51232
+ var deserializeAws_ec2CapacityAllocation = function (output, context) {
51233
+ var contents = {
51234
+ AllocationType: undefined,
51235
+ Count: undefined,
51236
+ };
51237
+ if (output["allocationType"] !== undefined) {
51238
+ contents.AllocationType = __expectString(output["allocationType"]);
51239
+ }
51240
+ if (output["count"] !== undefined) {
51241
+ contents.Count = __strictParseInt32(output["count"]);
51242
+ }
51243
+ return contents;
51244
+ };
51245
+ var deserializeAws_ec2CapacityAllocations = function (output, context) {
51246
+ return (output || [])
51247
+ .filter(function (e) { return e != null; })
51248
+ .map(function (entry) {
51249
+ return deserializeAws_ec2CapacityAllocation(entry, context);
51250
+ });
51251
+ };
51189
51252
  var deserializeAws_ec2CapacityReservation = function (output, context) {
51190
51253
  var contents = {
51191
51254
  CapacityReservationId: undefined,
@@ -51210,6 +51273,7 @@ var deserializeAws_ec2CapacityReservation = function (output, context) {
51210
51273
  OutpostArn: undefined,
51211
51274
  CapacityReservationFleetId: undefined,
51212
51275
  PlacementGroupArn: undefined,
51276
+ CapacityAllocations: undefined,
51213
51277
  };
51214
51278
  if (output["capacityReservationId"] !== undefined) {
51215
51279
  contents.CapacityReservationId = __expectString(output["capacityReservationId"]);
@@ -51280,6 +51344,12 @@ var deserializeAws_ec2CapacityReservation = function (output, context) {
51280
51344
  if (output["placementGroupArn"] !== undefined) {
51281
51345
  contents.PlacementGroupArn = __expectString(output["placementGroupArn"]);
51282
51346
  }
51347
+ if (output.capacityAllocationSet === "") {
51348
+ contents.CapacityAllocations = [];
51349
+ }
51350
+ else if (output["capacityAllocationSet"] !== undefined && output["capacityAllocationSet"]["item"] !== undefined) {
51351
+ contents.CapacityAllocations = deserializeAws_ec2CapacityAllocations(__getArrayIfSingleItem(output["capacityAllocationSet"]["item"]), context);
51352
+ }
51283
51353
  return contents;
51284
51354
  };
51285
51355
  var deserializeAws_ec2CapacityReservationFleet = function (output, context) {
@@ -64000,8 +64070,15 @@ var deserializeAws_ec2ModifyVpcEndpointServicePayerResponsibilityResult = functi
64000
64070
  };
64001
64071
  var deserializeAws_ec2ModifyVpcEndpointServicePermissionsResult = function (output, context) {
64002
64072
  var contents = {
64073
+ AddedPrincipals: undefined,
64003
64074
  ReturnValue: undefined,
64004
64075
  };
64076
+ if (output.addedPrincipalSet === "") {
64077
+ contents.AddedPrincipals = [];
64078
+ }
64079
+ else if (output["addedPrincipalSet"] !== undefined && output["addedPrincipalSet"]["item"] !== undefined) {
64080
+ contents.AddedPrincipals = deserializeAws_ec2AddedPrincipalSet(__getArrayIfSingleItem(output["addedPrincipalSet"]["item"]), context);
64081
+ }
64005
64082
  if (output["return"] !== undefined) {
64006
64083
  contents.ReturnValue = __parseBoolean(output["return"]);
64007
64084
  }
@@ -72109,6 +72186,8 @@ var deserializeAws_ec2VpcEndpointConnection = function (output, context) {
72109
72186
  NetworkLoadBalancerArns: undefined,
72110
72187
  GatewayLoadBalancerArns: undefined,
72111
72188
  IpAddressType: undefined,
72189
+ VpcEndpointConnectionId: undefined,
72190
+ Tags: undefined,
72112
72191
  };
72113
72192
  if (output["serviceId"] !== undefined) {
72114
72193
  contents.ServiceId = __expectString(output["serviceId"]);
@@ -72148,6 +72227,15 @@ var deserializeAws_ec2VpcEndpointConnection = function (output, context) {
72148
72227
  if (output["ipAddressType"] !== undefined) {
72149
72228
  contents.IpAddressType = __expectString(output["ipAddressType"]);
72150
72229
  }
72230
+ if (output["vpcEndpointConnectionId"] !== undefined) {
72231
+ contents.VpcEndpointConnectionId = __expectString(output["vpcEndpointConnectionId"]);
72232
+ }
72233
+ if (output.tagSet === "") {
72234
+ contents.Tags = [];
72235
+ }
72236
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
72237
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
72238
+ }
72151
72239
  return contents;
72152
72240
  };
72153
72241
  var deserializeAws_ec2VpcEndpointConnectionSet = function (output, context) {
@@ -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,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, CreateTrafficMirrorFilterRuleResult } from "../models/models_1";
4
+ import { CreateTrafficMirrorFilterRuleRequest, CreateTrafficMirrorFilterRuleResult } from "../models/models_2";
5
5
  export interface CreateTrafficMirrorFilterRuleCommandInput extends CreateTrafficMirrorFilterRuleRequest {
6
6
  }
7
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,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 { DescribeAggregateIdFormatRequest } from "../models/models_2";
5
- import { DescribeAggregateIdFormatResult } from "../models/models_3";
4
+ import { DescribeAggregateIdFormatRequest, DescribeAggregateIdFormatResult } from "../models/models_3";
6
5
  export interface DescribeAggregateIdFormatCommandInput extends DescribeAggregateIdFormatRequest {
7
6
  }
8
7
  export interface DescribeAggregateIdFormatCommandOutput extends DescribeAggregateIdFormatResult, __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,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 { DescribeLocalGatewayVirtualInterfaceGroupsRequest, DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_3";
4
+ import { DescribeLocalGatewayVirtualInterfaceGroupsRequest } from "../models/models_3";
5
+ import { DescribeLocalGatewayVirtualInterfaceGroupsResult } from "../models/models_4";
5
6
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandInput extends DescribeLocalGatewayVirtualInterfaceGroupsRequest {
6
7
  }
7
8
  export interface DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput extends DescribeLocalGatewayVirtualInterfaceGroupsResult, __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 { DescribeLocalGatewayVirtualInterfacesRequest } from "../models/models_3";
5
- import { DescribeLocalGatewayVirtualInterfacesResult } from "../models/models_4";
4
+ import { DescribeLocalGatewayVirtualInterfacesRequest, DescribeLocalGatewayVirtualInterfacesResult } from "../models/models_4";
6
5
  export interface DescribeLocalGatewayVirtualInterfacesCommandInput extends DescribeLocalGatewayVirtualInterfacesRequest {
7
6
  }
8
7
  export interface DescribeLocalGatewayVirtualInterfacesCommandOutput extends DescribeLocalGatewayVirtualInterfacesResult, __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,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 { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_5";
4
+ import { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_6";
5
5
  export interface MonitorInstancesCommandInput extends MonitorInstancesRequest {
6
6
  }
7
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.