@aws-sdk/client-ec2 3.696.0 → 3.698.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +741 -123
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +19 -4
  10. package/dist-es/models/models_2.js +4 -0
  11. package/dist-es/models/models_3.js +5 -17
  12. package/dist-es/models/models_4.js +17 -0
  13. package/dist-es/models/models_5.js +0 -4
  14. package/dist-es/models/models_6.js +4 -11
  15. package/dist-es/models/models_7.js +11 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  17. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -1
  19. package/dist-es/protocols/Aws_ec2.js +614 -64
  20. package/dist-types/EC2.d.ts +22 -0
  21. package/dist-types/EC2Client.d.ts +5 -2
  22. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  23. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  24. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  25. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  26. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  27. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  28. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  29. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  30. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  31. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  33. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  42. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  43. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  44. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  45. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  46. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  47. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  48. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  62. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  63. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  64. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  65. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  66. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  67. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  68. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  69. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  70. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  71. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  73. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  74. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  75. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  76. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  79. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  80. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +5 -4
  81. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  82. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  90. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  91. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  92. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  93. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  94. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  95. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  96. package/dist-types/commands/index.d.ts +3 -0
  97. package/dist-types/models/models_0.d.ts +163 -67
  98. package/dist-types/models/models_1.d.ts +480 -499
  99. package/dist-types/models/models_2.d.ts +384 -179
  100. package/dist-types/models/models_3.d.ts +693 -758
  101. package/dist-types/models/models_4.d.ts +6178 -6293
  102. package/dist-types/models/models_5.d.ts +2712 -2367
  103. package/dist-types/models/models_6.d.ts +4288 -4301
  104. package/dist-types/models/models_7.d.ts +533 -28
  105. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  106. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +3 -1
  108. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  109. package/dist-types/ts3.4/EC2.d.ts +64 -0
  110. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  111. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  115. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  120. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  123. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  127. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  148. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  149. package/dist-types/ts3.4/models/models_1.d.ts +54 -77
  150. package/dist-types/ts3.4/models/models_2.d.ts +78 -41
  151. package/dist-types/ts3.4/models/models_3.d.ts +102 -124
  152. package/dist-types/ts3.4/models/models_4.d.ts +127 -124
  153. package/dist-types/ts3.4/models/models_5.d.ts +126 -86
  154. package/dist-types/ts3.4/models/models_6.d.ts +97 -139
  155. package/dist-types/ts3.4/models/models_7.d.ts +149 -9
  156. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  159. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  160. package/package.json +1 -1
package/dist-es/EC2.js CHANGED
@@ -235,6 +235,8 @@ import { DescribeAvailabilityZonesCommand, } from "./commands/DescribeAvailabili
235
235
  import { DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, } from "./commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
236
236
  import { DescribeBundleTasksCommand, } from "./commands/DescribeBundleTasksCommand";
237
237
  import { DescribeByoipCidrsCommand, } from "./commands/DescribeByoipCidrsCommand";
238
+ import { DescribeCapacityBlockExtensionHistoryCommand, } from "./commands/DescribeCapacityBlockExtensionHistoryCommand";
239
+ import { DescribeCapacityBlockExtensionOfferingsCommand, } from "./commands/DescribeCapacityBlockExtensionOfferingsCommand";
238
240
  import { DescribeCapacityBlockOfferingsCommand, } from "./commands/DescribeCapacityBlockOfferingsCommand";
239
241
  import { DescribeCapacityReservationBillingRequestsCommand, } from "./commands/DescribeCapacityReservationBillingRequestsCommand";
240
242
  import { DescribeCapacityReservationFleetsCommand, } from "./commands/DescribeCapacityReservationFleetsCommand";
@@ -579,6 +581,7 @@ import { ProvisionIpamByoasnCommand, } from "./commands/ProvisionIpamByoasnComma
579
581
  import { ProvisionIpamPoolCidrCommand, } from "./commands/ProvisionIpamPoolCidrCommand";
580
582
  import { ProvisionPublicIpv4PoolCidrCommand, } from "./commands/ProvisionPublicIpv4PoolCidrCommand";
581
583
  import { PurchaseCapacityBlockCommand, } from "./commands/PurchaseCapacityBlockCommand";
584
+ import { PurchaseCapacityBlockExtensionCommand, } from "./commands/PurchaseCapacityBlockExtensionCommand";
582
585
  import { PurchaseHostReservationCommand, } from "./commands/PurchaseHostReservationCommand";
