Skip to content

Commit 6e0db43

Browse files
author
awstools
committed
feat(client-ec2): This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation.
1 parent 54703e4 commit 6e0db43

24 files changed

+1751
-771
lines changed

clients/client-ec2/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,14 @@ CreateCapacityReservation
653653

654654
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateCapacityReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateCapacityReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateCapacityReservationCommandOutput/)
655655

656+
</details>
657+
<details>
658+
<summary>
659+
CreateCapacityReservationBySplitting
660+
</summary>
661+
662+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateCapacityReservationBySplittingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateCapacityReservationBySplittingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateCapacityReservationBySplittingCommandOutput/)
663+
656664
</details>
657665
<details>
658666
<summary>
@@ -4669,6 +4677,14 @@ MoveByoipCidrToIpam
46694677

46704678
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/MoveByoipCidrToIpamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/MoveByoipCidrToIpamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/MoveByoipCidrToIpamCommandOutput/)
46714679

4680+
</details>
4681+
<details>
4682+
<summary>
4683+
MoveCapacityReservationInstances
4684+
</summary>
4685+
4686+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/MoveCapacityReservationInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/MoveCapacityReservationInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/MoveCapacityReservationInstancesCommandOutput/)
4687+
46724688
</details>
46734689
<details>
46744690
<summary>

clients/client-ec2/src/EC2.ts

