@aws-sdk/client-ec2 3.843.0 → 3.845.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 +459 -73
  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 +6 -0
  9. package/dist-es/models/models_2.js +0 -5
  10. package/dist-es/models/models_3.js +15 -6
  11. package/dist-es/models/models_4.js +6 -0
  12. package/dist-es/models/models_5.js +5 -0
  13. package/dist-es/pagination/DescribeCapacityBlockStatusPaginator.js +4 -0
  14. package/dist-es/pagination/DescribeCapacityBlocksPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +3 -1
  16. package/dist-es/protocols/Aws_ec2.js +384 -60
  17. package/dist-types/EC2.d.ts +16 -0
  18. package/dist-types/EC2Client.d.ts +4 -2
  19. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  20. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  22. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  23. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  24. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  25. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  26. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -3
  28. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -2
  29. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +5 -2
  42. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  52. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  53. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  65. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  66. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  103. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -0
  104. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +6 -2
  105. package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +102 -0
  106. package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +106 -0
  107. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  108. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +2 -1
  109. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -2
  112. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -0
  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/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  121. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  122. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -1
  123. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -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/DescribeVpcEndpointsCommand.d.ts +2 -1
  127. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  128. package/dist-types/commands/DetachVolumeCommand.d.ts +3 -3
  129. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  130. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  131. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  132. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -1
  133. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  134. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  135. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  136. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  138. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  139. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -2
  140. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  141. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +24 -2
  142. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  143. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  144. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
  145. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  146. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  147. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  148. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  149. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -2
  150. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  151. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  152. package/dist-types/commands/RunInstancesCommand.d.ts +2 -1
  153. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  154. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  155. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  156. package/dist-types/commands/index.d.ts +2 -0
  157. package/dist-types/models/models_0.d.ts +7 -6
  158. package/dist-types/models/models_1.d.ts +67 -19
  159. package/dist-types/models/models_2.d.ts +17 -14
  160. package/dist-types/models/models_3.d.ts +329 -270
  161. package/dist-types/models/models_4.d.ts +288 -210
  162. package/dist-types/models/models_5.d.ts +288 -461
  163. package/dist-types/models/models_6.d.ts +1413 -1339
  164. package/dist-types/models/models_7.d.ts +395 -172
  165. package/dist-types/models/models_8.d.ts +166 -1
  166. package/dist-types/pagination/DescribeCapacityBlockStatusPaginator.d.ts +7 -0
  167. package/dist-types/pagination/DescribeCapacityBlocksPaginator.d.ts +7 -0
  168. package/dist-types/pagination/index.d.ts +3 -1
  169. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  170. package/dist-types/ts3.4/EC2.d.ts +36 -0
  171. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  172. package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +2 -4
  175. package/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -2
  178. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -4
  179. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +2 -4
  186. package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  191. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -2
  197. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  199. package/dist-types/ts3.4/models/models_1.d.ts +10 -3
  200. package/dist-types/ts3.4/models/models_2.d.ts +4 -7
  201. package/dist-types/ts3.4/models/models_3.d.ts +71 -57
  202. package/dist-types/ts3.4/models/models_4.d.ts +59 -52
  203. package/dist-types/ts3.4/models/models_5.d.ts +66 -85
  204. package/dist-types/ts3.4/models/models_6.d.ts +79 -73
  205. package/dist-types/ts3.4/models/models_7.d.ts +79 -46
  206. package/dist-types/ts3.4/models/models_8.d.ts +45 -0
  207. package/dist-types/ts3.4/pagination/DescribeCapacityBlockStatusPaginator.d.ts +11 -0
  208. package/dist-types/ts3.4/pagination/DescribeCapacityBlocksPaginator.d.ts +11 -0
  209. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  210. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  211. package/package.json +15 -15
@@ -1,6 +1,6 @@
1
- import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
1
+ import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, BundleTask, ByoipCidr, CapacityReservationFleetState, InstanceEventWindowState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
2
  import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate } from "./models_1";
