@aws-sdk/client-ec2 3.873.0 → 3.876.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 (246) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1271 -401
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/CreateImageUsageReportCommand.js +22 -0
  5. package/dist-es/commands/DeleteImageUsageReportCommand.js +22 -0
  6. package/dist-es/commands/DescribeImageReferencesCommand.js +22 -0
  7. package/dist-es/commands/DescribeImageUsageReportEntriesCommand.js +22 -0
  8. package/dist-es/commands/DescribeImageUsageReportsCommand.js +22 -0
  9. package/dist-es/commands/GetPasswordDataCommand.js +1 -1
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +1 -0
  12. package/dist-es/models/models_1.js +10 -4
  13. package/dist-es/models/models_2.js +4 -0
  14. package/dist-es/models/models_3.js +0 -8
  15. package/dist-es/models/models_4.js +19 -40
  16. package/dist-es/models/models_5.js +40 -18
  17. package/dist-es/models/models_6.js +18 -12
  18. package/dist-es/models/models_7.js +12 -0
  19. package/dist-es/pagination/DescribeImageReferencesPaginator.js +4 -0
  20. package/dist-es/pagination/DescribeImageUsageReportEntriesPaginator.js +4 -0
  21. package/dist-es/pagination/DescribeImageUsageReportsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +3 -0
  23. package/dist-es/protocols/Aws_ec2.js +721 -25
  24. package/dist-es/waiters/index.js +1 -0
  25. package/dist-es/waiters/waitForImageUsageReportAvailable.js +54 -0
  26. package/dist-types/EC2.d.ts +37 -0
  27. package/dist-types/EC2Client.d.ts +7 -2
  28. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  29. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  30. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  31. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  32. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  33. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  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/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +4 -2
  41. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +105 -0
  51. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  62. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  63. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  75. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -3
  109. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  113. package/dist-types/commands/DeleteImageUsageReportCommand.d.ts +75 -0
  114. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +2 -1
  115. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -2
  117. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -0
  118. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +2 -0
  119. package/dist-types/commands/DescribeImageReferencesCommand.d.ts +100 -0
  120. package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +101 -0
  121. package/dist-types/commands/DescribeImageUsageReportsCommand.d.ts +123 -0
  122. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -1
  123. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribeIpamByoasnCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +1 -2
  128. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  130. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  131. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +2 -1
  132. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +1 -1
  133. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  134. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  136. package/dist-types/commands/DescribeVpcEndpointAssociationsCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  138. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -2
  139. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  140. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  141. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  142. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  143. package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  144. package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
  145. package/dist-types/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  146. package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  147. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  148. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  149. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  150. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  151. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  152. package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -1
  153. package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  154. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +2 -2
  155. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +1 -1
  156. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +2 -2
  157. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  158. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
  159. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  160. package/dist-types/commands/RegisterImageCommand.d.ts +2 -2
  161. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  162. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -2
  163. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  164. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  165. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  166. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  167. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  168. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  169. package/dist-types/commands/index.d.ts +5 -0
  170. package/dist-types/models/models_0.d.ts +1 -0
  171. package/dist-types/models/models_1.d.ts +133 -168
  172. package/dist-types/models/models_2.d.ts +168 -193
  173. package/dist-types/models/models_3.d.ts +222 -485
  174. package/dist-types/models/models_4.d.ts +1899 -1581
  175. package/dist-types/models/models_5.d.ts +6576 -6652
  176. package/dist-types/models/models_6.d.ts +3820 -3621
  177. package/dist-types/models/models_7.d.ts +4719 -4767
  178. package/dist-types/models/models_8.d.ts +596 -6
  179. package/dist-types/pagination/DescribeImageReferencesPaginator.d.ts +7 -0
  180. package/dist-types/pagination/DescribeImageUsageReportEntriesPaginator.d.ts +7 -0
  181. package/dist-types/pagination/DescribeImageUsageReportsPaginator.d.ts +7 -0
  182. package/dist-types/pagination/index.d.ts +3 -0
  183. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  184. package/dist-types/ts3.4/EC2.d.ts +87 -0
  185. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  186. package/dist-types/ts3.4/commands/CreateImageUsageReportCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +4 -2
  188. package/dist-types/ts3.4/commands/DeleteImageUsageReportCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +2 -4
  190. package/dist-types/ts3.4/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +4 -2
  192. package/dist-types/ts3.4/commands/DescribeImageReferencesCommand.d.ts +51 -0
  193. package/dist-types/ts3.4/commands/DescribeImageUsageReportEntriesCommand.d.ts +51 -0
  194. package/dist-types/ts3.4/commands/DescribeImageUsageReportsCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +2 -4
  196. package/dist-types/ts3.4/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/DescribeIpamByoasnCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +4 -2
  201. package/dist-types/ts3.4/commands/DescribeVpcAttributeCommand.d.ts +2 -4
  202. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +4 -2
  209. package/dist-types/ts3.4/commands/GetPasswordDataCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +2 -4
  217. package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +1 -1
  220. package/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  222. package/dist-types/ts3.4/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
  223. package/dist-types/ts3.4/commands/RebootInstancesCommand.d.ts +1 -1
  224. package/dist-types/ts3.4/commands/RegisterImageCommand.d.ts +1 -1
  225. package/dist-types/ts3.4/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -2
  227. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  228. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  229. package/dist-types/ts3.4/models/models_1.d.ts +36 -32
  230. package/dist-types/ts3.4/models/models_2.d.ts +39 -44
  231. package/dist-types/ts3.4/models/models_3.d.ts +49 -72
  232. package/dist-types/ts3.4/models/models_4.d.ts +164 -164
  233. package/dist-types/ts3.4/models/models_5.d.ts +177 -144
  234. package/dist-types/ts3.4/models/models_6.d.ts +147 -128
  235. package/dist-types/ts3.4/models/models_7.d.ts +132 -138
  236. package/dist-types/ts3.4/models/models_8.d.ts +139 -2
  237. package/dist-types/ts3.4/pagination/DescribeImageReferencesPaginator.d.ts +11 -0
  238. package/dist-types/ts3.4/pagination/DescribeImageUsageReportEntriesPaginator.d.ts +11 -0
  239. package/dist-types/ts3.4/pagination/DescribeImageUsageReportsPaginator.d.ts +11 -0
  240. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  241. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  242. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  243. package/dist-types/ts3.4/waiters/waitForImageUsageReportAvailable.d.ts +11 -0
  244. package/dist-types/waiters/index.d.ts +1 -0
  245. package/dist-types/waiters/waitForImageUsageReportAvailable.d.ts +14 -0
  246. package/package.json +6 -6
