@aws-sdk/client-ec2 3.37.0 → 3.41.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 (677) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/CreateFleetCommand.js +2 -1
  4. package/dist-cjs/commands/CreateFlowLogsCommand.js +3 -3
  5. package/dist-cjs/commands/CreateFpgaImageCommand.js +3 -3
  6. package/dist-cjs/commands/CreateImageCommand.js +3 -3
  7. package/dist-cjs/commands/CreateVpcEndpointServiceConfigurationCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVpcPeeringConnectionCommand.js +3 -3
  9. package/dist-cjs/commands/CreateVpnConnectionCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeHostsCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeIamInstanceProfileAssociationsCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeIdFormatCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeIdentityIdFormatCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeImageAttributeCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeImportImageTasksCommand.js +1 -2
  17. package/dist-cjs/commands/DescribeSubnetsCommand.js +2 -1
  18. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeTrafficMirrorFiltersCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeTrafficMirrorSessionsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTrafficMirrorTargetsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeTransitGatewayAttachmentsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTransitGatewayConnectPeersCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeTransitGatewayConnectsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeTransitGatewayMulticastDomainsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeTransitGatewayRouteTablesCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeTransitGatewaysCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -2
  31. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +36 -0
  32. package/dist-cjs/commands/GetSpotPlacementScoresCommand.js +36 -0
  33. package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +3 -3
  34. package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
  35. package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
  36. package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
  37. package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
  38. package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
  39. package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
  40. package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
  41. package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
  42. package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
  43. package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
  44. package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
  45. package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
  46. package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
  47. package/dist-cjs/commands/index.js +476 -0
  48. package/dist-cjs/endpoints.js +194 -22
  49. package/dist-cjs/index.js +5 -609
  50. package/dist-cjs/models/models_0.js +144 -107
  51. package/dist-cjs/models/models_1.js +141 -169
  52. package/dist-cjs/models/models_2.js +177 -132
  53. package/dist-cjs/models/models_3.js +133 -180
  54. package/dist-cjs/models/models_4.js +222 -211
  55. package/dist-cjs/models/models_5.js +210 -4
  56. package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +35 -0
  57. package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +35 -0
  58. package/dist-cjs/pagination/index.js +109 -0
  59. package/dist-cjs/protocols/Aws_ec2.js +2178 -902
  60. package/dist-cjs/runtimeConfig.browser.js +6 -3
  61. package/dist-cjs/runtimeConfig.js +5 -3
  62. package/dist-cjs/waiters/index.js +35 -0
  63. package/dist-es/EC2.js +30 -0
  64. package/dist-es/commands/CreateFleetCommand.js +2 -1
  65. package/dist-es/commands/CreateFlowLogsCommand.js +1 -1
  66. package/dist-es/commands/CreateFpgaImageCommand.js +1 -1
  67. package/dist-es/commands/CreateImageCommand.js +1 -1
  68. package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +1 -1
  69. package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -1
  70. package/dist-es/commands/CreateVpnConnectionCommand.js +1 -2
  71. package/dist-es/commands/DescribeHostsCommand.js +2 -1
  72. package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +1 -1
  73. package/dist-es/commands/DescribeIdFormatCommand.js +1 -1
  74. package/dist-es/commands/DescribeIdentityIdFormatCommand.js +1 -1
  75. package/dist-es/commands/DescribeImageAttributeCommand.js +1 -1
  76. package/dist-es/commands/DescribeImagesCommand.js +1 -1
  77. package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -2
  78. package/dist-es/commands/DescribeSubnetsCommand.js +2 -1
  79. package/dist-es/commands/DescribeTagsCommand.js +1 -1
  80. package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +1 -1
  81. package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +1 -1
  82. package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +1 -1
  83. package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +1 -1
  84. package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +1 -1
  85. package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +1 -1
  86. package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +1 -1
  87. package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +1 -1
  88. package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +1 -1
  89. package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +1 -1
  90. package/dist-es/commands/DescribeTransitGatewaysCommand.js +1 -1
  91. package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -2
  92. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +39 -0
  93. package/dist-es/commands/GetSpotPlacementScoresCommand.js +39 -0
  94. package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +1 -1
  95. package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
  96. package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
  97. package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
  98. package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
  99. package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
  100. package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
  101. package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
  102. package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
  103. package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
  104. package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
  105. package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
  106. package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
  107. package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
  108. package/dist-es/commands/index.js +473 -0
  109. package/dist-es/endpoints.js +194 -22
  110. package/dist-es/index.js +5 -609
  111. package/dist-es/models/models_0.js +116 -74
  112. package/dist-es/models/models_1.js +94 -116
  113. package/dist-es/models/models_2.js +123 -84
  114. package/dist-es/models/models_3.js +85 -116
  115. package/dist-es/models/models_4.js +144 -139
  116. package/dist-es/models/models_5.js +139 -0
  117. package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +74 -0
  118. package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +74 -0
  119. package/dist-es/pagination/index.js +106 -0
  120. package/dist-es/protocols/Aws_ec2.js +2742 -1274
  121. package/dist-es/runtimeConfig.browser.js +3 -2
  122. package/dist-es/runtimeConfig.js +3 -3
  123. package/dist-es/waiters/index.js +32 -0
  124. package/dist-types/EC2.d.ts +30 -0
  125. package/dist-types/EC2Client.d.ts +12 -2
  126. package/dist-types/commands/AcceptReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  127. package/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  128. package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  129. package/dist-types/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  130. package/dist-types/commands/AcceptVpcEndpointConnectionsCommand.d.ts +1 -1
  131. package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +1 -1
  132. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +1 -1
  133. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  134. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  135. package/dist-types/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.d.ts +1 -1
  136. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +1 -1
  137. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +1 -1
  138. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  139. package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +1 -1
  140. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  141. package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  142. package/dist-types/commands/AssociateIamInstanceProfileCommand.d.ts +1 -1
  143. package/dist-types/commands/AssociateInstanceEventWindowCommand.d.ts +1 -1
  144. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
  145. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +1 -1
  146. package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  147. package/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  148. package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +1 -1
  149. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +1 -1
  150. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +1 -1
  151. package/dist-types/commands/AttachInternetGatewayCommand.d.ts +1 -1
  152. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +1 -1
  153. package/dist-types/commands/AttachVolumeCommand.d.ts +1 -1
  154. package/dist-types/commands/AttachVpnGatewayCommand.d.ts +1 -1
  155. package/dist-types/commands/AuthorizeClientVpnIngressCommand.d.ts +1 -1
  156. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  157. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  158. package/dist-types/commands/BundleInstanceCommand.d.ts +1 -1
  159. package/dist-types/commands/CancelBundleTaskCommand.d.ts +1 -1
  160. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +1 -1
  161. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +1 -1
  162. package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
  163. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  164. package/dist-types/commands/CancelImportTaskCommand.d.ts +1 -1
  165. package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +1 -1
  166. package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +1 -1
  167. package/dist-types/commands/CancelSpotInstanceRequestsCommand.d.ts +1 -1
  168. package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
  169. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  170. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  171. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  172. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  173. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  174. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  175. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  176. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -1
  177. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  178. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  179. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
  180. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  181. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  182. package/dist-types/commands/CreateFleetCommand.d.ts +3 -2
  183. package/dist-types/commands/CreateFlowLogsCommand.d.ts +2 -2
  184. package/dist-types/commands/CreateFpgaImageCommand.d.ts +2 -2
  185. package/dist-types/commands/CreateImageCommand.d.ts +2 -2
  186. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  187. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  188. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  189. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  190. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  191. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -1
  192. package/dist-types/commands/CreateLocalGatewayRouteCommand.d.ts +1 -1
  193. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  194. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  195. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  196. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  197. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  198. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  199. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  200. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
  201. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  202. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  203. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
  204. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  205. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  206. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  207. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  208. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  209. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  210. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  211. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  212. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  213. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  214. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  215. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  216. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  217. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  218. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  219. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  220. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  221. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  222. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  223. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  224. package/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  225. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  226. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  227. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  228. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  229. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  230. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  231. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  232. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +2 -2
  233. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +2 -2
  234. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -3
  235. package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  236. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  237. package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  238. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  239. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -1
  240. package/dist-types/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
  241. package/dist-types/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
  242. package/dist-types/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
  243. package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
  244. package/dist-types/commands/DeleteFlowLogsCommand.d.ts +1 -1
  245. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +1 -1
  246. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  247. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  248. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  249. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  250. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -1
  251. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
  252. package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  253. package/dist-types/commands/DeleteManagedPrefixListCommand.d.ts +1 -1
  254. package/dist-types/commands/DeleteNatGatewayCommand.d.ts +1 -1
  255. package/dist-types/commands/DeleteNetworkAclCommand.d.ts +1 -1
  256. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  257. package/dist-types/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +1 -1
  258. package/dist-types/commands/DeleteNetworkInsightsPathCommand.d.ts +1 -1
  259. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  260. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  261. package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
  262. package/dist-types/commands/DeleteQueuedReservedInstancesCommand.d.ts +1 -1
  263. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  264. package/dist-types/commands/DeleteRouteTableCommand.d.ts +1 -1
  265. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  266. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  267. package/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  268. package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  269. package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
  270. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  271. package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
  272. package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
  273. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -1
  274. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  275. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  276. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
  277. package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  278. package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  279. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  280. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  281. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  282. package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
  283. package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  284. package/dist-types/commands/DeleteVolumeCommand.d.ts +1 -1
  285. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -1
  286. package/dist-types/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  287. package/dist-types/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
  288. package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +1 -1
  289. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  290. package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +1 -1
  291. package/dist-types/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
  292. package/dist-types/commands/DeleteVpnGatewayCommand.d.ts +1 -1
  293. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
  294. package/dist-types/commands/DeregisterImageCommand.d.ts +1 -1
  295. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  296. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  297. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  298. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  299. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  300. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  301. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -1
  302. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +1 -1
  303. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +1 -1
  304. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +1 -1
  305. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  306. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -1
  307. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -1
  308. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  309. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  310. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -1
  311. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -1
  312. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -1
  313. package/dist-types/commands/DescribeClientVpnTargetNetworksCommand.d.ts +1 -1
  314. package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +1 -1
  315. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
  316. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
  317. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  318. package/dist-types/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +1 -1
  319. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -1
  320. package/dist-types/commands/DescribeExportImageTasksCommand.d.ts +1 -1
  321. package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
  322. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -1
  323. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -1
  324. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  325. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  326. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
  327. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -1
  328. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  329. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  330. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  331. package/dist-types/commands/DescribeHostsCommand.d.ts +3 -2
  332. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +2 -2
  333. package/dist-types/commands/DescribeIdFormatCommand.d.ts +2 -2
  334. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +2 -2
  335. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -2
  336. package/dist-types/commands/DescribeImagesCommand.d.ts +2 -2
  337. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +2 -3
  338. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  339. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  340. package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +1 -1
  341. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  342. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  343. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -1
  344. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  345. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -1
  346. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  347. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  348. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  349. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
  350. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  351. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  352. package/dist-types/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.d.ts +1 -1
  353. package/dist-types/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.d.ts +1 -1
  354. package/dist-types/commands/DescribeLocalGatewayRouteTablesCommand.d.ts +1 -1
  355. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  356. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -1
  357. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +1 -1
  358. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +1 -1
  359. package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +1 -1
  360. package/dist-types/commands/DescribeNatGatewaysCommand.d.ts +1 -1
  361. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +1 -1
  362. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
  363. package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
  364. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
  365. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -1
  366. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  367. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -1
  368. package/dist-types/commands/DescribePrefixListsCommand.d.ts +1 -1
  369. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +1 -1
  370. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  371. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -1
  372. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  373. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  374. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  375. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  376. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -1
  377. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  378. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +1 -1
  379. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  380. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  381. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  382. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  383. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  384. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  385. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  386. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  387. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
  388. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -1
  389. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  390. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  391. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  392. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  393. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -2
  394. package/dist-types/commands/DescribeTagsCommand.d.ts +2 -2
  395. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +2 -2
  396. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -2
  397. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +2 -2
  398. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +2 -2
  399. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +2 -2
  400. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +2 -2
  401. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -2
  402. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +2 -2
  403. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +2 -2
  404. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +2 -2
  405. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +2 -2
  406. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -3
  407. package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
  408. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +1 -1
  409. package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -1
  410. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  411. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  412. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +1 -1
  413. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  414. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  415. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
  416. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
  417. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  418. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  419. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -1
  420. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  421. package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  422. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  423. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  424. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
  425. package/dist-types/commands/DetachInternetGatewayCommand.d.ts +1 -1
  426. package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  427. package/dist-types/commands/DetachVolumeCommand.d.ts +1 -1
  428. package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
  429. package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
  430. package/dist-types/commands/DisableFastSnapshotRestoresCommand.d.ts +1 -1
  431. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  432. package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  433. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  434. package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  435. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  436. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  437. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  438. package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
  439. package/dist-types/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  440. package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
  441. package/dist-types/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
  442. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  443. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  444. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  445. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  446. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  447. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  448. package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  449. package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
  450. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
  451. package/dist-types/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
  452. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  453. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  454. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  455. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  456. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  457. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  458. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  459. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  460. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  461. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  462. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  463. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  464. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  465. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  466. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  467. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  468. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  469. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  470. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  471. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  472. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  473. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +44 -0
  474. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  475. package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  476. package/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -1
  477. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  478. package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +1 -1
  479. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  480. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +42 -0
  481. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  482. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  483. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  484. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  485. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  486. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  487. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  488. package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  489. package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  490. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  491. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  492. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  493. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  494. package/dist-types/commands/ImportVolumeCommand.d.ts +1 -1
  495. package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -1
  496. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  497. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  498. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  499. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +1 -1
  500. package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +1 -1
  501. package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  502. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  503. package/dist-types/commands/ModifyFpgaImageAttributeCommand.d.ts +1 -1
  504. package/dist-types/commands/ModifyHostsCommand.d.ts +1 -1
  505. package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
  506. package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  507. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +1 -1
  508. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
  509. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
  510. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -2
  511. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +2 -2
  512. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +2 -2
  513. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
  514. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +2 -2
  515. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +2 -2
  516. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +2 -2
  517. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +2 -2
  518. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  519. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +2 -2
  520. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
  521. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -2
  522. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +2 -2
  523. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +2 -2
  524. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  525. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  526. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  527. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  528. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  529. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  530. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  531. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  532. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  533. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  534. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  535. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  536. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  537. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  538. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  539. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  540. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  541. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  542. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  543. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  544. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  545. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  546. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  547. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +1 -1
  548. package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
  549. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  550. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  551. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  552. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  553. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  554. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  555. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  556. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  557. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  558. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  559. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  560. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  561. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  562. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +1 -1
  563. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  564. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  565. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  566. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
  567. package/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
  568. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  569. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  570. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  571. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  572. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  573. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  574. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  575. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  576. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  577. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  578. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  579. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  580. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  581. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  582. package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -1
  583. package/dist-types/commands/SearchLocalGatewayRoutesCommand.d.ts +1 -1
  584. package/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  585. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  586. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
  587. package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
  588. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  589. package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
  590. package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
  591. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  592. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  593. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
  594. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  595. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  596. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  597. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
  598. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
  599. package/dist-types/commands/index.d.ts +473 -0
  600. package/dist-types/index.d.ts +5 -609
  601. package/dist-types/models/models_0.d.ts +602 -615
  602. package/dist-types/models/models_1.d.ts +4831 -4562
  603. package/dist-types/models/models_2.d.ts +4641 -4767
  604. package/dist-types/models/models_3.d.ts +7074 -7126
  605. package/dist-types/models/models_4.d.ts +4816 -4415
  606. package/dist-types/models/models_5.d.ts +867 -6
  607. package/dist-types/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  608. package/dist-types/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  609. package/dist-types/pagination/index.d.ts +106 -0
  610. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  611. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  612. package/dist-types/runtimeConfig.d.ts +2 -0
  613. package/dist-types/runtimeConfig.native.d.ts +2 -0
  614. package/dist-types/ts3.4/EC2.d.ts +10 -0
  615. package/dist-types/ts3.4/EC2Client.d.ts +8 -2
  616. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +2 -1
  617. package/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +1 -1
  618. package/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +1 -1
  619. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +1 -1
  620. package/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  621. package/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  622. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +1 -2
  623. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -1
  624. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  625. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  626. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  627. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  628. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
  629. package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -2
  630. package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -1
  631. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
  632. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  633. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  634. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  635. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  636. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  637. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  638. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  639. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  640. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  641. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  642. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  643. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -2
  644. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +17 -0
  645. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +17 -0
  646. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
  647. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  648. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  649. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  650. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  651. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  652. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  653. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  654. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  655. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  656. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  657. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  658. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  659. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  660. package/dist-types/ts3.4/commands/index.d.ts +473 -0
  661. package/dist-types/ts3.4/index.d.ts +5 -609
  662. package/dist-types/ts3.4/models/models_0.d.ts +231 -254
  663. package/dist-types/ts3.4/models/models_1.d.ts +368 -345
  664. package/dist-types/ts3.4/models/models_2.d.ts +362 -347
  665. package/dist-types/ts3.4/models/models_3.d.ts +364 -393
  666. package/dist-types/ts3.4/models/models_4.d.ts +496 -431
  667. package/dist-types/ts3.4/models/models_5.d.ts +433 -5
  668. package/dist-types/ts3.4/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  669. package/dist-types/ts3.4/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  670. package/dist-types/ts3.4/pagination/index.d.ts +106 -0
  671. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
  672. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  673. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  674. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  675. package/dist-types/ts3.4/waiters/index.d.ts +32 -0
  676. package/dist-types/waiters/index.d.ts +32 -0
  677. package/package.json +28 -28
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForBundleTaskComplete"), exports);
5
+ tslib_1.__exportStar(require("./waitForConversionTaskCancelled"), exports);
6
+ tslib_1.__exportStar(require("./waitForConversionTaskCompleted"), exports);
7
+ tslib_1.__exportStar(require("./waitForConversionTaskDeleted"), exports);
8
+ tslib_1.__exportStar(require("./waitForCustomerGatewayAvailable"), exports);
9
+ tslib_1.__exportStar(require("./waitForExportTaskCancelled"), exports);
10
+ tslib_1.__exportStar(require("./waitForExportTaskCompleted"), exports);
11
+ tslib_1.__exportStar(require("./waitForImageAvailable"), exports);
12
+ tslib_1.__exportStar(require("./waitForImageExists"), exports);
13
+ tslib_1.__exportStar(require("./waitForInstanceExists"), exports);
14
+ tslib_1.__exportStar(require("./waitForInstanceRunning"), exports);
15
+ tslib_1.__exportStar(require("./waitForInstanceStatusOk"), exports);
16
+ tslib_1.__exportStar(require("./waitForInstanceStopped"), exports);
17
+ tslib_1.__exportStar(require("./waitForInstanceTerminated"), exports);
18
+ tslib_1.__exportStar(require("./waitForKeyPairExists"), exports);
19
+ tslib_1.__exportStar(require("./waitForNatGatewayAvailable"), exports);
20
+ tslib_1.__exportStar(require("./waitForNetworkInterfaceAvailable"), exports);
21
+ tslib_1.__exportStar(require("./waitForSecurityGroupExists"), exports);
22
+ tslib_1.__exportStar(require("./waitForSnapshotCompleted"), exports);
23
+ tslib_1.__exportStar(require("./waitForSpotInstanceRequestFulfilled"), exports);
24
+ tslib_1.__exportStar(require("./waitForSubnetAvailable"), exports);
25
+ tslib_1.__exportStar(require("./waitForPasswordDataAvailable"), exports);
26
+ tslib_1.__exportStar(require("./waitForSystemStatusOk"), exports);
27
+ tslib_1.__exportStar(require("./waitForVolumeAvailable"), exports);
28
+ tslib_1.__exportStar(require("./waitForVolumeDeleted"), exports);
29
+ tslib_1.__exportStar(require("./waitForVolumeInUse"), exports);
30
+ tslib_1.__exportStar(require("./waitForVpcAvailable"), exports);
31
+ tslib_1.__exportStar(require("./waitForVpcExists"), exports);
32
+ tslib_1.__exportStar(require("./waitForVpcPeeringConnectionDeleted"), exports);
33
+ tslib_1.__exportStar(require("./waitForVpcPeeringConnectionExists"), exports);
34
+ tslib_1.__exportStar(require("./waitForVpnConnectionAvailable"), exports);
35
+ tslib_1.__exportStar(require("./waitForVpnConnectionDeleted"), exports);
package/dist-es/EC2.js CHANGED
@@ -346,12 +346,14 @@ import { GetEbsEncryptionByDefaultCommand, } from "./commands/GetEbsEncryptionBy
346
346
  import { GetFlowLogsIntegrationTemplateCommand, } from "./commands/GetFlowLogsIntegrationTemplateCommand";
