@aws-sdk/client-ec2 3.805.0 → 3.806.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 (66) hide show
  1. package/dist-cjs/index.js +78 -22
  2. package/dist-cjs/runtimeConfig.js +6 -6
  3. package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
  4. package/dist-es/models/models_4.js +4 -0
  5. package/dist-es/models/models_7.js +0 -7
  6. package/dist-es/models/models_8.js +7 -1
  7. package/dist-es/protocols/Aws_ec2.js +50 -0
  8. package/dist-es/runtimeConfig.js +6 -6
  9. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +6 -6
  10. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +17 -13
  11. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +1 -0
  12. package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +2 -1
  13. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -1
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
  16. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -3
  17. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +14 -11
  18. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +2 -1
  19. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +4 -0
  21. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +3 -1
  25. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -5
  26. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -4
  27. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +16 -7
  28. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +6 -4
  29. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +9 -5
  30. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -0
  31. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
  32. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -1
  33. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -3
  34. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +3 -3
  35. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
  36. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -3
  37. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  38. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +7 -7
  39. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  40. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -0
  41. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +2 -1
  42. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  43. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  44. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -2
  45. package/dist-types/models/models_0.d.ts +60 -36
  46. package/dist-types/models/models_1.d.ts +121 -90
  47. package/dist-types/models/models_2.d.ts +86 -53
  48. package/dist-types/models/models_3.d.ts +23 -19
  49. package/dist-types/models/models_4.d.ts +76 -35
  50. package/dist-types/models/models_5.d.ts +281 -203
  51. package/dist-types/models/models_6.d.ts +25 -28
  52. package/dist-types/models/models_7.d.ts +72 -57
  53. package/dist-types/models/models_8.d.ts +32 -7
  54. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  59. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  60. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_4.d.ts +11 -7
  62. package/dist-types/ts3.4/models/models_5.d.ts +8 -3
  63. package/dist-types/ts3.4/models/models_6.d.ts +3 -4
  64. package/dist-types/ts3.4/models/models_7.d.ts +6 -8
  65. package/dist-types/ts3.4/models/models_8.d.ts +8 -0
  66. package/package.json +16 -16
