@aws-sdk/client-ec2 3.804.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 (68) hide show
  1. package/dist-cjs/index.js +92 -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 +65 -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/DescribeNetworkInsightsAnalysesCommand.d.ts +3 -0
  25. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +3 -1
  26. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -5
  27. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -4
  28. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +16 -7
  29. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +6 -4
  30. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +9 -5
  31. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
  33. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -1
  34. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -3
  35. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +3 -3
  36. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
  37. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -3
  38. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  39. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +7 -7
  40. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  41. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -0
  42. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +2 -1
  43. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  44. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +6 -0
  45. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  46. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -2
  47. package/dist-types/models/models_0.d.ts +60 -36
  48. package/dist-types/models/models_1.d.ts +121 -90
  49. package/dist-types/models/models_2.d.ts +86 -53
  50. package/dist-types/models/models_3.d.ts +23 -19
  51. package/dist-types/models/models_4.d.ts +76 -35
  52. package/dist-types/models/models_5.d.ts +286 -203
  53. package/dist-types/models/models_6.d.ts +25 -28
  54. package/dist-types/models/models_7.d.ts +72 -57
  55. package/dist-types/models/models_8.d.ts +37 -7
  56. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  62. package/dist-types/ts3.4/models/models_2.d.ts +1 -0
  63. package/dist-types/ts3.4/models/models_4.d.ts +11 -7
  64. package/dist-types/ts3.4/models/models_5.d.ts +9 -3
  65. package/dist-types/ts3.4/models/models_6.d.ts +3 -4
  66. package/dist-types/ts3.4/models/models_7.d.ts +6 -8
  67. package/dist-types/ts3.4/models/models_8.d.ts +9 -0
  68. package/package.json +16 -16
