Skip to content

Commit 216c012

Browse files
author
awstools
committed
feat(client-ec2): Added support for ClientRouteEnforcementOptions flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses
1 parent b56962b commit 216c012

22 files changed

+480
-304
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export interface CreateClientVpnEndpointCommandOutput extends CreateClientVpnEnd
9494
* Enabled: true || false,
9595
* BannerText: "STRING_VALUE",
9696
* },
97+
* ClientRouteEnforcementOptions: { // ClientRouteEnforcementOptions
98+
* Enforced: true || false,
99+
* },
97100
* DisconnectOnSessionTimeout: true || false,
98101
* };
99102
* const command = new CreateClientVpnEndpointCommand(input);

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ import { commonParams } from "../endpoint/EndpointParameters";
99
import {
1010
CreateLaunchTemplateVersionRequest,
1111
CreateLaunchTemplateVersionRequestFilterSensitiveLog,
12+
} from "../models/models_1";
13+
import {
1214
CreateLaunchTemplateVersionResult,
1315
CreateLaunchTemplateVersionResultFilterSensitiveLog,
14-
} from "../models/models_1";
16+
} from "../models/models_2";
1517
import { de_CreateLaunchTemplateVersionCommand, se_CreateLaunchTemplateVersionCommand } from "../protocols/Aws_ec2";
1618

1719
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
7474
* // CustomerOwnedIp: "STRING_VALUE",
7575
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
7676
* // CarrierIp: "STRING_VALUE",
77-
* // ServiceManaged: "alb" || "nlb",
77+
* // ServiceManaged: "alb" || "nlb" || "rnat",
7878
* // InstanceId: "STRING_VALUE",
7979
* // PublicIp: "STRING_VALUE",
8080
* // },

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ export interface DescribeClientVpnEndpointsCommandOutput extends DescribeClientV
124124
* // Enabled: true || false,
125125
* // BannerText: "STRING_VALUE",
126126
* // },
127+
* // ClientRouteEnforcementOptions: { // ClientRouteEnforcementResponseOptions
128+
* // Enforced: true || false,
129+
* // },
127130
* // DisconnectOnSessionTimeout: true || false,
128131
* // },
129132
* // ],

clients/client-ec2/src/commands/DescribeMovingAddressesCommand.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 { DescribeMovingAddressesRequest } from "../models/models_4";
10-
import { DescribeMovingAddressesResult } from "../models/models_5";
9+
import { DescribeMovingAddressesRequest, DescribeMovingAddressesResult } from "../models/models_5";
1110
import { de_DescribeMovingAddressesCommand, se_DescribeMovingAddressesCommand } from "../protocols/Aws_ec2";
1211

1312
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface DescribeVpcEndpointServicePermissionsCommandOutput
3838

3939
/**
4040
* <p>Describes the principals (service consumers) that are permitted to discover your VPC
41-
* endpoint service.</p>
41+
* endpoint service. Principal ARNs with path components aren't supported.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

clients/client-ec2/src/commands/DisableImageDeregistrationProtectionCommand.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-
DisableImageDeregistrationProtectionRequest,
11-
DisableImageDeregistrationProtectionResult,
12-
} from "../models/models_5";
9+
import { DisableImageDeregistrationProtectionRequest } from "../models/models_5";
10+
import { DisableImageDeregistrationProtectionResult } from "../models/models_6";
1311
import {
1412
de_DisableImageDeregistrationProtectionCommand,
1513
se_DisableImageDeregistrationProtectionCommand,

clients/client-ec2/src/commands/DisableIpamOrganizationAdminAccountCommand.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 { DisableIpamOrganizationAdminAccountRequest } from "../models/models_5";
10-
import { DisableIpamOrganizationAdminAccountResult } from "../models/models_6";
9+
import {
10+
DisableIpamOrganizationAdminAccountRequest,
11+
DisableIpamOrganizationAdminAccountResult,
12+
} from "../models/models_6";
1113
import {
1214
de_DisableIpamOrganizationAdminAccountCommand,
1315
se_DisableIpamOrganizationAdminAccountCommand,

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export interface ModifyClientVpnEndpointCommandOutput extends ModifyClientVpnEnd
6767
* Enabled: true || false,
6868
* BannerText: "STRING_VALUE",
6969
* },
70+
* ClientRouteEnforcementOptions: { // ClientRouteEnforcementOptions
71+
* Enforced: true || false,
72+
* },
7073
* DisconnectOnSessionTimeout: true || false,
7174
* };
7275
* const command = new ModifyClientVpnEndpointCommand(input);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface ModifyVpcEndpointServicePermissionsCommandOutput
3838
/**
3939
* <p>Modifies the permissions for your VPC endpoint service. You can add or remove permissions
4040
* for service consumers (Amazon Web Services accounts, users, and IAM roles) to connect to
41-
* your endpoint service.</p>
41+
* your endpoint service. Principal ARNs with path components aren't supported.</p>
4242
* <p>If you grant permissions to all principals, the service is public. Any users who know the name of a
4343
* public service can send a request to attach an endpoint. If the service does not require manual approval,
4444
* attachments are automatically approved.</p>

0 commit comments

Comments
 (0)