@aws-sdk/client-ec2 3.699.0 → 3.703.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 (303) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +2214 -445
  3. package/dist-es/EC2.js +22 -0
  4. package/dist-es/commands/CancelDeclarativePoliciesReportCommand.js +22 -0
  5. package/dist-es/commands/DescribeDeclarativePoliciesReportsCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcEndpointAssociationsCommand.js +22 -0
  7. package/dist-es/commands/DisableAllowedImagesSettingsCommand.js +22 -0
  8. package/dist-es/commands/EnableAllowedImagesSettingsCommand.js +22 -0
  9. package/dist-es/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.js +23 -0
  10. package/dist-es/commands/GetAllowedImagesSettingsCommand.js +22 -0
  11. package/dist-es/commands/GetDeclarativePoliciesReportSummaryCommand.js +22 -0
  12. package/dist-es/commands/GetVerifiedAccessEndpointTargetsCommand.js +22 -0
  13. package/dist-es/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.js +22 -0
  14. package/dist-es/commands/StartDeclarativePoliciesReportCommand.js +22 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/index.js +1 -0
  17. package/dist-es/models/models_0.js +9 -32
  18. package/dist-es/models/models_1.js +50 -11
  19. package/dist-es/models/models_2.js +32 -19
  20. package/dist-es/models/models_3.js +21 -13
  21. package/dist-es/models/models_4.js +13 -0
  22. package/dist-es/models/models_5.js +8 -3
  23. package/dist-es/models/models_6.js +13 -8
  24. package/dist-es/models/models_7.js +15 -0
  25. package/dist-es/models/models_8.js +1 -0
  26. package/dist-es/protocols/Aws_ec2.js +1655 -132
  27. package/dist-types/EC2.d.ts +82 -0
  28. package/dist-types/EC2Client.d.ts +13 -2
  29. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  30. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  31. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  32. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  33. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +15 -0
  34. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  35. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  36. package/dist-types/commands/CancelDeclarativePoliciesReportCommand.d.ts +77 -0
  37. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  38. package/dist-types/commands/CopySnapshotCommand.d.ts +2 -1
  39. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -3
  41. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +3 -3
  42. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateFleetCommand.d.ts +5 -5
  49. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  63. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -4
  64. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +3 -2
  68. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -3
  69. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  73. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  74. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSnapshotCommand.d.ts +4 -1
  80. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +82 -10
  97. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +8 -1
  99. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +20 -1
  100. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +28 -5
  104. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -0
  105. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +11 -1
  106. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  109. package/dist-types/commands/DeleteCoipPoolCommand.d.ts +1 -1
  110. package/dist-types/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  111. package/dist-types/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  112. package/dist-types/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  113. package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
  114. package/dist-types/commands/DeleteFlowLogsCommand.d.ts +1 -1
  115. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +1 -2
  116. package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +39 -3
  117. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +6 -0
  118. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +9 -0
  119. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +102 -0
  121. package/dist-types/commands/DescribeFleetsCommand.d.ts +6 -5
  122. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -2
  124. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  125. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
  126. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  128. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  129. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -2
  130. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -2
  131. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  132. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -2
  133. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -3
  134. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +1 -2
  136. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +3 -0
  137. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
  138. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  139. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  140. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  141. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +39 -3
  142. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +6 -0
  143. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +9 -0
  144. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
  145. package/dist-types/commands/DescribeVpcEndpointAssociationsCommand.d.ts +112 -0
  146. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -0
  147. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
  148. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +7 -0
  149. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +4 -0
  150. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +22 -2
  151. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +15 -0
  152. package/dist-types/commands/DisableAllowedImagesSettingsCommand.d.ts +82 -0
  153. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +100 -0
  154. package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -1
  155. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  156. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  157. package/dist-types/commands/EnableImageCommand.d.ts +1 -1
  158. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
  159. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
  160. package/dist-types/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  161. package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
  162. package/dist-types/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  163. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  164. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  165. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  166. package/dist-types/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +99 -0
  167. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +88 -0
  168. package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +102 -0
  169. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -0
  170. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -0
  171. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  172. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -0
  173. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -0
  174. package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +81 -0
  175. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  176. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  177. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  178. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  179. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  180. package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
  181. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  182. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  183. package/dist-types/commands/ModifyIpamCommand.d.ts +1 -1
  184. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
  185. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  186. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  187. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
  188. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  189. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  190. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  191. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  192. package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  193. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  194. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  195. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  196. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  197. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -2
  198. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  199. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +68 -5
  200. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +7 -0
  201. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +19 -0
  202. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
  203. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +3 -4
  204. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  205. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  206. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  207. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  208. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +86 -0
  209. package/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
  210. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  211. package/dist-types/commands/RunInstancesCommand.d.ts +3 -3
  212. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +129 -0
  213. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  214. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  215. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -1
  216. package/dist-types/commands/index.d.ts +11 -0
  217. package/dist-types/models/index.d.ts +1 -0
  218. package/dist-types/models/models_0.d.ts +129 -298
  219. package/dist-types/models/models_1.d.ts +339 -202
  220. package/dist-types/models/models_2.d.ts +637 -289
  221. package/dist-types/models/models_3.d.ts +417 -861
  222. package/dist-types/models/models_4.d.ts +7130 -7145
  223. package/dist-types/models/models_5.d.ts +5633 -4991
  224. package/dist-types/models/models_6.d.ts +4335 -4505
  225. package/dist-types/models/models_7.d.ts +1540 -24
  226. package/dist-types/models/models_8.d.ts +11 -0
  227. package/dist-types/protocols/Aws_ec2.d.ts +99 -0
  228. package/dist-types/ts3.4/EC2.d.ts +216 -0
  229. package/dist-types/ts3.4/EC2Client.d.ts +66 -0
  230. package/dist-types/ts3.4/commands/CancelDeclarativePoliciesReportCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +4 -2
  232. package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +2 -4
  233. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +4 -2
  234. package/dist-types/ts3.4/commands/DeleteCoipPoolCommand.d.ts +1 -1
  235. package/dist-types/ts3.4/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  237. package/dist-types/ts3.4/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/DeleteFleetsCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/DeleteFlowLogsCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +4 -2
  241. package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -4
  243. package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +4 -2
  245. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -4
  246. package/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -2
  251. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +51 -0
  252. package/dist-types/ts3.4/commands/DisableAllowedImagesSettingsCommand.d.ts +51 -0
  253. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +51 -0
  254. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -1
  255. package/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  256. package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  257. package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +1 -1
  258. package/dist-types/ts3.4/commands/EnableImageDeprecationCommand.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
  260. package/dist-types/ts3.4/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  261. package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
  262. package/dist-types/ts3.4/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  263. package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  264. package/dist-types/ts3.4/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  265. package/dist-types/ts3.4/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +51 -0
  266. package/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +51 -0
  267. package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +51 -0
  268. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +51 -0
  269. package/dist-types/ts3.4/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
  270. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  271. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  272. package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +1 -1
  273. package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
  274. package/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  275. package/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  276. package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +1 -1
  277. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  278. package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  279. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  280. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  281. package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  282. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  283. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  284. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  285. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  286. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  287. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  288. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +51 -0
  289. package/dist-types/ts3.4/commands/StartDeclarativePoliciesReportCommand.d.ts +51 -0
  290. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -4
  291. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  292. package/dist-types/ts3.4/models/index.d.ts +1 -0
  293. package/dist-types/ts3.4/models/models_0.d.ts +38 -64
  294. package/dist-types/ts3.4/models/models_1.d.ts +83 -54
  295. package/dist-types/ts3.4/models/models_2.d.ts +158 -89
  296. package/dist-types/ts3.4/models/models_3.d.ts +103 -163
  297. package/dist-types/ts3.4/models/models_4.d.ts +164 -153
  298. package/dist-types/ts3.4/models/models_5.d.ts +211 -135
  299. package/dist-types/ts3.4/models/models_6.d.ts +245 -282
  300. package/dist-types/ts3.4/models/models_7.d.ts +341 -6
  301. package/dist-types/ts3.4/models/models_8.d.ts +4 -0
  302. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +132 -0
  303. package/package.json +1 -1