347
347
  import { GetGroupsForCapacityReservationCommand, } from "./commands/GetGroupsForCapacityReservationCommand";
348
348
  import { GetHostReservationPurchasePreviewCommand, } from "./commands/GetHostReservationPurchasePreviewCommand";
349
+ import { GetInstanceTypesFromInstanceRequirementsCommand, } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
349
350
  import { GetLaunchTemplateDataCommand, } from "./commands/GetLaunchTemplateDataCommand";
350
351
  import { GetManagedPrefixListAssociationsCommand, } from "./commands/GetManagedPrefixListAssociationsCommand";
351
352
  import { GetManagedPrefixListEntriesCommand, } from "./commands/GetManagedPrefixListEntriesCommand";
352
353
  import { GetPasswordDataCommand, } from "./commands/GetPasswordDataCommand";
353
354
  import { GetReservedInstancesExchangeQuoteCommand, } from "./commands/GetReservedInstancesExchangeQuoteCommand";
354
355
  import { GetSerialConsoleAccessStatusCommand, } from "./commands/GetSerialConsoleAccessStatusCommand";
356
+ import { GetSpotPlacementScoresCommand, } from "./commands/GetSpotPlacementScoresCommand";
355
357
  import { GetSubnetCidrReservationsCommand, } from "./commands/GetSubnetCidrReservationsCommand";
