@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,8 +1,512 @@
1
- import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DestinationFileFormat, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, FindingsFound, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkCardInterfaceType, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, RecurringChargeFrequency, ReservationState, ReservedInstanceState, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, Tenancy, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
1
+ import type { _InstanceType, AllocationState, AllowsMultipleInstanceTypes, AmdSevSnp, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, AutoPlacement, BandwidthWeightingType, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, FindingsFound, FleetActivityStatus, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FlexibleEnaQueuesSupport, FpgaImageAttributeName, FpgaImageStateCode, HaStatus, HostMaintenance, HostnameType, HostRecovery, HttpTokensState, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, LogDestinationType, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkCardInterfaceType, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, PaymentOption, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, ProductCodeValues, RebootMigrationSupport, RecurringChargeFrequency, ReservationState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ReservedInstanceState, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SqlServerLicenseUsage, StatusName, StatusType, SummaryStatus, SupportedAdditionalProcessorFeature, TaggableResourceType, TargetCapacityUnitType, Tenancy, TpmSupportValues, TrafficType, UsageClassType, VirtualizationType } from "./enums";
2
2
  import type { AlternatePathHint, Explanation, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, OperatorResponse, PathComponent, ReservedInstancesListing, Tag } from "./models_0";
3
- import type { AttributeValue, BlockDeviceMapping, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, GroupIdentifier, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MacModificationTask, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, Placement, StateReason } from "./models_1";
4
- import type { NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable } from "./models_2";
5
- import type { Byoasn, Filter, FleetData, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
3
+ import type { AttributeValue, BlockDeviceMapping, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, MacModificationTask, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterfaceAttachment, Placement, StateReason } from "./models_1";
4
+ import type { GroupIdentifier, NetworkInterface, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServerEndpoint } from "./models_2";
5
+ import type { Byoasn, DescribeFleetError, DescribeFleetsInstances, Filter, FleetLaunchTemplateConfig, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
6
+ /**
7
+ * <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
8
+ * capacity.</p>
9
+ * <note>
10
+ * <p>This strategy can only be used if the EC2 Fleet is of type
11
+ * <code>instant</code>.</p>
12
+ * </note>
13
+ * <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
14
+ * Reservations</a> in the <i>Amazon EC2 User Guide</i>. For examples of using
15
+ * Capacity Reservations in an EC2 Fleet, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html">EC2 Fleet example
16
+ * configurations</a> in the <i>Amazon EC2 User Guide</i>.</p>
17
+ * @public
18
+ */
19
+ export interface CapacityReservationOptions {
20
+ /**
21
+ * <p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p>
22
+ * <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused
23
+ * Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If
24
+ * multiple instance pools have unused Capacity Reservations, the On-Demand allocation
25
+ * strategy (<code>lowest-price</code> or <code>prioritized</code>) is applied. If the number
26
+ * of unused Capacity Reservations is less than the On-Demand target capacity, the remaining
27
+ * On-Demand target capacity is launched according to the On-Demand allocation strategy
28
+ * (<code>lowest-price</code> or <code>prioritized</code>).</p>
29
+ * <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
30
+ * chosen On-Demand allocation strategy.</p>
31
+ * @public
32
+ */
33
+ UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
34
+ }
35
+ /**
36
+ * <p>Describes the configuration of On-Demand Instances in an EC2 Fleet.</p>
37
+ * @public
38
+ */
39
+ export interface OnDemandOptions {
40
+ /**
41
+ * <p>The strategy that determines the order of the launch template overrides to use in
42
+ * fulfilling On-Demand capacity.</p>
43
+ * <p>
44
+ * <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
45
+ * price first.</p>
46
+ * <p>
47
+ * <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
48
+ * template override, launching the highest priority first.</p>
49
+ * <p>Default: <code>lowest-price</code>
50
+ * </p>
51
+ * @public
52
+ */
53
+ AllocationStrategy?: FleetOnDemandAllocationStrategy | undefined;
54
+ /**
55
+ * <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
56
+ * capacity.</p>
57
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
58
+ * @public
59
+ */
60
+ CapacityReservationOptions?: CapacityReservationOptions | undefined;
61
+ /**
62
+ * <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
63
+ * fleet.</p>
64
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
65
+ * @public
66
+ */
67
+ SingleInstanceType?: boolean | undefined;
68
+ /**
69
+ * <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
70
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
71
+ * @public
72
+ */
73
+ SingleAvailabilityZone?: boolean | undefined;
74
+ /**
75
+ * <p>The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't
76
+ * reached, no instances are launched.</p>
77
+ * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
78
+ * <code>instant</code>.</p>
79
+ * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
80
+ * <code>SingleInstanceType</code>
81
+ * </p>
82
+ * @public
83
+ */
84
+ MinTargetCapacity?: number | undefined;
85
+ /**
86
+ * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
87
+ * <note>
88
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
89
+ * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
90
+ * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
91
+ * and, if you use surplus credits, your final cost might be higher than what you specified
92
+ * 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
93
+ * <i>Amazon EC2 User Guide</i>.</p>
94
+ * </note>
95
+ * @public
96
+ */
97
+ MaxTotalPrice?: string | undefined;
98
+ }
99
+ /**
100
+ * <p>Describes the fallback behavior for an EC2 Fleet that uses reserved capacity when the
101
+ * reserved capacity is not enough to meet the target capacity. If you don't specify
102
+ * fallback options, EC2 Fleet does not fall back to any other market type after the specified
103
+ * reservation types are exhausted.</p>
104
+ * @public
105
+ */
106
+ export interface ReservedCapacityFallbackOptions {
107
+ /**
108
+ * <p>The instance purchasing options to fall back to when the reserved capacity is not
109
+ * enough to meet the target capacity. The only supported value is <code>on-demand</code>,
110
+ * which launches On-Demand Instances to fulfill the remaining target capacity.</p>
111
+ * @public
112
+ */
113
+ MarketTypes?: ReservedCapacityFallbackMarketType[] | undefined;
114
+ }
115
+ /**
116
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when <code>DefaultTargetCapacityType</code>
117
+ * is set to <code>reserved-capacity</code>. EC2 Fleet can fulfill reserved capacity using On-Demand Capacity Reservations,
118
+ * Capacity Blocks for ML, and interruptible Capacity Reservations.</p>
119
+ * @public
120
+ */
121
+ export interface ReservedCapacityOptions {
122
+ /**
123
+ * <p>The strategy that determines the order in which EC2 Fleet launches instances across the
124
+ * reservation types that you specify. The only supported value is <code>prioritized</code>,
125
+ * which launches instances in the priority order that you specify in your launch template
126
+ * overrides. If you don't specify an allocation strategy, instances are launched in a
127
+ * random order.</p>
128
+ * @public
129
+ */
130
+ AllocationStrategy?: ReservedCapacityAllocationStrategy | undefined;
131
+ /**
132
+ * <p>The types of Capacity Reservations used for fulfilling the EC2 Fleet request.</p>
133
+ * @public
134
+ */
135
+ ReservationTypes?: FleetReservationType[] | undefined;
136
+ /**
137
+ * <p>The fallback behavior for the EC2 Fleet when there is not enough reserved capacity available
138
+ * to meet the target capacity.</p>
139
+ * @public
140
+ */
141
+ ReservedCapacityFallbackOptions?: ReservedCapacityFallbackOptions | undefined;
142
+ }
143
+ /**
144
+ * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
145
+ * elevated risk of being interrupted.</p>
146
+ * @public
147
+ */
148
+ export interface FleetSpotCapacityRebalance {
149
+ /**
150
+ * <p>The replacement strategy to use. Only available for fleets of type
151
+ * <code>maintain</code>.</p>
152
+ * <p>
153
+ * <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a
154
+ * rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet
155
+ * does not terminate the instances that receive a rebalance notification. You can terminate
156
+ * the old instances, or you can leave them running. You are charged for all instances while
157
+ * they are running. </p>
158
+ * <p>
159
+ * <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot
160
+ * Instance when a rebalance notification is emitted for an existing Spot Instance in the
161
+ * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
162
+ * terminates the instances that received a rebalance notification.</p>
163
+ * @public
164
+ */
165
+ ReplacementStrategy?: FleetReplacementStrategy | undefined;
166
+ /**
167
+ * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
168
+ * Instance after launching a new replacement Spot Instance.</p>
169
+ * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
170
+ * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
171
+ * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
172
+ * @public
173
+ */
174
+ TerminationDelay?: number | undefined;
175
+ }
176
+ /**
177
+ * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
178
+ * interrupted.</p>
179
+ * @public
180
+ */
181
+ export interface FleetSpotMaintenanceStrategies {
182
+ /**
183
+ * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
184
+ * elevated risk of being interrupted.</p>
185
+ * @public
186
+ */
187
+ CapacityRebalance?: FleetSpotCapacityRebalance | undefined;
188
+ }
189
+ /**
190
+ * <p>Describes the configuration of Spot Instances in an EC2 Fleet.</p>
191
+ * @public
192
+ */
193
+ export interface SpotOptions {
194
+ /**
195
+ * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
196
+ * 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
197
+ * <i>Amazon EC2 User Guide</i>.</p>
198
+ * <dl>
199
+ * <dt>price-capacity-optimized (recommended)</dt>
200
+ * <dd>
201
+ * <p>EC2 Fleet identifies the pools with
202
+ * the highest capacity availability for the number of instances that are launching. This means
203
+ * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
204
+ * in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
205
+ * </dd>
206
+ * <dt>capacity-optimized</dt>
207
+ * <dd>
208
+ * <p>EC2 Fleet identifies the pools with
209
+ * the highest capacity availability for the number of instances that are launching. This means
210
+ * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
211
+ * in the near term. To give certain
212
+ * instance types a higher chance of launching first, use
213
+ * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
214
+ * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
215
+ * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
216
+ * the priorities on a best-effort basis, but optimizes for capacity first.
217
+ * <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
218
+ * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
219
+ * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
220
+ * capacity.</p>
221
+ * </dd>
222
+ * <dt>diversified</dt>
223
+ * <dd>
224
+ * <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
225
+ * specify.</p>
226
+ * </dd>
227
+ * <dt>lowest-price (not recommended)</dt>
228
+ * <dd>
229
+ * <important>
230
+ * <p>We don't recommend the <code>lowest-price</code> allocation strategy because
231
+ * it has the highest risk of interruption for your Spot Instances.</p>
232
+ * </important>
233
+ * <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available
234
+ * capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
235
+ * come from the next lowest priced pool that has available capacity. If a pool runs
236
+ * out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to
237
+ * fulfill your request by drawing from the next lowest priced pool. To ensure that
238
+ * your desired capacity is met, you might receive Spot Instances from several pools. Because
239
+ * this strategy only considers instance price and not capacity availability, it
240
+ * might lead to high interruption rates.</p>
241
+ * </dd>
242
+ * </dl>
243
+ * <p>Default: <code>lowest-price</code>
244
+ * </p>
245
+ * @public
246
+ */
247
+ AllocationStrategy?: SpotAllocationStrategy | undefined;
248
+ /**
249
+ * <p>The strategies for managing your workloads on your Spot Instances that will be
250
+ * interrupted. Currently only the capacity rebalance strategy is available.</p>
251
+ * @public
252
+ */
253
+ MaintenanceStrategies?: FleetSpotMaintenanceStrategies | undefined;
254
+ /**
255
+ * <p>The behavior when a Spot Instance is interrupted.</p>
256
+ * <p>Default: <code>terminate</code>
257
+ * </p>
258
+ * @public
259
+ */
260
+ InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | undefined;
261
+ /**
262
+ * <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
263
+ * only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
264
+ * the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
265
+ * Spot pools that you specify.</p>
266
+ * <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
267
+ * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
268
+ * capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
269
+ * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
270
+ * the number of pools that you specified. Similarly, if most of the pools have no Spot
271
+ * capacity, you might receive your full target capacity from fewer than the number of pools
272
+ * that you specified.</p>
273
+ * @public
274
+ */
275
+ InstancePoolsToUseCount?: number | undefined;
276
+ /**
277
+ * <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
278
+ * fleet.</p>
279
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
280
+ * @public
281
+ */
282
+ SingleInstanceType?: boolean | undefined;
283
+ /**
284
+ * <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
285
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
286
+ * @public
287
+ */
288
+ SingleAvailabilityZone?: boolean | undefined;
289
+ /**
290
+ * <p>The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't
291
+ * reached, no instances are launched.</p>
292
+ * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
293
+ * <code>instant</code>.</p>
294
+ * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
295
+ * <code>SingleInstanceType</code>
296
+ * </p>
297
+ * @public
298
+ */
299
+ MinTargetCapacity?: number | undefined;
300
+ /**
301
+ * <p>The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend
302
+ * using this parameter because it can lead to increased interruptions. If you do not specify
303
+ * this parameter, you will pay the current Spot price.</p>
304
+ * <important>
305
+ * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
306
+ * </important>
307
+ * <note>
308
+ * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
309
+ * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
310
+ * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
311
+ * and, if you use surplus credits, your final cost might be higher than what you specified
312
+ * 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
313
+ * <i>Amazon EC2 User Guide</i>.</p>
314
+ * </note>
315
+ * @public
316
+ */
317
+ MaxTotalPrice?: string | undefined;
318
+ }
319
+ /**
320
+ * <p>The number of units to request. You can choose to set the target capacity in terms of
321
+ * instances or a performance characteristic that is important to your application workload,
322
+ * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
323
+ * specify a target capacity of 0 and add capacity later.</p>
324
+ * <p>You can use the On-Demand Instance <code>MaxTotalPrice</code> parameter, the Spot Instance
325
+ * <code>MaxTotalPrice</code>, or both to ensure that your fleet cost does not exceed your
326
+ * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet
327
+ * will launch instances until it reaches the maximum amount that you're willing to pay. When
328
+ * the maximum amount you're willing to pay is reached, the fleet stops launching instances
329
+ * even if it hasn’t met the target capacity. The <code>MaxTotalPrice</code> parameters are
330
+ * located in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html">OnDemandOptions</a>
331
+ * and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions">SpotOptions</a>.</p>
332
+ * @public
333
+ */
334
+ export interface TargetCapacitySpecification {
335
+ /**
336
+ * <p>The number of units to request, filled the default target capacity type.</p>
337
+ * @public
338
+ */
339
+ TotalTargetCapacity?: number | undefined;
340
+ /**
341
+ * <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>
342
+ * @public
343
+ */
344
+ OnDemandTargetCapacity?: number | undefined;
345
+ /**
346
+ * <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>
347
+ * @public
348
+ */
349
+ SpotTargetCapacity?: number | undefined;
350
+ /**
351
+ * <p>The default target capacity type.</p>
352
+ * @public
353
+ */
354
+ DefaultTargetCapacityType?: DefaultTargetCapacityType | undefined;
355
+ /**
356
+ * <p>The unit for the target capacity.</p>
357
+ * @public
358
+ */
359
+ TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
360
+ }
361
+ /**
362
+ * <p>Describes an EC2 Fleet.</p>
363
+ * @public
364
+ */
365
+ export interface FleetData {
366
+ /**
367
+ * <p>The progress of the EC2 Fleet.</p>
368
+ * <p>For fleets of type <code>instant</code>, the status is <code>fulfilled</code> after all
369
+ * requests are placed, regardless of whether target capacity is met (this is the only
370
+ * possible status for <code>instant</code> fleets).</p>
371
+ * <p>For fleets of type <code>request</code> or <code>maintain</code>, the status is
372
+ * <code>pending_fulfillment</code> after all requests are placed, <code>fulfilled</code>
373
+ * when the fleet size meets or exceeds target capacity, <code>pending_termination</code>
374
+ * while instances are terminating when fleet size is decreased, and <code>error</code> if
375
+ * there's an error.</p>
376
+ * @public
377
+ */
378
+ ActivityStatus?: FleetActivityStatus | undefined;
379
+ /**
380
+ * <p>The creation date and time of the EC2 Fleet.</p>
381
+ * @public
382
+ */
383
+ CreateTime?: Date | undefined;
384
+ /**
385
+ * <p>The ID of the EC2 Fleet.</p>
386
+ * @public
387
+ */
388
+ FleetId?: string | undefined;
389
+ /**
390
+ * <p>The state of the EC2 Fleet.</p>
391
+ * @public
392
+ */
393
+ FleetState?: FleetStateCode | undefined;
394
+ /**
395
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
396
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
397
+ * idempotency</a>.</p>
398
+ * <p>Constraints: Maximum 64 ASCII characters</p>
399
+ * @public
400
+ */
401
+ ClientToken?: string | undefined;
402
+ /**
403
+ * <p>Indicates whether running instances should be terminated if the target capacity of the
404
+ * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
405
+ * <p>Supported only for fleets of type <code>maintain</code>.</p>
406
+ * @public
407
+ */
408
+ ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | undefined;
409
+ /**
410
+ * <p>The number of units fulfilled by this request compared to the set target
411
+ * capacity.</p>
412
+ * @public
413
+ */
414
+ FulfilledCapacity?: number | undefined;
415
+ /**
416
+ * <p>The number of units fulfilled by this request compared to the set target On-Demand
417
+ * capacity.</p>
418
+ * @public
419
+ */
420
+ FulfilledOnDemandCapacity?: number | undefined;
421
+ /**
422
+ * <p>The launch template and overrides.</p>
423
+ * @public
424
+ */
425
+ LaunchTemplateConfigs?: FleetLaunchTemplateConfig[] | undefined;
426
+ /**
427
+ * <p>The number of units to request. You can choose to set the target capacity in terms of
428
+ * instances or a performance characteristic that is important to your application workload,
429
+ * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
430
+ * specify a target capacity of 0 and add capacity later.</p>
431
+ * @public
432
+ */
433
+ TargetCapacitySpecification?: TargetCapacitySpecification | undefined;
434
+ /**
435
+ * <p>Indicates whether running instances should be terminated when the EC2 Fleet expires. </p>
436
+ * @public
437
+ */
438
+ TerminateInstancesWithExpiration?: boolean | undefined;
439
+ /**
440
+ * <p>The type of request. Indicates whether the EC2 Fleet only <code>requests</code> the target
441
+ * capacity, or also attempts to <code>maintain</code> it. If you request a certain target
442
+ * capacity, EC2 Fleet only places the required requests; it does not attempt to replenish
443
+ * instances if capacity is diminished, and it does not submit requests in alternative
444
+ * capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet
445
+ * places the required requests to meet this target capacity. It also automatically
446
+ * replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
447
+ * @public
448
+ */
449
+ Type?: FleetType | undefined;
450
+ /**
451
+ * <p>The start date and time of the request, in UTC format (for example,
452
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
453
+ * The default is to start fulfilling the request immediately. </p>
454
+ * @public
455
+ */
456
+ ValidFrom?: Date | undefined;
457
+ /**
458
+ * <p>The end date and time of the request, in UTC format (for example,
459
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
460
+ * At this point, no new instance requests are placed or able to fulfill the request. The
461
+ * default end date is 7 days from the current date. </p>
462
+ * @public
463
+ */
464
+ ValidUntil?: Date | undefined;
465
+ /**
466
+ * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
467
+ * 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
468
+ * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
469
+ * @public
470
+ */
471
+ ReplaceUnhealthyInstances?: boolean | undefined;
472
+ /**
473
+ * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
474
+ * @public
475
+ */
476
+ SpotOptions?: SpotOptions | undefined;
477
+ /**
478
+ * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
479
+ * @public
480
+ */
481
+ OnDemandOptions?: OnDemandOptions | undefined;
482
+ /**
483
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
484
+ * @public
485
+ */
486
+ ReservedCapacityOptions?: ReservedCapacityOptions | undefined;
487
+ /**
488
+ * <p>The tags for an EC2 Fleet resource.</p>
489
+ * @public
490
+ */
491
+ Tags?: Tag[] | undefined;
492
+ /**
493
+ * <p>Information about the instances that could not be launched by the fleet. Valid only when
494
+ * <b>Type</b> is set to <code>instant</code>.</p>
495
+ * @public
496
+ */
497
+ Errors?: DescribeFleetError[] | undefined;
498
+ /**
499
+ * <p>Information about the instances that were launched by the fleet. Valid only when
500
+ * <b>Type</b> is set to <code>instant</code>.</p>
501
+ * @public
502
+ */
503
+ Instances?: DescribeFleetsInstances[] | undefined;
504
+ /**
505
+ * <p>Reserved.</p>
506
+ * @public
507
+ */
508
+ Context?: string | undefined;
509
+ }
6
510
  /**
7
511
  * @public
8
512
  */
@@ -12365,370 +12869,3 @@ export interface DescribeRouteServerPeersRequest {
12365
12869
  */
12366
12870
  DryRun?: boolean | undefined;
12367
12871
  }
12368
- /**
12369
- * @public
12370
- */
12371
- export interface DescribeRouteServerPeersResult {
12372
- /**
12373
- * <p>Information about the described route server peers.</p>
12374
- * @public
12375
- */
12376
- RouteServerPeers?: RouteServerPeer[] | undefined;
12377
- /**
12378
- * <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>
12379
- * @public
12380
- */
12381
- NextToken?: string | undefined;
12382
- }
12383
- /**
12384
- * @public
12385
- */
12386
- export interface DescribeRouteServersRequest {
12387
- /**
12388
- * <p>The IDs of the route servers to describe.</p>
12389
- * @public
12390
- */
12391
- RouteServerIds?: string[] | undefined;
12392
- /**
12393
- * <p>The token for the next page of results.</p>
12394
- * @public
12395
- */
12396
- NextToken?: string | undefined;
12397
- /**
12398
- * <p>The maximum number of results to return with a single call.</p>
12399
- * @public
12400
- */
12401
- MaxResults?: number | undefined;
12402
- /**
12403
- * <p>One or more filters to apply to the describe request.</p>
12404
- * @public
12405
- */
12406
- Filters?: Filter[] | undefined;
12407
- /**
12408
- * <p>A check for whether you have the required permissions for the action without actually making the request
12409
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12410
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12411
- * @public
12412
- */
12413
- DryRun?: boolean | undefined;
12414
- }
12415
- /**
12416
- * @public
12417
- */
12418
- export interface DescribeRouteServersResult {
12419
- /**
12420
- * <p>Information about the described route servers.</p>
12421
- * @public
12422
- */
12423
- RouteServers?: RouteServer[] | undefined;
12424
- /**
12425
- * <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>
12426
- * @public
12427
- */
12428
- NextToken?: string | undefined;
12429
- }
12430
- /**
12431
- * @public
12432
- */
12433
- export interface DescribeRouteTablesRequest {
12434
- /**
12435
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
12436
- * @public
12437
- */
12438
- NextToken?: string | undefined;
12439
- /**
12440
- * <p>The maximum number of items to return for this request.
12441
- * To get the next page of items, make another request with the token returned in the output.
12442
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
12443
- * @public
12444
- */
12445
- MaxResults?: number | undefined;
12446
- /**
12447
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12448
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12449
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12450
- * @public
12451
- */
12452
- DryRun?: boolean | undefined;
12453
- /**
12454
- * <p>The IDs of the route tables.</p>
12455
- * @public
12456
- */
12457
- RouteTableIds?: string[] | undefined;
12458
- /**
12459
- * <p>The filters.</p>
12460
- * <ul>
12461
- * <li>
12462
- * <p>
12463
- * <code>association.gateway-id</code> - The ID of the gateway involved in the
12464
- * association.</p>
12465
- * </li>
12466
- * <li>
12467
- * <p>
12468
- * <code>association.route-table-association-id</code> - The ID of an association
12469
- * ID for the route table.</p>
12470
- * </li>
12471
- * <li>
12472
- * <p>
12473
- * <code>association.route-table-id</code> - The ID of the route table involved in
12474
- * the association.</p>
12475
- * </li>
12476
- * <li>
12477
- * <p>
12478
- * <code>association.subnet-id</code> - The ID of the subnet involved in the
12479
- * association.</p>
12480
- * </li>
12481
- * <li>
12482
- * <p>
12483
- * <code>association.main</code> - Indicates whether the route table is the main
12484
- * route table for the VPC (<code>true</code> | <code>false</code>). Route tables
12485
- * that do not have an association ID are not returned in the response.</p>
12486
- * </li>
12487
- * <li>
12488
- * <p>
12489
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the route table.</p>
12490
- * </li>
12491
- * <li>
12492
- * <p>
12493
- * <code>route-table-id</code> - The ID of the route table.</p>
12494
- * </li>
12495
- * <li>
12496
- * <p>
12497
- * <code>route.destination-cidr-block</code> - The IPv4 CIDR range specified in a
12498
- * route in the table.</p>
12499
- * </li>
12500
- * <li>
12501
- * <p>
12502
- * <code>route.destination-ipv6-cidr-block</code> - The IPv6 CIDR range specified in a route in the route table.</p>
12503
- * </li>
12504
- * <li>
12505
- * <p>
12506
- * <code>route.destination-prefix-list-id</code> - The ID (prefix) of the Amazon Web Services
12507
- * service specified in a route in the table.</p>
12508
- * </li>
12509
- * <li>
12510
- * <p>
12511
- * <code>route.egress-only-internet-gateway-id</code> - The ID of an
12512
- * egress-only Internet gateway specified in a route in the route table.</p>
12513
- * </li>
12514
- * <li>
12515
- * <p>
12516
- * <code>route.gateway-id</code> - The ID of a gateway specified in a route in the table.</p>
12517
- * </li>
12518
- * <li>
12519
- * <p>
12520
- * <code>route.instance-id</code> - The ID of an instance specified in a route in the table.</p>
12521
- * </li>
12522
- * <li>
12523
- * <p>
12524
- * <code>route.nat-gateway-id</code> - The ID of a NAT gateway.</p>
12525
- * </li>
12526
- * <li>
12527
- * <p>
12528
- * <code>route.transit-gateway-id</code> - The ID of a transit gateway.</p>
12529
- * </li>
12530
- * <li>
12531
- * <p>
12532
- * <code>route.origin</code> - Describes how the route was created.
12533
- * <code>CreateRouteTable</code> indicates that the route was automatically
12534
- * created when the route table was created; <code>CreateRoute</code> indicates
12535
- * that the route was manually added to the route table;
12536
- * <code>EnableVgwRoutePropagation</code> indicates that the route was
12537
- * propagated by route propagation.</p>
12538
- * </li>
12539
- * <li>
12540
- * <p>
12541
- * <code>route.state</code> - The state of a route in the route table
12542
- * (<code>active</code> | <code>blackhole</code>). The blackhole state
12543
- * indicates that the route's target isn't available (for example, the specified
12544
- * gateway isn't attached to the VPC, the specified NAT instance has been
12545
- * terminated, and so on).</p>
12546
- * </li>
12547
- * <li>
12548
- * <p>
12549
- * <code>route.vpc-peering-connection-id</code> - The ID of a VPC peering
12550
- * connection specified in a route in the table.</p>
12551
- * </li>
12552
- * <li>
12553
- * <p>
12554
- * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
12555
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
12556
- * </li>
12557
- * <li>
12558
- * <p>
12559
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
12560
- * </li>
12561
- * <li>
12562
- * <p>
12563
- * <code>vpc-id</code> - The ID of the VPC for the route table.</p>
12564
- * </li>
12565
- * </ul>
12566
- * @public
12567
- */
12568
- Filters?: Filter[] | undefined;
12569
- }
12570
- /**
12571
- * <p>Contains the output of DescribeRouteTables.</p>
12572
- * @public
12573
- */
12574
- export interface DescribeRouteTablesResult {
12575
- /**
12576
- * <p>Information about the route tables.</p>
12577
- * @public
12578
- */
12579
- RouteTables?: RouteTable[] | undefined;
12580
- /**
12581
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
12582
- * @public
12583
- */
12584
- NextToken?: string | undefined;
12585
- }
12586
- /**
12587
- * <p>Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.</p>
12588
- * @public
12589
- */
12590
- export interface SlotDateTimeRangeRequest {
12591
- /**
12592
- * <p>The earliest date and time, in UTC, for the Scheduled Instance to start.</p>
12593
- * @public
12594
- */
12595
- EarliestTime: Date | undefined;
12596
- /**
12597
- * <p>The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.</p>
12598
- * @public
12599
- */
12600
- LatestTime: Date | undefined;
12601
- }
12602
- /**
12603
- * <p>Describes the recurring schedule for a Scheduled Instance.</p>
12604
- * @public
12605
- */
12606
- export interface ScheduledInstanceRecurrenceRequest {
12607
- /**
12608
- * <p>The frequency (<code>Daily</code>, <code>Weekly</code>, or <code>Monthly</code>).</p>
12609
- * @public
12610
- */
12611
- Frequency?: string | undefined;
12612
- /**
12613
- * <p>The interval quantity. The interval unit depends on the value of <code>Frequency</code>. For example, every 2
12614
- * weeks or every 2 months.</p>
12615
- * @public
12616
- */
12617
- Interval?: number | undefined;
12618
- /**
12619
- * <p>The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.</p>
12620
- * @public
12621
- */
12622
- OccurrenceDays?: number[] | undefined;
12623
- /**
12624
- * <p>Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.</p>
12625
- * @public
12626
- */
12627
- OccurrenceRelativeToEnd?: boolean | undefined;
12628
- /**
12629
- * <p>The unit for <code>OccurrenceDays</code> (<code>DayOfWeek</code> or <code>DayOfMonth</code>).
12630
- * This value is required for a monthly schedule.
12631
- * You can't specify <code>DayOfWeek</code> with a weekly schedule.
12632
- * You can't specify this value with a daily schedule.</p>
12633
- * @public
12634
- */
12635
- OccurrenceUnit?: string | undefined;
12636
- }
12637
- /**
12638
- * <p>Contains the parameters for DescribeScheduledInstanceAvailability.</p>
12639
- * @public
12640
- */
12641
- export interface DescribeScheduledInstanceAvailabilityRequest {
12642
- /**
12643
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12644
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12645
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12646
- * @public
12647
- */
12648
- DryRun?: boolean | undefined;
12649
- /**
12650
- * <p>The filters.</p>
12651
- * <ul>
12652
- * <li>
12653
- * <p>
12654
- * <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
12655
- * </li>
12656
- * <li>
12657
- * <p>
12658
- * <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
12659
- * </li>
12660
- * <li>
12661
- * <p>
12662
- * <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
12663
- * </li>
12664
- * </ul>
12665
- * @public
12666
- */
12667
- Filters?: Filter[] | undefined;
12668
- /**
12669
- * <p>The time period for the first schedule to start.</p>
12670
- * @public
12671
- */
12672
- FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined;
12673
- /**
12674
- * <p>The maximum number of results to return in a single call.
12675
- * This value can be between 5 and 300. The default value is 300.
12676
- * To retrieve the remaining results, make another call with the returned
12677
- * <code>NextToken</code> value.</p>
12678
- * @public
12679
- */
12680
- MaxResults?: number | undefined;
12681
- /**
12682
- * <p>The maximum available duration, in hours. This value must be greater than <code>MinSlotDurationInHours</code>
12683
- * and less than 1,720.</p>
12684
- * @public
12685
- */
12686
- MaxSlotDurationInHours?: number | undefined;
12687
- /**
12688
- * <p>The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.</p>
12689
- * @public
12690
- */
12691
- MinSlotDurationInHours?: number | undefined;
12692
- /**
12693
- * <p>The token for the next set of results.</p>
12694
- * @public
12695
- */
12696
- NextToken?: string | undefined;
12697
- /**
12698
- * <p>The schedule recurrence.</p>
12699
- * @public
12700
- */
12701
- Recurrence: ScheduledInstanceRecurrenceRequest | undefined;
12702
- }
12703
- /**
12704
- * <p>Describes the recurring schedule for a Scheduled Instance.</p>
12705
- * @public
12706
- */
12707
- export interface ScheduledInstanceRecurrence {
12708
- /**
12709
- * <p>The frequency (<code>Daily</code>, <code>Weekly</code>, or <code>Monthly</code>).</p>
12710
- * @public
12711
- */
12712
- Frequency?: string | undefined;
12713
- /**
12714
- * <p>The interval quantity. The interval unit depends on the value of <code>frequency</code>. For example, every 2
12715
- * weeks or every 2 months.</p>
12716
- * @public
12717
- */
12718
- Interval?: number | undefined;
12719
- /**
12720
- * <p>The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).</p>
12721
- * @public
12722
- */
12723
- OccurrenceDaySet?: number[] | undefined;
12724
- /**
12725
- * <p>Indicates whether the occurrence is relative to the end of the specified week or month.</p>
12726
- * @public
12727
- */
12728
- OccurrenceRelativeToEnd?: boolean | undefined;
12729
- /**
12730
- * <p>The unit for <code>occurrenceDaySet</code> (<code>DayOfWeek</code> or <code>DayOfMonth</code>).</p>
12731
- * @public
12732
- */
12733
- OccurrenceUnit?: string | undefined;
12734
- }