@aws-sdk/client-ec2 3.1137.0 → 3.1138.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 (210) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +183 -21
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/CreateCapacityReservationDateChangeQuoteCommand.js +4 -0
  5. package/dist-es/commands/DescribeCapacityReservationDateChangeQuotesCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +10 -0
  8. package/dist-es/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +145 -20
  11. package/dist-types/EC2.d.ts +1633 -1605
  12. package/dist-types/EC2Client.d.ts +4 -2
  13. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  14. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  15. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  16. package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  17. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  18. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  19. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  20. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  21. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  22. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +21 -1
  26. package/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +11 -1
  28. package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +116 -0
  29. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  58. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  59. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
  71. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  72. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  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/CreateVpnConcentratorCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  113. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  114. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
  115. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  116. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -1
  117. package/dist-types/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeCapacityReservationDateChangeQuotesCommand.d.ts +113 -0
  119. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +10 -0
  120. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeRouteServerPeersCommand.d.ts +2 -1
  122. package/dist-types/commands/DescribeRouteServersCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +1 -2
  125. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  126. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  127. package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
  128. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -1
  129. package/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  130. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  131. package/dist-types/commands/EnableCapacityManagerCommand.d.ts +1 -1
  132. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  133. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  134. package/dist-types/commands/ImportImageCommand.d.ts +2 -2
  135. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  136. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  138. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +15 -0
  139. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +20 -0
  140. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  141. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +11 -1
  142. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  143. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  144. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  145. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  146. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  147. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  148. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  149. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  150. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  151. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  152. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  153. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  154. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  155. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  156. package/dist-types/commands/index.d.ts +2 -0
  157. package/dist-types/models/enums.d.ts +26 -0
  158. package/dist-types/models/models_0.d.ts +261 -130
  159. package/dist-types/models/models_1.d.ts +131 -297
  160. package/dist-types/models/models_2.d.ts +298 -116
  161. package/dist-types/models/models_3.d.ts +163 -508
  162. package/dist-types/models/models_4.d.ts +508 -371
  163. package/dist-types/models/models_5.d.ts +371 -174
  164. package/dist-types/models/models_6.d.ts +176 -397
  165. package/dist-types/models/models_7.d.ts +4632 -4572
  166. package/dist-types/models/models_8.d.ts +371 -3
  167. package/dist-types/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.d.ts +7 -0
  168. package/dist-types/pagination/index.d.ts +1 -0
  169. package/dist-types/schemas/schemas_0.d.ts +11 -0
  170. package/dist-types/ts3.4/EC2.d.ts +1650 -1604
  171. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  172. package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +42 -0
  173. package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +2 -1
  174. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
  175. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribeCapacityReservationDateChangeQuotesCommand.d.ts +42 -0
  179. package/dist-types/ts3.4/commands/DescribeRouteServerPeersCommand.d.ts +2 -4
  180. package/dist-types/ts3.4/commands/DescribeRouteServersCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -2
  183. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -1
  184. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/ImportImageCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/ImportInstanceCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  197. package/dist-types/ts3.4/models/enums.d.ts +14 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +47 -28
  199. package/dist-types/ts3.4/models/models_1.d.ts +28 -69
  200. package/dist-types/ts3.4/models/models_2.d.ts +68 -36
  201. package/dist-types/ts3.4/models/models_3.d.ts +51 -82
  202. package/dist-types/ts3.4/models/models_4.d.ts +92 -60
  203. package/dist-types/ts3.4/models/models_5.d.ts +59 -47
  204. package/dist-types/ts3.4/models/models_6.d.ts +47 -87
  205. package/dist-types/ts3.4/models/models_7.d.ts +94 -81
  206. package/dist-types/ts3.4/models/models_8.d.ts +75 -0
  207. package/dist-types/ts3.4/pagination/DescribeCapacityReservationDateChangeQuotesPaginator.d.ts +11 -0
  208. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  209. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  210. package/package.json +9 -9
