@aws-sdk/client-ec2 3.391.0 → 3.394.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 (50) hide show
  1. package/dist-cjs/EC2Client.js +4 -2
  2. package/dist-cjs/clientConfiguration.js +2 -0
  3. package/dist-cjs/models/models_3.js +1 -6
  4. package/dist-cjs/models/models_4.js +5 -5
  5. package/dist-cjs/models/models_5.js +5 -1
  6. package/dist-cjs/protocols/Aws_ec2.js +48 -0
  7. package/dist-cjs/runtimeConfig.shared.js +1 -0
  8. package/dist-cjs/runtimeExtensions.js +16 -0
  9. package/dist-es/EC2Client.js +4 -2
  10. package/dist-es/clientConfiguration.js +1 -0
  11. package/dist-es/models/models_3.js +0 -4
  12. package/dist-es/models/models_4.js +4 -4
  13. package/dist-es/models/models_5.js +4 -0
  14. package/dist-es/protocols/Aws_ec2.js +48 -0
  15. package/dist-es/runtimeConfig.shared.js +1 -0
  16. package/dist-es/runtimeExtensions.js +12 -0
  17. package/dist-types/EC2Client.d.ts +6 -1
  18. package/dist-types/clientConfiguration.d.ts +6 -0
  19. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +3 -1
  20. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +7 -0
  21. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +9 -4
  22. package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -1
  23. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +7 -0
  24. package/dist-types/models/models_1.d.ts +1 -3
  25. package/dist-types/models/models_2.d.ts +47 -39
  26. package/dist-types/models/models_3.d.ts +171 -31
  27. package/dist-types/models/models_4.d.ts +13 -13
  28. package/dist-types/models/models_5.d.ts +13 -11
  29. package/dist-types/models/models_6.d.ts +20 -21
  30. package/dist-types/models/models_7.d.ts +17 -1
  31. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  32. package/dist-types/runtimeConfig.d.ts +1 -0
  33. package/dist-types/runtimeConfig.native.d.ts +1 -0
  34. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  35. package/dist-types/runtimeExtensions.d.ts +17 -0
  36. package/dist-types/ts3.4/EC2Client.d.ts +3 -0
  37. package/dist-types/ts3.4/clientConfiguration.d.ts +2 -0
  38. package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/models/models_2.d.ts +6 -4
  40. package/dist-types/ts3.4/models/models_3.d.ts +5 -7
  41. package/dist-types/ts3.4/models/models_4.d.ts +6 -7
  42. package/dist-types/ts3.4/models/models_5.d.ts +7 -8
  43. package/dist-types/ts3.4/models/models_6.d.ts +5 -4
  44. package/dist-types/ts3.4/models/models_7.d.ts +4 -1
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  49. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  50. package/package.json +1 -1
@@ -1,6 +1,22 @@
1
1
  import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { DeleteQueuedReservedInstancesError, FleetStateCode, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
3
+ import { DeleteQueuedReservedInstancesErrorCode, FleetStateCode, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ /**
5
+ * @public
6
+ * <p>Describes the error for a Reserved Instance whose queued purchase could not be deleted.</p>
7
+ */
8
+ export interface DeleteQueuedReservedInstancesError {
9
+ /**
10
+ * @public
11
+ * <p>The error code.</p>
12
+ */
13
+ Code?: DeleteQueuedReservedInstancesErrorCode | string;
14
+ /**
15
+ * @public
16
+ * <p>The error message.</p>
17
+ */
18
+ Message?: string;
19
+ }
4
20
  /**
5
21
  * @public
6
22
  * <p>Describes a Reserved Instance whose queued purchase was not deleted.</p>
@@ -8384,7 +8400,7 @@ export interface DescribeInstancesRequest {
8384
8400
  * <p>
8385
8401
  * <code>block-device-mapping.attach-time</code> - The attach time for an EBS
8386
8402
  * volume mapped to the instance, for example,
8387
- * <code>2010-09-15T17:15:20.000Z</code>.</p>
8403
+ * <code>2022-09-15T17:15:20.000Z</code>.</p>
8388
8404
  * </li>
8389
8405
  * <li>
8390
8406
  * <p>
@@ -8393,9 +8409,9 @@ export interface DescribeInstancesRequest {
8393
8409
  * </li>
8394
8410
  * <li>
8395
8411
  * <p>
8396
- * <code>block-device-mapping.device-name</code> - The device name specified in the
8397
- * block device mapping (for example, <code>/dev/sdh</code> or
8398
- * <code>xvdh</code>).</p>
8412
+ * <code>block-device-mapping.device-name</code> - The device name specified in
8413
+ * the block device mapping (for example, <code>/dev/sdh</code> or
8414
+ * <code>xvdh</code>).</p>
8399
8415
  * </li>
8400
8416
  * <li>
8401
8417
  * <p>
@@ -8410,13 +8426,40 @@ export interface DescribeInstancesRequest {
8410
8426
  * </li>
8411
8427
  * <li>
8412
8428
  * <p>
8429
+ * <code>boot-mode</code> - The boot mode that was specified by the AMI
8430
+ * (<code>legacy-bios</code> | <code>uefi</code> |
8431
+ * <code>uefi-preferred</code>).</p>
8432
+ * </li>
8433
+ * <li>
8434
+ * <p>
8413
8435
  * <code>capacity-reservation-id</code> - The ID of the Capacity Reservation into which the
8414
8436
  * instance was launched.</p>
8415
8437
  * </li>
8416
8438
  * <li>
8417
8439
  * <p>
8418
- * <code>client-token</code> - The idempotency token you provided when you launched
8419
- * the instance.</p>
8440
+ * <code>capacity-reservation-specification.capacity-reservation-preference</code>
8441
+ * - The instance's Capacity Reservation preference (<code>open</code> | <code>none</code>).</p>
8442
+ * </li>
8443
+ * <li>
8444
+ * <p>
8445
+ * <code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id</code>
8446
+ * - The ID of the targeted Capacity Reservation.</p>
8447
+ * </li>
8448
+ * <li>
8449
+ * <p>
8450
+ * <code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn</code>
8451
+ * - The ARN of the targeted Capacity Reservation group.</p>
8452
+ * </li>
8453
+ * <li>
8454
+ * <p>
8455
+ * <code>client-token</code> - The idempotency token you provided when you
8456
+ * launched the instance.</p>
8457
+ * </li>
8458
+ * <li>
8459
+ * <p>
8460
+ * <code>current-instance-boot-mode</code> - The boot mode that is used to launch
8461
+ * the instance at launch or start (<code>legacy-bios</code> |
8462
+ * <code>uefi</code>).</p>
8420
8463
  * </li>
8421
8464
  * <li>
8422
8465
  * <p>
@@ -8424,9 +8467,24 @@ export interface DescribeInstancesRequest {
8424
8467
  * </li>
8425
8468
  * <li>
8426
8469
  * <p>
8470
+ * <code>ebs-optimized</code> - A Boolean that indicates whether the instance is
8471
+ * optimized for Amazon EBS I/O.</p>
8472
+ * </li>
8473
+ * <li>
8474
+ * <p>
8475
+ * <code>ena-support</code> - A Boolean that indicates whether the instance is
8476
+ * enabled for enhanced networking with ENA.</p>
8477
+ * </li>
8478
+ * <li>
8479
+ * <p>
8480
+ * <code>enclave-options.enabled</code> - A Boolean that indicates whether the
8481
+ * instance is enabled for Amazon Web Services Nitro Enclaves.</p>
8482
+ * </li>
8483
+ * <li>
8484
+ * <p>
8427
8485
  * <code>hibernation-options.configured</code> - A Boolean that indicates whether
8428
8486
  * the instance is enabled for hibernation. A value of <code>true</code> means that
8429
- * the instance is enabled for hibernation. </p>
8487
+ * the instance is enabled for hibernation.</p>
8430
8488
  * </li>
8431
8489
  * <li>
8432
8490
  * <p>
@@ -8446,6 +8504,16 @@ export interface DescribeInstancesRequest {
8446
8504
  * </li>
8447
8505
  * <li>
8448
8506
  * <p>
8507
+ * <code>iam-instance-profile.id</code> - The instance profile associated with
8508
+ * the instance. Specified as an ID.</p>
8509
+ * </li>
8510
+ * <li>
8511
+ * <p>
8512
+ * <code>iam-instance-profile.name</code> - The instance profile associated with
8513
+ * the instance. Specified as an name.</p>
8514
+ * </li>
8515
+ * <li>
8516
+ * <p>
8449
8517
  * <code>image-id</code> - The ID of the image used to launch the
8450
8518
  * instance.</p>
8451
8519
  * </li>
@@ -8494,6 +8562,10 @@ export interface DescribeInstancesRequest {
8494
8562
  * </li>
8495
8563
  * <li>
8496
8564
  * <p>
8565
+ * <code>ipv6-address</code> - The IPv6 address of the instance.</p>
8566
+ * </li>
8567
+ * <li>
8568
+ * <p>
8497
8569
  * <code>kernel-id</code> - The kernel ID.</p>
8498
8570
  * </li>
8499
8571
  * <li>
@@ -8517,14 +8589,12 @@ export interface DescribeInstancesRequest {
8517
8589
  * </li>
8518
8590
  * <li>
8519
8591
  * <p>
8520
- * <code>metadata-options.http-tokens</code> - The metadata request authorization
8521
- * state (<code>optional</code> | <code>required</code>)</p>
8592
+ * <code>license-pool</code> - </p>
8522
8593
  * </li>
8523
8594
  * <li>
8524
8595
  * <p>
8525
- * <code>metadata-options.http-put-response-hop-limit</code> - The HTTP metadata
8526
- * request put response hop limit (integer, possible values <code>1</code> to
8527
- * <code>64</code>)</p>
8596
+ * <code>maintenance-options.auto-recovery</code> - The current automatic
8597
+ * recovery behavior of the instance (<code>disabled</code> | <code>default</code>).</p>
8528
8598
  * </li>
8529
8599
  * <li>
8530
8600
  * <p>
@@ -8534,19 +8604,40 @@ export interface DescribeInstancesRequest {
8534
8604
  * </li>
8535
8605
  * <li>
8536
8606
  * <p>
8607
+ * <code>metadata-options.http-protocol-ipv4</code> - Indicates whether the IPv4
8608
+ * endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p>
8609
+ * </li>
8610
+ * <li>
8611
+ * <p>
8612
+ * <code>metadata-options.http-protocol-ipv6</code> - Indicates whether the IPv6
8613
+ * endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p>
8614
+ * </li>
8615
+ * <li>
8616
+ * <p>
8617
+ * <code>metadata-options.http-put-response-hop-limit</code> - The HTTP metadata
8618
+ * request put response hop limit (integer, possible values <code>1</code> to
8619
+ * <code>64</code>)</p>
8620
+ * </li>
8621
+ * <li>
8622
+ * <p>
8623
+ * <code>metadata-options.http-tokens</code> - The metadata request authorization
8624
+ * state (<code>optional</code> | <code>required</code>)</p>
8625
+ * </li>
8626
+ * <li>
8627
+ * <p>
8537
8628
  * <code>metadata-options.instance-metadata-tags</code> - The status of access to
8538
8629
  * instance tags from the instance metadata (<code>enabled</code> |
8539
8630
  * <code>disabled</code>)</p>
8540
8631
  * </li>
8541
8632
  * <li>
8542
8633
  * <p>
8543
- * <code>monitoring-state</code> - Indicates whether detailed monitoring is
8544
- * enabled (<code>disabled</code> | <code>enabled</code>).</p>
8634
+ * <code>metadata-options.state</code> - The state of the metadata option changes
8635
+ * (<code>pending</code> | <code>applied</code>).</p>
8545
8636
  * </li>
8546
8637
  * <li>
8547
8638
  * <p>
8548
- * <code>network-interface.addresses.private-ip-address</code> - The private IPv4
8549
- * address associated with the network interface.</p>
8639
+ * <code>monitoring-state</code> - Indicates whether detailed monitoring is
8640
+ * enabled (<code>disabled</code> | <code>enabled</code>).</p>
8550
8641
  * </li>
8551
8642
  * <li>
8552
8643
  * <p>
@@ -8555,6 +8646,11 @@ export interface DescribeInstancesRequest {
8555
8646
  * </li>
8556
8647
  * <li>
8557
8648
  * <p>
8649
+ * <code>network-interface.addresses.private-ip-address</code> - The private IPv4
8650
+ * address associated with the network interface.</p>
8651
+ * </li>
8652
+ * <li>
8653
+ * <p>
8558
8654
  * <code>network-interface.addresses.association.public-ip</code> - The ID of the
8559
8655
  * association of an Elastic IP address (IPv4) with a network interface.</p>
8560
8656
  * </li>
@@ -8725,11 +8821,43 @@ export interface DescribeInstancesRequest {
8725
8821
  * </li>
8726
8822
  * <li>
8727
8823
  * <p>
8824
+ * <code>platform-details</code> - The platform (<code>Linux/UNIX</code> |
8825
+ * <code>Red Hat BYOL Linux</code> | <code> Red Hat Enterprise Linux</code> |
8826
+ * <code>Red Hat Enterprise Linux with HA</code> | <code>Red Hat Enterprise
8827
+ * Linux with SQL Server Standard and HA</code> | <code>Red Hat Enterprise
8828
+ * Linux with SQL Server Enterprise and HA</code> | <code>Red Hat Enterprise
8829
+ * Linux with SQL Server Standard</code> | <code>Red Hat Enterprise Linux with
8830
+ * SQL Server Web</code> | <code>Red Hat Enterprise Linux with SQL Server
8831
+ * Enterprise</code> | <code>SQL Server Enterprise</code> | <code>SQL Server
8832
+ * Standard</code> | <code>SQL Server Web</code> | <code>SUSE Linux</code> |
8833
+ * <code>Ubuntu Pro</code> | <code>Windows</code> | <code>Windows BYOL</code> |
8834
+ * <code>Windows with SQL Server Enterprise</code> | <code>Windows with SQL
8835
+ * Server Standard</code> | <code>Windows with SQL Server Web</code>).</p>
8836
+ * </li>
8837
+ * <li>
8838
+ * <p>
8728
8839
  * <code>private-dns-name</code> - The private IPv4 DNS name of the
8729
8840
  * instance.</p>
8730
8841
  * </li>
8731
8842
  * <li>
8732
8843
  * <p>
8844
+ * <code>private-dns-name-options.enable-resource-name-dns-a-record</code> - A
8845
+ * Boolean that indicates whether to respond to DNS queries for instance hostnames
8846
+ * with DNS A records.</p>
8847
+ * </li>
8848
+ * <li>
8849
+ * <p>
8850
+ * <code>private-dns-name-options.enable-resource-name-dns-aaaa-record</code> - A
8851
+ * Boolean that indicates whether to respond to DNS queries for instance hostnames
8852
+ * with DNS AAAA records.</p>
8853
+ * </li>
8854
+ * <li>
8855
+ * <p>
8856
+ * <code>private-dns-name-options.hostname-type</code> - The type of hostname
8857
+ * (<code>ip-name</code> | <code>resource-name</code>).</p>
8858
+ * </li>
8859
+ * <li>
8860
+ * <p>
8733
8861
  * <code>private-ip-address</code> - The private IPv4 address of the
8734
8862
  * instance.</p>
8735
8863
  * </li>
@@ -8740,8 +8868,8 @@ export interface DescribeInstancesRequest {
8740
8868
  * </li>
8741
8869
  * <li>
8742
8870
  * <p>
8743
- * <code>product-code.type</code> - The type of product code (<code>devpay</code> |
8744
- * <code>marketplace</code>).</p>
8871
+ * <code>product-code.type</code> - The type of product code (<code>devpay</code>
8872
+ * | <code>marketplace</code>).</p>
8745
8873
  * </li>
8746
8874
  * <li>
8747
8875
  * <p>
@@ -8821,6 +8949,30 @@ export interface DescribeInstancesRequest {
8821
8949
  * </li>
8822
8950
  * <li>
8823
8951
  * <p>
8952
+ * <code>tpm-support</code> - Indicates if the instance is configured for
8953
+ * NitroTPM support (<code>v2.0</code>). </p>
8954
+ * </li>
8955
+ * <li>
8956
+ * <p>
8957
+ * <code>usage-operation</code> - The usage operation value for the instance
8958
+ * (<code>RunInstances</code> | <code>RunInstances:00g0</code> |
8959
+ * <code>RunInstances:0010</code> | <code>RunInstances:1010</code> |
8960
+ * <code>RunInstances:1014</code> | <code>RunInstances:1110</code> |
8961
+ * <code>RunInstances:0014</code> | <code>RunInstances:0210</code> |
8962
+ * <code>RunInstances:0110</code> | <code>RunInstances:0100</code> |
8963
+ * <code>RunInstances:0004</code> | <code>RunInstances:0200</code> |
8964
+ * <code>RunInstances:000g</code> | <code>RunInstances:0g00</code> |
8965
+ * <code>RunInstances:0002</code> | <code>RunInstances:0800</code> |
8966
+ * <code>RunInstances:0102</code> | <code>RunInstances:0006</code> |
8967
+ * <code>RunInstances:0202</code>).</p>
8968
+ * </li>
8969
+ * <li>
8970
+ * <p>
8971
+ * <code>usage-operation-update-time</code> - The time that the usage operation
8972
+ * was last updated, for example, <code>2022-09-15T17:15:20.000Z</code>.</p>
8973
+ * </li>
8974
+ * <li>
8975
+ * <p>
8824
8976
  * <code>virtualization-type</code> - The virtualization type of the instance
8825
8977
  * (<code>paravirtual</code> | <code>hvm</code>).</p>
8826
8978
  * </li>
@@ -9003,18 +9155,6 @@ export interface HibernationOptions {
9003
9155
  */
9004
9156
  Configured?: boolean;
9005
9157
  }
9006
- /**
9007
- * @public
9008
- * @enum
9009
- */
9010
- export declare const InstanceLifecycleType: {
9011
- readonly scheduled: "scheduled";
9012
- readonly spot: "spot";
9013
- };
9014
- /**
9015
- * @public
9016
- */
9017
- export type InstanceLifecycleType = (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
9018
9158
  /**
9019
9159
  * @internal
9020
9160
  */
@@ -1,7 +1,19 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
3
  import { ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, InstanceLifecycleType, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
5
+ /**
6
+ * @public
7
+ * @enum
8
+ */
9
+ export declare const InstanceLifecycleType: {
10
+ readonly scheduled: "scheduled";
11
+ readonly spot: "spot";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type InstanceLifecycleType = (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
5
17
  /**
6
18
  * @public
7
19
  * <p>Describes a license configuration.</p>
@@ -10931,18 +10943,6 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
10931
10943
  */
10932
10944
  DryRun?: boolean;
10933
10945
  }
10934
- /**
10935
- * @public
10936
- * @enum
10937
- */
10938
- export declare const VerifiedAccessLogDeliveryStatusCode: {
10939
- readonly FAILED: "failed";
10940
- readonly SUCCESS: "success";
10941
- };
10942
- /**
10943
- * @public
10944
- */
10945
- export type VerifiedAccessLogDeliveryStatusCode = (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
10946
10946
  /**
10947
10947
  * @internal
10948
10948
  */
@@ -2,7 +2,19 @@ import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, Associat
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
5
- import { AnalysisStatus, ArchitectureType, VerifiedAccessLogDeliveryStatusCode } from "./models_4";
5
+ import { AnalysisStatus, ArchitectureType } from "./models_4";
6
+ /**
7
+ * @public
8
+ * @enum
9
+ */
10
+ export declare const VerifiedAccessLogDeliveryStatusCode: {
11
+ readonly FAILED: "failed";
12
+ readonly SUCCESS: "success";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type VerifiedAccessLogDeliveryStatusCode = (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
6
18
  /**
7
19
  * @public
8
20
  * <p>Describes a log delivery status.</p>
@@ -7531,16 +7543,6 @@ export interface ImportClientVpnClientCertificateRevocationListRequest {
7531
7543
  */
7532
7544
  DryRun?: boolean;
7533
7545
  }
7534
- /**
7535
- * @public
7536
- */
7537
- export interface ImportClientVpnClientCertificateRevocationListResult {
7538
- /**
7539
- * @public
7540
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
7541
- */
7542
- Return?: boolean;
7543
- }
7544
7546
  /**
7545
7547
  * @internal
7546
7548
  */
@@ -1,9 +1,19 @@
1
1
  import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, DiskImageFormat, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface ImportClientVpnClientCertificateRevocationListResult {
11
+ /**
12
+ * @public
13
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
14
+ */
15
+ Return?: boolean;
16
+ }
7
17
  /**
8
18
  * @public
9
19
  * <p>Describes the client-specific data.</p>
@@ -3488,6 +3498,7 @@ export interface ModifyTrafficMirrorSessionRequest {
3488
3498
  /**
3489
3499
  * @public
3490
3500
  * <p>The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.</p>
3501
+ * <p>For sessions with Network Load Balancer (NLB) traffic mirror targets, the default <code>PacketLength</code> will be set to 8500. Valid values are 1-8500. Setting a <code>PacketLength</code> greater than 8500 will result in an error response.</p>
3491
3502
  */
3492
3503
  PacketLength?: number;
3493
3504
  /**
@@ -4421,12 +4432,12 @@ export interface ModifyVpcEndpointRequest {
4421
4432
  RemoveSubnetIds?: string[];
4422
4433
  /**
4423
4434
  * @public
4424
- * <p>(Interface endpoint) The IDs of the security groups to associate with the network interface.</p>
4435
+ * <p>(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.</p>
4425
4436
  */
4426
4437
  AddSecurityGroupIds?: string[];
4427
4438
  /**
4428
4439
  * @public
4429
- * <p>(Interface endpoint) The IDs of the security groups to disassociate from the network interface.</p>
4440
+ * <p>(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.</p>
4430
4441
  */
4431
4442
  RemoveSecurityGroupIds?: string[];
4432
4443
  /**
@@ -4441,10 +4452,14 @@ export interface ModifyVpcEndpointRequest {
4441
4452
  DnsOptions?: DnsOptionsSpecification;
4442
4453
  /**
4443
4454
  * @public
4444
- * <p>(Interface endpoint) Indicates whether a private hosted zone is associated with the
4445
- * VPC.</p>
4455
+ * <p>(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.</p>
4446
4456
  */
4447
4457
  PrivateDnsEnabled?: boolean;
4458
+ /**
4459
+ * @public
4460
+ * <p>The subnet configurations for the endpoint.</p>
4461
+ */
4462
+ SubnetConfigurations?: SubnetConfiguration[];
4448
4463
  }
4449
4464
  /**
4450
4465
  * @public
@@ -8359,22 +8374,6 @@ export interface ScheduledInstancesIpv6Address {
8359
8374
  */
8360
8375
  Ipv6Address?: string;
8361
8376
  }
8362
- /**
8363
- * @public
8364
- * <p>Describes a private IPv4 address for a Scheduled Instance.</p>
8365
- */
8366
- export interface ScheduledInstancesPrivateIpAddressConfig {
8367
- /**
8368
- * @public
8369
- * <p>Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.</p>
8370
- */
8371
- Primary?: boolean;
8372
- /**
8373
- * @public
8374
- * <p>The IPv4 address.</p>
8375
- */
8376
- PrivateIpAddress?: string;
8377
- }
8378
8377
  /**
8379
8378
  * @internal
8380
8379
  */
@@ -3,7 +3,23 @@ import { LocalGatewayRoute } from "./models_1";
3
3
  import { TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
6
- import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring, ScheduledInstancesPrivateIpAddressConfig } from "./models_6";
6
+ import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring } from "./models_6";
7
+ /**
8
+ * @public
9
+ * <p>Describes a private IPv4 address for a Scheduled Instance.</p>
10
+ */
11
+ export interface ScheduledInstancesPrivateIpAddressConfig {
12
+ /**
13
+ * @public
14
+ * <p>Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.</p>
15
+ */
16
+ Primary?: boolean;
17
+ /**
18
+ * @public
19
+ * <p>The IPv4 address.</p>
20
+ */
21
+ PrivateIpAddress?: string;
22
+ }
7
23
  /**
8
24
  * @public
9
25
  * <p>Describes a network interface for a Scheduled Instance.</p>
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
30
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
31
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
32
  logger?: import("@smithy/types").Logger | undefined;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
30
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
31
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
32
  logger?: import("@smithy/types").Logger | undefined;
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
26
  logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
28
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
28
29
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
29
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
12
12
  }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
13
14
  logger: import("@smithy/types").Logger;
14
15
  serviceId: string;
15
16
  urlParser: import("@smithy/types").UrlParser;
@@ -0,0 +1,17 @@
1
+ import { EC2ClientConfiguration } from "./clientConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configureClient(clientConfiguration: EC2ClientConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -2426,6 +2426,7 @@ import {
2426
2426
  ClientResolvedEndpointParameters,
2427
2427
  EndpointParameters,
2428
2428
  } from "./endpoint/EndpointParameters";
2429
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
2429
2430
  export { __Client };
2430
2431
  export type ServiceInputTypes =
2431
2432
  | AcceptAddressTransferCommandInput
@@ -3639,6 +3640,7 @@ export interface ClientDefaults
3639
3640
  maxAttempts?: number | __Provider<number>;
3640
3641
  retryMode?: string | __Provider<string>;
3641
3642
  logger?: __Logger;
3643
+ extensions?: RuntimeExtension[];
3642
3644
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
3643
3645
  }
3644
3646
  export type EC2ClientConfigType = Partial<
@@ -3656,6 +3658,7 @@ export interface EC2ClientConfig extends EC2ClientConfigType {}
3656
3658
  export type EC2ClientResolvedConfigType =
3657
3659
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
3658
3660
  Required<ClientDefaults> &
3661
+ RuntimeExtensionsConfig &
3659
3662
  RegionResolvedConfig &
3660
3663
  EndpointResolvedConfig<EndpointParameters> &
3661
3664
  RetryResolvedConfig &
@@ -0,0 +1,2 @@
1
+ import { DefaultClientConfiguration } from "@smithy/types";
2
+ export interface EC2ClientConfiguration extends DefaultClientConfiguration {}
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../EC2Client";
14
- import {
15
- ImportClientVpnClientCertificateRevocationListRequest,
16
- ImportClientVpnClientCertificateRevocationListResult,
17
- } from "../models/models_5";
14
+ import { ImportClientVpnClientCertificateRevocationListRequest } from "../models/models_5";
15
+ import { ImportClientVpnClientCertificateRevocationListResult } from "../models/models_6";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface ImportClientVpnClientCertificateRevocationListCommandInput
20
18
  extends ImportClientVpnClientCertificateRevocationListRequest {}