@aws-sdk/client-ec2 3.678.0 → 3.682.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 (47) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +180 -23
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeInstanceImageMetadataCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_4.js +8 -12
  7. package/dist-es/models/models_5.js +4 -6
  8. package/dist-es/models/models_6.js +6 -0
  9. package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_ec2.js +140 -2
  12. package/dist-types/EC2.d.ts +8 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
  15. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -2
  17. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  18. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  19. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  20. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/models_1.d.ts +51 -15
  23. package/dist-types/models/models_4.d.ts +274 -167
  24. package/dist-types/models/models_5.d.ts +96 -53
  25. package/dist-types/models/models_6.d.ts +54 -117
  26. package/dist-types/models/models_7.d.ts +114 -0
  27. package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  30. package/dist-types/ts3.4/EC2.d.ts +18 -0
  31. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_4.d.ts +46 -36
  41. package/dist-types/ts3.4/models/models_5.d.ts +23 -21
  42. package/dist-types/ts3.4/models/models_6.d.ts +20 -27
  43. package/dist-types/ts3.4/models/models_7.d.ts +25 -0
  44. package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  47. package/package.json +15 -15
@@ -1604,6 +1604,280 @@ export interface DescribeInstanceEventWindowsResult {
1604
1604
  */
1605
1605
  NextToken?: string;
1606
1606
  }
