@aws-sdk/client-ec2 3.758.0 → 3.764.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/dist-cjs/index.js +387 -282
- package/dist-es/commands/CreateVpnConnectionCommand.js +2 -1
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +23 -4
- package/dist-es/models/models_2.js +4 -9
- package/dist-es/models/models_3.js +10 -15
- package/dist-es/models/models_4.js +15 -0
- package/dist-es/models/models_5.js +1 -1
- package/dist-es/models/models_6.js +0 -6
- package/dist-es/models/models_7.js +7 -1
- package/dist-es/protocols/Aws_ec2.js +139 -64
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +37 -2
- package/dist-types/commands/CreateLocalGatewayRouteCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +37 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -1
- package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -2
- package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
- package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVpcsCommand.d.ts +37 -2
- package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +3 -1
- package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +20 -12
- package/dist-types/models/models_1.d.ts +86 -233
- package/dist-types/models/models_2.d.ts +236 -253
- package/dist-types/models/models_3.d.ts +248 -243
- package/dist-types/models/models_4.d.ts +247 -197
- package/dist-types/models/models_5.d.ts +198 -120
- package/dist-types/models/models_6.d.ts +119 -132
- package/dist-types/models/models_7.d.ts +134 -148
- package/dist-types/models/models_8.d.ts +145 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7 -6
- package/dist-types/ts3.4/models/models_1.d.ts +52 -40
- package/dist-types/ts3.4/models/models_2.d.ts +40 -59
- package/dist-types/ts3.4/models/models_3.d.ts +66 -57
- package/dist-types/ts3.4/models/models_4.d.ts +60 -42
- package/dist-types/ts3.4/models/models_5.d.ts +45 -38
- package/dist-types/ts3.4/models/models_6.d.ts +35 -39
- package/dist-types/ts3.4/models/models_7.d.ts +38 -37
- package/dist-types/ts3.4/models/models_8.d.ts +34 -1
- package/package.json +1 -1
|
@@ -2,7 +2,8 @@ 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 { CreateVpnConnectionRequestFilterSensitiveLog
|
|
5
|
+
import { CreateVpnConnectionRequestFilterSensitiveLog } from "../models/models_2";
|
|
6
|
+
import { CreateVpnConnectionResultFilterSensitiveLog } from "../models/models_3";
|
|
6
7
|
import { de_CreateVpnConnectionCommand, se_CreateVpnConnectionCommand } from "../protocols/Aws_ec2";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class CreateVpnConnectionCommand extends $Command
|
|
@@ -214,6 +214,10 @@ export const DomainType = {
|
|
|
214
214
|
standard: "standard",
|
|
215
215
|
vpc: "vpc",
|
|
216
216
|
};
|
|
217
|
+
export const ServiceManaged = {
|
|
218
|
+
alb: "alb",
|
|
219
|
+
nlb: "nlb",
|
|
220
|
+
};
|
|
217
221
|
export const AddressAttributeName = {
|
|
218
222
|
domain_name: "domain-name",
|
|
219
223
|
};
|
|
@@ -483,10 +487,6 @@ export const CancelSpotInstanceRequestState = {
|
|
|
483
487
|
completed: "completed",
|
|
484
488
|
open: "open",
|
|
485
489
|
};
|
|
486
|
-
export const CapacityReservationDeliveryPreference = {
|
|
487
|
-
FIXED: "fixed",
|
|
488
|
-
INCREMENTAL: "incremental",
|
|
489
|
-
};
|
|
490
490
|
export const OidcOptionsFilterSensitiveLog = (obj) => ({
|
|
491
491
|
...obj,
|
|
492
492
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const CapacityReservationDeliveryPreference = {
|
|
3
|
+
FIXED: "fixed",
|
|
4
|
+
INCREMENTAL: "incremental",
|
|
5
|
+
};
|
|
2
6
|
export const EndDateType = {
|
|
3
7
|
limited: "limited",
|
|
4
8
|
unlimited: "unlimited",
|
|
@@ -994,6 +998,25 @@ export const SubnetState = {
|
|
|
994
998
|
pending: "pending",
|
|
995
999
|
unavailable: "unavailable",
|
|
996
1000
|
};
|
|
1001
|
+
export const VpcEncryptionControlMode = {
|
|
1002
|
+
enforce: "enforce",
|
|
1003
|
+
monitor: "monitor",
|
|
1004
|
+
};
|
|
1005
|
+
export const VpcEncryptionControlExclusionState = {
|
|
1006
|
+
disabled: "disabled",
|
|
1007
|
+
disabling: "disabling",
|
|
1008
|
+
enabled: "enabled",
|
|
1009
|
+
enabling: "enabling",
|
|
1010
|
+
};
|
|
1011
|
+
export const VpcEncryptionControlState = {
|
|
1012
|
+
available: "available",
|
|
1013
|
+
deleted: "deleted",
|
|
1014
|
+
deleting: "deleting",
|
|
1015
|
+
enforce_failed: "enforce-failed",
|
|
1016
|
+
enforce_in_progress: "enforce-in-progress",
|
|
1017
|
+
monitor_failed: "monitor-failed",
|
|
1018
|
+
monitor_in_progress: "monitor-in-progress",
|
|
1019
|
+
};
|
|
997
1020
|
export const Tenancy = {
|
|
998
1021
|
dedicated: "dedicated",
|
|
999
1022
|
default: "default",
|
|
@@ -1298,10 +1321,6 @@ export const LocalGatewayRouteType = {
|
|
|
1298
1321
|
propagated: "propagated",
|
|
1299
1322
|
static: "static",
|
|
1300
1323
|
};
|
|
1301
|
-
export const LocalGatewayRouteTableMode = {
|
|
1302
|
-
coip: "coip",
|
|
1303
|
-
direct_vpc_routing: "direct-vpc-routing",
|
|
1304
|
-
};
|
|
1305
1324
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
1306
1325
|
...obj,
|
|
1307
1326
|
...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const LocalGatewayRouteTableMode = {
|
|
4
|
+
coip: "coip",
|
|
5
|
+
direct_vpc_routing: "direct-vpc-routing",
|
|
6
|
+
};
|
|
3
7
|
export const PrefixListState = {
|
|
4
8
|
create_complete: "create-complete",
|
|
5
9
|
create_failed: "create-failed",
|
|
@@ -427,12 +431,3 @@ export const VpnConnectionOptionsFilterSensitiveLog = (obj) => ({
|
|
|
427
431
|
...obj,
|
|
428
432
|
...(obj.TunnelOptions && { TunnelOptions: obj.TunnelOptions.map((item) => TunnelOptionFilterSensitiveLog(item)) }),
|
|
429
433
|
});
|
|
430
|
-
export const VpnConnectionFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
...(obj.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) }),
|
|
433
|
-
...(obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: SENSITIVE_STRING }),
|
|
434
|
-
});
|
|
435
|
-
export const CreateVpnConnectionResultFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
438
|
-
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { BundleTaskFilterSensitiveLog, VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
import { VpnConnectionOptionsFilterSensitiveLog, } from "./models_2";
|
|
3
4
|
export const FleetStateCode = {
|
|
4
5
|
ACTIVE: "active",
|
|
5
6
|
DELETED: "deleted",
|
|
@@ -131,21 +132,15 @@ export const ElasticGpuState = {
|
|
|
131
132
|
export const FastLaunchResourceType = {
|
|
132
133
|
SNAPSHOT: "snapshot",
|
|
133
134
|
};
|
|
134
|
-
export const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
disabled: "disabled",
|
|
144
|
-
disabling: "disabling",
|
|
145
|
-
enabled: "enabled",
|
|
146
|
-
enabling: "enabling",
|
|
147
|
-
optimizing: "optimizing",
|
|
148
|
-
};
|
|
135
|
+
export const VpnConnectionFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
...(obj.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) }),
|
|
138
|
+
...(obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: SENSITIVE_STRING }),
|
|
139
|
+
});
|
|
140
|
+
export const CreateVpnConnectionResultFilterSensitiveLog = (obj) => ({
|
|
141
|
+
...obj,
|
|
142
|
+
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
143
|
+
});
|
|
149
144
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
150
145
|
...obj,
|
|
151
146
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const FastLaunchStateCode = {
|
|
4
|
+
disabling: "disabling",
|
|
5
|
+
disabling_failed: "disabling-failed",
|
|
6
|
+
enabled: "enabled",
|
|
7
|
+
enabled_failed: "enabled-failed",
|
|
8
|
+
enabling: "enabling",
|
|
9
|
+
enabling_failed: "enabling-failed",
|
|
10
|
+
};
|
|
11
|
+
export const FastSnapshotRestoreStateCode = {
|
|
12
|
+
disabled: "disabled",
|
|
13
|
+
disabling: "disabling",
|
|
14
|
+
enabled: "enabled",
|
|
15
|
+
enabling: "enabling",
|
|
16
|
+
optimizing: "optimizing",
|
|
17
|
+
};
|
|
3
18
|
export const FleetEventType = {
|
|
4
19
|
FLEET_CHANGE: "fleet-change",
|
|
5
20
|
INSTANCE_CHANGE: "instance-change",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
-
import { VpnConnectionFilterSensitiveLog, } from "./
|
|
3
|
+
import { VpnConnectionFilterSensitiveLog, } from "./models_3";
|
|
4
4
|
export const OfferingClassType = {
|
|
5
5
|
CONVERTIBLE: "convertible",
|
|
6
6
|
STANDARD: "standard",
|
|
@@ -109,12 +109,6 @@ export const OperationType = {
|
|
|
109
109
|
add: "add",
|
|
110
110
|
remove: "remove",
|
|
111
111
|
};
|
|
112
|
-
export const UnsuccessfulInstanceCreditSpecificationErrorCode = {
|
|
113
|
-
INCORRECT_INSTANCE_STATE: "IncorrectInstanceState",
|
|
114
|
-
INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported",
|
|
115
|
-
INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound",
|
|
116
|
-
INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed",
|
|
117
|
-
};
|
|
118
112
|
export const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog = (obj) => ({
|
|
119
113
|
...obj,
|
|
120
114
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
-
import { VpnConnectionFilterSensitiveLog, } from "./
|
|
3
|
+
import { VpnConnectionFilterSensitiveLog, } from "./models_3";
|
|
4
4
|
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
|
|
5
|
+
export const UnsuccessfulInstanceCreditSpecificationErrorCode = {
|
|
6
|
+
INCORRECT_INSTANCE_STATE: "IncorrectInstanceState",
|
|
7
|
+
INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported",
|
|
8
|
+
INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound",
|
|
9
|
+
INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed",
|
|
10
|
+
};
|
|
5
11
|
export const DefaultInstanceMetadataEndpointState = {
|
|
6
12
|
disabled: "disabled",
|
|
7
13
|
enabled: "enabled",
|