@aws-sdk/client-ec2 3.677.0 → 3.679.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 (72) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/index.js +216 -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_1.js +36 -0
  7. package/dist-es/models/models_4.js +8 -12
  8. package/dist-es/models/models_5.js +4 -6
  9. package/dist-es/models/models_6.js +6 -0
  10. package/dist-es/pagination/DescribeInstanceImageMetadataPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_ec2.js +140 -2
  13. package/dist-types/EC2.d.ts +8 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  21. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +132 -0
  22. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  29. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +3 -4
  31. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  33. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  34. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  35. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  36. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  39. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  40. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  41. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  42. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  43. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  44. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  45. package/dist-types/commands/index.d.ts +1 -0
  46. package/dist-types/models/models_1.d.ts +87 -15
  47. package/dist-types/models/models_4.d.ts +274 -167
  48. package/dist-types/models/models_5.d.ts +96 -53
  49. package/dist-types/models/models_6.d.ts +54 -117
  50. package/dist-types/models/models_7.d.ts +114 -0
  51. package/dist-types/pagination/DescribeInstanceImageMetadataPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  54. package/dist-types/ts3.4/EC2.d.ts +18 -0
  55. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  56. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_1.d.ts +36 -0
  65. package/dist-types/ts3.4/models/models_4.d.ts +46 -36
  66. package/dist-types/ts3.4/models/models_5.d.ts +23 -21
  67. package/dist-types/ts3.4/models/models_6.d.ts +20 -27
  68. package/dist-types/ts3.4/models/models_7.d.ts +25 -0
  69. package/dist-types/ts3.4/pagination/DescribeInstanceImageMetadataPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  71. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  72. package/package.json +15 -15