1607
+ /**
1608
+ * @public
1609
+ */
1610
+ export interface DescribeInstanceImageMetadataRequest {
1611
+ /**
1612
+ * <p>The filters.</p>
1613
+ * <ul>
1614
+ * <li>
1615
+ * <p>
1616
+ * <code>availability-zone</code> - The name of the Availability Zone (for example,
1617
+ * <code>us-west-2a</code>) or Local Zone (for example, <code>us-west-2-lax-1b</code>) of
1618
+ * the instance.</p>
1619
+ * </li>
1620
+ * <li>
1621
+ * <p>
1622
+ * <code>instance-id</code> - The ID of the instance.</p>
1623
+ * </li>
1624
+ * <li>
1625
+ * <p>
1626
+ * <code>instance-state-name</code> - The state of the instance (<code>pending</code> |
1627
+ * <code>running</code> | <code>shutting-down</code> | <code>terminated</code> |
1628
+ * <code>stopping</code> | <code>stopped</code>).</p>
1629
+ * </li>
1630
+ * <li>
1631
+ * <p>
1632
+ * <code>instance-type</code> - The type of instance (for example,
1633
+ * <code>t3.micro</code>).</p>
1634
+ * </li>
1635
+ * <li>
1636
+ * <p>
1637
+ * <code>launch-time</code> - The time when the instance was launched, in the ISO 8601
1638
+ * format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
1639
+ * <code>2023-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
1640
+ * example, <code>2023-09-29T*</code>, which matches an entire day. </p>
1641
+ * </li>
1642
+ * <li>
1643
+ * <p>
1644
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
1645
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
1646
+ * </li>
1647
+ * <li>
1648
+ * <p>
1649
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
1650
+ * </li>
1651
+ * <li>
1652
+ * <p>
1653
+ * <code>zone-id</code> - The ID of the Availability Zone (for example,
1654
+ * <code>usw2-az2</code>) or Local Zone (for example, <code>usw2-lax1-az1</code>) of the
1655
+ * instance.</p>
1656
+ * </li>
1657
+ * </ul>
1658
+ * @public
1659
+ */
1660
+ Filters?: Filter[];
1661
+ /**
1662
+ * <p>The instance IDs.</p>
1663
+ * <p>If you don't specify an instance ID or filters, the output includes information for all
1664
+ * instances.</p>
1665
+ * @public
1666
+ */
1667
+ InstanceIds?: string[];
1668
+ /**
1669
+ * <p>The maximum number of items to return for this request.
1670
+ * To get the next page of items, make another request with the token returned in the output.
1671
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
1672
+ * <p>Default: 1000</p>
1673
+ * @public
1674
+ */
1675
+ MaxResults?: number;
1676
+ /**
1677
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
1678
+ * @public
1679
+ */
1680
+ NextToken?: string;
1681
+ /**
1682
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
1683
+ * and provides an error response. If you have the required permissions, the error response is
1684
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1685
+ * @public
1686
+ */
1687
+ DryRun?: boolean;
1688
+ }
1689
+ /**
1690
+ * <p>Information about the AMI.</p>
1691
+ * @public
1692
+ */
1693
+ export interface ImageMetadata {
1694
+ /**
1695
+ * <p>The ID of the AMI.</p>
1696
+ * @public
1697
+ */
1698
+ ImageId?: string;
1699
+ /**
1700
+ * <p>The name of the AMI.</p>
1701
+ * @public
1702
+ */
1703
+ Name?: string;
1704
+ /**
1705
+ * <p>The ID of the Amazon Web Services account that owns the AMI.</p>
1706
+ * @public
1707
+ */
1708
+ OwnerId?: string;
1709
+ /**
1710
+ * <p>The current state of the AMI. If the state is <code>available</code>, the AMI
1711
+ * is successfully registered and can be used to launch an instance.</p>
1712
+ * @public
1713
+ */
1714
+ State?: ImageState;
1715
+ /**
1716
+ * <p>The alias of the AMI owner.</p>
1717
+ * <p>Valid values: <code>amazon</code> | <code>aws-marketplace</code>
1718
+ * </p>
1719
+ * @public
1720
+ */
1721
+ ImageOwnerAlias?: string;
1722
+ /**
1723
+ * <p>The date and time the AMI was created.</p>
1724
+ * @public
1725
+ */
1726
+ CreationDate?: string;
1727
+ /**
1728
+ * <p>The deprecation date and time of the AMI, in UTC, in the following format:
1729
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.</p>
1730
+ * @public
1731
+ */
1732
+ DeprecationTime?: string;
1733
+ /**
1734
+ * <p>Indicates whether the AMI has public launch permissions. A value of <code>true</code>
1735
+ * means this AMI has public launch permissions, while <code>false</code> means it has only
1736
+ * implicit (AMI owner) or explicit (shared with your account) launch permissions.</p>
1737
+ * @public
1738
+ */
1739
+ IsPublic?: boolean;
1740
+ }
1741
+ /**
1742
+ * @public
1743
+ * @enum
1744
+ */
1745
+ export declare const InstanceStateName: {
1746
+ readonly pending: "pending";
1747
+ readonly running: "running";
1748
+ readonly shutting_down: "shutting-down";
1749
+ readonly stopped: "stopped";
1750
+ readonly stopping: "stopping";
1751
+ readonly terminated: "terminated";
1752
+ };
1753
+ /**
1754
+ * @public
1755
+ */
1756
+ export type InstanceStateName = (typeof InstanceStateName)[keyof typeof InstanceStateName];
1757
+ /**
1758
+ * <p>Describes the current state of an instance.</p>
1759
+ * @public
1760
+ */
1761
+ export interface InstanceState {
1762
+ /**
1763
+ * <p>The state of the instance as a 16-bit unsigned integer. </p>
1764
+ * <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values
1765
+ * between 256 and 65,535. These numerical values are used for internal purposes and should
1766
+ * be ignored.</p>
1767
+ * <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values
1768
+ * between 0 and 255. </p>
1769
+ * <p>The valid values for instance-state-code will all be in the range of the low byte and
1770
+ * they are:</p>
1771
+ * <ul>
1772
+ * <li>
1773
+ * <p>
1774
+ * <code>0</code> : <code>pending</code>
1775
+ * </p>
1776
+ * </li>
1777
+ * <li>
1778
+ * <p>
1779
+ * <code>16</code> : <code>running</code>
1780
+ * </p>
1781
+ * </li>
1782
+ * <li>
1783
+ * <p>
1784
+ * <code>32</code> : <code>shutting-down</code>
1785
+ * </p>
1786
+ * </li>
1787
+ * <li>
1788
+ * <p>
1789
+ * <code>48</code> : <code>terminated</code>
1790
+ * </p>
1791
+ * </li>
1792
+ * <li>
1793
+ * <p>
1794
+ * <code>64</code> : <code>stopping</code>
1795
+ * </p>
1796
+ * </li>
1797
+ * <li>
1798
+ * <p>
1799
+ * <code>80</code> : <code>stopped</code>
1800
+ * </p>
1801
+ * </li>
1802
+ * </ul>
1803
+ * <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in
1804
+ * decimal.</p>
1805
+ * @public
1806
+ */
1807
+ Code?: number;
1808
+ /**
1809
+ * <p>The current state of the instance.</p>
1810
+ * @public
1811
+ */
1812
+ Name?: InstanceStateName;
1813
+ }
1814
+ /**
1815
+ * <p>Information about the instance and the AMI used to launch the instance.</p>
1816
+ * @public
1817
+ */
1818
+ export interface InstanceImageMetadata {
1819
+ /**
1820
+ * <p>The ID of the instance.</p>
1821
+ * @public
1822
+ */
1823
+ InstanceId?: string;
1824
+ /**
1825
+ * <p>The instance type.</p>
1826
+ * @public
1827
+ */
1828
+ InstanceType?: _InstanceType;
1829
+ /**
1830
+ * <p>The time the instance was launched.</p>
1831
+ * @public
1832
+ */
1833
+ LaunchTime?: Date;
1834
+ /**
1835
+ * <p>The Availability Zone or Local Zone of the instance.</p>
1836
+ * @public
1837
+ */
1838
+ AvailabilityZone?: string;
1839
+ /**
1840
+ * <p>The ID of the Availability Zone or Local Zone of the instance.</p>
1841
+ * @public
1842
+ */
1843
+ ZoneId?: string;
1844
+ /**
1845
+ * <p>The current state of the instance.</p>
1846
+ * @public
1847
+ */
1848
+ State?: InstanceState;
1849
+ /**
1850
+ * <p>The ID of the Amazon Web Services account that owns the instance.</p>
1851
+ * @public
1852
+ */
1853
+ OwnerId?: string;
1854
+ /**
1855
+ * <p>Any tags assigned to the instance.</p>
1856
+ * @public
1857
+ */
1858
+ Tags?: Tag[];
1859
+ /**
1860
+ * <p>Information about the AMI used to launch the instance.</p>
1861
+ * @public
1862
+ */
1863
+ ImageMetadata?: ImageMetadata;
1864
+ }
1865
+ /**
1866
+ * @public
1867
+ */
1868
+ export interface DescribeInstanceImageMetadataResult {
1869
+ /**
1870
+ * <p>Information about the instance and the AMI used to launch the instance.</p>
1871
+ * @public
1872
+ */
1873
+ InstanceImageMetadata?: InstanceImageMetadata[];
1874
+ /**
1875
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
1876
+ * are no more items to return.</p>
1877
+ * @public
1878
+ */
1879
+ NextToken?: string;
1880
+ }
1607
1881
  /**
1608
1882
  * @public
1609
1883
  */