@@ -386,8 +386,8 @@ export interface AcceptCapacityReservationBillingOwnershipResult {
386
386
  */
387
387
  export interface TargetConfigurationRequest {
388
388
  /**
389
- * <p>The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot
390
- * be specified in a request</p>
389
+ * <p>The number of instances the Convertible Reserved Instance offering can be applied to. This
390
+ * parameter is reserved and cannot be specified in a request</p>
391
391
  * @public
392
392
  */
393
393
  InstanceCount?: number | undefined;
@@ -403,21 +403,22 @@ export interface TargetConfigurationRequest {
403
403
  */
404
404
  export interface AcceptReservedInstancesExchangeQuoteRequest {
405
405
  /**
406
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
407
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
408
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
406
+ * <p>Checks whether you have the required permissions for the action, without actually making
407
+ * the request, and provides an error response. If you have the required permissions, the error
408
+ * response is <code>DryRunOperation</code>. Otherwise, it is
409
+ * <code>UnauthorizedOperation</code>.</p>
409
410
  * @public
410
411
  */
411
412
  DryRun?: boolean | undefined;
412
413
  /**
413
- * <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible
414
- * Reserved Instance of the same or higher value.</p>
414
+ * <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved
415
+ * Instance of the same or higher value.</p>
415
416
  * @public
416
417
  */
417
418
  ReservedInstanceIds: string[] | undefined;
418
419
  /**
419
- * <p>The configuration of the target Convertible Reserved Instance to exchange for your
420
- * current Convertible Reserved Instances.</p>
420
+ * <p>The configuration of the target Convertible Reserved Instance to exchange for your current
421
+ * Convertible Reserved Instances.</p>
421
422
  * @public
422
423
  */
423
424
  TargetConfigurations?: TargetConfigurationRequest[] | undefined;
@@ -3451,16 +3452,17 @@ export interface AssignIpv6AddressesRequest {
3451
3452
  */
3452
3453
  NetworkInterfaceId: string | undefined;
3453
3454
  /**
3454
- * <p>The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.</p>
3455
+ * <p>The IPv6 addresses to be assigned to the network interface. You can't use this option
3456
+ * if you're specifying a number of IPv6 addresses.</p>
3455
3457
  * @public
3456
3458
  */
3457
3459
  Ipv6Addresses?: string[] | undefined;
3458
3460
  /**
3459
- * <p>The number of additional IPv6 addresses to assign to the network interface.
3460
- * The specified number of IPv6 addresses are assigned in addition to the
3461
- * existing IPv6 addresses that are already assigned to the network interface.
3462
- * Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You
3463
- * can't use this option if specifying specific IPv6 addresses.</p>
3461
+ * <p>The number of additional IPv6 addresses to assign to the network interface. The
3462
+ * specified number of IPv6 addresses are assigned in addition to the existing IPv6
3463
+ * addresses that are already assigned to the network interface. Amazon EC2 automatically
3464
+ * selects the IPv6 addresses from the subnet range. You can't use this option if
3465
+ * specifying specific IPv6 addresses.</p>
3464
3466
  * @public
3465
3467
  */
3466
3468
  Ipv6AddressCount?: number | undefined;
@@ -3470,8 +3472,8 @@ export interface AssignIpv6AddressesRequest {
3470
3472
  */
3471
3473
  export interface AssignIpv6AddressesResult {
3472
3474
  /**
3473
- * <p>The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses
3474
- * that were assigned to the network interface before the request are not included.</p>
3475
+ * <p>The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses that
3476
+ * were assigned to the network interface before the request are not included.</p>
3475
3477
  * @public
3476
3478
  */
3477
3479
  AssignedIpv6Addresses?: string[] | undefined;
@@ -3507,18 +3509,23 @@ export interface AssignPrivateIpAddressesRequest {
3507
3509
  */
3508
3510
  NetworkInterfaceId: string | undefined;
3509
3511
  /**
3510
- * <p>The IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.</p>
3511
- * <p>If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.</p>
3512
+ * <p>The IP addresses to be assigned as a secondary private IP address to the network
3513
+ * interface. You can't specify this parameter when also specifying a number of secondary
3514
+ * IP addresses.</p>
3515
+ * <p>If you don't specify an IP address, Amazon EC2 automatically selects an IP address within
3516
+ * the subnet range.</p>
3512
3517
  * @public
3513
3518
  */
3514
3519
  PrivateIpAddresses?: string[] | undefined;
3515
3520
  /**
3516
- * <p>The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.</p>
3521
+ * <p>The number of secondary IP addresses to assign to the network interface. You can't
3522
+ * specify this parameter when also specifying private IP addresses.</p>
3517
3523
  * @public
3518
3524
  */
3519
3525
  SecondaryPrivateIpAddressCount?: number | undefined;
3520
3526
  /**
3521
- * <p>Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.</p>
3527
+ * <p>Indicates whether to allow an IP address that is already assigned to another network
3528
+ * interface or instance to be reassigned to the specified network interface.</p>
3522
3529
  * @public
3523
3530
  */
3524
3531
  AllowReassignment?: boolean | undefined;
@@ -5319,21 +5326,28 @@ export interface EnaSrdSpecification {
5319
5326
  */
5320
5327
  export interface AttachNetworkInterfaceRequest {
5321
5328
  /**
5322
- * <p>The index of the network card. Some instance types support multiple network cards.
5323
- * The primary network interface must be assigned to network card index 0.
5324
- * The default is network card index 0.</p>
5329
+ * <p>The index of the network card. Some instance types support multiple network cards. The
5330
+ * primary network interface must be assigned to network card index 0. The default is
5331
+ * network card index 0.</p>
5325
5332
  * @public
5326
5333
  */
5327
5334
  NetworkCardIndex?: number | undefined;
5328
5335
  /**
5329
- * <p>Configures ENA Express for the network interface that this action attaches to the instance.</p>
5336
+ * <p>Configures ENA Express for the network interface that this action attaches to the
5337
+ * instance.</p>
5330
5338
  * @public
5331
5339
  */
5332
5340
  EnaSrdSpecification?: EnaSrdSpecification | undefined;
5333
5341
  /**
5334
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5335
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5336
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5342
+ * <p>The number of ENA queues to be created with the instance.</p>
5343
+ * @public
5344
+ */
5345
+ EnaQueueCount?: number | undefined;
5346
+ /**
5347
+ * <p>Checks whether you have the required permissions for the action, without actually
5348
+ * making the request, and provides an error response. If you have the required
5349
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
5350
+ * <code>UnauthorizedOperation</code>.</p>
5337
5351
  * @public
5338
5352
  */
5339
5353
  DryRun?: boolean | undefined;
@@ -6919,7 +6933,8 @@ export type ListingState = (typeof ListingState)[keyof typeof ListingState];
6919
6933
  */
6920
6934
  export interface InstanceCount {
6921
6935
  /**
6922
- * <p>The number of listed Reserved Instances in the state specified by the <code>state</code>.</p>
6936
+ * <p>The number of listed Reserved Instances in the state specified by the
6937
+ * <code>state</code>.</p>
6923
6938
  * @public
6924
6939
  */
6925
6940
  InstanceCount?: number | undefined;
@@ -6946,14 +6961,20 @@ export type CurrencyCodeValues = (typeof CurrencyCodeValues)[keyof typeof Curren
6946
6961
  */
6947
6962
  export interface PriceSchedule {
6948
6963
  /**
6949
- * <p>The current price schedule, as determined by the term remaining for the Reserved Instance in the listing.</p>
6950
- * <p>A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1.</p>
6964
+ * <p>The current price schedule, as determined by the term remaining for the Reserved Instance
6965
+ * in the listing.</p>
6966
+ * <p>A specific price schedule is always in effect, but only one price schedule can be active
6967
+ * at any time. Take, for example, a Reserved Instance listing that has five months remaining in
6968
+ * its term. When you specify price schedules for five months and two months, this means that
6969
+ * schedule 1, covering the first three months of the remaining term, will be active during
6970
+ * months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active
6971
+ * for months 2 and 1.</p>
6951
6972
  * @public
6952
6973
  */
6953
6974
  Active?: boolean | undefined;
6954
6975
  /**
6955
- * <p>The currency for transacting the Reserved Instance resale.
6956
- * At this time, the only supported currency is <code>USD</code>.</p>
6976
+ * <p>The currency for transacting the Reserved Instance resale. At this time, the only
6977
+ * supported currency is <code>USD</code>.</p>
6957
6978
  * @public
6958
6979
  */
6959
6980
  CurrencyCode?: CurrencyCodeValues | undefined;
@@ -6963,7 +6984,8 @@ export interface PriceSchedule {
6963
6984
  */
6964
6985
  Price?: number | undefined;
6965
6986
  /**
6966
- * <p>The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.</p>
6987
+ * <p>The number of months remaining in the reservation. For example, 2 is the second to the
6988
+ * last month before the capacity reservation expires.</p>
6967
6989
  * @public
6968
6990
  */
6969
6991
  Term?: number | undefined;
@@ -6989,7 +7011,8 @@ export type ListingStatus = (typeof ListingStatus)[keyof typeof ListingStatus];
6989
7011
  export interface ReservedInstancesListing {
6990
7012
  /**
6991
7013
  * <p>A unique, case-sensitive key supplied by the client to ensure that the request is
6992
- * idempotent. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
7014
+ * idempotent. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
7015
+ * Idempotency</a>.</p>
6993
7016
  * @public
6994
7017
  */
6995
7018
  ClientToken?: string | undefined;
@@ -7024,7 +7047,8 @@ export interface ReservedInstancesListing {
7024
7047
  */
7025
7048
  Status?: ListingStatus | undefined;
7026
7049
  /**
7027
- * <p>The reason for the current status of the Reserved Instance listing. The response can be blank.</p>
7050
+ * <p>The reason for the current status of the Reserved Instance listing. The response can be
7051
+ * blank.</p>
7028
7052
  * @public
7029
7053
  */
7030
7054
  StatusMessage?: string | undefined;