@aws-sdk/client-ec2 3.58.0 → 3.69.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 (103) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/EC2.js +15 -0
  4. package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
  9. package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
  10. package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
  11. package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
  12. package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
  13. package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
  14. package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
  15. package/dist-cjs/commands/index.js +1 -0
  16. package/dist-cjs/models/models_1.js +22 -23
  17. package/dist-cjs/models/models_2.js +24 -24
  18. package/dist-cjs/models/models_3.js +35 -29
  19. package/dist-cjs/models/models_4.js +29 -36
  20. package/dist-cjs/models/models_5.js +48 -42
  21. package/dist-cjs/models/models_6.js +44 -2
  22. package/dist-cjs/protocols/Aws_ec2.js +139 -13
  23. package/dist-es/EC2.js +15 -0
  24. package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
  25. package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
  26. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
  27. package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
  28. package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
  29. package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
  30. package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
  31. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
  32. package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
  33. package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
  34. package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
  35. package/dist-es/commands/index.js +1 -0
  36. package/dist-es/models/models_1.js +13 -12
  37. package/dist-es/models/models_2.js +12 -12
  38. package/dist-es/models/models_3.js +21 -17
  39. package/dist-es/models/models_4.js +17 -20
  40. package/dist-es/models/models_5.js +28 -24
  41. package/dist-es/models/models_6.js +28 -0
  42. package/dist-es/protocols/Aws_ec2.js +137 -0
  43. package/dist-types/EC2.d.ts +91 -65
  44. package/dist-types/EC2Client.d.ts +3 -2
  45. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  46. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  47. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  48. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  50. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  51. package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
  52. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  54. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
  55. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  56. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
  57. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
  58. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  59. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
  60. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
  61. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
  62. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
  63. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  64. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  65. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  66. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  67. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
  68. package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
  69. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  70. package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
  71. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
  72. package/dist-types/commands/index.d.ts +1 -0
  73. package/dist-types/models/models_0.d.ts +11 -9
  74. package/dist-types/models/models_1.d.ts +344 -313
  75. package/dist-types/models/models_2.d.ts +69 -69
  76. package/dist-types/models/models_3.d.ts +160 -218
  77. package/dist-types/models/models_4.d.ts +167 -126
  78. package/dist-types/models/models_5.d.ts +214 -140
  79. package/dist-types/models/models_6.d.ts +191 -66
  80. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  81. package/dist-types/ts3.4/EC2.d.ts +5 -0
  82. package/dist-types/ts3.4/EC2Client.d.ts +3 -2
  83. package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
  84. package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
  85. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
  86. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  88. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
  90. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  96. package/dist-types/ts3.4/models/models_1.d.ts +27 -39
  97. package/dist-types/ts3.4/models/models_2.d.ts +40 -39
  98. package/dist-types/ts3.4/models/models_3.d.ts +53 -49
  99. package/dist-types/ts3.4/models/models_4.d.ts +51 -71
  100. package/dist-types/ts3.4/models/models_5.d.ts +93 -60
  101. package/dist-types/ts3.4/models/models_6.d.ts +70 -2
  102. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
  103. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, BareMetal, BaselineEbsBandwidthMbpsRequest, BurstablePerformance, CpuManufacturer, CurrencyCodeValues, DnsSupportValue, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateSpecificationRequest, HostnameType, InstanceEventWindow, InternetGatewayAttachment, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentState, UnsuccessfulItem, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, BareMetal, BaselineEbsBandwidthMbpsRequest, BurstablePerformance, CpuManufacturer, CurrencyCodeValues, DnsSupportValue, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateSpecificationRequest, HostnameType, InstanceEventWindow, InternetGatewayAttachment, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, WeekDay } from "./models_0";