@@ -2985,79 +3259,6 @@ export interface PrivateDnsNameOptionsResponse {
2985
3259
  */
2986
3260
  EnableResourceNameDnsAAAARecord?: boolean;
2987
3261
  }
2988
- /**
2989
- * @public
2990
- * @enum
2991
- */
2992
- export declare const InstanceStateName: {
2993
- readonly pending: "pending";
2994
- readonly running: "running";
2995
- readonly shutting_down: "shutting-down";
2996
- readonly stopped: "stopped";
2997
- readonly stopping: "stopping";
2998
- readonly terminated: "terminated";
2999
- };
3000
- /**
3001
- * @public
3002
- */
3003
- export type InstanceStateName = (typeof InstanceStateName)[keyof typeof InstanceStateName];
3004
- /**
3005
- * <p>Describes the current state of an instance.</p>
3006
- * @public
3007
- */
3008
- export interface InstanceState {
3009
- /**
3010
- * <p>The state of the instance as a 16-bit unsigned integer. </p>
3011
- * <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values
3012
- * between 256 and 65,535. These numerical values are used for internal purposes and should
3013
- * be ignored.</p>
3014
- * <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values
3015
- * between 0 and 255. </p>
3016
- * <p>The valid values for instance-state-code will all be in the range of the low byte and
3017
- * they are:</p>
3018
- * <ul>
3019
- * <li>
3020
- * <p>
3021
- * <code>0</code> : <code>pending</code>
3022
- * </p>
3023
- * </li>
3024
- * <li>
3025
- * <p>
3026
- * <code>16</code> : <code>running</code>
3027
- * </p>
3028
- * </li>
3029
- * <li>
3030
- * <p>
3031
- * <code>32</code> : <code>shutting-down</code>
3032
- * </p>
3033
- * </li>
3034
- * <li>
3035
- * <p>
3036
- * <code>48</code> : <code>terminated</code>
3037
- * </p>
3038
- * </li>
3039
- * <li>
3040
- * <p>
3041
- * <code>64</code> : <code>stopping</code>
3042
- * </p>
3043
- * </li>
3044
- * <li>
3045
- * <p>
3046
- * <code>80</code> : <code>stopped</code>
3047
- * </p>
3048
- * </li>
3049
- * </ul>
3050
- * <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in
3051
- * decimal.</p>
3052
- * @public
3053
- */
3054
- Code?: number;
3055
- /**
3056
- * <p>The current state of the instance.</p>
3057
- * @public
3058
- */
3059
- Name?: InstanceStateName;
3060
- }
3061
3262
  /**
3062
3263
  * <p>Describes an instance.</p>
3063
3264
  * @public
@@ -10963,100 +11164,6 @@ export interface HistoryRecord {
10963
11164
  */
