@aws-sdk/client-ec2 3.842.0 → 3.844.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 (211) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +679 -169
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DescribeCapacityBlockStatusCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlocksCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/models/models_3.js +15 -6
  10. package/dist-es/models/models_4.js +6 -0
  11. package/dist-es/pagination/DescribeCapacityBlockStatusPaginator.js +4 -0
  12. package/dist-es/pagination/DescribeCapacityBlocksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +3 -1
  14. package/dist-es/protocols/Aws_ec2.js +359 -60
  15. package/dist-es/waiters/index.js +4 -2
  16. package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +69 -0
  17. package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +79 -0
  18. package/dist-types/EC2.d.ts +16 -0
  19. package/dist-types/EC2Client.d.ts +4 -2
  20. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  21. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  22. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  23. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  24. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +1 -1
  25. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  26. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  27. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  28. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -3
  30. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -2
  31. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  54. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  67. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  105. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +6 -2
  106. package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +102 -0
  107. package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +106 -0
  108. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  109. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +2 -1
  110. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -2
  113. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +14 -59
  114. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  115. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -1
  116. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -0
  121. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  122. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
  124. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  127. package/dist-types/commands/DetachVolumeCommand.d.ts +3 -3
  128. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  129. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  130. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  131. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +2 -1
  132. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  133. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  134. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  135. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  136. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  138. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -2
  139. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  140. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +24 -2
  141. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  142. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  143. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  144. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  145. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  147. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -2
  148. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  149. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  150. package/dist-types/commands/RunInstancesCommand.d.ts +2 -1
  151. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  152. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  153. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  154. package/dist-types/commands/index.d.ts +2 -0
  155. package/dist-types/models/models_0.d.ts +7 -6
  156. package/dist-types/models/models_1.d.ts +14 -2
  157. package/dist-types/models/models_3.d.ts +329 -270
  158. package/dist-types/models/models_4.d.ts +288 -210
  159. package/dist-types/models/models_5.d.ts +217 -381
  160. package/dist-types/models/models_6.d.ts +381 -294
  161. package/dist-types/models/models_7.d.ts +301 -145
  162. package/dist-types/models/models_8.d.ts +141 -1
  163. package/dist-types/pagination/DescribeCapacityBlockStatusPaginator.d.ts +7 -0
  164. package/dist-types/pagination/DescribeCapacityBlocksPaginator.d.ts +7 -0
  165. package/dist-types/pagination/index.d.ts +3 -1
  166. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  167. package/dist-types/ts3.4/EC2.d.ts +36 -0
  168. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  169. package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +2 -4
  172. package/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -2
  175. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -4
  176. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
  180. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  184. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  187. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -2
  192. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  193. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  194. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  195. package/dist-types/ts3.4/models/models_3.d.ts +71 -57
  196. package/dist-types/ts3.4/models/models_4.d.ts +59 -52
  197. package/dist-types/ts3.4/models/models_5.d.ts +53 -72
  198. package/dist-types/ts3.4/models/models_6.d.ts +67 -54
  199. package/dist-types/ts3.4/models/models_7.d.ts +56 -38
  200. package/dist-types/ts3.4/models/models_8.d.ts +38 -0
  201. package/dist-types/ts3.4/pagination/DescribeCapacityBlockStatusPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/DescribeCapacityBlocksPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  204. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  205. package/dist-types/ts3.4/waiters/index.d.ts +4 -2
  206. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +11 -0
  207. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +11 -0
  208. package/dist-types/waiters/index.d.ts +4 -2
  209. package/dist-types/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +14 -0
  210. package/dist-types/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +14 -0
  211. package/package.json +15 -15
@@ -253,6 +253,8 @@ import { DescribeByoipCidrsCommandInput, DescribeByoipCidrsCommandOutput } from
253
253
  import { DescribeCapacityBlockExtensionHistoryCommandInput, DescribeCapacityBlockExtensionHistoryCommandOutput } from "../commands/DescribeCapacityBlockExtensionHistoryCommand";
254
254
  import { DescribeCapacityBlockExtensionOfferingsCommandInput, DescribeCapacityBlockExtensionOfferingsCommandOutput } from "../commands/DescribeCapacityBlockExtensionOfferingsCommand";
255
255
  import { DescribeCapacityBlockOfferingsCommandInput, DescribeCapacityBlockOfferingsCommandOutput } from "../commands/DescribeCapacityBlockOfferingsCommand";
