Skip to content

Commit 4bc58af

Browse files
author
awstools
committed
feat(client-ec2): This release adds three features - option to store AWS Site-to-Site VPN pre-shared keys in AWS Secrets Manager, GetActiveVpnTunnelStatus API to check the in-use VPN algorithms, and SampleType option in GetVpnConnectionDeviceSampleConfiguration API to get recommended sample configs for VPN devices.
1 parent 23dad7a commit 4bc58af

34 files changed

+1317
-680
lines changed

clients/client-ec2/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4005,6 +4005,14 @@ ExportVerifiedAccessInstanceClientConfiguration
40054005

40064006
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ExportVerifiedAccessInstanceClientConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ExportVerifiedAccessInstanceClientConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ExportVerifiedAccessInstanceClientConfigurationCommandOutput/)
40074007

4008+
</details>
4009+
<details>
4010+
<summary>
4011+
GetActiveVpnTunnelStatus
4012+
</summary>
4013+
4014+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/GetActiveVpnTunnelStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetActiveVpnTunnelStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetActiveVpnTunnelStatusCommandOutput/)
4015+
40084016
</details>
40094017
<details>
40104018
<summary>

clients/client-ec2/src/EC2.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,6 +2325,11 @@ import {
23252325
ExportVerifiedAccessInstanceClientConfigurationCommandInput,
23262326
ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
23272327
} from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
2328+
import {
2329+
GetActiveVpnTunnelStatusCommand,
2330+
GetActiveVpnTunnelStatusCommandInput,
2331+
GetActiveVpnTunnelStatusCommandOutput,
2332+
} from "./commands/GetActiveVpnTunnelStatusCommand";
23282333
import {
23292334
GetAllowedImagesSettingsCommand,
23302335
GetAllowedImagesSettingsCommandInput,
@@ -3837,6 +3842,7 @@ const commands = {
38373842
ExportImageCommand,
38383843
ExportTransitGatewayRoutesCommand,
38393844
ExportVerifiedAccessInstanceClientConfigurationCommand,
3845+
GetActiveVpnTunnelStatusCommand,
38403846
GetAllowedImagesSettingsCommand,
38413847
GetAssociatedEnclaveCertificateIamRolesCommand,
38423848
GetAssociatedIpv6PoolCidrsCommand,
@@ -12054,6 +12060,23 @@ export interface EC2 {
1205412060
cb: (err: any, data?: ExportVerifiedAccessInstanceClientConfigurationCommandOutput) => void
1205512061
): void;
1205612062

12063+
/**
12064+
* @see {@link GetActiveVpnTunnelStatusCommand}
12065+
*/
12066+
getActiveVpnTunnelStatus(
12067+
args: GetActiveVpnTunnelStatusCommandInput,
12068+
options?: __HttpHandlerOptions
12069+
): Promise<GetActiveVpnTunnelStatusCommandOutput>;
12070+
getActiveVpnTunnelStatus(
12071+
args: GetActiveVpnTunnelStatusCommandInput,
12072+
cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void
12073+
): void;
12074+
getActiveVpnTunnelStatus(
12075+
args: GetActiveVpnTunnelStatusCommandInput,
12076+
options: __HttpHandlerOptions,
12077+
cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void
12078+
): void;
12079+
1205712080
/**
1205812081
* @see {@link GetAllowedImagesSettingsCommand}
1205912082
*/

clients/client-ec2/src/EC2Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,6 +1677,10 @@ import {
16771677
ExportVerifiedAccessInstanceClientConfigurationCommandInput,
16781678
ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
16791679
} from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
1680+
import {
1681+
GetActiveVpnTunnelStatusCommandInput,
1682+
GetActiveVpnTunnelStatusCommandOutput,
1683+
} from "./commands/GetActiveVpnTunnelStatusCommand";
16801684
import {
16811685
GetAllowedImagesSettingsCommandInput,
16821686
GetAllowedImagesSettingsCommandOutput,
@@ -2890,6 +2894,7 @@ export type ServiceInputTypes =
28902894
| ExportImageCommandInput
28912895
| ExportTransitGatewayRoutesCommandInput
28922896
| ExportVerifiedAccessInstanceClientConfigurationCommandInput
2897+
| GetActiveVpnTunnelStatusCommandInput
28932898
| GetAllowedImagesSettingsCommandInput
28942899
| GetAssociatedEnclaveCertificateIamRolesCommandInput
28952900
| GetAssociatedIpv6PoolCidrsCommandInput
@@ -3580,6 +3585,7 @@ export type ServiceOutputTypes =
35803585
| ExportImageCommandOutput
35813586
| ExportTransitGatewayRoutesCommandOutput
35823587
| ExportVerifiedAccessInstanceClientConfigurationCommandOutput
3588+
| GetActiveVpnTunnelStatusCommandOutput
35833589
| GetAllowedImagesSettingsCommandOutput
35843590
| GetAssociatedEnclaveCertificateIamRolesCommandOutput
35853591
| GetAssociatedIpv6PoolCidrsCommandOutput

clients/client-ec2/src/commands/CopyFpgaImageCommand.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 { CopyFpgaImageRequest, CopyFpgaImageResult } from "../models/models_0";
9+
import { CopyFpgaImageRequest, CopyFpgaImageResult } from "../models/models_1";
1010
import { de_CopyFpgaImageCommand, se_CopyFpgaImageCommand } from "../protocols/Aws_ec2";
1111

1212
/**

clients/client-ec2/src/commands/CreateVpcEndpointCommand.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 { CreateVpcEndpointRequest, CreateVpcEndpointResult } from "../models/models_2";
9+
import { CreateVpcEndpointRequest } from "../models/models_2";
10+
import { CreateVpcEndpointResult } from "../models/models_3";
1011
import { de_CreateVpcEndpointCommand, se_CreateVpcEndpointCommand } from "../protocols/Aws_ec2";
1112

1213
/**

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateVpcEndpointConnectionNotificationRequest } from "../models/models_2";
10-
import { CreateVpcEndpointConnectionNotificationResult } from "../models/models_3";
9+
import {
10+
CreateVpcEndpointConnectionNotificationRequest,
11+
CreateVpcEndpointConnectionNotificationResult,
12+
} from "../models/models_3";
1113
import {
1214
de_CreateVpcEndpointConnectionNotificationCommand,
1315
se_CreateVpcEndpointConnectionNotificationCommand,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface CreateVpnConnectionCommandOutput extends CreateVpnConnectionRes
7272
* ],
7373
* },
7474
* ],
75+
* PreSharedKeyStorage: "STRING_VALUE",
7576
* DryRun: true || false,
7677
* Options: { // VpnConnectionOptionsSpecification
7778
* EnableAcceleration: true || false,
@@ -245,6 +246,7 @@ export interface CreateVpnConnectionCommandOutput extends CreateVpnConnectionRes
245246
* // CertificateArn: "STRING_VALUE",
246247
* // },
247248
* // ],
249+
* // PreSharedKeyArn: "STRING_VALUE",
248250
* // VpnConnectionId: "STRING_VALUE",
249251
* // State: "pending" || "available" || "deleting" || "deleted",
250252
* // CustomerGatewayConfiguration: "STRING_VALUE",

clients/client-ec2/src/commands/DescribeClientVpnConnectionsCommand.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 { DescribeClientVpnConnectionsRequest, DescribeClientVpnConnectionsResult } from "../models/models_3";
9+
import { DescribeClientVpnConnectionsRequest } from "../models/models_3";
10+
import { DescribeClientVpnConnectionsResult } from "../models/models_4";
1011
import { de_DescribeClientVpnConnectionsCommand, se_DescribeClientVpnConnectionsCommand } from "../protocols/Aws_ec2";
1112

1213
/**

clients/client-ec2/src/commands/DescribeClientVpnEndpointsCommand.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 { DescribeClientVpnEndpointsRequest } from "../models/models_3";
10-
import { DescribeClientVpnEndpointsResult } from "../models/models_4";
9+
import { DescribeClientVpnEndpointsRequest, DescribeClientVpnEndpointsResult } from "../models/models_4";
1110
import { de_DescribeClientVpnEndpointsCommand, se_DescribeClientVpnEndpointsCommand } from "../protocols/Aws_ec2";
1211

1312
/**

clients/client-ec2/src/commands/DescribeKeyPairsCommand.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 { DescribeKeyPairsRequest, DescribeKeyPairsResult } from "../models/models_4";
9+
import { DescribeKeyPairsRequest } from "../models/models_4";
10+
import { DescribeKeyPairsResult } from "../models/models_5";
1011
import { de_DescribeKeyPairsCommand, se_DescribeKeyPairsCommand } from "../protocols/Aws_ec2";
1112

1213
/**

0 commit comments

Comments
 (0)