@@ -1,6 +1,6 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, Tag } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { GroupIdentifier, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterfaceGroup, NetworkInterfaceStatus, StateReason } from "./models_2";
3
+ import { GroupIdentifier, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, NetworkInterfaceStatus, StateReason } from "./models_2";
4
4
  import { AssociatedTargetNetwork, Byoasn, ClientConnectResponseOptions, ClientLoginBannerResponseOptions, ClientRouteEnforcementResponseOptions, ClientVpnAuthentication, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
5
  /**
6
6
  * <p>Information about the client connection logging options for a Client VPN endpoint.</p>
@@ -7067,7 +7067,8 @@ export interface InstanceNetworkInterfaceAttachment {
7067
7067
  */
7068
7068
  AttachmentId?: string | undefined;
7069
7069
  /**
7070
- * <p>Indicates whether the network interface is deleted when the instance is terminated.</p>
7070
+ * <p>Indicates whether the network interface is deleted when the instance is
7071
+ * terminated.</p>
7071
7072
  * @public
7072
7073
  */
7073
7074
  DeleteOnTermination?: boolean | undefined;
@@ -7087,14 +7088,22 @@ export interface InstanceNetworkInterfaceAttachment {
7087
7088
  */
7088
7089
  NetworkCardIndex?: number | undefined;
7089
7090
  /**
7090
- * <p>Contains the ENA Express settings for the network interface that's attached
7091
- * to the instance.</p>
7091
+ * <p>Contains the ENA Express settings for the network interface that's attached to
7092
+ * the instance.</p>
7092
7093
  * @public
7093
7094
  */
7094
7095
  EnaSrdSpecification?: InstanceAttachmentEnaSrdSpecification | undefined;
7096
+ /**
7097
+ * <p>The number of ENA queues created with the instance.</p>
7098
+ * @public
7099
+ */
7100
+ EnaQueueCount?: number | undefined;
7095
7101
  }
7096
7102
  /**
7097
- * <p>A security group connection tracking specification response that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon EC2 User Guide</i>.</p>
7103
+ * <p>A security group connection tracking specification response that enables you to set
7104
+ * the idle timeout for connection tracking on an Elastic network interface. For more
7105
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
7106
+ * <i>Amazon EC2 User Guide</i>.</p>
7098
7107
  * @public
7099
7108
  */
7100
7109
  export interface ConnectionTrackingSpecificationResponse {
@@ -7149,12 +7158,14 @@ export interface InstanceIpv6Prefix {
7149
7158
  */
7150
7159
  export interface InstancePrivateIpAddress {
7151
7160
  /**
7152
- * <p>The association information for an Elastic IP address for the network interface.</p>
7161
+ * <p>The association information for an Elastic IP address for the network
7162
+ * interface.</p>
7153
7163
  * @public
7154
7164
  */
7155
7165
  Association?: InstanceNetworkInterfaceAssociation | undefined;
7156
7166
  /**
7157
- * <p>Indicates whether this IPv4 address is the primary private IP address of the network interface.</p>
7167
+ * <p>Indicates whether this IPv4 address is the primary private IP address of the network
7168
+ * interface.</p>
7158
7169
  * @public
7159
7170
  */
7160
7171
  Primary?: boolean | undefined;
@@ -7252,7 +7263,8 @@ export interface InstanceNetworkInterface {
7252
7263
  VpcId?: string | undefined;
7253
7264
  /**
7254
7265
  * <p>The type of network interface.</p>
7255
- * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> | <code>trunk</code>
7266
+ * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> |
7267
+ * <code>trunk</code>
7256
7268
  * </p>
7257
7269
  * @public
7258
7270
  */
@@ -7268,7 +7280,10 @@ export interface InstanceNetworkInterface {
7268
7280
  */
7269
7281
  Ipv6Prefixes?: InstanceIpv6Prefix[] | undefined;
7270
7282
  /**
7271
- * <p>A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon EC2 User Guide</i>.</p>
7283
+ * <p>A security group connection tracking configuration that enables you to set the timeout
7284
+ * for connection tracking on an Elastic network interface. For more information, see
7285
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
7286
+ * <i>Amazon EC2 User Guide</i>.</p>
7272
7287
  * @public
7273
7288
  */
7274
7289
  ConnectionTrackingConfiguration?: ConnectionTrackingSpecificationResponse | undefined;
@@ -8482,7 +8497,8 @@ export interface DescribeInstanceTypesRequest {
8482
8497
  * <li>
8483
8498
  * <p>
8484
8499
  * <code>network-info.bandwidth-weightings</code> - For instances that support bandwidth
8485
- * weighting to boost performance (<code>default</code>, <code>vpc-1</code>, <code>ebs-1</code>).</p>
8500
+ * weighting to boost performance (<code>default</code>, <code>vpc-1</code>,
8501
+ * <code>ebs-1</code>).</p>
8486
8502
  * </li>
8487
8503
  * <li>
8488
8504
  * <p>
@@ -8502,6 +8518,11 @@ export interface DescribeInstanceTypesRequest {
8502
8518
  * </li>
8503
8519
  * <li>
8504
8520
  * <p>
8521
+ * <code>network-info.flexible-ena-queues-support</code> - Indicates whether an instance supports
8522
+ * flexible ENA queues (<code>supported</code> | <code>unsupported</code>).</p>
8523
+ * </li>
8524
+ * <li>
8525
+ * <p>
8505
8526
  * <code>network-info.encryption-in-transit-supported</code> - Indicates whether the instance
8506
8527
  * type automatically encrypts in-transit traffic between instances (<code>true</code> | <code>false</code>).</p>
8507
8528
  * </li>
@@ -8577,8 +8598,8 @@ export interface DescribeInstanceTypesRequest {
8577
8598
  * </li>
8578
8599
  * <li>
8579
8600
  * <p>
8580
- * <code>supported-usage-class</code> - The usage class (<code>on-demand</code> | <code>spot</code> |
8581
- * <code>capacity-block</code>).</p>
8601
+ * <code>supported-usage-class</code> - The usage class (<code>on-demand</code> |
8602
+ * <code>spot</code> | <code>capacity-block</code>).</p>
8582
8603
  * </li>
8583
8604
  * <li>
8584
8605
  * <p>
@@ -8710,7 +8731,7 @@ export type EbsNvmeSupport = (typeof EbsNvmeSupport)[keyof typeof EbsNvmeSupport
8710
8731
  export interface EbsInfo {
8711
8732
  /**
8712
8733
  * <p>Indicates whether the instance type is Amazon EBS-optimized. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon EBS-optimized
8713
- * instances</a> in <i>Amazon EC2 User Guide</i>.</p>
8734
+ * instances</a> in <i>Amazon EC2 User Guide</i>.</p>
8714
8735
  * @public
8715
8736
  */
8716
8737
  EbsOptimizedSupport?: EbsOptimizedSupport | undefined;
@@ -9097,6 +9118,18 @@ export declare const EnaSupport: {
9097
9118
  * @public
9098
9119
  */
9099
9120
  export type EnaSupport = (typeof EnaSupport)[keyof typeof EnaSupport];
9121
+ /**
9122
+ * @public
9123
+ * @enum
9124
+ */
9125
+ export declare const FlexibleEnaQueuesSupport: {
9126
+ readonly SUPPORTED: "supported";
9127
+ readonly UNSUPPORTED: "unsupported";
9128
+ };
9129
+ /**
9130
+ * @public
9131
+ */
9132
+ export type FlexibleEnaQueuesSupport = (typeof FlexibleEnaQueuesSupport)[keyof typeof FlexibleEnaQueuesSupport];
9100
9133
  /**
9101
9134
  * <p>Describes the network card support of the instance type.</p>
9102
9135
  * @public
@@ -9127,6 +9160,21 @@ export interface NetworkCardInfo {
9127
9160
  * @public
9128
9161
  */
9129
9162
  PeakBandwidthInGbps?: number | undefined;
9163
+ /**
9164
+ * <p>The default number of the ENA queues for each interface.</p>
9165
+ * @public
9166
+ */
9167
+ DefaultEnaQueueCountPerInterface?: number | undefined;
9168
+ /**
9169
+ * <p>The maximum number of the ENA queues.</p>
9170
+ * @public
9171
+ */
9172
+ MaximumEnaQueueCount?: number | undefined;
9173
+ /**
9174
+ * <p>The maximum number of the ENA queues for each interface.</p>
9175
+ * @public
9176
+ */
9177
+ MaximumEnaQueueCountPerInterface?: number | undefined;
9130
9178
  }
9131
9179
  /**
9132
9180
  * <p>Describes the networking features of the instance type.</p>
@@ -9201,11 +9249,16 @@ export interface NetworkInfo {
9201
9249
  */
9202
9250
  EnaSrdSupported?: boolean | undefined;
9203
9251
  /**
9204
- * <p>A list of valid settings for configurable bandwidth weighting for the instance
9205
- * type, if supported.</p>
9252
+ * <p>A list of valid settings for configurable bandwidth weighting for the instance type, if
9253
+ * supported.</p>
9206
9254
  * @public
9207
9255
  */
9208
9256
  BandwidthWeightings?: BandwidthWeightingType[] | undefined;
9257
+ /**
9258
+ * <p>Indicates whether changing the number of ENA queues is supported.</p>
9259
+ * @public
9260
+ */
9261
+ FlexibleEnaQueuesSupport?: FlexibleEnaQueuesSupport | undefined;
9209
9262
  }
9210
9263
  /**
9211
9264
  * <p>Describes the cores available to the neuron accelerator.</p>
@@ -9493,7 +9546,8 @@ export interface InstanceTypeInfo {
9493
9546
  */
9494
9547
  FreeTierEligible?: boolean | undefined;
9495
9548
  /**
9496
- * <p>Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.</p>
9549
+ * <p>Indicates whether the instance type is offered for spot, On-Demand, or Capacity
9550
+ * Blocks.</p>
9497
9551
  * @public
9498
9552
  */
9499
9553
  SupportedUsageClasses?: UsageClassType[] | undefined;
@@ -10538,10 +10592,12 @@ export interface DescribeLaunchTemplateVersionsRequest {
10538
10592
  */
10539
10593
  Filters?: Filter[] | undefined;
10540
10594
  /**
10541
- * <p>If <code>true</code>, and if a Systems Manager parameter is specified for <code>ImageId</code>,
10542
- * the AMI ID is displayed in the response for <code>imageId</code>.</p>
10543
- * <p>If <code>false</code>, and if a Systems Manager parameter is specified for <code>ImageId</code>,
10544
- * the parameter is displayed in the response for <code>imageId</code>.</p>
10595
+ * <p>If <code>true</code>, and if a Systems Manager parameter is specified for
10596
+ * <code>ImageId</code>, the AMI ID is displayed in the response for
10597
+ * <code>imageId</code>.</p>
10598
+ * <p>If <code>false</code>, and if a Systems Manager parameter is specified for
10599
+ * <code>ImageId</code>, the parameter is displayed in the response for
10600
+ * <code>imageId</code>.</p>
10545
10601
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
10546
10602
  * <i>Amazon EC2 User Guide</i>.</p>
10547
10603
  * <p>Default: <code>false</code>
@@ -10949,21 +11005,6 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
10949
11005
  */
10950
11006
  DryRun?: boolean | undefined;
10951
11007
  }
10952
- /**
10953
- * @public
10954
- */
10955
- export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
10956
- /**
10957
- * <p>The virtual interface groups.</p>
10958
- * @public
10959
- */
10960
- LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[] | undefined;
10961
- /**
10962
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
10963
- * @public
10964
- */
10965
- NextToken?: string | undefined;
10966
- }
10967
11008
  /**
10968
11009
  * @internal
10969
11010
  */