@aws-sdk/client-ec2 3.1105.0 → 3.1107.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 (321) hide show
  1. package/README.md +105 -0
  2. package/dist-cjs/index.js +738 -28
  3. package/dist-es/EC2.js +30 -0
  4. package/dist-es/commands/BatchModifyIpamRoutingPolicyRegistrationsCommand.js +4 -0
  5. package/dist-es/commands/CreateIpamInternetRegistryAssociationCommand.js +4 -0
  6. package/dist-es/commands/CreateIpamRoutingPolicyRegistrationCommand.js +4 -0
  7. package/dist-es/commands/DeleteIpamInternetRegistryAssociationCommand.js +4 -0
  8. package/dist-es/commands/DeleteIpamRoutingPolicyRegistrationCommand.js +4 -0
  9. package/dist-es/commands/DescribeIpamInternetRegistryAssociationsCommand.js +4 -0
  10. package/dist-es/commands/EnableIpamInternetRegistryAssociationCommand.js +4 -0
  11. package/dist-es/commands/GetIpamDiscoveredRoutesCommand.js +4 -0
  12. package/dist-es/commands/GetIpamInternetRegistryAssociationAsnsCommand.js +4 -0
  13. package/dist-es/commands/GetIpamInternetRegistryAssociationCidrsCommand.js +4 -0
  14. package/dist-es/commands/GetIpamRouteOriginAuthorizationsCommand.js +4 -0
  15. package/dist-es/commands/GetIpamRouteProtectionFindingsCommand.js +4 -0
  16. package/dist-es/commands/GetIpamRoutingPolicyRegistrationDeltasCommand.js +4 -0
  17. package/dist-es/commands/GetIpamRoutingPolicyRegistrationsCommand.js +4 -0
  18. package/dist-es/commands/ModifyIpamRoutingPolicyRegistrationCommand.js +4 -0
  19. package/dist-es/commands/index.js +15 -0
  20. package/dist-es/index.js +1 -1
  21. package/dist-es/models/enums.js +62 -0
  22. package/dist-es/schemas/schemas_0.js +536 -27
  23. package/dist-types/EC2.d.ts +106 -0
  24. package/dist-types/EC2Client.d.ts +17 -2
  25. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  26. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
  27. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  28. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  29. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  30. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  31. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  32. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  33. package/dist-types/commands/BatchModifyIpamRoutingPolicyRegistrationsCommand.d.ts +80 -0
  34. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  35. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  36. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +5 -5
  38. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +2 -3
  45. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +104 -0
  63. package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateIpamRoutingPolicyRegistrationCommand.d.ts +86 -0
  69. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  72. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  73. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +2 -1
  86. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +2 -2
  87. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +2 -2
  88. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -3
  89. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  113. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  114. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  115. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  116. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  117. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  118. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  119. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  120. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  121. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  122. package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  123. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  124. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  125. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  126. package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  127. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  128. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  129. package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +89 -0
  130. package/dist-types/commands/DeleteIpamRoutingPolicyRegistrationCommand.d.ts +80 -0
  131. package/dist-types/commands/DeleteLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  132. package/dist-types/commands/DeleteLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  133. package/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  134. package/dist-types/commands/DeleteNatGatewayCommand.d.ts +1 -1
  135. package/dist-types/commands/DeleteNetworkAclCommand.d.ts +1 -1
  136. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  137. package/dist-types/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
  138. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
  139. package/dist-types/commands/DescribeApplicationStatusCheckAssociationsCommand.d.ts +31 -0
  140. package/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +9 -9
  141. package/dist-types/commands/DescribeApplicationStatusCommand.d.ts +86 -0
  142. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -0
  143. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +2 -1
  144. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -1
  145. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -2
  146. package/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +104 -0
  147. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  148. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +2 -1
  149. package/dist-types/commands/DescribeSecondaryInterfacesCommand.d.ts +1 -1
  150. package/dist-types/commands/DescribeSecondaryNetworksCommand.d.ts +1 -1
  151. package/dist-types/commands/DescribeSecondarySubnetsCommand.d.ts +1 -1
  152. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  153. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -2
  154. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  155. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  156. package/dist-types/commands/EnableFastLaunchCommand.d.ts +2 -1
  157. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  158. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  159. package/dist-types/commands/EnableImageCommand.d.ts +1 -1
  160. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
  161. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
  162. package/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +95 -0
  163. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  164. package/dist-types/commands/GetIpamDiscoveredRoutesCommand.d.ts +98 -0
  165. package/dist-types/commands/GetIpamInternetRegistryAssociationAsnsCommand.d.ts +88 -0
  166. package/dist-types/commands/GetIpamInternetRegistryAssociationCidrsCommand.d.ts +88 -0
  167. package/dist-types/commands/GetIpamRouteOriginAuthorizationsCommand.d.ts +82 -0
  168. package/dist-types/commands/GetIpamRouteProtectionFindingsCommand.d.ts +116 -0
  169. package/dist-types/commands/GetIpamRoutingPolicyRegistrationDeltasCommand.d.ts +86 -0
  170. package/dist-types/commands/GetIpamRoutingPolicyRegistrationsCommand.d.ts +88 -0
  171. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  172. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  173. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  174. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  175. package/dist-types/commands/ImportVolumeCommand.d.ts +1 -1
  176. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
  177. package/dist-types/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
  178. package/dist-types/commands/ListVolumesInRecycleBinCommand.d.ts +1 -1
  179. package/dist-types/commands/LockSnapshotCommand.d.ts +1 -1
  180. package/dist-types/commands/ModifyAccountVpcEncryptionControlCommand.d.ts +1 -1
  181. package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -1
  182. package/dist-types/commands/ModifyApplicationStatusCheckCommand.d.ts +4 -4
  183. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  184. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  185. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  186. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
  187. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  188. package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  189. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  190. package/dist-types/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
  191. package/dist-types/commands/ModifyIpamRoutingPolicyRegistrationCommand.d.ts +86 -0
  192. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +2 -0
  193. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +3 -1
  194. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  195. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  196. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  197. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  198. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  199. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  200. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  201. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  202. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  203. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  204. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  205. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  206. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  207. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  208. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  209. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  210. package/dist-types/commands/RestoreVolumeFromRecycleBinCommand.d.ts +1 -1
  211. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  212. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  213. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  214. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  215. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  216. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  217. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  218. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -0
  219. package/dist-types/commands/index.d.ts +15 -0
  220. package/dist-types/index.d.ts +1 -1
  221. package/dist-types/models/enums.d.ts +134 -0
  222. package/dist-types/models/models_0.d.ts +77 -205
  223. package/dist-types/models/models_1.d.ts +413 -313
  224. package/dist-types/models/models_2.d.ts +379 -182
  225. package/dist-types/models/models_3.d.ts +181 -461
  226. package/dist-types/models/models_4.d.ts +8068 -8110
  227. package/dist-types/models/models_5.d.ts +1715 -1517
  228. package/dist-types/models/models_6.d.ts +4486 -4598
  229. package/dist-types/models/models_7.d.ts +4650 -4786
  230. package/dist-types/models/models_8.d.ts +1456 -4
  231. package/dist-types/schemas/schemas_0.d.ts +55 -0
  232. package/dist-types/ts3.4/EC2.d.ts +256 -0
  233. package/dist-types/ts3.4/EC2Client.d.ts +90 -0
  234. package/dist-types/ts3.4/commands/BatchModifyIpamRoutingPolicyRegistrationsCommand.d.ts +42 -0
  235. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -2
  236. package/dist-types/ts3.4/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +42 -0
  237. package/dist-types/ts3.4/commands/CreateIpamRoutingPolicyRegistrationCommand.d.ts +42 -0
  238. package/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +2 -4
  239. package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  241. package/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +4 -2
  242. package/dist-types/ts3.4/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +42 -0
  243. package/dist-types/ts3.4/commands/DeleteIpamRoutingPolicyRegistrationCommand.d.ts +42 -0
  244. package/dist-types/ts3.4/commands/DeleteLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/DeleteLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/DeleteNetworkAclCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +1 -1
  251. package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +2 -1
  252. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -1
  253. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -2
  254. package/dist-types/ts3.4/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +42 -0
  255. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +2 -4
  256. package/dist-types/ts3.4/commands/DescribeSecondaryInterfacesCommand.d.ts +1 -1
  257. package/dist-types/ts3.4/commands/DescribeSecondaryNetworksCommand.d.ts +1 -1
  258. package/dist-types/ts3.4/commands/DescribeSecondarySubnetsCommand.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  260. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +4 -2
  261. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +2 -1
  262. package/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  263. package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  264. package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +1 -1
  265. package/dist-types/ts3.4/commands/EnableImageDeprecationCommand.d.ts +1 -1
  266. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +4 -2
  267. package/dist-types/ts3.4/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +42 -0
  268. package/dist-types/ts3.4/commands/GetIpamDiscoveredRoutesCommand.d.ts +39 -0
  269. package/dist-types/ts3.4/commands/GetIpamInternetRegistryAssociationAsnsCommand.d.ts +42 -0
  270. package/dist-types/ts3.4/commands/GetIpamInternetRegistryAssociationCidrsCommand.d.ts +42 -0
  271. package/dist-types/ts3.4/commands/GetIpamRouteOriginAuthorizationsCommand.d.ts +42 -0
  272. package/dist-types/ts3.4/commands/GetIpamRouteProtectionFindingsCommand.d.ts +42 -0
  273. package/dist-types/ts3.4/commands/GetIpamRoutingPolicyRegistrationDeltasCommand.d.ts +42 -0
  274. package/dist-types/ts3.4/commands/GetIpamRoutingPolicyRegistrationsCommand.d.ts +42 -0
  275. package/dist-types/ts3.4/commands/ImportVolumeCommand.d.ts +1 -1
  276. package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
  277. package/dist-types/ts3.4/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
  278. package/dist-types/ts3.4/commands/ListVolumesInRecycleBinCommand.d.ts +1 -1
  279. package/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +1 -1
  280. package/dist-types/ts3.4/commands/ModifyAccountVpcEncryptionControlCommand.d.ts +1 -1
  281. package/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +1 -1
  282. package/dist-types/ts3.4/commands/ModifyApplicationStatusCheckCommand.d.ts +1 -1
  283. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  284. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  285. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  286. package/dist-types/ts3.4/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
  287. package/dist-types/ts3.4/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  288. package/dist-types/ts3.4/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  289. package/dist-types/ts3.4/commands/ModifyFleetCommand.d.ts +1 -1
  290. package/dist-types/ts3.4/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
  291. package/dist-types/ts3.4/commands/ModifyIpamRoutingPolicyRegistrationCommand.d.ts +42 -0
  292. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  293. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  294. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  295. package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  296. package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  297. package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  298. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  299. package/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -1
  300. package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  301. package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  302. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  303. package/dist-types/ts3.4/commands/RestoreVolumeFromRecycleBinCommand.d.ts +1 -1
  304. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  305. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  306. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  307. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  308. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  309. package/dist-types/ts3.4/index.d.ts +1 -1
  310. package/dist-types/ts3.4/models/enums.d.ts +75 -0
  311. package/dist-types/ts3.4/models/models_0.d.ts +19 -39
  312. package/dist-types/ts3.4/models/models_1.d.ts +85 -60
  313. package/dist-types/ts3.4/models/models_2.d.ts +82 -48
  314. package/dist-types/ts3.4/models/models_3.d.ts +48 -93
  315. package/dist-types/ts3.4/models/models_4.d.ts +107 -94
  316. package/dist-types/ts3.4/models/models_5.d.ts +99 -78
  317. package/dist-types/ts3.4/models/models_6.d.ts +248 -272
  318. package/dist-types/ts3.4/models/models_7.d.ts +288 -272
  319. package/dist-types/ts3.4/models/models_8.d.ts +303 -3
  320. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
  321. package/package.json +1 -1