@@ -1,7 +1,120 @@
1
- import type { _InstanceType, AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DefaultTargetCapacityType, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
- import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, FleetCapacityReservation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
- import type { RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
1
+ import type { _InstanceType, AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetCapacityReservationTenancy, FleetEventType, FleetInstanceMatchCriteria, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
+ import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CapacityReservationModificationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, FleetCapacityReservation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
+ import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
+ import type { DeleteLaunchTemplateVersionsResponseErrorItem, DeleteLaunchTemplateVersionsResponseSuccessItem, GroupIdentifier, RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteLaunchTemplateVersionsResult {
9
+ /**
10
+ * <p>Information about the launch template versions that were successfully deleted.</p>
11
+ * @public
12
+ */
13
+ SuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseSuccessItem[] | undefined;
14
+ /**
15
+ * <p>Information about the launch template versions that could not be deleted.</p>
16
+ * @public
17
+ */
18
+ UnsuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseErrorItem[] | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface DeleteLocalGatewayRouteRequest {
24
+ /**
25
+ * <p>The CIDR range for the route. This must match the CIDR for the route exactly.</p>
26
+ * @public
27
+ */
28
+ DestinationCidrBlock?: string | undefined;
29
+ /**
30
+ * <p>The ID of the local gateway route table.</p>
31
+ * @public
32
+ */
33
+ LocalGatewayRouteTableId: string | undefined;
34
+ /**
35
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
36
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
37
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
38
+ * @public
39
+ */
40
+ DryRun?: boolean | undefined;
41
+ /**
42
+ * <p>
43
+ * Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use
44
+ * <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
45
+ * </p>
46
+ * @public
47
+ */
48
+ DestinationPrefixListId?: string | undefined;
49
+ }
50
+ /**
51
+ * @public
52
+ */
53
+ export interface DeleteLocalGatewayRouteResult {
54
+ /**
55
+ * <p>Information about the route.</p>
56
+ * @public
57
+ */
58
+ Route?: LocalGatewayRoute | undefined;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface DeleteLocalGatewayRouteTableRequest {
64
+ /**
65
+ * <p>
66
+ * The ID of the local gateway route table.
67
+ * </p>
68
+ * @public
69
+ */
70
+ LocalGatewayRouteTableId: string | undefined;
71
+ /**
72
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
73
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
74
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
75
+ * @public
76
+ */
77
+ DryRun?: boolean | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface DeleteLocalGatewayRouteTableResult {
83
+ /**
84
+ * <p>Information about the local gateway route table.</p>
85
+ * @public
86
+ */
87
+ LocalGatewayRouteTable?: LocalGatewayRouteTable | undefined;
88
+ }
89
+ /**
90
+ * @public
91
+ */
92
+ export interface DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest {
93
+ /**
94
+ * <p>
95
+ * The ID of the local gateway route table virtual interface group association.
96
+ * </p>
97
+ * @public
98
+ */
99
+ LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: string | undefined;
100
+ /**
101
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
102
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
103
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
104
+ * @public
105
+ */
106
+ DryRun?: boolean | undefined;
107
+ }
108
+ /**
109
+ * @public
110
+ */
111
+ export interface DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult {
112
+ /**
113
+ * <p>Information about the association.</p>
114
+ * @public
115
+ */
116
+ LocalGatewayRouteTableVirtualInterfaceGroupAssociation?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation | undefined;
117
+ }
5
118
  /**
6
119
  * @public
7
120
  */
@@ -4479,6 +4592,52 @@ export interface DescribeCapacityReservationCancellationQuotesResult {
4479
4592
  */
4480
4593
  NextToken?: string | undefined;
4481
4594
  }
4595
+ /**
4596
+ * @public
4597
+ */
4598
+ export interface DescribeCapacityReservationDateChangeQuotesRequest {
4599
+ /**
4600
+ * <p>The IDs of the date change quotes to describe.</p>
4601
+ * @public
4602
+ */
4603
+ CapacityReservationModificationQuoteIds?: string[] | undefined;
4604
+ /**
4605
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
4606
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
4607
+ * @public
4608
+ */
4609
+ MaxResults?: number | undefined;
4610
+ /**
4611
+ * <p>The token to use to retrieve the next page of results.</p>
4612
+ * @public
4613
+ */
4614
+ NextToken?: string | undefined;
4615
+ /**
4616
+ * <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>
4617
+ * @public
4618
+ */
4619
+ DryRun?: boolean | undefined;
4620
+ /**
4621
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
4622
+ * @public
4623
+ */
4624
+ Filters?: Filter[] | undefined;
4625
+ }
4626
+ /**
4627
+ * @public
4628
+ */
4629
+ export interface DescribeCapacityReservationDateChangeQuotesResult {
4630
+ /**
4631
+ * <p>Information about the Capacity Reservation date change quotes.</p>
4632
+ * @public
4633
+ */
4634
+ CapacityReservationModificationQuotes?: CapacityReservationModificationQuote[] | undefined;
4635
+ /**
4636
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
4637
+ * @public
4638
+ */
4639
+ NextToken?: string | undefined;
4640
+ }
4482
4641
  /**
4483
4642
  * @public
4484
4643
  */
@@ -7715,507 +7874,3 @@ export interface FleetLaunchTemplateConfig {
7715
7874
  */
7716
7875
  Overrides?: FleetLaunchTemplateOverrides[] | undefined;
7717
7876
  }
7718
- /**
7719
- * <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
7720
- * capacity.</p>
7721
- * <note>
7722
- * <p>This strategy can only be used if the EC2 Fleet is of type
7723
- * <code>instant</code>.</p>
7724
- * </note>
7725
- * <p>For more information about Capacity Reservations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">On-Demand Capacity
7726
- * Reservations</a> in the <i>Amazon EC2 User Guide</i>. For examples of using
7727
- * Capacity Reservations in an EC2 Fleet, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html">EC2 Fleet example
7728
- * configurations</a> in the <i>Amazon EC2 User Guide</i>.</p>
7729
- * @public
7730
- */
7731
- export interface CapacityReservationOptions {
7732
- /**
7733
- * <p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p>
7734
- * <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused
7735
- * Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If
7736
- * multiple instance pools have unused Capacity Reservations, the On-Demand allocation
7737
- * strategy (<code>lowest-price</code> or <code>prioritized</code>) is applied. If the number
7738
- * of unused Capacity Reservations is less than the On-Demand target capacity, the remaining
7739
- * On-Demand target capacity is launched according to the On-Demand allocation strategy
7740
- * (<code>lowest-price</code> or <code>prioritized</code>).</p>
7741
- * <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
7742
- * chosen On-Demand allocation strategy.</p>
7743
- * @public
7744
- */
7745
- UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
7746
- }
7747
- /**
7748
- * <p>Describes the configuration of On-Demand Instances in an EC2 Fleet.</p>
7749
- * @public
7750
- */
7751
- export interface OnDemandOptions {
7752
- /**
7753
- * <p>The strategy that determines the order of the launch template overrides to use in
7754
- * fulfilling On-Demand capacity.</p>
7755
- * <p>
7756
- * <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
7757
- * price first.</p>
7758
- * <p>
7759
- * <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
7760
- * template override, launching the highest priority first.</p>
7761
- * <p>Default: <code>lowest-price</code>
7762
- * </p>
7763
- * @public
7764
- */
7765
- AllocationStrategy?: FleetOnDemandAllocationStrategy | undefined;
7766
- /**
7767
- * <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
7768
- * capacity.</p>
7769
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7770
- * @public
7771
- */
7772
- CapacityReservationOptions?: CapacityReservationOptions | undefined;
7773
- /**
7774
- * <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
7775
- * fleet.</p>
7776
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7777
- * @public
7778
- */
7779
- SingleInstanceType?: boolean | undefined;
7780
- /**
7781
- * <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
7782
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7783
- * @public
7784
- */
7785
- SingleAvailabilityZone?: boolean | undefined;
7786
- /**
7787
- * <p>The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't
7788
- * reached, no instances are launched.</p>
7789
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
7790
- * <code>instant</code>.</p>
7791
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
7792
- * <code>SingleInstanceType</code>
7793
- * </p>
7794
- * @public
7795
- */
7796
- MinTargetCapacity?: number | undefined;
7797
- /**
7798
- * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
7799
- * <note>
7800
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
7801
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
7802
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
7803
- * and, if you use surplus credits, your final cost might be higher than what you specified
7804
- * for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
7805
- * <i>Amazon EC2 User Guide</i>.</p>
7806
- * </note>
7807
- * @public
7808
- */
7809
- MaxTotalPrice?: string | undefined;
7810
- }
7811
- /**
7812
- * <p>Describes the fallback behavior for an EC2 Fleet that uses reserved capacity when the
7813
- * reserved capacity is not enough to meet the target capacity. If you don't specify
7814
- * fallback options, EC2 Fleet does not fall back to any other market type after the specified
7815
- * reservation types are exhausted.</p>
7816
- * @public
7817
- */
7818
- export interface ReservedCapacityFallbackOptions {
7819
- /**
7820
- * <p>The instance purchasing options to fall back to when the reserved capacity is not
7821
- * enough to meet the target capacity. The only supported value is <code>on-demand</code>,
7822
- * which launches On-Demand Instances to fulfill the remaining target capacity.</p>
7823
- * @public
7824
- */
7825
- MarketTypes?: ReservedCapacityFallbackMarketType[] | undefined;
7826
- }
7827
- /**
7828
- * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when <code>DefaultTargetCapacityType</code>
7829
- * is set to <code>reserved-capacity</code>. EC2 Fleet can fulfill reserved capacity using On-Demand Capacity Reservations,
7830
- * Capacity Blocks for ML, and interruptible Capacity Reservations.</p>
7831
- * @public
7832
- */
7833
- export interface ReservedCapacityOptions {
7834
- /**
7835
- * <p>The strategy that determines the order in which EC2 Fleet launches instances across the
7836
- * reservation types that you specify. The only supported value is <code>prioritized</code>,
7837
- * which launches instances in the priority order that you specify in your launch template
7838
- * overrides. If you don't specify an allocation strategy, instances are launched in a
7839
- * random order.</p>
7840
- * @public
7841
- */
7842
- AllocationStrategy?: ReservedCapacityAllocationStrategy | undefined;
7843
- /**
7844
- * <p>The types of Capacity Reservations used for fulfilling the EC2 Fleet request.</p>
7845
- * @public
7846
- */
7847
- ReservationTypes?: FleetReservationType[] | undefined;
7848
- /**
7849
- * <p>The fallback behavior for the EC2 Fleet when there is not enough reserved capacity available
7850
- * to meet the target capacity.</p>
7851
- * @public
7852
- */
7853
- ReservedCapacityFallbackOptions?: ReservedCapacityFallbackOptions | undefined;
7854
- }
7855
- /**
7856
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
7857
- * elevated risk of being interrupted.</p>
7858
- * @public
7859
- */
7860
- export interface FleetSpotCapacityRebalance {
7861
- /**
7862
- * <p>The replacement strategy to use. Only available for fleets of type
7863
- * <code>maintain</code>.</p>
7864
- * <p>
7865
- * <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a
7866
- * rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet
7867
- * does not terminate the instances that receive a rebalance notification. You can terminate
7868
- * the old instances, or you can leave them running. You are charged for all instances while
7869
- * they are running. </p>
7870
- * <p>
7871
- * <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot
7872
- * Instance when a rebalance notification is emitted for an existing Spot Instance in the
7873
- * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
7874
- * terminates the instances that received a rebalance notification.</p>
7875
- * @public
7876
- */
7877
- ReplacementStrategy?: FleetReplacementStrategy | undefined;
7878
- /**
7879
- * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
7880
- * Instance after launching a new replacement Spot Instance.</p>
7881
- * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
7882
- * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
7883
- * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
7884
- * @public
7885
- */
7886
- TerminationDelay?: number | undefined;
7887
- }
7888
- /**
7889
- * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
7890
- * interrupted.</p>
7891
- * @public
7892
- */
7893
- export interface FleetSpotMaintenanceStrategies {
7894
- /**
7895
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
7896
- * elevated risk of being interrupted.</p>
7897
- * @public
7898
- */
7899
- CapacityRebalance?: FleetSpotCapacityRebalance | undefined;
7900
- }
7901
- /**
7902
- * <p>Describes the configuration of Spot Instances in an EC2 Fleet.</p>
7903
- * @public
7904
- */
7905
- export interface SpotOptions {
7906
- /**
7907
- * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
7908
- * pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
7909
- * <i>Amazon EC2 User Guide</i>.</p>
7910
- * <dl>
7911
- * <dt>price-capacity-optimized (recommended)</dt>
7912
- * <dd>
7913
- * <p>EC2 Fleet identifies the pools with
7914
- * the highest capacity availability for the number of instances that are launching. This means
7915
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
7916
- * in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
7917
- * </dd>
7918
- * <dt>capacity-optimized</dt>
7919
- * <dd>
7920
- * <p>EC2 Fleet identifies the pools with
7921
- * the highest capacity availability for the number of instances that are launching. This means
7922
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
7923
- * in the near term. To give certain
7924
- * instance types a higher chance of launching first, use
7925
- * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
7926
- * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
7927
- * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
7928
- * the priorities on a best-effort basis, but optimizes for capacity first.
7929
- * <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
7930
- * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
7931
- * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
7932
- * capacity.</p>
7933
- * </dd>
7934
- * <dt>diversified</dt>
7935
- * <dd>
7936
- * <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
7937
- * specify.</p>
7938
- * </dd>
7939
- * <dt>lowest-price (not recommended)</dt>
7940
- * <dd>
7941
- * <important>
7942
- * <p>We don't recommend the <code>lowest-price</code> allocation strategy because
7943
- * it has the highest risk of interruption for your Spot Instances.</p>
7944
- * </important>
7945
- * <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available
7946
- * capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
7947
- * come from the next lowest priced pool that has available capacity. If a pool runs
7948
- * out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to
7949
- * fulfill your request by drawing from the next lowest priced pool. To ensure that
7950
- * your desired capacity is met, you might receive Spot Instances from several pools. Because
7951
- * this strategy only considers instance price and not capacity availability, it
7952
- * might lead to high interruption rates.</p>
7953
- * </dd>
7954
- * </dl>
7955
- * <p>Default: <code>lowest-price</code>
7956
- * </p>
7957
- * @public
7958
- */
7959
- AllocationStrategy?: SpotAllocationStrategy | undefined;
7960
- /**
7961
- * <p>The strategies for managing your workloads on your Spot Instances that will be
7962
- * interrupted. Currently only the capacity rebalance strategy is available.</p>
7963
- * @public
7964
- */
7965
- MaintenanceStrategies?: FleetSpotMaintenanceStrategies | undefined;
7966
- /**
7967
- * <p>The behavior when a Spot Instance is interrupted.</p>
7968
- * <p>Default: <code>terminate</code>
7969
- * </p>
7970
- * @public
7971
- */
7972
- InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | undefined;
7973
- /**
7974
- * <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
7975
- * only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
7976
- * the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
7977
- * Spot pools that you specify.</p>
7978
- * <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
7979
- * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
7980
- * capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
7981
- * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
7982
- * the number of pools that you specified. Similarly, if most of the pools have no Spot
7983
- * capacity, you might receive your full target capacity from fewer than the number of pools
7984
- * that you specified.</p>
7985
- * @public
7986
- */
7987
- InstancePoolsToUseCount?: number | undefined;
7988
- /**
7989
- * <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
7990
- * fleet.</p>
7991
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7992
- * @public
7993
- */
7994
- SingleInstanceType?: boolean | undefined;
7995
- /**
7996
- * <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
7997
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7998
- * @public
7999
- */
8000
- SingleAvailabilityZone?: boolean | undefined;
8001
- /**
8002
- * <p>The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't
8003
- * reached, no instances are launched.</p>
8004
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
8005
- * <code>instant</code>.</p>
8006
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
8007
- * <code>SingleInstanceType</code>
8008
- * </p>
8009
- * @public
8010
- */
8011
- MinTargetCapacity?: number | undefined;
8012
- /**
8013
- * <p>The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend
8014
- * using this parameter because it can lead to increased interruptions. If you do not specify
8015
- * this parameter, you will pay the current Spot price.</p>
8016
- * <important>
8017
- * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
8018
- * </important>
8019
- * <note>
8020
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
8021
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
8022
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
8023
- * and, if you use surplus credits, your final cost might be higher than what you specified
8024
- * for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
8025
- * <i>Amazon EC2 User Guide</i>.</p>
8026
- * </note>
8027
- * @public
8028
- */
8029
- MaxTotalPrice?: string | undefined;
8030
- }
8031
- /**
8032
- * <p>The number of units to request. You can choose to set the target capacity in terms of
8033
- * instances or a performance characteristic that is important to your application workload,
8034
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
8035
- * specify a target capacity of 0 and add capacity later.</p>
8036
- * <p>You can use the On-Demand Instance <code>MaxTotalPrice</code> parameter, the Spot Instance
8037
- * <code>MaxTotalPrice</code>, or both to ensure that your fleet cost does not exceed your
8038
- * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet
8039
- * will launch instances until it reaches the maximum amount that you're willing to pay. When
8040
- * the maximum amount you're willing to pay is reached, the fleet stops launching instances
8041
- * even if it hasn’t met the target capacity. The <code>MaxTotalPrice</code> parameters are
8042
- * located in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html">OnDemandOptions</a>
8043
- * and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions">SpotOptions</a>.</p>
8044
- * @public
8045
- */
8046
- export interface TargetCapacitySpecification {
8047
- /**
8048
- * <p>The number of units to request, filled the default target capacity type.</p>
8049
- * @public
8050
- */
8051
- TotalTargetCapacity?: number | undefined;
8052
- /**
8053
- * <p>The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.</p>
8054
- * @public
8055
- */
8056
- OnDemandTargetCapacity?: number | undefined;
8057
- /**
8058
- * <p>The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.</p>
8059
- * @public
8060
- */
8061
- SpotTargetCapacity?: number | undefined;
8062
- /**
8063
- * <p>The default target capacity type.</p>
8064
- * @public
8065
- */
8066
- DefaultTargetCapacityType?: DefaultTargetCapacityType | undefined;
8067
- /**
8068
- * <p>The unit for the target capacity.</p>
8069
- * @public
8070
- */
8071
- TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
8072
- }
8073
- /**
8074
- * <p>Describes an EC2 Fleet.</p>
8075
- * @public
8076
- */
8077
- export interface FleetData {
8078
- /**
8079
- * <p>The progress of the EC2 Fleet.</p>
8080
- * <p>For fleets of type <code>instant</code>, the status is <code>fulfilled</code> after all
8081
- * requests are placed, regardless of whether target capacity is met (this is the only
8082
- * possible status for <code>instant</code> fleets).</p>
8083
- * <p>For fleets of type <code>request</code> or <code>maintain</code>, the status is
8084
- * <code>pending_fulfillment</code> after all requests are placed, <code>fulfilled</code>
8085
- * when the fleet size meets or exceeds target capacity, <code>pending_termination</code>
8086
- * while instances are terminating when fleet size is decreased, and <code>error</code> if
8087
- * there's an error.</p>
8088
- * @public
8089
- */
8090
- ActivityStatus?: FleetActivityStatus | undefined;
8091
- /**
8092
- * <p>The creation date and time of the EC2 Fleet.</p>
8093
- * @public
8094
- */
8095
- CreateTime?: Date | undefined;
8096
- /**
8097
- * <p>The ID of the EC2 Fleet.</p>
8098
- * @public
8099
- */
8100
- FleetId?: string | undefined;
8101
- /**
8102
- * <p>The state of the EC2 Fleet.</p>
8103
- * @public
8104
- */
8105
- FleetState?: FleetStateCode | undefined;
8106
- /**
8107
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
8108
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
8109
- * idempotency</a>.</p>
8110
- * <p>Constraints: Maximum 64 ASCII characters</p>
8111
- * @public
8112
- */
8113
- ClientToken?: string | undefined;
8114
- /**
8115
- * <p>Indicates whether running instances should be terminated if the target capacity of the
8116
- * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
8117
- * <p>Supported only for fleets of type <code>maintain</code>.</p>
8118
- * @public
8119
- */
8120
- ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | undefined;
8121
- /**
8122
- * <p>The number of units fulfilled by this request compared to the set target
8123
- * capacity.</p>
8124
- * @public
8125
- */
8126
- FulfilledCapacity?: number | undefined;
8127
- /**
8128
- * <p>The number of units fulfilled by this request compared to the set target On-Demand
8129
- * capacity.</p>
8130
- * @public
8131
- */
8132
- FulfilledOnDemandCapacity?: number | undefined;
8133
- /**
8134
- * <p>The launch template and overrides.</p>
8135
- * @public
8136
- */
8137
- LaunchTemplateConfigs?: FleetLaunchTemplateConfig[] | undefined;
8138
- /**
8139
- * <p>The number of units to request. You can choose to set the target capacity in terms of
8140
- * instances or a performance characteristic that is important to your application workload,
8141
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
8142
- * specify a target capacity of 0 and add capacity later.</p>
8143
- * @public
8144
- */
8145
- TargetCapacitySpecification?: TargetCapacitySpecification | undefined;
8146
- /**
8147
- * <p>Indicates whether running instances should be terminated when the EC2 Fleet expires. </p>
8148
- * @public
8149
- */
8150
- TerminateInstancesWithExpiration?: boolean | undefined;
8151
- /**
8152
- * <p>The type of request. Indicates whether the EC2 Fleet only <code>requests</code> the target
8153
- * capacity, or also attempts to <code>maintain</code> it. If you request a certain target
8154
- * capacity, EC2 Fleet only places the required requests; it does not attempt to replenish
8155
- * instances if capacity is diminished, and it does not submit requests in alternative
8156
- * capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet
8157
- * places the required requests to meet this target capacity. It also automatically
8158
- * replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
8159
- * @public
8160
- */
8161
- Type?: FleetType | undefined;
8162
- /**
8163
- * <p>The start date and time of the request, in UTC format (for example,
8164
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
8165
- * The default is to start fulfilling the request immediately. </p>
8166
- * @public
8167
- */
8168
- ValidFrom?: Date | undefined;
8169
- /**
8170
- * <p>The end date and time of the request, in UTC format (for example,
8171
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
8172
- * At this point, no new instance requests are placed or able to fulfill the request. The
8173
- * default end date is 7 days from the current date. </p>
8174
- * @public
8175
- */
8176
- ValidUntil?: Date | undefined;
8177
- /**
8178
- * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
8179
- * fleets of type <code>maintain</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks">EC2 Fleet
8180
- * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
8181
- * @public
8182
- */
8183
- ReplaceUnhealthyInstances?: boolean | undefined;
8184
- /**
8185
- * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
8186
- * @public
8187
- */
8188
- SpotOptions?: SpotOptions | undefined;
8189
- /**
8190
- * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
8191
- * @public
8192
- */
8193
- OnDemandOptions?: OnDemandOptions | undefined;
8194
- /**
8195
- * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
8196
- * @public
8197
- */
8198
- ReservedCapacityOptions?: ReservedCapacityOptions | undefined;
8199
- /**
8200
- * <p>The tags for an EC2 Fleet resource.</p>
8201
- * @public
8202
- */
8203
- Tags?: Tag[] | undefined;
8204
- /**
8205
- * <p>Information about the instances that could not be launched by the fleet. Valid only when
8206
- * <b>Type</b> is set to <code>instant</code>.</p>
8207
- * @public
8208
- */
8209
- Errors?: DescribeFleetError[] | undefined;
8210
- /**
8211
- * <p>Information about the instances that were launched by the fleet. Valid only when
8212
- * <b>Type</b> is set to <code>instant</code>.</p>
8213
- * @public
8214
- */
8215
- Instances?: DescribeFleetsInstances[] | undefined;
8216
- /**
8217
- * <p>Reserved.</p>
8218
- * @public
8219
- */
8220
- Context?: string | undefined;
8221
- }