2
2
  export declare enum InstanceGeneration {
3
3
  CURRENT = "current",
4
4
  PREVIOUS = "previous"
@@ -410,7 +410,8 @@ export interface Placement {
410
410
  AvailabilityZone?: string;
411
411
  /**
412
412
  * <p>The affinity setting for the instance on the Dedicated Host. This parameter is not
413
- * supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a> command.</p>
413
+ * supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>
414
+ * command.</p>
414
415
  * <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
415
416
  */
416
417
  Affinity?: string;
@@ -426,17 +427,20 @@ export interface Placement {
426
427
  PartitionNumber?: number;
427
428
  /**
428
429
  * <p>The ID of the Dedicated Host on which the instance resides. This parameter is not
429
- * supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a> command.</p>
430
+ * supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>
431
+ * command.</p>
430
432
  * <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
431
433
  */
432
434
  HostId?: string;
433
435
  /**
434
436
  * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a
435
437
  * tenancy of <code>dedicated</code> runs on single-tenant hardware. The <code>host</code>
436
- * tenancy is not supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a> command.</p>
438
+ * tenancy is not supported for the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>
439
+ * command.</p>
437
440
  * <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
438
441
  *
439
- * <p>T3 instances that use the <code>unlimited</code> CPU credit option do not support <code>host</code> tenancy.</p>
442
+ * <p>T3 instances that use the <code>unlimited</code> CPU credit option do not support
443
+ * <code>host</code> tenancy.</p>
440
444
  */
441
445
  Tenancy?: Tenancy | string;
442
446
  /**
@@ -445,9 +449,9 @@ export interface Placement {
445
449
  */
446
450
  SpreadDomain?: string;
447
451
  /**
448
- * <p>The ARN of the host resource group in which to launch the instances. If you specify
449
- * a host resource group ARN, omit the <b>Tenancy</b>
450
- * parameter or set it to <code>host</code>.</p>
452
+ * <p>The ARN of the host resource group in which to launch the instances. If you specify a
453
+ * host resource group ARN, omit the <b>Tenancy</b> parameter or
454
+ * set it to <code>host</code>.</p>
451
455
  * <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
452
456
  */
453
457
  HostResourceGroupArn?: string;
@@ -1816,14 +1820,14 @@ export interface EbsBlockDevice {
1816
1820
  /**
1817
1821
  * <p>Indicates whether the EBS volume is deleted on instance termination. For more
1818
1822
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination">Preserving Amazon EBS volumes on instance termination</a> in the
1819
- * <i>Amazon EC2 User Guide</i>.</p>
1823
+ * <i>Amazon EC2 User Guide</i>.</p>
1820
1824
  */
1821
1825
  DeleteOnTermination?: boolean;
1822
1826
  /**
1823
- * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes, this
1824
- * represents the number of IOPS that are provisioned for the volume. For <code>gp2</code> volumes, this
1825
- * represents the baseline performance of the volume and the rate at which the volume accumulates
1826
- * I/O credits for bursting.</p>
1827
+ * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes,
1828
+ * this represents the number of IOPS that are provisioned for the volume. For <code>gp2</code>
1829
+ * volumes, this represents the baseline performance of the volume and the rate at which
1830
+ * the volume accumulates I/O credits for bursting.</p>
1827
1831
  * <p>The following are the supported values for each volume type:</p>
1828
1832
  * <ul>
1829
1833
  * <li>
@@ -1840,11 +1844,12 @@ export interface EbsBlockDevice {
1840
1844
  * </li>
1841
1845
  * </ul>
1842
1846
  * <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee 64,000 IOPS only for
1843
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the Nitro System</a>. Other instance families guarantee performance
1844
- * up to 32,000 IOPS.</p>
1845
- * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes.
1846
- * The default for <code>gp3</code> volumes is 3,000 IOPS.
1847
- * This parameter is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
1847
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
1848
+ * Nitro System</a>. Other instance families guarantee performance up to
1849
+ * 32,000 IOPS.</p>
1850
+ * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes
1851
+ * is 3,000 IOPS. This parameter is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code>
1852
+ * volumes.</p>
1848
1853
  */
1849
1854
  Iops?: number;
1850
1855
  /**
@@ -1852,25 +1857,25 @@ export interface EbsBlockDevice {
1852
1857
  */
1853
1858
  SnapshotId?: string;
1854
1859
  /**
1855
- * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.
1856
- * If you specify a snapshot, the default is the snapshot size. You can specify a volume
1857
- * size that is equal to or larger than the snapshot size.</p>
1860
+ * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
1861
+ * size. If you specify a snapshot, the default is the snapshot size. You can specify a
1862
+ * volume size that is equal to or larger than the snapshot size.</p>
1858
1863
  * <p>The following are the supported volumes sizes for each volume type:</p>
1859
1864
  * <ul>
1860
1865
  * <li>
1861
- * <p>
1866
+ * <p>
1862
1867
  * <code>gp2</code> and <code>gp3</code>:1-16,384</p>
1863
1868
  * </li>
1864
1869
  * <li>
1865
- * <p>
1870
+ * <p>
1866
1871
  * <code>io1</code> and <code>io2</code>: 4-16,384</p>
1867
1872
  * </li>
1868
1873
  * <li>
1869
- * <p>
1874
+ * <p>
1870
1875
  * <code>st1</code> and <code>sc1</code>: 125-16,384</p>
1871
1876
  * </li>
1872
1877
  * <li>
1873
- * <p>
1878
+ * <p>
1874
1879
  * <code>standard</code>: 1-1,024</p>
1875
1880
  * </li>
1876
1881
  * </ul>
@@ -1878,8 +1883,8 @@ export interface EbsBlockDevice {
1878
1883
  VolumeSize?: number;
1879
1884
  /**
1880
1885
  * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
1881
- * <i>Amazon EC2 User Guide</i>. If the volume type is <code>io1</code> or <code>io2</code>,
1882
- * you must specify the IOPS that the volume supports.</p>
1886
+ * <i>Amazon EC2 User Guide</i>. If the volume type is <code>io1</code> or
1887
+ * <code>io2</code>, you must specify the IOPS that the volume supports.</p>
1883
1888
  */
1884
1889
  VolumeType?: VolumeType | string;
1885
1890
  /**
@@ -1892,8 +1897,8 @@ export interface EbsBlockDevice {
1892
1897
  KmsKeyId?: string;
1893
1898
  /**
1894
1899
  * <p>The throughput that the volume supports, in MiB/s.</p>
1895
- * <p>This parameter is valid only for <code>gp3</code> volumes.</p>
1896
- * <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
1900
+ * <p>This parameter is valid only for <code>gp3</code> volumes.</p>
1901
+ * <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
1897
1902
  */
1898
1903
  Throughput?: number;
1899
1904
  /**
@@ -1902,14 +1907,11 @@ export interface EbsBlockDevice {
1902
1907
  OutpostArn?: string;
1903
1908
  /**
1904
1909
  * <p>Indicates whether the encryption state of an EBS volume is changed while being
1905
- * restored from a backing snapshot.
1906
- * The effect of setting the encryption state to <code>true</code> depends on
1907
- * the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled.
1908
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters">Amazon EBS encryption</a>
1909
- * in the <i>Amazon EC2 User Guide</i>.</p>
1910
+ * restored from a backing snapshot. The effect of setting the encryption state to <code>true</code> depends on
1911
+ * the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters">Amazon EBS encryption</a> in the <i>Amazon EC2 User Guide</i>.</p>
1910
1912
  * <p>In no case can you remove encryption from an encrypted volume.</p>
1911
- * <p>Encrypted volumes can only be attached to instances that support Amazon EBS
1912
- * encryption. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
1913
+ * <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
1914
+ * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
1913
1915
  * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
1914
1916
  */
1915
1917
  Encrypted?: boolean;
@@ -2922,8 +2924,9 @@ export declare namespace KeyPair {
2922
2924
  */
2923
2925
  export interface LaunchTemplateEbsBlockDeviceRequest {
2924
2926
  /**
2925
- * <p>Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption.
2926
- * If you are creating a volume from a snapshot, you can't specify an encryption value.</p>
2927
+ * <p>Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached
2928
+ * to instances that support Amazon EBS encryption. If you are creating a volume from a
2929
+ * snapshot, you can't specify an encryption value.</p>
2927
2930
  */
2928
2931
  Encrypted?: boolean;
2929
2932
  /**
@@ -2931,10 +2934,11 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
2931
2934
  */
2932
2935
  DeleteOnTermination?: boolean;
2933
2936
  /**
2934
- * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>, <code>io1</code>, and <code>io2</code>
2935
- * volumes, this represents the number of IOPS that are provisioned for the volume. For <code>gp2</code> volumes,
2936
- * this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits
2937
- * for bursting.</p>
2937
+ * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>,
2938
+ * <code>io1</code>, and <code>io2</code> volumes, this represents the number of IOPS that
2939
+ * are provisioned for the volume. For <code>gp2</code> volumes, this represents the
2940
+ * baseline performance of the volume and the rate at which the volume accumulates I/O
2941
+ * credits for bursting.</p>
2938
2942
  * <p>The following are the supported values for each volume type:</p>
2939
2943
  * <ul>
2940
2944
  * <li>
@@ -2950,16 +2954,16 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
2950
2954
  * <code>io2</code>: 100-64,000 IOPS</p>
2951
2955
  * </li>
2952
2956
  * </ul>
2953
- * <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee 64,000 IOPS
2954
- * only for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the Nitro System</a>. Other instance families guarantee performance up
2955
- * to 32,000 IOPS.</p>
2956
- * <p>This parameter is supported for <code>io1</code>, <code>io2</code>, and <code>gp3</code> volumes only. This parameter is not supported for
2957
- * <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
2957
+ * <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee
2958
+ * 64,000 IOPS only for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
2959
+ * Nitro System</a>. Other instance families guarantee performance up to
2960
+ * 32,000 IOPS.</p>
2961
+ * <p>This parameter is supported for <code>io1</code>, <code>io2</code>, and <code>gp3</code> volumes only. This parameter
2962
+ * is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
2958
2963
  */
2959
2964
  Iops?: number;
2960
2965
  /**
2961
- * <p>The ARN of the symmetric Key Management Service (KMS) CMK used for
2962
- * encryption.</p>
2966
+ * <p>The ARN of the symmetric Key Management Service (KMS) CMK used for encryption.</p>
2963
2967
  */
2964
2968
  KmsKeyId?: string;
2965
2969
  /**
@@ -2967,23 +2971,23 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
2967
2971
  */
2968
2972
  SnapshotId?: string;
2969
2973
  /**
2970
- * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following
2971
- * are the supported volumes sizes for each volume type:</p>
2974
+ * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
2975
+ * size. The following are the supported volumes sizes for each volume type:</p>
2972
2976
  * <ul>
2973
2977
  * <li>
2974
- * <p>
2978
+ * <p>
2975
2979
  * <code>gp2</code> and <code>gp3</code>: 1-16,384</p>
2976
2980
  * </li>
2977
2981
  * <li>
2978
- * <p>
2982
+ * <p>
2979
2983
  * <code>io1</code> and <code>io2</code>: 4-16,384</p>
2980
2984
  * </li>
2981
2985
  * <li>
2982
- * <p>
2986
+ * <p>
2983
2987
  * <code>st1</code> and <code>sc1</code>: 125-16,384</p>
2984
2988
  * </li>
2985
2989
  * <li>
2986
- * <p>
2990
+ * <p>
2987
2991
  * <code>standard</code>: 1-1,024</p>
2988
2992
  * </li>
2989
2993
  * </ul>
@@ -2991,12 +2995,13 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
2991
2995
  VolumeSize?: number;
2992
2996
  /**
2993
2997
  * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
2994
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2998
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2995
2999
  */
2996
3000
  VolumeType?: VolumeType | string;
2997
3001
  /**
2998
- * <p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 1,000 MiB/s.</p>
2999
- * <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
3002
+ * <p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 1,000
3003
+ * MiB/s.</p>
3004
+ * <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
3000
3005
  */
3001
3006
  Throughput?: number;
3002
3007
  }
@@ -3015,14 +3020,15 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
3015
3020
  */
3016
3021
  DeviceName?: string;
3017
3022
  /**
3018
- * <p>The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0.
3019
- * An instance type with 2 available instance store volumes can specify mappings for ephemeral0
3020
- * and ephemeral1. The number of available instance store volumes depends on the instance type.
3021
- * After you connect to the instance, you must mount the volume.</p>
3023
+ * <p>The virtual device name (ephemeralN). Instance store volumes are numbered starting
3024
+ * from 0. An instance type with 2 available instance store volumes can specify mappings
3025
+ * for ephemeral0 and ephemeral1. The number of available instance store volumes depends on
3026
+ * the instance type. After you connect to the instance, you must mount the volume.</p>
3022
3027
  */
3023
3028
  VirtualName?: string;
3024
3029
  /**
3025
- * <p>Parameters used to automatically set up EBS volumes when the instance is launched.</p>
3030
+ * <p>Parameters used to automatically set up EBS volumes when the instance is
3031
+ * launched.</p>
3026
3032
  */
3027
3033
  Ebs?: LaunchTemplateEbsBlockDeviceRequest;
3028
3034
  /**
@@ -3057,31 +3063,35 @@ export declare namespace CapacityReservationTarget {
3057
3063
  const filterSensitiveLog: (obj: CapacityReservationTarget) => any;
3058
3064
  }
3059
3065
  /**
3060
- * <p>Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the
3061
- * <code>CapacityReservationPreference</code> parameter to configure the instance to run in On-Demand capacity or
3062
- * to run in any <code>open</code> Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).
3063
- * Use the <code>CapacityReservationTarget</code> parameter to explicitly target a specific Capacity Reservation or
3064
- * a Capacity Reservation group.</p>
3066
+ * <p>Describes an instance's Capacity Reservation targeting option. You can specify only
3067
+ * one option at a time. Use the <code>CapacityReservationPreference</code> parameter to
3068
+ * configure the instance to run in On-Demand capacity or to run in any <code>open</code>
3069
+ * Capacity Reservation that has matching attributes (instance type, platform, Availability
3070
+ * Zone). Use the <code>CapacityReservationTarget</code> parameter to explicitly target a
3071
+ * specific Capacity Reservation or a Capacity Reservation group.</p>
3065
3072
  */
3066
3073
  export interface LaunchTemplateCapacityReservationSpecificationRequest {
3067
3074
  /**
3068
- * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences include:</p>
3069
- * <ul>
3075
+ * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
3076
+ * include:</p>
3077
+ * <ul>
3070
3078
  * <li>
3071
- * <p>
3072
- * <code>open</code> - The instance can run in any <code>open</code> Capacity Reservation that has matching attributes
3073
- * (instance type, platform, Availability Zone).</p>
3079
+ * <p>
3080
+ * <code>open</code> - The instance can run in any <code>open</code> Capacity
3081
+ * Reservation that has matching attributes (instance type, platform, Availability
3082
+ * Zone).</p>
3074
3083
  * </li>
3075
3084
  * <li>
3076
- * <p>
3077
- * <code>none</code> - The instance avoids running in a Capacity Reservation even if one is available. The instance
3078
- * runs in On-Demand capacity.</p>
3085
+ * <p>
3086
+ * <code>none</code> - The instance avoids running in a Capacity Reservation even
3087
+ * if one is available. The instance runs in On-Demand capacity.</p>
3079
3088
  * </li>
3080
3089
  * </ul>
3081
3090
  */
3082
3091
  CapacityReservationPreference?: CapacityReservationPreference | string;
3083
3092
  /**
3084
- * <p>Information about the target Capacity Reservation or Capacity Reservation group.</p>
3093
+ * <p>Information about the target Capacity Reservation or Capacity Reservation
3094
+ * group.</p>
3085
3095
  */
3086
3096
  CapacityReservationTarget?: CapacityReservationTarget;
3087
3097
  }
@@ -3092,8 +3102,8 @@ export declare namespace LaunchTemplateCapacityReservationSpecificationRequest {
3092
3102
  const filterSensitiveLog: (obj: LaunchTemplateCapacityReservationSpecificationRequest) => any;
3093
3103
  }
3094
3104
  /**
3095
- * <p>The CPU options for the instance. Both the core count and threads per core
3096
- * must be specified in the request.</p>
3105
+ * <p>The CPU options for the instance. Both the core count and threads per core must be
3106
+ * specified in the request.</p>
3097
3107
  */
3098
3108
  export interface LaunchTemplateCpuOptionsRequest {
3099
3109
  /**
@@ -3101,8 +3111,8 @@ export interface LaunchTemplateCpuOptionsRequest {
3101
3111
  */
3102
3112
  CoreCount?: number;
3103
3113
  /**
3104
- * <p>The number of threads per CPU core. To disable multithreading
3105
- * for the instance, specify a value of 1. Otherwise, specify the default value of 2.</p>
3114
+ * <p>The number of threads per CPU core. To disable multithreading for the instance,
3115
+ * specify a value of 1. Otherwise, specify the default value of 2.</p>
3106
3116
  */
3107
3117
  ThreadsPerCore?: number;
3108
3118
  }
@@ -3146,22 +3156,17 @@ export declare namespace ElasticGpuSpecification {
3146
3156
  const filterSensitiveLog: (obj: ElasticGpuSpecification) => any;
3147
3157
  }
3148
3158
  /**
3149
- * <p>
3150
- * Describes an elastic inference accelerator.
3151
- * </p>
3159
+ * <p> Describes an elastic inference accelerator. </p>
3152
3160
  */
3153
3161
  export interface LaunchTemplateElasticInferenceAccelerator {
3154
3162
  /**
3155
- * <p>
3156
- * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
3157
- * </p>
3163
+ * <p> The type of elastic inference accelerator. The possible values are eia1.medium,
3164
+ * eia1.large, and eia1.xlarge. </p>
3158
3165
  */
3159
3166
  Type: string | undefined;
3160
3167
  /**
3161
- * <p>
3162
- * The number of elastic inference accelerators to attach to the instance.
3163
- * </p>
3164
- * <p>Default: 1</p>
3168
+ * <p> The number of elastic inference accelerators to attach to the instance. </p>
3169
+ * <p>Default: 1</p>
3165
3170
  */
3166
3171
  Count?: number;
3167
3172
  }
@@ -3172,13 +3177,14 @@ export declare namespace LaunchTemplateElasticInferenceAccelerator {
3172
3177
  const filterSensitiveLog: (obj: LaunchTemplateElasticInferenceAccelerator) => any;
3173
3178
  }
3174
3179
  /**
3175
- * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information,
3176
- * see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">
3177
- * What is Amazon Web Services Nitro Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
3180
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more
3181
+ * information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro Enclaves?</a>
3182
+ * in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
3178
3183
  */
3179
3184
  export interface LaunchTemplateEnclaveOptionsRequest {
3180
3185
  /**
3181
- * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to <code>true</code>.</p>
3186
+ * <p>To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
3187
+ * <code>true</code>.</p>
3182
3188
  */
3183
3189
  Enabled?: boolean;
3184
3190
  }
@@ -3189,14 +3195,15 @@ export declare namespace LaunchTemplateEnclaveOptionsRequest {
3189
3195
  const filterSensitiveLog: (obj: LaunchTemplateEnclaveOptionsRequest) => any;
3190
3196
  }
3191
3197
  /**
3192
- * <p>Indicates whether the instance is configured for hibernation. This parameter is valid only
3193
- * if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
3198
+ * <p>Indicates whether the instance is configured for hibernation. This parameter is valid
3199
+ * only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
3194
3200
  * prerequisites</a>.</p>
3195
3201
  */
3196
3202
  export interface LaunchTemplateHibernationOptionsRequest {
3197
3203
  /**
3198
- * <p>If you set this parameter to <code>true</code>, the instance is enabled for hibernation.</p>
3199
- * <p>Default: <code>false</code>
3204
+ * <p>If you set this parameter to <code>true</code>, the instance is enabled for
3205
+ * hibernation.</p>
3206
+ * <p>Default: <code>false</code>
3200
3207
  * </p>
3201
3208
  */
3202
3209
  Configured?: boolean;
@@ -3243,18 +3250,20 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
3243
3250
  */
3244
3251
  SpotInstanceType?: SpotInstanceType | string;
3245
3252
  /**
3246
- * <p>The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>
3253
+ * <p>The required duration for the Spot Instances (also known as Spot blocks), in minutes.
3254
+ * This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>
3247
3255
  */
3248
3256
  BlockDurationMinutes?: number;
3249
3257
  /**
3250
- * <p>The end date of the request.
3251
- * For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached.
3252
- * If the request is persistent, it remains active until it is canceled or this date and time is reached.
3258
+ * <p>The end date of the request. For a one-time request, the request remains active until
3259
+ * all instances launch, the request is canceled, or this date is reached. If the request
3260
+ * is persistent, it remains active until it is canceled or this date and time is reached.
3253
3261
  * The default end date is 7 days from the current date.</p>
3254
3262
  */
3255
3263
  ValidUntil?: Date;
3256
3264
  /**
3257
- * <p>The behavior when a Spot Instance is interrupted. The default is <code>terminate</code>.</p>
3265
+ * <p>The behavior when a Spot Instance is interrupted. The default is
3266
+ * <code>terminate</code>.</p>
3258
3267
  */
3259
3268
  InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
3260
3269
  }
@@ -3298,6 +3307,26 @@ export declare namespace LaunchTemplateLicenseConfigurationRequest {
3298
3307
  */
3299
3308
  const filterSensitiveLog: (obj: LaunchTemplateLicenseConfigurationRequest) => any;
3300
3309
  }
3310
+ export declare enum LaunchTemplateAutoRecoveryState {
3311
+ default = "default",
3312
+ disabled = "disabled"
3313
+ }
3314
+ /**
3315
+ * <p>The maintenance options of your instance.</p>
3316
+ */
3317
+ export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
3318
+ /**
3319
+ * <p>Disables the automatic recovery behavior of your instance or sets it to default. For
3320
+ * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery">Simplified automatic recovery</a>.</p>
3321
+ */
3322
+ AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
3323
+ }
3324
+ export declare namespace LaunchTemplateInstanceMaintenanceOptionsRequest {
3325
+ /**
3326
+ * @internal
3327
+ */
3328
+ const filterSensitiveLog: (obj: LaunchTemplateInstanceMaintenanceOptionsRequest) => any;
3329
+ }
3301
3330
  export declare type LaunchTemplateInstanceMetadataEndpointState = "disabled" | "enabled";
3302
3331
  export declare enum LaunchTemplateInstanceMetadataProtocolIpv6 {
3303
3332
  disabled = "disabled",
@@ -3313,28 +3342,37 @@ export declare enum LaunchTemplateInstanceMetadataTagsState {
3313
3342
  }
3314
3343
  /**
3315
3344
  * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance Metadata and User Data</a> in the
3316
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3345
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3317
3346
  */
3318
3347
  export interface LaunchTemplateInstanceMetadataOptionsRequest {
3319
3348
  /**
3320
- * <p>The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is <code>optional</code>.</p>
3321
- * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.</p>
3322
- * <p>If the state is <code>required</code>, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.</p>
3349
+ * <p>The state of token usage for your instance metadata requests. If the parameter is not
3350
+ * specified in the request, the default state is <code>optional</code>.</p>
3351
+ * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
3352
+ * with or without a signed token header on your request. If you retrieve the IAM role
3353
+ * credentials without a token, the version 1.0 role credentials are returned. If you
3354
+ * retrieve the IAM role credentials using a valid signed token, the version 2.0 role
3355
+ * credentials are returned.</p>
3356
+ * <p>If the state is <code>required</code>, you must send a signed token header with any
3357
+ * instance metadata retrieval requests. In this state, retrieving the IAM role credentials
3358
+ * always returns the version 2.0 credentials; the version 1.0 credentials are not
3359
+ * available.</p>
3323
3360
  */
3324
3361
  HttpTokens?: LaunchTemplateHttpTokensState | string;
3325
3362
  /**
3326
- * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p>
3363
+ * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
3364
+ * number, the further instance metadata requests can travel.</p>
3327
3365
  * <p>Default: 1</p>
3328
3366
  * <p>Possible values: Integers from 1 to 64</p>
3329
3367
  */
3330
3368
  HttpPutResponseHopLimit?: number;
3331
3369
  /**
3332
- * <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not
3333
- * specified, the default state is <code>enabled</code>.</p>
3334
- * <note>
3335
- * <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata.
3336
- * </p>
3337
- * </note>
3370
+ * <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
3371
+ * not specified, the default state is <code>enabled</code>.</p>
3372
+ * <note>
3373
+ * <p>If you specify a value of <code>disabled</code>, you will not be able to access
3374
+ * your instance metadata. </p>
3375
+ * </note>
3338
3376
  */
3339
3377
  HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
3340
3378
  /**
@@ -3345,10 +3383,10 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
3345
3383
  HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
3346
3384
  /**
3347
3385
  * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
3348
- * metadata. Set to <code>disabled</code> to turn off access to instance tags from the instance
3349
- * metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
3386
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the
3387
+ * instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
3350
3388
  * instance tags using the instance metadata</a>.</p>
3351
- * <p>Default: <code>disabled</code>
3389
+ * <p>Default: <code>disabled</code>
3352
3390
  * </p>
3353
3391
  */
3354
3392
  InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
@@ -3364,7 +3402,8 @@ export declare namespace LaunchTemplateInstanceMetadataOptionsRequest {
3364
3402
  */
3365
3403
  export interface LaunchTemplatesMonitoringRequest {
3366
3404
  /**
3367
- * <p>Specify <code>true</code> to enable detailed monitoring. Otherwise, basic monitoring is enabled.</p>
3405
+ * <p>Specify <code>true</code> to enable detailed monitoring. Otherwise, basic monitoring
3406
+ * is enabled.</p>
3368
3407
  */
3369
3408
  Enabled?: boolean;
3370
3409
  }
@@ -3450,7 +3489,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
3450
3489
  * <p>Use this option when you launch an instance in a Wavelength Zone and want to associate
3451
3490
  * a Carrier IP address with the network interface. For more information about Carrier IP
3452
3491
  * addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP addresses</a> in the <i>Wavelength Developer
3453
- * Guide</i>.</p>
3492
+ * Guide</i>.</p>
3454
3493
  */
3455
3494
  AssociateCarrierIpAddress?: boolean;
3456
3495
  /**
@@ -3458,7 +3497,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
3458
3497
  */
3459
3498
  AssociatePublicIpAddress?: boolean;
3460
3499
  /**
3461
- * <p>Indicates whether the network interface is deleted when the instance is terminated.</p>
3500
+ * <p>Indicates whether the network interface is deleted when the instance is
3501
+ * terminated.</p>
3462
3502
  */
3463
3503
  DeleteOnTermination?: boolean;
3464
3504
  /**
@@ -3475,19 +3515,23 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
3475
3515
  Groups?: string[];
3476
3516
  /**
3477
3517
  * <p>The type of network interface. To create an Elastic Fabric Adapter (EFA), specify
3478
- * <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
3479
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3480
- * <p>If you are not creating an EFA, specify <code>interface</code> or omit this parameter.</p>
3481
- * <p>Valid values: <code>interface</code> | <code>efa</code>
3518
+ * <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
3519
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3520
+ * <p>If you are not creating an EFA, specify <code>interface</code> or omit this
3521
+ * parameter.</p>
3522
+ * <p>Valid values: <code>interface</code> | <code>efa</code>
3482
3523
  * </p>
3483
3524
  */
3484
3525
  InterfaceType?: string;
3485
3526
  /**
3486
- * <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.</p>
3527
+ * <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
3528
+ * automatically selects the IPv6 addresses from the subnet range. You can't use this
3529
+ * option if specifying specific IPv6 addresses.</p>
3487
3530
  */
3488
3531
  Ipv6AddressCount?: number;
3489
3532
  /**
3490
- * <p>One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.</p>
3533
+ * <p>One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You
3534
+ * can't use this option if you're specifying a number of IPv6 addresses.</p>
3491
3535
  */
3492
3536
  Ipv6Addresses?: InstanceIpv6AddressRequest[];
3493
3537
  /**
@@ -3503,7 +3547,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
3503
3547
  */
3504
3548
  PrivateIpAddresses?: PrivateIpAddressSpecification[];
3505
3549
  /**
3506
- * <p>The number of secondary private IPv4 addresses to assign to a network interface.</p>
3550
+ * <p>The number of secondary private IPv4 addresses to assign to a network
3551
+ * interface.</p>
3507
3552
  */
3508
3553
  SecondaryPrivateIpAddressCount?: number;
3509
3554
  /**
@@ -3511,29 +3556,29 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
3511
3556
  */
3512
3557
  SubnetId?: string;
3513
3558
  /**
3514
- * <p>The index of the network card. Some instance types support multiple network cards.
3515
- * The primary network interface must be assigned to network card index 0.
3516
- * The default is network card index 0.</p>
3559
+ * <p>The index of the network card. Some instance types support multiple network cards. The
3560
+ * primary network interface must be assigned to network card index 0. The default is
3561
+ * network card index 0.</p>
3517
3562
  */
3518
3563
  NetworkCardIndex?: number;
3519
3564
  /**
3520
- * <p>One or more IPv4 prefixes to be assigned to the network interface. You cannot use
3521
- * this option if you use the <code>Ipv4PrefixCount</code> option.</p>
3565
+ * <p>One or more IPv4 prefixes to be assigned to the network interface. You cannot use this
3566
+ * option if you use the <code>Ipv4PrefixCount</code> option.</p>
3522
3567
  */
3523
3568
  Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
3524
3569
  /**
3525
- * <p>The number of IPv4 prefixes to be automatically assigned to the
3526
- * network interface. You cannot use this option if you use the <code>Ipv4Prefix</code> option.</p>
3570
+ * <p>The number of IPv4 prefixes to be automatically assigned to the network interface. You
3571
+ * cannot use this option if you use the <code>Ipv4Prefix</code> option.</p>
3527
3572
  */
3528
3573
  Ipv4PrefixCount?: number;
3529
3574
  /**
3530
- * <p>One or more IPv6 prefixes to be assigned to the network interface. You cannot
3531
- * use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
3575
+ * <p>One or more IPv6 prefixes to be assigned to the network interface. You cannot use this
3576
+ * option if you use the <code>Ipv6PrefixCount</code> option.</p>
3532
3577
  */
3533
3578
  Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
3534
3579
  /**
3535
- * <p>The number of IPv6 prefixes to be automatically assigned to the network
3536
- * interface. You cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>
3580
+ * <p>The number of IPv6 prefixes to be automatically assigned to the network interface. You
3581
+ * cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>
3537
3582
  */
3538
3583
  Ipv6PrefixCount?: number;
3539
3584
  }
@@ -3564,8 +3609,8 @@ export interface LaunchTemplatePlacementRequest {
3564
3609
  */
3565
3610
  HostId?: string;
3566
3611
  /**
3567
- * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy
3568
- * of dedicated runs on single-tenant hardware.</p>
3612
+ * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a
3613
+ * tenancy of dedicated runs on single-tenant hardware.</p>
3569
3614
  */
3570
3615
  Tenancy?: Tenancy | string;
3571
3616
  /**
@@ -3573,13 +3618,14 @@ export interface LaunchTemplatePlacementRequest {
3573
3618
  */
3574
3619
  SpreadDomain?: string;
3575
3620
  /**
3576
- * <p>The ARN of the host resource group in which to launch the instances. If you specify a host
3577
- * resource group ARN, omit the <b>Tenancy</b> parameter
3578
- * or set it to <code>host</code>.</p>
3621
+ * <p>The ARN of the host resource group in which to launch the instances. If you specify a
3622
+ * host resource group ARN, omit the <b>Tenancy</b> parameter or
3623
+ * set it to <code>host</code>.</p>
3579
3624
  */
3580
3625
  HostResourceGroupArn?: string;
3581
3626
  /**
3582
- * <p>The number of the partition the instance should launch in. Valid only if the placement group strategy is set to <code>partition</code>.</p>
3627
+ * <p>The number of the partition the instance should launch in. Valid only if the placement
3628
+ * group strategy is set to <code>partition</code>.</p>
3583
3629
  */
3584
3630
  PartitionNumber?: number;
3585
3631
  }
@@ -3594,18 +3640,20 @@ export declare namespace LaunchTemplatePlacementRequest {
3594
3640
  */
3595
3641
  export interface LaunchTemplatePrivateDnsNameOptionsRequest {
3596
3642
  /**
3597
- * <p>The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must
3598
- * be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must
3599
- * be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use
3600
- * the instance IPv4 address or the instance ID.</p>
3643
+ * <p>The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name
3644
+ * must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS
3645
+ * name must be based on the instance ID. For dual-stack subnets, you can specify whether
3646
+ * DNS names use the instance IPv4 address or the instance ID.</p>
3601
3647
  */
3602
3648
  HostnameType?: HostnameType | string;
3603
3649
  /**
3604
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
3650
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
3651
+ * records.</p>
3605
3652
  */
3606
3653
  EnableResourceNameDnsARecord?: boolean;
3607
3654
  /**
3608
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
3655
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
3656
+ * records.</p>
3609
3657
  */
3610
3658
  EnableResourceNameDnsAAAARecord?: boolean;
3611
3659
  }
@@ -3684,7 +3732,8 @@ export interface RequestLaunchTemplateData {
3684
3732
  */
3685
3733
  InstanceType?: _InstanceType | string;
3686
3734
  /**
3687
- * <p>The name of the key pair. You can create a key pair using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html">CreateKeyPair</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</p>
3735
+ * <p>The name of the key pair. You can create a key pair using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html">CreateKeyPair</a> or
3736
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</p>
3688
3737
  * <important>
3689
3738
  * <p>If you do not specify a key pair, you can't connect to the instance unless you
3690
3739
  * choose an AMI that is configured to allow users another way to log in.</p>
@@ -3711,16 +3760,15 @@ export interface RequestLaunchTemplateData {
3711
3760
  RamDiskId?: string;
3712
3761
  /**
3713
3762
  * <p>If you set this parameter to <code>true</code>, you can't terminate the instance using
3714
- * the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch,
3715
- * use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html">ModifyInstanceAttribute</a>.
3716
- * Alternatively, if you set <code>InstanceInitiatedShutdownBehavior</code> to
3717
- * <code>terminate</code>, you can terminate the instance by running the shutdown
3718
- * command from the instance.</p>
3763
+ * the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after
3764
+ * launch, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html">ModifyInstanceAttribute</a>. Alternatively, if you set
3765
+ * <code>InstanceInitiatedShutdownBehavior</code> to <code>terminate</code>, you can
3766
+ * terminate the instance by running the shutdown command from the instance.</p>
3719
3767
  */
3720
3768
  DisableApiTermination?: boolean;
3721
3769
  /**
3722
- * <p>Indicates whether an instance stops or terminates when you initiate shutdown from
3723
- * the instance (using the operating system command for system shutdown).</p>
3770
+ * <p>Indicates whether an instance stops or terminates when you initiate shutdown from the
3771
+ * instance (using the operating system command for system shutdown).</p>
3724
3772
  * <p>Default: <code>stop</code>
3725
3773
  * </p>
3726
3774
  */
@@ -3730,10 +3778,8 @@ export interface RequestLaunchTemplateData {
3730
3778
  * User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Running Commands on Your Linux Instance
3731
3779
  * at Launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data">Adding User Data</a> (Windows).</p>
3732
3780
  *
3733
- * <p>If you are creating the launch template for use with Batch, the user data
3734
- * must be provided in the <a href="https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive">
3735
- * MIME multi-part archive format</a>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html">Amazon EC2 user data in
3736
- * launch templates</a> in the <i>Batch User Guide</i>.</p>
3781
+ * <p>If you are creating the launch template for use with Batch, the user
3782
+ * data must be provided in the <a href="https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive"> MIME multi-part archive format</a>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html">Amazon EC2 user data in launch templates</a> in the <i>Batch User Guide</i>.</p>
3737
3783
  */
3738
3784
  UserData?: string;
3739
3785
  /**
@@ -3747,9 +3793,7 @@ export interface RequestLaunchTemplateData {
3747
3793
  */
3748
3794
  ElasticGpuSpecifications?: ElasticGpuSpecification[];
3749
3795
  /**
3750
- * <p>
3751
- * The elastic inference accelerator for the instance.
3752
- * </p>
3796
+ * <p> The elastic inference accelerator for the instance. </p>
3753
3797
  */
3754
3798
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAccelerator[];
3755
3799
  /**
@@ -3758,8 +3802,8 @@ export interface RequestLaunchTemplateData {
3758
3802
  */
3759
3803
  SecurityGroupIds?: string[];
3760
3804
  /**
3761
- * <p>[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC,
3762
- * you must use security group IDs instead. You cannot specify both a security group ID and
3805
+ * <p>[EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you
3806
+ * must use security group IDs instead. You cannot specify both a security group ID and
3763
3807
  * security name in the same request.</p>
3764
3808
  */
3765
3809
  SecurityGroups?: string[];
@@ -3774,14 +3818,14 @@ export interface RequestLaunchTemplateData {
3774
3818
  CreditSpecification?: CreditSpecificationRequest;
3775
3819
  /**
3776
3820
  * <p>The CPU options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html">Optimizing CPU Options</a> in the <i>Amazon Elastic Compute Cloud User
3777
- * Guide</i>.</p>
3821
+ * Guide</i>.</p>
3778
3822
  */
3779
3823
  CpuOptions?: LaunchTemplateCpuOptionsRequest;
3780
3824
  /**
3781
3825
  * <p>The Capacity Reservation targeting option. If you do not specify this parameter, the
3782
- * instance's Capacity Reservation preference defaults to <code>open</code>, which enables it
3783
- * to run in any open Capacity Reservation that has matching attributes (instance type,
3784
- * platform, Availability Zone).</p>
3826
+ * instance's Capacity Reservation preference defaults to <code>open</code>, which enables
3827
+ * it to run in any open Capacity Reservation that has matching attributes (instance type,
3828
+ * platform, Availability Zone).</p>
3785
3829
  */
3786
3830
  CapacityReservationSpecification?: LaunchTemplateCapacityReservationSpecificationRequest;
3787
3831
  /**
@@ -3791,21 +3835,20 @@ export interface RequestLaunchTemplateData {
3791
3835
  /**
3792
3836
  * <p>Indicates whether an instance is enabled for hibernation. This parameter is valid only
3793
3837
  * if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
3794
- * prerequisites</a>. For
3795
- * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
3838
+ * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
3796
3839
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3797
3840
  */
3798
3841
  HibernationOptions?: LaunchTemplateHibernationOptionsRequest;
3799
3842
  /**
3800
3843
  * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> in the
3801
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3844
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3802
3845
  */
3803
3846
  MetadataOptions?: LaunchTemplateInstanceMetadataOptionsRequest;
3804
3847
  /**
3805
- * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information,
3806
- * see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">
3807
- * What is Amazon Web Services Nitro Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
3808
- * <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.</p>
3848
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more
3849
+ * information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro Enclaves?</a>
3850
+ * in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
3851
+ * <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.</p>
3809
3852
  */
3810
3853
  EnclaveOptions?: LaunchTemplateEnclaveOptionsRequest;
3811
3854
  /**
@@ -3816,9 +3859,14 @@ export interface RequestLaunchTemplateData {
3816
3859
  */
3817
3860
  InstanceRequirements?: InstanceRequirementsRequest;
3818
3861
  /**
3819
- * <p>The options for the instance hostname. The default values are inherited from the subnet.</p>
3862
+ * <p>The options for the instance hostname. The default values are inherited from the
3863
+ * subnet.</p>
3820
3864
  */
3821
3865
  PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptionsRequest;
3866
+ /**
3867
+ * <p>The maintenance options for the instance.</p>
3868
+ */
3869
+ MaintenanceOptions?: LaunchTemplateInstanceMaintenanceOptionsRequest;
3822
3870
  }
3823
3871
  export declare namespace RequestLaunchTemplateData {
3824
3872
  /**
@@ -3904,16 +3952,21 @@ export declare namespace LaunchTemplate {
3904
3952
  const filterSensitiveLog: (obj: LaunchTemplate) => any;
3905
3953
  }
3906
3954
  /**
3907
- * <p>The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.</p>
3955
+ * <p>The error code and error message that is returned for a parameter or parameter
3956
+ * combination that is not valid when a new launch template or new version of a launch
3957
+ * template is created.</p>
3908
3958
  */
3909
3959
  export interface ValidationError {
3910
3960
  /**
3911
- * <p>The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
3961
+ * <p>The error code that indicates why the parameter or parameter combination is not valid.
3962
+ * For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
3963
+ * Codes</a>.</p>
3912
3964
  */
3913
3965
  Code?: string;
3914
3966
  /**
3915
- * <p>The error message that describes why the parameter or parameter combination is not valid. For more
3916
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
3967
+ * <p>The error message that describes why the parameter or parameter combination is not
3968
+ * valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
3969
+ * Codes</a>.</p>
3917
3970
  */
3918
3971
  Message?: string;
3919
3972
  }
@@ -3924,7 +3977,9 @@ export declare namespace ValidationError {
3924
3977
  const filterSensitiveLog: (obj: ValidationError) => any;
3925
3978
  }
3926
3979
  /**
3927
- * <p>The error codes and error messages that are returned for the parameters or parameter combinations that are not valid when a new launch template or new version of a launch template is created.</p>
3980
+ * <p>The error codes and error messages that are returned for the parameters or parameter
3981
+ * combinations that are not valid when a new launch template or new version of a launch
3982
+ * template is created.</p>
3928
3983
  */
3929
3984
  export interface ValidationWarning {
3930
3985
  /**
@@ -3944,7 +3999,9 @@ export interface CreateLaunchTemplateResult {
3944
3999
  */
3945
4000
  LaunchTemplate?: LaunchTemplate;
3946
4001
  /**
3947
- * <p>If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.</p>
4002
+ * <p>If the launch template contains parameters or parameter combinations that are not
4003
+ * valid, an error code and an error message are returned for each issue that's
4004
+ * found.</p>
3948
4005
  */
3949
4006
  Warning?: ValidationWarning;
3950
4007
  }
@@ -3982,9 +4039,9 @@ export interface CreateLaunchTemplateVersionRequest {
3982
4039
  /**
3983
4040
  * <p>The version number of the launch template version on which to base the new version.
3984
4041
  * The new version inherits the same launch parameters as the source version, except for
3985
- * parameters that you specify in <code>LaunchTemplateData</code>. Snapshots applied
3986
- * to the block device mapping are ignored when creating a new version unless they
3987
- * are explicitly included.</p>
4042
+ * parameters that you specify in <code>LaunchTemplateData</code>. Snapshots applied to the
4043
+ * block device mapping are ignored when creating a new version unless they are explicitly
4044
+ * included.</p>
3988
4045
  */
3989
4046
  SourceVersion?: string;
3990
4047
  /**
@@ -4096,23 +4153,26 @@ export declare namespace CapacityReservationTargetResponse {
4096
4153
  */
4097
4154
  export interface LaunchTemplateCapacityReservationSpecificationResponse {
4098
4155
  /**
4099
- * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences include:</p>
4100
- * <ul>
4156
+ * <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
4157
+ * include:</p>
4158
+ * <ul>
4101
4159
  * <li>
4102
- * <p>
4103
- * <code>open</code> - The instance can run in any <code>open</code> Capacity Reservation that has matching attributes
4104
- * (instance type, platform, Availability Zone).</p>
4160
+ * <p>
4161
+ * <code>open</code> - The instance can run in any <code>open</code> Capacity
4162
+ * Reservation that has matching attributes (instance type, platform, Availability
4163
+ * Zone).</p>
4105
4164
  * </li>
4106
4165
  * <li>
4107
- * <p>
4108
- * <code>none</code> - The instance avoids running in a Capacity Reservation even if one is available. The instance
4109
- * runs in On-Demand capacity.</p>
4166
+ * <p>
4167
+ * <code>none</code> - The instance avoids running in a Capacity Reservation even
4168
+ * if one is available. The instance runs in On-Demand capacity.</p>
4110
4169
  * </li>
4111
4170
  * </ul>
4112
4171
  */
4113
4172
  CapacityReservationPreference?: CapacityReservationPreference | string;
4114
4173
  /**
4115
- * <p>Information about the target Capacity Reservation or Capacity Reservation group.</p>
4174
+ * <p>Information about the target Capacity Reservation or Capacity Reservation
4175
+ * group.</p>
4116
4176
  */
4117
4177
  CapacityReservationTarget?: CapacityReservationTargetResponse;
4118
4178
  }
@@ -4173,22 +4233,17 @@ export declare namespace ElasticGpuSpecificationResponse {
4173
4233
  const filterSensitiveLog: (obj: ElasticGpuSpecificationResponse) => any;
4174
4234
  }
4175
4235
  /**
4176
- * <p>
4177
- * Describes an elastic inference accelerator.
4178
- * </p>
4236
+ * <p> Describes an elastic inference accelerator. </p>
4179
4237
  */
4180
4238
  export interface LaunchTemplateElasticInferenceAcceleratorResponse {
4181
4239
  /**
4182
- * <p>
4183
- * The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
4184
- * </p>
4240
+ * <p> The type of elastic inference accelerator. The possible values are eia1.medium,
4241
+ * eia1.large, and eia1.xlarge. </p>
4185
4242
  */
4186
4243
  Type?: string;
4187
4244
  /**
4188
- * <p>
4189
- * The number of elastic inference accelerators to attach to the instance.
4190
- * </p>
4191
- * <p>Default: 1</p>
4245
+ * <p> The number of elastic inference accelerators to attach to the instance. </p>
4246
+ * <p>Default: 1</p>
4192
4247
  */
4193
4248
  Count?: number;
4194
4249
  }
@@ -4203,8 +4258,8 @@ export declare namespace LaunchTemplateElasticInferenceAcceleratorResponse {
4203
4258
  */
4204
4259
  export interface LaunchTemplateEnclaveOptions {
4205
4260
  /**
4206
- * <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro Enclaves;
4207
- * otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.</p>
4261
+ * <p>If this parameter is set to <code>true</code>, the instance is enabled for Amazon Web Services Nitro
4262
+ * Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.</p>
4208
4263
  */
4209
4264
  Enabled?: boolean;
4210
4265
  }
@@ -4219,7 +4274,8 @@ export declare namespace LaunchTemplateEnclaveOptions {
4219
4274
  */
4220
4275
  export interface LaunchTemplateHibernationOptions {
4221
4276
  /**
4222
- * <p>If this parameter is set to <code>true</code>, the instance is enabled for hibernation; otherwise, it is not enabled for hibernation.</p>
4277
+ * <p>If this parameter is set to <code>true</code>, the instance is enabled for
4278
+ * hibernation; otherwise, it is not enabled for hibernation.</p>
4223
4279
  */
4224
4280
  Configured?: boolean;
4225
4281
  }
@@ -4261,11 +4317,15 @@ export interface LaunchTemplateSpotMarketOptions {
4261
4317
  */
4262
4318
  SpotInstanceType?: SpotInstanceType | string;
4263
4319
  /**
4264
- * <p>The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>
4320
+ * <p>The required duration for the Spot Instances (also known as Spot blocks), in minutes.
4321
+ * This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>
4265
4322
  */
4266
4323
  BlockDurationMinutes?: number;
4267
4324
  /**
4268
- * <p>The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.</p>
4325
+ * <p>The end date of the request. For a one-time request, the request remains active until
4326
+ * all instances launch, the request is canceled, or this date is reached. If the request
4327
+ * is persistent, it remains active until it is canceled or this date and time is
4328
+ * reached.</p>
4269
4329
  */
4270
4330
  ValidUntil?: Date;
4271
4331
  /**
@@ -4313,6 +4373,22 @@ export declare namespace LaunchTemplateLicenseConfiguration {
4313
4373
  */
4314
4374
  const filterSensitiveLog: (obj: LaunchTemplateLicenseConfiguration) => any;
4315
4375
  }
4376
+ /**
4377
+ * <p>The maintenance options of your instance.</p>
4378
+ */
4379
+ export interface LaunchTemplateInstanceMaintenanceOptions {
4380
+ /**
4381
+ * <p>Disables the automatic recovery behavior of your instance or sets it to
4382
+ * default.</p>
4383
+ */
4384
+ AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
4385
+ }
4386
+ export declare namespace LaunchTemplateInstanceMaintenanceOptions {
4387
+ /**
4388
+ * @internal
4389
+ */
4390
+ const filterSensitiveLog: (obj: LaunchTemplateInstanceMaintenanceOptions) => any;
4391
+ }
4316
4392
  export declare type LaunchTemplateInstanceMetadataOptionsState = "applied" | "pending";
4317
4393
  /**
4318
4394
  * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance Metadata and User Data</a> in the
@@ -4321,30 +4397,41 @@ export declare type LaunchTemplateInstanceMetadataOptionsState = "applied" | "pe
4321
4397
  export interface LaunchTemplateInstanceMetadataOptions {
4322
4398
  /**
4323
4399
  * <p>The state of the metadata option changes.</p>
4324
- * <p>
4325
- * <code>pending</code> - The metadata options are being updated and the instance is not ready to process metadata traffic with the new selection.</p>
4326
- * <p>
4327
- * <code>applied</code> - The metadata options have been successfully applied on the instance.</p>
4400
+ * <p>
4401
+ * <code>pending</code> - The metadata options are being updated and the instance is not
4402
+ * ready to process metadata traffic with the new selection.</p>
4403
+ * <p>
4404
+ * <code>applied</code> - The metadata options have been successfully applied on the
4405
+ * instance.</p>
4328
4406
  */
4329
4407
  State?: LaunchTemplateInstanceMetadataOptionsState | string;
4330
4408
  /**
4331
- * <p>The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is <code>optional</code>.</p>
4332
- * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.</p>
4333
- * <p>If the state is <code>required</code>, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.</p>
4409
+ * <p>The state of token usage for your instance metadata requests. If the parameter is not
4410
+ * specified in the request, the default state is <code>optional</code>.</p>
4411
+ * <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
4412
+ * with or without a signed token header on your request. If you retrieve the IAM role
4413
+ * credentials without a token, the version 1.0 role credentials are returned. If you
4414
+ * retrieve the IAM role credentials using a valid signed token, the version 2.0 role
4415
+ * credentials are returned.</p>
4416
+ * <p>If the state is <code>required</code>, you must send a signed token header with any
4417
+ * instance metadata retrieval requests. In this state, retrieving the IAM role credentials
4418
+ * always returns the version 2.0 credentials; the version 1.0 credentials are not
4419
+ * available.</p>
4334
4420
  */
4335
4421
  HttpTokens?: LaunchTemplateHttpTokensState | string;
4336
4422
  /**
4337
- * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p>
4338
- * <p>Default: 1</p>
4339
- * <p>Possible values: Integers from 1 to 64</p>
4423
+ * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
4424
+ * number, the further instance metadata requests can travel.</p>
4425
+ * <p>Default: 1</p>
4426
+ * <p>Possible values: Integers from 1 to 64</p>
4340
4427
  */
4341
4428
  HttpPutResponseHopLimit?: number;
4342
4429
  /**
4343
4430
  * <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
4344
4431
  * not specified, the default state is <code>enabled</code>.</p>
4345
4432
  * <note>
4346
- * <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata.
4347
- * </p>
4433
+ * <p>If you specify a value of <code>disabled</code>, you will not be able to access
4434
+ * your instance metadata. </p>
4348
4435
  * </note>
4349
4436
  */
4350
4437
  HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
@@ -4356,8 +4443,8 @@ export interface LaunchTemplateInstanceMetadataOptions {
4356
4443
  HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
4357
4444
  /**
4358
4445
  * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
4359
- * metadata. Set to <code>disabled</code> to turn off access to instance tags from the instance
4360
- * metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
4446
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the
4447
+ * instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
4361
4448
  * instance tags using the instance metadata</a>.</p>
4362
4449
  * <p>Default: <code>disabled</code>
4363
4450
  * </p>
@@ -4438,19 +4525,22 @@ export declare namespace Ipv6PrefixSpecificationResponse {
4438
4525
  */
4439
4526
  export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
4440
4527
  /**
4441
- * <p>Indicates whether to associate a Carrier IP address with eth0 for a new network interface.</p>
4528
+ * <p>Indicates whether to associate a Carrier IP address with eth0 for a new network
4529
+ * interface.</p>
4442
4530
  * <p>Use this option when you launch an instance in a Wavelength Zone and want to associate
4443
4531
  * a Carrier IP address with the network interface. For more information about Carrier IP
4444
4532
  * addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP addresses</a> in the <i>Wavelength Developer
4445
- * Guide</i>.</p>
4533
+ * Guide</i>.</p>
4446
4534
  */
4447
4535
  AssociateCarrierIpAddress?: boolean;
4448
4536
  /**
4449
- * <p>Indicates whether to associate a public IPv4 address with eth0 for a new network interface.</p>
4537
+ * <p>Indicates whether to associate a public IPv4 address with eth0 for a new network
4538
+ * interface.</p>
4450
4539
  */
4451
4540
  AssociatePublicIpAddress?: boolean;
4452
4541
  /**
4453
- * <p>Indicates whether the network interface is deleted when the instance is terminated.</p>
4542
+ * <p>Indicates whether the network interface is deleted when the instance is
4543
+ * terminated.</p>
4454
4544
  */
4455
4545
  DeleteOnTermination?: boolean;
4456
4546
  /**
@@ -4506,8 +4596,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
4506
4596
  */
4507
4597
  Ipv4Prefixes?: Ipv4PrefixSpecificationResponse[];
4508
4598
  /**
4509
- * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigned to the
4510
- * network interface.</p>
4599
+ * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network
4600
+ * interface.</p>
4511
4601
  */
4512
4602
  Ipv4PrefixCount?: number;
4513
4603
  /**
@@ -4547,7 +4637,8 @@ export interface LaunchTemplatePlacement {
4547
4637
  */
4548
4638
  HostId?: string;
4549
4639
  /**
4550
- * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of <code>dedicated</code> runs on single-tenant hardware. </p>
4640
+ * <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a
4641
+ * tenancy of <code>dedicated</code> runs on single-tenant hardware. </p>
4551
4642
  */
4552
4643
  Tenancy?: Tenancy | string;
4553
4644
  /**
@@ -4555,12 +4646,12 @@ export interface LaunchTemplatePlacement {
4555
4646
  */
4556
4647
  SpreadDomain?: string;
4557
4648
  /**
4558
- * <p>The ARN of the host resource group in which to launch the instances.
4559
- * </p>
4649
+ * <p>The ARN of the host resource group in which to launch the instances. </p>
4560
4650
  */
4561
4651
  HostResourceGroupArn?: string;
4562
4652
  /**
4563
- * <p>The number of the partition the instance should launch in. Valid only if the placement group strategy is set to <code>partition</code>.</p>
4653
+ * <p>The number of the partition the instance should launch in. Valid only if the placement
4654
+ * group strategy is set to <code>partition</code>.</p>
4564
4655
  */
4565
4656
  PartitionNumber?: number;
4566
4657
  }
@@ -4579,11 +4670,13 @@ export interface LaunchTemplatePrivateDnsNameOptions {
4579
4670
  */
4580
4671
  HostnameType?: HostnameType | string;
4581
4672
  /**
4582
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p>
4673
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
4674
+ * records.</p>
4583
4675
  */
4584
4676
  EnableResourceNameDnsARecord?: boolean;
4585
4677
  /**
4586
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p>
4678
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
4679
+ * records.</p>
4587
4680
  */
4588
4681
  EnableResourceNameDnsAAAARecord?: boolean;
4589
4682
  }
@@ -4666,8 +4759,8 @@ export interface ResponseLaunchTemplateData {
4666
4759
  */
4667
4760
  DisableApiTermination?: boolean;
4668
4761
  /**
4669
- * <p>Indicates whether an instance stops or terminates when you initiate shutdown from
4670
- * the instance (using the operating system command for system shutdown).</p>
4762
+ * <p>Indicates whether an instance stops or terminates when you initiate shutdown from the
4763
+ * instance (using the operating system command for system shutdown).</p>
4671
4764
  */
4672
4765
  InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
4673
4766
  /**
@@ -4683,9 +4776,7 @@ export interface ResponseLaunchTemplateData {
4683
4776
  */
4684
4777
  ElasticGpuSpecifications?: ElasticGpuSpecificationResponse[];
4685
4778
  /**
4686
- * <p>
4687
- * The elastic inference accelerator for the instance.
4688
- * </p>
4779
+ * <p> The elastic inference accelerator for the instance. </p>
4689
4780
  */
4690
4781
  ElasticInferenceAccelerators?: LaunchTemplateElasticInferenceAcceleratorResponse[];
4691
4782
  /**
@@ -4706,7 +4797,7 @@ export interface ResponseLaunchTemplateData {
4706
4797
  CreditSpecification?: CreditSpecification;
4707
4798
  /**
4708
4799
  * <p>The CPU options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html">Optimizing CPU options</a> in the <i>Amazon Elastic Compute Cloud User
4709
- * Guide</i>.</p>
4800
+ * Guide</i>.</p>
4710
4801
  */
4711
4802
  CpuOptions?: LaunchTemplateCpuOptions;
4712
4803
  /**
@@ -4725,7 +4816,7 @@ export interface ResponseLaunchTemplateData {
4725
4816
  HibernationOptions?: LaunchTemplateHibernationOptions;
4726
4817
  /**
4727
4818
  * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> in the
4728
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4819
+ * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4729
4820
  */
4730
4821
  MetadataOptions?: LaunchTemplateInstanceMetadataOptions;
4731
4822
  /**
@@ -4743,6 +4834,10 @@ export interface ResponseLaunchTemplateData {
4743
4834
  * <p>The options for the instance hostname.</p>
4744
4835
  */
4745
4836
  PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptions;
4837
+ /**
4838
+ * <p>The maintenance options for your instance.</p>
4839
+ */
4840
+ MaintenanceOptions?: LaunchTemplateInstanceMaintenanceOptions;
4746
4841
  }
4747
4842
  export declare namespace ResponseLaunchTemplateData {
4748
4843
  /**
@@ -4799,7 +4894,9 @@ export interface CreateLaunchTemplateVersionResult {
4799
4894
  */
4800
4895
  LaunchTemplateVersion?: LaunchTemplateVersion;
4801
4896
  /**
4802
- * <p>If the new version of the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.</p>
4897
+ * <p>If the new version of the launch template contains parameters or parameter
4898
+ * combinations that are not valid, an error code and an error message are returned for
4899
+ * each issue that's found.</p>
4803
4900
  */
4804
4901
  Warning?: ValidationWarning;
4805
4902
  }
@@ -8313,69 +8410,3 @@ export declare namespace CreateTransitGatewayConnectRequest {
8313
8410
  */
8314
8411
  const filterSensitiveLog: (obj: CreateTransitGatewayConnectRequest) => any;
8315
8412
  }
8316
- /**
8317
- * <p>Describes the Connect attachment options.</p>
8318
- */
8319
- export interface TransitGatewayConnectOptions {
8320
- /**
8321
- * <p>The tunnel protocol.</p>
8322
- */
8323
- Protocol?: ProtocolValue | string;
8324
- }
8325
- export declare namespace TransitGatewayConnectOptions {
8326
- /**
8327
- * @internal
8328
- */
8329
- const filterSensitiveLog: (obj: TransitGatewayConnectOptions) => any;
8330
- }
8331
- /**
8332
- * <p>Describes a transit gateway Connect attachment.</p>
8333
- */
8334
- export interface TransitGatewayConnect {
8335
- /**
8336
- * <p>The ID of the Connect attachment.</p>
8337
- */
8338
- TransitGatewayAttachmentId?: string;
8339
- /**
8340
- * <p>The ID of the attachment from which the Connect attachment was created.</p>
8341
- */
8342
- TransportTransitGatewayAttachmentId?: string;
8343
- /**
8344
- * <p>The ID of the transit gateway.</p>
8345
- */
8346
- TransitGatewayId?: string;
8347
- /**
8348
- * <p>The state of the attachment.</p>
8349
- */
8350
- State?: TransitGatewayAttachmentState | string;
8351
- /**
8352
- * <p>The creation time.</p>
8353
- */
8354
- CreationTime?: Date;
8355
- /**
8356
- * <p>The Connect attachment options.</p>
8357
- */
8358
- Options?: TransitGatewayConnectOptions;
8359
- /**
8360
- * <p>The tags for the attachment.</p>
8361
- */
8362
- Tags?: Tag[];
8363
- }
8364
- export declare namespace TransitGatewayConnect {
8365
- /**
8366
- * @internal
8367
- */
8368
- const filterSensitiveLog: (obj: TransitGatewayConnect) => any;
8369
- }
8370
- export interface CreateTransitGatewayConnectResult {
8371
- /**
8372
- * <p>Information about the Connect attachment.</p>
8373
- */
8374
- TransitGatewayConnect?: TransitGatewayConnect;
8375
- }
8376
- export declare namespace CreateTransitGatewayConnectResult {
8377
- /**
8378
- * @internal
8379
- */
8380
- const filterSensitiveLog: (obj: CreateTransitGatewayConnectResult) => any;
8381
- }