@aws-sdk/client-ec2 3.701.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 (289) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +2100 -432
  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 +28 -19
  20. package/dist-es/models/models_3.js +21 -9
  21. package/dist-es/models/models_4.js +9 -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 +1548 -123
  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 +1 -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 +1 -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 +26 -5
  104. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  108. package/dist-types/commands/DeleteCoipPoolCommand.d.ts +1 -1
  109. package/dist-types/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  110. package/dist-types/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  111. package/dist-types/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  112. package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
  113. package/dist-types/commands/DeleteFlowLogsCommand.d.ts +1 -2
  114. package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +39 -3
  115. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +6 -0
  116. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +9 -0
  117. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +102 -0
  119. package/dist-types/commands/DescribeFleetsCommand.d.ts +6 -5
  120. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -2
  122. package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
  123. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
  124. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  126. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  127. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -2
  128. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -2
  129. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  130. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -2
  131. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -3
  132. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  133. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
  134. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  135. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  136. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  137. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +39 -3
  138. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +6 -0
  139. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +9 -0
  140. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
  141. package/dist-types/commands/DescribeVpcEndpointAssociationsCommand.d.ts +112 -0
  142. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
  143. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +21 -2
  144. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +15 -0
  145. package/dist-types/commands/DisableAllowedImagesSettingsCommand.d.ts +82 -0
  146. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +100 -0
  147. package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -1
  148. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  149. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  150. package/dist-types/commands/EnableImageCommand.d.ts +1 -1
  151. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
  152. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
  153. package/dist-types/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  154. package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
  155. package/dist-types/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  156. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  157. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  158. package/dist-types/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +99 -0
  159. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +88 -0
  160. package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +102 -0
  161. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -0
  162. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -0
  163. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  164. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -0
  165. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -0
  166. package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +81 -0
  167. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  168. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  169. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  170. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  171. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  172. package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
  173. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  174. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  175. package/dist-types/commands/ModifyIpamCommand.d.ts +1 -1
  176. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
  177. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  178. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  179. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
  180. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  181. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  182. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  183. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  184. package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  185. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  186. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  187. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  188. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  189. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -3
  190. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +68 -5
  191. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +7 -0
  192. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +19 -0
  193. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
  194. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  195. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  196. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  197. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  198. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +86 -0
  199. package/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
  200. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
  201. package/dist-types/commands/RunInstancesCommand.d.ts +3 -3
  202. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +129 -0
  203. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  204. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  205. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -1
  206. package/dist-types/commands/index.d.ts +11 -0
  207. package/dist-types/models/index.d.ts +1 -0
  208. package/dist-types/models/models_0.d.ts +119 -298
  209. package/dist-types/models/models_1.d.ts +324 -199
  210. package/dist-types/models/models_2.d.ts +553 -274
  211. package/dist-types/models/models_3.d.ts +396 -839
  212. package/dist-types/models/models_4.d.ts +7095 -7084
  213. package/dist-types/models/models_5.d.ts +5587 -5044
  214. package/dist-types/models/models_6.d.ts +4288 -4396
  215. package/dist-types/models/models_7.d.ts +1424 -15
  216. package/dist-types/models/models_8.d.ts +11 -0
  217. package/dist-types/protocols/Aws_ec2.d.ts +99 -0
  218. package/dist-types/ts3.4/EC2.d.ts +216 -0
  219. package/dist-types/ts3.4/EC2Client.d.ts +66 -0
  220. package/dist-types/ts3.4/commands/CancelDeclarativePoliciesReportCommand.d.ts +51 -0
  221. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +4 -2
  222. package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +2 -4
  223. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +4 -2
  224. package/dist-types/ts3.4/commands/DeleteCoipPoolCommand.d.ts +1 -1
  225. package/dist-types/ts3.4/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/DeleteFleetsCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/DeleteFlowLogsCommand.d.ts +4 -2
  230. package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -4
  232. package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +4 -2
  234. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -4
  235. package/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  237. package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +51 -0
  240. package/dist-types/ts3.4/commands/DisableAllowedImagesSettingsCommand.d.ts +51 -0
  241. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -1
  243. package/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/EnableImageDeprecationCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  251. package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
  252. package/dist-types/ts3.4/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +51 -0
  253. package/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +51 -0
  254. package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +51 -0
  255. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +51 -0
  256. package/dist-types/ts3.4/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
  257. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  258. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +1 -1
  260. package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
  261. package/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  262. package/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
  263. package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +1 -1
  264. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  265. package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  266. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  267. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  268. package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  269. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  270. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  271. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  272. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  273. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +4 -2
  274. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +51 -0
  275. package/dist-types/ts3.4/commands/StartDeclarativePoliciesReportCommand.d.ts +51 -0
  276. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -4
  277. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  278. package/dist-types/ts3.4/models/index.d.ts +1 -0
  279. package/dist-types/ts3.4/models/models_0.d.ts +37 -64
  280. package/dist-types/ts3.4/models/models_1.d.ts +83 -54
  281. package/dist-types/ts3.4/models/models_2.d.ts +140 -81
  282. package/dist-types/ts3.4/models/models_3.d.ts +96 -153
  283. package/dist-types/ts3.4/models/models_4.d.ts +154 -134
  284. package/dist-types/ts3.4/models/models_5.d.ts +191 -127
  285. package/dist-types/ts3.4/models/models_6.d.ts +235 -266
  286. package/dist-types/ts3.4/models/models_7.d.ts +323 -6
  287. package/dist-types/ts3.4/models/models_8.d.ts +4 -0
  288. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +132 -0
  289. package/package.json +1 -1