3
- import { GroupIdentifier, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
3
+ import { LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -5686,6 +5686,16 @@ export interface DescribeCapacityBlockOfferingsRequest {
5686
5686
  * @public
5687
5687
  */
5688
5688
  MaxResults?: number | undefined;
5689
+ /**
5690
+ * <p>The EC2 UltraServer type of the Capacity Block offerings.</p>
5691
+ * @public
5692
+ */
5693
+ UltraserverType?: string | undefined;
5694
+ /**
5695
+ * <p>The number of EC2 UltraServers in the offerings.</p>
5696
+ * @public
5697
+ */
5698
+ UltraserverCount?: number | undefined;
5689
5699
  }
5690
5700
  /**
5691
5701
  * <p>The recommended Capacity Block that fits your search requirements.</p>
@@ -5744,6 +5754,16 @@ export interface CapacityBlockOffering {
5744
5754
  * @public
5745
5755
  */
5746
5756
  Tenancy?: CapacityReservationTenancy | undefined;
5757
+ /**
5758
+ * <p>The EC2 UltraServer type of the Capacity Block offering.</p>
5759
+ * @public
5760
+ */
5761
+ UltraserverType?: string | undefined;
5762
+ /**
5763
+ * <p>The number of EC2 UltraServers in the offering.</p>
5764
+ * @public
5765
+ */
5766
+ UltraserverCount?: number | undefined;
5747
5767
  /**
5748
5768
  * <p>The number of minutes (in addition to <code>capacityBlockDurationHours</code>) for the
5749
5769
  * duration of the Capacity Block reservation. For example, if a Capacity Block starts at
@@ -5767,6 +5787,313 @@ export interface DescribeCapacityBlockOfferingsResult {
5767
5787
  */
5768
5788
  NextToken?: string | undefined;
5769
5789
  }
5790
+ /**
5791
+ * @public
5792
+ */
5793
+ export interface DescribeCapacityBlocksRequest {
5794
+ /**
5795
+ * <p>The IDs of the Capacity Blocks.</p>
5796
+ * @public
5797
+ */
5798
+ CapacityBlockIds?: string[] | undefined;
5799
+ /**
5800
+ * <p>The token to use to retrieve the next page of results.</p>
5801
+ * @public
5802
+ */
5803
+ NextToken?: string | undefined;
5804
+ /**
5805
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
5806
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5807
+ * @public
5808
+ */
5809
+ MaxResults?: number | undefined;
5810
+ /**
5811
+ * <p> One or more filters. </p>
5812
+ * <ul>
5813
+ * <li>
5814
+ * <p>
5815
+ * <code>capacity-block-id</code> - The ID of the Capacity Block.</p>
5816
+ * </li>
5817
+ * <li>
5818
+ * <p>
5819
+ * <code>ultraserver-type</code> - The Capacity Block type. The type can be
5820
+ * <code>instances</code> or <code>ultraservers</code>.</p>
5821
+ * </li>
5822
+ * <li>
5823
+ * <p>
5824
+ * <code>availability-zone</code> - The Availability Zone of the Capacity
5825
+ * Block.</p>
5826
+ * </li>
5827
+ * <li>
5828
+ * <p>
5829
+ * <code>start-date</code> - The date and time at which the Capacity Block was
5830
+ * started.</p>
5831
+ * </li>
5832
+ * <li>
5833
+ * <p>
5834
+ * <code>end-date</code> - The date and time at which the Capacity Block expires.
5835
+ * When a Capacity Block expires, all instances in the Capacity Block are
5836
+ * terminated.</p>
5837
+ * </li>
5838
+ * <li>
5839
+ * <p>
5840
+ * <code>create-date</code> - The date and time at which the Capacity Block was
5841
+ * created.</p>
5842
+ * </li>
5843
+ * <li>
5844
+ * <p>
5845
+ * <code>state</code> - The state of the Capacity Block (<code>active</code> |
5846
+ * <code>expired</code> | <code>unavailable</code> | <code>cancelled</code> |
5847
+ * <code>failed</code> | <code>scheduled</code> | <code>payment-pending</code> |
5848
+ * <code>payment-failed</code>).</p>
5849
+ * </li>
5850
+ * <li>
5851
+ * <p>
5852
+ * <code>tags</code> - The tags assigned to the Capacity Block.</p>
5853
+ * </li>
5854
+ * </ul>
5855
+ * @public
5856
+ */
5857
+ Filters?: Filter[] | undefined;
5858
+ /**
5859
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5860
+ * @public
5861
+ */
5862
+ DryRun?: boolean | undefined;
5863
+ }
5864
+ /**
5865
+ * @public
5866
+ * @enum
5867
+ */
5868
+ export declare const CapacityBlockResourceState: {
5869
+ readonly active: "active";
5870
+ readonly cancelled: "cancelled";
5871
+ readonly expired: "expired";
5872
+ readonly failed: "failed";
5873
+ readonly payment_failed: "payment-failed";
5874
+ readonly payment_pending: "payment-pending";
5875
+ readonly scheduled: "scheduled";
5876
+ readonly unavailable: "unavailable";
5877
+ };
5878
+ /**
5879
+ * @public
5880
+ */
5881
+ export type CapacityBlockResourceState = (typeof CapacityBlockResourceState)[keyof typeof CapacityBlockResourceState];
5882
+ /**
5883
+ * <p>Reserve powerful GPU instances on a future date to support your short duration machine learning (ML) workloads. Instances that run inside a Capacity Block are automatically placed close together inside <a href="http://aws.amazon.com/ec2/ultraclusters/">Amazon EC2 UltraClusters</a>, for low-latency, petabit-scale, non-blocking networking.</p>
5884
+ * <p>You can also reserve Amazon EC2 UltraServers. UltraServers connect multiple EC2 instances using a low-latency, high-bandwidth accelerator interconnect (NeuronLink). They are built to tackle very large-scale AI/ML workloads that require significant processing power. For more information, see Amazon EC2 UltraServers.</p>
5885
+ * @public
5886
+ */
5887
+ export interface CapacityBlock {
5888
+ /**
5889
+ * <p>The ID of the Capacity Block.</p>
5890
+ * @public
5891
+ */
5892
+ CapacityBlockId?: string | undefined;
5893
+ /**
5894
+ * <p>The EC2 UltraServer type of the Capacity Block.</p>
5895
+ * @public
5896
+ */
5897
+ UltraserverType?: string | undefined;
5898
+ /**
5899
+ * <p>The Availability Zone of the Capacity Block.</p>
5900
+ * @public
5901
+ */
5902
+ AvailabilityZone?: string | undefined;
5903
+ /**
5904
+ * <p>The Availability Zone ID of the Capacity Block.</p>
5905
+ * @public
5906
+ */
5907
+ AvailabilityZoneId?: string | undefined;
5908
+ /**
5909
+ * <p>The ID of the Capacity Reservation.</p>
5910
+ * @public
5911
+ */
5912
+ CapacityReservationIds?: string[] | undefined;
5913
+ /**
5914
+ * <p>The date and time at which the Capacity Block was started.</p>
5915
+ * @public
5916
+ */
5917
+ StartDate?: Date | undefined;
5918
+ /**
5919
+ * <p>The date and time at which the Capacity Block expires. When a Capacity Block expires,
5920
+ * all instances in the Capacity Block are terminated.</p>
5921
+ * @public
5922
+ */
5923
+ EndDate?: Date | undefined;
5924
+ /**
5925
+ * <p>The date and time at which the Capacity Block was created.</p>
5926
+ * @public
5927
+ */
5928
+ CreateDate?: Date | undefined;
5929
+ /**
5930
+ * <p>The state of the Capacity Block.</p>
5931
+ * @public
5932
+ */
5933
+ State?: CapacityBlockResourceState | undefined;
5934
+ /**
5935
+ * <p>The tags assigned to the Capacity Block.</p>
5936
+ * @public
5937
+ */
5938
+ Tags?: Tag[] | undefined;
5939
+ }
5940
+ /**
5941
+ * @public
5942
+ */
5943
+ export interface DescribeCapacityBlocksResult {
5944
+ /**
5945
+ * <p>The Capacity Blocks.</p>
5946
+ * @public
5947
+ */
5948
+ CapacityBlocks?: CapacityBlock[] | undefined;
5949
+ /**
5950
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
5951
+ * @public
5952
+ */
5953
+ NextToken?: string | undefined;
5954
+ }
5955
+ /**
5956
+ * @public
5957
+ */
5958
+ export interface DescribeCapacityBlockStatusRequest {
5959
+ /**
5960
+ * <p>The ID of the Capacity Block.</p>
5961
+ * @public
5962
+ */
5963
+ CapacityBlockIds?: string[] | undefined;
5964
+ /**
5965
+ * <p>The token to use to retrieve the next page of results.</p>
5966
+ * @public
5967
+ */
5968
+ NextToken?: string | undefined;
5969
+ /**
5970
+ * <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
5971
+ * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
5972
+ * @public
5973
+ */
5974
+ MaxResults?: number | undefined;
5975
+ /**
5976
+ * <p>One or more filters. </p>
5977
+ * <ul>
5978
+ * <li>
5979
+ * <p>
5980
+ * <code>interconnect-status</code> - The status of the interconnect for the Capacity Block (<code>ok</code> | <code>impaired</code> | <code>insufficient-data</code>).</p>
5981
+ * </li>
5982
+ * </ul>
5983
+ * @public
5984
+ */
5985
+ Filters?: Filter[] | undefined;
5986
+ /**
5987
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5988
+ * @public
5989
+ */
5990
+ DryRun?: boolean | undefined;
5991
+ }
5992
+ /**
5993
+ * <p>Describes the availability of capacity for a Capacity Reservation.</p>
5994
+ * @public
5995
+ */
5996
+ export interface CapacityReservationStatus {
5997
+ /**
5998
+ * <p>The ID of the Capacity Reservation.</p>
5999
+ * @public
6000
+ */
6001
+ CapacityReservationId?: string | undefined;
6002
+ /**
6003
+ * <p>The combined amount of <code>Available</code> and <code>Unavailable</code> capacity in the Capacity Reservation.</p>
6004
+ * @public
6005
+ */
6006
+ TotalCapacity?: number | undefined;
6007
+ /**
6008
+ * <p>The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.</p>
6009
+ * @public
6010
+ */
6011
+ TotalAvailableCapacity?: number | undefined;
6012
+ /**
6013
+ * <p>The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.</p>
6014
+ * @public
6015
+ */
6016
+ TotalUnavailableCapacity?: number | undefined;
6017
+ }
6018
+ /**
6019
+ * @public
6020
+ * @enum
6021
+ */
6022
+ export declare const CapacityBlockInterconnectStatus: {
6023
+ readonly impaired: "impaired";
6024
+ readonly insufficient_data: "insufficient-data";
6025
+ readonly ok: "ok";
6026
+ };
6027
+ /**
6028
+ * @public
6029
+ */
6030
+ export type CapacityBlockInterconnectStatus = (typeof CapacityBlockInterconnectStatus)[keyof typeof CapacityBlockInterconnectStatus];
6031
+ /**
6032
+ * <p>Describes the availability of capacity for a Capacity Block.</p>
6033
+ * @public
6034
+ */
6035
+ export interface CapacityBlockStatus {
6036
+ /**
6037
+ * <p>The ID of the Capacity Block.</p>
6038
+ * @public
6039
+ */
6040
+ CapacityBlockId?: string | undefined;
6041
+ /**
6042
+ * <p>The status of the high-bandwidth accelerator interconnect. Possible states include:</p>
6043
+ * <ul>
6044
+ * <li>
6045
+ * <p>
6046
+ * <code>ok</code> the accelerator interconnect is healthy.</p>
6047
+ * </li>
6048
+ * <li>
6049
+ * <p>
6050
+ * <code>impaired</code> - accelerator interconnect communication is impaired.</p>
6051
+ * </li>
6052
+ * <li>
6053
+ * <p>
6054
+ * <code>insufficient-data</code> - insufficient data to determine accelerator interconnect status.</p>
6055
+ * </li>
6056
+ * </ul>
6057
+ * @public
6058
+ */
6059
+ InterconnectStatus?: CapacityBlockInterconnectStatus | undefined;
6060
+ /**
6061
+ * <p>The combined amount of <code>Available</code> and <code>Unavailable</code> capacity in the Capacity Block.</p>
6062
+ * @public
6063
+ */
6064
+ TotalCapacity?: number | undefined;
6065
+ /**
6066
+ * <p>The remaining capacity. Indicates the number of resources that can be launched into the Capacity Block.</p>
6067
+ * @public
6068
+ */
6069
+ TotalAvailableCapacity?: number | undefined;
6070
+ /**
6071
+ * <p>The unavailable capacity. Indicates the instance capacity that is unavailable for use
6072
+ * due to a system status check failure.</p>
6073
+ * @public
6074
+ */
6075
+ TotalUnavailableCapacity?: number | undefined;
6076
+ /**
6077
+ * <p>The availability of capacity for the Capacity Block reservations.</p>
6078
+ * @public
6079
+ */
6080
+ CapacityReservationStatuses?: CapacityReservationStatus[] | undefined;
6081
+ }
6082
+ /**
6083
+ * @public
6084
+ */
6085
+ export interface DescribeCapacityBlockStatusResult {
6086
+ /**
6087
+ * <p>The availability of capacity for a Capacity Block.</p>
6088
+ * @public
6089
+ */
6090
+ CapacityBlockStatuses?: CapacityBlockStatus[] | undefined;
6091
+ /**
6092
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
6093
+ * @public
6094
+ */
6095
+ NextToken?: string | undefined;
6096
+ }
5770
6097
  /**
5771
6098
  * @public
5772
6099
  * @enum
@@ -6407,274 +6734,6 @@ export interface DescribeCarrierGatewaysRequest {
6407
6734
  */
6408
6735
  DryRun?: boolean | undefined;
6409
6736
  }