@@ -1,11 +1,1463 @@
1
- import type { CapacityManagerStatus, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MembershipType, TransitGatewayAttachmentResourceType } from "./enums";
2
- import type { ByoipCidr, IpPermission, NatGatewayAddress, TagSpecification } from "./models_0";
3
- import type { LocalGatewayRoute } from "./models_1";
1
+ import type { _InstanceType, AmdSevSnpSpecification, CapacityManagerStatus, HostnameType, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ResetFpgaImageAttributeName, ResetImageAttributeName, SecondaryInterfaceType, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TransitGatewayAttachmentResourceType } from "./enums";
2
+ import type { ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification } from "./models_0";
3
+ import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
4
4
  import type { TransitGatewayRoute } from "./models_2";
5
5
  import type { ClientVpnConnectionStatus, Filter } from "./models_3";
6
6
  import type { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
7
+ import type { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled } from "./models_5";
7
8
  import type { CapacityManagerMonitoredTagKey } from "./models_6";
8
- import type { InstanceMonitoring } from "./models_7";
9
+ import type { CapacityReservationSpecification, EnclaveOptionsRequest, InstanceMonitoring } from "./models_7";
10
+ /**
11
+ * @public
12
+ */
13
+ export interface ResetEbsDefaultKmsKeyIdResult {
14
+ /**
15
+ * <p>The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.</p>
16
+ * @public
17
+ */
18
+ KmsKeyId?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface ResetFpgaImageAttributeRequest {
24
+ /**
25
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
26
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
27
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
28
+ * @public
29
+ */
30
+ DryRun?: boolean | undefined;
31
+ /**
32
+ * <p>The ID of the AFI.</p>
33
+ * @public
34
+ */
35
+ FpgaImageId: string | undefined;
36
+ /**
37
+ * <p>The attribute.</p>
38
+ * @public
39
+ */
40
+ Attribute?: ResetFpgaImageAttributeName | undefined;
41
+ }
42
+ /**
43
+ * @public
44
+ */
45
+ export interface ResetFpgaImageAttributeResult {
46
+ /**
47
+ * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
48
+ * @public
49
+ */
50
+ Return?: boolean | undefined;
51
+ }
52
+ /**
53
+ * <p>Contains the parameters for ResetImageAttribute.</p>
54
+ * @public
55
+ */
56
+ export interface ResetImageAttributeRequest {
57
+ /**
58
+ * <p>The attribute to reset (currently you can only reset the launch permission
59
+ * attribute).</p>
60
+ * @public
61
+ */
62
+ Attribute: ResetImageAttributeName | undefined;
63
+ /**
64
+ * <p>The ID of the AMI.</p>
65
+ * @public
66
+ */
67
+ ImageId: string | undefined;
68
+ /**
69
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
70
+ * and provides an error response. If you have the required permissions, the error response is
71
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
72
+ * @public
73
+ */
74
+ DryRun?: boolean | undefined;
75
+ }
76
+ /**
77
+ * @public
78
+ */
79
+ export interface ResetInstanceAttributeRequest {
80
+ /**
81
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
82
+ * request, and provides an error response. If you have the required permissions, the error response is
83
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
84
+ * @public
85
+ */
86
+ DryRun?: boolean | undefined;
87
+ /**
88
+ * <p>The ID of the instance.</p>
89
+ * @public
90
+ */
91
+ InstanceId: string | undefined;
92
+ /**
93
+ * <p>The attribute to reset.</p>
94
+ * <important>
95
+ * <p>You can only reset the following attributes: <code>kernel</code> |
96
+ * <code>ramdisk</code> | <code>sourceDestCheck</code>.</p>
97
+ * </important>
98
+ * @public
99
+ */
100
+ Attribute: InstanceAttributeName | undefined;
101
+ }
102
+ /**
103
+ * <p>Contains the parameters for ResetNetworkInterfaceAttribute.</p>
104
+ * @public
105
+ */
106
+ export interface ResetNetworkInterfaceAttributeRequest {
107
+ /**
108
+ * <p>Checks whether you have the required permissions for the action, without actually
109
+ * making the request, and provides an error response. If you have the required
110
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
111
+ * <code>UnauthorizedOperation</code>.</p>
112
+ * @public
113
+ */
114
+ DryRun?: boolean | undefined;
115
+ /**
116
+ * <p>The ID of the network interface.</p>
117
+ * @public
118
+ */
119
+ NetworkInterfaceId: string | undefined;
120
+ /**
121
+ * <p>The source/destination checking attribute. Resets the value to
122
+ * <code>true</code>.</p>
123
+ * @public
124
+ */
125
+ SourceDestCheck?: string | undefined;
126
+ }
127
+ /**
128
+ * @public
129
+ */
130
+ export interface ResetSnapshotAttributeRequest {
131
+ /**
132
+ * <p>The attribute to reset. Currently, only the attribute for permission to create volumes can
133
+ * be reset.</p>
134
+ * @public
135
+ */
136
+ Attribute: SnapshotAttributeName | undefined;
137
+ /**
138
+ * <p>The ID of the snapshot.</p>
139
+ * @public
140
+ */
141
+ SnapshotId: string | undefined;
142
+ /**
143
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
144
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
145
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
146
+ * @public
147
+ */
148
+ DryRun?: boolean | undefined;
149
+ }
150
+ /**
151
+ * @public
152
+ */
153
+ export interface RestoreAddressToClassicRequest {
154
+ /**
155
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
156
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
157
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
158
+ * @public
159
+ */
160
+ DryRun?: boolean | undefined;
161
+ /**
162
+ * <p>The Elastic IP address.</p>
163
+ * @public
164
+ */
165
+ PublicIp: string | undefined;
166
+ }
167
+ /**
168
+ * @public
169
+ */
170
+ export interface RestoreAddressToClassicResult {
171
+ /**
172
+ * <p>The Elastic IP address.</p>
173
+ * @public
174
+ */
175
+ PublicIp?: string | undefined;
176
+ /**
177
+ * <p>The move status for the IP address.</p>
178
+ * @public
179
+ */
180
+ Status?: Status | undefined;
181
+ }
182
+ /**
183
+ * @public
184
+ */
185
+ export interface RestoreImageFromRecycleBinRequest {
186
+ /**
187
+ * <p>The ID of the AMI to restore.</p>
188
+ * @public
189
+ */
190
+ ImageId: string | undefined;
191
+ /**
192
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
193
+ * and provides an error response. If you have the required permissions, the error response is
194
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
195
+ * @public
196
+ */
197
+ DryRun?: boolean | undefined;
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface RestoreImageFromRecycleBinResult {
203
+ /**
204
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
205
+ * @public
206
+ */
207
+ Return?: boolean | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface RestoreManagedPrefixListVersionRequest {
213
+ /**
214
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
215
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
216
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
217
+ * @public
218
+ */
219
+ DryRun?: boolean | undefined;
220
+ /**
221
+ * <p>The ID of the prefix list.</p>
222
+ * @public
223
+ */
224
+ PrefixListId: string | undefined;
225
+ /**
226
+ * <p>The version to restore.</p>
227
+ * @public
228
+ */
229
+ PreviousVersion: number | undefined;
230
+ /**
231
+ * <p>The current version number for the prefix list.</p>
232
+ * @public
233
+ */
234
+ CurrentVersion: number | undefined;
235
+ }
236
+ /**
237
+ * @public
238
+ */
239
+ export interface RestoreManagedPrefixListVersionResult {
240
+ /**
241
+ * <p>Information about the prefix list.</p>
242
+ * @public
243
+ */
244
+ PrefixList?: ManagedPrefixList | undefined;
245
+ }
246
+ /**
247
+ * @public
248
+ */
249
+ export interface RestoreSnapshotFromRecycleBinRequest {
250
+ /**
251
+ * <p>The ID of the snapshot to restore.</p>
252
+ * @public
253
+ */
254
+ SnapshotId: string | undefined;
255
+ /**
256
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
257
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
258
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
259
+ * @public
260
+ */
261
+ DryRun?: boolean | undefined;
262
+ }
263
+ /**
264
+ * @public
265
+ */
266
+ export interface RestoreSnapshotFromRecycleBinResult {
267
+ /**
268
+ * <p>The ID of the snapshot.</p>
269
+ * @public
270
+ */
271
+ SnapshotId?: string | undefined;
272
+ /**
273
+ * <p>The ARN of the Outpost on which the snapshot is stored. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html">Amazon EBS local snapshots on Outposts</a> in the
274
+ * <i>Amazon EBS User Guide</i>.</p>
275
+ * @public
276
+ */
277
+ OutpostArn?: string | undefined;
278
+ /**
279
+ * <p>The description for the snapshot.</p>
280
+ * @public
281
+ */
282
+ Description?: string | undefined;
283
+ /**
284
+ * <p>Indicates whether the snapshot is encrypted.</p>
285
+ * @public
286
+ */
287
+ Encrypted?: boolean | undefined;
288
+ /**
289
+ * <p>The ID of the Amazon Web Services account that owns the EBS snapshot.</p>
290
+ * @public
291
+ */
292
+ OwnerId?: string | undefined;
293
+ /**
294
+ * <p>The progress of the snapshot, as a percentage.</p>
295
+ * @public
296
+ */
297
+ Progress?: string | undefined;
298
+ /**
299
+ * <p>The time stamp when the snapshot was initiated.</p>
300
+ * @public
301
+ */
302
+ StartTime?: Date | undefined;
303
+ /**
304
+ * <p>The state of the snapshot.</p>
305
+ * @public
306
+ */
307
+ State?: SnapshotState | undefined;
308
+ /**
309
+ * <p>The ID of the volume that was used to create the snapshot.</p>
310
+ * @public
311
+ */
312
+ VolumeId?: string | undefined;
313
+ /**
314
+ * <p>The size of the volume, in GiB.</p>
315
+ * @public
316
+ */
317
+ VolumeSize?: number | undefined;
318
+ /**
319
+ * <p>Reserved for future use.</p>
320
+ * @public
321
+ */
322
+ SseType?: SSEType | undefined;
323
+ }
324
+ /**
325
+ * @public
326
+ */
327
+ export interface RestoreSnapshotTierRequest {
328
+ /**
329
+ * <p>The ID of the snapshot to restore.</p>
330
+ * @public
331
+ */
332
+ SnapshotId: string | undefined;
333
+ /**
334
+ * <p>Specifies the number of days for which to temporarily restore an archived snapshot.
335
+ * Required for temporary restores only. The snapshot will be automatically re-archived
336
+ * after this period.</p>
337
+ * <p>To temporarily restore an archived snapshot, specify the number of days and omit
338
+ * the <b>PermanentRestore</b> parameter or set it to
339
+ * <code>false</code>.</p>
340
+ * @public
341
+ */
342
+ TemporaryRestoreDays?: number | undefined;
343
+ /**
344
+ * <p>Indicates whether to permanently restore an archived snapshot. To permanently restore
345
+ * an archived snapshot, specify <code>true</code> and omit the
346
+ * <b>RestoreSnapshotTierRequest$TemporaryRestoreDays</b> parameter.</p>
347
+ * @public
348
+ */
349
+ PermanentRestore?: boolean | undefined;
350
+ /**
351
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
352
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
353
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
354
+ * @public
355
+ */
356
+ DryRun?: boolean | undefined;
357
+ }
358
+ /**
359
+ * @public
360
+ */
361
+ export interface RestoreSnapshotTierResult {
362
+ /**
363
+ * <p>The ID of the snapshot.</p>
364
+ * @public
365
+ */
366
+ SnapshotId?: string | undefined;
367
+ /**
368
+ * <p>The date and time when the snapshot restore process started.</p>
369
+ * @public
370
+ */
371
+ RestoreStartTime?: Date | undefined;
372
+ /**
373
+ * <p>For temporary restores only. The number of days for which the archived snapshot
374
+ * is temporarily restored.</p>
375
+ * @public
376
+ */
377
+ RestoreDuration?: number | undefined;
378
+ /**
379
+ * <p>Indicates whether the snapshot is permanently restored. <code>true</code> indicates a permanent
380
+ * restore. <code>false</code> indicates a temporary restore.</p>
381
+ * @public
382
+ */
383
+ IsPermanentRestore?: boolean | undefined;
384
+ }
385
+ /**
386
+ * @public
387
+ */
388
+ export interface RestoreVolumeFromRecycleBinRequest {
389
+ /**
390
+ * <p>The ID of the volume to restore.</p>
391
+ * @public
392
+ */
393
+ VolumeId: string | undefined;
394
+ /**
395
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
396
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
397
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
398
+ * @public
399
+ */
400
+ DryRun?: boolean | undefined;
401
+ }
402
+ /**
403
+ * @public
404
+ */
405
+ export interface RestoreVolumeFromRecycleBinResult {
406
+ /**
407
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
408
+ * @public
409
+ */
410
+ Return?: boolean | undefined;
411
+ }
412
+ /**
413
+ * @public
414
+ */
415
+ export interface RevokeClientVpnIngressRequest {
416
+ /**
417
+ * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
418
+ * @public
419
+ */
420
+ ClientVpnEndpointId: string | undefined;
421
+ /**
422
+ * <p>The IPv4 address range, in CIDR notation, of the network for which access is being removed.</p>
423
+ * @public
424
+ */
425
+ TargetNetworkCidr: string | undefined;
426
+ /**
427
+ * <p>The ID of the Active Directory group for which to revoke access. </p>
428
+ * @public
429
+ */
430
+ AccessGroupId?: string | undefined;
431
+ /**
432
+ * <p>Indicates whether access should be revoked for all groups for a single <code>TargetNetworkCidr</code> that earlier authorized ingress for all groups using <code>AuthorizeAllGroups</code>.
433
+ * This does not impact other authorization rules that allowed ingress to the same <code>TargetNetworkCidr</code> with a specific <code>AccessGroupId</code>.</p>
434
+ * @public
435
+ */
436
+ RevokeAllGroups?: boolean | undefined;
437
+ /**
438
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
439
+ * @public
440
+ */
441
+ DryRun?: boolean | undefined;
442
+ }
443
+ /**
444
+ * @public
445
+ */
446
+ export interface RevokeClientVpnIngressResult {
447
+ /**
448
+ * <p>The current state of the authorization rule.</p>
449
+ * @public
450
+ */
451
+ Status?: ClientVpnAuthorizationRuleStatus | undefined;
452
+ }
453
+ /**
454
+ * @public
455
+ */
456
+ export interface RevokeSecurityGroupEgressRequest {
457
+ /**
458
+ * <p>The IDs of the security group rules.</p>
459
+ * @public
460
+ */
461
+ SecurityGroupRuleIds?: string[] | undefined;
462
+ /**
463
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
464
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
465
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
466
+ * @public
467
+ */
468
+ DryRun?: boolean | undefined;
469
+ /**
470
+ * <p>The ID of the security group.</p>
471
+ * @public
472
+ */
473
+ GroupId: string | undefined;
474
+ /**
475
+ * <p>Not supported. Use a set of IP permissions to specify a
476
+ * destination security group.</p>
477
+ * @public
478
+ */
479
+ SourceSecurityGroupName?: string | undefined;
480
+ /**
481
+ * <p>Not supported. Use a set of IP permissions to specify a destination security
482
+ * group.</p>
483
+ * @public
484
+ */
485
+ SourceSecurityGroupOwnerId?: string | undefined;
486
+ /**
487
+ * <p>Not supported. Use a set of IP permissions to specify the protocol name or
488
+ * number.</p>
489
+ * @public
490
+ */
491
+ IpProtocol?: string | undefined;
492
+ /**
493
+ * <p>Not supported. Use a set of IP permissions to specify the port.</p>
494
+ * @public
495
+ */
496
+ FromPort?: number | undefined;
497
+ /**
498
+ * <p>Not supported. Use a set of IP permissions to specify the port.</p>
499
+ * @public
500
+ */
501
+ ToPort?: number | undefined;
502
+ /**
503
+ * <p>Not supported. Use a set of IP permissions to specify the CIDR.</p>
504
+ * @public
505
+ */
506
+ CidrIp?: string | undefined;
507
+ /**
508
+ * <p>The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.</p>
509
+ * @public
510
+ */
511
+ IpPermissions?: IpPermission[] | undefined;
512
+ }
513
+ /**
514
+ * <p>A security group rule removed with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html">RevokeSecurityGroupEgress</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html">RevokeSecurityGroupIngress</a>.</p>
515
+ * @public
516
+ */
517
+ export interface RevokedSecurityGroupRule {
518
+ /**
519
+ * <p>A security group rule ID.</p>
520
+ * @public
521
+ */
522
+ SecurityGroupRuleId?: string | undefined;
523
+ /**
524
+ * <p>A security group ID.</p>
525
+ * @public
526
+ */
527
+ GroupId?: string | undefined;
528
+ /**
529
+ * <p>Defines if a security group rule is an outbound rule.</p>
530
+ * @public
531
+ */
532
+ IsEgress?: boolean | undefined;
533
+ /**
534
+ * <p>The security group rule's protocol.</p>
535
+ * @public
536
+ */
537
+ IpProtocol?: string | undefined;
538
+ /**
539
+ * <p>The 'from' port number of the security group rule.</p>
540
+ * @public
541
+ */
542
+ FromPort?: number | undefined;
543
+ /**
544
+ * <p>The 'to' port number of the security group rule.</p>
545
+ * @public
546
+ */
547
+ ToPort?: number | undefined;
548
+ /**
549
+ * <p>The IPv4 CIDR of the traffic source.</p>
550
+ * @public
551
+ */
552
+ CidrIpv4?: string | undefined;
553
+ /**
554
+ * <p>The IPv6 CIDR of the traffic source.</p>
555
+ * @public
556
+ */
557
+ CidrIpv6?: string | undefined;
558
+ /**
559
+ * <p>The ID of a prefix list that's the traffic source.</p>
560
+ * @public
561
+ */
562
+ PrefixListId?: string | undefined;
563
+ /**
564
+ * <p>The ID of a referenced security group.</p>
565
+ * @public
566
+ */
567
+ ReferencedGroupId?: string | undefined;
568
+ /**
569
+ * <p>A description of the revoked security group rule.</p>
570
+ * @public
571
+ */
572
+ Description?: string | undefined;
573
+ }
574
+ /**
575
+ * @public
576
+ */
577
+ export interface RevokeSecurityGroupEgressResult {
578
+ /**
579
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
580
+ * @public
581
+ */
582
+ Return?: boolean | undefined;
583
+ /**
584
+ * <p>The outbound rules that were unknown to the service. In some cases,
585
+ * <code>unknownIpPermissionSet</code> might be in a different format from the request
586
+ * parameter. </p>
587
+ * @public
588
+ */
589
+ UnknownIpPermissions?: IpPermission[] | undefined;
590
+ /**
591
+ * <p>Details about the revoked security group rules.</p>
592
+ * @public
593
+ */
594
+ RevokedSecurityGroupRules?: RevokedSecurityGroupRule[] | undefined;
595
+ }
596
+ /**
597
+ * @public
598
+ */
599
+ export interface RevokeSecurityGroupIngressRequest {
600
+ /**
601
+ * <p>The CIDR IP address range. You can't specify this parameter when specifying a source security group.</p>
602
+ * @public
603
+ */
604
+ CidrIp?: string | undefined;
605
+ /**
606
+ * <p>If the protocol is TCP or UDP, this is the start of the port range.
607
+ * If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).</p>
608
+ * @public
609
+ */
610
+ FromPort?: number | undefined;
611
+ /**
612
+ * <p>The ID of the security group.</p>
613
+ * @public
614
+ */
615
+ GroupId?: string | undefined;
616
+ /**
617
+ * <p>[Default VPC] The name of the security group. You must specify either the
618
+ * security group ID or the security group name in the request. For security groups in a
619
+ * nondefault VPC, you must specify the security group ID.</p>
620
+ * @public
621
+ */
622
+ GroupName?: string | undefined;
623
+ /**
624
+ * <p>The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.</p>
625
+ * @public
626
+ */
627
+ IpPermissions?: IpPermission[] | undefined;
628
+ /**
629
+ * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>) or number
630
+ * (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>).
631
+ * Use <code>-1</code> to specify all.</p>
632
+ * @public
633
+ */
634
+ IpProtocol?: string | undefined;
635
+ /**
636
+ * <p>[Default VPC] The name of the source security group. You can't specify this parameter
637
+ * in combination with the following parameters: the CIDR IP address range, the start of the port range,
638
+ * the IP protocol, and the end of the port range. The source security group must be in the same VPC.
639
+ * To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.</p>
640
+ * @public
641
+ */
642
+ SourceSecurityGroupName?: string | undefined;
643
+ /**
644
+ * <p>Not supported.</p>
645
+ * @public
646
+ */
647
+ SourceSecurityGroupOwnerId?: string | undefined;
648
+ /**
649
+ * <p>If the protocol is TCP or UDP, this is the end of the port range.
650
+ * If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).</p>
651
+ * @public
652
+ */
653
+ ToPort?: number | undefined;
654
+ /**
655
+ * <p>The IDs of the security group rules.</p>
656
+ * @public
657
+ */
658
+ SecurityGroupRuleIds?: string[] | undefined;
659
+ /**
660
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
661
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
662
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
663
+ * @public
664
+ */
665
+ DryRun?: boolean | undefined;
666
+ }
667
+ /**
668
+ * @public
669
+ */
670
+ export interface RevokeSecurityGroupIngressResult {
671
+ /**
672
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
673
+ * @public
674
+ */
675
+ Return?: boolean | undefined;
676
+ /**
677
+ * <p>The inbound rules that were unknown to the service. In some cases,
678
+ * <code>unknownIpPermissionSet</code> might be in a different format from the request
679
+ * parameter. </p>
680
+ * @public
681
+ */
682
+ UnknownIpPermissions?: IpPermission[] | undefined;
683
+ /**
684
+ * <p>Details about the revoked security group rules.</p>
685
+ * @public
686
+ */
687
+ RevokedSecurityGroupRules?: RevokedSecurityGroupRule[] | undefined;
688
+ }
689
+ /**
690
+ * <p>The CPU options for the instance. Both the core count and threads per core must be
691
+ * specified in the request.</p>
692
+ * @public
693
+ */
694
+ export interface CpuOptionsRequest {
695
+ /**
696
+ * <p>The number of CPU cores for the instance.</p>
697
+ * @public
698
+ */
699
+ CoreCount?: number | undefined;
700
+ /**
701
+ * <p>The number of threads per CPU core. To disable multithreading for the instance,
702
+ * specify a value of <code>1</code>. Otherwise, specify the default value of
703
+ * <code>2</code>.</p>
704
+ * @public
705
+ */
706
+ ThreadsPerCore?: number | undefined;
707
+ /**
708
+ * <p>Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported
709
+ * with M6a, R6a, and C6a instance types only. For more information, see
710
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
711
+ * @public
712
+ */
713
+ AmdSevSnp?: AmdSevSnpSpecification | undefined;
714
+ /**
715
+ * <p>Indicates whether to enable the instance for nested virtualization.
716
+ * Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants).
717
+ * When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.</p>
718
+ * @public
719
+ */
720
+ NestedVirtualization?: NestedVirtualizationSpecification | undefined;
721
+ }
722
+ /**
723
+ * <note>
724
+ * <p>Amazon Elastic Inference is no longer available.</p>
725
+ * </note>
726
+ * <p>
727
+ * Describes an elastic inference accelerator.
728
+ * </p>
729
+ * @public
730
+ */
731
+ export interface ElasticInferenceAccelerator {
732
+ /**
733
+ * <p>
734
+ * The type of elastic inference accelerator. The possible values are <code>eia1.medium</code>, <code>eia1.large</code>, <code>eia1.xlarge</code>, <code>eia2.medium</code>, <code>eia2.large</code>, and <code>eia2.xlarge</code>.
735
+ * </p>
736
+ * @public
737
+ */
738
+ Type: string | undefined;
739
+ /**
740
+ * <p>
741
+ * The number of elastic inference accelerators to attach to the instance.
742
+ * </p>
743
+ * <p>Default: 1</p>
744
+ * @public
745
+ */
746
+ Count?: number | undefined;
747
+ }
748
+ /**
749
+ * <p>Indicates whether your instance is configured for hibernation. This parameter is valid
750
+ * only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
751
+ * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
752
+ * instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
753
+ * @public
754
+ */
755
+ export interface HibernationOptionsRequest {
756
+ /**
757
+ * <p>Set to <code>true</code> to enable your instance for hibernation.</p>
758
+ * <p>For Spot Instances, if you set <code>Configured</code> to <code>true</code>, either
759
+ * omit the <code>InstanceInterruptionBehavior</code> parameter (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html">
760
+ * <code>SpotMarketOptions</code>
761
+ * </a>), or set it to
762
+ * <code>hibernate</code>. When <code>Configured</code> is true:</p>
763
+ * <ul>
764
+ * <li>
765
+ * <p>If you omit <code>InstanceInterruptionBehavior</code>, it defaults to
766
+ * <code>hibernate</code>.</p>
767
+ * </li>
768
+ * <li>
769
+ * <p>If you set <code>InstanceInterruptionBehavior</code> to a value other than
770
+ * <code>hibernate</code>, you'll get an error.</p>
771
+ * </li>
772
+ * </ul>
773
+ * <p>Default: <code>false</code>
774
+ * </p>
775
+ * @public
776
+ */
777
+ Configured?: boolean | undefined;
778
+ }
779
+ /**
780
+ * <p>The options for Spot Instances.</p>
781
+ * @public
782
+ */
783
+ export interface SpotMarketOptions {
784
+ /**
785
+ * <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
786
+ * recommend using this parameter because it can lead to increased interruptions. If you do
787
+ * not specify this parameter, you will pay the current Spot price.</p>
788
+ * <important>
789
+ * <p>If you specify a maximum price, your Spot Instances will be interrupted more
790
+ * frequently than if you do not specify this parameter.</p>
791
+ * <p>If you specify a maximum price, it must be more than USD $0.001. Specifying a value
792
+ * below USD $0.001 will result in an <code>InvalidParameterValue</code> error
793
+ * message.</p>
794
+ * </important>
795
+ * @public
796
+ */
797
+ MaxPrice?: string | undefined;
798
+ /**
799
+ * <p>The Spot Instance request type. For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances">RunInstances</a>, persistent
800
+ * Spot Instance requests are only supported when the instance interruption behavior is
801
+ * either <code>hibernate</code> or <code>stop</code>.</p>
802
+ * @public
803
+ */
804
+ SpotInstanceType?: SpotInstanceType | undefined;
805
+ /**
806
+ * <p>Deprecated.</p>
807
+ * @public
808
+ */
809
+ BlockDurationMinutes?: number | undefined;
810
+ /**
811
+ * <p>The end date of the request, in UTC format
812
+ * (<i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
813
+ * Supported only for persistent requests.</p>
814
+ * <ul>
815
+ * <li>
816
+ * <p>For a persistent request, the request remains active until the
817
+ * <code>ValidUntil</code> date and time is reached. Otherwise, the request
818
+ * remains active until you cancel it.</p>
819
+ * </li>
820
+ * <li>
821
+ * <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
822
+ * remains active until all instances launch or you cancel the request.</p>
823
+ * </li>
824
+ * </ul>
825
+ * @public
826
+ */
827
+ ValidUntil?: Date | undefined;
828
+ /**
829
+ * <p>The behavior when a Spot Instance is interrupted.</p>
830
+ * <p>If <code>Configured</code> (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html">
831
+ * <code>HibernationOptions</code>
832
+ * </a>) is set to <code>true</code>, the
833
+ * <code>InstanceInterruptionBehavior</code> parameter is automatically set to
834
+ * <code>hibernate</code>. If you set it to <code>stop</code> or
835
+ * <code>terminate</code>, you'll get an error.</p>
836
+ * <p>If <code>Configured</code> (for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html">
837
+ * <code>HibernationOptions</code>
838
+ * </a>) is set to <code>false</code> or
839
+ * <code>null</code>, the <code>InstanceInterruptionBehavior</code> parameter is
840
+ * automatically set to <code>terminate</code>. You can also set it to <code>stop</code> or
841
+ * <code>hibernate</code>.</p>
842
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html">Interruption
843
+ * behavior</a> in the <i>Amazon EC2 User Guide</i>.</p>
844
+ * @public
845
+ */
846
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
847
+ }
848
+ /**
849
+ * <p>Describes the market (purchasing) option for the instances.</p>
850
+ * @public
851
+ */
852
+ export interface InstanceMarketOptionsRequest {
853
+ /**
854
+ * <p>The market type.</p>
855
+ * @public
856
+ */
857
+ MarketType?: MarketType | undefined;
858
+ /**
859
+ * <p>The options for Spot Instances.</p>
860
+ * @public
861
+ */
862
+ SpotOptions?: SpotMarketOptions | undefined;
863
+ }
864
+ /**
865
+ * <p>Describes the launch template to use.</p>
866
+ * @public
867
+ */
868
+ export interface LaunchTemplateSpecification {
869
+ /**
870
+ * <p>The ID of the launch template.</p>
871
+ * <p>You must specify either the launch template ID or the
872
+ * launch template name, but not both.</p>
873
+ * @public
874
+ */
875
+ LaunchTemplateId?: string | undefined;
876
+ /**
877
+ * <p>The name of the launch template.</p>
878
+ * <p>You must specify either the launch template ID or the
879
+ * launch template name, but not both.</p>
880
+ * @public
881
+ */
882
+ LaunchTemplateName?: string | undefined;
883
+ /**
884
+ * <p>The launch template version number, <code>$Latest</code>, or
885
+ * <code>$Default</code>.</p>
886
+ * <p>A value of <code>$Latest</code> uses the latest version of the launch template.</p>
887
+ * <p>A value of <code>$Default</code> uses the default version of the launch template.</p>
888
+ * <p>Default: The default version of the launch template.</p>
889
+ * @public
890
+ */
891
+ Version?: string | undefined;
892
+ }
893
+ /**
894
+ * <p>Describes a license configuration.</p>
895
+ * @public
896
+ */
897
+ export interface LicenseConfigurationRequest {
898
+ /**
899
+ * <p>The Amazon Resource Name (ARN) of the license configuration.</p>
900
+ * @public
901
+ */
902
+ LicenseConfigurationArn?: string | undefined;
903
+ }
904
+ /**
905
+ * <p>The maintenance options for the instance.</p>
906
+ * @public
907
+ */
908
+ export interface InstanceMaintenanceOptionsRequest {
909
+ /**
910
+ * <p>Disables the automatic recovery behavior of your instance or sets it to default. For
911
+ * 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>
912
+ * @public
913
+ */
914
+ AutoRecovery?: InstanceAutoRecoveryState | undefined;
915
+ }
916
+ /**
917
+ * <p>The metadata options for the instance.</p>
918
+ * @public
919
+ */
920
+ export interface InstanceMetadataOptionsRequest {
921
+ /**
922
+ * <p>Indicates whether IMDSv2 is required.</p>
923
+ * <ul>
924
+ * <li>
925
+ * <p>
926
+ * <code>optional</code> - IMDSv2 is optional, which means that you can use
927
+ * either IMDSv2 or IMDSv1.</p>
928
+ * </li>
929
+ * <li>
930
+ * <p>
931
+ * <code>required</code> - IMDSv2 is required, which means that IMDSv1 is
932
+ * disabled, and you must use IMDSv2.</p>
933
+ * </li>
934
+ * </ul>
935
+ * <p>Default:</p>
936
+ * <ul>
937
+ * <li>
938
+ * <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI)
939
+ * for your instance is <code>v2.0</code> and the account level default is set to
940
+ * <code>no-preference</code>, the default is <code>required</code>.</p>
941
+ * </li>
942
+ * <li>
943
+ * <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI)
944
+ * for your instance is <code>v2.0</code>, but the account level default is set to
945
+ * <code>V1 or V2</code>, the default is <code>optional</code>.</p>
946
+ * </li>
947
+ * </ul>
948
+ * <p>The default value can also be affected by other combinations of parameters. For more
949
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence">Order of precedence for instance metadata options</a> in the
950
+ * <i>Amazon EC2 User Guide</i>.</p>
951
+ * @public
952
+ */
953
+ HttpTokens?: HttpTokensState | undefined;
954
+ /**
955
+ * <p>The maximum number of hops that the metadata token can travel.</p>
956
+ * <p>Possible values: Integers from 1 to 64</p>
957
+ * @public
958
+ */
959
+ HttpPutResponseHopLimit?: number | undefined;
960
+ /**
961
+ * <p>Enables or disables the HTTP metadata endpoint on your instances.</p>
962
+ * <p>If you specify a value of <code>disabled</code>, you cannot access your instance
963
+ * metadata.</p>
964
+ * <p>Default: <code>enabled</code>
965
+ * </p>
966
+ * @public
967
+ */
968
+ HttpEndpoint?: InstanceMetadataEndpointState | undefined;
969
+ /**
970
+ * <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
971
+ * <p>Default: <code>disabled</code>
972
+ * </p>
973
+ * @public
974
+ */
975
+ HttpProtocolIpv6?: InstanceMetadataProtocolState | undefined;
976
+ /**
977
+ * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
978
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the
979
+ * instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html">View tags for your EC2
980
+ * instances using instance metadata</a>.</p>
981
+ * <p>Default: <code>disabled</code>
982
+ * </p>
983
+ * @public
984
+ */
985
+ InstanceMetadataTags?: InstanceMetadataTagsState | undefined;
986
+ }
987
+ /**
988
+ * <p>Configure network performance options for your instance that are geared towards performance
989
+ * improvements based on the workload that it runs.</p>
990
+ * @public
991
+ */
992
+ export interface InstanceNetworkPerformanceOptionsRequest {
993
+ /**
994
+ * <p>Specify the bandwidth weighting option to boost the associated type of baseline bandwidth,
995
+ * as follows:</p>
996
+ * <dl>
997
+ * <dt>default</dt>
998
+ * <dd>
999
+ * <p>This option uses the standard bandwidth configuration for your instance type.</p>
1000
+ * </dd>
1001
+ * <dt>vpc-1</dt>
1002
+ * <dd>
1003
+ * <p>This option boosts your networking baseline bandwidth and reduces your EBS baseline
1004
+ * bandwidth.</p>
1005
+ * </dd>
1006
+ * <dt>ebs-1</dt>
1007
+ * <dd>
1008
+ * <p>This option boosts your EBS baseline bandwidth and reduces your networking baseline
1009
+ * bandwidth.</p>
1010
+ * </dd>
1011
+ * </dl>
1012
+ * @public
1013
+ */
1014
+ BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
1015
+ }
1016
+ /**
1017
+ * <p>Describes the options for instance hostnames.</p>
1018
+ * @public
1019
+ */
1020
+ export interface PrivateDnsNameOptionsRequest {
1021
+ /**
1022
+ * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
1023
+ * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
1024
+ * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
1025
+ * names use the instance IPv4 address or the instance ID.</p>
1026
+ * @public
1027
+ */
1028
+ HostnameType?: HostnameType | undefined;
1029
+ /**
1030
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
1031
+ * records.</p>
1032
+ * @public
1033
+ */
1034
+ EnableResourceNameDnsARecord?: boolean | undefined;
1035
+ /**
1036
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA
1037
+ * records.</p>
1038
+ * @public
1039
+ */
1040
+ EnableResourceNameDnsAAAARecord?: boolean | undefined;
1041
+ }
1042
+ /**
1043
+ * <p>Describes a private IPv4 address for a secondary interface request.</p>
1044
+ * @public
1045
+ */
1046
+ export interface InstanceSecondaryInterfacePrivateIpAddressRequest {
1047
+ /**
1048
+ * <p>The private IPv4 address.</p>
1049
+ * @public
1050
+ */
1051
+ PrivateIpAddress: string | undefined;
1052
+ }
1053
+ /**
1054
+ * <p>Describes a secondary interface specification for launching an instance.</p>
1055
+ * @public
1056
+ */
1057
+ export interface InstanceSecondaryInterfaceSpecificationRequest {
1058
+ /**
1059
+ * <p>Indicates whether the secondary interface is deleted when the instance is terminated.</p>
1060
+ * <p>The only supported value for this field is <code>true</code>.</p>
1061
+ * @public
1062
+ */
1063
+ DeleteOnTermination?: boolean | undefined;
1064
+ /**
1065
+ * <p>The device index for the secondary interface attachment.</p>
1066
+ * @public
1067
+ */
1068
+ DeviceIndex?: number | undefined;
1069
+ /**
1070
+ * <p>The private IPv4 addresses to assign to the secondary interface.</p>
1071
+ * @public
1072
+ */
1073
+ PrivateIpAddresses?: InstanceSecondaryInterfacePrivateIpAddressRequest[] | undefined;
1074
+ /**
1075
+ * <p>The number of private IPv4 addresses to assign to the secondary interface.</p>
1076
+ * @public
1077
+ */
1078
+ PrivateIpAddressCount?: number | undefined;
1079
+ /**
1080
+ * <p>The ID of the secondary subnet.</p>
1081
+ * @public
1082
+ */
1083
+ SecondarySubnetId?: string | undefined;
1084
+ /**
1085
+ * <p>The type of secondary interface.</p>
1086
+ * @public
1087
+ */
1088
+ InterfaceType?: SecondaryInterfaceType | undefined;
1089
+ /**
1090
+ * <p>The index of the network card. The network card must support secondary interfaces.</p>
1091
+ * @public
1092
+ */
1093
+ NetworkCardIndex?: number | undefined;
1094
+ }
1095
+ /**
1096
+ * @public
1097
+ */
1098
+ export interface RunInstancesRequest {
1099
+ /**
1100
+ * <p>The block device mapping, which defines the EBS volumes and instance store volumes to
1101
+ * attach to the instance at launch. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device
1102
+ * mappings</a> in the <i>Amazon EC2 User Guide</i>.</p>
1103
+ * @public
1104
+ */
1105
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
1106
+ /**
1107
+ * <p>The ID of the AMI. An AMI ID is required to launch an instance and must be specified
1108
+ * here or in a launch template.</p>
1109
+ * @public
1110
+ */
1111
+ ImageId?: string | undefined;
1112
+ /**
1113
+ * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html">Amazon EC2 Instance
1114
+ * Types Guide</a>.</p>
1115
+ * @public
1116
+ */
1117
+ InstanceType?: _InstanceType | undefined;
1118
+ /**
1119
+ * <p>The number of IPv6 addresses to associate with the primary network
1120
+ * interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You
1121
+ * cannot specify this option and the option to assign specific IPv6 addresses in the same
1122
+ * request. You can specify this option if you've specified a minimum number of instances
1123
+ * to launch.</p>
1124
+ * <p>You cannot specify this option and the network interfaces option in the same
1125
+ * request.</p>
1126
+ * @public
1127
+ */
1128
+ Ipv6AddressCount?: number | undefined;
1129
+ /**
1130
+ * <p>The IPv6 addresses from the range of the subnet to associate with the
1131
+ * primary network interface. You cannot specify this option and the option to assign a
1132
+ * number of IPv6 addresses in the same request. You cannot specify this option if you've
1133
+ * specified a minimum number of instances to launch.</p>
1134
+ * <p>You cannot specify this option and the network interfaces option in the same
1135
+ * request.</p>
1136
+ * @public
1137
+ */
1138
+ Ipv6Addresses?: InstanceIpv6Address[] | undefined;
1139
+ /**
1140
+ * <p>The ID of the kernel.</p>
1141
+ * <important>
1142
+ * <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
1143
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html">PV-GRUB</a> in the
1144
+ * <i>Amazon EC2 User Guide</i>.</p>
1145
+ * </important>
1146
+ * @public
1147
+ */
1148
+ KernelId?: string | undefined;
1149
+ /**
1150
+ * <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html">Create a key pair for your EC2 instance</a>.</p>
1151
+ * <important>
1152
+ * <p>If you do not specify a key pair, you can't connect to the instance unless you
1153
+ * choose an AMI that is configured to allow users another way to log in.</p>
1154
+ * </important>
1155
+ * @public
1156
+ */
1157
+ KeyName?: string | undefined;
1158
+ /**
1159
+ * <p>The maximum number of instances to launch. If you specify a value that is more
1160
+ * capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2
1161
+ * launches the largest possible number of instances above the specified minimum
1162
+ * count.</p>
1163
+ * <p>Constraints: Between 1 and the quota for the specified instance type for your account for this Region.
1164
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html">Amazon EC2 instance type quotas</a>.</p>
1165
+ * @public
1166
+ */
1167
+ MaxCount: number | undefined;
1168
+ /**
1169
+ * <p>The minimum number of instances to launch. If you specify a value that is more
1170
+ * capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does
1171
+ * not launch any instances.</p>
1172
+ * <p>Constraints: Between 1 and the quota for the specified instance type for your account for this Region.
1173
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html">Amazon EC2 instance type quotas</a>.</p>
1174
+ * @public
1175
+ */
1176
+ MinCount: number | undefined;
1177
+ /**
1178
+ * <p>Specifies whether detailed monitoring is enabled for the instance.</p>
1179
+ * @public
1180
+ */
1181
+ Monitoring?: RunInstancesMonitoringEnabled | undefined;
1182
+ /**
1183
+ * <p>The placement for the instance.</p>
1184
+ * @public
1185
+ */
1186
+ Placement?: Placement | undefined;
1187
+ /**
1188
+ * <p>The ID of the RAM disk to select. Some kernels require additional drivers at launch.
1189
+ * Check the kernel requirements for information about whether you need to specify a RAM
1190
+ * disk. To find kernel requirements, go to the Amazon Web Services Resource Center and
1191
+ * search for the kernel ID.</p>
1192
+ * <important>
1193
+ * <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
1194
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html">PV-GRUB</a> in the
1195
+ * <i>Amazon EC2 User Guide</i>.</p>
1196
+ * </important>
1197
+ * @public
1198
+ */
1199
+ RamdiskId?: string | undefined;
1200
+ /**
1201
+ * <p>The IDs of the security groups.</p>
1202
+ * <p>If you specify a network interface, you must specify any security groups as part of
1203
+ * the network interface instead of using this parameter.</p>
1204
+ * @public
1205
+ */
1206
+ SecurityGroupIds?: string[] | undefined;
1207
+ /**
1208
+ * <p>[Default VPC] The names of the security groups.</p>
1209
+ * <p>If you specify a network interface, you must specify any security groups as part of
1210
+ * the network interface instead of using this parameter.</p>
1211
+ * <p>Default: Amazon EC2 uses the default security group.</p>
1212
+ * @public
1213
+ */
1214
+ SecurityGroups?: string[] | undefined;
1215
+ /**
1216
+ * <p>The ID of the subnet to launch the instance into.</p>
1217
+ * <p>If you specify a network interface, you must specify any subnets as part of the
1218
+ * network interface instead of using this parameter.</p>
1219
+ * @public
1220
+ */
1221
+ SubnetId?: string | undefined;
1222
+ /**
1223
+ * <p>The user data to make available to the instance. User data must be base64-encoded.
1224
+ * Depending on the tool or SDK that you're using, the base64-encoding might be performed for you.
1225
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands at launch using instance user data</a>.</p>
1226
+ * @public
1227
+ */
1228
+ UserData?: string | undefined;
1229
+ /**
1230
+ * <p>An elastic GPU to associate with the instance.</p>
1231
+ * <note>
1232
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
1233
+ * </note>
1234
+ *
1235
+ * @deprecated (since 2024-01-08) Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.
1236
+ * @public
1237
+ */
1238
+ ElasticGpuSpecification?: ElasticGpuSpecification[] | undefined;
1239
+ /**
1240
+ * <p>An elastic inference accelerator to associate with the instance.</p>
1241
+ * <note>
1242
+ * <p>Amazon Elastic Inference is no longer available.</p>
1243
+ * </note>
1244
+ *
1245
+ * @deprecated (since 2024-01-08) Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.
1246
+ * @public
1247
+ */
1248
+ ElasticInferenceAccelerators?: ElasticInferenceAccelerator[] | undefined;
1249
+ /**
1250
+ * <p>The tags to apply to the resources that are created during instance launch.</p>
1251
+ * <p>You can specify tags for the following resources only:</p>
1252
+ * <ul>
1253
+ * <li>
1254
+ * <p>Instances</p>
1255
+ * </li>
1256
+ * <li>
1257
+ * <p>Volumes</p>
1258
+ * </li>
1259
+ * <li>
1260
+ * <p>Spot Instance requests</p>
1261
+ * </li>
1262
+ * <li>
1263
+ * <p>Network interfaces</p>
1264
+ * </li>
1265
+ * </ul>
1266
+ * <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
1267
+ * @public
1268
+ */
1269
+ TagSpecifications?: TagSpecification[] | undefined;
1270
+ /**
1271
+ * <p>The launch template. Any additional parameters that you specify for the new instance
1272
+ * overwrite the corresponding parameters included in the launch template.</p>
1273
+ * @public
1274
+ */
1275
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
1276
+ /**
1277
+ * <p>The market (purchasing) option for the instances.</p>
1278
+ * <p>For <a>RunInstances</a>, persistent Spot Instance requests are
1279
+ * only supported when <b>InstanceInterruptionBehavior</b> is set
1280
+ * to either <code>hibernate</code> or <code>stop</code>.</p>
1281
+ * @public
1282
+ */
1283
+ InstanceMarketOptions?: InstanceMarketOptionsRequest | undefined;
1284
+ /**
1285
+ * <p>The credit option for CPU usage of the burstable performance instance. Valid values
1286
+ * are <code>standard</code> and <code>unlimited</code>. To change this attribute after
1287
+ * launch, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html">
1288
+ * ModifyInstanceCreditSpecification</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
1289
+ * performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
1290
+ * <p>Default: <code>standard</code> (T2 instances) or <code>unlimited</code> (T3/T3a/T4g
1291
+ * instances)</p>
1292
+ * <p>For T3 instances with <code>host</code> tenancy, only <code>standard</code> is
1293
+ * supported.</p>
1294
+ * @public
1295
+ */
1296
+ CreditSpecification?: CreditSpecificationRequest | undefined;
1297
+ /**
1298
+ * <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">Optimize CPU options</a> in the <i>Amazon EC2 User Guide</i>.</p>
1299
+ * @public
1300
+ */
1301
+ CpuOptions?: CpuOptionsRequest | undefined;
1302
+ /**
1303
+ * <p>Information about the Capacity Reservation targeting option. If you do not specify this parameter, the
1304
+ * instance's Capacity Reservation preference defaults to <code>open</code>, which enables
1305
+ * it to run in any open Capacity Reservation that has matching attributes (instance type,
1306
+ * platform, Availability Zone, and tenancy).</p>
1307
+ * @public
1308
+ */
1309
+ CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
1310
+ /**
1311
+ * <p>Indicates whether an instance is enabled for hibernation. This parameter is valid only
1312
+ * if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
1313
+ * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
1314
+ * instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
1315
+ * <p>You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same
1316
+ * instance.</p>
1317
+ * @public
1318
+ */
1319
+ HibernationOptions?: HibernationOptionsRequest | undefined;
1320
+ /**
1321
+ * <p>The license configurations.</p>
1322
+ * @public
1323
+ */
1324
+ LicenseSpecifications?: LicenseConfigurationRequest[] | undefined;
1325
+ /**
1326
+ * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure the Instance Metadata Service options</a>.</p>
1327
+ * @public
1328
+ */
1329
+ MetadataOptions?: InstanceMetadataOptionsRequest | undefined;
1330
+ /**
1331
+ * <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
1332
+ * more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/">Amazon Web Services Nitro
1333
+ * Enclaves User Guide</a>.</p>
1334
+ * <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same
1335
+ * instance.</p>
1336
+ * @public
1337
+ */
1338
+ EnclaveOptions?: EnclaveOptionsRequest | undefined;
1339
+ /**
1340
+ * <p>The options for the instance hostname.
1341
+ * The default values are inherited from the subnet.
1342
+ * Applies only if creating a network interface, not attaching an existing one.</p>
1343
+ * @public
1344
+ */
1345
+ PrivateDnsNameOptions?: PrivateDnsNameOptionsRequest | undefined;
1346
+ /**
1347
+ * <p>The maintenance and recovery options for the instance.</p>
1348
+ * @public
1349
+ */
1350
+ MaintenanceOptions?: InstanceMaintenanceOptionsRequest | undefined;
1351
+ /**
1352
+ * <p>Indicates whether an instance is enabled for stop protection. For more information,
1353
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html">Enable stop protection for your EC2 instances</a>.</p>
1354
+ * @public
1355
+ */
1356
+ DisableApiStop?: boolean | undefined;
1357
+ /**
1358
+ * <p>If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable
1359
+ * assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address
1360
+ * associated with an ENI that you have enabled to use a primary IPv6 address. Use this
1361
+ * option if an instance relies on its IPv6 address not changing. When you launch the
1362
+ * instance, Amazon Web Services will automatically assign an IPv6 address associated with
1363
+ * the ENI attached to your instance to be the primary IPv6 address. Once you enable an
1364
+ * IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6
1365
+ * GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6
1366
+ * address until the instance is terminated or the network interface is detached. If you
1367
+ * have multiple IPv6 addresses associated with an ENI attached to your instance and you
1368
+ * enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI
1369
+ * becomes the primary IPv6 address.</p>
1370
+ * @public
1371
+ */
1372
+ EnablePrimaryIpv6?: boolean | undefined;
1373
+ /**
1374
+ * <p>Contains settings for the network performance options for the instance.</p>
1375
+ * @public
1376
+ */
1377
+ NetworkPerformanceOptions?: InstanceNetworkPerformanceOptionsRequest | undefined;
1378
+ /**
1379
+ * <p>Reserved for internal use.</p>
1380
+ * @public
1381
+ */
1382
+ Operator?: OperatorRequest | undefined;
1383
+ /**
1384
+ * <p>The secondary interfaces to associate with the instance.</p>
1385
+ * @public
1386
+ */
1387
+ SecondaryInterfaces?: InstanceSecondaryInterfaceSpecificationRequest[] | undefined;
1388
+ /**
1389
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
1390
+ * request, and provides an error response. If you have the required permissions, the error response is
1391
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1392
+ * @public
1393
+ */
1394
+ DryRun?: boolean | undefined;
1395
+ /**
1396
+ * <p>Indicates whether termination protection is enabled for the instance. The default
1397
+ * is <code>false</code>, which means that you can terminate the instance using
1398
+ * the Amazon EC2 console, command line tools, or API. You can enable termination protection
1399
+ * when you launch an instance, while the instance is running, or while the instance
1400
+ * is stopped.</p>
1401
+ * @public
1402
+ */
1403
+ DisableApiTermination?: boolean | undefined;
1404
+ /**
1405
+ * <p>Indicates whether an instance stops or terminates when you initiate shutdown from the
1406
+ * instance (using the operating system command for system shutdown).</p>
1407
+ * <p>Default: <code>stop</code>
1408
+ * </p>
1409
+ * @public
1410
+ */
1411
+ InstanceInitiatedShutdownBehavior?: ShutdownBehavior | undefined;
1412
+ /**
1413
+ * <p>The primary IPv4 address. You must specify a value from the IPv4 address
1414
+ * range of the subnet.</p>
1415
+ * <p>Only one private IP address can be designated as primary. You can't specify this
1416
+ * option if you've specified the option to designate a private IP address as the primary
1417
+ * IP address in a network interface specification. You cannot specify this option if
1418
+ * you're launching more than one instance in the request.</p>
1419
+ * <p>You cannot specify this option and the network interfaces option in the same
1420
+ * request.</p>
1421
+ * @public
1422
+ */
1423
+ PrivateIpAddress?: string | undefined;
1424
+ /**
1425
+ * <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
1426
+ * request. If you do not specify a client token, a randomly generated token is used for
1427
+ * the request to ensure idempotency.</p>
1428
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency in Amazon EC2 API requests</a>.</p>
1429
+ * <p>Constraints: Maximum 64 ASCII characters</p>
1430
+ * @public
1431
+ */
1432
+ ClientToken?: string | undefined;
1433
+ /**
1434
+ * <p>Reserved.</p>
1435
+ * @public
1436
+ */
1437
+ AdditionalInfo?: string | undefined;
1438
+ /**
1439
+ * <p>The network interfaces to associate with the instance.</p>
1440
+ * @public
1441
+ */
1442
+ NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
1443
+ /**
1444
+ * <p>The name or Amazon Resource Name (ARN) of an IAM instance
1445
+ * profile.</p>
1446
+ * @public
1447
+ */
1448
+ IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
1449
+ /**
1450
+ * <p>Indicates whether the instance is optimized for Amazon EBS I/O. This optimization
1451
+ * provides dedicated throughput to Amazon EBS and an optimized configuration stack to
1452
+ * provide optimal Amazon EBS I/O performance. This optimization isn't available with all
1453
+ * instance types. Additional usage charges apply when using an EBS-optimized
1454
+ * instance.</p>
1455
+ * <p>Default: <code>false</code>
1456
+ * </p>
1457
+ * @public
1458
+ */
1459
+ EbsOptimized?: boolean | undefined;
1460
+ }
9
1461
  /**
10
1462
  * <p>Describes an EBS volume for a Scheduled Instance.</p>
11
1463
  * @public