@@ -1,6 +1,243 @@
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
+ }
4
241
  /**
5
242
  * @public
6
243
  */
@@ -5527,12 +5764,14 @@ export interface DescribeCustomerGatewaysResult {
5527
5764
  /**
5528
5765
  * @public
5529
5766
  */
5530
- export interface DescribeDhcpOptionsRequest {
5767
+ export interface DescribeDeclarativePoliciesReportsRequest {
5531
5768
  /**
5532
- * <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>
5533
5772
  * @public
5534
5773
  */
5535
- DhcpOptionsIds?: string[] | undefined;
5774
+ DryRun?: boolean | undefined;
5536
5775
  /**
5537
5776
  * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
5538
5777
  * @public
@@ -5546,73 +5785,190 @@ export interface DescribeDhcpOptionsRequest {
5546
5785
  */
5547
5786
  MaxResults?: number | undefined;
5548
5787
  /**
5549
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5550
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5551
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5788
+ * <p>One or more report IDs.</p>
5552
5789
  * @public
5553
5790
  */
5554
- 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 {
5555
5812
  /**
5556
- * <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>
5557
5830
  * <ul>
5558
5831
  * <li>
5559
- * <p>
5560
- * <code>dhcp-options-id</code> - The ID of a DHCP options set.</p>
5561
- * </li>
5562
- * <li>
5563
- * <p>
5564
- * <code>key</code> - The key for one of the options (for example, <code>domain-name</code>).</p>
5565
- * </li>
5566
- * <li>
5567
- * <p>
5568
- * <code>value</code> - The value for one of the options.</p>
5569
- * </li>
5570
- * <li>
5571
- * <p>
5572
- * <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>
5573
5834
  * </li>
5574
5835
  * <li>
5575
- * <p>
5576
- * <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.
5577
- * 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>
5578
5838
  * </li>
5579
5839
  * <li>
5580
- * <p>
5581
- * <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>
5582
5842
  * </li>
5583
5843
  * </ul>
5584
5844
  * @public
5585
5845
  */
5586
- Filters?: Filter[] | undefined;
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;
5587
5867
  }
5588
5868
  /**
5589
5869
  * @public
5590
5870
  */
5591
- export interface DescribeDhcpOptionsResult {
5871
+ export interface DescribeDeclarativePoliciesReportsResult {
5592
5872
  /**
5593
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>
5594
5874
  * @public
5595
5875
  */
5596
5876
  NextToken?: string | undefined;
5597
5877
  /**
5598
- * <p>Information about the DHCP options sets.</p>
5878
+ * <p>The report metadata.</p>
5599
5879
  * @public
5600
5880
  */
5601
- DhcpOptions?: DhcpOptions[] | undefined;
5881
+ Reports?: DeclarativePoliciesReport[] | undefined;
5602
5882
  }
5603
5883
  /**
5604
5884
  * @public
5605
5885
  */
5606
- export interface DescribeEgressOnlyInternetGatewaysRequest {
5886
+ export interface DescribeDhcpOptionsRequest {
5607
5887
  /**
5608
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5609
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5610
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5888
+ * <p>The IDs of DHCP option sets.</p>
5611
5889
  * @public
5612
5890
  */
5613
- DryRun?: boolean | undefined;
5891
+ DhcpOptionsIds?: string[] | undefined;
5614
5892
  /**
5615
- * <p>The IDs of the egress-only internet gateways.</p>
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
5946
+ */
5947
+ export interface DescribeDhcpOptionsResult {
5948
+ /**
5949
+ * <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>
5950
+ * @public
5951
+ */
5952
+ NextToken?: string | undefined;
5953
+ /**
5954
+ * <p>Information about the DHCP options sets.</p>
5955
+ * @public
5956
+ */
5957
+ DhcpOptions?: DhcpOptions[] | undefined;
5958
+ }
5959
+ /**
5960
+ * @public
5961
+ */
5962
+ export interface DescribeEgressOnlyInternetGatewaysRequest {
5963
+ /**
5964
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5965
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5966
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5967
+ * @public
5968
+ */
5969
+ DryRun?: boolean | undefined;
5970
+ /**
5971
+ * <p>The IDs of the egress-only internet gateways.</p>
5616
5972
  * @public
5617
5973
  */
5618
5974
  EgressOnlyInternetGatewayIds?: string[] | undefined;
@@ -6706,805 +7062,6 @@ export declare const FleetActivityStatus: {
6706
7062
  * @public
6707
7063
  */
6708
7064
  export type FleetActivityStatus = (typeof FleetActivityStatus)[keyof typeof FleetActivityStatus];
6709
- /**
6710
- * <p>Describes the instances that could not be launched by the fleet.</p>
6711
- * @public
6712
- */
6713
- export interface DescribeFleetError {
6714
- /**
6715
- * <p>The launch templates and overrides that were used for launching the instances. The
6716
- * values that you specify in the Overrides replace the values in the launch template.</p>
6717
- * @public
6718
- */
6719
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6720
- /**
6721
- * <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
6722
- * @public
6723
- */
6724
- Lifecycle?: InstanceLifecycle | undefined;
6725
- /**
6726
- * <p>The error code that indicates why the instance could not be launched. For more
6727
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
6728
- * @public
6729
- */
6730
- ErrorCode?: string | undefined;
6731
- /**
6732
- * <p>The error message that describes why the instance could not be launched. For more
6733
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
6734
- * @public
6735
- */
6736
- ErrorMessage?: string | undefined;
6737
- }
6738
- /**
6739
- * <p>Describes the instances that were launched by the fleet.</p>
6740
- * @public
6741
- */
6742
- export interface DescribeFleetsInstances {
6743
- /**
6744
- * <p>The launch templates and overrides that were used for launching the instances. The
6745
- * values that you specify in the Overrides replace the values in the launch template.</p>
6746
- * @public
6747
- */
6748
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6749
- /**
6750
- * <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
6751
- * @public
6752
- */
6753
- Lifecycle?: InstanceLifecycle | undefined;
6754
- /**
6755
- * <p>The IDs of the instances.</p>
6756
- * @public
6757
- */
6758
- InstanceIds?: string[] | undefined;
6759
- /**
6760
- * <p>The instance type.</p>
6761
- * @public
6762
- */
6763
- InstanceType?: _InstanceType | undefined;
6764
- /**
6765
- * <p>The value is <code>windows</code> for Windows instances in an EC2 Fleet. Otherwise, the value is
6766
- * blank.</p>
6767
- * @public
6768
- */
6769
- Platform?: PlatformValues | undefined;
6770
- }
6771
- /**
6772
- * <p>Describes a launch template and overrides.</p>
6773
- * @public
6774
- */
6775
- export interface FleetLaunchTemplateConfig {
6776
- /**
6777
- * <p>The launch template.</p>
6778
- * @public
6779
- */
6780
- LaunchTemplateSpecification?: FleetLaunchTemplateSpecification | undefined;
6781
- /**
6782
- * <p>Any parameters that you specify override the same parameters in the launch
6783
- * template.</p>
6784
- * @public
6785
- */
6786
- Overrides?: FleetLaunchTemplateOverrides[] | undefined;
6787
- }
6788
- /**
6789
- * <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
6790
- * capacity.</p>
6791
- * <note>
6792
- * <p>This strategy can only be used if the EC2 Fleet is of type
6793
- * <code>instant</code>.</p>
6794
- * </note>
6795
- * <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
6796
- * Reservations</a> in the <i>Amazon EC2 User Guide</i>. For examples of using
6797
- * Capacity Reservations in an EC2 Fleet, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html">EC2 Fleet example
6798
- * configurations</a> in the <i>Amazon EC2 User Guide</i>.</p>
6799
- * @public
6800
- */
6801
- export interface CapacityReservationOptions {
6802
- /**
6803
- * <p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p>
6804
- * <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused
6805
- * Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If
6806
- * multiple instance pools have unused Capacity Reservations, the On-Demand allocation
6807
- * strategy (<code>lowest-price</code> or <code>prioritized</code>) is applied. If the number
6808
- * of unused Capacity Reservations is less than the On-Demand target capacity, the remaining
6809
- * On-Demand target capacity is launched according to the On-Demand allocation strategy
6810
- * (<code>lowest-price</code> or <code>prioritized</code>).</p>
6811
- * <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
6812
- * chosen On-Demand allocation strategy.</p>
6813
- * @public
6814
- */
6815
- UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
6816
- }
6817
- /**
6818
- * <p>Describes the configuration of On-Demand Instances in an EC2 Fleet.</p>
6819
- * @public
6820
- */
6821
- export interface OnDemandOptions {
6822
- /**
6823
- * <p>The strategy that determines the order of the launch template overrides to use in
6824
- * fulfilling On-Demand capacity.</p>
6825
- * <p>
6826
- * <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
6827
- * price first.</p>
6828
- * <p>
6829
- * <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
6830
- * template override, launching the highest priority first.</p>
6831
- * <p>Default: <code>lowest-price</code>
6832
- * </p>
6833
- * @public
6834
- */
6835
- AllocationStrategy?: FleetOnDemandAllocationStrategy | undefined;
6836
- /**
6837
- * <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
6838
- * capacity.</p>
6839
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6840
- * @public
6841
- */
6842
- CapacityReservationOptions?: CapacityReservationOptions | undefined;
6843
- /**
6844
- * <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
6845
- * fleet.</p>
6846
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6847
- * @public
6848
- */
6849
- SingleInstanceType?: boolean | undefined;
6850
- /**
6851
- * <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
6852
- * <p>Supported only for fleets of type <code>instant</code>.</p>
6853
- * @public
6854
- */
6855
- SingleAvailabilityZone?: boolean | undefined;
6856
- /**
6857
- * <p>The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't
6858
- * reached, no instances are launched.</p>
6859
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
6860
- * <code>instant</code>.</p>
6861
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
6862
- * <code>SingleInstanceType</code>
6863
- * </p>
6864
- * @public
6865
- */
6866
- MinTargetCapacity?: number | undefined;
6867
- /**
6868
- * <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
6869
- * <note>
6870
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
6871
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
6872
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
6873
- * and, if you use surplus credits, your final cost might be higher than what you specified
6874
- * 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
6875
- * <i>Amazon EC2 User Guide</i>.</p>
6876
- * </note>
6877
- * @public
6878
- */
6879
- MaxTotalPrice?: string | undefined;
6880
- }
6881
- /**
6882
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
6883
- * elevated risk of being interrupted.</p>
6884
- * @public
6885
- */
6886
- export interface FleetSpotCapacityRebalance {
6887
- /**
6888
- * <p>The replacement strategy to use. Only available for fleets of type
6889
- * <code>maintain</code>.</p>
6890
- * <p>
6891
- * <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a
6892
- * rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet
6893
- * does not terminate the instances that receive a rebalance notification. You can terminate
6894
- * the old instances, or you can leave them running. You are charged for all instances while
6895
- * they are running. </p>
6896
- * <p>
6897
- * <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot
6898
- * Instance when a rebalance notification is emitted for an existing Spot Instance in the
6899
- * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
6900
- * terminates the instances that received a rebalance notification.</p>
6901
- * @public
6902
- */
6903
- ReplacementStrategy?: FleetReplacementStrategy | undefined;
6904
- /**
6905
- * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
6906
- * Instance after launching a new replacement Spot Instance.</p>
6907
- * <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
6908
- * <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
6909
- * <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
6910
- * @public
6911
- */
6912
- TerminationDelay?: number | undefined;
6913
- }
6914
- /**
6915
- * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
6916
- * interrupted.</p>
6917
- * @public
6918
- */
6919
- export interface FleetSpotMaintenanceStrategies {
6920
- /**
6921
- * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
6922
- * elevated risk of being interrupted.</p>
6923
- * @public
6924
- */
6925
- CapacityRebalance?: FleetSpotCapacityRebalance | undefined;
6926
- }
6927
- /**
6928
- * <p>Describes the configuration of Spot Instances in an EC2 Fleet.</p>
6929
- * @public
6930
- */
6931
- export interface SpotOptions {
6932
- /**
6933
- * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
6934
- * 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
6935
- * <i>Amazon EC2 User Guide</i>.</p>
6936
- * <dl>
6937
- * <dt>price-capacity-optimized (recommended)</dt>
6938
- * <dd>
6939
- * <p>EC2 Fleet identifies the pools with
6940
- * the highest capacity availability for the number of instances that are launching. This means
6941
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
6942
- * in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
6943
- * </dd>
6944
- * <dt>capacity-optimized</dt>
6945
- * <dd>
6946
- * <p>EC2 Fleet identifies the pools with
6947
- * the highest capacity availability for the number of instances that are launching. This means
6948
- * that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
6949
- * in the near term. To give certain
6950
- * instance types a higher chance of launching first, use
6951
- * <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
6952
- * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
6953
- * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
6954
- * the priorities on a best-effort basis, but optimizes for capacity first.
6955
- * <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
6956
- * launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
6957
- * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
6958
- * capacity.</p>
6959
- * </dd>
6960
- * <dt>diversified</dt>
6961
- * <dd>
6962
- * <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
6963
- * specify.</p>
6964
- * </dd>
6965
- * <dt>lowest-price (not recommended)</dt>
6966
- * <dd>
6967
- * <important>
6968
- * <p>We don't recommend the <code>lowest-price</code> allocation strategy because
6969
- * it has the highest risk of interruption for your Spot Instances.</p>
6970
- * </important>
6971
- * <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available
6972
- * capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
6973
- * come from the next lowest priced pool that has available capacity. If a pool runs
6974
- * out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to
6975
- * fulfill your request by drawing from the next lowest priced pool. To ensure that
6976
- * your desired capacity is met, you might receive Spot Instances from several pools. Because
6977
- * this strategy only considers instance price and not capacity availability, it
6978
- * might lead to high interruption rates.</p>
6979
- * </dd>
6980
- * </dl>
6981
- * <p>Default: <code>lowest-price</code>
6982
- * </p>
6983
- * @public
6984
- */
6985
- AllocationStrategy?: SpotAllocationStrategy | undefined;
6986
- /**
6987
- * <p>The strategies for managing your workloads on your Spot Instances that will be
6988
- * interrupted. Currently only the capacity rebalance strategy is available.</p>
6989
- * @public
6990
- */
6991
- MaintenanceStrategies?: FleetSpotMaintenanceStrategies | undefined;
6992
- /**
6993
- * <p>The behavior when a Spot Instance is interrupted.</p>
6994
- * <p>Default: <code>terminate</code>
6995
- * </p>
6996
- * @public
6997
- */
6998
- InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | undefined;
6999
- /**
7000
- * <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
7001
- * only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
7002
- * the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
7003
- * Spot pools that you specify.</p>
7004
- * <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
7005
- * best effort basis. If a pool runs out of Spot capacity before fulfilling your target
7006
- * capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
7007
- * pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
7008
- * the number of pools that you specified. Similarly, if most of the pools have no Spot
7009
- * capacity, you might receive your full target capacity from fewer than the number of pools
7010
- * that you specified.</p>
7011
- * @public
7012
- */
7013
- InstancePoolsToUseCount?: number | undefined;
7014
- /**
7015
- * <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
7016
- * fleet.</p>
7017
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7018
- * @public
7019
- */
7020
- SingleInstanceType?: boolean | undefined;
7021
- /**
7022
- * <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
7023
- * <p>Supported only for fleets of type <code>instant</code>.</p>
7024
- * @public
7025
- */
7026
- SingleAvailabilityZone?: boolean | undefined;
7027
- /**
7028
- * <p>The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't
7029
- * reached, no instances are launched.</p>
7030
- * <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
7031
- * <code>instant</code>.</p>
7032
- * <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
7033
- * <code>SingleInstanceType</code>
7034
- * </p>
7035
- * @public
7036
- */
7037
- MinTargetCapacity?: number | undefined;
7038
- /**
7039
- * <p>The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend
7040
- * using this parameter because it can lead to increased interruptions. If you do not specify
7041
- * this parameter, you will pay the current Spot price.</p>
7042
- * <important>
7043
- * <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
7044
- * </important>
7045
- * <note>
7046
- * <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
7047
- * if their average CPU usage exceeds the baseline utilization, you will incur a charge for
7048
- * surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
7049
- * and, if you use surplus credits, your final cost might be higher than what you specified
7050
- * 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
7051
- * <i>Amazon EC2 User Guide</i>.</p>
7052
- * </note>
7053
- * @public
7054
- */
7055
- MaxTotalPrice?: string | undefined;
7056
- }
7057
- /**
7058
- * <p>The number of units to request. You can choose to set the target capacity in terms of
7059
- * instances or a performance characteristic that is important to your application workload,
7060
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
7061
- * specify a target capacity of 0 and add capacity later.</p>
7062
- * <p>You can use the On-Demand Instance <code>MaxTotalPrice</code> parameter, the Spot Instance
7063
- * <code>MaxTotalPrice</code>, or both to ensure that your fleet cost does not exceed your
7064
- * budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet
7065
- * will launch instances until it reaches the maximum amount that you're willing to pay. When
7066
- * the maximum amount you're willing to pay is reached, the fleet stops launching instances
7067
- * even if it hasn’t met the target capacity. The <code>MaxTotalPrice</code> parameters are
7068
- * located in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html">OnDemandOptions</a>
7069
- * and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions">SpotOptions</a>.</p>
7070
- * @public
7071
- */
7072
- export interface TargetCapacitySpecification {
7073
- /**
7074
- * <p>The number of units to request, filled the default target capacity type.</p>
7075
- * @public
7076
- */
7077
- TotalTargetCapacity?: number | undefined;
7078
- /**
7079
- * <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>
7080
- * @public
7081
- */
7082
- OnDemandTargetCapacity?: number | undefined;
7083
- /**
7084
- * <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>
7085
- * @public
7086
- */
7087
- SpotTargetCapacity?: number | undefined;
7088
- /**
7089
- * <p>The default target capacity type.</p>
7090
- * @public
7091
- */
7092
- DefaultTargetCapacityType?: DefaultTargetCapacityType | undefined;
7093
- /**
7094
- * <p>The unit for the target capacity.</p>
7095
- * @public
7096
- */
7097
- TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
7098
- }
7099
- /**
7100
- * <p>Describes an EC2 Fleet.</p>
7101
- * @public
7102
- */
7103
- export interface FleetData {
7104
- /**
7105
- * <p>The progress of the EC2 Fleet. If there is an error, the status is <code>error</code>. After
7106
- * all requests are placed, the status is <code>pending_fulfillment</code>. If the size of the
7107
- * EC2 Fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>.
7108
- * If the size of the EC2 Fleet is decreased, the status is <code>pending_termination</code> while
7109
- * instances are terminating.</p>
7110
- * @public
7111
- */
7112
- ActivityStatus?: FleetActivityStatus | undefined;
7113
- /**
7114
- * <p>The creation date and time of the EC2 Fleet.</p>
7115
- * @public
7116
- */
7117
- CreateTime?: Date | undefined;
7118
- /**
7119
- * <p>The ID of the EC2 Fleet.</p>
7120
- * @public
7121
- */
7122
- FleetId?: string | undefined;
7123
- /**
7124
- * <p>The state of the EC2 Fleet.</p>
7125
- * @public
7126
- */
7127
- FleetState?: FleetStateCode | undefined;
7128
- /**
7129
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
7130
- * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
7131
- * idempotency</a>.</p>
7132
- * <p>Constraints: Maximum 64 ASCII characters</p>
7133
- * @public
7134
- */
7135
- ClientToken?: string | undefined;
7136
- /**
7137
- * <p>Indicates whether running instances should be terminated if the target capacity of the
7138
- * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
7139
- * <p>Supported only for fleets of type <code>maintain</code>.</p>
7140
- * @public
7141
- */
7142
- ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | undefined;
7143
- /**
7144
- * <p>The number of units fulfilled by this request compared to the set target
7145
- * capacity.</p>
7146
- * @public
7147
- */
7148
- FulfilledCapacity?: number | undefined;
7149
- /**
7150
- * <p>The number of units fulfilled by this request compared to the set target On-Demand
7151
- * capacity.</p>
7152
- * @public
7153
- */
7154
- FulfilledOnDemandCapacity?: number | undefined;
7155
- /**
7156
- * <p>The launch template and overrides.</p>
7157
- * @public
7158
- */
7159
- LaunchTemplateConfigs?: FleetLaunchTemplateConfig[] | undefined;
7160
- /**
7161
- * <p>The number of units to request. You can choose to set the target capacity in terms of
7162
- * instances or a performance characteristic that is important to your application workload,
7163
- * such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
7164
- * specify a target capacity of 0 and add capacity later.</p>
7165
- * @public
7166
- */
7167
- TargetCapacitySpecification?: TargetCapacitySpecification | undefined;
7168
- /**
7169
- * <p>Indicates whether running instances should be terminated when the EC2 Fleet expires. </p>
7170
- * @public
7171
- */
7172
- TerminateInstancesWithExpiration?: boolean | undefined;
7173
- /**
7174
- * <p>The type of request. Indicates whether the EC2 Fleet only <code>requests</code> the target
7175
- * capacity, or also attempts to <code>maintain</code> it. If you request a certain target
7176
- * capacity, EC2 Fleet only places the required requests; it does not attempt to replenish
7177
- * instances if capacity is diminished, and it does not submit requests in alternative
7178
- * capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet
7179
- * places the required requests to meet this target capacity. It also automatically
7180
- * replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
7181
- * @public
7182
- */
7183
- Type?: FleetType | undefined;
7184
- /**
7185
- * <p>The start date and time of the request, in UTC format (for example,
7186
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7187
- * The default is to start fulfilling the request immediately. </p>
7188
- * @public
7189
- */
7190
- ValidFrom?: Date | undefined;
7191
- /**
7192
- * <p>The end date and time of the request, in UTC format (for example,
7193
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
7194
- * At this point, no new instance requests are placed or able to fulfill the request. The
7195
- * default end date is 7 days from the current date. </p>
7196
- * @public
7197
- */
7198
- ValidUntil?: Date | undefined;
7199
- /**
7200
- * <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
7201
- * 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
7202
- * health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
7203
- * @public
7204
- */
7205
- ReplaceUnhealthyInstances?: boolean | undefined;
7206
- /**
7207
- * <p>The configuration of Spot Instances in an EC2 Fleet.</p>
7208
- * @public
7209
- */
7210
- SpotOptions?: SpotOptions | undefined;
7211
- /**
7212
- * <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
7213
- * @public
7214
- */
7215
- OnDemandOptions?: OnDemandOptions | undefined;
7216
- /**
7217
- * <p>The tags for an EC2 Fleet resource.</p>
7218
- * @public
7219
- */
7220
- Tags?: Tag[] | undefined;
7221
- /**
7222
- * <p>Information about the instances that could not be launched by the fleet. Valid only when
7223
- * <b>Type</b> is set to <code>instant</code>.</p>
7224
- * @public
7225
- */
7226
- Errors?: DescribeFleetError[] | undefined;
7227
- /**
7228
- * <p>Information about the instances that were launched by the fleet. Valid only when
7229
- * <b>Type</b> is set to <code>instant</code>.</p>
7230
- * @public
7231
- */
7232
- Instances?: DescribeFleetsInstances[] | undefined;
7233
- /**
7234
- * <p>Reserved.</p>
7235
- * @public
7236
- */
7237
- Context?: string | undefined;
7238
- }
7239
- /**
7240
- * @public
7241
- */
7242
- export interface DescribeFleetsResult {
7243
- /**
7244
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
7245
- * are no more items to return.</p>
7246
- * @public
7247
- */
7248
- NextToken?: string | undefined;
7249
- /**
7250
- * <p>Information about the EC2 Fleets.</p>
7251
- * @public
7252
- */
7253
- Fleets?: FleetData[] | undefined;
7254
- }
7255
- /**
7256
- * @public
7257
- */
7258
- export interface DescribeFlowLogsRequest {
7259
- /**
7260
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7261
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7262
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7263
- * @public
7264
- */
7265
- DryRun?: boolean | undefined;
7266
- /**
7267
- * <p>One or more filters.</p>
7268
- * <ul>
7269
- * <li>
7270
- * <p>
7271
- * <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
7272
- * <code>FAILED</code>).</p>
7273
- * </li>
7274
- * <li>
7275
- * <p>
7276
- * <code>log-destination-type</code> - The type of destination for the flow log
7277
- * data (<code>cloud-watch-logs</code> | <code>s3</code> |
7278
- * <code>kinesis-data-firehose</code>).</p>
7279
- * </li>
7280
- * <li>
7281
- * <p>
7282
- * <code>flow-log-id</code> - The ID of the flow log.</p>
7283
- * </li>
7284
- * <li>
7285
- * <p>
7286
- * <code>log-group-name</code> - The name of the log group.</p>
7287
- * </li>
7288
- * <li>
7289
- * <p>
7290
- * <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
7291
- * </li>
7292
- * <li>
7293
- * <p>
7294
- * <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
7295
- * <code>REJECT</code> | <code>ALL</code>).</p>
7296
- * </li>
7297
- * <li>
7298
- * <p>
7299
- * <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.
7300
- * 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>
7301
- * </li>
7302
- * <li>
7303
- * <p>
7304
- * <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>
7305
- * </li>
7306
- * </ul>
7307
- * @public
7308
- */
7309
- Filter?: Filter[] | undefined;
7310
- /**
7311
- * <p>One or more flow log IDs.</p>
7312
- * <p>Constraint: Maximum of 1000 flow log IDs.</p>
7313
- * @public
7314
- */
7315
- FlowLogIds?: string[] | undefined;
7316
- /**
7317
- * <p>The maximum number of items to return for this request.
7318
- * To get the next page of items, make another request with the token returned in the output.
7319
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7320
- * @public
7321
- */
7322
- MaxResults?: number | undefined;
7323
- /**
7324
- * <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
7325
- * @public
7326
- */
7327
- NextToken?: string | undefined;
7328
- }
7329
- /**
7330
- * <p>Describes the destination options for a flow log.</p>
7331
- * @public
7332
- */
7333
- export interface DestinationOptionsResponse {
7334
- /**
7335
- * <p>The format for the flow log.</p>
7336
- * @public
7337
- */
7338
- FileFormat?: DestinationFileFormat | undefined;
7339
- /**
7340
- * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
7341
- * @public
7342
- */
7343
- HiveCompatiblePartitions?: boolean | undefined;
7344
- /**
7345
- * <p>Indicates whether to partition the flow log per hour.</p>
7346
- * @public
7347
- */
7348
- PerHourPartition?: boolean | undefined;
7349
- }
7350
- /**
7351
- * <p>Describes a flow log.</p>
7352
- * @public
7353
- */
7354
- export interface FlowLog {
7355
- /**
7356
- * <p>The date and time the flow log was created.</p>
7357
- * @public
7358
- */
7359
- CreationTime?: Date | undefined;
7360
- /**
7361
- * <p>Information about the error that occurred. <code>Rate limited</code> indicates that
7362
- * CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've
7363
- * reached the limit on the number of log groups that you can create. <code>Access
7364
- * error</code> indicates that the IAM role associated with the flow log does not have
7365
- * sufficient permissions to publish to CloudWatch Logs. <code>Unknown error</code> indicates an
7366
- * internal error.</p>
7367
- * @public
7368
- */
7369
- DeliverLogsErrorMessage?: string | undefined;
7370
- /**
7371
- * <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
7372
- * @public
7373
- */
7374
- DeliverLogsPermissionArn?: string | undefined;
7375
- /**
7376
- * <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
7377
- * @public
7378
- */
7379
- DeliverCrossAccountRole?: string | undefined;
7380
- /**
7381
- * <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
7382
- * @public
7383
- */
7384
- DeliverLogsStatus?: string | undefined;
7385
- /**
7386
- * <p>The ID of the flow log.</p>
7387
- * @public
7388
- */
7389
- FlowLogId?: string | undefined;
7390
- /**
7391
- * <p>The status of the flow log (<code>ACTIVE</code>).</p>
7392
- * @public
7393
- */
7394
- FlowLogStatus?: string | undefined;
7395
- /**
7396
- * <p>The name of the flow log group.</p>
7397
- * @public
7398
- */
7399
- LogGroupName?: string | undefined;
7400
- /**
7401
- * <p>The ID of the resource being monitored.</p>
7402
- * @public
7403
- */
7404
- ResourceId?: string | undefined;
7405
- /**
7406
- * <p>The type of traffic captured for the flow log.</p>
7407
- * @public
7408
- */
7409
- TrafficType?: TrafficType | undefined;
7410
- /**
7411
- * <p>The type of destination for the flow log data.</p>
7412
- * @public
7413
- */
7414
- LogDestinationType?: LogDestinationType | undefined;
7415
- /**
7416
- * <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
7417
- * @public
7418
- */
7419
- LogDestination?: string | undefined;
7420
- /**
7421
- * <p>The format of the flow log record.</p>
7422
- * @public
7423
- */
7424
- LogFormat?: string | undefined;
7425
- /**
7426
- * <p>The tags for the flow log.</p>
7427
- * @public
7428
- */
7429
- Tags?: Tag[] | undefined;
7430
- /**
7431
- * <p>The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.</p>
7432
- * <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
7433
- * instance</a>, the aggregation interval is always 60 seconds (1 minute) or less,
7434
- * regardless of the specified value.</p>
7435
- * <p>Valid Values: <code>60</code> | <code>600</code>
7436
- * </p>
7437
- * @public
7438
- */
7439
- MaxAggregationInterval?: number | undefined;
7440
- /**
7441
- * <p>The destination options.</p>
7442
- * @public
7443
- */
7444
- DestinationOptions?: DestinationOptionsResponse | undefined;
7445
- }
7446
- /**
7447
- * @public
7448
- */
7449
- export interface DescribeFlowLogsResult {
7450
- /**
7451
- * <p>Information about the flow logs.</p>
7452
- * @public
7453
- */
7454
- FlowLogs?: FlowLog[] | undefined;
7455
- /**
7456
- * <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>
7457
- * @public
7458
- */
7459
- NextToken?: string | undefined;
7460
- }
7461
- /**
7462
- * @public
7463
- * @enum
7464
- */
7465
- export declare const FpgaImageAttributeName: {
7466
- readonly description: "description";
7467
- readonly loadPermission: "loadPermission";
7468
- readonly name: "name";
7469
- readonly productCodes: "productCodes";
7470
- };
7471
- /**
7472
- * @public
7473
- */
7474
- export type FpgaImageAttributeName = (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
7475
- /**
7476
- * @public
7477
- */
7478
- export interface DescribeFpgaImageAttributeRequest {
7479
- /**
7480
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7481
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7482
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7483
- * @public
7484
- */
7485
- DryRun?: boolean | undefined;
7486
- /**
7487
- * <p>The ID of the AFI.</p>
7488
- * @public
7489
- */
7490
- FpgaImageId: string | undefined;
7491
- /**
7492
- * <p>The AFI attribute.</p>
7493
- * @public
7494
- */
7495
- Attribute: FpgaImageAttributeName | undefined;
7496
- }
7497
- /**
7498
- * @public
7499
- * @enum
7500
- */
7501
- export declare const PermissionGroup: {
7502
- readonly all: "all";
7503
- };
7504
- /**
7505
- * @public
7506
- */
7507
- export type PermissionGroup = (typeof PermissionGroup)[keyof typeof PermissionGroup];
7508
7065
  /**
7509
7066
  * @internal
7510
7067
  */