356
358
  import { GetTransitGatewayAttachmentPropagationsCommand, } from "./commands/GetTransitGatewayAttachmentPropagationsCommand";
357
359
  import { GetTransitGatewayMulticastDomainAssociationsCommand, } from "./commands/GetTransitGatewayMulticastDomainAssociationsCommand";
@@ -5334,6 +5336,20 @@ var EC2 = (function (_super) {
5334
5336
  return this.send(command, optionsOrCb);
5335
5337
  }
5336
5338
  };
5339
+ EC2.prototype.getInstanceTypesFromInstanceRequirements = function (args, optionsOrCb, cb) {
5340
+ var command = new GetInstanceTypesFromInstanceRequirementsCommand(args);
5341
+ if (typeof optionsOrCb === "function") {
5342
+ this.send(command, optionsOrCb);
5343
+ }
5344
+ else if (typeof cb === "function") {
5345
+ if (typeof optionsOrCb !== "object")
5346
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
5347
+ this.send(command, optionsOrCb || {}, cb);
5348
+ }
5349
+ else {
5350
+ return this.send(command, optionsOrCb);
5351
+ }
5352
+ };
5337
5353
  EC2.prototype.getLaunchTemplateData = function (args, optionsOrCb, cb) {
5338
5354
  var command = new GetLaunchTemplateDataCommand(args);
5339
5355
  if (typeof optionsOrCb === "function") {
@@ -5418,6 +5434,20 @@ var EC2 = (function (_super) {
5418
5434
  return this.send(command, optionsOrCb);
5419
5435
  }
5420
5436
  };
5437
+ EC2.prototype.getSpotPlacementScores = function (args, optionsOrCb, cb) {
5438
+ var command = new GetSpotPlacementScoresCommand(args);
5439
+ if (typeof optionsOrCb === "function") {
5440
+ this.send(command, optionsOrCb);
5441
+ }
5442
+ else if (typeof cb === "function") {
5443
+ if (typeof optionsOrCb !== "object")
5444
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
5445
+ this.send(command, optionsOrCb || {}, cb);
5446
+ }
5447
+ else {
5448
+ return this.send(command, optionsOrCb);
5449
+ }
5450
+ };
5421
5451
  EC2.prototype.getSubnetCidrReservations = function (args, optionsOrCb, cb) {
5422
5452
  var command = new GetSubnetCidrReservationsCommand(args);
5423
5453
  if (typeof optionsOrCb === "function") {
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateFleetRequest, CreateFleetResult } from "../models/models_0";
4
+ import { CreateFleetRequest } from "../models/models_0";
5
+ import { CreateFleetResult } from "../models/models_1";
5
6
  import { deserializeAws_ec2CreateFleetCommand, serializeAws_ec2CreateFleetCommand } from "../protocols/Aws_ec2";
6
7
  var CreateFleetCommand = (function (_super) {
7
8
  __extends(CreateFleetCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateFlowLogsRequest, CreateFlowLogsResult } from "../models/models_0";
4
+ import { CreateFlowLogsRequest, CreateFlowLogsResult } from "../models/models_1";
5
5
  import { deserializeAws_ec2CreateFlowLogsCommand, serializeAws_ec2CreateFlowLogsCommand } from "../protocols/Aws_ec2";
6
6
  var CreateFlowLogsCommand = (function (_super) {
7
7
  __extends(CreateFlowLogsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateFpgaImageRequest, CreateFpgaImageResult } from "../models/models_0";
4
+ import { CreateFpgaImageRequest, CreateFpgaImageResult } from "../models/models_1";
5
5
  import { deserializeAws_ec2CreateFpgaImageCommand, serializeAws_ec2CreateFpgaImageCommand } from "../protocols/Aws_ec2";
6
6
  var CreateFpgaImageCommand = (function (_super) {
7
7
  __extends(CreateFpgaImageCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateImageRequest, CreateImageResult } from "../models/models_0";
4
+ import { CreateImageRequest, CreateImageResult } from "../models/models_1";
5
5
  import { deserializeAws_ec2CreateImageCommand, serializeAws_ec2CreateImageCommand } from "../protocols/Aws_ec2";
6
6
  var CreateImageCommand = (function (_super) {
7
7
  __extends(CreateImageCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateVpcEndpointServiceConfigurationRequest, CreateVpcEndpointServiceConfigurationResult, } from "../models/models_1";
4
+ import { CreateVpcEndpointServiceConfigurationRequest, CreateVpcEndpointServiceConfigurationResult, } from "../models/models_2";
5
5
  import { deserializeAws_ec2CreateVpcEndpointServiceConfigurationCommand, serializeAws_ec2CreateVpcEndpointServiceConfigurationCommand, } from "../protocols/Aws_ec2";
6
6
  var CreateVpcEndpointServiceConfigurationCommand = (function (_super) {
7
7
  __extends(CreateVpcEndpointServiceConfigurationCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateVpcPeeringConnectionRequest, CreateVpcPeeringConnectionResult } from "../models/models_1";
4
+ import { CreateVpcPeeringConnectionRequest, CreateVpcPeeringConnectionResult } from "../models/models_2";
5
5
  import { deserializeAws_ec2CreateVpcPeeringConnectionCommand, serializeAws_ec2CreateVpcPeeringConnectionCommand, } from "../protocols/Aws_ec2";
6
6
  var CreateVpcPeeringConnectionCommand = (function (_super) {
7
7
  __extends(CreateVpcPeeringConnectionCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateVpnConnectionRequest } from "../models/models_1";
5
- import { CreateVpnConnectionResult } from "../models/models_2";
4
+ import { CreateVpnConnectionRequest, CreateVpnConnectionResult } from "../models/models_2";
6
5
  import { deserializeAws_ec2CreateVpnConnectionCommand, serializeAws_ec2CreateVpnConnectionCommand, } from "../protocols/Aws_ec2";
7
6
  var CreateVpnConnectionCommand = (function (_super) {
8
7
  __extends(CreateVpnConnectionCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeHostsRequest, DescribeHostsResult } from "../models/models_2";
4
+ import { DescribeHostsRequest } from "../models/models_2";
5
+ import { DescribeHostsResult } from "../models/models_3";
5
6
  import { deserializeAws_ec2DescribeHostsCommand, serializeAws_ec2DescribeHostsCommand } from "../protocols/Aws_ec2";
6
7
  var DescribeHostsCommand = (function (_super) {
7
8
  __extends(DescribeHostsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult, } from "../models/models_2";
4
+ import { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult, } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeIamInstanceProfileAssociationsCommand, serializeAws_ec2DescribeIamInstanceProfileAssociationsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeIamInstanceProfileAssociationsCommand = (function (_super) {
7
7
  __extends(DescribeIamInstanceProfileAssociationsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeIdFormatRequest, DescribeIdFormatResult } from "../models/models_2";
4
+ import { DescribeIdFormatRequest, DescribeIdFormatResult } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeIdFormatCommand, serializeAws_ec2DescribeIdFormatCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeIdFormatCommand = (function (_super) {
7
7
  __extends(DescribeIdFormatCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_2";
4
+ import { DescribeIdentityIdFormatRequest, DescribeIdentityIdFormatResult } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeIdentityIdFormatCommand, serializeAws_ec2DescribeIdentityIdFormatCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeIdentityIdFormatCommand = (function (_super) {
7
7
  __extends(DescribeIdentityIdFormatCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeImageAttributeRequest, ImageAttribute } from "../models/models_2";
4
+ import { DescribeImageAttributeRequest, ImageAttribute } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeImageAttributeCommand, serializeAws_ec2DescribeImageAttributeCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeImageAttributeCommand = (function (_super) {
7
7
  __extends(DescribeImageAttributeCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeImagesRequest, DescribeImagesResult } from "../models/models_2";
4
+ import { DescribeImagesRequest, DescribeImagesResult } from "../models/models_3";
5
5
  import { deserializeAws_ec2DescribeImagesCommand, serializeAws_ec2DescribeImagesCommand } from "../protocols/Aws_ec2";
6
6
  var DescribeImagesCommand = (function (_super) {
7
7
  __extends(DescribeImagesCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeImportImageTasksRequest } from "../models/models_2";
5
- import { DescribeImportImageTasksResult } from "../models/models_3";
4
+ import { DescribeImportImageTasksRequest, DescribeImportImageTasksResult } from "../models/models_3";
6
5
  import { deserializeAws_ec2DescribeImportImageTasksCommand, serializeAws_ec2DescribeImportImageTasksCommand, } from "../protocols/Aws_ec2";
7
6
  var DescribeImportImageTasksCommand = (function (_super) {
8
7
  __extends(DescribeImportImageTasksCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeSubnetsRequest, DescribeSubnetsResult } from "../models/models_3";
4
+ import { DescribeSubnetsRequest } from "../models/models_3";
5
+ import { DescribeSubnetsResult } from "../models/models_4";
5
6
  import { deserializeAws_ec2DescribeSubnetsCommand, serializeAws_ec2DescribeSubnetsCommand } from "../protocols/Aws_ec2";
6
7
  var DescribeSubnetsCommand = (function (_super) {
7
8
  __extends(DescribeSubnetsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTagsRequest, DescribeTagsResult } from "../models/models_3";
4
+ import { DescribeTagsRequest, DescribeTagsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTagsCommand, serializeAws_ec2DescribeTagsCommand } from "../protocols/Aws_ec2";
6
6
  var DescribeTagsCommand = (function (_super) {
7
7
  __extends(DescribeTagsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTrafficMirrorFiltersRequest, DescribeTrafficMirrorFiltersResult } from "../models/models_3";
4
+ import { DescribeTrafficMirrorFiltersRequest, DescribeTrafficMirrorFiltersResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTrafficMirrorFiltersCommand, serializeAws_ec2DescribeTrafficMirrorFiltersCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTrafficMirrorFiltersCommand = (function (_super) {
7
7
  __extends(DescribeTrafficMirrorFiltersCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTrafficMirrorSessionsRequest, DescribeTrafficMirrorSessionsResult } from "../models/models_3";
4
+ import { DescribeTrafficMirrorSessionsRequest, DescribeTrafficMirrorSessionsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTrafficMirrorSessionsCommand, serializeAws_ec2DescribeTrafficMirrorSessionsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTrafficMirrorSessionsCommand = (function (_super) {
7
7
  __extends(DescribeTrafficMirrorSessionsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTrafficMirrorTargetsRequest, DescribeTrafficMirrorTargetsResult } from "../models/models_3";
4
+ import { DescribeTrafficMirrorTargetsRequest, DescribeTrafficMirrorTargetsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTrafficMirrorTargetsCommand, serializeAws_ec2DescribeTrafficMirrorTargetsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTrafficMirrorTargetsCommand = (function (_super) {
7
7
  __extends(DescribeTrafficMirrorTargetsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayAttachmentsRequest, DescribeTransitGatewayAttachmentsResult } from "../models/models_3";
4
+ import { DescribeTransitGatewayAttachmentsRequest, DescribeTransitGatewayAttachmentsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayAttachmentsCommand, serializeAws_ec2DescribeTransitGatewayAttachmentsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayAttachmentsCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayAttachmentsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayConnectPeersRequest, DescribeTransitGatewayConnectPeersResult, } from "../models/models_3";
4
+ import { DescribeTransitGatewayConnectPeersRequest, DescribeTransitGatewayConnectPeersResult, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayConnectPeersCommand, serializeAws_ec2DescribeTransitGatewayConnectPeersCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayConnectPeersCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayConnectPeersCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayConnectsRequest, DescribeTransitGatewayConnectsResult } from "../models/models_3";
4
+ import { DescribeTransitGatewayConnectsRequest, DescribeTransitGatewayConnectsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayConnectsCommand, serializeAws_ec2DescribeTransitGatewayConnectsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayConnectsCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayConnectsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayMulticastDomainsRequest, DescribeTransitGatewayMulticastDomainsResult, } from "../models/models_3";
4
+ import { DescribeTransitGatewayMulticastDomainsRequest, DescribeTransitGatewayMulticastDomainsResult, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand, serializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayMulticastDomainsCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayMulticastDomainsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayPeeringAttachmentsRequest, DescribeTransitGatewayPeeringAttachmentsResult, } from "../models/models_3";
4
+ import { DescribeTransitGatewayPeeringAttachmentsRequest, DescribeTransitGatewayPeeringAttachmentsResult, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand, serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayPeeringAttachmentsCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayPeeringAttachmentsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayRouteTablesRequest, DescribeTransitGatewayRouteTablesResult } from "../models/models_3";
4
+ import { DescribeTransitGatewayRouteTablesRequest, DescribeTransitGatewayRouteTablesResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayRouteTablesCommand, serializeAws_ec2DescribeTransitGatewayRouteTablesCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayRouteTablesCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayRouteTablesCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewayVpcAttachmentsRequest, DescribeTransitGatewayVpcAttachmentsResult, } from "../models/models_3";
4
+ import { DescribeTransitGatewayVpcAttachmentsRequest, DescribeTransitGatewayVpcAttachmentsResult, } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand, serializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewayVpcAttachmentsCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewayVpcAttachmentsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTransitGatewaysRequest, DescribeTransitGatewaysResult } from "../models/models_3";
4
+ import { DescribeTransitGatewaysRequest, DescribeTransitGatewaysResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeTransitGatewaysCommand, serializeAws_ec2DescribeTransitGatewaysCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeTransitGatewaysCommand = (function (_super) {
7
7
  __extends(DescribeTransitGatewaysCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTrunkInterfaceAssociationsRequest } from "../models/models_3";
5
- import { DescribeTrunkInterfaceAssociationsResult } from "../models/models_4";
4
+ import { DescribeTrunkInterfaceAssociationsRequest, DescribeTrunkInterfaceAssociationsResult, } from "../models/models_4";
6
5
  import { deserializeAws_ec2DescribeTrunkInterfaceAssociationsCommand, serializeAws_ec2DescribeTrunkInterfaceAssociationsCommand, } from "../protocols/Aws_ec2";
7
6
  var DescribeTrunkInterfaceAssociationsCommand = (function (_super) {
8
7
  __extends(DescribeTrunkInterfaceAssociationsCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetInstanceTypesFromInstanceRequirementsRequest, GetInstanceTypesFromInstanceRequirementsResult, } from "../models/models_4";
5
+ import { deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, } from "../protocols/Aws_ec2";
6
+ var GetInstanceTypesFromInstanceRequirementsCommand = (function (_super) {
7
+ __extends(GetInstanceTypesFromInstanceRequirementsCommand, _super);
8
+ function GetInstanceTypesFromInstanceRequirementsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetInstanceTypesFromInstanceRequirementsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "GetInstanceTypesFromInstanceRequirementsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetInstanceTypesFromInstanceRequirementsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetInstanceTypesFromInstanceRequirementsResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetInstanceTypesFromInstanceRequirementsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand(input, context);
33
+ };
34
+ GetInstanceTypesFromInstanceRequirementsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand(output, context);
36
+ };
37
+ return GetInstanceTypesFromInstanceRequirementsCommand;
38
+ }($Command));
39
+ export { GetInstanceTypesFromInstanceRequirementsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSpotPlacementScoresRequest, GetSpotPlacementScoresResult } from "../models/models_4";
5
+ import { deserializeAws_ec2GetSpotPlacementScoresCommand, serializeAws_ec2GetSpotPlacementScoresCommand, } from "../protocols/Aws_ec2";
6
+ var GetSpotPlacementScoresCommand = (function (_super) {
7
+ __extends(GetSpotPlacementScoresCommand, _super);
8
+ function GetSpotPlacementScoresCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetSpotPlacementScoresCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "GetSpotPlacementScoresCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetSpotPlacementScoresRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetSpotPlacementScoresResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetSpotPlacementScoresCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2GetSpotPlacementScoresCommand(input, context);
33
+ };
34
+ GetSpotPlacementScoresCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2GetSpotPlacementScoresCommand(output, context);
36
+ };
37
+ return GetSpotPlacementScoresCommand;
38
+ }($Command));
39
+ export { GetSpotPlacementScoresCommand };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceCreditSpecificationRequest, ModifyInstanceCreditSpecificationResult } from "../models/models_4";
4
+ import { ModifyInstanceCreditSpecificationRequest, ModifyInstanceCreditSpecificationResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyInstanceCreditSpecificationCommand, serializeAws_ec2ModifyInstanceCreditSpecificationCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyInstanceCreditSpecificationCommand = (function (_super) {
7
7
  __extends(ModifyInstanceCreditSpecificationCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceEventStartTimeRequest, ModifyInstanceEventStartTimeResult } from "../models/models_4";
4
+ import { ModifyInstanceEventStartTimeRequest, ModifyInstanceEventStartTimeResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyInstanceEventStartTimeCommand, serializeAws_ec2ModifyInstanceEventStartTimeCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyInstanceEventStartTimeCommand = (function (_super) {
7
7
  __extends(ModifyInstanceEventStartTimeCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_4";
4
+ import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyInstanceEventWindowCommand, serializeAws_ec2ModifyInstanceEventWindowCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyInstanceEventWindowCommand = (function (_super) {
7
7
  __extends(ModifyInstanceEventWindowCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstanceMetadataOptionsRequest, ModifyInstanceMetadataOptionsResult } from "../models/models_4";
4
+ import { ModifyInstanceMetadataOptionsRequest, ModifyInstanceMetadataOptionsResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyInstanceMetadataOptionsCommand, serializeAws_ec2ModifyInstanceMetadataOptionsCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyInstanceMetadataOptionsCommand = (function (_super) {
7
7
  __extends(ModifyInstanceMetadataOptionsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyInstancePlacementRequest, ModifyInstancePlacementResult } from "../models/models_4";
4
+ import { ModifyInstancePlacementRequest, ModifyInstancePlacementResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyInstancePlacementCommand, serializeAws_ec2ModifyInstancePlacementCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyInstancePlacementCommand = (function (_super) {
7
7
  __extends(ModifyInstancePlacementCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyLaunchTemplateRequest, ModifyLaunchTemplateResult } from "../models/models_4";
4
+ import { ModifyLaunchTemplateRequest, ModifyLaunchTemplateResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyLaunchTemplateCommand, serializeAws_ec2ModifyLaunchTemplateCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyLaunchTemplateCommand = (function (_super) {
7
7
  __extends(ModifyLaunchTemplateCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ModifyManagedPrefixListRequest, ModifyManagedPrefixListResult } from "../models/models_4";
4
+ import { ModifyManagedPrefixListRequest, ModifyManagedPrefixListResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2ModifyManagedPrefixListCommand, serializeAws_ec2ModifyManagedPrefixListCommand, } from "../protocols/Aws_ec2";
6
6
  var ModifyManagedPrefixListCommand = (function (_super) {
7
7
  __extends(ModifyManagedPrefixListCommand, _super);