@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
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_6";
4
+ import { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTransitGatewayRequest, ModifyTransitGatewayResult } from "../models/models_6";
4
+ import { ModifyTransitGatewayRequest, ModifyTransitGatewayResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTransitGatewayPrefixListReferenceRequest, ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_6";
4
+ import { ModifyTransitGatewayPrefixListReferenceRequest, ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTransitGatewayVpcAttachmentRequest, ModifyTransitGatewayVpcAttachmentResult } from "../models/models_6";
4
+ import { ModifyTransitGatewayVpcAttachmentRequest, ModifyTransitGatewayVpcAttachmentResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const ModifyVpcBlockPublicAccessOptionsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modify VPC Block Public Access (BPA) options. VPC Block public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
30
+ * <p>Modify VPC Block Public Access (BPA) options. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,8 +27,9 @@ declare const MoveCapacityReservationInstancesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Move available capacity from a source Capacity Reservation to a destination Capacity Reservation. The source Capacity Reservation and the destination Capacity Reservation must be <code>active</code>, owned by your Amazon Web Services account, and share the following:
31
- * </p>
30
+ * <p>Move available capacity from a source Capacity Reservation to a destination Capacity
31
+ * Reservation. The source Capacity Reservation and the destination Capacity Reservation
32
+ * must be <code>active</code>, owned by your Amazon Web Services account, and share the following: </p>
32
33
  * <ul>
33
34
  * <li>
34
35
  * <p>Instance type</p>
@@ -46,7 +47,8 @@ declare const MoveCapacityReservationInstancesCommand_base: {
46
47
  * <p>Placement group</p>
47
48
  * </li>
48
49
  * <li>
49
- * <p>Capacity Reservation end time - <code>At specific time</code> or <code>Manually</code>.</p>
50
+ * <p>Capacity Reservation end time - <code>At specific time</code> or
51
+ * <code>Manually</code>.</p>
50
52
  * </li>
51
53
  * </ul>
52
54
  * @example
@@ -78,7 +80,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
78
80
  * // AvailableInstanceCount: Number("int"),
79
81
  * // EbsOptimized: true || false,
80
82
  * // EphemeralStorage: true || false,
81
- * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
83
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
82
84
  * // StartDate: new Date("TIMESTAMP"),
83
85
  * // EndDate: new Date("TIMESTAMP"),
84
86
  * // EndDateType: "unlimited" || "limited",
@@ -101,6 +103,11 @@ declare const MoveCapacityReservationInstancesCommand_base: {
101
103
  * // ],
102
104
  * // ReservationType: "default" || "capacity-block",
103
105
  * // UnusedReservationBillingOwnerId: "STRING_VALUE",
106
+ * // CommitmentInfo: { // CapacityReservationCommitmentInfo
107
+ * // CommittedInstanceCount: Number("int"),
108
+ * // CommitmentEndDate: new Date("TIMESTAMP"),
109
+ * // },
110
+ * // DeliveryPreference: "fixed" || "incremental",
104
111
  * // },
105
112
  * // DestinationCapacityReservation: {
106
113
  * // CapacityReservationId: "STRING_VALUE",
@@ -115,7 +122,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
115
122
  * // AvailableInstanceCount: Number("int"),
116
123
  * // EbsOptimized: true || false,
117
124
  * // EphemeralStorage: true || false,
118
- * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
125
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
119
126
  * // StartDate: new Date("TIMESTAMP"),
120
127
  * // EndDate: new Date("TIMESTAMP"),
121
128
  * // EndDateType: "unlimited" || "limited",
@@ -138,6 +145,11 @@ declare const MoveCapacityReservationInstancesCommand_base: {
138
145
  * // ],
139
146
  * // ReservationType: "default" || "capacity-block",
140
147
  * // UnusedReservationBillingOwnerId: "STRING_VALUE",
148
+ * // CommitmentInfo: {
149
+ * // CommittedInstanceCount: Number("int"),
150
+ * // CommitmentEndDate: new Date("TIMESTAMP"),
151
+ * // },
152
+ * // DeliveryPreference: "fixed" || "incremental",
141
153
  * // },
142
154
  * // InstanceCount: Number("int"),
143
155
  * // };
@@ -27,8 +27,9 @@ declare const PurchaseCapacityBlockCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Purchase the Capacity Block for use with your account.
31
- * With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.</p>
30
+ * <p>Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure
31
+ * GPU capacity is available for machine learning (ML) workloads. You must specify the ID
32
+ * of the Capacity Block offering you are purchasing.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -67,7 +68,7 @@ declare const PurchaseCapacityBlockCommand_base: {
67
68
  * // AvailableInstanceCount: Number("int"),
68
69
  * // EbsOptimized: true || false,
69
70
  * // EphemeralStorage: true || false,
70
- * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
71
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
71
72
  * // StartDate: new Date("TIMESTAMP"),
72
73
  * // EndDate: new Date("TIMESTAMP"),
73
74
  * // EndDateType: "unlimited" || "limited",
@@ -90,6 +91,11 @@ declare const PurchaseCapacityBlockCommand_base: {
90
91
  * // ],
91
92
  * // ReservationType: "default" || "capacity-block",
92
93
  * // UnusedReservationBillingOwnerId: "STRING_VALUE",
94
+ * // CommitmentInfo: { // CapacityReservationCommitmentInfo
95
+ * // CommittedInstanceCount: Number("int"),
96
+ * // CommitmentEndDate: new Date("TIMESTAMP"),
97
+ * // },
98
+ * // DeliveryPreference: "fixed" || "incremental",
93
99
  * // },
94
100
  * // };
95
101
  *
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { PurchaseCapacityBlockExtensionRequest, PurchaseCapacityBlockExtensionResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PurchaseCapacityBlockExtensionCommand}.
14
+ */
15
+ export interface PurchaseCapacityBlockExtensionCommandInput extends PurchaseCapacityBlockExtensionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PurchaseCapacityBlockExtensionCommand}.
21
+ */
22
+ export interface PurchaseCapacityBlockExtensionCommandOutput extends PurchaseCapacityBlockExtensionResult, __MetadataBearer {
23
+ }
24
+ declare const PurchaseCapacityBlockExtensionCommand_base: {
25
+ new (input: PurchaseCapacityBlockExtensionCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseCapacityBlockExtensionCommandInput, PurchaseCapacityBlockExtensionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PurchaseCapacityBlockExtensionCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseCapacityBlockExtensionCommandInput, PurchaseCapacityBlockExtensionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Purchase the Capacity Block extension for use with your account. You must specify the
31
+ * ID of the Capacity Block extension offering you are purchasing.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { EC2Client, PurchaseCapacityBlockExtensionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
36
+ * // const { EC2Client, PurchaseCapacityBlockExtensionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
37
+ * const client = new EC2Client(config);
38
+ * const input = { // PurchaseCapacityBlockExtensionRequest
39
+ * CapacityBlockExtensionOfferingId: "STRING_VALUE", // required
40
+ * CapacityReservationId: "STRING_VALUE", // required
41
+ * DryRun: true || false,
42
+ * };
43
+ * const command = new PurchaseCapacityBlockExtensionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // PurchaseCapacityBlockExtensionResult
46
+ * // CapacityBlockExtensions: [ // CapacityBlockExtensionSet
47
+ * // { // CapacityBlockExtension
48
+ * // CapacityReservationId: "STRING_VALUE",
49
+ * // InstanceType: "STRING_VALUE",
50
+ * // InstanceCount: Number("int"),
51
+ * // AvailabilityZone: "STRING_VALUE",
52
+ * // AvailabilityZoneId: "STRING_VALUE",
53
+ * // CapacityBlockExtensionOfferingId: "STRING_VALUE",
54
+ * // CapacityBlockExtensionDurationHours: Number("int"),
55
+ * // CapacityBlockExtensionStatus: "payment-pending" || "payment-failed" || "payment-succeeded",
56
+ * // CapacityBlockExtensionPurchaseDate: new Date("TIMESTAMP"),
57
+ * // CapacityBlockExtensionStartDate: new Date("TIMESTAMP"),
58
+ * // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
59
+ * // UpfrontFee: "STRING_VALUE",
60
+ * // CurrencyCode: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param PurchaseCapacityBlockExtensionCommandInput - {@link PurchaseCapacityBlockExtensionCommandInput}
68
+ * @returns {@link PurchaseCapacityBlockExtensionCommandOutput}
69
+ * @see {@link PurchaseCapacityBlockExtensionCommandInput} for command's `input` shape.
70
+ * @see {@link PurchaseCapacityBlockExtensionCommandOutput} for command's `response` shape.
71
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
72
+ *
73
+ * @throws {@link EC2ServiceException}
74
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class PurchaseCapacityBlockExtensionCommand extends PurchaseCapacityBlockExtensionCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: PurchaseCapacityBlockExtensionRequest;
83
+ output: PurchaseCapacityBlockExtensionResult;
84
+ };
85
+ sdk: {
86
+ input: PurchaseCapacityBlockExtensionCommandInput;
87
+ output: PurchaseCapacityBlockExtensionCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -27,9 +27,9 @@ declare const RejectCapacityReservationBillingOwnershipCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Rejects a request to assign billing of the available capacity of a shared Capacity Reservation
31
- * to your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html">
32
- * Billing assignment for shared Amazon EC2 Capacity Reservations</a>.</p>
30
+ * <p>Rejects a request to assign billing of the available capacity of a shared Capacity
31
+ * Reservation to your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html"> Billing assignment for shared
32
+ * Amazon EC2 Capacity Reservations</a>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -195,7 +195,7 @@ declare const RequestSpotFleetCommand_base: {
195
195
  * Max: Number("int"),
196
196
  * },
197
197
  * CpuManufacturers: [ // CpuManufacturerSet
198
- * "intel" || "amd" || "amazon-web-services",
198
+ * "intel" || "amd" || "amazon-web-services" || "apple",
199
199
  * ],
200
200
  * MemoryGiBPerVCpu: { // MemoryGiBPerVCpu
201
201
  * Min: Number("double"),
@@ -253,6 +253,15 @@ declare const RequestSpotFleetCommand_base: {
253
253
  * "STRING_VALUE",
254
254
  * ],
255
255
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
256
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactors
257
+ * Cpu: { // CpuPerformanceFactor
258
+ * References: [ // PerformanceFactorReferenceSet
259
+ * { // PerformanceFactorReference
260
+ * InstanceFamily: "STRING_VALUE",
261
+ * },
262
+ * ],
263
+ * },
264
+ * },
256
265
  * },
257
266
  * SecurityGroups: [ // GroupIdentifierList
258
267
  * { // GroupIdentifier
@@ -287,7 +296,7 @@ declare const RequestSpotFleetCommand_base: {
287
296
  * Max: Number("int"),
288
297
  * },
289
298
  * CpuManufacturers: [
290
- * "intel" || "amd" || "amazon-web-services",
299
+ * "intel" || "amd" || "amazon-web-services" || "apple",
291
300
  * ],
292
301
  * MemoryGiBPerVCpu: {
293
302
  * Min: Number("double"),
@@ -345,6 +354,15 @@ declare const RequestSpotFleetCommand_base: {
345
354
  * "STRING_VALUE",
346
355
  * ],
347
356
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
357
+ * BaselinePerformanceFactors: {
358
+ * Cpu: {
359
+ * References: [
360
+ * {
361
+ * InstanceFamily: "STRING_VALUE",
362
+ * },
363
+ * ],
364
+ * },
365
+ * },
348
366
  * },
349
367
  * },
350
368
  * ],
@@ -186,7 +186,7 @@ declare const RunInstancesCommand_base: {
186
186
  * AmdSevSnp: "enabled" || "disabled",
187
187
  * },
188
188
  * CapacityReservationSpecification: { // CapacityReservationSpecification
189
- * CapacityReservationPreference: "open" || "none",
189
+ * CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
190
190
  * CapacityReservationTarget: { // CapacityReservationTarget
191
191
  * CapacityReservationId: "STRING_VALUE",
192
192
  * CapacityReservationResourceGroupArn: "STRING_VALUE",
@@ -453,7 +453,7 @@ declare const RunInstancesCommand_base: {
453
453
  * // },
454
454
  * // CapacityReservationId: "STRING_VALUE",
455
455
  * // CapacityReservationSpecification: { // CapacityReservationSpecificationResponse
456
- * // CapacityReservationPreference: "open" || "none",
456
+ * // CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
457
457
  * // CapacityReservationTarget: { // CapacityReservationTargetResponse
458
458
  * // CapacityReservationId: "STRING_VALUE",
459
459
  * // CapacityReservationResourceGroupArn: "STRING_VALUE",
@@ -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";