+46
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ import {
273273
CopySnapshotCommandInput,
274274
CopySnapshotCommandOutput,
275275
} from "./commands/CopySnapshotCommand";
276+
import {
277+
CreateCapacityReservationBySplittingCommand,
278+
CreateCapacityReservationBySplittingCommandInput,
279+
CreateCapacityReservationBySplittingCommandOutput,
280+
} from "./commands/CreateCapacityReservationBySplittingCommand";
276281
import {
277282
CreateCapacityReservationCommand,
278283
CreateCapacityReservationCommandInput,
@@ -2724,6 +2729,11 @@ import {
27242729
MoveByoipCidrToIpamCommandInput,
27252730
MoveByoipCidrToIpamCommandOutput,
27262731
} from "./commands/MoveByoipCidrToIpamCommand";
2732+
import {
2733+
MoveCapacityReservationInstancesCommand,
2734+
MoveCapacityReservationInstancesCommandInput,
2735+
MoveCapacityReservationInstancesCommandOutput,
2736+
} from "./commands/MoveCapacityReservationInstancesCommand";
27272737
import {
27282738
ProvisionByoipCidrCommand,
27292739
ProvisionByoipCidrCommandInput,
@@ -3118,6 +3128,7 @@ const commands = {
31183128
CopyImageCommand,
31193129
CopySnapshotCommand,
31203130
CreateCapacityReservationCommand,
3131+
CreateCapacityReservationBySplittingCommand,
31213132
CreateCapacityReservationFleetCommand,
31223133
CreateCarrierGatewayCommand,
31233134
CreateClientVpnEndpointCommand,
@@ -3620,6 +3631,7 @@ const commands = {
36203631
MonitorInstancesCommand,
36213632
MoveAddressToVpcCommand,
36223633
MoveByoipCidrToIpamCommand,
3634+
MoveCapacityReservationInstancesCommand,
36233635
ProvisionByoipCidrCommand,
36243636
ProvisionIpamByoasnCommand,
36253637
ProvisionIpamPoolCidrCommand,
@@ -4611,6 +4623,23 @@ export interface EC2 {
46114623
cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void
46124624
): void;
46134625

4626+
/**
4627+
* @see {@link CreateCapacityReservationBySplittingCommand}
4628+
*/
4629+
createCapacityReservationBySplitting(
4630+
args: CreateCapacityReservationBySplittingCommandInput,
4631+
options?: __HttpHandlerOptions
4632+
): Promise<CreateCapacityReservationBySplittingCommandOutput>;
4633+
createCapacityReservationBySplitting(
4634+
args: CreateCapacityReservationBySplittingCommandInput,
4635+
cb: (err: any, data?: CreateCapacityReservationBySplittingCommandOutput) => void
4636+
): void;
4637+
createCapacityReservationBySplitting(
4638+
args: CreateCapacityReservationBySplittingCommandInput,
4639+
options: __HttpHandlerOptions,
4640+
cb: (err: any, data?: CreateCapacityReservationBySplittingCommandOutput) => void
4641+
): void;
4642+
46144643
/**
46154644
* @see {@link CreateCapacityReservationFleetCommand}
46164645
*/
@@ -13038,6 +13067,23 @@ export interface EC2 {
1303813067
cb: (err: any, data?: MoveByoipCidrToIpamCommandOutput) => void
1303913068
): void;
1304013069

13070+
/**
13071+
* @see {@link MoveCapacityReservationInstancesCommand}
13072+
*/
13073+
moveCapacityReservationInstances(
13074+
args: MoveCapacityReservationInstancesCommandInput,
13075+
options?: __HttpHandlerOptions
13076+
): Promise<MoveCapacityReservationInstancesCommandOutput>;
13077+
moveCapacityReservationInstances(
13078+
args: MoveCapacityReservationInstancesCommandInput,
13079+
cb: (err: any, data?: MoveCapacityReservationInstancesCommandOutput) => void
13080+
): void;
13081+
moveCapacityReservationInstances(
13082+
args: MoveCapacityReservationInstancesCommandInput,
13083+
options: __HttpHandlerOptions,
13084+
cb: (err: any, data?: MoveCapacityReservationInstancesCommandOutput) => void
13085+
): void;
13086+
1304113087
/**
1304213088
* @see {@link ProvisionByoipCidrCommand}
1304313089
*/

clients/client-ec2/src/EC2Client.ts

+12
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ import {
234234
import { CopyFpgaImageCommandInput, CopyFpgaImageCommandOutput } from "./commands/CopyFpgaImageCommand";
235235
import { CopyImageCommandInput, CopyImageCommandOutput } from "./commands/CopyImageCommand";
236236
import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "./commands/CopySnapshotCommand";
237+
import {
238+
CreateCapacityReservationBySplittingCommandInput,
239+
CreateCapacityReservationBySplittingCommandOutput,
240+
} from "./commands/CreateCapacityReservationBySplittingCommand";
237241
import {
238242
CreateCapacityReservationCommandInput,
239243
CreateCapacityReservationCommandOutput,
@@ -1946,6 +1950,10 @@ import {
19461950
MoveByoipCidrToIpamCommandInput,
19471951
MoveByoipCidrToIpamCommandOutput,
19481952
} from "./commands/MoveByoipCidrToIpamCommand";
1953+
import {
1954+
MoveCapacityReservationInstancesCommandInput,
1955+
MoveCapacityReservationInstancesCommandOutput,
1956+
} from "./commands/MoveCapacityReservationInstancesCommand";
19491957
import { ProvisionByoipCidrCommandInput, ProvisionByoipCidrCommandOutput } from "./commands/ProvisionByoipCidrCommand";
19501958
import {
19511959
ProvisionIpamByoasnCommandInput,
@@ -2239,6 +2247,7 @@ export type ServiceInputTypes =
22392247
| CopyFpgaImageCommandInput
22402248
| CopyImageCommandInput
22412249
| CopySnapshotCommandInput
2250+
| CreateCapacityReservationBySplittingCommandInput
22422251
| CreateCapacityReservationCommandInput
22432252
| CreateCapacityReservationFleetCommandInput
22442253
| CreateCarrierGatewayCommandInput
@@ -2742,6 +2751,7 @@ export type ServiceInputTypes =
27422751
| MonitorInstancesCommandInput
27432752
| MoveAddressToVpcCommandInput
27442753
| MoveByoipCidrToIpamCommandInput
2754+
| MoveCapacityReservationInstancesCommandInput
27452755
| ProvisionByoipCidrCommandInput
27462756
| ProvisionIpamByoasnCommandInput
27472757
| ProvisionIpamPoolCidrCommandInput
@@ -2869,6 +2879,7 @@ export type ServiceOutputTypes =
28692879
| CopyFpgaImageCommandOutput
28702880
| CopyImageCommandOutput
28712881
| CopySnapshotCommandOutput
2882+
| CreateCapacityReservationBySplittingCommandOutput
28722883
| CreateCapacityReservationCommandOutput
28732884
| CreateCapacityReservationFleetCommandOutput
28742885
| CreateCarrierGatewayCommandOutput
@@ -3372,6 +3383,7 @@ export type ServiceOutputTypes =
33723383
| MonitorInstancesCommandOutput
33733384
| MoveAddressToVpcCommandOutput
33743385
| MoveByoipCidrToIpamCommandOutput
3386+
| MoveCapacityReservationInstancesCommandOutput
33753387
| ProvisionByoipCidrCommandOutput
33763388
| ProvisionIpamByoasnCommandOutput
33773389
| ProvisionIpamPoolCidrCommandOutput
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
// smithy-typescript generated code
2+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3+
import { getSerdePlugin } from "@smithy/middleware-serde";
4+
import { Command as $Command } from "@smithy/smithy-client";
5+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
6+
7+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
8+
import { commonParams } from "../endpoint/EndpointParameters";
9+
import {
10+
CreateCapacityReservationBySplittingRequest,
11+
CreateCapacityReservationBySplittingResult,
12+
} from "../models/models_0";
13+
import {
14+
de_CreateCapacityReservationBySplittingCommand,
15+
se_CreateCapacityReservationBySplittingCommand,
16+
} from "../protocols/Aws_ec2";
17+
18+
/**
19+
* @public
20+
*/
21+
export type { __MetadataBearer };
22+
export { $Command };
23+
/**
24+
* @public
25+
*
26+
* The input for {@link CreateCapacityReservationBySplittingCommand}.
27+
*/
28+
export interface CreateCapacityReservationBySplittingCommandInput extends CreateCapacityReservationBySplittingRequest {}
29+
/**
30+
* @public
31+
*
32+
* The output of {@link CreateCapacityReservationBySplittingCommand}.
33+
*/
34+
export interface CreateCapacityReservationBySplittingCommandOutput
35+
extends CreateCapacityReservationBySplittingResult,
36+
__MetadataBearer {}
37+
38+
/**
39+
* <p>
40+
* Create a new Capacity Reservation by splitting the available capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be <code>active</code> and owned by your Amazon Web Services account.
41+
* </p>
42+
* @example
43+
* Use a bare-bones client and the command you need to make an API call.
44+
* ```javascript
45+
* import { EC2Client, CreateCapacityReservationBySplittingCommand } from "@aws-sdk/client-ec2"; // ES Modules import
46+
* // const { EC2Client, CreateCapacityReservationBySplittingCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
47+
* const client = new EC2Client(config);
48+
* const input = { // CreateCapacityReservationBySplittingRequest
49+
* DryRun: true || false,
50+
* ClientToken: "STRING_VALUE",
51+
* SourceCapacityReservationId: "STRING_VALUE", // required
52+
* InstanceCount: Number("int"), // required
53+
* TagSpecifications: [ // TagSpecificationList
54+
* { // TagSpecification
55+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
56+
* Tags: [ // TagList
57+
* { // Tag
58+
* Key: "STRING_VALUE",
59+
* Value: "STRING_VALUE",
60+
* },
61+
* ],
62+
* },
63+
* ],
64+
* };
65+
* const command = new CreateCapacityReservationBySplittingCommand(input);
66+
* const response = await client.send(command);
67+
* // { // CreateCapacityReservationBySplittingResult
68+
* // SourceCapacityReservation: { // CapacityReservation
69+
* // CapacityReservationId: "STRING_VALUE",
70+
* // OwnerId: "STRING_VALUE",
71+
* // CapacityReservationArn: "STRING_VALUE",
72+
* // AvailabilityZoneId: "STRING_VALUE",
73+
* // InstanceType: "STRING_VALUE",
74+
* // InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro",
75+
* // AvailabilityZone: "STRING_VALUE",
76+
* // Tenancy: "default" || "dedicated",
77+
* // TotalInstanceCount: Number("int"),
78+
* // AvailableInstanceCount: Number("int"),
79+
* // EbsOptimized: true || false,
80+
* // EphemeralStorage: true || false,
81+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
82+
* // StartDate: new Date("TIMESTAMP"),
83+
* // EndDate: new Date("TIMESTAMP"),
84+
* // EndDateType: "unlimited" || "limited",
85+
* // InstanceMatchCriteria: "open" || "targeted",
86+
* // CreateDate: new Date("TIMESTAMP"),
87+
* // Tags: [ // TagList
88+
* // { // Tag
89+
* // Key: "STRING_VALUE",
90+
* // Value: "STRING_VALUE",
91+
* // },
92+
* // ],
93+
* // OutpostArn: "STRING_VALUE",
94+
* // CapacityReservationFleetId: "STRING_VALUE",
95+
* // PlacementGroupArn: "STRING_VALUE",
96+
* // CapacityAllocations: [ // CapacityAllocations
97+
* // { // CapacityAllocation
98+
* // AllocationType: "used",
99+
* // Count: Number("int"),
100+
* // },
101+
* // ],
102+
* // ReservationType: "default" || "capacity-block",
103+
* // },
104+
* // DestinationCapacityReservation: {
105+
* // CapacityReservationId: "STRING_VALUE",
106+
* // OwnerId: "STRING_VALUE",
107+
* // CapacityReservationArn: "STRING_VALUE",
108+
* // AvailabilityZoneId: "STRING_VALUE",
109+
* // InstanceType: "STRING_VALUE",
110+
* // InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro",
111+
* // AvailabilityZone: "STRING_VALUE",
112+
* // Tenancy: "default" || "dedicated",
113+
* // TotalInstanceCount: Number("int"),
114+
* // AvailableInstanceCount: Number("int"),
115+
* // EbsOptimized: true || false,
116+
* // EphemeralStorage: true || false,
117+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
118+
* // StartDate: new Date("TIMESTAMP"),
119+
* // EndDate: new Date("TIMESTAMP"),
120+
* // EndDateType: "unlimited" || "limited",
121+
* // InstanceMatchCriteria: "open" || "targeted",
122+
* // CreateDate: new Date("TIMESTAMP"),
123+
* // Tags: [
124+
* // {
125+
* // Key: "STRING_VALUE",
126+
* // Value: "STRING_VALUE",
127+
* // },
128+
* // ],
129+
* // OutpostArn: "STRING_VALUE",
130+
* // CapacityReservationFleetId: "STRING_VALUE",
131+
* // PlacementGroupArn: "STRING_VALUE",
132+
* // CapacityAllocations: [
133+
* // {
134+
* // AllocationType: "used",
135+
* // Count: Number("int"),
136+
* // },
137+
* // ],
138+
* // ReservationType: "default" || "capacity-block",
139+
* // },
140+
* // InstanceCount: Number("int"),
141+
* // };
142+
*
143+
* ```
144+
*
145+
* @param CreateCapacityReservationBySplittingCommandInput - {@link CreateCapacityReservationBySplittingCommandInput}
146+
* @returns {@link CreateCapacityReservationBySplittingCommandOutput}
147+
* @see {@link CreateCapacityReservationBySplittingCommandInput} for command's `input` shape.
148+
* @see {@link CreateCapacityReservationBySplittingCommandOutput} for command's `response` shape.
149+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
150+
*
151+
* @throws {@link EC2ServiceException}
152+
* <p>Base exception class for all service exceptions from EC2 service.</p>
153+
*
154+
* @public
155+
*/
156+
export class CreateCapacityReservationBySplittingCommand extends $Command
157+
.classBuilder<
158+
CreateCapacityReservationBySplittingCommandInput,
159+
CreateCapacityReservationBySplittingCommandOutput,
160+
EC2ClientResolvedConfig,
161+
ServiceInputTypes,
162+
ServiceOutputTypes
163+
>()
164+
.ep({
165+
...commonParams,
166+
})
167+
.m(function (this: any, Command: any, cs: any, config: EC2ClientResolvedConfig, o: any) {
168+
return [
169+
getSerdePlugin(config, this.serialize, this.deserialize),
170+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
171+
];
172+
})
173+
.s("AmazonEC2", "CreateCapacityReservationBySplitting", {})
174+
.n("EC2Client", "CreateCapacityReservationBySplittingCommand")
175+
.f(void 0, void 0)
176+
.ser(se_CreateCapacityReservationBySplittingCommand)
177+
.de(de_CreateCapacityReservationBySplittingCommand)
178+
.build() {}

clients/client-ec2/src/commands/CreateCapacityReservationFleetCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateCapacityReservationFleetRequest } from "../models/models_0";
10-
import { CreateCapacityReservationFleetResult } from "../models/models_1";
9+
import { CreateCapacityReservationFleetRequest, CreateCapacityReservationFleetResult } from "../models/models_1";
1110
import {
1211
de_CreateCapacityReservationFleetCommand,
1312
se_CreateCapacityReservationFleetCommand,

clients/client-ec2/src/commands/CreateNetworkInterfaceCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateNetworkInterfaceRequest } from "../models/models_1";
10-
import { CreateNetworkInterfaceResult } from "../models/models_2";
9+
import { CreateNetworkInterfaceRequest, CreateNetworkInterfaceResult } from "../models/models_2";
1110
import { de_CreateNetworkInterfaceCommand, se_CreateNetworkInterfaceCommand } from "../protocols/Aws_ec2";
1211

1312
/**

clients/client-ec2/src/commands/DeleteLaunchTemplateVersionsCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DeleteLaunchTemplateVersionsRequest, DeleteLaunchTemplateVersionsResult } from "../models/models_2";
9+
import { DeleteLaunchTemplateVersionsRequest } from "../models/models_2";
10+
import { DeleteLaunchTemplateVersionsResult } from "../models/models_3";
1011
import { de_DeleteLaunchTemplateVersionsCommand, se_DeleteLaunchTemplateVersionsCommand } from "../protocols/Aws_ec2";
1112

1213
/**

0 commit comments

Comments
 (0)