@aws-sdk/client-ec2 3.928.0 → 3.929.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 (31) hide show
  1. package/dist-cjs/index.js +16 -3
  2. package/dist-es/models/models_3.js +4 -3
  3. package/dist-es/models/models_4.js +3 -0
  4. package/dist-es/protocols/Aws_ec2.js +8 -0
  5. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  6. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -2
  7. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  8. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
  9. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -2
  10. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -2
  11. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  12. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  13. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  14. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
  15. package/dist-types/models/models_3.d.ts +29 -11
  16. package/dist-types/models/models_4.d.ts +12 -320
  17. package/dist-types/models/models_5.d.ts +319 -43
  18. package/dist-types/models/models_6.d.ts +45 -29
  19. package/dist-types/models/models_7.d.ts +28 -33
  20. package/dist-types/models/models_8.d.ts +33 -1
  21. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -2
  22. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/models/models_3.d.ts +8 -4
  26. package/dist-types/ts3.4/models/models_4.d.ts +4 -8
  27. package/dist-types/ts3.4/models/models_5.d.ts +7 -7
  28. package/dist-types/ts3.4/models/models_6.d.ts +8 -7
  29. package/dist-types/ts3.4/models/models_7.d.ts +7 -7
  30. package/dist-types/ts3.4/models/models_8.d.ts +12 -1
  31. package/package.json +2 -2
