@aws-sdk/client-ec2 3.696.0 → 3.698.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 (160) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +741 -123
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +19 -4
  10. package/dist-es/models/models_2.js +4 -0
  11. package/dist-es/models/models_3.js +5 -17
  12. package/dist-es/models/models_4.js +17 -0
  13. package/dist-es/models/models_5.js +0 -4
  14. package/dist-es/models/models_6.js +4 -11
  15. package/dist-es/models/models_7.js +11 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  17. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -1
  19. package/dist-es/protocols/Aws_ec2.js +614 -64
  20. package/dist-types/EC2.d.ts +22 -0
  21. package/dist-types/EC2Client.d.ts +5 -2
  22. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  23. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  24. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  25. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  26. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  27. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  28. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  29. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  30. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  31. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  33. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  42. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  43. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  44. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  45. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  46. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  47. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  48. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  62. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  63. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  64. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  65. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  66. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  67. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  68. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  69. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  70. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  71. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  73. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  74. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  75. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  76. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  79. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  80. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +5 -4
  81. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  82. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  90. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  91. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  92. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  93. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  94. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  95. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  96. package/dist-types/commands/index.d.ts +3 -0
  97. package/dist-types/models/models_0.d.ts +163 -67
  98. package/dist-types/models/models_1.d.ts +480 -499
  99. package/dist-types/models/models_2.d.ts +384 -179
  100. package/dist-types/models/models_3.d.ts +693 -758
  101. package/dist-types/models/models_4.d.ts +6178 -6293
  102. package/dist-types/models/models_5.d.ts +2712 -2367
  103. package/dist-types/models/models_6.d.ts +4288 -4301
  104. package/dist-types/models/models_7.d.ts +533 -28
  105. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  106. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +3 -1
  108. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  109. package/dist-types/ts3.4/EC2.d.ts +64 -0
  110. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  111. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  115. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  120. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  123. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  127. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  148. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  149. package/dist-types/ts3.4/models/models_1.d.ts +54 -77
  150. package/dist-types/ts3.4/models/models_2.d.ts +78 -41
  151. package/dist-types/ts3.4/models/models_3.d.ts +102 -124
  152. package/dist-types/ts3.4/models/models_4.d.ts +127 -124
  153. package/dist-types/ts3.4/models/models_5.d.ts +126 -86
  154. package/dist-types/ts3.4/models/models_6.d.ts +97 -139
  155. package/dist-types/ts3.4/models/models_7.d.ts +149 -9
  156. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  159. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  160. package/package.json +1 -1
package/README.md CHANGED
@@ -2093,6 +2093,22 @@ DescribeByoipCidrs
2093
2093
 
2094
2094
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeByoipCidrsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeByoipCidrsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeByoipCidrsCommandOutput/)
2095
2095
 
2096
+ </details>
2097
+ <details>
2098
+ <summary>
2099
+ DescribeCapacityBlockExtensionHistory
2100
+ </summary>
2101
+
2102
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeCapacityBlockExtensionHistoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeCapacityBlockExtensionHistoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeCapacityBlockExtensionHistoryCommandOutput/)
2103
+
2104
+ </details>
2105
+ <details>
2106
+ <summary>
2107
+ DescribeCapacityBlockExtensionOfferings
2108
+ </summary>
2109
+
2110
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeCapacityBlockExtensionOfferingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeCapacityBlockExtensionOfferingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeCapacityBlockExtensionOfferingsCommandOutput/)
2111
+
2096
2112
  </details>
2097
2113
  <details>
2098
2114
  <summary>
@@ -4845,6 +4861,14 @@ PurchaseCapacityBlock
4845
4861
 
4846
4862
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/PurchaseCapacityBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/PurchaseCapacityBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/PurchaseCapacityBlockCommandOutput/)
4847
4863
 
4864
+ </details>
4865
+ <details>
4866
+ <summary>
4867
+ PurchaseCapacityBlockExtension
4868
+ </summary>
4869
+
4870
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/PurchaseCapacityBlockExtensionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/PurchaseCapacityBlockExtensionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/PurchaseCapacityBlockExtensionCommandOutput/)
4871
+
4848
4872
  </details>
4849
4873
  <details>
4850
4874
  <summary>