@@ -1,5 +1,172 @@
1
1
  import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment } from "./models_0";
2
- import { _InstanceType, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, IpAddressType, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
2
+ import { _InstanceType, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateAutoRecoveryState, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateHttpTokensState, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, MarketType, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, SpotInstanceType, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>The options for Spot Instances.</p>
5
+ * @public
6
+ */
7
+ export interface LaunchTemplateSpotMarketOptions {
8
+ /**
9
+ * <p>The maximum hourly price you're willing to pay for a Spot Instance. We do not
10
+ * recommend using this parameter because it can lead to increased interruptions. If you do
11
+ * not specify this parameter, you will pay the current Spot price. If you do specify this
12
+ * parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will
13
+ * result in an <code>InvalidParameterValue</code> error message when the launch template
14
+ * is used to launch an instance.</p>
15
+ * @public
16
+ */
17
+ MaxPrice?: string | undefined;
18
+ /**
19
+ * <p>The Spot Instance request type.</p>
20
+ * @public
21
+ */
22
+ SpotInstanceType?: SpotInstanceType | undefined;
23
+ /**
24
+ * <p>The required duration for the Spot Instances (also known as Spot blocks), in minutes.
25
+ * This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).</p>
26
+ * @public
27
+ */
28
+ BlockDurationMinutes?: number | undefined;
29
+ /**
30
+ * <p>The end date of the request. For a one-time request, the request remains active until
31
+ * all instances launch, the request is canceled, or this date is reached. If the request
32
+ * is persistent, it remains active until it is canceled or this date and time is
33
+ * reached.</p>
34
+ * @public
35
+ */
36
+ ValidUntil?: Date | undefined;
37
+ /**
38
+ * <p>The behavior when a Spot Instance is interrupted.</p>
39
+ * @public
40
+ */
41
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
42
+ }
43
+ /**
44
+ * <p>The market (purchasing) option for the instances.</p>
45
+ * @public
46
+ */
47
+ export interface LaunchTemplateInstanceMarketOptions {
48
+ /**
49
+ * <p>The market type.</p>
50
+ * @public
51
+ */
52
+ MarketType?: MarketType | undefined;
53
+ /**
54
+ * <p>The options for Spot Instances.</p>
55
+ * @public
56
+ */
57
+ SpotOptions?: LaunchTemplateSpotMarketOptions | undefined;
58
+ }
59
+ /**
60
+ * <p>Describes a license configuration.</p>
61
+ * @public
62
+ */
63
+ export interface LaunchTemplateLicenseConfiguration {
64
+ /**
65
+ * <p>The Amazon Resource Name (ARN) of the license configuration.</p>
66
+ * @public
67
+ */
68
+ LicenseConfigurationArn?: string | undefined;
69
+ }
70
+ /**
71
+ * <p>The maintenance options of your instance.</p>
72
+ * @public
73
+ */
74
+ export interface LaunchTemplateInstanceMaintenanceOptions {
75
+ /**
76
+ * <p>Disables the automatic recovery behavior of your instance or sets it to
77
+ * default.</p>
78
+ * @public
79
+ */
80
+ AutoRecovery?: LaunchTemplateAutoRecoveryState | undefined;
81
+ }
82
+ /**
83
+ * @public
84
+ * @enum
85
+ */
86
+ export declare const LaunchTemplateInstanceMetadataOptionsState: {
87
+ readonly applied: "applied";
88
+ readonly pending: "pending";
89
+ };
90
+ /**
91
+ * @public
92
+ */
93
+ export type LaunchTemplateInstanceMetadataOptionsState = (typeof LaunchTemplateInstanceMetadataOptionsState)[keyof typeof LaunchTemplateInstanceMetadataOptionsState];
94
+ /**
95
+ * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Use
96
+ * instance metadata to manage your EC2 instance</a> in the
97
+ * <i>Amazon EC2 User Guide</i>.</p>
98
+ * @public
99
+ */
100
+ export interface LaunchTemplateInstanceMetadataOptions {
101
+ /**
102
+ * <p>The state of the metadata option changes.</p>
103
+ * <p>
104
+ * <code>pending</code> - The metadata options are being updated and the instance is not
105
+ * ready to process metadata traffic with the new selection.</p>
106
+ * <p>
107
+ * <code>applied</code> - The metadata options have been successfully applied on the
108
+ * instance.</p>
109
+ * @public
110
+ */
111
+ State?: LaunchTemplateInstanceMetadataOptionsState | undefined;
112
+ /**
113
+ * <p>Indicates whether IMDSv2 is required.</p>
114
+ * <ul>
115
+ * <li>
116
+ * <p>
117
+ * <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
118
+ * session token in your instance metadata retrieval requests. If you retrieve IAM
119
+ * role credentials without a session token, you receive the IMDSv1 role
120
+ * credentials. If you retrieve IAM role credentials using a valid session token,
121
+ * you receive the IMDSv2 role credentials.</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>
125
+ * <code>required</code> - IMDSv2 is required. You must send a session token in
126
+ * your instance metadata retrieval requests. With this option, retrieving the IAM
127
+ * role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not
128
+ * available.</p>
129
+ * </li>
130
+ * </ul>
131
+ * @public
132
+ */
133
+ HttpTokens?: LaunchTemplateHttpTokensState | undefined;
134
+ /**
135
+ * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
136
+ * number, the further instance metadata requests can travel.</p>
137
+ * <p>Default: 1</p>
138
+ * <p>Possible values: Integers from 1 to 64</p>
139
+ * @public
140
+ */
141
+ HttpPutResponseHopLimit?: number | undefined;
142
+ /**
143
+ * <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
144
+ * not specified, the default state is <code>enabled</code>.</p>
145
+ * <note>
146
+ * <p>If you specify a value of <code>disabled</code>, you will not be able to access
147
+ * your instance metadata. </p>
148
+ * </note>
149
+ * @public
150
+ */
151
+ HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | undefined;
152
+ /**
153
+ * <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
154
+ * <p>Default: <code>disabled</code>
155
+ * </p>
156
+ * @public
157
+ */
158
+ HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | undefined;
159
+ /**
160
+ * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
161
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the
162
+ * 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
163
+ * instances using instance metadata</a>.</p>
164
+ * <p>Default: <code>disabled</code>
165
+ * </p>
166
+ * @public
167
+ */
168
+ InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | undefined;
169
+ }
3
170
  /**
4
171
  * <p>Describes the monitoring for the instance.</p>
5
172
  * @public
@@ -9267,198 +9434,6 @@ export declare const VpcEndpointType: {
9267
9434
  * @public
9268
9435
  */
9269
9436
  export type VpcEndpointType = (typeof VpcEndpointType)[keyof typeof VpcEndpointType];
9270
- /**
9271
- * @public
9272
- */
9273
- export interface CreateVpcEndpointRequest {
9274
- /**
9275
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9276
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9277
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9278
- * @public
9279
- */
9280
- DryRun?: boolean | undefined;
9281
- /**
9282
- * <p>The type of endpoint.</p>
9283
- * <p>Default: Gateway</p>
9284
- * @public
9285
- */
9286
- VpcEndpointType?: VpcEndpointType | undefined;
9287
- /**
9288
- * <p>The ID of the VPC.</p>
9289
- * @public
9290
- */
9291
- VpcId: string | undefined;
9292
- /**
9293
- * <p>The name of the endpoint service.</p>
9294
- * @public
9295
- */
9296
- ServiceName?: string | undefined;
9297
- /**
9298
- * <p>(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the
9299
- * service. The policy must be in valid JSON format. If this parameter is not specified, we
9300
- * attach a default policy that allows full access to the service.</p>
9301
- * @public
9302
- */
9303
- PolicyDocument?: string | undefined;
9304
- /**
9305
- * <p>(Gateway endpoint) The route table IDs.</p>
9306
- * @public
9307
- */
9308
- RouteTableIds?: string[] | undefined;
9309
- /**
9310
- * <p>(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint
9311
- * network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.</p>
9312
- * @public
9313
- */
9314
- SubnetIds?: string[] | undefined;
9315
- /**
9316
- * <p>(Interface endpoint) The IDs of the security groups to associate with the
9317
- * endpoint network interfaces. If this parameter is not specified, we use the default
9318
- * security group for the VPC.</p>
9319
- * @public
9320
- */
9321
- SecurityGroupIds?: string[] | undefined;
9322
- /**
9323
- * <p>The IP address type for the endpoint.</p>
9324
- * @public
9325
- */
9326
- IpAddressType?: IpAddressType | undefined;
9327
- /**
9328
- * <p>The DNS options for the endpoint.</p>
9329
- * @public
9330
- */
9331
- DnsOptions?: DnsOptionsSpecification | undefined;
9332
- /**
9333
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
9334
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure
9335
- * idempotency</a>.</p>
9336
- * @public
9337
- */
9338
- ClientToken?: string | undefined;
9339
- /**
9340
- * <p>(Interface endpoint) Indicates whether to associate a private hosted zone with the
9341
- * specified VPC. The private hosted zone contains a record set for the default public DNS
9342
- * name for the service for the Region (for example,
9343
- * <code>kinesis.us-east-1.amazonaws.com</code>), which resolves to the private IP
9344
- * addresses of the endpoint network interfaces in the VPC. This enables you to make
9345
- * requests to the default public DNS name for the service instead of the public DNS names
9346
- * that are automatically generated by the VPC endpoint service.</p>
9347
- * <p>To use a private hosted zone, you must set the following VPC attributes to
9348
- * <code>true</code>: <code>enableDnsHostnames</code> and
9349
- * <code>enableDnsSupport</code>. Use <a>ModifyVpcAttribute</a> to set the VPC
9350
- * attributes.</p>
9351
- * @public
9352
- */
9353
- PrivateDnsEnabled?: boolean | undefined;
9354
- /**
9355
- * <p>The tags to associate with the endpoint.</p>
9356
- * @public
9357
- */
9358
- TagSpecifications?: TagSpecification[] | undefined;
9359
- /**
9360
- * <p>The subnet configurations for the endpoint.</p>
9361
- * @public
9362
- */
9363
- SubnetConfigurations?: SubnetConfiguration[] | undefined;
9364
- /**
9365
- * <p>The Amazon Resource Name (ARN) of a service network that will be associated with the VPC
9366
- * endpoint of type service-network.</p>
9367
- * @public
9368
- */
9369
- ServiceNetworkArn?: string | undefined;
9370
- /**
9371
- * <p>The Amazon Resource Name (ARN) of a resource configuration that will be associated with
9372
- * the VPC endpoint of type resource.</p>
9373
- * @public
9374
- */
9375
- ResourceConfigurationArn?: string | undefined;
9376
- /**
9377
- * <p>The Region where the service is hosted. The default is the current Region.</p>
9378
- * @public
9379
- */
9380
- ServiceRegion?: string | undefined;
9381
- }
9382
- /**
9383
- * <p>Describes a DNS entry.</p>
9384
- * @public
9385
- */
9386
- export interface DnsEntry {
9387
- /**
9388
- * <p>The DNS name.</p>
9389
- * @public
9390
- */
9391
- DnsName?: string | undefined;
9392
- /**
9393
- * <p>The ID of the private hosted zone.</p>
9394
- * @public
9395
- */
9396
- HostedZoneId?: string | undefined;
9397
- }
9398
- /**
9399
- * <p>Describes the DNS options for an endpoint.</p>
9400
- * @public
9401
- */
9402
- export interface DnsOptions {
9403
- /**
9404
- * <p>The DNS records created for the endpoint.</p>
9405
- * @public
9406
- */
9407
- DnsRecordIpType?: DnsRecordIpType | undefined;
9408
- /**
9409
- * <p>Indicates whether to enable private DNS only for inbound endpoints.</p>
9410
- * @public
9411
- */
9412
- PrivateDnsOnlyForInboundResolverEndpoint?: boolean | undefined;
9413
- }
9414
- /**
9415
- * <p>Describes a security group.</p>
9416
- * @public
9417
- */
9418
- export interface SecurityGroupIdentifier {
9419
- /**
9420
- * <p>The ID of the security group.</p>
9421
- * @public
9422
- */
9423
- GroupId?: string | undefined;
9424
- /**
9425
- * <p>The name of the security group.</p>
9426
- * @public
9427
- */
9428
- GroupName?: string | undefined;
9429
- }
9430
- /**
9431
- * <p>Prefixes of the subnet IP.</p>
9432
- * @public
9433
- */
9434
- export interface SubnetIpPrefixes {
9435
- /**
9436
- * <p>ID of the subnet.</p>
9437
- * @public
9438
- */
9439
- SubnetId?: string | undefined;
9440
- /**
9441
- * <p>Array of SubnetIpPrefixes objects.</p>
9442
- * @public
9443
- */
9444
- IpPrefixes?: string[] | undefined;
9445
- }
9446
- /**
9447
- * <p>The last error that occurred for a VPC endpoint.</p>
9448
- * @public
9449
- */
9450
- export interface LastError {
9451
- /**
9452
- * <p>The error message for the VPC endpoint error.</p>
9453
- * @public
9454
- */
9455
- Message?: string | undefined;
9456
- /**
9457
- * <p>The error code for the VPC endpoint error.</p>
9458
- * @public
9459
- */
9460
- Code?: string | undefined;
9461
- }
9462
9437
  /**
9463
9438
  * @internal
9464
9439
  */