@@ -222,6 +222,18 @@ export declare const _InstanceType: {
222
222
  readonly c7i_metal_24xl: "c7i.metal-24xl";
223
223
  readonly c7i_metal_48xl: "c7i.metal-48xl";
224
224
  readonly c7i_xlarge: "c7i.xlarge";
225
+ readonly c8g_12xlarge: "c8g.12xlarge";
226
+ readonly c8g_16xlarge: "c8g.16xlarge";
227
+ readonly c8g_24xlarge: "c8g.24xlarge";
228
+ readonly c8g_2xlarge: "c8g.2xlarge";
229
+ readonly c8g_48xlarge: "c8g.48xlarge";
230
+ readonly c8g_4xlarge: "c8g.4xlarge";
231
+ readonly c8g_8xlarge: "c8g.8xlarge";
232
+ readonly c8g_large: "c8g.large";
233
+ readonly c8g_medium: "c8g.medium";
234
+ readonly c8g_metal_24xl: "c8g.metal-24xl";
235
+ readonly c8g_metal_48xl: "c8g.metal-48xl";
236
+ readonly c8g_xlarge: "c8g.xlarge";
225
237
  readonly cc1_4xlarge: "cc1.4xlarge";
226
238
  readonly cc2_8xlarge: "cc2.8xlarge";
227
239
  readonly cg1_4xlarge: "cg1.4xlarge";
@@ -556,6 +568,18 @@ export declare const _InstanceType: {
556
568
  readonly m7i_metal_24xl: "m7i.metal-24xl";
557
569
  readonly m7i_metal_48xl: "m7i.metal-48xl";
558
570
  readonly m7i_xlarge: "m7i.xlarge";
571
+ readonly m8g_12xlarge: "m8g.12xlarge";
572
+ readonly m8g_16xlarge: "m8g.16xlarge";
573
+ readonly m8g_24xlarge: "m8g.24xlarge";
574
+ readonly m8g_2xlarge: "m8g.2xlarge";
575
+ readonly m8g_48xlarge: "m8g.48xlarge";
576
+ readonly m8g_4xlarge: "m8g.4xlarge";
577
+ readonly m8g_8xlarge: "m8g.8xlarge";
578
+ readonly m8g_large: "m8g.large";
579
+ readonly m8g_medium: "m8g.medium";
580
+ readonly m8g_metal_24xl: "m8g.metal-24xl";
581
+ readonly m8g_metal_48xl: "m8g.metal-48xl";
582
+ readonly m8g_xlarge: "m8g.xlarge";
559
583
  readonly mac1_metal: "mac1.metal";
560
584
  readonly mac2_m1ultra_metal: "mac2-m1ultra.metal";
561
585
  readonly mac2_m2_metal: "mac2-m2.metal";
@@ -862,6 +886,18 @@ export declare const _InstanceType: {
862
886
  readonly x2iezn_6xlarge: "x2iezn.6xlarge";
863
887
  readonly x2iezn_8xlarge: "x2iezn.8xlarge";
864
888
  readonly x2iezn_metal: "x2iezn.metal";
889
+ readonly x8g_12xlarge: "x8g.12xlarge";
890
+ readonly x8g_16xlarge: "x8g.16xlarge";
891
+ readonly x8g_24xlarge: "x8g.24xlarge";
892
+ readonly x8g_2xlarge: "x8g.2xlarge";
893
+ readonly x8g_48xlarge: "x8g.48xlarge";
894
+ readonly x8g_4xlarge: "x8g.4xlarge";
895
+ readonly x8g_8xlarge: "x8g.8xlarge";
896
+ readonly x8g_large: "x8g.large";
897
+ readonly x8g_medium: "x8g.medium";
898
+ readonly x8g_metal_24xl: "x8g.metal-24xl";
899
+ readonly x8g_metal_48xl: "x8g.metal-48xl";
900
+ readonly x8g_xlarge: "x8g.xlarge";
865
901
  readonly z1d_12xlarge: "z1d.12xlarge";
866
902
  readonly z1d_2xlarge: "z1d.2xlarge";
867
903
  readonly z1d_3xlarge: "z1d.3xlarge";
@@ -6300,7 +6336,6 @@ export interface CreateIpamPoolRequest {
6300
6336
  * <p>The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local Zones</a>). This option is only available for IPAM IPv4 pools in the public scope.</p>
6301
6337
  * </li>
6302
6338
  * </ul>
6303
- * <p>If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.</p>
6304
6339
  * <p>Possible values: Any Amazon Web Services Region or supported Amazon Web Services Local Zone. Default is <code>none</code> and means any locale.</p>
6305
6340
  * @public
6306
6341
  */
@@ -6333,7 +6368,7 @@ export interface CreateIpamPoolRequest {
6333
6368
  */
6334
6369
  AutoImport?: boolean;
6335
6370
  /**
6336
- * <p>Determines if the pool is publicly advertisable. This option is not available for pools with AddressFamily set to <code>ipv4</code>.</p>
6371
+ * <p>Determines if the pool is publicly advertisable. The request can only contain <code>PubliclyAdvertisable</code> if <code>AddressFamily</code> is <code>ipv6</code> and <code>PublicIpSource</code> is <code>byoip</code>.</p>
6337
6372
  * @public
6338
6373
  */
6339
6374
  PubliclyAdvertisable?: boolean;
@@ -7060,7 +7095,8 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
7060
7095
  */
7061
7096
  Iops?: number;
7062
7097
  /**
7063
- * <p>The ARN of the symmetric Key Management Service (KMS) CMK used for encryption.</p>
7098
+ * <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
7099
+ * to use for EBS encryption.</p>
7064
7100
  * @public
7065
7101
  */
7066
7102
  KmsKeyId?: string;
@@ -7274,7 +7310,7 @@ export interface ElasticGpuSpecification {
7274
7310
  * <note>
7275
7311
  * <p>Amazon Elastic Inference is no longer available.</p>
7276
7312
  * </note>
7277
- * <p> Describes an elastic inference accelerator.</p>
7313
+ * <p> Describes an elastic inference accelerator. </p>
7278
7314
  * @public
7279
7315
  */
7280
7316
  export interface LaunchTemplateElasticInferenceAccelerator {
@@ -8167,16 +8203,30 @@ export interface RequestLaunchTemplateData {
8167
8203
  /**
8168
8204
  * <p>Deprecated.</p>
8169
8205
  * <note>
8170
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
8206
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
8207
+ * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
8208
+ * G4dn, or G5 instances.</p>
8171
8209
  * </note>
8172
8210
  * @public
8173
8211
  */
8174
8212
  ElasticGpuSpecifications?: ElasticGpuSpecification[];
8175
8213
  /**
8176
- * <p>Deprecated.</p>
8177
- * <note>
8214
+ * <note>
8178
8215
  * <p>Amazon Elastic Inference is no longer available.</p>
8179
8216
  * </note>
8217
+ * <p>An elastic inference accelerator to associate with the instance. Elastic inference
8218
+ * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
8219
+ * your Deep Learning (DL) inference workloads.</p>
8220
+ * <p>You cannot specify accelerators from different generations in the same request.</p>
8221
+ * <note>
8222
+ * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
8223
+ * Elastic Inference (EI), and will help current customers migrate their workloads to
8224
+ * options that offer better price and performance. After April 15, 2023, new customers
8225
+ * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
8226
+ * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
8227
+ * the past 30-day period are considered current customers and will be able to continue
8228
+ * using the service.</p>
8229
+ * </note>
8180
8230
  * @public
8181
8231
  */
8182
8232
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAccelerator[];
@@ -8522,7 +8572,8 @@ export interface LaunchTemplateEbsBlockDevice {
8522
8572
  */
8523
8573
  Iops?: number;
8524
8574
  /**
8525
- * <p>The ARN of the Key Management Service (KMS) CMK used for encryption.</p>
8575
+ * <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
8576
+ * to use for EBS encryption.</p>
8526
8577
  * @public
8527
8578
  */
8528
8579
  KmsKeyId?: string;
@@ -8656,15 +8707,22 @@ export interface CreditSpecification {
8656
8707
  CpuCredits?: string;
8657
8708
  }
8658
8709
  /**
8659
- * <note>
8660
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
8710
+ * <p>Deprecated.</p>
8711
+ * <note>
8712
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
8713
+ * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
8714
+ * G4dn, or G5 instances.</p>
8661
8715
  * </note>
8662
- * <p>Describes an elastic GPU.</p>
8663
8716
  * @public
8664
8717
  */
8665
8718
  export interface ElasticGpuSpecificationResponse {
8666
8719
  /**
8667
- * <p>The elastic GPU type.</p>
8720
+ * <p>Deprecated.</p>
8721
+ * <note>
8722
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
8723
+ * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
8724
+ * G4dn, or G5 instances.</p>
8725
+ * </note>
8668
8726
  * @public
8669
8727
  */
8670
8728
  Type?: string;
@@ -9344,16 +9402,30 @@ export interface ResponseLaunchTemplateData {
9344
9402
  /**
9345
9403
  * <p>Deprecated.</p>
9346
9404
  * <note>
9347
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
9405
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For
9406
+ * workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad,
9407
+ * G4dn, or G5 instances.</p>
9348
9408
  * </note>
9349
9409
  * @public
9350
9410
  */
9351
9411
  ElasticGpuSpecifications?: ElasticGpuSpecificationResponse[];
9352
9412
  /**
9353
- * <p>Deprecated.</p>
9354
- * <note>
9413
+ * <note>
9355
9414
  * <p>Amazon Elastic Inference is no longer available.</p>
9356
9415
  * </note>
9416
+ * <p>An elastic inference accelerator to associate with the instance. Elastic inference
9417
+ * accelerators are a resource you can attach to your Amazon EC2 instances to accelerate
9418
+ * your Deep Learning (DL) inference workloads.</p>
9419
+ * <p>You cannot specify accelerators from different generations in the same request.</p>
9420
+ * <note>
9421
+ * <p>Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon
9422
+ * Elastic Inference (EI), and will help current customers migrate their workloads to
9423
+ * options that offer better price and performance. After April 15, 2023, new customers
9424
+ * will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
9425
+ * Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during
9426
+ * the past 30-day period are considered current customers and will be able to continue
9427
+ * using the service.</p>
9428
+ * </note>
9357
9429
  * @public
9358
9430
  */
9359
9431
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAcceleratorResponse[];
@@ -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
  */