@aws-sdk/client-ec2 3.614.0 → 3.620.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 (183) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +751 -447
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/EC2Client.js +5 -5
  5. package/dist-es/commands/CreateIpamExternalResourceVerificationTokenCommand.js +24 -0
  6. package/dist-es/commands/DeleteIpamExternalResourceVerificationTokenCommand.js +24 -0
  7. package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -1
  8. package/dist-es/commands/DescribeIpamExternalResourceVerificationTokensCommand.js +24 -0
  9. package/dist-es/commands/DescribeSpotFleetRequestsCommand.js +1 -1
  10. package/dist-es/commands/DescribeSpotInstanceRequestsCommand.js +1 -1
  11. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/models_0.js +1 -1
  14. package/dist-es/models/models_1.js +12 -19
  15. package/dist-es/models/models_2.js +19 -0
  16. package/dist-es/models/models_3.js +0 -13
  17. package/dist-es/models/models_4.js +13 -33
  18. package/dist-es/models/models_5.js +34 -15
  19. package/dist-es/models/models_6.js +17 -7
  20. package/dist-es/models/models_7.js +11 -1
  21. package/dist-es/protocols/Aws_ec2.js +231 -5
  22. package/dist-types/EC2.d.ts +22 -0
  23. package/dist-types/EC2Client.d.ts +7 -4
  24. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  25. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  27. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  28. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  29. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  30. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  31. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +91 -0
  50. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  56. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  65. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  66. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +79 -0
  100. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +2 -1
  101. package/dist-types/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  102. package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  103. package/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  104. package/dist-types/commands/DescribeImagesCommand.d.ts +2 -1
  105. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +94 -0
  107. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +9 -2
  109. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -3
  110. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -3
  113. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  114. package/dist-types/commands/GetConsoleOutputCommand.d.ts +0 -7
  115. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +2 -1
  116. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  117. package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -1
  118. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -2
  119. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  120. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  121. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  122. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  123. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -1
  124. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  125. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  126. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -3
  127. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -0
  128. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  129. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  130. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  131. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  132. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  133. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  134. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  135. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  136. package/dist-types/commands/index.d.ts +3 -0
  137. package/dist-types/models/models_0.d.ts +1 -1
  138. package/dist-types/models/models_1.d.ts +328 -167
  139. package/dist-types/models/models_2.d.ts +174 -95
  140. package/dist-types/models/models_3.d.ts +95 -258
  141. package/dist-types/models/models_4.d.ts +400 -602
  142. package/dist-types/models/models_5.d.ts +576 -200
  143. package/dist-types/models/models_6.d.ts +205 -195
  144. package/dist-types/models/models_7.d.ts +218 -4
  145. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  146. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  147. package/dist-types/runtimeConfig.d.ts +1 -1
  148. package/dist-types/runtimeConfig.native.d.ts +1 -1
  149. package/dist-types/ts3.4/EC2.d.ts +70 -0
  150. package/dist-types/ts3.4/EC2Client.d.ts +20 -2
  151. package/dist-types/ts3.4/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +40 -0
  152. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +40 -0
  153. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +2 -4
  154. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -4
  158. package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +42 -0
  160. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -4
  161. package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +2 -4
  163. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +4 -2
  166. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +2 -4
  167. package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  171. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  172. package/dist-types/ts3.4/models/models_1.d.ts +37 -45
  173. package/dist-types/ts3.4/models/models_2.d.ts +55 -32
  174. package/dist-types/ts3.4/models/models_3.d.ts +29 -63
  175. package/dist-types/ts3.4/models/models_4.d.ts +77 -101
  176. package/dist-types/ts3.4/models/models_5.d.ts +105 -60
  177. package/dist-types/ts3.4/models/models_6.d.ts +61 -50
  178. package/dist-types/ts3.4/models/models_7.d.ts +58 -7
  179. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  180. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  181. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  182. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  183. package/package.json +19 -19
