@aws-sdk/client-ec2 3.937.0 → 3.938.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +357 -52
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  5. package/dist-es/commands/UpdateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +13 -0
  8. package/dist-es/schemas/schemas_0.js +314 -52
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +4 -2
  11. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +24 -0
  12. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +12 -0
  13. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +93 -0
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +12 -0
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +7 -0
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -1
  27. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +12 -0
  28. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +2 -1
  29. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
  30. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -1
  32. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  34. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +24 -0
  35. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +12 -0
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +83 -0
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/enums.d.ts +29 -0
  40. package/dist-types/models/models_0.d.ts +90 -37
  41. package/dist-types/models/models_1.d.ts +108 -74
  42. package/dist-types/models/models_2.d.ts +73 -65
  43. package/dist-types/models/models_3.d.ts +68 -182
  44. package/dist-types/models/models_4.d.ts +182 -97
  45. package/dist-types/models/models_5.d.ts +117 -158
  46. package/dist-types/models/models_6.d.ts +160 -151
  47. package/dist-types/models/models_7.d.ts +222 -3
  48. package/dist-types/schemas/schemas_0.d.ts +8 -0
  49. package/dist-types/ts3.4/EC2.d.ts +46 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  65. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +16 -8
  67. package/dist-types/ts3.4/models/models_1.d.ts +24 -17
  68. package/dist-types/ts3.4/models/models_2.d.ts +17 -18
  69. package/dist-types/ts3.4/models/models_3.d.ts +21 -43
  70. package/dist-types/ts3.4/models/models_4.d.ts +47 -30
  71. package/dist-types/ts3.4/models/models_5.d.ts +37 -34
  72. package/dist-types/ts3.4/models/models_6.d.ts +33 -25
  73. package/dist-types/ts3.4/models/models_7.d.ts +42 -1
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  75. package/package.json +1 -1
@@ -101,6 +101,18 @@ declare const DescribeCapacityReservationsCommand_base: {
101
101
  * // },
102
102
  * // DeliveryPreference: "fixed" || "incremental",
103
103
  * // CapacityBlockId: "STRING_VALUE",
104
+ * // Interruptible: true || false,
105
+ * // InterruptibleCapacityAllocation: { // InterruptibleCapacityAllocation
106
+ * // InstanceCount: Number("int"),
107
+ * // TargetInstanceCount: Number("int"),
108
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
109
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
110
+ * // InterruptionType: "adhoc",
111
+ * // },
112
+ * // InterruptionInfo: { // InterruptionInfo
113
+ * // SourceCapacityReservationId: "STRING_VALUE",
114
+ * // InterruptionType: "adhoc",
115
+ * // },
104
116
  * // },
105
117
  * // ],
106
118
  * // };
@@ -28,7 +28,8 @@ declare const DescribeInstanceAttributeCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Describes the specified attribute of the specified instance. You can specify only one
31
- * attribute at a time.
31
+ * attribute at a time. Available attributes include SQL license exemption configuration
32
+ * for instances registered with the SQL LE service.
32
33
  * </p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -55,6 +55,13 @@ declare const DescribeInstanceStatusCommand_base: {
55
55
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance
56
56
  * lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>
57
57
  * </li>
58
+ * <li>
59
+ * <p>
60
+ * <b>SQL license exemption monitoring</b> - For instances
61
+ * registered with the SQL LE service, status includes SQL license exemption monitoring
62
+ * health and processing status to provide operational visibility into license exemption
63
+ * functionality.</p>
64
+ * </li>
58
65
  * </ul>
59
66
  * <p>The Amazon EC2 API follows an eventual consistency model. This means that the result of an
60
67
  * API command you run that creates or modifies resources might not be immediately
@@ -35,6 +35,8 @@ declare const DescribeInstancesCommand_base: {
35
35
  * the output includes information for all instances, which can affect performance. We
36
36
  * recommend that you use pagination to ensure that the operation returns quickly and
37
37
  * successfully.</p>
38
+ * <p>The response includes SQL license exemption status information for instances registered
39
+ * with the SQL LE service, providing visibility into license exemption configuration and status.</p>
38
40
  * <p>If you specify an instance ID that is not valid, an error is returned. If you specify
39
41
  * an instance that you do not own, it is not included in the output.</p>
40
42
  * <p>Recently terminated instances might appear in the returned results. This interval is
@@ -126,7 +128,7 @@ declare const DescribeInstancesCommand_base: {
126
128
  * // Arn: "STRING_VALUE",
127
129
  * // Id: "STRING_VALUE",
128
130
  * // },
129
- * // InstanceLifecycle: "spot" || "scheduled" || "capacity-block",
131
+ * // InstanceLifecycle: "spot" || "scheduled" || "capacity-block" || "interruptible-capacity-reservation",
130
132
  * // ElasticGpuAssociations: [ // ElasticGpuAssociationList
131
133
  * // { // ElasticGpuAssociation
132
134
  * // ElasticGpuId: "STRING_VALUE",
@@ -204,7 +204,7 @@ declare const DescribeLaunchTemplateVersionsCommand_base: {
204
204
  * // "STRING_VALUE",
205
205
  * // ],
206
206
  * // InstanceMarketOptions: { // LaunchTemplateInstanceMarketOptions
207
- * // MarketType: "spot" || "capacity-block",
207
+ * // MarketType: "spot" || "capacity-block" || "interruptible-capacity-reservation",
208
208
  * // SpotOptions: { // LaunchTemplateSpotMarketOptions
209
209
  * // MaxPrice: "STRING_VALUE",
210
210
  * // SpotInstanceType: "one-time" || "persistent",
@@ -1,7 +1,8 @@
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 { DescribeVerifiedAccessInstanceLoggingConfigurationsRequest, DescribeVerifiedAccessInstanceLoggingConfigurationsResult } from "../models/models_4";
4
+ import { DescribeVerifiedAccessInstanceLoggingConfigurationsRequest } from "../models/models_4";
5
+ import { DescribeVerifiedAccessInstanceLoggingConfigurationsResult } from "../models/models_5";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -59,6 +59,18 @@ declare const GetCapacityReservationUsageCommand_base: {
59
59
  * // UsedInstanceCount: Number("int"),
60
60
  * // },
61
61
  * // ],
62
+ * // Interruptible: true || false,
63
+ * // InterruptibleCapacityAllocation: { // InterruptibleCapacityAllocation
64
+ * // InstanceCount: Number("int"),
65
+ * // TargetInstanceCount: Number("int"),
66
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
67
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
68
+ * // InterruptionType: "adhoc",
69
+ * // },
70
+ * // InterruptionInfo: { // InterruptionInfo
71
+ * // SourceCapacityReservationId: "STRING_VALUE",
72
+ * // InterruptionType: "adhoc",
73
+ * // },
62
74
  * // };
63
75
  *
64
76
  * ```
@@ -1,7 +1,8 @@
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 { GetIpamAddressHistoryRequest, GetIpamAddressHistoryResult } from "../models/models_5";
4
+ import { GetIpamAddressHistoryRequest } from "../models/models_5";
5
+ import { GetIpamAddressHistoryResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +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 { GetIpamDiscoveredAccountsRequest } from "../models/models_5";
5
- import { GetIpamDiscoveredAccountsResult } from "../models/models_6";
4
+ import { GetIpamDiscoveredAccountsRequest, GetIpamDiscoveredAccountsResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -182,7 +182,7 @@ declare const GetLaunchTemplateDataCommand_base: {
182
182
  * // "STRING_VALUE",
183
183
  * // ],
184
184
  * // InstanceMarketOptions: { // LaunchTemplateInstanceMarketOptions
185
- * // MarketType: "spot" || "capacity-block",
185
+ * // MarketType: "spot" || "capacity-block" || "interruptible-capacity-reservation",
186
186
  * // SpotOptions: { // LaunchTemplateSpotMarketOptions
187
187
  * // MaxPrice: "STRING_VALUE",
188
188
  * // SpotInstanceType: "one-time" || "persistent",
@@ -1,7 +1,8 @@
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 { ModifyVerifiedAccessTrustProviderRequest, ModifyVerifiedAccessTrustProviderResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessTrustProviderRequest } from "../models/models_6";
5
+ import { ModifyVerifiedAccessTrustProviderResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -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 { ModifyVolumeAttributeRequest } from "../models/models_6";
4
+ import { ModifyVolumeAttributeRequest } 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 { ModifyVolumeRequest, ModifyVolumeResult } from "../models/models_6";
4
+ import { ModifyVolumeRequest, ModifyVolumeResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -111,6 +111,18 @@ declare const MoveCapacityReservationInstancesCommand_base: {
111
111
  * // },
112
112
  * // DeliveryPreference: "fixed" || "incremental",
113
113
  * // CapacityBlockId: "STRING_VALUE",
114
+ * // Interruptible: true || false,
115
+ * // InterruptibleCapacityAllocation: { // InterruptibleCapacityAllocation
116
+ * // InstanceCount: Number("int"),
117
+ * // TargetInstanceCount: Number("int"),
118
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
119
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
120
+ * // InterruptionType: "adhoc",
121
+ * // },
122
+ * // InterruptionInfo: { // InterruptionInfo
123
+ * // SourceCapacityReservationId: "STRING_VALUE",
124
+ * // InterruptionType: "adhoc",
125
+ * // },
114
126
  * // },
115
127
  * // DestinationCapacityReservation: {
116
128
  * // CapacityReservationId: "STRING_VALUE",
@@ -154,6 +166,18 @@ declare const MoveCapacityReservationInstancesCommand_base: {
154
166
  * // },
155
167
  * // DeliveryPreference: "fixed" || "incremental",
156
168
  * // CapacityBlockId: "STRING_VALUE",
169
+ * // Interruptible: true || false,
170
+ * // InterruptibleCapacityAllocation: {
171
+ * // InstanceCount: Number("int"),
172
+ * // TargetInstanceCount: Number("int"),
173
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
174
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
175
+ * // InterruptionType: "adhoc",
176
+ * // },
177
+ * // InterruptionInfo: {
178
+ * // SourceCapacityReservationId: "STRING_VALUE",
179
+ * // InterruptionType: "adhoc",
180
+ * // },
157
181
  * // },
158
182
  * // InstanceCount: Number("int"),
159
183
  * // };
@@ -99,6 +99,18 @@ declare const PurchaseCapacityBlockCommand_base: {
99
99
  * // },
100
100
  * // DeliveryPreference: "fixed" || "incremental",
101
101
  * // CapacityBlockId: "STRING_VALUE",
102
+ * // Interruptible: true || false,
103
+ * // InterruptibleCapacityAllocation: { // InterruptibleCapacityAllocation
104
+ * // InstanceCount: Number("int"),
105
+ * // TargetInstanceCount: Number("int"),
106
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
107
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
108
+ * // InterruptionType: "adhoc",
109
+ * // },
110
+ * // InterruptionInfo: { // InterruptionInfo
111
+ * // SourceCapacityReservationId: "STRING_VALUE",
112
+ * // InterruptionType: "adhoc",
113
+ * // },
102
114
  * // },
103
115
  * // CapacityBlocks: [ // CapacityBlockSet
104
116
  * // { // CapacityBlock
@@ -174,7 +174,7 @@ declare const RunInstancesCommand_base: {
174
174
  * Version: "STRING_VALUE",
175
175
  * },
176
176
  * InstanceMarketOptions: { // InstanceMarketOptionsRequest
177
- * MarketType: "spot" || "capacity-block",
177
+ * MarketType: "spot" || "capacity-block" || "interruptible-capacity-reservation",
178
178
  * SpotOptions: { // SpotMarketOptions
179
179
  * MaxPrice: "STRING_VALUE",
180
180
  * SpotInstanceType: "one-time" || "persistent",
@@ -340,7 +340,7 @@ declare const RunInstancesCommand_base: {
340
340
  * // Arn: "STRING_VALUE",
341
341
  * // Id: "STRING_VALUE",
342
342
  * // },
343
- * // InstanceLifecycle: "spot" || "scheduled" || "capacity-block",
343
+ * // InstanceLifecycle: "spot" || "scheduled" || "capacity-block" || "interruptible-capacity-reservation",
344
344
  * // ElasticGpuAssociations: [ // ElasticGpuAssociationList
345
345
  * // { // ElasticGpuAssociation
346
346
  * // ElasticGpuId: "STRING_VALUE",
@@ -0,0 +1,83 @@
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 { UpdateInterruptibleCapacityReservationAllocationRequest, UpdateInterruptibleCapacityReservationAllocationResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateInterruptibleCapacityReservationAllocationCommand}.
14
+ */
15
+ export interface UpdateInterruptibleCapacityReservationAllocationCommandInput extends UpdateInterruptibleCapacityReservationAllocationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateInterruptibleCapacityReservationAllocationCommand}.
21
+ */
22
+ export interface UpdateInterruptibleCapacityReservationAllocationCommandOutput extends UpdateInterruptibleCapacityReservationAllocationResult, __MetadataBearer {
23
+ }
24
+ declare const UpdateInterruptibleCapacityReservationAllocationCommand_base: {
25
+ new (input: UpdateInterruptibleCapacityReservationAllocationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInterruptibleCapacityReservationAllocationCommandInput, UpdateInterruptibleCapacityReservationAllocationCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateInterruptibleCapacityReservationAllocationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInterruptibleCapacityReservationAllocationCommandInput, UpdateInterruptibleCapacityReservationAllocationCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Modifies the number of instances allocated to an interruptible reservation, allowing you to add more capacity or reclaim capacity to your source Capacity Reservation.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { EC2Client, UpdateInterruptibleCapacityReservationAllocationCommand } from "@aws-sdk/client-ec2"; // ES Modules import
37
+ * // const { EC2Client, UpdateInterruptibleCapacityReservationAllocationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
39
+ * const config = {}; // type is EC2ClientConfig
40
+ * const client = new EC2Client(config);
41
+ * const input = { // UpdateInterruptibleCapacityReservationAllocationRequest
42
+ * CapacityReservationId: "STRING_VALUE", // required
43
+ * TargetInstanceCount: Number("int"), // required
44
+ * DryRun: true || false,
45
+ * };
46
+ * const command = new UpdateInterruptibleCapacityReservationAllocationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // UpdateInterruptibleCapacityReservationAllocationResult
49
+ * // InterruptibleCapacityReservationId: "STRING_VALUE",
50
+ * // SourceCapacityReservationId: "STRING_VALUE",
51
+ * // InstanceCount: Number("int"),
52
+ * // TargetInstanceCount: Number("int"),
53
+ * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
54
+ * // InterruptionType: "adhoc",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateInterruptibleCapacityReservationAllocationCommandInput - {@link UpdateInterruptibleCapacityReservationAllocationCommandInput}
60
+ * @returns {@link UpdateInterruptibleCapacityReservationAllocationCommandOutput}
61
+ * @see {@link UpdateInterruptibleCapacityReservationAllocationCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateInterruptibleCapacityReservationAllocationCommandOutput} for command's `response` shape.
63
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
64
+ *
65
+ * @throws {@link EC2ServiceException}
66
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class UpdateInterruptibleCapacityReservationAllocationCommand extends UpdateInterruptibleCapacityReservationAllocationCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: UpdateInterruptibleCapacityReservationAllocationRequest;
76
+ output: UpdateInterruptibleCapacityReservationAllocationResult;
77
+ };
78
+ sdk: {
79
+ input: UpdateInterruptibleCapacityReservationAllocationCommandInput;
80
+ output: UpdateInterruptibleCapacityReservationAllocationCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -83,6 +83,7 @@ export * from "./CreateInstanceConnectEndpointCommand";
83
83
  export * from "./CreateInstanceEventWindowCommand";
84
84
  export * from "./CreateInstanceExportTaskCommand";
85
85
  export * from "./CreateInternetGatewayCommand";
86
+ export * from "./CreateInterruptibleCapacityReservationAllocationCommand";
86
87
  export * from "./CreateIpamCommand";
87
88
  export * from "./CreateIpamExternalResourceVerificationTokenCommand";
88
89
  export * from "./CreateIpamPolicyCommand";
@@ -742,6 +743,7 @@ export * from "./UnassignPrivateNatGatewayAddressCommand";
742
743
  export * from "./UnlockSnapshotCommand";
743
744
  export * from "./UnmonitorInstancesCommand";
744
745
  export * from "./UpdateCapacityManagerOrganizationsAccessCommand";
746
+ export * from "./UpdateInterruptibleCapacityReservationAllocationCommand";
745
747
  export * from "./UpdateSecurityGroupRuleDescriptionsEgressCommand";
746
748
  export * from "./UpdateSecurityGroupRuleDescriptionsIngressCommand";
747
749
  export * from "./WithdrawByoipCidrCommand";
@@ -1207,6 +1207,33 @@ export declare const CapacityReservationTenancy: {
1207
1207
  * @public
1208
1208
  */
1209
1209
  export type CapacityReservationTenancy = (typeof CapacityReservationTenancy)[keyof typeof CapacityReservationTenancy];
1210
+ /**
1211
+ * @public
1212
+ * @enum
1213
+ */
1214
+ export declare const InterruptionType: {
1215
+ readonly adhoc: "adhoc";
1216
+ };
1217
+ /**
1218
+ * @public
1219
+ */
1220
+ export type InterruptionType = (typeof InterruptionType)[keyof typeof InterruptionType];
1221
+ /**
1222
+ * @public
1223
+ * @enum
1224
+ */
1225
+ export declare const InterruptibleCapacityReservationAllocationStatus: {
1226
+ readonly active: "active";
1227
+ readonly canceled: "canceled";
1228
+ readonly canceling: "canceling";
1229
+ readonly failed: "failed";
1230
+ readonly pending: "pending";
1231
+ readonly updating: "updating";
1232
+ };
1233
+ /**
1234
+ * @public
1235
+ */
1236
+ export type InterruptibleCapacityReservationAllocationStatus = (typeof InterruptibleCapacityReservationAllocationStatus)[keyof typeof InterruptibleCapacityReservationAllocationStatus];
1210
1237
  /**
1211
1238
  * @public
1212
1239
  * @enum
@@ -3375,6 +3402,7 @@ export type ShutdownBehavior = (typeof ShutdownBehavior)[keyof typeof ShutdownBe
3375
3402
  */
3376
3403
  export declare const MarketType: {
3377
3404
  readonly capacity_block: "capacity-block";
3405
+ readonly interruptible_capacity_reservation: "interruptible-capacity-reservation";
3378
3406
  readonly spot: "spot";
3379
3407
  };
3380
3408
  /**
@@ -5440,6 +5468,7 @@ export type InstanceBootModeValues = (typeof InstanceBootModeValues)[keyof typeo
5440
5468
  */
5441
5469
  export declare const InstanceLifecycleType: {
5442
5470
  readonly capacity_block: "capacity-block";
5471
+ readonly interruptible_capacity_reservation: "interruptible-capacity-reservation";
5443
5472
  readonly scheduled: "scheduled";
5444
5473
  readonly spot: "spot";
5445
5474
  };
@@ -1,4 +1,4 @@
1
- import { _InstanceType, AddressTransferStatus, AllocationType, ApplianceModeSupportValue, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BlockPublicAccessMode, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, HostMaintenance, HostnameType, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, ListingState, ListingStatus, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, NatGatewayAddressStatus, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, SelfServicePortal, ServiceManaged, SSEType, SubnetCidrBlockStateCode, SubnetState, Tenancy, TrafficIpAddressType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulitcastDomainAssociationState, TransportProtocol, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcPeeringConnectionStateReasonCode, VpcState, VpnTunnelProvisioningStatus, WeekDay } from "./enums";
1
+ import { _InstanceType, AddressTransferStatus, AllocationType, ApplianceModeSupportValue, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BlockPublicAccessMode, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, EndpointIpAddressType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, HostMaintenance, HostnameType, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, ListingState, ListingStatus, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, NatGatewayAddressStatus, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, SelfServicePortal, ServiceManaged, SSEType, SubnetCidrBlockStateCode, SubnetState, Tenancy, TrafficIpAddressType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulitcastDomainAssociationState, TransportProtocol, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcPeeringConnectionStateReasonCode, VpcState, VpnTunnelProvisioningStatus, WeekDay } from "./enums";
2
2
  /**
3
3
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
4
4
  * on an instance.</p>
@@ -7129,9 +7129,9 @@ export interface CreateCapacityReservationRequest {
7129
7129
  * <p>The number of instances for which to reserve capacity.</p>
7130
7130
  * <note>
7131
7131
  * <p>You can request future-dated Capacity Reservations for an instance count with a
7132
- * minimum of 64 vCPUs. For example, if you request a future-dated Capacity
7133
- * Reservation for <code>m5.xlarge</code> instances, you must request at least 25
7134
- * instances (<i>16 * m5.xlarge = 64 vCPUs</i>).</p>
7132
+ * minimum of 32 vCPUs. For example, if you request a future-dated Capacity
7133
+ * Reservation for <code>m5.xlarge</code> instances, you must request at least 8
7134
+ * instances (<i>8 * m5.xlarge = 32 vCPUs</i>).</p>
7135
7135
  * </note>
7136
7136
  * <p>Valid range: 1 - 1000</p>
7137
7137
  * @public
@@ -7326,6 +7326,71 @@ export interface CapacityReservationCommitmentInfo {
7326
7326
  */
7327
7327
  CommitmentEndDate?: Date | undefined;
7328
7328
  }
7329
+ /**
7330
+ * <p>
7331
+ * Represents the allocation of capacity from a source reservation to an interruptible reservation, tracking current and target instance counts for allocation management.
7332
+ * </p>
7333
+ * @public
7334
+ */
7335
+ export interface InterruptibleCapacityAllocation {
7336
+ /**
7337
+ * <p>
7338
+ * The current number of instances allocated to the interruptible reservation.
7339
+ * </p>
7340
+ * @public
7341
+ */
7342
+ InstanceCount?: number | undefined;
7343
+ /**
7344
+ * <p>
7345
+ * After your modify request, the requested number of instances allocated to interruptible reservation.
7346
+ * </p>
7347
+ * @public
7348
+ */
7349
+ TargetInstanceCount?: number | undefined;
7350
+ /**
7351
+ * <p>
7352
+ * The current status of the allocation (updating during reclamation, active when complete).
7353
+ * </p>
7354
+ * @public
7355
+ */
7356
+ Status?: InterruptibleCapacityReservationAllocationStatus | undefined;
7357
+ /**
7358
+ * <p>
7359
+ * The ID of the interruptible Capacity Reservation created from the allocation.
7360
+ * </p>
7361
+ * @public
7362
+ */
7363
+ InterruptibleCapacityReservationId?: string | undefined;
7364
+ /**
7365
+ * <p>
7366
+ * The type of interruption policy applied to the interruptible reservation.
7367
+ * </p>
7368
+ * @public
7369
+ */
7370
+ InterruptionType?: InterruptionType | undefined;
7371
+ }
7372
+ /**
7373
+ * <p>
7374
+ * Contains information about how and when instances in an interruptible reservation can be terminated when capacity is reclaimed.
7375
+ * </p>
7376
+ * @public
7377
+ */
7378
+ export interface InterruptionInfo {
7379
+ /**
7380
+ * <p>
7381
+ * The ID of the source Capacity Reservation from which the interruptible reservation was created.
7382
+ * </p>
7383
+ * @public
7384
+ */
7385
+ SourceCapacityReservationId?: string | undefined;
7386
+ /**
7387
+ * <p>
7388
+ * The interruption type that determines how instances are terminated when capacity is reclaimed.
7389
+ * </p>
7390
+ * @public
7391
+ */
7392
+ InterruptionType?: InterruptionType | undefined;
7393
+ }
7329
7394
  /**
7330
7395
  * <p>Describes a Capacity Reservation.</p>
7331
7396
  * @public
@@ -7596,6 +7661,27 @@ export interface CapacityReservation {
7596
7661
  * @public
7597
7662
  */
7598
7663
  CapacityBlockId?: string | undefined;
7664
+ /**
7665
+ * <p>
7666
+ * Indicates whether this Capacity Reservation is interruptible, meaning instances may be terminated when the owner reclaims capacity.
7667
+ * </p>
7668
+ * @public
7669
+ */
7670
+ Interruptible?: boolean | undefined;
7671
+ /**
7672
+ * <p>
7673
+ * Contains allocation details for interruptible reservations, including current allocated instances and target instance counts within the interruptibleCapacityAllocation object.
7674
+ * </p>
7675
+ * @public
7676
+ */
7677
+ InterruptibleCapacityAllocation?: InterruptibleCapacityAllocation | undefined;
7678
+ /**
7679
+ * <p>
7680
+ * Information about the interruption configuration and association with the source reservation for interruptible Capacity Reservations.
7681
+ * </p>
7682
+ * @public
7683
+ */
7684
+ InterruptionInfo?: InterruptionInfo | undefined;
7599
7685
  }
7600
7686
  /**
7601
7687
  * @public
@@ -9354,36 +9440,3 @@ export interface NewDhcpConfiguration {
9354
9440
  */
9355
9441
  Values?: string[] | undefined;
9356
9442
  }
9357
- /**
9358
- * @public
9359
- */
9360
- export interface CreateDhcpOptionsRequest {
9361
- /**
9362
- * <p>A DHCP configuration option.</p>
9363
- * @public
9364
- */
9365
- DhcpConfigurations: NewDhcpConfiguration[] | undefined;
9366
- /**
9367
- * <p>The tags to assign to the DHCP option.</p>
9368
- * @public
9369
- */
9370
- TagSpecifications?: TagSpecification[] | undefined;
9371
- /**
9372
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9373
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9374
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9375
- * @public
9376
- */
9377
- DryRun?: boolean | undefined;
9378
- }
9379
- /**
9380
- * <p>Describes a value for a resource attribute that is a String.</p>
9381
- * @public
9382
- */
9383
- export interface AttributeValue {
9384
- /**
9385
- * <p>The attribute value. The value is case-sensitive.</p>
9386
- * @public
9387
- */
9388
- Value?: string | undefined;
9389
- }