256
+ import { DescribeCapacityBlocksCommandInput, DescribeCapacityBlocksCommandOutput } from "../commands/DescribeCapacityBlocksCommand";
257
+ import { DescribeCapacityBlockStatusCommandInput, DescribeCapacityBlockStatusCommandOutput } from "../commands/DescribeCapacityBlockStatusCommand";
256
258
  import { DescribeCapacityReservationBillingRequestsCommandInput, DescribeCapacityReservationBillingRequestsCommandOutput } from "../commands/DescribeCapacityReservationBillingRequestsCommand";
257
259
  import { DescribeCapacityReservationFleetsCommandInput, DescribeCapacityReservationFleetsCommandOutput } from "../commands/DescribeCapacityReservationFleetsCommand";
258
260
  import { DescribeCapacityReservationsCommandInput, DescribeCapacityReservationsCommandOutput } from "../commands/DescribeCapacityReservationsCommand";
@@ -1698,6 +1700,14 @@ export declare const se_DescribeCapacityBlockExtensionOfferingsCommand: (input:
1698
1700
  * serializeAws_ec2DescribeCapacityBlockOfferingsCommand
1699
1701
  */
1700
1702
  export declare const se_DescribeCapacityBlockOfferingsCommand: (input: DescribeCapacityBlockOfferingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1703
+ /**
1704
+ * serializeAws_ec2DescribeCapacityBlocksCommand
1705
+ */
1706
+ export declare const se_DescribeCapacityBlocksCommand: (input: DescribeCapacityBlocksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1707
+ /**
1708
+ * serializeAws_ec2DescribeCapacityBlockStatusCommand
1709
+ */
1710
+ export declare const se_DescribeCapacityBlockStatusCommand: (input: DescribeCapacityBlockStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1701
1711
  /**
1702
1712
  * serializeAws_ec2DescribeCapacityReservationBillingRequestsCommand
1703
1713
  */
@@ -4442,6 +4452,14 @@ export declare const de_DescribeCapacityBlockExtensionOfferingsCommand: (output:
4442
4452
  * deserializeAws_ec2DescribeCapacityBlockOfferingsCommand
4443
4453
  */
4444
4454
  export declare const de_DescribeCapacityBlockOfferingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityBlockOfferingsCommandOutput>;
4455
+ /**
4456
+ * deserializeAws_ec2DescribeCapacityBlocksCommand
4457
+ */
4458
+ export declare const de_DescribeCapacityBlocksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityBlocksCommandOutput>;
4459
+ /**
4460
+ * deserializeAws_ec2DescribeCapacityBlockStatusCommand
4461
+ */
4462
+ export declare const de_DescribeCapacityBlockStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityBlockStatusCommandOutput>;
4445
4463
  /**
4446
4464
  * deserializeAws_ec2DescribeCapacityReservationBillingRequestsCommand
4447
4465
  */
@@ -1011,6 +1011,14 @@ import {
1011
1011
  DescribeCapacityBlockOfferingsCommandInput,
1012
1012
  DescribeCapacityBlockOfferingsCommandOutput,
1013
1013
  } from "./commands/DescribeCapacityBlockOfferingsCommand";
1014
+ import {
1015
+ DescribeCapacityBlocksCommandInput,
1016
+ DescribeCapacityBlocksCommandOutput,
1017
+ } from "./commands/DescribeCapacityBlocksCommand";
1018
+ import {
1019
+ DescribeCapacityBlockStatusCommandInput,
1020
+ DescribeCapacityBlockStatusCommandOutput,
1021
+ } from "./commands/DescribeCapacityBlockStatusCommand";
1014
1022
  import {
1015
1023
  DescribeCapacityReservationBillingRequestsCommandInput,
1016
1024
  DescribeCapacityReservationBillingRequestsCommandOutput,
@@ -6368,6 +6376,34 @@ export interface EC2 {
6368
6376
  options: __HttpHandlerOptions,
6369
6377
  cb: (err: any, data?: DescribeCapacityBlockOfferingsCommandOutput) => void
6370
6378
  ): void;
6379
+ describeCapacityBlocks(): Promise<DescribeCapacityBlocksCommandOutput>;
6380
+ describeCapacityBlocks(
6381
+ args: DescribeCapacityBlocksCommandInput,
6382
+ options?: __HttpHandlerOptions
6383
+ ): Promise<DescribeCapacityBlocksCommandOutput>;
6384
+ describeCapacityBlocks(
6385
+ args: DescribeCapacityBlocksCommandInput,
6386
+ cb: (err: any, data?: DescribeCapacityBlocksCommandOutput) => void
6387
+ ): void;
6388
+ describeCapacityBlocks(
6389
+ args: DescribeCapacityBlocksCommandInput,
6390
+ options: __HttpHandlerOptions,
6391
+ cb: (err: any, data?: DescribeCapacityBlocksCommandOutput) => void
6392
+ ): void;
6393
+ describeCapacityBlockStatus(): Promise<DescribeCapacityBlockStatusCommandOutput>;
6394
+ describeCapacityBlockStatus(
6395
+ args: DescribeCapacityBlockStatusCommandInput,
6396
+ options?: __HttpHandlerOptions
6397
+ ): Promise<DescribeCapacityBlockStatusCommandOutput>;
6398
+ describeCapacityBlockStatus(
6399
+ args: DescribeCapacityBlockStatusCommandInput,
6400
+ cb: (err: any, data?: DescribeCapacityBlockStatusCommandOutput) => void
6401
+ ): void;
6402
+ describeCapacityBlockStatus(
6403
+ args: DescribeCapacityBlockStatusCommandInput,
6404
+ options: __HttpHandlerOptions,
6405
+ cb: (err: any, data?: DescribeCapacityBlockStatusCommandOutput) => void
6406
+ ): void;
6371
6407
  describeCapacityReservationBillingRequests(
6372
6408
  args: DescribeCapacityReservationBillingRequestsCommandInput,
6373
6409
  options?: __HttpHandlerOptions
@@ -1057,6 +1057,14 @@ import {
1057
1057
  DescribeCapacityBlockOfferingsCommandInput,
1058
1058
  DescribeCapacityBlockOfferingsCommandOutput,
1059
1059
  } from "./commands/DescribeCapacityBlockOfferingsCommand";
1060
+ import {
1061
+ DescribeCapacityBlocksCommandInput,
1062
+ DescribeCapacityBlocksCommandOutput,
1063
+ } from "./commands/DescribeCapacityBlocksCommand";
1064
+ import {
1065
+ DescribeCapacityBlockStatusCommandInput,
1066
+ DescribeCapacityBlockStatusCommandOutput,
1067
+ } from "./commands/DescribeCapacityBlockStatusCommand";
1060
1068
  import {
1061
1069
  DescribeCapacityReservationBillingRequestsCommandInput,
1062
1070
  DescribeCapacityReservationBillingRequestsCommandOutput,
@@ -3050,6 +3058,8 @@ export type ServiceInputTypes =
3050
3058
  | DescribeCapacityBlockExtensionHistoryCommandInput
3051
3059
  | DescribeCapacityBlockExtensionOfferingsCommandInput
3052
3060
  | DescribeCapacityBlockOfferingsCommandInput
3061
+ | DescribeCapacityBlockStatusCommandInput
3062
+ | DescribeCapacityBlocksCommandInput
3053
3063
  | DescribeCapacityReservationBillingRequestsCommandInput
3054
3064
  | DescribeCapacityReservationFleetsCommandInput
3055
3065
  | DescribeCapacityReservationsCommandInput
@@ -3737,6 +3747,8 @@ export type ServiceOutputTypes =
3737
3747
  | DescribeCapacityBlockExtensionHistoryCommandOutput
3738
3748
  | DescribeCapacityBlockExtensionOfferingsCommandOutput
3739
3749
  | DescribeCapacityBlockOfferingsCommandOutput
3750
+ | DescribeCapacityBlockStatusCommandOutput
3751
+ | DescribeCapacityBlocksCommandOutput
3740
3752
  | DescribeCapacityReservationBillingRequestsCommandOutput
3741
3753
  | DescribeCapacityReservationFleetsCommandOutput
3742
3754
  | DescribeCapacityReservationsCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DescribeCapacityBlockStatusRequest,
10
+ DescribeCapacityBlockStatusResult,
11
+ } from "../models/models_3";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeCapacityBlockStatusCommandInput
15
+ extends DescribeCapacityBlockStatusRequest {}
16
+ export interface DescribeCapacityBlockStatusCommandOutput
17
+ extends DescribeCapacityBlockStatusResult,
18
+ __MetadataBearer {}
19
+ declare const DescribeCapacityBlockStatusCommand_base: {
20
+ new (
21
+ input: DescribeCapacityBlockStatusCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeCapacityBlockStatusCommandInput,
24
+ DescribeCapacityBlockStatusCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeCapacityBlockStatusCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeCapacityBlockStatusCommandInput,
33
+ DescribeCapacityBlockStatusCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeCapacityBlockStatusCommand extends DescribeCapacityBlockStatusCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeCapacityBlockStatusRequest;
44
+ output: DescribeCapacityBlockStatusResult;
45
+ };
46
+ sdk: {
47
+ input: DescribeCapacityBlockStatusCommandInput;
48
+ output: DescribeCapacityBlockStatusCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DescribeCapacityBlocksRequest,
10
+ DescribeCapacityBlocksResult,
11
+ } from "../models/models_3";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeCapacityBlocksCommandInput
15
+ extends DescribeCapacityBlocksRequest {}
16
+ export interface DescribeCapacityBlocksCommandOutput
17
+ extends DescribeCapacityBlocksResult,
18
+ __MetadataBearer {}
19
+ declare const DescribeCapacityBlocksCommand_base: {
20
+ new (
21
+ input: DescribeCapacityBlocksCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeCapacityBlocksCommandInput,
24
+ DescribeCapacityBlocksCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeCapacityBlocksCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeCapacityBlocksCommandInput,
33
+ DescribeCapacityBlocksCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeCapacityBlocksCommand extends DescribeCapacityBlocksCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeCapacityBlocksRequest;
44
+ output: DescribeCapacityBlocksResult;
45
+ };
46
+ sdk: {
47
+ input: DescribeCapacityBlocksCommandInput;
48
+ output: DescribeCapacityBlocksCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeCarrierGatewaysRequest,
10
- DescribeCarrierGatewaysResult,
11
- } from "../models/models_3";
8
+ import { DescribeCarrierGatewaysRequest } from "../models/models_3";
9
+ import { DescribeCarrierGatewaysResult } from "../models/models_4";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeCarrierGatewaysCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeClassicLinkInstancesRequest,
10
10
  DescribeClassicLinkInstancesResult,
11
- } from "../models/models_3";
11
+ } from "../models/models_4";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeClassicLinkInstancesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeClientVpnAuthorizationRulesRequest,
10
10
  DescribeClientVpnAuthorizationRulesResult,
11
- } from "../models/models_3";
11
+ } from "../models/models_4";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeClientVpnAuthorizationRulesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeClientVpnConnectionsRequest } from "../models/models_3";
9
- import { DescribeClientVpnConnectionsResult } from "../models/models_4";
8
+ import {
9
+ DescribeClientVpnConnectionsRequest,
10
+ DescribeClientVpnConnectionsResult,
11
+ } from "../models/models_4";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeClientVpnConnectionsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeIpamResourceDiscoveryAssociationsRequest,
10
- DescribeIpamResourceDiscoveryAssociationsResult,
11
- } from "../models/models_4";
8
+ import { DescribeIpamResourceDiscoveryAssociationsRequest } from "../models/models_4";
9
+ import { DescribeIpamResourceDiscoveryAssociationsResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeIpamResourceDiscoveryAssociationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeIpamScopesRequest,
10
10
  DescribeIpamScopesResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeIpamScopesCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeIpamsRequest, DescribeIpamsResult } from "../models/models_4";
8
+ import { DescribeIpamsRequest, DescribeIpamsResult } from "../models/models_5";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DescribeIpamsCommandInput extends DescribeIpamsRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeIpv6PoolsRequest,
10
10
  DescribeIpv6PoolsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeIpv6PoolsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeVpcEndpointServiceConfigurationsRequest,
10
- DescribeVpcEndpointServiceConfigurationsResult,
11
- } from "../models/models_5";
8
+ import { DescribeVpcEndpointServiceConfigurationsRequest } from "../models/models_5";
9
+ import { DescribeVpcEndpointServiceConfigurationsResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeVpcEndpointServiceConfigurationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeVpcEndpointServicePermissionsRequest,
10
10
  DescribeVpcEndpointServicePermissionsResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeVpcEndpointServicePermissionsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeVpcEndpointServicesRequest,
10
10
  DescribeVpcEndpointServicesResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeVpcEndpointServicesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeVpcPeeringConnectionsRequest,
10
10
  DescribeVpcPeeringConnectionsResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeVpcPeeringConnectionsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- GetSpotPlacementScoresRequest,
10
- GetSpotPlacementScoresResult,
11
- } from "../models/models_6";
8
+ import { GetSpotPlacementScoresRequest } from "../models/models_6";
9
+ import { GetSpotPlacementScoresResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetSpotPlacementScoresCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetSubnetCidrReservationsRequest,
10
10
  GetSubnetCidrReservationsResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetSubnetCidrReservationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetTransitGatewayAttachmentPropagationsRequest,
10
10
  GetTransitGatewayAttachmentPropagationsResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetTransitGatewayAttachmentPropagationsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetTransitGatewayMulticastDomainAssociationsRequest } from "../models/models_6";
9
- import { GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_7";
8
+ import {
9
+ GetTransitGatewayMulticastDomainAssociationsRequest,
10
+ GetTransitGatewayMulticastDomainAssociationsResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetTransitGatewayMulticastDomainAssociationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  RejectTransitGatewayMulticastDomainAssociationsRequest,
10
10
  RejectTransitGatewayMulticastDomainAssociationsResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface RejectTransitGatewayMulticastDomainAssociationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  RejectTransitGatewayPeeringAttachmentRequest,
10
10
  RejectTransitGatewayPeeringAttachmentResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface RejectTransitGatewayPeeringAttachmentCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  RejectTransitGatewayVpcAttachmentRequest,
10
10
  RejectTransitGatewayVpcAttachmentResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface RejectTransitGatewayVpcAttachmentCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  RejectVpcEndpointConnectionsRequest,
10
10
  RejectVpcEndpointConnectionsResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface RejectVpcEndpointConnectionsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { RejectVpcPeeringConnectionRequest } from "../models/models_7";
9
- import { RejectVpcPeeringConnectionResult } from "../models/models_8";
8
+ import {
9
+ RejectVpcPeeringConnectionRequest,
10
+ RejectVpcPeeringConnectionResult,
11
+ } from "../models/models_8";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface RejectVpcPeeringConnectionCommandInput
@@ -251,6 +251,8 @@ export * from "./DescribeByoipCidrsCommand";
251
251
  export * from "./DescribeCapacityBlockExtensionHistoryCommand";
252
252
  export * from "./DescribeCapacityBlockExtensionOfferingsCommand";
253
253
  export * from "./DescribeCapacityBlockOfferingsCommand";
254
+ export * from "./DescribeCapacityBlockStatusCommand";
255
+ export * from "./DescribeCapacityBlocksCommand";
254
256
  export * from "./DescribeCapacityReservationBillingRequestsCommand";
255
257
  export * from "./DescribeCapacityReservationFleetsCommand";
256
258
  export * from "./DescribeCapacityReservationsCommand";
@@ -47,6 +47,7 @@ export declare const AcceleratorType: {
47
47
  export type AcceleratorType =
48
48
  (typeof AcceleratorType)[keyof typeof AcceleratorType];
49
49
  export declare const ResourceType: {
50
+ readonly capacity_block: "capacity-block";
50
51
  readonly capacity_reservation: "capacity-reservation";
51
52
  readonly capacity_reservation_fleet: "capacity-reservation-fleet";
52
53
  readonly carrier_gateway: "carrier-gateway";
@@ -157,6 +157,7 @@ export declare const CapacityReservationState: {
157
157
  readonly payment_pending: "payment-pending";
158
158
  readonly pending: "pending";
159
159
  readonly scheduled: "scheduled";
160
+ readonly unavailable: "unavailable";
160
161
  readonly unsupported: "unsupported";
161
162
  };
162
163
  export type CapacityReservationState =
@@ -189,6 +190,7 @@ export interface CapacityReservation {
189
190
  UnusedReservationBillingOwnerId?: string | undefined;
190
191
  CommitmentInfo?: CapacityReservationCommitmentInfo | undefined;
191
192
  DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
193
+ CapacityBlockId?: string | undefined;
192
194
  }
193
195
  export interface CreateCapacityReservationResult {
194
196
  CapacityReservation?: CapacityReservation | undefined;