@@ -2077,7 +2077,12 @@ export interface FleetLaunchTemplateOverridesRequest {
2077
2077
  */
2078
2078
  AvailabilityZone?: string;
2079
2079
  /**
2080
- * <p>The number of units provided by the specified instance type.</p>
2080
+ * <p>The number of units provided by the specified instance type. These are the same units
2081
+ * that you chose to set the target capacity in terms of instances, or a performance
2082
+ * characteristic such as vCPUs, memory, or I/O.</p>
2083
+ * <p>If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the
2084
+ * number of instances to the next whole number. If this value is not specified, the default
2085
+ * is 1.</p>
2081
2086
  * <note>
2082
2087
  * <p>When specifying weights, the price used in the <code>lowest-price</code> and
2083
2088
  * <code>price-capacity-optimized</code> allocation strategies is per
@@ -2121,9 +2126,67 @@ export interface FleetLaunchTemplateOverridesRequest {
2121
2126
  */
2122
2127
  InstanceRequirements?: InstanceRequirementsRequest;
2123
2128
  /**
2124
- * <p>The ID of the AMI. An AMI is required to launch an instance. This parameter is only
2125
- * available for fleets of type <code>instant</code>. For fleets of type <code>maintain</code>
2126
- * and <code>request</code>, you must specify the AMI ID in the launch template.</p>
2129
+ * <p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p>
2130
+ * <p>Alternatively, you can specify a Systems Manager parameter, using one of the following
2131
+ * formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>
2132
+ * <p>To reference a public parameter:</p>
2133
+ * <ul>
2134
+ * <li>
2135
+ * <p>
2136
+ * <code>resolve:ssm:<i>public-parameter</i>
2137
+ * </code>
2138
+ * </p>
2139
+ * </li>
2140
+ * </ul>
2141
+ * <p>To reference a parameter stored in the same account:</p>
2142
+ * <ul>
2143
+ * <li>
2144
+ * <p>
2145
+ * <code>resolve:ssm:<i>parameter-name</i>
2146
+ * </code>
2147
+ * </p>
2148
+ * </li>
2149
+ * <li>
2150
+ * <p>
2151
+ * <code>resolve:ssm:<i>parameter-name:version-number</i>
2152
+ * </code>
2153
+ * </p>
2154
+ * </li>
2155
+ * <li>
2156
+ * <p>
2157
+ * <code>resolve:ssm:<i>parameter-name:label</i>
2158
+ * </code>
2159
+ * </p>
2160
+ * </li>
2161
+ * </ul>
2162
+ * <p>To reference a parameter shared from another Amazon Web Services account:</p>
2163
+ * <ul>
2164
+ * <li>
2165
+ * <p>
2166
+ * <code>resolve:ssm:<i>parameter-ARN</i>
2167
+ * </code>
2168
+ * </p>
2169
+ * </li>
2170
+ * <li>
2171
+ * <p>
2172
+ * <code>resolve:ssm:<i>parameter-ARN:version-number</i>
2173
+ * </code>
2174
+ * </p>
2175
+ * </li>
2176
+ * <li>
2177
+ * <p>
2178
+ * <code>resolve:ssm:<i>parameter-ARN:label</i>
2179
+ * </code>
2180
+ * </p>
2181
+ * </li>
2182
+ * </ul>
2183
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
2184
+ * <i>Amazon EC2 User Guide</i>.</p>
2185
+ * <note>
2186
+ * <p>This parameter is only available for fleets of type <code>instant</code>. For fleets
2187
+ * of type <code>maintain</code> and <code>request</code>, you must specify the AMI ID in
2188
+ * the launch template.</p>
2189
+ * </note>
2127
2190
  * @public
2128
2191
  */
2129
2192
  ImageId?: string;
@@ -3295,7 +3358,12 @@ export interface FleetLaunchTemplateOverrides {
3295
3358
  */
3296
3359
  AvailabilityZone?: string;
3297
3360
  /**
3298
- * <p>The number of units provided by the specified instance type.</p>
3361
+ * <p>The number of units provided by the specified instance type. These are the same units
3362
+ * that you chose to set the target capacity in terms of instances, or a performance
3363
+ * characteristic such as vCPUs, memory, or I/O.</p>
3364
+ * <p>If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the
3365
+ * number of instances to the next whole number. If this value is not specified, the default
3366
+ * is 1.</p>
3299
3367
  * <note>
3300
3368
  * <p>When specifying weights, the price used in the <code>lowest-price</code> and
3301
3369
  * <code>price-capacity-optimized</code> allocation strategies is per
@@ -3339,9 +3407,67 @@ export interface FleetLaunchTemplateOverrides {
3339
3407
  */
3340
3408
  InstanceRequirements?: InstanceRequirements;
3341
3409
  /**
3342
- * <p>The ID of the AMI. An AMI is required to launch an instance. This parameter is only
3343
- * available for fleets of type <code>instant</code>. For fleets of type <code>maintain</code>
3344
- * and <code>request</code>, you must specify the AMI ID in the launch template.</p>
3410
+ * <p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p>
3411
+ * <p>Alternatively, you can specify a Systems Manager parameter, using one of the following
3412
+ * formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>
3413
+ * <p>To reference a public parameter:</p>
3414
+ * <ul>
3415
+ * <li>
3416
+ * <p>
3417
+ * <code>resolve:ssm:<i>public-parameter</i>
3418
+ * </code>
3419
+ * </p>
3420
+ * </li>
3421
+ * </ul>
3422
+ * <p>To reference a parameter stored in the same account:</p>
3423
+ * <ul>
3424
+ * <li>
3425
+ * <p>
3426
+ * <code>resolve:ssm:<i>parameter-name</i>
3427
+ * </code>
3428
+ * </p>
3429
+ * </li>
3430
+ * <li>
3431
+ * <p>
3432
+ * <code>resolve:ssm:<i>parameter-name:version-number</i>
3433
+ * </code>
3434
+ * </p>
3435
+ * </li>
3436
+ * <li>
3437
+ * <p>
3438
+ * <code>resolve:ssm:<i>parameter-name:label</i>
3439
+ * </code>
3440
+ * </p>
3441
+ * </li>
3442
+ * </ul>
3443
+ * <p>To reference a parameter shared from another Amazon Web Services account:</p>
3444
+ * <ul>
3445
+ * <li>
3446
+ * <p>
3447
+ * <code>resolve:ssm:<i>parameter-ARN</i>
3448
+ * </code>
3449
+ * </p>
3450
+ * </li>
3451
+ * <li>
3452
+ * <p>
3453
+ * <code>resolve:ssm:<i>parameter-ARN:version-number</i>
3454
+ * </code>
3455
+ * </p>
3456
+ * </li>
3457
+ * <li>
3458
+ * <p>
3459
+ * <code>resolve:ssm:<i>parameter-ARN:label</i>
3460
+ * </code>
3461
+ * </p>
3462
+ * </li>
3463
+ * </ul>
3464
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
3465
+ * <i>Amazon EC2 User Guide</i>.</p>
3466
+ * <note>
3467
+ * <p>This parameter is only available for fleets of type <code>instant</code>. For fleets
3468
+ * of type <code>maintain</code> and <code>request</code>, you must specify the AMI ID in
3469
+ * the launch template.</p>
3470
+ * </note>
3345
3471
  * @public
3346
3472
  */
3347
3473
  ImageId?: string;
@@ -4784,6 +4910,133 @@ export interface CreateIpamResult {
4784
4910
  */
4785
4911
  Ipam?: Ipam;
4786
4912
  }
4913
+ /**
4914
+ * @public
4915
+ */
4916
+ export interface CreateIpamExternalResourceVerificationTokenRequest {
4917
+ /**
4918
+ * <p>A check for whether you have the required permissions for the action without actually making the request
4919
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4920
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4921
+ * @public
4922
+ */
4923
+ DryRun?: boolean;
4924
+ /**
4925
+ * <p>The ID of the IPAM that will create the token.</p>
4926
+ * @public
4927
+ */
4928
+ IpamId: string | undefined;
4929
+ /**
4930
+ * <p>Token tags.</p>
4931
+ * @public
4932
+ */
4933
+ TagSpecifications?: TagSpecification[];
4934
+ /**
4935
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
4936
+ * @public
4937
+ */
4938
+ ClientToken?: string;
4939
+ }
4940
+ /**
4941
+ * @public
4942
+ * @enum
4943
+ */
4944
+ export declare const IpamExternalResourceVerificationTokenState: {
4945
+ readonly CREATE_COMPLETE: "create-complete";
4946
+ readonly CREATE_FAILED: "create-failed";
4947
+ readonly CREATE_IN_PROGRESS: "create-in-progress";
4948
+ readonly DELETE_COMPLETE: "delete-complete";
4949
+ readonly DELETE_FAILED: "delete-failed";
4950
+ readonly DELETE_IN_PROGRESS: "delete-in-progress";
4951
+ };
4952
+ /**
4953
+ * @public
4954
+ */
4955
+ export type IpamExternalResourceVerificationTokenState = (typeof IpamExternalResourceVerificationTokenState)[keyof typeof IpamExternalResourceVerificationTokenState];
4956
+ /**
4957
+ * @public
4958
+ * @enum
4959
+ */
4960
+ export declare const TokenState: {
4961
+ readonly expired: "expired";
4962
+ readonly valid: "valid";
4963
+ };
4964
+ /**
4965
+ * @public
4966
+ */
4967
+ export type TokenState = (typeof TokenState)[keyof typeof TokenState];
4968
+ /**
4969
+ * <p>A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).
4970
+ * </p>
4971
+ * @public
4972
+ */
4973
+ export interface IpamExternalResourceVerificationToken {
4974
+ /**
4975
+ * <p>The ID of the token.</p>
4976
+ * @public
4977
+ */
4978
+ IpamExternalResourceVerificationTokenId?: string;
4979
+ /**
4980
+ * <p>Token ARN.</p>
4981
+ * @public
4982
+ */
4983
+ IpamExternalResourceVerificationTokenArn?: string;
4984
+ /**
4985
+ * <p>The ID of the IPAM that created the token.</p>
4986
+ * @public
4987
+ */
4988
+ IpamId?: string;
4989
+ /**
4990
+ * <p>ARN of the IPAM that created the token.</p>
4991
+ * @public
4992
+ */
4993
+ IpamArn?: string;
4994
+ /**
4995
+ * <p>Region of the IPAM that created the token.</p>
4996
+ * @public
4997
+ */
4998
+ IpamRegion?: string;
4999
+ /**
5000
+ * <p>Token value.</p>
5001
+ * @public
5002
+ */
5003
+ TokenValue?: string;
5004
+ /**
5005
+ * <p>Token name.</p>
5006
+ * @public
5007
+ */
5008
+ TokenName?: string;
5009
+ /**
5010
+ * <p>Token expiration.</p>
5011
+ * @public
5012
+ */
5013
+ NotAfter?: Date;
5014
+ /**
5015
+ * <p>Token status.</p>
5016
+ * @public
5017
+ */
5018
+ Status?: TokenState;
5019
+ /**
5020
+ * <p>Token tags.</p>
5021
+ * @public
5022
+ */
5023
+ Tags?: Tag[];
5024
+ /**
5025
+ * <p>Token state.</p>
5026
+ * @public
5027
+ */
5028
+ State?: IpamExternalResourceVerificationTokenState;
5029
+ }
5030
+ /**
5031
+ * @public
5032
+ */
5033
+ export interface CreateIpamExternalResourceVerificationTokenResult {
5034
+ /**
5035
+ * <p>The verification token.</p>
5036
+ * @public
5037
+ */
5038
+ IpamExternalResourceVerificationToken?: IpamExternalResourceVerificationToken;
5039
+ }
4787
5040
  /**
4788
5041
  * <p>A tag on an IPAM resource.</p>
4789
5042
  * @public
@@ -4877,8 +5130,17 @@ export interface CreateIpamPoolRequest {
4877
5130
  */
4878
5131
  IpamScopeId: string | undefined;
4879
5132
  /**
4880
- * <p>In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local Zones</a>). If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.</p>
4881
- * <p>Possible values: Any Amazon Web Services Region, such as us-east-1.</p>
5133
+ * <p>The locale for the pool should be one of the following:</p>
5134
+ * <ul>
5135
+ * <li>
5136
+ * <p>An Amazon Web Services Region where you want this IPAM pool to be available for allocations.</p>
5137
+ * </li>
5138
+ * <li>
5139
+ * <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>
5140
+ * </li>
5141
+ * </ul>
5142
+ * <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>
5143
+ * <p>Possible values: Any Amazon Web Services Region or supported Amazon Web Services Local Zone.</p>
4882
5144
  * @public
4883
5145
  */
4884
5146
  Locale?: string;
@@ -5088,7 +5350,17 @@ export interface IpamPool {
5088
5350
  */
5089
5351
  IpamRegion?: string;
5090
5352
  /**
5091
- * <p>The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local Zones</a>). If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.</p>
5353
+ * <p>The locale of the IPAM pool.</p>
5354
+ * <p>The locale for the pool should be one of the following:</p>
5355
+ * <ul>
5356
+ * <li>
5357
+ * <p>An Amazon Web Services Region where you want this IPAM pool to be available for allocations.</p>
5358
+ * </li>
5359
+ * <li>
5360
+ * <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>
5361
+ * </li>
5362
+ * </ul>
5363
+ * <p>If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.</p>
5092
5364
  * @public
5093
5365
  */
5094
5366
  Locale?: string;
@@ -6587,41 +6859,75 @@ export interface RequestLaunchTemplateData {
6587
6859
  */
6588
6860
  NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest[];
6589
6861
  /**
6590
- * <p>The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which
6591
- * will resolve to an AMI ID on launch.</p>
6592
- * <p>Valid formats:</p>
6862
+ * <p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p>
6863
+ * <p>Alternatively, you can specify a Systems Manager parameter, using one of the following
6864
+ * formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>
6865
+ * <p>To reference a public parameter:</p>
6593
6866
  * <ul>
6594
6867
  * <li>
6595
6868
  * <p>
6596
- * <code>ami-17characters00000</code>
6869
+ * <code>resolve:ssm:<i>public-parameter</i>
6870
+ * </code>
6597
6871
  * </p>
6598
6872
  * </li>
6873
+ * </ul>
6874
+ * <p>To reference a parameter stored in the same account:</p>
6875
+ * <ul>
6599
6876
  * <li>
6600
6877
  * <p>
6601
- * <code>resolve:ssm:parameter-name</code>
6878
+ * <code>resolve:ssm:<i>parameter-name</i>
6879
+ * </code>
6602
6880
  * </p>
6603
6881
  * </li>
6604
6882
  * <li>
6605
6883
  * <p>
6606
- * <code>resolve:ssm:parameter-name:version-number</code>
6884
+ * <code>resolve:ssm:<i>parameter-name:version-number</i>
6885
+ * </code>
6607
6886
  * </p>
6608
6887
  * </li>
6609
6888
  * <li>
6610
6889
  * <p>
6611
- * <code>resolve:ssm:parameter-name:label</code>
6890
+ * <code>resolve:ssm:<i>parameter-name:label</i>
6891
+ * </code>
6612
6892
  * </p>
6613
6893
  * </li>
6894
+ * </ul>
6895
+ * <p>To reference a parameter shared from another Amazon Web Services account:</p>
6896
+ * <ul>
6614
6897
  * <li>
6615
6898
  * <p>
6616
- * <code>resolve:ssm:public-parameter</code>
6899
+ * <code>resolve:ssm:<i>parameter-ARN</i>
6900
+ * </code>
6901
+ * </p>
6902
+ * </li>
6903
+ * <li>
6904
+ * <p>
6905
+ * <code>resolve:ssm:<i>parameter-ARN:version-number</i>
6906
+ * </code>
6907
+ * </p>
6908
+ * </li>
6909
+ * <li>
6910
+ * <p>
6911
+ * <code>resolve:ssm:<i>parameter-ARN:label</i>
6912
+ * </code>
6617
6913
  * </p>
6618
6914
  * </li>
6619
6915
  * </ul>
6916
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the <i>Amazon EC2 User Guide</i>.</p>
6620
6917
  * <note>
6621
- * <p>Currently, EC2 Fleet and Spot Fleet do not support specifying a Systems Manager parameter.
6622
- * If the launch template will be used by an EC2 Fleet or Spot Fleet, you must specify the AMI ID.</p>
6918
+ * <p>If the launch template will be used for an EC2 Fleet or Spot Fleet, note the
6919
+ * following:</p>
6920
+ * <ul>
6921
+ * <li>
6922
+ * <p>Only EC2 Fleets of type <code>instant</code> support specifying a Systems
6923
+ * Manager parameter.</p>
6924
+ * </li>
6925
+ * <li>
6926
+ * <p>For EC2 Fleets of type <code>maintain</code> or <code>request</code>, or
6927
+ * for Spot Fleets, you must specify the AMI ID.</p>
6928
+ * </li>
6929
+ * </ul>
6623
6930
  * </note>
6624
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the <i>Amazon EC2 User Guide</i>.</p>
6625
6931
  * @public
6626
6932
  */
6627
6933
  ImageId?: string;
@@ -9744,151 +10050,6 @@ export interface AttachmentEnaSrdUdpSpecification {
9744
10050
  */
9745
10051
  EnaSrdUdpEnabled?: boolean;
9746
10052
  }
9747
- /**
9748
- * <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
9749
- * maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
9750
- * With ENA Express, you can communicate between two EC2 instances in the same subnet within the same
9751
- * account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.</p>
9752
- * <p>To improve the reliability of network packet delivery, ENA Express reorders network packets on the
9753
- * receiving end by default. However, some UDP-based applications are designed to handle network packets
9754
- * that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express
9755
- * is enabled, you can specify whether UDP network traffic uses it.</p>
9756
- * @public
9757
- */
9758
- export interface AttachmentEnaSrdSpecification {
9759
- /**
9760
- * <p>Indicates whether ENA Express is enabled for the network interface.</p>
9761
- * @public
9762
- */
9763
- EnaSrdEnabled?: boolean;
9764
- /**
9765
- * <p>Configures ENA Express for UDP network traffic.</p>
9766
- * @public
9767
- */
9768
- EnaSrdUdpSpecification?: AttachmentEnaSrdUdpSpecification;
9769
- }
9770
- /**
9771
- * <p>Describes a network interface attachment.</p>
9772
- * @public
9773
- */
9774
- export interface NetworkInterfaceAttachment {
9775
- /**
9776
- * <p>The timestamp indicating when the attachment initiated.</p>
9777
- * @public
9778
- */
9779
- AttachTime?: Date;
9780
- /**
9781
- * <p>The ID of the network interface attachment.</p>
9782
- * @public
9783
- */
9784
- AttachmentId?: string;
9785
- /**
9786
- * <p>Indicates whether the network interface is deleted when the instance is terminated.</p>
9787
- * @public
9788
- */
9789
- DeleteOnTermination?: boolean;
9790
- /**
9791
- * <p>The device index of the network interface attachment on the instance.</p>
9792
- * @public
9793
- */
9794
- DeviceIndex?: number;
9795
- /**
9796
- * <p>The index of the network card.</p>
9797
- * @public
9798
- */
9799
- NetworkCardIndex?: number;
9800
- /**
9801
- * <p>The ID of the instance.</p>
9802
- * @public
9803
- */
9804
- InstanceId?: string;
9805
- /**
9806
- * <p>The Amazon Web Services account ID of the owner of the instance.</p>
9807
- * @public
9808
- */
9809
- InstanceOwnerId?: string;
9810
- /**
9811
- * <p>The attachment state.</p>
9812
- * @public
9813
- */
9814
- Status?: AttachmentStatus;
9815
- /**
9816
- * <p>Configures ENA Express for the network interface that this action attaches to the instance.</p>
9817
- * @public
9818
- */
9819
- EnaSrdSpecification?: AttachmentEnaSrdSpecification;
9820
- }
9821
- /**
9822
- * <p>A security group connection tracking configuration that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the <i>Amazon EC2 User Guide</i>.</p>
9823
- * @public
9824
- */
9825
- export interface ConnectionTrackingConfiguration {
9826
- /**
9827
- * <p>Timeout (in seconds) for idle TCP
9828
- * connections in an established state. Min: 60 seconds. Max: 432000 seconds (5
9829
- * days). Default: 432000 seconds. Recommended: Less than 432000 seconds.</p>
9830
- * @public
9831
- */
9832
- TcpEstablishedTimeout?: number;
9833
- /**
9834
- * <p>Timeout (in seconds) for idle UDP
9835
- * flows classified as streams which have seen more than one request-response
9836
- * transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180
9837
- * seconds.</p>
9838
- * @public
9839
- */
9840
- UdpStreamTimeout?: number;
9841
- /**
9842
- * <p>Timeout (in seconds) for idle UDP flows that
9843
- * have seen traffic only in a single direction or a single request-response
9844
- * transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.</p>
9845
- * @public
9846
- */
9847
- UdpTimeout?: number;
9848
- }
9849
- /**
9850
- * <p>Describes a security group.</p>
9851
- * @public
9852
- */
9853
- export interface GroupIdentifier {
9854
- /**
9855
- * <p>The name of the security group.</p>
9856
- * @public
9857
- */
9858
- GroupName?: string;
9859
- /**
9860
- * <p>The ID of the security group.</p>
9861
- * @public
9862
- */
9863
- GroupId?: string;
9864
- }
9865
- /**
9866
- * @public
9867
- * @enum
9868
- */
9869
- export declare const NetworkInterfaceType: {
9870
- readonly api_gateway_managed: "api_gateway_managed";
9871
- readonly aws_codestar_connections_managed: "aws_codestar_connections_managed";
9872
- readonly branch: "branch";
9873
- readonly efa: "efa";
9874
- readonly gateway_load_balancer: "gateway_load_balancer";
9875
- readonly gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint";
9876
- readonly global_accelerator_managed: "global_accelerator_managed";
9877
- readonly interface: "interface";
9878
- readonly iot_rules_managed: "iot_rules_managed";
9879
- readonly lambda: "lambda";
9880
- readonly load_balancer: "load_balancer";
9881
- readonly natGateway: "natGateway";
9882
- readonly network_load_balancer: "network_load_balancer";
9883
- readonly quicksight: "quicksight";
9884
- readonly transit_gateway: "transit_gateway";
9885
- readonly trunk: "trunk";
9886
- readonly vpc_endpoint: "vpc_endpoint";
9887
- };
9888
- /**
9889
- * @public
9890
- */
9891
- export type NetworkInterfaceType = (typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
9892
10053
  /**
9893
10054
  * @internal
9894
10055
  */