@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
package/dist-es/EC2.js CHANGED
@@ -252,6 +252,8 @@ import { DescribeByoipCidrsCommand, } from "./commands/DescribeByoipCidrsCommand
252
252
  import { DescribeCapacityBlockExtensionHistoryCommand, } from "./commands/DescribeCapacityBlockExtensionHistoryCommand";
253
253
  import { DescribeCapacityBlockExtensionOfferingsCommand, } from "./commands/DescribeCapacityBlockExtensionOfferingsCommand";
254
254
  import { DescribeCapacityBlockOfferingsCommand, } from "./commands/DescribeCapacityBlockOfferingsCommand";
255
+ import { DescribeCapacityBlocksCommand, } from "./commands/DescribeCapacityBlocksCommand";
256
+ import { DescribeCapacityBlockStatusCommand, } from "./commands/DescribeCapacityBlockStatusCommand";
255
257
  import { DescribeCapacityReservationBillingRequestsCommand, } from "./commands/DescribeCapacityReservationBillingRequestsCommand";
256
258
  import { DescribeCapacityReservationFleetsCommand, } from "./commands/DescribeCapacityReservationFleetsCommand";
257
259
  import { DescribeCapacityReservationsCommand, } from "./commands/DescribeCapacityReservationsCommand";
@@ -940,6 +942,8 @@ const commands = {
940
942
  DescribeCapacityBlockExtensionHistoryCommand,
941
943
  DescribeCapacityBlockExtensionOfferingsCommand,
942
944
  DescribeCapacityBlockOfferingsCommand,
945
+ DescribeCapacityBlocksCommand,
946
+ DescribeCapacityBlockStatusCommand,
943
947
  DescribeCapacityReservationBillingRequestsCommand,
944
948
  DescribeCapacityReservationFleetsCommand,
945
949
  DescribeCapacityReservationsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeCapacityBlockStatusCommand, se_DescribeCapacityBlockStatusCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeCapacityBlockStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DescribeCapacityBlockStatus", {})
17
+ .n("EC2Client", "DescribeCapacityBlockStatusCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCapacityBlockStatusCommand)
20
+ .de(de_DescribeCapacityBlockStatusCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeCapacityBlocksCommand, se_DescribeCapacityBlocksCommand } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeCapacityBlocksCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonEC2", "DescribeCapacityBlocks", {})
17
+ .n("EC2Client", "DescribeCapacityBlocksCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCapacityBlocksCommand)
20
+ .de(de_DescribeCapacityBlocksCommand)
21
+ .build() {
22
+ }
@@ -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";
@@ -26,6 +26,7 @@ export const AcceleratorType = {
26
26
  INFERENCE: "inference",
27
27
  };
28
28
  export const ResourceType = {
29
+ capacity_block: "capacity-block",
29
30
  capacity_reservation: "capacity-reservation",
30
31
  capacity_reservation_fleet: "capacity-reservation-fleet",
31
32
  carrier_gateway: "carrier-gateway",
@@ -50,6 +50,7 @@ export const CapacityReservationState = {
50
50
  payment_pending: "payment-pending",
51
51
  pending: "pending",
52
52
  scheduled: "scheduled",
53
+ unavailable: "unavailable",
53
54
  unsupported: "unsupported",
54
55
  };
55
56
  export const FleetInstanceMatchCriteria = {
@@ -1211,6 +1212,11 @@ export const SnapshotLocationEnum = {
1211
1212
  LOCAL: "local",
1212
1213
  REGIONAL: "regional",
1213
1214
  };
1215
+ export const IpAddressType = {
1216
+ dualstack: "dualstack",
1217
+ ipv4: "ipv4",
1218
+ ipv6: "ipv6",
1219
+ };
1214
1220
  export const Ec2InstanceConnectEndpointState = {
1215
1221
  create_complete: "create-complete",
1216
1222
  create_failed: "create-failed",
@@ -378,11 +378,6 @@ export const DnsRecordIpType = {
378
378
  ipv6: "ipv6",
379
379
  service_defined: "service-defined",
380
380
  };
381
- export const IpAddressType = {
382
- dualstack: "dualstack",
383
- ipv4: "ipv4",
384
- ipv6: "ipv6",
385
- };
386
381
  export const VpcEndpointType = {
387
382
  Gateway: "Gateway",
388
383
  GatewayLoadBalancer: "GatewayLoadBalancer",
@@ -142,6 +142,21 @@ export const CapacityBlockExtensionStatus = {
142
142
  PAYMENT_PENDING: "payment-pending",
143
143
  PAYMENT_SUCCEEDED: "payment-succeeded",
144
144
  };
145
+ export const CapacityBlockResourceState = {
146
+ active: "active",
147
+ cancelled: "cancelled",
148
+ expired: "expired",
149
+ failed: "failed",
150
+ payment_failed: "payment-failed",
151
+ payment_pending: "payment-pending",
152
+ scheduled: "scheduled",
153
+ unavailable: "unavailable",
154
+ };
155
+ export const CapacityBlockInterconnectStatus = {
156
+ impaired: "impaired",
157
+ insufficient_data: "insufficient-data",
158
+ ok: "ok",
159
+ };
145
160
  export const CallerRole = {
146
161
  odcr_owner: "odcr-owner",
147
162
  unused_reservation_billing_owner: "unused-reservation-billing-owner",
@@ -154,12 +169,6 @@ export const CapacityReservationBillingRequestStatus = {
154
169
  rejected: "rejected",
155
170
  revoked: "revoked",
156
171
  };
157
- export const ClientVpnConnectionStatusCode = {
158
- active: "active",
159
- failed_to_terminate: "failed-to-terminate",
160
- terminated: "terminated",
161
- terminating: "terminating",
162
- };
163
172
  export const VpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
164
173
  ...obj,
165
174
  ...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
@@ -1,4 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const ClientVpnConnectionStatusCode = {
3
+ active: "active",
4
+ failed_to_terminate: "failed-to-terminate",
5
+ terminated: "terminated",
6
+ terminating: "terminating",
7
+ };
2
8
  export const AssociatedNetworkType = {
3
9
  vpc: "vpc",
4
10
  };
@@ -122,7 +122,12 @@ export const VolumeModificationState = {
122
122
  modifying: "modifying",
123
123
  optimizing: "optimizing",
124
124
  };
125
+ export const InitializationType = {
126
+ default: "default",
127
+ provisioned_rate: "provisioned-rate",
128
+ };
125
129
  export const VolumeStatusName = {
130
+ initialization_state: "initialization-state",
126
131
  io_enabled: "io-enabled",
127
132
  io_performance: "io-performance",
128
133
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeCapacityBlockStatusCommand, } from "../commands/DescribeCapacityBlockStatusCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeCapacityBlockStatus = createPaginator(EC2Client, DescribeCapacityBlockStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeCapacityBlocksCommand, } from "../commands/DescribeCapacityBlocksCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeCapacityBlocks = createPaginator(EC2Client, DescribeCapacityBlocksCommand, "NextToken", "NextToken", "MaxResults");
@@ -5,10 +5,12 @@ export * from "./DescribeByoipCidrsPaginator";
5
5
  export * from "./DescribeCapacityBlockExtensionHistoryPaginator";
6
6
  export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
7
7
  export * from "./DescribeCapacityBlockOfferingsPaginator";
8
+ export * from "./DescribeCapacityBlockStatusPaginator";
9
+ export * from "./DescribeCapacityBlocksPaginator";
8
10
  export * from "./DescribeCapacityReservationBillingRequestsPaginator";
11
+ export * from "./Interfaces";
9
12
  export * from "./DescribeCapacityReservationFleetsPaginator";
10
13
  export * from "./DescribeCapacityReservationsPaginator";
11
- export * from "./Interfaces";
12
14
  export * from "./DescribeCarrierGatewaysPaginator";
13
15
  export * from "./DescribeClassicLinkInstancesPaginator";
14
16
  export * from "./DescribeClientVpnAuthorizationRulesPaginator";