10964
11165
  Timestamp?: Date;
10965
11166
  }
10966
- /**
10967
- * <p>Contains the output of DescribeSpotFleetRequestHistory.</p>
10968
- * @public
10969
- */
10970
- export interface DescribeSpotFleetRequestHistoryResponse {
10971
- /**
10972
- * <p>Information about the events in the history of the Spot Fleet request.</p>
10973
- * @public
10974
- */
10975
- HistoryRecords?: HistoryRecord[];
10976
- /**
10977
- * <p>The last date and time for the events, in UTC format (for example,
10978
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
10979
- * All records up to this time were retrieved.</p>
10980
- * <p>If <code>nextToken</code> indicates that there are more items, this value is not
10981
- * present.</p>
10982
- * @public
10983
- */
10984
- LastEvaluatedTime?: Date;
10985
- /**
10986
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
10987
- * are no more items to return.</p>
10988
- * @public
10989
- */
10990
- NextToken?: string;
10991
- /**
10992
- * <p>The ID of the Spot Fleet request.</p>
10993
- * @public
10994
- */
10995
- SpotFleetRequestId?: string;
10996
- /**
10997
- * <p>The starting date and time for the events, in UTC format (for example,
10998
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
10999
- * @public
11000
- */
11001
- StartTime?: Date;
11002
- }
11003
- /**
11004
- * <p>Contains the parameters for DescribeSpotFleetRequests.</p>
11005
- * @public
11006
- */
11007
- export interface DescribeSpotFleetRequestsRequest {
11008
- /**
11009
- * <p>Checks whether you have the required permissions for the action, without actually
11010
- * making the request, and provides an error response. If you have the required
11011
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11012
- * <code>UnauthorizedOperation</code>.</p>
11013
- * @public
11014
- */
11015
- DryRun?: boolean;
11016
- /**
11017
- * <p>The IDs of the Spot Fleet requests.</p>
11018
- * @public
11019
- */
11020
- SpotFleetRequestIds?: string[];
11021
- /**
11022
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11023
- * are no more items to return.</p>
11024
- * @public
11025
- */
11026
- NextToken?: string;
11027
- /**
11028
- * <p>The maximum number of items to return for this request.
11029
- * To get the next page of items, make another request with the token returned in the output.
11030
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11031
- * @public
11032
- */
11033
- MaxResults?: number;
11034
- }
11035
- /**
11036
- * @public
11037
- * @enum
11038
- */
11039
- export declare const ExcessCapacityTerminationPolicy: {
11040
- readonly DEFAULT: "default";
11041
- readonly NO_TERMINATION: "noTermination";
11042
- };
11043
- /**
11044
- * @public
11045
- */
11046
- export type ExcessCapacityTerminationPolicy = (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
11047
- /**
11048
- * <p>Describes whether monitoring is enabled.</p>
11049
- * @public
11050
- */
11051
- export interface SpotFleetMonitoring {
11052
- /**
11053
- * <p>Enables monitoring for the instance.</p>
11054
- * <p>Default: <code>false</code>
11055
- * </p>
11056
- * @public
11057
- */
11058
- Enabled?: boolean;
11059
- }
11060
11167
  /**
11061
11168
  * @internal
11062
11169
  */
@@ -1,8 +1,102 @@
1
1
  import { ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, CapacityReservationState, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, DiskImageFormat, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, SSEType, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PeriodType, ProductCode, StatisticType } from "./models_3";
5
- import { AttributeBooleanValue, ExcessCapacityTerminationPolicy, RIProductDescription, SpotFleetMonitoring } from "./models_4";
5
+ import { AttributeBooleanValue, HistoryRecord, RIProductDescription } from "./models_4";
6
+ /**
7
+ * <p>Contains the output of DescribeSpotFleetRequestHistory.</p>
8
+ * @public
9
+ */
10
+ export interface DescribeSpotFleetRequestHistoryResponse {
11
+ /**
12
+ * <p>Information about the events in the history of the Spot Fleet request.</p>
13
+ * @public
14
+ */
15
+ HistoryRecords?: HistoryRecord[];
16
+ /**
17
+ * <p>The last date and time for the events, in UTC format (for example,
18
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
19
+ * All records up to this time were retrieved.</p>
20
+ * <p>If <code>nextToken</code> indicates that there are more items, this value is not
21
+ * present.</p>
22
+ * @public
23
+ */
24
+ LastEvaluatedTime?: Date;
25
+ /**
26
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
27
+ * are no more items to return.</p>
28
+ * @public
29
+ */
30
+ NextToken?: string;
31
+ /**
32
+ * <p>The ID of the Spot Fleet request.</p>
33
+ * @public
34
+ */
35
+ SpotFleetRequestId?: string;
36
+ /**
37
+ * <p>The starting date and time for the events, in UTC format (for example,
38
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
39
+ * @public
40
+ */
41
+ StartTime?: Date;
42
+ }
43
+ /**
44
+ * <p>Contains the parameters for DescribeSpotFleetRequests.</p>
45
+ * @public
46
+ */
47
+ export interface DescribeSpotFleetRequestsRequest {
48
+ /**
49
+ * <p>Checks whether you have the required permissions for the action, without actually
50
+ * making the request, and provides an error response. If you have the required
51
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
52
+ * <code>UnauthorizedOperation</code>.</p>
53
+ * @public
54
+ */
55
+ DryRun?: boolean;
56
+ /**
57
+ * <p>The IDs of the Spot Fleet requests.</p>
58
+ * @public
59
+ */
60
+ SpotFleetRequestIds?: string[];
61
+ /**
62
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
63
+ * are no more items to return.</p>
64
+ * @public
65
+ */
66
+ NextToken?: string;
67
+ /**
68
+ * <p>The maximum number of items to return for this request.
69
+ * To get the next page of items, make another request with the token returned in the output.
70
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
71
+ * @public
72
+ */
73
+ MaxResults?: number;
74
+ }
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const ExcessCapacityTerminationPolicy: {
80
+ readonly DEFAULT: "default";
81
+ readonly NO_TERMINATION: "noTermination";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type ExcessCapacityTerminationPolicy = (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
87
+ /**
88
+ * <p>Describes whether monitoring is enabled.</p>
89
+ * @public
90
+ */
91
+ export interface SpotFleetMonitoring {
92
+ /**
93
+ * <p>Enables monitoring for the instance.</p>
94
+ * <p>Default: <code>false</code>
95
+ * </p>
96
+ * @public
97
+ */
98
+ Enabled?: boolean;
99
+ }
6
100
  /**
7
101
  * <p>Describes a network interface.</p>
8
102
  * @public
@@ -8606,57 +8700,6 @@ export interface GetEbsDefaultKmsKeyIdRequest {
8606
8700
  */
8607
8701
  DryRun?: boolean;
8608
8702
  }
8609
- /**
8610
- * @public
8611
- */
8612
- export interface GetEbsDefaultKmsKeyIdResult {
8613
- /**
8614
- * <p>The Amazon Resource Name (ARN) of the default KMS key for encryption by default.</p>
8615
- * @public
8616
- */
8617
- KmsKeyId?: string;
8618
- }
8619
- /**
8620
- * @public
8621
- */
8622
- export interface GetEbsEncryptionByDefaultRequest {
8623
- /**
8624
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8625
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8626
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8627
- * @public
8628
- */
8629
- DryRun?: boolean;
8630
- }
8631
- /**
8632
- * @public
8633
- */
8634
- export interface GetEbsEncryptionByDefaultResult {
8635
- /**
8636
- * <p>Indicates whether encryption by default is enabled.</p>
8637
- * @public
8638
- */
8639
- EbsEncryptionByDefault?: boolean;
8640
- /**
8641
- * <p>Reserved for future use.</p>
8642
- * @public
8643
- */
8644
- SseType?: SSEType;
8645
- }
8646
- /**
8647
- * @public
8648
- * @enum
8649
- */
8650
- export declare const PartitionLoadFrequency: {
8651
- readonly DAILY: "daily";
8652
- readonly MONTHLY: "monthly";
8653
- readonly NONE: "none";
8654
- readonly WEEKLY: "weekly";
8655
- };
8656
- /**
8657
- * @public
8658
- */
8659
- export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
8660
8703
  /**
8661
8704
  * @internal
8662
8705
  */