583
586
  import { PurchaseReservedInstancesOfferingCommand, } from "./commands/PurchaseReservedInstancesOfferingCommand";
584
587
  import { PurchaseScheduledInstancesCommand, } from "./commands/PurchaseScheduledInstancesCommand";
@@ -880,6 +883,8 @@ const commands = {
880
883
  DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,
881
884
  DescribeBundleTasksCommand,
882
885
  DescribeByoipCidrsCommand,
886
+ DescribeCapacityBlockExtensionHistoryCommand,
887
+ DescribeCapacityBlockExtensionOfferingsCommand,
883
888
  DescribeCapacityBlockOfferingsCommand,
884
889
  DescribeCapacityReservationBillingRequestsCommand,
885
890
  DescribeCapacityReservationFleetsCommand,
@@ -1224,6 +1229,7 @@ const commands = {
1224
1229
  ProvisionIpamPoolCidrCommand,
1225
1230
  ProvisionPublicIpv4PoolCidrCommand,
1226
1231
  PurchaseCapacityBlockCommand,
1232
+ PurchaseCapacityBlockExtensionCommand,
1227
1233
  PurchaseHostReservationCommand,
1228
1234
  PurchaseReservedInstancesOfferingCommand,
1229
1235
  PurchaseScheduledInstancesCommand,
@@ -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_DescribeCapacityBlockExtensionHistoryCommand, se_DescribeCapacityBlockExtensionHistoryCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeCapacityBlockExtensionHistoryCommand 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", "DescribeCapacityBlockExtensionHistory", {})
17
+ .n("EC2Client", "DescribeCapacityBlockExtensionHistoryCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCapacityBlockExtensionHistoryCommand)
20
+ .de(de_DescribeCapacityBlockExtensionHistoryCommand)
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_DescribeCapacityBlockExtensionOfferingsCommand, se_DescribeCapacityBlockExtensionOfferingsCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeCapacityBlockExtensionOfferingsCommand 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", "DescribeCapacityBlockExtensionOfferings", {})
17
+ .n("EC2Client", "DescribeCapacityBlockExtensionOfferingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCapacityBlockExtensionOfferingsCommand)
20
+ .de(de_DescribeCapacityBlockExtensionOfferingsCommand)
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_PurchaseCapacityBlockExtensionCommand, se_PurchaseCapacityBlockExtensionCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class PurchaseCapacityBlockExtensionCommand 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", "PurchaseCapacityBlockExtension", {})
17
+ .n("EC2Client", "PurchaseCapacityBlockExtensionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PurchaseCapacityBlockExtensionCommand)
20
+ .de(de_PurchaseCapacityBlockExtensionCommand)
21
+ .build() {
22
+ }
@@ -234,6 +234,8 @@ export * from "./DescribeAvailabilityZonesCommand";
234
234
  export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
235
235
  export * from "./DescribeBundleTasksCommand";
236
236
  export * from "./DescribeByoipCidrsCommand";
237
+ export * from "./DescribeCapacityBlockExtensionHistoryCommand";
238
+ export * from "./DescribeCapacityBlockExtensionOfferingsCommand";
237
239
  export * from "./DescribeCapacityBlockOfferingsCommand";
238
240
  export * from "./DescribeCapacityReservationBillingRequestsCommand";
239
241
  export * from "./DescribeCapacityReservationFleetsCommand";
@@ -578,6 +580,7 @@ export * from "./ProvisionIpamByoasnCommand";
578
580
  export * from "./ProvisionIpamPoolCidrCommand";
579
581
  export * from "./ProvisionPublicIpv4PoolCidrCommand";
580
582
  export * from "./PurchaseCapacityBlockCommand";
583
+ export * from "./PurchaseCapacityBlockExtensionCommand";
581
584
  export * from "./PurchaseHostReservationCommand";
582
585
  export * from "./PurchaseReservedInstancesOfferingCommand";
583
586
  export * from "./PurchaseScheduledInstancesCommand";
@@ -473,6 +473,10 @@ export const CancelSpotInstanceRequestState = {
473
473
  completed: "completed",
474
474
  open: "open",
475
475
  };
476
+ export const CapacityReservationDeliveryPreference = {
477
+ FIXED: "fixed",
478
+ INCREMENTAL: "incremental",
479
+ };
476
480
  export const EndDateType = {
477
481
  limited: "limited",
478
482
  unlimited: "unlimited",
@@ -505,20 +509,6 @@ export const CapacityReservationTenancy = {
505
509
  dedicated: "dedicated",
506
510
  default: "default",
507
511
  };
508
- export const CapacityReservationType = {
509
- CAPACITY_BLOCK: "capacity-block",
510
- DEFAULT: "default",
511
- };
512
- export const CapacityReservationState = {
513
- active: "active",
514
- cancelled: "cancelled",
515
- expired: "expired",
516
- failed: "failed",
517
- payment_failed: "payment-failed",
518
- payment_pending: "payment-pending",
519
- pending: "pending",
520
- scheduled: "scheduled",
521
- };
522
512
  export const OidcOptionsFilterSensitiveLog = (obj) => ({
523
513
  ...obj,
524
514
  ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
@@ -1,4 +1,21 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const CapacityReservationType = {
3
+ CAPACITY_BLOCK: "capacity-block",
4
+ DEFAULT: "default",
5
+ };
6
+ export const CapacityReservationState = {
7
+ active: "active",
8
+ assessing: "assessing",
9
+ cancelled: "cancelled",
10
+ delayed: "delayed",
11
+ expired: "expired",
12
+ failed: "failed",
13
+ payment_failed: "payment-failed",
14
+ payment_pending: "payment-pending",
15
+ pending: "pending",
16
+ scheduled: "scheduled",
17
+ unsupported: "unsupported",
18
+ };
2
19
  export const FleetInstanceMatchCriteria = {
3
20
  open: "open",
4
21
  };
@@ -945,6 +962,7 @@ export const BurstablePerformance = {
945
962
  export const CpuManufacturer = {
946
963
  AMAZON_WEB_SERVICES: "amazon-web-services",
947
964
  AMD: "amd",
965
+ APPLE: "apple",
948
966
  INTEL: "intel",
949
967
  };
950
968
  export const InstanceGeneration = {
@@ -1157,6 +1175,7 @@ export const KeyType = {
1157
1175
  rsa: "rsa",
1158
1176
  };
1159
1177
  export const CapacityReservationPreference = {
1178
+ capacity_reservations_only: "capacity-reservations-only",
1160
1179
  none: "none",
1161
1180
  open: "open",
1162
1181
  };
@@ -1245,10 +1264,6 @@ export const NatGatewayState = {
1245
1264
  FAILED: "failed",
1246
1265
  PENDING: "pending",
1247
1266
  };
1248
- export const RuleAction = {
1249
- allow: "allow",
1250
- deny: "deny",
1251
- };
1252
1267
  export const KeyPairFilterSensitiveLog = (obj) => ({
1253
1268
  ...obj,
1254
1269
  ...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
+ export const RuleAction = {
4
+ allow: "allow",
5
+ deny: "deny",
6
+ };
3
7
  export const NetworkInterfaceCreationType = {
4
8
  branch: "branch",
5
9
  efa: "efa",
@@ -61,6 +61,11 @@ export const PeriodType = {
61
61
  export const StatisticType = {
62
62
  p50: "p50",
63
63
  };
64
+ export const CapacityBlockExtensionStatus = {
65
+ PAYMENT_FAILED: "payment-failed",
66
+ PAYMENT_PENDING: "payment-pending",
67
+ PAYMENT_SUCCEEDED: "payment-succeeded",
68
+ };
64
69
  export const CallerRole = {
65
70
  odcr_owner: "odcr-owner",
66
71
  unused_reservation_billing_owner: "unused-reservation-billing-owner",
@@ -144,23 +149,6 @@ export const ProductCodeValues = {
144
149
  devpay: "devpay",
145
150
  marketplace: "marketplace",
146
151
  };
147
- export const FpgaImageStateCode = {
148
- available: "available",
149
- failed: "failed",
150
- pending: "pending",
151
- unavailable: "unavailable",
152
- };
153
- export const PaymentOption = {
154
- ALL_UPFRONT: "AllUpfront",
155
- NO_UPFRONT: "NoUpfront",
156
- PARTIAL_UPFRONT: "PartialUpfront",
157
- };
158
- export const ReservationState = {
159
- ACTIVE: "active",
160
- PAYMENT_FAILED: "payment-failed",
161
- PAYMENT_PENDING: "payment-pending",
162
- RETIRED: "retired",
163
- };
164
152
  export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
165
153
  ...obj,
166
154
  ...(obj.VerifiedAccessTrustProvider && {
@@ -1,5 +1,22 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
3
+ export const FpgaImageStateCode = {
4
+ available: "available",
5
+ failed: "failed",
6
+ pending: "pending",
7
+ unavailable: "unavailable",
8
+ };
9
+ export const PaymentOption = {
10
+ ALL_UPFRONT: "AllUpfront",
11
+ NO_UPFRONT: "NoUpfront",
12
+ PARTIAL_UPFRONT: "PartialUpfront",
13
+ };
14
+ export const ReservationState = {
15
+ ACTIVE: "active",
16
+ PAYMENT_FAILED: "payment-failed",
17
+ PAYMENT_PENDING: "payment-pending",
18
+ RETIRED: "retired",
19
+ };
3
20
  export const ImageAttributeName = {
4
21
  blockDeviceMapping: "blockDeviceMapping",
5
22
  bootMode: "bootMode",
@@ -97,10 +97,6 @@ export const TransitGatewayPropagationState = {
97
97
  export const ImageBlockPublicAccessEnabledState = {
98
98
  block_new_sharing: "block-new-sharing",
99
99
  };
100
- export const ClientCertificateRevocationListStatusCode = {
101
- active: "active",
102
- pending: "pending",
103
- };
104
100
  export const SpotFleetLaunchSpecificationFilterSensitiveLog = (obj) => ({
105
101
  ...obj,
106
102
  ...(obj.UserData && { UserData: SENSITIVE_STRING }),
@@ -2,6 +2,10 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
3
3
  import { ConversionTaskFilterSensitiveLog, } from "./models_3";
4
4
  import { SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
5
+ export const ClientCertificateRevocationListStatusCode = {
6
+ active: "active",
7
+ pending: "pending",
8
+ };
5
9
  export const UnlimitedSupportedInstanceFamily = {
6
10
  t2: "t2",
7
11
  t3: "t3",
@@ -131,17 +135,6 @@ export const HostTenancy = {
131
135
  export const TargetStorageTier = {
132
136
  archive: "archive",
133
137
  };
134
- export const TrafficMirrorFilterRuleField = {
135
- description: "description",
136
- destination_port_range: "destination-port-range",
137
- protocol: "protocol",
138
- source_port_range: "source-port-range",
139
- };
140
- export const TrafficMirrorSessionField = {
141
- description: "description",
142
- packet_length: "packet-length",
143
- virtual_network_id: "virtual-network-id",
144
- };
145
138
  export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
146
139
  ...obj,
147
140
  ...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
@@ -2,6 +2,17 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
4
4
  import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
5
+ export const TrafficMirrorFilterRuleField = {
6
+ description: "description",
7
+ destination_port_range: "destination-port-range",
8
+ protocol: "protocol",
9
+ source_port_range: "source-port-range",
10
+ };
11
+ export const TrafficMirrorSessionField = {
12
+ description: "description",
13
+ packet_length: "packet-length",
14
+ virtual_network_id: "virtual-network-id",
15
+ };
5
16
  export const VpcTenancy = {
6
17
  default: "default",
7
18
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeCapacityBlockExtensionHistoryCommand, } from "../commands/DescribeCapacityBlockExtensionHistoryCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeCapacityBlockExtensionHistory = createPaginator(EC2Client, DescribeCapacityBlockExtensionHistoryCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeCapacityBlockExtensionOfferingsCommand, } from "../commands/DescribeCapacityBlockExtensionOfferingsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export const paginateDescribeCapacityBlockExtensionOfferings = createPaginator(EC2Client, DescribeCapacityBlockExtensionOfferingsCommand, "NextToken", "NextToken", "MaxResults");
@@ -2,13 +2,15 @@ export * from "./DescribeAddressTransfersPaginator";
2
2
  export * from "./DescribeAddressesAttributePaginator";
3
3
  export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator";
4
4
  export * from "./DescribeByoipCidrsPaginator";
5
+ export * from "./DescribeCapacityBlockExtensionHistoryPaginator";
6
+ export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
5
7
  export * from "./DescribeCapacityBlockOfferingsPaginator";
6
8
  export * from "./DescribeCapacityReservationBillingRequestsPaginator";
7
9
  export * from "./DescribeCapacityReservationFleetsPaginator";
8
10
  export * from "./DescribeCapacityReservationsPaginator";
11
+ export * from "./Interfaces";
9
12
  export * from "./DescribeCarrierGatewaysPaginator";
10
13
  export * from "./DescribeClassicLinkInstancesPaginator";
11
- export * from "./Interfaces";
12
14
  export * from "./DescribeClientVpnAuthorizationRulesPaginator";
13
15
  export * from "./DescribeClientVpnConnectionsPaginator";
14
16
  export * from "./DescribeClientVpnEndpointsPaginator";