6410
- /**
6411
- * @public
6412
- */
6413
- export interface DescribeCarrierGatewaysResult {
6414
- /**
6415
- * <p>Information about the carrier gateway.</p>
6416
- * @public
6417
- */
6418
- CarrierGateways?: CarrierGateway[] | undefined;
6419
- /**
6420
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
6421
- * @public
6422
- */
6423
- NextToken?: string | undefined;
6424
- }
6425
- /**
6426
- * @public
6427
- */
6428
- export interface DescribeClassicLinkInstancesRequest {
6429
- /**
6430
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6431
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6432
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6433
- * @public
6434
- */
6435
- DryRun?: boolean | undefined;
6436
- /**
6437
- * <p>The instance IDs. Must be instances linked to a VPC through ClassicLink.</p>
6438
- * @public
6439
- */
6440
- InstanceIds?: string[] | undefined;
6441
- /**
6442
- * <p>The filters.</p>
6443
- * <ul>
6444
- * <li>
6445
- * <p>
6446
- * <code>group-id</code> - The ID of a VPC security group that's associated with the instance.</p>
6447
- * </li>
6448
- * <li>
6449
- * <p>
6450
- * <code>instance-id</code> - The ID of the instance.</p>
6451
- * </li>
6452
- * <li>
6453
- * <p>
6454
- * <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
6455
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
6456
- * </li>
6457
- * <li>
6458
- * <p>
6459
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
6460
- * </li>
6461
- * <li>
6462
- * <p>
6463
- * <code>vpc-id</code> - The ID of the VPC to which the instance is linked.</p>
6464
- * </li>
6465
- * </ul>
6466
- * @public
6467
- */
6468
- Filters?: Filter[] | undefined;
6469
- /**
6470
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
6471
- * @public
6472
- */
6473
- NextToken?: string | undefined;
6474
- /**
6475
- * <p>The maximum number of items to return for this request.
6476
- * To get the next page of items, make another request with the token returned in the output.
6477
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
6478
- * <p>Constraint: If the value is greater than 1000, we return only 1000 items.</p>
6479
- * @public
6480
- */
6481
- MaxResults?: number | undefined;
6482
- }
6483
- /**
6484
- * <note>
6485
- * <p>Deprecated.</p>
6486
- * </note>
6487
- * <p>Describes a linked EC2-Classic instance.</p>
6488
- * @public
6489
- */
6490
- export interface ClassicLinkInstance {
6491
- /**
6492
- * <p>The security groups.</p>
6493
- * @public
6494
- */
6495
- Groups?: GroupIdentifier[] | undefined;
6496
- /**
6497
- * <p>The ID of the instance.</p>
6498
- * @public
6499
- */
6500
- InstanceId?: string | undefined;
6501
- /**
6502
- * <p>Any tags assigned to the instance.</p>
6503
- * @public
6504
- */
6505
- Tags?: Tag[] | undefined;
6506
- /**
6507
- * <p>The ID of the VPC.</p>
6508
- * @public
6509
- */
6510
- VpcId?: string | undefined;
6511
- }
6512
- /**
6513
- * @public
6514
- */
6515
- export interface DescribeClassicLinkInstancesResult {
6516
- /**
6517
- * <p>Information about one or more linked EC2-Classic instances.</p>
6518
- * @public
6519
- */
6520
- Instances?: ClassicLinkInstance[] | undefined;
6521
- /**
6522
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
6523
- * @public
6524
- */
6525
- NextToken?: string | undefined;
6526
- }
6527
- /**
6528
- * @public
6529
- */
6530
- export interface DescribeClientVpnAuthorizationRulesRequest {
6531
- /**
6532
- * <p>The ID of the Client VPN endpoint.</p>
6533
- * @public
6534
- */
6535
- ClientVpnEndpointId: string | undefined;
6536
- /**
6537
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6538
- * @public
6539
- */
6540
- DryRun?: boolean | undefined;
6541
- /**
6542
- * <p>The token to retrieve the next page of results.</p>
6543
- * @public
6544
- */
6545
- NextToken?: string | undefined;
6546
- /**
6547
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
6548
- * <ul>
6549
- * <li>
6550
- * <p>
6551
- * <code>description</code> - The description of the authorization rule.</p>
6552
- * </li>
6553
- * <li>
6554
- * <p>
6555
- * <code>destination-cidr</code> - The CIDR of the network to which the authorization rule
6556
- * applies.</p>
6557
- * </li>
6558
- * <li>
6559
- * <p>
6560
- * <code>group-id</code> - The ID of the Active Directory group to which the authorization rule grants access.</p>
6561
- * </li>
6562
- * </ul>
6563
- * @public
6564
- */
6565
- Filters?: Filter[] | undefined;
6566
- /**
6567
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
6568
- * @public
6569
- */
6570
- MaxResults?: number | undefined;
6571
- }
6572
- /**
6573
- * <p>Information about an authorization rule.</p>
6574
- * @public
6575
- */
6576
- export interface AuthorizationRule {
6577
- /**
6578
- * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
6579
- * @public
6580
- */
6581
- ClientVpnEndpointId?: string | undefined;
6582
- /**
6583
- * <p>A brief description of the authorization rule.</p>
6584
- * @public
6585
- */
6586
- Description?: string | undefined;
6587
- /**
6588
- * <p>The ID of the Active Directory group to which the authorization rule grants access.</p>
6589
- * @public
6590
- */
6591
- GroupId?: string | undefined;
6592
- /**
6593
- * <p>Indicates whether the authorization rule grants access to all clients.</p>
6594
- * @public
6595
- */
6596
- AccessAll?: boolean | undefined;
6597
- /**
6598
- * <p>The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.</p>
6599
- * @public
6600
- */
6601
- DestinationCidr?: string | undefined;
6602
- /**
6603
- * <p>The current state of the authorization rule.</p>
6604
- * @public
6605
- */
6606
- Status?: ClientVpnAuthorizationRuleStatus | undefined;
6607
- }
6608
- /**
6609
- * @public
6610
- */
6611
- export interface DescribeClientVpnAuthorizationRulesResult {
6612
- /**
6613
- * <p>Information about the authorization rules.</p>
6614
- * @public
6615
- */
6616
- AuthorizationRules?: AuthorizationRule[] | undefined;
6617
- /**
6618
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
6619
- * @public
6620
- */
6621
- NextToken?: string | undefined;
6622
- }
6623
- /**
6624
- * @public
6625
- */
6626
- export interface DescribeClientVpnConnectionsRequest {
6627
- /**
6628
- * <p>The ID of the Client VPN endpoint.</p>
6629
- * @public
6630
- */
6631
- ClientVpnEndpointId: string | undefined;
6632
- /**
6633
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
6634
- * <ul>
6635
- * <li>
6636
- * <p>
6637
- * <code>connection-id</code> - The ID of the connection.</p>
6638
- * </li>
6639
- * <li>
6640
- * <p>
6641
- * <code>username</code> - For Active Directory client authentication, the user name of the
6642
- * client who established the client connection.</p>
6643
- * </li>
6644
- * </ul>
6645
- * @public
6646
- */
6647
- Filters?: Filter[] | undefined;
6648
- /**
6649
- * <p>The token to retrieve the next page of results.</p>
6650
- * @public
6651
- */
6652
- NextToken?: string | undefined;
6653
- /**
6654
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
6655
- * @public
6656
- */
6657
- MaxResults?: number | undefined;
6658
- /**
6659
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6660
- * @public
6661
- */
6662
- DryRun?: boolean | undefined;
6663
- }
6664
- /**
6665
- * @public
6666
- * @enum
6667
- */
6668
- export declare const ClientVpnConnectionStatusCode: {
6669
- readonly active: "active";
6670
- readonly failed_to_terminate: "failed-to-terminate";
6671
- readonly terminated: "terminated";
6672
- readonly terminating: "terminating";
6673
- };
6674
- /**
6675
- * @public
6676
- */
6677
- export type ClientVpnConnectionStatusCode = (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
6678
6737
  /**
6679
6738
  * @internal
6680
6739
  */