@aws-sdk/client-ec2 3.36.1 → 3.40.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 (271) 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/CreateInstanceEventWindowCommand.js +1 -2
  8. package/dist-cjs/commands/CreateVpcEndpointServiceConfigurationCommand.js +3 -3
  9. package/dist-cjs/commands/CreateVpcPeeringConnectionCommand.js +3 -3
  10. package/dist-cjs/commands/CreateVpnConnectionCommand.js +1 -2
  11. package/dist-cjs/commands/DescribeHostsCommand.js +2 -1
  12. package/dist-cjs/commands/DescribeIamInstanceProfileAssociationsCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeIdFormatCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeIdentityIdFormatCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeImageAttributeCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeImportImageTasksCommand.js +1 -2
  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 +3 -3
  31. package/dist-cjs/commands/DescribeVolumeAttributeCommand.js +3 -3
  32. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +36 -0
  33. package/dist-cjs/commands/GetSpotPlacementScoresCommand.js +36 -0
  34. package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
  35. package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
  36. package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
  37. package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
  38. package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
  39. package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
  40. package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
  41. package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
  42. package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
  43. package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
  44. package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
  45. package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
  46. package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
  47. package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
  48. package/dist-cjs/commands/ModifyTrafficMirrorFilterRuleCommand.js +3 -3
  49. package/dist-cjs/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
  50. package/dist-cjs/commands/index.js +476 -0
  51. package/dist-cjs/endpoints.js +187 -23
  52. package/dist-cjs/index.js +5 -609
  53. package/dist-cjs/models/models_0.js +144 -108
  54. package/dist-cjs/models/models_1.js +153 -181
  55. package/dist-cjs/models/models_2.js +188 -144
  56. package/dist-cjs/models/models_3.js +150 -192
  57. package/dist-cjs/models/models_4.js +234 -223
  58. package/dist-cjs/models/models_5.js +222 -4
  59. package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +35 -0
  60. package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +35 -0
  61. package/dist-cjs/pagination/index.js +109 -0
  62. package/dist-cjs/protocols/Aws_ec2.js +2226 -915
  63. package/dist-cjs/runtimeConfig.browser.js +6 -3
  64. package/dist-cjs/runtimeConfig.js +5 -3
  65. package/dist-cjs/waiters/index.js +35 -0
  66. package/dist-es/EC2.js +30 -0
  67. package/dist-es/commands/CreateFleetCommand.js +2 -1
  68. package/dist-es/commands/CreateFlowLogsCommand.js +1 -1
  69. package/dist-es/commands/CreateFpgaImageCommand.js +1 -1
  70. package/dist-es/commands/CreateImageCommand.js +1 -1
  71. package/dist-es/commands/CreateInstanceEventWindowCommand.js +1 -2
  72. package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +1 -1
  73. package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -1
  74. package/dist-es/commands/CreateVpnConnectionCommand.js +1 -2
  75. package/dist-es/commands/DescribeHostsCommand.js +2 -1
  76. package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +1 -1
  77. package/dist-es/commands/DescribeIdFormatCommand.js +1 -1
  78. package/dist-es/commands/DescribeIdentityIdFormatCommand.js +1 -1
  79. package/dist-es/commands/DescribeImageAttributeCommand.js +1 -1
  80. package/dist-es/commands/DescribeImagesCommand.js +1 -1
  81. package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -2
  82. package/dist-es/commands/DescribeTagsCommand.js +1 -1
  83. package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +1 -1
  84. package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +1 -1
  85. package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +1 -1
  86. package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +1 -1
  87. package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +1 -1
  88. package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +1 -1
  89. package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +1 -1
  90. package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +1 -1
  91. package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +1 -1
  92. package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +1 -1
  93. package/dist-es/commands/DescribeTransitGatewaysCommand.js +1 -1
  94. package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -1
  95. package/dist-es/commands/DescribeVolumeAttributeCommand.js +1 -1
  96. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +39 -0
  97. package/dist-es/commands/GetSpotPlacementScoresCommand.js +39 -0
  98. package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
  99. package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
  100. package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
  101. package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
  102. package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
  103. package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
  104. package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
  105. package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
  106. package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
  107. package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
  108. package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
  109. package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
  110. package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
  111. package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
  112. package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +1 -1
  113. package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
  114. package/dist-es/commands/index.js +473 -0
  115. package/dist-es/endpoints.js +187 -23
  116. package/dist-es/index.js +5 -609
  117. package/dist-es/models/models_0.js +116 -73
  118. package/dist-es/models/models_1.js +102 -124
  119. package/dist-es/models/models_2.js +128 -92
  120. package/dist-es/models/models_3.js +98 -124
  121. package/dist-es/models/models_4.js +152 -147
  122. package/dist-es/models/models_5.js +147 -0
  123. package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +74 -0
  124. package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +74 -0
  125. package/dist-es/pagination/index.js +106 -0
  126. package/dist-es/protocols/Aws_ec2.js +3652 -2148
  127. package/dist-es/runtimeConfig.browser.js +3 -2
  128. package/dist-es/runtimeConfig.js +3 -3
  129. package/dist-es/waiters/index.js +32 -0
  130. package/dist-types/EC2.d.ts +54 -22
  131. package/dist-types/EC2Client.d.ts +12 -2
  132. package/dist-types/commands/CreateFleetCommand.d.ts +2 -1
  133. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  134. package/dist-types/commands/CreateFpgaImageCommand.d.ts +2 -2
  135. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  136. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
  137. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  138. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  139. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +6 -5
  140. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +2 -2
  141. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  142. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -2
  143. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -2
  144. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  145. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  146. package/dist-types/commands/DescribeHostsCommand.d.ts +2 -1
  147. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  148. package/dist-types/commands/DescribeIdFormatCommand.d.ts +2 -2
  149. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  150. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  151. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  152. package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -2
  153. package/dist-types/commands/DescribeRegionsCommand.d.ts +3 -3
  154. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -0
  155. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  156. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  157. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  158. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  159. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  160. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  161. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  162. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  163. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  164. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  165. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  166. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  167. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  168. package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
  169. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +44 -0
  170. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +42 -0
  171. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  172. package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
  173. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  174. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  175. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  176. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  177. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  178. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  179. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  180. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  181. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  182. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  183. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  184. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  185. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  186. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -3
  187. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  188. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -2
  189. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  190. package/dist-types/commands/index.d.ts +473 -0
  191. package/dist-types/index.d.ts +5 -609
  192. package/dist-types/models/models_0.d.ts +610 -699
  193. package/dist-types/models/models_1.d.ts +4710 -4496
  194. package/dist-types/models/models_2.d.ts +4647 -4707
  195. package/dist-types/models/models_3.d.ts +6978 -6938
  196. package/dist-types/models/models_4.d.ts +4834 -4487
  197. package/dist-types/models/models_5.d.ts +974 -20
  198. package/dist-types/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  199. package/dist-types/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  200. package/dist-types/pagination/index.d.ts +106 -0
  201. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  202. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  203. package/dist-types/runtimeConfig.d.ts +2 -0
  204. package/dist-types/runtimeConfig.native.d.ts +2 -0
  205. package/dist-types/ts3.4/EC2.d.ts +10 -0
  206. package/dist-types/ts3.4/EC2Client.d.ts +8 -2
  207. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +2 -1
  208. package/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
  212. package/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +1 -2
  215. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -1
  216. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  217. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  220. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -2
  222. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
  223. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
  224. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
  225. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  231. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  234. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  235. package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  239. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  241. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  242. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  243. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  251. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  252. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  253. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -2
  254. package/dist-types/ts3.4/commands/index.d.ts +473 -0
  255. package/dist-types/ts3.4/index.d.ts +5 -609
  256. package/dist-types/ts3.4/models/models_0.d.ts +231 -266
  257. package/dist-types/ts3.4/models/models_1.d.ts +401 -417
  258. package/dist-types/ts3.4/models/models_2.d.ts +439 -413
  259. package/dist-types/ts3.4/models/models_3.d.ts +2348 -2330
  260. package/dist-types/ts3.4/models/models_4.d.ts +2003 -1964
  261. package/dist-types/ts3.4/models/models_5.d.ts +485 -7
  262. package/dist-types/ts3.4/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
  263. package/dist-types/ts3.4/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
  264. package/dist-types/ts3.4/pagination/index.d.ts +106 -0
  265. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
  266. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  267. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  268. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  269. package/dist-types/ts3.4/waiters/index.d.ts +32 -0
  270. package/dist-types/waiters/index.d.ts +32 -0
  271. package/package.json +34 -34
