Skip to content

Commit 2f49c14

Browse files
author
awstools
committed
feat(client-ec2): This release includes a new API for modifying instance network-performance-options after launch.
1 parent a4233c3 commit 2f49c14

37 files changed

+1539
-780
lines changed

clients/client-ec2/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4493,6 +4493,14 @@ ModifyInstanceMetadataOptions
44934493

44944494
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyInstanceMetadataOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceMetadataOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceMetadataOptionsCommandOutput/)
44954495

4496+
</details>
4497+
<details>
4498+
<summary>
4499+
ModifyInstanceNetworkPerformanceOptions
4500+
</summary>
4501+
4502+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyInstanceNetworkPerformanceOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceNetworkPerformanceOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyInstanceNetworkPerformanceOptionsCommandOutput/)
4503+
44964504
</details>
44974505
<details>
44984506
<summary>

clients/client-ec2/src/EC2.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2618,6 +2618,11 @@ import {
26182618
ModifyInstanceMetadataOptionsCommandInput,
26192619
ModifyInstanceMetadataOptionsCommandOutput,
26202620
} from "./commands/ModifyInstanceMetadataOptionsCommand";
2621+
import {
2622+
ModifyInstanceNetworkPerformanceOptionsCommand,
2623+
ModifyInstanceNetworkPerformanceOptionsCommandInput,
2624+
ModifyInstanceNetworkPerformanceOptionsCommandOutput,
2625+
} from "./commands/ModifyInstanceNetworkPerformanceOptionsCommand";
26212626
import {
26222627
ModifyInstancePlacementCommand,
26232628
ModifyInstancePlacementCommandInput,
@@ -3758,6 +3763,7 @@ const commands = {
37583763
ModifyInstanceMaintenanceOptionsCommand,
37593764
ModifyInstanceMetadataDefaultsCommand,
37603765
ModifyInstanceMetadataOptionsCommand,
3766+
ModifyInstanceNetworkPerformanceOptionsCommand,
37613767
ModifyInstancePlacementCommand,
37623768
ModifyIpamCommand,
37633769
ModifyIpamPoolCommand,
@@ -12882,6 +12888,23 @@ export interface EC2 {
1288212888
cb: (err: any, data?: ModifyInstanceMetadataOptionsCommandOutput) => void
1288312889
): void;
1288412890

12891+
/**
12892+
* @see {@link ModifyInstanceNetworkPerformanceOptionsCommand}
12893+
*/
12894+
modifyInstanceNetworkPerformanceOptions(
12895+
args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
12896+
options?: __HttpHandlerOptions
12897+
): Promise<ModifyInstanceNetworkPerformanceOptionsCommandOutput>;
12898+
modifyInstanceNetworkPerformanceOptions(
12899+
args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
12900+
cb: (err: any, data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput) => void
12901+
): void;
12902+
modifyInstanceNetworkPerformanceOptions(
12903+
args: ModifyInstanceNetworkPerformanceOptionsCommandInput,
12904+
options: __HttpHandlerOptions,
12905+
cb: (err: any, data?: ModifyInstanceNetworkPerformanceOptionsCommandOutput) => void
12906+
): void;
12907+
1288512908
/**
1288612909
* @see {@link ModifyInstancePlacementCommand}
1288712910
*/

clients/client-ec2/src/EC2Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,10 @@ import {
18881888
ModifyInstanceMetadataOptionsCommandInput,
18891889
ModifyInstanceMetadataOptionsCommandOutput,
18901890
} from "./commands/ModifyInstanceMetadataOptionsCommand";
1891+
import {
1892+
ModifyInstanceNetworkPerformanceOptionsCommandInput,
1893+
ModifyInstanceNetworkPerformanceOptionsCommandOutput,
1894+
} from "./commands/ModifyInstanceNetworkPerformanceOptionsCommand";
18911895
import {
18921896
ModifyInstancePlacementCommandInput,
18931897
ModifyInstancePlacementCommandOutput,
@@ -2848,6 +2852,7 @@ export type ServiceInputTypes =
28482852
| ModifyInstanceMaintenanceOptionsCommandInput
28492853
| ModifyInstanceMetadataDefaultsCommandInput
28502854
| ModifyInstanceMetadataOptionsCommandInput
2855+
| ModifyInstanceNetworkPerformanceOptionsCommandInput
28512856
| ModifyInstancePlacementCommandInput
28522857
| ModifyIpamCommandInput
28532858
| ModifyIpamPoolCommandInput
@@ -3510,6 +3515,7 @@ export type ServiceOutputTypes =
35103515
| ModifyInstanceMaintenanceOptionsCommandOutput
35113516
| ModifyInstanceMetadataDefaultsCommandOutput
35123517
| ModifyInstanceMetadataOptionsCommandOutput
3518+
| ModifyInstanceNetworkPerformanceOptionsCommandOutput
35133519
| ModifyInstancePlacementCommandOutput
35143520
| ModifyIpamCommandOutput
35153521
| ModifyIpamPoolCommandOutput

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
313313
* Operator: { // OperatorRequest
314314
* Principal: "STRING_VALUE",
315315
* },
316+
* NetworkPerformanceOptions: { // LaunchTemplateNetworkPerformanceOptionsRequest
317+
* BandwidthWeighting: "default" || "vpc-1" || "ebs-1",
318+
* },
316319
* },
317320
* Operator: {
318321
* Principal: "STRING_VALUE",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
316316
* Operator: { // OperatorRequest
317317
* Principal: "STRING_VALUE",
318318
* },
319+
* NetworkPerformanceOptions: { // LaunchTemplateNetworkPerformanceOptionsRequest
320+
* BandwidthWeighting: "default" || "vpc-1" || "ebs-1",
321+
* },
319322
* },
320323
* ResolveAlias: true || false,
321324
* };
@@ -593,6 +596,9 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
593596
* // Managed: true || false,
594597
* // Principal: "STRING_VALUE",
595598
* // },
599+
* // NetworkPerformanceOptions: { // LaunchTemplateNetworkPerformanceOptions
600+
* // BandwidthWeighting: "default" || "vpc-1" || "ebs-1",
601+
* // },
596602
* // },
597603
* // Operator: {
598604
* // Managed: true || false,

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +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 {
10-
CreateLocalGatewayRouteTableVpcAssociationRequest,
11-
CreateLocalGatewayRouteTableVpcAssociationResult,
12-
} from "../models/models_1";
9+
import { CreateLocalGatewayRouteTableVpcAssociationRequest } from "../models/models_1";
10+
import { CreateLocalGatewayRouteTableVpcAssociationResult } from "../models/models_2";
1311
import {
1412
de_CreateLocalGatewayRouteTableVpcAssociationCommand,
1513
se_CreateLocalGatewayRouteTableVpcAssociationCommand,

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

Lines changed: 1 addition & 2 deletions
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 { CreateManagedPrefixListRequest } from "../models/models_1";
10-
import { CreateManagedPrefixListResult } from "../models/models_2";
9+
import { CreateManagedPrefixListRequest, CreateManagedPrefixListResult } from "../models/models_2";
1110
import { de_CreateManagedPrefixListCommand, se_CreateManagedPrefixListCommand } from "../protocols/Aws_ec2";
1211

1312
/**

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

Lines changed: 2 additions & 1 deletion
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 { DeleteClientVpnRouteRequest, DeleteClientVpnRouteResult } from "../models/models_2";
9+
import { DeleteClientVpnRouteRequest } from "../models/models_2";
10+
import { DeleteClientVpnRouteResult } from "../models/models_3";
1011
import { de_DeleteClientVpnRouteCommand, se_DeleteClientVpnRouteCommand } from "../protocols/Aws_ec2";
1112

1213
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +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 { DeleteCoipCidrRequest, DeleteCoipCidrResult } from "../models/models_2";
9+
import { DeleteCoipCidrRequest, DeleteCoipCidrResult } from "../models/models_3";
1010
import { de_DeleteCoipCidrCommand, se_DeleteCoipCidrCommand } from "../protocols/Aws_ec2";
1111

1212
/**

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

Lines changed: 2 additions & 1 deletion
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 { DescribeFleetInstancesRequest, DescribeFleetInstancesResult } from "../models/models_3";
9+
import { DescribeFleetInstancesRequest } from "../models/models_3";
10+
import { DescribeFleetInstancesResult } from "../models/models_4";
1011
import { de_DescribeFleetInstancesCommand, se_DescribeFleetInstancesCommand } from "../protocols/Aws_ec2";
1112

1213
/**

0 commit comments

Comments
 (0)