@@ -1,6 +1,270 @@
1
- import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, CapacityReservation, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
1
+ import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, PlatformValues, TransportProtocol } from "./models_1";
3
+ import { GroupIdentifier, ManagedPrefixList, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteCoipPoolRequest {
8
+ /**
9
+ * <p>The ID of the CoIP pool that you want to delete. </p>
10
+ * @public
11
+ */
12
+ CoipPoolId: string | undefined;
13
+ /**
14
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
15
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
16
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
17
+ * @public
18
+ */
19
+ DryRun?: boolean | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface DeleteCoipPoolResult {
25
+ /**
26
+ * <p>Information about the CoIP address pool.</p>
27
+ * @public
28
+ */
29
+ CoipPool?: CoipPool | undefined;
30
+ }
31
+ /**
32
+ * <p>Contains the parameters for DeleteCustomerGateway.</p>
33
+ * @public
34
+ */
35
+ export interface DeleteCustomerGatewayRequest {
36
+ /**
37
+ * <p>The ID of the customer gateway.</p>
38
+ * @public
39
+ */
40
+ CustomerGatewayId: string | undefined;
41
+ /**
42
+ * <p>Checks whether you have the required permissions for the action, without actually
43
+ * making the request, and provides an error response. If you have the required
44
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
45
+ * <code>UnauthorizedOperation</code>.</p>
46
+ * @public
47
+ */
48
+ DryRun?: boolean | undefined;
49
+ }
50
+ /**
51
+ * @public
52
+ */
53
+ export interface DeleteDhcpOptionsRequest {
54
+ /**
55
+ * <p>The ID of the DHCP options set.</p>
56
+ * @public
57
+ */
58
+ DhcpOptionsId: string | undefined;
59
+ /**
60
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
61
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
62
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
63
+ * @public
64
+ */
65
+ DryRun?: boolean | undefined;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface DeleteEgressOnlyInternetGatewayRequest {
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
+ * <p>The ID of the egress-only internet gateway.</p>
80
+ * @public
81
+ */
82
+ EgressOnlyInternetGatewayId: string | undefined;
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface DeleteEgressOnlyInternetGatewayResult {
88
+ /**
89
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
90
+ * @public
91
+ */
92
+ ReturnCode?: boolean | undefined;
93
+ }
94
+ /**
95
+ * @public
96
+ */
97
+ export interface DeleteFleetsRequest {
98
+ /**
99
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
100
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
101
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
102
+ * @public
103
+ */
104
+ DryRun?: boolean | undefined;
105
+ /**
106
+ * <p>The IDs of the EC2 Fleets.</p>
107
+ * <p>Constraints: In a single request, you can specify up to 25 <code>instant</code> fleet
108
+ * IDs and up to 100 <code>maintain</code> or <code>request</code> fleet IDs. </p>
109
+ * @public
110
+ */
111
+ FleetIds: string[] | undefined;
112
+ /**
113
+ * <p>Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to
114
+ * terminate the instances.</p>
115
+ * <p>To let the instances continue to run after the EC2 Fleet is deleted, specify
116
+ * <code>no-terminate-instances</code>. Supported only for fleets of type
117
+ * <code>maintain</code> and <code>request</code>.</p>
118
+ * <p>For <code>instant</code> fleets, you cannot specify <code>NoTerminateInstances</code>. A
119
+ * deleted <code>instant</code> fleet with running instances is not supported.</p>
120
+ * @public
121
+ */
122
+ TerminateInstances: boolean | undefined;
123
+ }
124
+ /**
125
+ * @public
126
+ * @enum
127
+ */
128
+ export declare const FleetStateCode: {
129
+ readonly ACTIVE: "active";
130
+ readonly DELETED: "deleted";
131
+ readonly DELETED_RUNNING: "deleted_running";
132
+ readonly DELETED_TERMINATING_INSTANCES: "deleted_terminating";
133
+ readonly FAILED: "failed";
134
+ readonly MODIFYING: "modifying";
135
+ readonly SUBMITTED: "submitted";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type FleetStateCode = (typeof FleetStateCode)[keyof typeof FleetStateCode];
141
+ /**
142
+ * <p>Describes an EC2 Fleet that was successfully deleted.</p>
143
+ * @public
144
+ */
145
+ export interface DeleteFleetSuccessItem {
146
+ /**
147
+ * <p>The current state of the EC2 Fleet.</p>
148
+ * @public
149
+ */
150
+ CurrentFleetState?: FleetStateCode | undefined;
151
+ /**
152
+ * <p>The previous state of the EC2 Fleet.</p>
153
+ * @public
154
+ */
155
+ PreviousFleetState?: FleetStateCode | undefined;
156
+ /**
157
+ * <p>The ID of the EC2 Fleet.</p>
158
+ * @public
159
+ */
160
+ FleetId?: string | undefined;
161
+ }
162
+ /**
163
+ * @public
164
+ * @enum
165
+ */
166
+ export declare const DeleteFleetErrorCode: {
167
+ readonly FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist";
168
+ readonly FLEET_ID_MALFORMED: "fleetIdMalformed";
169
+ readonly FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState";
170
+ readonly UNEXPECTED_ERROR: "unexpectedError";
171
+ };
172
+ /**
173
+ * @public
174
+ */
175
+ export type DeleteFleetErrorCode = (typeof DeleteFleetErrorCode)[keyof typeof DeleteFleetErrorCode];
176
+ /**
177
+ * <p>Describes an EC2 Fleet error.</p>
178
+ * @public
179
+ */
180
+ export interface DeleteFleetError {
181
+ /**
182
+ * <p>The error code.</p>
183
+ * @public
184
+ */
185
+ Code?: DeleteFleetErrorCode | undefined;
186
+ /**
187
+ * <p>The description for the error code.</p>
188
+ * @public
189
+ */
190
+ Message?: string | undefined;
191
+ }
192
+ /**
193
+ * <p>Describes an EC2 Fleet that was not successfully deleted.</p>
194
+ * @public
195
+ */
196
+ export interface DeleteFleetErrorItem {
197
+ /**
198
+ * <p>The error.</p>
199
+ * @public
200
+ */
201
+ Error?: DeleteFleetError | undefined;
202
+ /**
203
+ * <p>The ID of the EC2 Fleet.</p>
204
+ * @public
205
+ */
206
+ FleetId?: string | undefined;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface DeleteFleetsResult {
212
+ /**
213
+ * <p>Information about the EC2 Fleets that are successfully deleted.</p>
214
+ * @public
215
+ */
216
+ SuccessfulFleetDeletions?: DeleteFleetSuccessItem[] | undefined;
217
+ /**
218
+ * <p>Information about the EC2 Fleets that are not successfully deleted.</p>
219
+ * @public
220
+ */
221
+ UnsuccessfulFleetDeletions?: DeleteFleetErrorItem[] | undefined;
222
+ }
223
+ /**
224
+ * @public
225
+ */
226
+ export interface DeleteFlowLogsRequest {
227
+ /**
228
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
229
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
230
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
231
+ * @public
232
+ */
233
+ DryRun?: boolean | undefined;
234
+ /**
235
+ * <p>One or more flow log IDs.</p>
236
+ * <p>Constraint: Maximum of 1000 flow log IDs.</p>
237
+ * @public
238
+ */
239
+ FlowLogIds: string[] | undefined;
240
+ }
241
+ /**
242
+ * @public
243
+ */
244
+ export interface DeleteFlowLogsResult {
245
+ /**
246
+ * <p>Information about the flow logs that could not be deleted successfully.</p>
247
+ * @public
248
+ */
249
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
250
+ }
251
+ /**
252
+ * @public
253
+ */
254
+ export interface DeleteFpgaImageRequest {
255
+ /**
256
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
257
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
258
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
259
+ * @public
260
+ */
261
+ DryRun?: boolean | undefined;
262
+ /**
263
+ * <p>The ID of the AFI.</p>
264
+ * @public
265
+ */
266
+ FpgaImageId: string | undefined;
267
+ }
4
268
  /**
5
269
  * @public
6
270
  */
@@ -5500,12 +5764,14 @@ export interface DescribeCustomerGatewaysResult {
5500
5764
  /**
5501
5765
  * @public
5502
5766
  */
5503
- export interface DescribeDhcpOptionsRequest {
5767
+ export interface DescribeDeclarativePoliciesReportsRequest {
5504
5768
  /**
5505
- * <p>The IDs of DHCP option sets.</p>
5769
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5770
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5771
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5506
5772
  * @public
5507
5773
  */
5508
- DhcpOptionsIds?: string[] | undefined;
5774
+ DryRun?: boolean | undefined;
5509
5775
  /**
5510
5776
  * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
5511
5777
  * @public
@@ -5519,47 +5785,164 @@ export interface DescribeDhcpOptionsRequest {
5519
5785
  */
5520
5786
  MaxResults?: number | undefined;
5521
5787
  /**
5522
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5523
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5524
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5788
+ * <p>One or more report IDs.</p>
5525
5789
  * @public
5526
5790
  */
5527
- DryRun?: boolean | undefined;
5791
+ ReportIds?: string[] | undefined;
5792
+ }
5793
+ /**
5794
+ * @public
5795
+ * @enum
5796
+ */
5797
+ export declare const ReportState: {
5798
+ readonly cancelled: "cancelled";
5799
+ readonly complete: "complete";
5800
+ readonly error: "error";
5801
+ readonly running: "running";
5802
+ };
5803
+ /**
5804
+ * @public
5805
+ */
5806
+ export type ReportState = (typeof ReportState)[keyof typeof ReportState];
5807
+ /**
5808
+ * <p>Describes the metadata of the account status report.</p>
5809
+ * @public
5810
+ */
5811
+ export interface DeclarativePoliciesReport {
5528
5812
  /**
5529
- * <p>The filters.</p>
5813
+ * <p>The ID of the report.</p>
5814
+ * @public
5815
+ */
5816
+ ReportId?: string | undefined;
5817
+ /**
5818
+ * <p>The name of the Amazon S3 bucket where the report is located.</p>
5819
+ * @public
5820
+ */
5821
+ S3Bucket?: string | undefined;
5822
+ /**
5823
+ * <p>The prefix for your S3 object.</p>
5824
+ * @public
5825
+ */
5826
+ S3Prefix?: string | undefined;
5827
+ /**
5828
+ * <p>The root ID, organizational unit ID, or account ID.</p>
5829
+ * <p>Format:</p>
5530
5830
  * <ul>
5531
5831
  * <li>
5532
- * <p>
5533
- * <code>dhcp-options-id</code> - The ID of a DHCP options set.</p>
5534
- * </li>
5535
- * <li>
5536
- * <p>
5537
- * <code>key</code> - The key for one of the options (for example, <code>domain-name</code>).</p>
5538
- * </li>
5539
- * <li>
5540
- * <p>
5541
- * <code>value</code> - The value for one of the options.</p>
5542
- * </li>
5543
- * <li>
5544
- * <p>
5545
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the DHCP options set.</p>
5832
+ * <p>For root: <code>r-ab12</code>
5833
+ * </p>
5546
5834
  * </li>
5547
5835
  * <li>
5548
- * <p>
5549
- * <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.
5550
- * 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>
5836
+ * <p>For OU: <code>ou-ab12-cdef1234</code>
5837
+ * </p>
5551
5838
  * </li>
5552
5839
  * <li>
5553
- * <p>
5554
- * <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>
5840
+ * <p>For account: <code>123456789012</code>
5841
+ * </p>
5555
5842
  * </li>
5556
5843
  * </ul>
5557
5844
  * @public
5558
5845
  */
5559
- Filters?: Filter[] | undefined;
5560
- }
5561
- /**
5562
- * @public
5846
+ TargetId?: string | undefined;
5847
+ /**
5848
+ * <p>The time when the report generation started.</p>
5849
+ * @public
5850
+ */
5851
+ StartTime?: Date | undefined;
5852
+ /**
5853
+ * <p>The time when the report generation ended.</p>
5854
+ * @public
5855
+ */
5856
+ EndTime?: Date | undefined;
5857
+ /**
5858
+ * <p>The current status of the report.</p>
5859
+ * @public
5860
+ */
5861
+ Status?: ReportState | undefined;
5862
+ /**
5863
+ * <p>Any tags assigned to the report.</p>
5864
+ * @public
5865
+ */
5866
+ Tags?: Tag[] | undefined;
5867
+ }
5868
+ /**
5869
+ * @public
5870
+ */
5871
+ export interface DescribeDeclarativePoliciesReportsResult {
5872
+ /**
5873
+ * <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>
5874
+ * @public
5875
+ */
5876
+ NextToken?: string | undefined;
5877
+ /**
5878
+ * <p>The report metadata.</p>
5879
+ * @public
5880
+ */
5881
+ Reports?: DeclarativePoliciesReport[] | undefined;
5882
+ }
5883
+ /**
5884
+ * @public
5885
+ */
5886
+ export interface DescribeDhcpOptionsRequest {
5887
+ /**
5888
+ * <p>The IDs of DHCP option sets.</p>
5889
+ * @public
5890
+ */
5891
+ DhcpOptionsIds?: string[] | undefined;
5892
+ /**
5893
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
5894
+ * @public
5895
+ */
5896
+ NextToken?: string | undefined;
5897
+ /**
5898
+ * <p>The maximum number of items to return for this request.
5899
+ * To get the next page of items, make another request with the token returned in the output.
5900
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5901
+ * @public
5902
+ */
5903
+ MaxResults?: number | undefined;
5904
+ /**
5905
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5906
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5907
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5908
+ * @public
5909
+ */
5910
+ DryRun?: boolean | undefined;
5911
+ /**
5912
+ * <p>The filters.</p>
5913
+ * <ul>
5914
+ * <li>
5915
+ * <p>
5916
+ * <code>dhcp-options-id</code> - The ID of a DHCP options set.</p>
5917
+ * </li>
5918
+ * <li>
5919
+ * <p>
5920
+ * <code>key</code> - The key for one of the options (for example, <code>domain-name</code>).</p>
5921
+ * </li>
5922
+ * <li>
5923
+ * <p>
5924
+ * <code>value</code> - The value for one of the options.</p>
5925
+ * </li>
5926
+ * <li>
5927
+ * <p>
5928
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the DHCP options set.</p>
5929
+ * </li>
5930
+ * <li>
5931
+ * <p>
5932
+ * <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.
5933
+ * 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>
5934
+ * </li>
5935
+ * <li>
5936
+ * <p>
5937
+ * <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>
5938
+ * </li>
5939
+ * </ul>
5940
+ * @public
5941
+ */
5942
+ Filters?: Filter[] | undefined;
5943
+ }
5944
+ /**
5945
+ * @public
5563
5946
  */
5564
5947
  export interface DescribeDhcpOptionsResult {
5565
5948
  /**
@@ -6679,833 +7062,6 @@ export declare const FleetActivityStatus: {
6679
7062
  * @public
6680
7063
  */
6681
7064
  export type FleetActivityStatus = (typeof FleetActivityStatus)[keyof typeof FleetActivityStatus];
6682
- /**
6683
- * <p>Describes the instances that could not be launched by the fleet.</p>
6684
- * @public
6685
- */
6686
- export interface DescribeFleetError {
6687
- /**
6688
- * <p>The launch templates and overrides that were used for launching the instances. The
6689
- * values that you specify in the Overrides replace the values in the launch template.</p>
6690
- * @public
6691
- */
6692
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6693
- /**
6694
- * <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
6695
- * @public
6696
- */
6697
- Lifecycle?: InstanceLifecycle | undefined;
6698
- /**
6699
- * <p>The error code that indicates why the instance could not be launched. For more
6700
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
6701
- * @public
6702
- */
6703
- ErrorCode?: string | undefined;
6704
- /**
6705
- * <p>The error message that describes why the instance could not be launched. For more
6706
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
6707
- * @public
6708
- */
6709
- ErrorMessage?: string | undefined;
6710
- }
6711
- /**
6712
- * <p>Describes the instances that were launched by the fleet.</p>
6713
- * @public
6714
- */
6715
- export interface DescribeFleetsInstances {
6716
- /**
6717
- * <p>The launch templates and overrides that were used for launching the instances. The
6718
- * values that you specify in the Overrides replace the values in the launch template.</p>
6719
- * @public
6720
- */
6721
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6722
- /**
6723
- * <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
6724
- * @public
6725
- */
6726
- Lifecycle?: InstanceLifecycle | undefined;
6727
- /**
6728
- * <p>The IDs of the instances.</p>
6729
- * @public
6730
- */
6731
- InstanceIds?: string[] | undefined;
6732
- /**
6733
- * <p>The instance type.</p>
6734
- * @public
6735
- */
6736
- InstanceType?: _InstanceType | undefined;
6737
- /**
6738
- * <p>The value is <code>windows</code> for Windows instances in an EC2 Fleet. Otherwise, the value is
6739
- * blank.</p>
6740
- * @public
6741
- */
6742
- Platform?: PlatformValues | undefined;
6743
- }
6744
- /**
6745
- * <p>Describes a launch template and overrides.</p>
6746
- * @public
6747
- */
6748
- export interface FleetLaunchTemplateConfig {
6749
- /**
6750
- * <p>The launch template.</p>
6751
- * @public
6752
- */
6753
- LaunchTemplateSpecification?: FleetLaunchTemplateSpecification | undefined;
6754
- /**
6755
- * <p>Any parameters that you specify override the same parameters in the launch
6756
- * template.</p>
6757
- * @public
6758
- */
6759
- Overrides?: FleetLaunchTemplateOverrides[] | undefined;
6760
- }
6761
- /**
6762
- * <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
6763
- * capacity.</p>
6764
- * <note>
6765
- * <p>This strategy can only be used if the EC2 Fleet is of type
6766
- * <code>instant</code>.</p>
6767
- * </note>
6768
- * <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
6769
- * Reservations</a> in the <i>Amazon EC2 User Guide</i>. For examples of using
6770
- * Capacity Reservations in an EC2 Fleet, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html">EC2 Fleet example
6771
- * configurations</a> in the <i>Amazon EC2 User Guide</i>.</p>
6772
- * @public
6773
- */
6774
- export interface CapacityReservationOptions {
6775
- /**
6776
- * <p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p>
6777
- * <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused
6778
- * Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If
6779
- * multiple instance pools have unused Capacity Reservations, the On-Demand allocation
6780
- * strategy (<code>lowest-price</code> or <code>prioritized</code>) is applied. If the number
6781
- * of unused Capacity Reservations is less than the On-Demand target capacity, the remaining
6782
- * On-Demand target capacity is launched according to the On-Demand allocation strategy
6783
- * (<code>lowest-price</code> or <code>prioritized</code>).</p>
6784
- * <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
6785
- * chosen On-Demand allocation strategy.</p>
6786
- * @public
6787
- */
6788
- UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
6789
- }
6790
- /**
6791
- * <p>Describes the configuration of On-Demand Instances in an EC2 Fleet.</p>
6792
- * @public
6793
- */
6794
- export interface OnDemandOptions {
6795
- /**
6796
- * <p>The strategy that determines the order of the launch template overrides to use in
6797
- * fulfilling On-Demand capacity.</p>
6798
- * <p>
6799
- * <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
6800
- * price first.</p>
6801
- * <p>
6802
- * <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
6803
- * template override, launching the highest priority first.</p>
6804
- * <p>Default: <code>lowest-price</code>
6805
- * </p>
6806
- * @public
6807
- */
6808
- AllocationStrategy?: FleetOnDemandAllocationStrategy | undefined;
6809
- /**
6810
- * <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
6811
- * capacity.</p>
6812
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6813
- * @public
6814
- */
6815
- CapacityReservationOptions?: CapacityReservationOptions | undefined;
6816
- /**
6817
- * <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
6818
- * fleet.</p>
6819
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6820
- * @public
6821
- */
6822
- SingleInstanceType?: boolean | undefined;
6823
- /**
6824
- * <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
6825
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6826
- * @public
6827
- */
6828
- SingleAvailabilityZone?: boolean | undefined;
6829
- /**
6830
- * <p>The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't
6831
- * reached, no instances are launched.</p>
6832
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
6833
- * <code>instant</code>.</p>
6834
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
6835
- * <code>SingleInstanceType</code>
6836
- * </p>
6837
- * @public
6838
- */
6839
- MinTargetCapacity?: number | undefined;
6840
- /**
6841
- * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
6842
- * <note>
6843
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
6844
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
6845
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
6846
- * and, if you use surplus credits, your final cost might be higher than what you specified
6847
- * 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
6848
- * <i>Amazon EC2 User Guide</i>.</p>
6849
- * </note>
6850
- * @public
6851
- */
6852
- MaxTotalPrice?: string | undefined;
6853
- }
6854
- /**
6855
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
6856
- * elevated risk of being interrupted.</p>
6857
- * @public
6858
- */
6859
- export interface FleetSpotCapacityRebalance {
6860
- /**
6861
- * <p>The replacement strategy to use. Only available for fleets of type
6862
- * <code>maintain</code>.</p>
6863
- * <p>
6864
- * <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a
6865
- * rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet
6866
- * does not terminate the instances that receive a rebalance notification. You can terminate
6867
- * the old instances, or you can leave them running. You are charged for all instances while
6868
- * they are running. </p>
6869
- * <p>
6870
- * <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot
6871
- * Instance when a rebalance notification is emitted for an existing Spot Instance in the
6872
- * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
6873
- * terminates the instances that received a rebalance notification.</p>
6874
- * @public
6875
- */
6876
- ReplacementStrategy?: FleetReplacementStrategy | undefined;
6877
- /**
6878
- * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
6879
- * Instance after launching a new replacement Spot Instance.</p>
6880
- * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
6881
- * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
6882
- * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
6883
- * @public
6884
- */
6885
- TerminationDelay?: number | undefined;
6886
- }
6887
- /**
6888
- * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
6889
- * interrupted.</p>
6890
- * @public
6891
- */
6892
- export interface FleetSpotMaintenanceStrategies {
6893
- /**
6894
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
6895
- * elevated risk of being interrupted.</p>
6896
- * @public
6897
- */
6898
- CapacityRebalance?: FleetSpotCapacityRebalance | undefined;
6899
- }
6900
- /**
6901
- * <p>Describes the configuration of Spot Instances in an EC2 Fleet.</p>
6902
- * @public
6903
- */
6904
- export interface SpotOptions {
6905
- /**
6906
- * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
6907
- * 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
6908
- * <i>Amazon EC2 User Guide</i>.</p>
6909
- * <dl>
6910
- * <dt>price-capacity-optimized (recommended)</dt>
6911
- * <dd>
6912
- * <p>EC2 Fleet identifies the pools with
6913
- * the highest capacity availability for the number of instances that are launching. This means
6914
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
6915
- * in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
6916
- * </dd>
6917
- * <dt>capacity-optimized</dt>
6918
- * <dd>
6919
- * <p>EC2 Fleet identifies the pools with
6920
- * the highest capacity availability for the number of instances that are launching. This means
6921
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
6922
- * in the near term. To give certain
6923
- * instance types a higher chance of launching first, use
6924
- * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
6925
- * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
6926
- * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
6927
- * the priorities on a best-effort basis, but optimizes for capacity first.
6928
- * <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
6929
- * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
6930
- * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
6931
- * capacity.</p>
6932
- * </dd>
6933
- * <dt>diversified</dt>
6934
- * <dd>
6935
- * <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
6936
- * specify.</p>
6937
- * </dd>
6938
- * <dt>lowest-price (not recommended)</dt>
6939
- * <dd>
6940
- * <important>
6941
- * <p>We don't recommend the <code>lowest-price</code> allocation strategy because
6942
- * it has the highest risk of interruption for your Spot Instances.</p>
6943
- * </important>
6944
- * <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available
6945
- * capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
6946
- * come from the next lowest priced pool that has available capacity. If a pool runs
6947
- * out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to
6948
- * fulfill your request by drawing from the next lowest priced pool. To ensure that
6949
- * your desired capacity is met, you might receive Spot Instances from several pools. Because
6950
- * this strategy only considers instance price and not capacity availability, it
6951
- * might lead to high interruption rates.</p>
6952
- * </dd>
6953
- * </dl>
6954
- * <p>Default: <code>lowest-price</code>
6955
- * </p>
6956
- * @public
6957
- */
6958
- AllocationStrategy?: SpotAllocationStrategy | undefined;
6959
- /**
6960
- * <p>The strategies for managing your workloads on your Spot Instances that will be
6961
- * interrupted. Currently only the capacity rebalance strategy is available.</p>
6962
- * @public
6963
- */
6964
- MaintenanceStrategies?: FleetSpotMaintenanceStrategies | undefined;
6965
- /**
6966
- * <p>The behavior when a Spot Instance is interrupted.</p>
6967
- * <p>Default: <code>terminate</code>
6968
- * </p>
6969
- * @public
6970
- */
6971
- InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | undefined;
6972
- /**
6973
- * <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
6974
- * only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
6975
- * the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
6976
- * Spot pools that you specify.</p>
6977
- * <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
6978
- * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
6979
- * capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
6980
- * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
6981
- * the number of pools that you specified. Similarly, if most of the pools have no Spot
6982
- * capacity, you might receive your full target capacity from fewer than the number of pools
6983
- * that you specified.</p>
6984
- * @public
6985
- */
6986
- InstancePoolsToUseCount?: number | undefined;
6987
- /**
6988
- * <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
6989
- * fleet.</p>
6990
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6991
- * @public
6992
- */
6993
- SingleInstanceType?: boolean | undefined;
6994
- /**
6995
- * <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
6996
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6997
- * @public
6998
- */
6999
- SingleAvailabilityZone?: boolean | undefined;
7000
- /**
7001
- * <p>The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't
7002
- * reached, no instances are launched.</p>
7003
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
7004
- * <code>instant</code>.</p>
7005
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
7006
- * <code>SingleInstanceType</code>
7007
- * </p>
7008
- * @public
7009
- */
7010
- MinTargetCapacity?: number | undefined;
7011
- /**
7012
- * <p>The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend
7013
- * using this parameter because it can lead to increased interruptions. If you do not specify
7014
- * this parameter, you will pay the current Spot price.</p>
7015
- * <important>
7016
- * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
7017
- * </important>
7018
- * <note>
7019
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
7020
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
7021
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
7022
- * and, if you use surplus credits, your final cost might be higher than what you specified
7023
- * 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
7024
- * <i>Amazon EC2 User Guide</i>.</p>
7025
- * </note>
7026
- * @public
7027
- */
7028
- MaxTotalPrice?: string | undefined;
7029
- }
7030
- /**
7031
- * <p>The number of units to request. You can choose to set the target capacity in terms of
7032
- * instances or a performance characteristic that is important to your application workload,
7033
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
7034
- * specify a target capacity of 0 and add capacity later.</p>
7035
- * <p>You can use the On-Demand Instance <code>MaxTotalPrice</code> parameter, the Spot Instance
7036
- * <code>MaxTotalPrice</code>, or both to ensure that your fleet cost does not exceed your
7037
- * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet
7038
- * will launch instances until it reaches the maximum amount that you're willing to pay. When
7039
- * the maximum amount you're willing to pay is reached, the fleet stops launching instances
7040
- * even if it hasn’t met the target capacity. The <code>MaxTotalPrice</code> parameters are
7041
- * located in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html">OnDemandOptions</a>
7042
- * and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions">SpotOptions</a>.</p>
7043
- * @public
7044
- */
7045
- export interface TargetCapacitySpecification {
7046
- /**
7047
- * <p>The number of units to request, filled the default target capacity type.</p>
7048
- * @public
7049
- */
7050
- TotalTargetCapacity?: number | undefined;
7051
- /**
7052
- * <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>
7053
- * @public
7054
- */
7055
- OnDemandTargetCapacity?: number | undefined;
7056
- /**
7057
- * <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>
7058
- * @public
7059
- */
7060
- SpotTargetCapacity?: number | undefined;
7061
- /**
7062
- * <p>The default target capacity type.</p>
7063
- * @public
7064
- */
7065
- DefaultTargetCapacityType?: DefaultTargetCapacityType | undefined;
7066
- /**
7067
- * <p>The unit for the target capacity.</p>
7068
- * @public
7069
- */
7070
- TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
7071
- }
7072
- /**
7073
- * <p>Describes an EC2 Fleet.</p>
7074
- * @public
7075
- */
7076
- export interface FleetData {
7077
- /**
7078
- * <p>The progress of the EC2 Fleet. If there is an error, the status is <code>error</code>. After
7079
- * all requests are placed, the status is <code>pending_fulfillment</code>. If the size of the
7080
- * EC2 Fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>.
7081
- * If the size of the EC2 Fleet is decreased, the status is <code>pending_termination</code> while
7082
- * instances are terminating.</p>
7083
- * @public
7084
- */
7085
- ActivityStatus?: FleetActivityStatus | undefined;
7086
- /**
7087
- * <p>The creation date and time of the EC2 Fleet.</p>
7088
- * @public
7089
- */
7090
- CreateTime?: Date | undefined;
7091
- /**
7092
- * <p>The ID of the EC2 Fleet.</p>
7093
- * @public
7094
- */
7095
- FleetId?: string | undefined;
7096
- /**
7097
- * <p>The state of the EC2 Fleet.</p>
7098
- * @public
7099
- */
7100
- FleetState?: FleetStateCode | undefined;
7101
- /**
7102
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
7103
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
7104
- * idempotency</a>.</p>
7105
- * <p>Constraints: Maximum 64 ASCII characters</p>
7106
- * @public
7107
- */
7108
- ClientToken?: string | undefined;
7109
- /**
7110
- * <p>Indicates whether running instances should be terminated if the target capacity of the
7111
- * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
7112
- * <p>Supported only for fleets of type <code>maintain</code>.</p>
7113
- * @public
7114
- */
7115
- ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | undefined;
7116
- /**
7117
- * <p>The number of units fulfilled by this request compared to the set target
7118
- * capacity.</p>
7119
- * @public
7120
- */
7121
- FulfilledCapacity?: number | undefined;
7122
- /**
7123
- * <p>The number of units fulfilled by this request compared to the set target On-Demand
7124
- * capacity.</p>
7125
- * @public
7126
- */
7127
- FulfilledOnDemandCapacity?: number | undefined;
7128
- /**
7129
- * <p>The launch template and overrides.</p>
7130
- * @public
7131
- */
7132
- LaunchTemplateConfigs?: FleetLaunchTemplateConfig[] | undefined;
7133
- /**
7134
- * <p>The number of units to request. You can choose to set the target capacity in terms of
7135
- * instances or a performance characteristic that is important to your application workload,
7136
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
7137
- * specify a target capacity of 0 and add capacity later.</p>
7138
- * @public
7139
- */
7140
- TargetCapacitySpecification?: TargetCapacitySpecification | undefined;
7141
- /**
7142
- * <p>Indicates whether running instances should be terminated when the EC2 Fleet expires. </p>
7143
- * @public
7144
- */
7145
- TerminateInstancesWithExpiration?: boolean | undefined;
7146
- /**
7147
- * <p>The type of request. Indicates whether the EC2 Fleet only <code>requests</code> the target
7148
- * capacity, or also attempts to <code>maintain</code> it. If you request a certain target
7149
- * capacity, EC2 Fleet only places the required requests; it does not attempt to replenish
7150
- * instances if capacity is diminished, and it does not submit requests in alternative
7151
- * capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet
7152
- * places the required requests to meet this target capacity. It also automatically
7153
- * replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
7154
- * @public
7155
- */
7156
- Type?: FleetType | undefined;
7157
- /**
7158
- * <p>The start date and time of the request, in UTC format (for example,
7159
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7160
- * The default is to start fulfilling the request immediately. </p>
7161
- * @public
7162
- */
7163
- ValidFrom?: Date | undefined;
7164
- /**
7165
- * <p>The end date and time of the request, in UTC format (for example,
7166
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7167
- * At this point, no new instance requests are placed or able to fulfill the request. The
7168
- * default end date is 7 days from the current date. </p>
7169
- * @public
7170
- */
7171
- ValidUntil?: Date | undefined;
7172
- /**
7173
- * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
7174
- * 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
7175
- * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
7176
- * @public
7177
- */
7178
- ReplaceUnhealthyInstances?: boolean | undefined;
7179
- /**
7180
- * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
7181
- * @public
7182
- */
7183
- SpotOptions?: SpotOptions | undefined;
7184
- /**
7185
- * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
7186
- * @public
7187
- */
7188
- OnDemandOptions?: OnDemandOptions | undefined;
7189
- /**
7190
- * <p>The tags for an EC2 Fleet resource.</p>
7191
- * @public
7192
- */
7193
- Tags?: Tag[] | undefined;
7194
- /**
7195
- * <p>Information about the instances that could not be launched by the fleet. Valid only when
7196
- * <b>Type</b> is set to <code>instant</code>.</p>
7197
- * @public
7198
- */
7199
- Errors?: DescribeFleetError[] | undefined;
7200
- /**
7201
- * <p>Information about the instances that were launched by the fleet. Valid only when
7202
- * <b>Type</b> is set to <code>instant</code>.</p>
7203
- * @public
7204
- */
7205
- Instances?: DescribeFleetsInstances[] | undefined;
7206
- /**
7207
- * <p>Reserved.</p>
7208
- * @public
7209
- */
7210
- Context?: string | undefined;
7211
- }
7212
- /**
7213
- * @public
7214
- */
7215
- export interface DescribeFleetsResult {
7216
- /**
7217
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
7218
- * are no more items to return.</p>
7219
- * @public
7220
- */
7221
- NextToken?: string | undefined;
7222
- /**
7223
- * <p>Information about the EC2 Fleets.</p>
7224
- * @public
7225
- */
7226
- Fleets?: FleetData[] | undefined;
7227
- }
7228
- /**
7229
- * @public
7230
- */
7231
- export interface DescribeFlowLogsRequest {
7232
- /**
7233
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7234
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7235
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7236
- * @public
7237
- */
7238
- DryRun?: boolean | undefined;
7239
- /**
7240
- * <p>One or more filters.</p>
7241
- * <ul>
7242
- * <li>
7243
- * <p>
7244
- * <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
7245
- * <code>FAILED</code>).</p>
7246
- * </li>
7247
- * <li>
7248
- * <p>
7249
- * <code>log-destination-type</code> - The type of destination for the flow log
7250
- * data (<code>cloud-watch-logs</code> | <code>s3</code> |
7251
- * <code>kinesis-data-firehose</code>).</p>
7252
- * </li>
7253
- * <li>
7254
- * <p>
7255
- * <code>flow-log-id</code> - The ID of the flow log.</p>
7256
- * </li>
7257
- * <li>
7258
- * <p>
7259
- * <code>log-group-name</code> - The name of the log group.</p>
7260
- * </li>
7261
- * <li>
7262
- * <p>
7263
- * <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
7264
- * </li>
7265
- * <li>
7266
- * <p>
7267
- * <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
7268
- * <code>REJECT</code> | <code>ALL</code>).</p>
7269
- * </li>
7270
- * <li>
7271
- * <p>
7272
- * <code>tag</code>:<key> - 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.
7273
- * 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>
7274
- * </li>
7275
- * <li>
7276
- * <p>
7277
- * <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>
7278
- * </li>
7279
- * </ul>
7280
- * @public
7281
- */
7282
- Filter?: Filter[] | undefined;
7283
- /**
7284
- * <p>One or more flow log IDs.</p>
7285
- * <p>Constraint: Maximum of 1000 flow log IDs.</p>
7286
- * @public
7287
- */
7288
- FlowLogIds?: string[] | undefined;
7289
- /**
7290
- * <p>The maximum number of items to return for this request.
7291
- * To get the next page of items, make another request with the token returned in the output.
7292
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7293
- * @public
7294
- */
7295
- MaxResults?: number | undefined;
7296
- /**
7297
- * <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
7298
- * @public
7299
- */
7300
- NextToken?: string | undefined;
7301
- }
7302
- /**
7303
- * <p>Describes the destination options for a flow log.</p>
7304
- * @public
7305
- */
7306
- export interface DestinationOptionsResponse {
7307
- /**
7308
- * <p>The format for the flow log.</p>
7309
- * @public
7310
- */
7311
- FileFormat?: DestinationFileFormat | undefined;
7312
- /**
7313
- * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
7314
- * @public
7315
- */
7316
- HiveCompatiblePartitions?: boolean | undefined;
7317
- /**
7318
- * <p>Indicates whether to partition the flow log per hour.</p>
7319
- * @public
7320
- */
7321
- PerHourPartition?: boolean | undefined;
7322
- }
7323
- /**
7324
- * <p>Describes a flow log.</p>
7325
- * @public
7326
- */
7327
- export interface FlowLog {
7328
- /**
7329
- * <p>The date and time the flow log was created.</p>
7330
- * @public
7331
- */
7332
- CreationTime?: Date | undefined;
7333
- /**
7334
- * <p>Information about the error that occurred. <code>Rate limited</code> indicates that
7335
- * CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've
7336
- * reached the limit on the number of log groups that you can create. <code>Access
7337
- * error</code> indicates that the IAM role associated with the flow log does not have
7338
- * sufficient permissions to publish to CloudWatch Logs. <code>Unknown error</code> indicates an
7339
- * internal error.</p>
7340
- * @public
7341
- */
7342
- DeliverLogsErrorMessage?: string | undefined;
7343
- /**
7344
- * <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
7345
- * @public
7346
- */
7347
- DeliverLogsPermissionArn?: string | undefined;
7348
- /**
7349
- * <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
7350
- * @public
7351
- */
7352
- DeliverCrossAccountRole?: string | undefined;
7353
- /**
7354
- * <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
7355
- * @public
7356
- */
7357
- DeliverLogsStatus?: string | undefined;
7358
- /**
7359
- * <p>The ID of the flow log.</p>
7360
- * @public
7361
- */
7362
- FlowLogId?: string | undefined;
7363
- /**
7364
- * <p>The status of the flow log (<code>ACTIVE</code>).</p>
7365
- * @public
7366
- */
7367
- FlowLogStatus?: string | undefined;
7368
- /**
7369
- * <p>The name of the flow log group.</p>
7370
- * @public
7371
- */
7372
- LogGroupName?: string | undefined;
7373
- /**
7374
- * <p>The ID of the resource being monitored.</p>
7375
- * @public
7376
- */
7377
- ResourceId?: string | undefined;
7378
- /**
7379
- * <p>The type of traffic captured for the flow log.</p>
7380
- * @public
7381
- */
7382
- TrafficType?: TrafficType | undefined;
7383
- /**
7384
- * <p>The type of destination for the flow log data.</p>
7385
- * @public
7386
- */
7387
- LogDestinationType?: LogDestinationType | undefined;
7388
- /**
7389
- * <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
7390
- * @public
7391
- */
7392
- LogDestination?: string | undefined;
7393
- /**
7394
- * <p>The format of the flow log record.</p>
7395
- * @public
7396
- */
7397
- LogFormat?: string | undefined;
7398
- /**
7399
- * <p>The tags for the flow log.</p>
7400
- * @public
7401
- */
7402
- Tags?: Tag[] | undefined;
7403
- /**
7404
- * <p>The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.</p>
7405
- * <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Nitro-based
7406
- * instance</a>, the aggregation interval is always 60 seconds (1 minute) or less,
7407
- * regardless of the specified value.</p>
7408
- * <p>Valid Values: <code>60</code> | <code>600</code>
7409
- * </p>
7410
- * @public
7411
- */
7412
- MaxAggregationInterval?: number | undefined;
7413
- /**
7414
- * <p>The destination options.</p>
7415
- * @public
7416
- */
7417
- DestinationOptions?: DestinationOptionsResponse | undefined;
7418
- }
7419
- /**
7420
- * @public
7421
- */
7422
- export interface DescribeFlowLogsResult {
7423
- /**
7424
- * <p>Information about the flow logs.</p>
7425
- * @public
7426
- */
7427
- FlowLogs?: FlowLog[] | undefined;
7428
- /**
7429
- * <p>The token to request the next page of items. This value is <code>null</code> when there are no more items to return.</p>
7430
- * @public
7431
- */
7432
- NextToken?: string | undefined;
7433
- }
7434
- /**
7435
- * @public
7436
- * @enum
7437
- */
7438
- export declare const FpgaImageAttributeName: {
7439
- readonly description: "description";
7440
- readonly loadPermission: "loadPermission";
7441
- readonly name: "name";
7442
- readonly productCodes: "productCodes";
7443
- };
7444
- /**
7445
- * @public
7446
- */
7447
- export type FpgaImageAttributeName = (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
7448
- /**
7449
- * @public
7450
- */
7451
- export interface DescribeFpgaImageAttributeRequest {
7452
- /**
7453
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7454
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7455
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7456
- * @public
7457
- */
7458
- DryRun?: boolean | undefined;
7459
- /**
7460
- * <p>The ID of the AFI.</p>
7461
- * @public
7462
- */
7463
- FpgaImageId: string | undefined;
7464
- /**
7465
- * <p>The AFI attribute.</p>
7466
- * @public
7467
- */
7468
- Attribute: FpgaImageAttributeName | undefined;
7469
- }
7470
- /**
7471
- * @public
7472
- * @enum
7473
- */
7474
- export declare const PermissionGroup: {
7475
- readonly all: "all";
7476
- };
7477
- /**
7478
- * @public
7479
- */
7480
- export type PermissionGroup = (typeof PermissionGroup)[keyof typeof PermissionGroup];
7481
- /**
7482
- * <p>Describes a load permission.</p>
7483
- * @public
7484
- */
7485
- export interface LoadPermission {
7486
- /**
7487
- * <p>The Amazon Web Services account ID.</p>
7488
- * @public
7489
- */
7490
- UserId?: string | undefined;
7491
- /**
7492
- * <p>The name of the group.</p>
7493
- * @public
7494
- */
7495
- Group?: PermissionGroup | undefined;
7496
- }
7497
- /**
7498
- * @public
7499
- * @enum
7500
- */
7501
- export declare const ProductCodeValues: {
7502
- readonly devpay: "devpay";
7503
- readonly marketplace: "marketplace";
7504
- };
7505
- /**
7506
- * @public
7507
- */
7508
- export type ProductCodeValues = (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
7509
7065
  /**
7510
7066
  * @internal
7511
7067
  */