@@ -1,7 +1,18 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationPreference, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, EndpointIpAddressType, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, OutputFormat, Placement, PlatformValues, Schedule, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficIpAddressType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { CapacityReservationTargetResponse, GroupIdentifier, InstanceBandwidthWeighting, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute, MetricType } from "./models_3";
4
+ import { Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ * @enum
8
+ */
9
+ export declare const MetricType: {
10
+ readonly aggregate_latency: "aggregate-latency";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
5
16
  /**
6
17
  * @public
7
18
  * @enum
@@ -11449,325 +11460,6 @@ export interface DescribeInstanceTypeOfferingsResult {
11449
11460
  */
11450
11461
  NextToken?: string | undefined;
11451
11462
  }
11452
- /**
11453
- * @public
11454
- */
11455
- export interface DescribeInstanceTypesRequest {
11456
- /**
11457
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11458
- * and provides an error response. If you have the required permissions, the error response is
11459
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11460
- * @public
11461
- */
11462
- DryRun?: boolean | undefined;
11463
- /**
11464
- * <p>The instance types.</p>
11465
- * @public
11466
- */
11467
- InstanceTypes?: _InstanceType[] | undefined;
11468
- /**
11469
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
11470
- * <ul>
11471
- * <li>
11472
- * <p>
11473
- * <code>auto-recovery-supported</code> - Indicates whether Amazon CloudWatch action
11474
- * based recovery is supported (<code>true</code> | <code>false</code>).</p>
11475
- * </li>
11476
- * <li>
11477
- * <p>
11478
- * <code>bare-metal</code> - Indicates whether it is a bare metal instance type
11479
- * (<code>true</code> | <code>false</code>).</p>
11480
- * </li>
11481
- * <li>
11482
- * <p>
11483
- * <code>burstable-performance-supported</code> - Indicates whether the instance type is a
11484
- * burstable performance T instance type (<code>true</code> | <code>false</code>).</p>
11485
- * </li>
11486
- * <li>
11487
- * <p>
11488
- * <code>current-generation</code> - Indicates whether this instance type is the latest
11489
- * generation instance type of an instance family (<code>true</code> | <code>false</code>).</p>
11490
- * </li>
11491
- * <li>
11492
- * <p>
11493
- * <code>dedicated-hosts-supported</code> - Indicates whether the instance type supports
11494
- * Dedicated Hosts. (<code>true</code> | <code>false</code>)</p>
11495
- * </li>
11496
- * <li>
11497
- * <p>
11498
- * <code>ebs-info.attachment-limit-type</code> - The type of Amazon EBS volume attachment limit
11499
- * (<code>shared</code> | <code>dedicated</code>).</p>
11500
- * </li>
11501
- * <li>
11502
- * <p>
11503
- * <code>ebs-info.maximum-ebs-attachments</code> - The maximum number of Amazon EBS volumes that
11504
- * can be attached to the instance type.</p>
11505
- * </li>
11506
- * <li>
11507
- * <p>
11508
- * <code>ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps</code> - The baseline
11509
- * bandwidth performance for an EBS-optimized instance type, in Mbps.</p>
11510
- * </li>
11511
- * <li>
11512
- * <p>
11513
- * <code>ebs-info.ebs-optimized-info.baseline-iops</code> - The baseline input/output storage
11514
- * operations per second for an EBS-optimized instance type.</p>
11515
- * </li>
11516
- * <li>
11517
- * <p>
11518
- * <code>ebs-info.ebs-optimized-info.baseline-throughput-in-mbps</code> - The baseline
11519
- * throughput performance for an EBS-optimized instance type, in MB/s.</p>
11520
- * </li>
11521
- * <li>
11522
- * <p>
11523
- * <code>ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps</code> - The maximum bandwidth
11524
- * performance for an EBS-optimized instance type, in Mbps.</p>
11525
- * </li>
11526
- * <li>
11527
- * <p>
11528
- * <code>ebs-info.ebs-optimized-info.maximum-iops</code> - The maximum input/output storage
11529
- * operations per second for an EBS-optimized instance type.</p>
11530
- * </li>
11531
- * <li>
11532
- * <p>
11533
- * <code>ebs-info.ebs-optimized-info.maximum-throughput-in-mbps</code> - The maximum
11534
- * throughput performance for an EBS-optimized instance type, in MB/s.</p>
11535
- * </li>
11536
- * <li>
11537
- * <p>
11538
- * <code>ebs-info.ebs-optimized-support</code> - Indicates whether the instance type is
11539
- * EBS-optimized (<code>supported</code> | <code>unsupported</code> |
11540
- * <code>default</code>).</p>
11541
- * </li>
11542
- * <li>
11543
- * <p>
11544
- * <code>ebs-info.encryption-support</code> - Indicates whether EBS encryption is supported
11545
- * (<code>supported</code> | <code>unsupported</code>).</p>
11546
- * </li>
11547
- * <li>
11548
- * <p>
11549
- * <code>ebs-info.nvme-support</code> - Indicates whether non-volatile memory express (NVMe)
11550
- * is supported for EBS volumes (<code>required</code> | <code>supported</code> |
11551
- * <code>unsupported</code>).</p>
11552
- * </li>
11553
- * <li>
11554
- * <p>
11555
- * <code>free-tier-eligible</code> - A Boolean that indicates whether this instance type can
11556
- * be used under the Amazon Web Services Free Tier (<code>true</code> | <code>false</code>).</p>
11557
- * </li>
11558
- * <li>
11559
- * <p>
11560
- * <code>hibernation-supported</code> - Indicates whether On-Demand hibernation is supported
11561
- * (<code>true</code> | <code>false</code>).</p>
11562
- * </li>
11563
- * <li>
11564
- * <p>
11565
- * <code>hypervisor</code> - The hypervisor (<code>nitro</code> | <code>xen</code>).</p>
11566
- * </li>
11567
- * <li>
11568
- * <p>
11569
- * <code>instance-storage-info.disk.count</code> - The number of local disks.</p>
11570
- * </li>
11571
- * <li>
11572
- * <p>
11573
- * <code>instance-storage-info.disk.size-in-gb</code> - The storage size of each instance
11574
- * storage disk, in GB.</p>
11575
- * </li>
11576
- * <li>
11577
- * <p>
11578
- * <code>instance-storage-info.disk.type</code> - The storage technology for the local
11579
- * instance storage disks (<code>hdd</code> | <code>ssd</code>).</p>
11580
- * </li>
11581
- * <li>
11582
- * <p>
11583
- * <code>instance-storage-info.encryption-support</code> - Indicates whether data is
11584
- * encrypted at rest (<code>required</code> | <code>supported</code> |
11585
- * <code>unsupported</code>).</p>
11586
- * </li>
11587
- * <li>
11588
- * <p>
11589
- * <code>instance-storage-info.nvme-support</code> - Indicates whether non-volatile memory
11590
- * express (NVMe) is supported for instance store (<code>required</code> | <code>supported</code>
11591
- * | <code>unsupported</code>).</p>
11592
- * </li>
11593
- * <li>
11594
- * <p>
11595
- * <code>instance-storage-info.total-size-in-gb</code> - The total amount of storage
11596
- * available from all local instance storage, in GB.</p>
11597
- * </li>
11598
- * <li>
11599
- * <p>
11600
- * <code>instance-storage-supported</code> - Indicates whether the instance type has local
11601
- * instance storage (<code>true</code> | <code>false</code>).</p>
11602
- * </li>
11603
- * <li>
11604
- * <p>
11605
- * <code>instance-type</code> - The instance type (for example <code>c5.2xlarge</code> or
11606
- * c5*).</p>
11607
- * </li>
11608
- * <li>
11609
- * <p>
11610
- * <code>memory-info.size-in-mib</code> - The memory size.</p>
11611
- * </li>
11612
- * <li>
11613
- * <p>
11614
- * <code>network-info.bandwidth-weightings</code> - For instances that support bandwidth
11615
- * weighting to boost performance (<code>default</code>, <code>vpc-1</code>,
11616
- * <code>ebs-1</code>).</p>
11617
- * </li>
11618
- * <li>
11619
- * <p>
11620
- * <code>network-info.efa-info.maximum-efa-interfaces</code> - The maximum number of Elastic
11621
- * Fabric Adapters (EFAs) per instance.</p>
11622
- * </li>
11623
- * <li>
11624
- * <p>
11625
- * <code>network-info.efa-supported</code> - Indicates whether the instance type supports
11626
- * Elastic Fabric Adapter (EFA) (<code>true</code> | <code>false</code>).</p>
11627
- * </li>
11628
- * <li>
11629
- * <p>
11630
- * <code>network-info.ena-support</code> - Indicates whether Elastic Network Adapter (ENA) is
11631
- * supported or required (<code>required</code> | <code>supported</code> |
11632
- * <code>unsupported</code>).</p>
11633
- * </li>
11634
- * <li>
11635
- * <p>
11636
- * <code>network-info.flexible-ena-queues-support</code> - Indicates whether an instance supports
11637
- * flexible ENA queues (<code>supported</code> | <code>unsupported</code>).</p>
11638
- * </li>
11639
- * <li>
11640
- * <p>
11641
- * <code>network-info.encryption-in-transit-supported</code> - Indicates whether the instance
11642
- * type automatically encrypts in-transit traffic between instances (<code>true</code> | <code>false</code>).</p>
11643
- * </li>
11644
- * <li>
11645
- * <p>
11646
- * <code>network-info.ipv4-addresses-per-interface</code> - The maximum number of private
11647
- * IPv4 addresses per network interface.</p>
11648
- * </li>
11649
- * <li>
11650
- * <p>
11651
- * <code>network-info.ipv6-addresses-per-interface</code> - The maximum number of private
11652
- * IPv6 addresses per network interface.</p>
11653
- * </li>
11654
- * <li>
11655
- * <p>
11656
- * <code>network-info.ipv6-supported</code> - Indicates whether the instance type supports
11657
- * IPv6 (<code>true</code> | <code>false</code>).</p>
11658
- * </li>
11659
- * <li>
11660
- * <p>
11661
- * <code>network-info.maximum-network-cards</code> - The maximum number of network cards per
11662
- * instance.</p>
11663
- * </li>
11664
- * <li>
11665
- * <p>
11666
- * <code>network-info.maximum-network-interfaces</code> - The maximum number of network
11667
- * interfaces per instance.</p>
11668
- * </li>
11669
- * <li>
11670
- * <p>
11671
- * <code>network-info.network-performance</code> - The network performance (for example, "25
11672
- * Gigabit").</p>
11673
- * </li>
11674
- * <li>
11675
- * <p>
11676
- * <code>nitro-enclaves-support</code> - Indicates whether Nitro Enclaves is supported
11677
- * (<code>supported</code> | <code>unsupported</code>).</p>
11678
- * </li>
11679
- * <li>
11680
- * <p>
11681
- * <code>nitro-tpm-support</code> - Indicates whether NitroTPM is supported
11682
- * (<code>supported</code> | <code>unsupported</code>).</p>
11683
- * </li>
11684
- * <li>
11685
- * <p>
11686
- * <code>nitro-tpm-info.supported-versions</code> - The supported NitroTPM version
11687
- * (<code>2.0</code>).</p>
11688
- * </li>
11689
- * <li>
11690
- * <p>
11691
- * <code>processor-info.supported-architecture</code> - The CPU architecture
11692
- * (<code>arm64</code> | <code>i386</code> | <code>x86_64</code>).</p>
11693
- * </li>
11694
- * <li>
11695
- * <p>
11696
- * <code>processor-info.sustained-clock-speed-in-ghz</code> - The CPU clock speed, in
11697
- * GHz.</p>
11698
- * </li>
11699
- * <li>
11700
- * <p>
11701
- * <code>processor-info.supported-features</code> - The supported CPU features
11702
- * (<code>amd-sev-snp</code>).</p>
11703
- * </li>
11704
- * <li>
11705
- * <p>
11706
- * <code>reboot-migration-support</code> - Indicates whether enabling reboot migration is
11707
- * supported (<code>supported</code> | <code>unsupported</code>).</p>
11708
- * </li>
11709
- * <li>
11710
- * <p>
11711
- * <code>supported-boot-mode</code> - The boot mode (<code>legacy-bios</code> |
11712
- * <code>uefi</code>).</p>
11713
- * </li>
11714
- * <li>
11715
- * <p>
11716
- * <code>supported-root-device-type</code> - The root device type (<code>ebs</code> |
11717
- * <code>instance-store</code>).</p>
11718
- * </li>
11719
- * <li>
11720
- * <p>
11721
- * <code>supported-usage-class</code> - The usage class (<code>on-demand</code> |
11722
- * <code>spot</code> | <code>capacity-block</code>).</p>
11723
- * </li>
11724
- * <li>
11725
- * <p>
11726
- * <code>supported-virtualization-type</code> - The virtualization type (<code>hvm</code> |
11727
- * <code>paravirtual</code>).</p>
11728
- * </li>
11729
- * <li>
11730
- * <p>
11731
- * <code>vcpu-info.default-cores</code> - The default number of cores for the instance
11732
- * type.</p>
11733
- * </li>
11734
- * <li>
11735
- * <p>
11736
- * <code>vcpu-info.default-threads-per-core</code> - The default number of threads per core
11737
- * for the instance type.</p>
11738
- * </li>
11739
- * <li>
11740
- * <p>
11741
- * <code>vcpu-info.default-vcpus</code> - The default number of vCPUs for the instance
11742
- * type.</p>
11743
- * </li>
11744
- * <li>
11745
- * <p>
11746
- * <code>vcpu-info.valid-cores</code> - The number of cores that can be configured for the
11747
- * instance type.</p>
11748
- * </li>
11749
- * <li>
11750
- * <p>
11751
- * <code>vcpu-info.valid-threads-per-core</code> - The number of threads per core that can be
11752
- * configured for the instance type. For example, "1" or "1,2".</p>
11753
- * </li>
11754
- * </ul>
11755
- * @public
11756
- */
11757
- Filters?: Filter[] | undefined;
11758
- /**
11759
- * <p>The maximum number of items to return for this request.
11760
- * To get the next page of items, make another request with the token returned in the output.
11761
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11762
- * @public
11763
- */
11764
- MaxResults?: number | undefined;
11765
- /**
11766
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
11767
- * @public
11768
- */
11769
- NextToken?: string | undefined;
11770
- }
11771
11463
  /**
11772
11464
  * @internal
11773
11465
  */