@aws-sdk/client-ec2 3.816.0 → 3.818.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.
- package/README.md +8 -0
- package/dist-cjs/index.js +317 -126
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
- package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +55 -0
- package/dist-es/models/models_5.js +0 -7
- package/dist-es/models/models_6.js +7 -0
- package/dist-es/protocols/Aws_ec2.js +155 -44
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
- package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +64 -48
- package/dist-types/models/models_1.d.ts +103 -28
- package/dist-types/models/models_2.d.ts +29 -58
- package/dist-types/models/models_3.d.ts +68 -57
- package/dist-types/models/models_4.d.ts +59 -72
- package/dist-types/models/models_5.d.ts +73 -106
- package/dist-types/models/models_6.d.ts +132 -100
- package/dist-types/models/models_7.d.ts +112 -65
- package/dist-types/models/models_8.d.ts +66 -3
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -11
- package/dist-types/ts3.4/models/models_1.d.ts +66 -7
- package/dist-types/ts3.4/models/models_2.d.ts +7 -14
- package/dist-types/ts3.4/models/models_3.d.ts +15 -11
- package/dist-types/ts3.4/models/models_4.d.ts +13 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -13
- package/dist-types/ts3.4/models/models_6.d.ts +21 -23
- package/dist-types/ts3.4/models/models_7.d.ts +26 -17
- package/dist-types/ts3.4/models/models_8.d.ts +18 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +2 -2
|
@@ -23,7 +23,10 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const loaderConfig = {
|
|
26
|
+
const loaderConfig = {
|
|
27
|
+
profile: config?.profile,
|
|
28
|
+
logger: clientSharedValues.logger,
|
|
29
|
+
};
|
|
27
30
|
return {
|
|
28
31
|
...clientSharedValues,
|
|
29
32
|
...config,
|
package/dist-es/EC2.js
CHANGED
|
@@ -474,6 +474,7 @@ import { ExportClientVpnClientConfigurationCommand, } from "./commands/ExportCli
|
|
|
474
474
|
import { ExportImageCommand } from "./commands/ExportImageCommand";
|
|
475
475
|
import { ExportTransitGatewayRoutesCommand, } from "./commands/ExportTransitGatewayRoutesCommand";
|
|
476
476
|
import { ExportVerifiedAccessInstanceClientConfigurationCommand, } from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
|
|
477
|
+
import { GetActiveVpnTunnelStatusCommand, } from "./commands/GetActiveVpnTunnelStatusCommand";
|
|
477
478
|
import { GetAllowedImagesSettingsCommand, } from "./commands/GetAllowedImagesSettingsCommand";
|
|
478
479
|
import { GetAssociatedEnclaveCertificateIamRolesCommand, } from "./commands/GetAssociatedEnclaveCertificateIamRolesCommand";
|
|
479
480
|
import { GetAssociatedIpv6PoolCidrsCommand, } from "./commands/GetAssociatedIpv6PoolCidrsCommand";
|
|
@@ -1161,6 +1162,7 @@ const commands = {
|
|
|
1161
1162
|
ExportImageCommand,
|
|
1162
1163
|
ExportTransitGatewayRoutesCommand,
|
|
1163
1164
|
ExportVerifiedAccessInstanceClientConfigurationCommand,
|
|
1165
|
+
GetActiveVpnTunnelStatusCommand,
|
|
1164
1166
|
GetAllowedImagesSettingsCommand,
|
|
1165
1167
|
GetAssociatedEnclaveCertificateIamRolesCommand,
|
|
1166
1168
|
GetAssociatedIpv6PoolCidrsCommand,
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DescribeVpnConnectionsResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { DescribeVpnConnectionsResultFilterSensitiveLog, } from "../models/models_6";
|
|
6
6
|
import { de_DescribeVpnConnectionsCommand, se_DescribeVpnConnectionsCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeVpnConnectionsCommand extends $Command
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetActiveVpnTunnelStatusCommand, se_GetActiveVpnTunnelStatusCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetActiveVpnTunnelStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonEC2", "GetActiveVpnTunnelStatus", {})
|
|
17
|
+
.n("EC2Client", "GetActiveVpnTunnelStatusCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetActiveVpnTunnelStatusCommand)
|
|
20
|
+
.de(de_GetActiveVpnTunnelStatusCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -473,6 +473,7 @@ export * from "./ExportClientVpnClientConfigurationCommand";
|
|
|
473
473
|
export * from "./ExportImageCommand";
|
|
474
474
|
export * from "./ExportTransitGatewayRoutesCommand";
|
|
475
475
|
export * from "./ExportVerifiedAccessInstanceClientConfigurationCommand";
|
|
476
|
+
export * from "./GetActiveVpnTunnelStatusCommand";
|
|
476
477
|
export * from "./GetAllowedImagesSettingsCommand";
|
|
477
478
|
export * from "./GetAssociatedEnclaveCertificateIamRolesCommand";
|
|
478
479
|
export * from "./GetAssociatedIpv6PoolCidrsCommand";
|
|
@@ -202,6 +202,11 @@ export const InstanceHealthStatus = {
|
|
|
202
202
|
HEALTHY_STATUS: "healthy",
|
|
203
203
|
UNHEALTHY_STATUS: "unhealthy",
|
|
204
204
|
};
|
|
205
|
+
export const VpnTunnelProvisioningStatus = {
|
|
206
|
+
available: "available",
|
|
207
|
+
failed: "failed",
|
|
208
|
+
pending: "pending",
|
|
209
|
+
};
|
|
205
210
|
export const ActivityStatus = {
|
|
206
211
|
ERROR: "error",
|
|
207
212
|
FULFILLED: "fulfilled",
|
|
@@ -228,6 +228,8 @@ export const _InstanceType = {
|
|
|
228
228
|
c7i_48xlarge: "c7i.48xlarge",
|
|
229
229
|
c7i_4xlarge: "c7i.4xlarge",
|
|
230
230
|
c7i_8xlarge: "c7i.8xlarge",
|
|
231
|
+
c7i_flex_12xlarge: "c7i-flex.12xlarge",
|
|
232
|
+
c7i_flex_16xlarge: "c7i-flex.16xlarge",
|
|
231
233
|
c7i_flex_2xlarge: "c7i-flex.2xlarge",
|
|
232
234
|
c7i_flex_4xlarge: "c7i-flex.4xlarge",
|
|
233
235
|
c7i_flex_8xlarge: "c7i-flex.8xlarge",
|
|
@@ -249,6 +251,18 @@ export const _InstanceType = {
|
|
|
249
251
|
c8g_metal_24xl: "c8g.metal-24xl",
|
|
250
252
|
c8g_metal_48xl: "c8g.metal-48xl",
|
|
251
253
|
c8g_xlarge: "c8g.xlarge",
|
|
254
|
+
c8gd_12xlarge: "c8gd.12xlarge",
|
|
255
|
+
c8gd_16xlarge: "c8gd.16xlarge",
|
|
256
|
+
c8gd_24xlarge: "c8gd.24xlarge",
|
|
257
|
+
c8gd_2xlarge: "c8gd.2xlarge",
|
|
258
|
+
c8gd_48xlarge: "c8gd.48xlarge",
|
|
259
|
+
c8gd_4xlarge: "c8gd.4xlarge",
|
|
260
|
+
c8gd_8xlarge: "c8gd.8xlarge",
|
|
261
|
+
c8gd_large: "c8gd.large",
|
|
262
|
+
c8gd_medium: "c8gd.medium",
|
|
263
|
+
c8gd_metal_24xl: "c8gd.metal-24xl",
|
|
264
|
+
c8gd_metal_48xl: "c8gd.metal-48xl",
|
|
265
|
+
c8gd_xlarge: "c8gd.xlarge",
|
|
252
266
|
cc1_4xlarge: "cc1.4xlarge",
|
|
253
267
|
cc2_8xlarge: "cc2.8xlarge",
|
|
254
268
|
cg1_4xlarge: "cg1.4xlarge",
|
|
@@ -374,6 +388,17 @@ export const _InstanceType = {
|
|
|
374
388
|
i4i_large: "i4i.large",
|
|
375
389
|
i4i_metal: "i4i.metal",
|
|
376
390
|
i4i_xlarge: "i4i.xlarge",
|
|
391
|
+
i7i_12xlarge: "i7i.12xlarge",
|
|
392
|
+
i7i_16xlarge: "i7i.16xlarge",
|
|
393
|
+
i7i_24xlarge: "i7i.24xlarge",
|
|
394
|
+
i7i_2xlarge: "i7i.2xlarge",
|
|
395
|
+
i7i_48xlarge: "i7i.48xlarge",
|
|
396
|
+
i7i_4xlarge: "i7i.4xlarge",
|
|
397
|
+
i7i_8xlarge: "i7i.8xlarge",
|
|
398
|
+
i7i_large: "i7i.large",
|
|
399
|
+
i7i_metal_24xl: "i7i.metal-24xl",
|
|
400
|
+
i7i_metal_48xl: "i7i.metal-48xl",
|
|
401
|
+
i7i_xlarge: "i7i.xlarge",
|
|
377
402
|
i7ie_12xlarge: "i7ie.12xlarge",
|
|
378
403
|
i7ie_18xlarge: "i7ie.18xlarge",
|
|
379
404
|
i7ie_24xlarge: "i7ie.24xlarge",
|
|
@@ -382,11 +407,14 @@ export const _InstanceType = {
|
|
|
382
407
|
i7ie_48xlarge: "i7ie.48xlarge",
|
|
383
408
|
i7ie_6xlarge: "i7ie.6xlarge",
|
|
384
409
|
i7ie_large: "i7ie.large",
|
|
410
|
+
i7ie_metal_24xl: "i7ie.metal-24xl",
|
|
411
|
+
i7ie_metal_48xl: "i7ie.metal-48xl",
|
|
385
412
|
i7ie_xlarge: "i7ie.xlarge",
|
|
386
413
|
i8g_12xlarge: "i8g.12xlarge",
|
|
387
414
|
i8g_16xlarge: "i8g.16xlarge",
|
|
388
415
|
i8g_24xlarge: "i8g.24xlarge",
|
|
389
416
|
i8g_2xlarge: "i8g.2xlarge",
|
|
417
|
+
i8g_48xlarge: "i8g.48xlarge",
|
|
390
418
|
i8g_4xlarge: "i8g.4xlarge",
|
|
391
419
|
i8g_8xlarge: "i8g.8xlarge",
|
|
392
420
|
i8g_large: "i8g.large",
|
|
@@ -594,6 +622,8 @@ export const _InstanceType = {
|
|
|
594
622
|
m7i_48xlarge: "m7i.48xlarge",
|
|
595
623
|
m7i_4xlarge: "m7i.4xlarge",
|
|
596
624
|
m7i_8xlarge: "m7i.8xlarge",
|
|
625
|
+
m7i_flex_12xlarge: "m7i-flex.12xlarge",
|
|
626
|
+
m7i_flex_16xlarge: "m7i-flex.16xlarge",
|
|
597
627
|
m7i_flex_2xlarge: "m7i-flex.2xlarge",
|
|
598
628
|
m7i_flex_4xlarge: "m7i-flex.4xlarge",
|
|
599
629
|
m7i_flex_8xlarge: "m7i-flex.8xlarge",
|
|
@@ -615,6 +645,18 @@ export const _InstanceType = {
|
|
|
615
645
|
m8g_metal_24xl: "m8g.metal-24xl",
|
|
616
646
|
m8g_metal_48xl: "m8g.metal-48xl",
|
|
617
647
|
m8g_xlarge: "m8g.xlarge",
|
|
648
|
+
m8gd_12xlarge: "m8gd.12xlarge",
|
|
649
|
+
m8gd_16xlarge: "m8gd.16xlarge",
|
|
650
|
+
m8gd_24xlarge: "m8gd.24xlarge",
|
|
651
|
+
m8gd_2xlarge: "m8gd.2xlarge",
|
|
652
|
+
m8gd_48xlarge: "m8gd.48xlarge",
|
|
653
|
+
m8gd_4xlarge: "m8gd.4xlarge",
|
|
654
|
+
m8gd_8xlarge: "m8gd.8xlarge",
|
|
655
|
+
m8gd_large: "m8gd.large",
|
|
656
|
+
m8gd_medium: "m8gd.medium",
|
|
657
|
+
m8gd_metal_24xl: "m8gd.metal-24xl",
|
|
658
|
+
m8gd_metal_48xl: "m8gd.metal-48xl",
|
|
659
|
+
m8gd_xlarge: "m8gd.xlarge",
|
|
618
660
|
mac1_metal: "mac1.metal",
|
|
619
661
|
mac2_m1ultra_metal: "mac2-m1ultra.metal",
|
|
620
662
|
mac2_m2_metal: "mac2-m2.metal",
|
|
@@ -632,6 +674,7 @@ export const _InstanceType = {
|
|
|
632
674
|
p5_48xlarge: "p5.48xlarge",
|
|
633
675
|
p5e_48xlarge: "p5e.48xlarge",
|
|
634
676
|
p5en_48xlarge: "p5en.48xlarge",
|
|
677
|
+
p6_b200_48xlarge: "p6-b200.48xlarge",
|
|
635
678
|
r3_2xlarge: "r3.2xlarge",
|
|
636
679
|
r3_4xlarge: "r3.4xlarge",
|
|
637
680
|
r3_8xlarge: "r3.8xlarge",
|
|
@@ -836,6 +879,18 @@ export const _InstanceType = {
|
|
|
836
879
|
r8g_metal_24xl: "r8g.metal-24xl",
|
|
837
880
|
r8g_metal_48xl: "r8g.metal-48xl",
|
|
838
881
|
r8g_xlarge: "r8g.xlarge",
|
|
882
|
+
r8gd_12xlarge: "r8gd.12xlarge",
|
|
883
|
+
r8gd_16xlarge: "r8gd.16xlarge",
|
|
884
|
+
r8gd_24xlarge: "r8gd.24xlarge",
|
|
885
|
+
r8gd_2xlarge: "r8gd.2xlarge",
|
|
886
|
+
r8gd_48xlarge: "r8gd.48xlarge",
|
|
887
|
+
r8gd_4xlarge: "r8gd.4xlarge",
|
|
888
|
+
r8gd_8xlarge: "r8gd.8xlarge",
|
|
889
|
+
r8gd_large: "r8gd.large",
|
|
890
|
+
r8gd_medium: "r8gd.medium",
|
|
891
|
+
r8gd_metal_24xl: "r8gd.metal-24xl",
|
|
892
|
+
r8gd_metal_48xl: "r8gd.metal-48xl",
|
|
893
|
+
r8gd_xlarge: "r8gd.xlarge",
|
|
839
894
|
t1_micro: "t1.micro",
|
|
840
895
|
t2_2xlarge: "t2.2xlarge",
|
|
841
896
|
t2_large: "t2.large",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_2";
|
|
4
|
-
import { VpnConnectionFilterSensitiveLog, } from "./models_3";
|
|
5
4
|
export const LockState = {
|
|
6
5
|
compliance: "compliance",
|
|
7
6
|
compliance_cooloff: "compliance-cooloff",
|
|
@@ -202,9 +201,3 @@ export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj
|
|
|
202
201
|
VerifiedAccessTrustProviders: obj.VerifiedAccessTrustProviders.map((item) => VerifiedAccessTrustProviderFilterSensitiveLog(item)),
|
|
203
202
|
}),
|
|
204
203
|
});
|
|
205
|
-
export const DescribeVpnConnectionsResultFilterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
...(obj.VpnConnections && {
|
|
208
|
-
VpnConnections: obj.VpnConnections.map((item) => VpnConnectionFilterSensitiveLog(item)),
|
|
209
|
-
}),
|
|
210
|
-
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
import { VpnConnectionFilterSensitiveLog, } from "./models_3";
|
|
4
5
|
export const ImageBlockPublicAccessDisabledState = {
|
|
5
6
|
unblocked: "unblocked",
|
|
6
7
|
};
|
|
@@ -123,6 +124,12 @@ export const RouteServerRouteStatus = {
|
|
|
123
124
|
IN_FIB: "in-fib",
|
|
124
125
|
IN_RIB: "in-rib",
|
|
125
126
|
};
|
|
127
|
+
export const DescribeVpnConnectionsResultFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
...(obj.VpnConnections && {
|
|
130
|
+
VpnConnections: obj.VpnConnections.map((item) => VpnConnectionFilterSensitiveLog(item)),
|
|
131
|
+
}),
|
|
132
|
+
});
|
|
126
133
|
export const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
127
134
|
...obj,
|
|
128
135
|
...(obj.VerifiedAccessTrustProvider && {
|