@@ -1,34 +1,132 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- "fips-ca-central-1": {
5
- hostname: "ec2-fips.ca-central-1.amazonaws.com",
6
- signingRegion: "ca-central-1",
4
+ "ap-south-1": {
5
+ variants: [
6
+ {
7
+ hostname: "ec2.ap-south-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "api.ec2.ap-south-1.aws",
12
+ tags: ["dualstack"],
13
+ },
14
+ ],
7
15
  },
8
- "fips-us-east-1": {
9
- hostname: "ec2-fips.us-east-1.amazonaws.com",
10
- signingRegion: "us-east-1",
16
+ "ca-central-1": {
17
+ variants: [
18
+ {
19
+ hostname: "ec2.ca-central-1.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "ec2-fips.ca-central-1.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
11
27
  },
12
- "fips-us-east-2": {
13
- hostname: "ec2-fips.us-east-2.amazonaws.com",
14
- signingRegion: "us-east-2",
28
+ "eu-west-1": {
29
+ variants: [
30
+ {
31
+ hostname: "ec2.eu-west-1.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ {
35
+ hostname: "api.ec2.eu-west-1.aws",
36
+ tags: ["dualstack"],
37
+ },
38
+ ],
15
39
  },
16
- "fips-us-west-1": {
17
- hostname: "ec2-fips.us-west-1.amazonaws.com",
18
- signingRegion: "us-west-1",
40
+ "sa-east-1": {
41
+ variants: [
42
+ {
43
+ hostname: "ec2.sa-east-1.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ {
47
+ hostname: "api.ec2.sa-east-1.aws",
48
+ tags: ["dualstack"],
49
+ },
50
+ ],
19
51
  },
20
- "fips-us-west-2": {
21
- hostname: "ec2-fips.us-west-2.amazonaws.com",
22
- signingRegion: "us-west-2",
52
+ "us-east-1": {
53
+ variants: [
54
+ {
55
+ hostname: "ec2.us-east-1.amazonaws.com",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "api.ec2.us-east-1.aws",
60
+ tags: ["dualstack"],
61
+ },
62
+ {
63
+ hostname: "ec2-fips.us-east-1.amazonaws.com",
64
+ tags: ["fips"],
65
+ },
66
+ ],
67
+ },
68
+ "us-east-2": {
69
+ variants: [
70
+ {
71
+ hostname: "ec2.us-east-2.amazonaws.com",
72
+ tags: [],
73
+ },
74
+ {
75
+ hostname: "api.ec2.us-east-2.aws",
76
+ tags: ["dualstack"],
77
+ },
78
+ {
79
+ hostname: "ec2-fips.us-east-2.amazonaws.com",
80
+ tags: ["fips"],
81
+ },
82
+ ],
23
83
  },
24
84
  "us-gov-east-1": {
25
- hostname: "ec2.us-gov-east-1.amazonaws.com",
85
+ variants: [
86
+ {
87
+ hostname: "ec2.us-gov-east-1.amazonaws.com",
88
+ tags: [],
89
+ },
90
+ ],
26
91
  signingRegion: "us-gov-east-1",
27
92
  },
28
93
  "us-gov-west-1": {
29
- hostname: "ec2.us-gov-west-1.amazonaws.com",
94
+ variants: [
95
+ {
96
+ hostname: "ec2.us-gov-west-1.amazonaws.com",
97
+ tags: [],
98
+ },
99
+ ],
30
100
  signingRegion: "us-gov-west-1",
31
101
  },
102
+ "us-west-1": {
103
+ variants: [
104
+ {
105
+ hostname: "ec2.us-west-1.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "ec2-fips.us-west-1.amazonaws.com",
110
+ tags: ["fips"],
111
+ },
112
+ ],
113
+ },
114
+ "us-west-2": {
115
+ variants: [
116
+ {
117
+ hostname: "ec2.us-west-2.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ {
121
+ hostname: "api.ec2.us-west-2.aws",
122
+ tags: ["dualstack"],
123
+ },
124
+ {
125
+ hostname: "ec2-fips.us-west-2.amazonaws.com",
126
+ tags: ["fips"],
127
+ },
128
+ ],
129
+ },
32
130
  };
33
131
  var partitionHash = {
34
132
  aws: {
@@ -60,23 +158,89 @@ var partitionHash = {
60
158
  "us-west-1",
61
159
  "us-west-2",
62
160
  ],
63
- hostname: "ec2.{region}.amazonaws.com",
161
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
162
+ variants: [
163
+ {
164
+ hostname: "ec2.{region}.amazonaws.com",
165
+ tags: [],
166
+ },
167
+ {
168
+ hostname: "ec2-fips.{region}.amazonaws.com",
169
+ tags: ["fips"],
170
+ },
171
+ {
172
+ hostname: "ec2-fips.{region}.api.aws",
173
+ tags: ["dualstack", "fips"],
174
+ },
175
+ {
176
+ hostname: "ec2.{region}.api.aws",
177
+ tags: ["dualstack"],
178
+ },
179
+ ],
64
180
  },
65
181
  "aws-cn": {
66
182
  regions: ["cn-north-1", "cn-northwest-1"],
67
- hostname: "ec2.{region}.amazonaws.com.cn",
183
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
184
+ variants: [
185
+ {
186
+ hostname: "ec2.{region}.amazonaws.com.cn",
187
+ tags: [],
188
+ },
189
+ {
190
+ hostname: "ec2-fips.{region}.amazonaws.com.cn",
191
+ tags: ["fips"],
192
+ },
193
+ {
194
+ hostname: "ec2-fips.{region}.api.amazonwebservices.com.cn",
195
+ tags: ["dualstack", "fips"],
196
+ },
197
+ {
198
+ hostname: "ec2.{region}.api.amazonwebservices.com.cn",
199
+ tags: ["dualstack"],
200
+ },
201
+ ],
68
202
  },
69
203
  "aws-iso": {
70
- regions: ["us-iso-east-1"],
71
- hostname: "ec2.{region}.c2s.ic.gov",
204
+ regions: ["us-iso-east-1", "us-iso-west-1"],
205
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
206
+ variants: [
207
+ {
208
+ hostname: "ec2.{region}.c2s.ic.gov",
209
+ tags: [],
210
+ },
211
+ ],
72
212
  },
73
213
  "aws-iso-b": {
74
214
  regions: ["us-isob-east-1"],
75
- hostname: "ec2.{region}.sc2s.sgov.gov",
215
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
216
+ variants: [
217
+ {
218
+ hostname: "ec2.{region}.sc2s.sgov.gov",
219
+ tags: [],
220
+ },
221
+ ],
76
222
  },
77
223
  "aws-us-gov": {
78
224
  regions: ["us-gov-east-1", "us-gov-west-1"],
79
- hostname: "ec2.{region}.amazonaws.com",
225
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
226
+ variants: [
227
+ {
228
+ hostname: "ec2.{region}.amazonaws.com",
229
+ tags: [],
230
+ },
231
+ {
232
+ hostname: "ec2-fips.{region}.amazonaws.com",
233
+ tags: ["fips"],
234
+ },
235
+ {
236
+ hostname: "ec2-fips.{region}.api.aws",
237
+ tags: ["dualstack", "fips"],
238
+ },
239
+ {
240
+ hostname: "ec2.{region}.api.aws",
241
+ tags: ["dualstack"],
242
+ },
243
+ ],
80
244
  },
81
245
  };
82
246
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {