@aws-sdk/client-ec2 3.624.0 → 3.629.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 +16 -0
- package/dist-cjs/index.js +371 -152
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
- package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
- package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -3
- package/dist-es/models/models_1.js +3 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/models/models_3.js +0 -17
- package/dist-es/models/models_4.js +17 -10
- package/dist-es/models/models_5.js +11 -9
- package/dist-es/models/models_6.js +13 -16
- package/dist-es/models/models_7.js +18 -2
- package/dist-es/protocols/Aws_ec2.js +169 -8
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
- package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
- package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
- package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +108 -226
- package/dist-types/models/models_1.d.ts +236 -211
- package/dist-types/models/models_2.d.ts +214 -78
- package/dist-types/models/models_3.d.ts +77 -244
- package/dist-types/models/models_4.d.ts +248 -365
- package/dist-types/models/models_5.d.ts +359 -64
- package/dist-types/models/models_6.d.ts +101 -309
- package/dist-types/models/models_7.d.ts +370 -5
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +40 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -44
- package/dist-types/ts3.4/models/models_1.d.ts +50 -39
- package/dist-types/ts3.4/models/models_2.d.ts +44 -20
- package/dist-types/ts3.4/models/models_3.d.ts +22 -60
- package/dist-types/ts3.4/models/models_4.d.ts +59 -51
- package/dist-types/ts3.4/models/models_5.d.ts +52 -21
- package/dist-types/ts3.4/models/models_6.d.ts +33 -62
- package/dist-types/ts3.4/models/models_7.d.ts +79 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +5 -5
package/dist-es/EC2.js
CHANGED
|
@@ -54,6 +54,7 @@ import { ConfirmProductInstanceCommand, } from "./commands/ConfirmProductInstanc
|
|
|
54
54
|
import { CopyFpgaImageCommand, } from "./commands/CopyFpgaImageCommand";
|
|
55
55
|
import { CopyImageCommand } from "./commands/CopyImageCommand";
|
|
56
56
|
import { CopySnapshotCommand, } from "./commands/CopySnapshotCommand";
|
|
57
|
+
import { CreateCapacityReservationBySplittingCommand, } from "./commands/CreateCapacityReservationBySplittingCommand";
|
|
57
58
|
import { CreateCapacityReservationCommand, } from "./commands/CreateCapacityReservationCommand";
|
|
58
59
|
import { CreateCapacityReservationFleetCommand, } from "./commands/CreateCapacityReservationFleetCommand";
|
|
59
60
|
import { CreateCarrierGatewayCommand, } from "./commands/CreateCarrierGatewayCommand";
|
|
@@ -557,6 +558,7 @@ import { ModifyVpnTunnelOptionsCommand, } from "./commands/ModifyVpnTunnelOption
|
|
|
557
558
|
import { MonitorInstancesCommand, } from "./commands/MonitorInstancesCommand";
|
|
558
559
|
import { MoveAddressToVpcCommand, } from "./commands/MoveAddressToVpcCommand";
|
|
559
560
|
import { MoveByoipCidrToIpamCommand, } from "./commands/MoveByoipCidrToIpamCommand";
|
|
561
|
+
import { MoveCapacityReservationInstancesCommand, } from "./commands/MoveCapacityReservationInstancesCommand";
|
|
560
562
|
import { ProvisionByoipCidrCommand, } from "./commands/ProvisionByoipCidrCommand";
|
|
561
563
|
import { ProvisionIpamByoasnCommand, } from "./commands/ProvisionIpamByoasnCommand";
|
|
562
564
|
import { ProvisionIpamPoolCidrCommand, } from "./commands/ProvisionIpamPoolCidrCommand";
|
|
@@ -682,6 +684,7 @@ const commands = {
|
|
|
682
684
|
CopyImageCommand,
|
|
683
685
|
CopySnapshotCommand,
|
|
684
686
|
CreateCapacityReservationCommand,
|
|
687
|
+
CreateCapacityReservationBySplittingCommand,
|
|
685
688
|
CreateCapacityReservationFleetCommand,
|
|
686
689
|
CreateCarrierGatewayCommand,
|
|
687
690
|
CreateClientVpnEndpointCommand,
|
|
@@ -1184,6 +1187,7 @@ const commands = {
|
|
|
1184
1187
|
MonitorInstancesCommand,
|
|
1185
1188
|
MoveAddressToVpcCommand,
|
|
1186
1189
|
MoveByoipCidrToIpamCommand,
|
|
1190
|
+
MoveCapacityReservationInstancesCommand,
|
|
1187
1191
|
ProvisionByoipCidrCommand,
|
|
1188
1192
|
ProvisionIpamByoasnCommand,
|
|
1189
1193
|
ProvisionIpamPoolCidrCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
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_CreateCapacityReservationBySplittingCommand, se_CreateCapacityReservationBySplittingCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCapacityReservationBySplittingCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2", "CreateCapacityReservationBySplitting", {})
|
|
19
|
+
.n("EC2Client", "CreateCapacityReservationBySplittingCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCapacityReservationBySplittingCommand)
|
|
22
|
+
.de(de_CreateCapacityReservationBySplittingCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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 { GetInstanceTpmEkPubResultFilterSensitiveLog } from "../models/models_6";
|
|
5
|
+
import { GetInstanceTpmEkPubResultFilterSensitiveLog, } from "../models/models_6";
|
|
6
6
|
import { de_GetInstanceTpmEkPubCommand, se_GetInstanceTpmEkPubCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetInstanceTpmEkPubCommand extends $Command
|
|
@@ -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 { ModifyVpnTunnelCertificateResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { ModifyVpnTunnelCertificateResultFilterSensitiveLog, } from "../models/models_7";
|
|
6
6
|
import { de_ModifyVpnTunnelCertificateCommand, se_ModifyVpnTunnelCertificateCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ModifyVpnTunnelCertificateCommand extends $Command
|
|
@@ -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 { ModifyVpnTunnelOptionsRequestFilterSensitiveLog, ModifyVpnTunnelOptionsResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { ModifyVpnTunnelOptionsRequestFilterSensitiveLog, ModifyVpnTunnelOptionsResultFilterSensitiveLog, } from "../models/models_7";
|
|
6
6
|
import { de_ModifyVpnTunnelOptionsCommand, se_ModifyVpnTunnelOptionsCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ModifyVpnTunnelOptionsCommand extends $Command
|
|
@@ -0,0 +1,24 @@
|
|
|
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_MoveCapacityReservationInstancesCommand, se_MoveCapacityReservationInstancesCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class MoveCapacityReservationInstancesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2", "MoveCapacityReservationInstances", {})
|
|
19
|
+
.n("EC2Client", "MoveCapacityReservationInstancesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_MoveCapacityReservationInstancesCommand)
|
|
22
|
+
.de(de_MoveCapacityReservationInstancesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -53,6 +53,7 @@ export * from "./ConfirmProductInstanceCommand";
|
|
|
53
53
|
export * from "./CopyFpgaImageCommand";
|
|
54
54
|
export * from "./CopyImageCommand";
|
|
55
55
|
export * from "./CopySnapshotCommand";
|
|
56
|
+
export * from "./CreateCapacityReservationBySplittingCommand";
|
|
56
57
|
export * from "./CreateCapacityReservationCommand";
|
|
57
58
|
export * from "./CreateCapacityReservationFleetCommand";
|
|
58
59
|
export * from "./CreateCarrierGatewayCommand";
|
|
@@ -556,6 +557,7 @@ export * from "./ModifyVpnTunnelOptionsCommand";
|
|
|
556
557
|
export * from "./MonitorInstancesCommand";
|
|
557
558
|
export * from "./MoveAddressToVpcCommand";
|
|
558
559
|
export * from "./MoveByoipCidrToIpamCommand";
|
|
560
|
+
export * from "./MoveCapacityReservationInstancesCommand";
|
|
559
561
|
export * from "./ProvisionByoipCidrCommand";
|
|
560
562
|
export * from "./ProvisionIpamByoasnCommand";
|
|
561
563
|
export * from "./ProvisionIpamPoolCidrCommand";
|
|
@@ -340,6 +340,15 @@ export const RouteTableAssociationStateCode = {
|
|
|
340
340
|
disassociating: "disassociating",
|
|
341
341
|
failed: "failed",
|
|
342
342
|
};
|
|
343
|
+
export const IpSource = {
|
|
344
|
+
amazon: "amazon",
|
|
345
|
+
byoip: "byoip",
|
|
346
|
+
none: "none",
|
|
347
|
+
};
|
|
348
|
+
export const Ipv6AddressAttribute = {
|
|
349
|
+
private: "private",
|
|
350
|
+
public: "public",
|
|
351
|
+
};
|
|
343
352
|
export const SubnetCidrBlockStateCode = {
|
|
344
353
|
associated: "associated",
|
|
345
354
|
associating: "associating",
|
|
@@ -1326,9 +1335,6 @@ export const _InstanceType = {
|
|
|
1326
1335
|
z1d_metal: "z1d.metal",
|
|
1327
1336
|
z1d_xlarge: "z1d.xlarge",
|
|
1328
1337
|
};
|
|
1329
|
-
export const FleetCapacityReservationTenancy = {
|
|
1330
|
-
default: "default",
|
|
1331
|
-
};
|
|
1332
1338
|
export const OidcOptionsFilterSensitiveLog = (obj) => ({
|
|
1333
1339
|
...obj,
|
|
1334
1340
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const FleetCapacityReservationTenancy = {
|
|
3
|
+
default: "default",
|
|
4
|
+
};
|
|
2
5
|
export const CarrierGatewayState = {
|
|
3
6
|
available: "available",
|
|
4
7
|
deleted: "deleted",
|
|
@@ -372,11 +375,6 @@ export const RuleAction = {
|
|
|
372
375
|
allow: "allow",
|
|
373
376
|
deny: "deny",
|
|
374
377
|
};
|
|
375
|
-
export const NetworkInterfaceCreationType = {
|
|
376
|
-
branch: "branch",
|
|
377
|
-
efa: "efa",
|
|
378
|
-
trunk: "trunk",
|
|
379
|
-
};
|
|
380
378
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
381
379
|
...obj,
|
|
382
380
|
...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const NetworkInterfaceCreationType = {
|
|
4
|
+
branch: "branch",
|
|
5
|
+
efa: "efa",
|
|
6
|
+
trunk: "trunk",
|
|
7
|
+
};
|
|
3
8
|
export const NetworkInterfaceType = {
|
|
4
9
|
api_gateway_managed: "api_gateway_managed",
|
|
5
10
|
aws_codestar_connections_managed: "aws_codestar_connections_managed",
|
|
@@ -184,23 +184,6 @@ export const DeviceType = {
|
|
|
184
184
|
ebs: "ebs",
|
|
185
185
|
instance_store: "instance-store",
|
|
186
186
|
};
|
|
187
|
-
export const ImageState = {
|
|
188
|
-
available: "available",
|
|
189
|
-
deregistered: "deregistered",
|
|
190
|
-
disabled: "disabled",
|
|
191
|
-
error: "error",
|
|
192
|
-
failed: "failed",
|
|
193
|
-
invalid: "invalid",
|
|
194
|
-
pending: "pending",
|
|
195
|
-
transient: "transient",
|
|
196
|
-
};
|
|
197
|
-
export const TpmSupportValues = {
|
|
198
|
-
v2_0: "v2.0",
|
|
199
|
-
};
|
|
200
|
-
export const VirtualizationType = {
|
|
201
|
-
hvm: "hvm",
|
|
202
|
-
paravirtual: "paravirtual",
|
|
203
|
-
};
|
|
204
187
|
export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) => ({
|
|
205
188
|
...obj,
|
|
206
189
|
...(obj.VerifiedAccessTrustProvider && {
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const ImageState = {
|
|
4
|
+
available: "available",
|
|
5
|
+
deregistered: "deregistered",
|
|
6
|
+
disabled: "disabled",
|
|
7
|
+
error: "error",
|
|
8
|
+
failed: "failed",
|
|
9
|
+
invalid: "invalid",
|
|
10
|
+
pending: "pending",
|
|
11
|
+
transient: "transient",
|
|
12
|
+
};
|
|
13
|
+
export const TpmSupportValues = {
|
|
14
|
+
v2_0: "v2.0",
|
|
15
|
+
};
|
|
16
|
+
export const VirtualizationType = {
|
|
17
|
+
hvm: "hvm",
|
|
18
|
+
paravirtual: "paravirtual",
|
|
19
|
+
};
|
|
3
20
|
export const InstanceAttributeName = {
|
|
4
21
|
blockDeviceMapping: "blockDeviceMapping",
|
|
5
22
|
disableApiStop: "disableApiStop",
|
|
@@ -259,10 +276,6 @@ export const OnDemandAllocationStrategy = {
|
|
|
259
276
|
LOWEST_PRICE: "lowestPrice",
|
|
260
277
|
PRIORITIZED: "prioritized",
|
|
261
278
|
};
|
|
262
|
-
export const ReplacementStrategy = {
|
|
263
|
-
LAUNCH: "launch",
|
|
264
|
-
LAUNCH_BEFORE_TERMINATE: "launch-before-terminate",
|
|
265
|
-
};
|
|
266
279
|
export const SnapshotDetailFilterSensitiveLog = (obj) => ({
|
|
267
280
|
...obj,
|
|
268
281
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
@@ -300,9 +313,3 @@ export const SpotFleetLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
|
300
313
|
...obj,
|
|
301
314
|
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
302
315
|
});
|
|
303
|
-
export const SpotFleetRequestConfigDataFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.LaunchSpecifications && {
|
|
306
|
-
LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item)),
|
|
307
|
-
}),
|
|
308
|
-
});
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
|
-
import {
|
|
4
|
+
import { SpotFleetLaunchSpecificationFilterSensitiveLog, } from "./models_4";
|
|
5
|
+
export const ReplacementStrategy = {
|
|
6
|
+
LAUNCH: "launch",
|
|
7
|
+
LAUNCH_BEFORE_TERMINATE: "launch-before-terminate",
|
|
8
|
+
};
|
|
5
9
|
export const SpotInstanceState = {
|
|
6
10
|
active: "active",
|
|
7
11
|
cancelled: "cancelled",
|
|
@@ -71,14 +75,12 @@ export const PartitionLoadFrequency = {
|
|
|
71
75
|
NONE: "none",
|
|
72
76
|
WEEKLY: "weekly",
|
|
73
77
|
};
|
|
74
|
-
export const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
RSA_2048: "rsa-2048",
|
|
81
|
-
};
|
|
78
|
+
export const SpotFleetRequestConfigDataFilterSensitiveLog = (obj) => ({
|
|
79
|
+
...obj,
|
|
80
|
+
...(obj.LaunchSpecifications && {
|
|
81
|
+
LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item)),
|
|
82
|
+
}),
|
|
83
|
+
});
|
|
82
84
|
export const SpotFleetRequestConfigFilterSensitiveLog = (obj) => ({
|
|
83
85
|
...obj,
|
|
84
86
|
...(obj.SpotFleetRequestConfig && {
|
|
@@ -4,6 +4,14 @@ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
|
|
|
4
4
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
5
5
|
import { ConversionTaskFilterSensitiveLog, } from "./models_3";
|
|
6
6
|
import { SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
|
|
7
|
+
export const EkPubKeyFormat = {
|
|
8
|
+
der: "der",
|
|
9
|
+
tpmt: "tpmt",
|
|
10
|
+
};
|
|
11
|
+
export const EkPubKeyType = {
|
|
12
|
+
ECC_SEC_P384: "ecc-sec-p384",
|
|
13
|
+
RSA_2048: "rsa-2048",
|
|
14
|
+
};
|
|
7
15
|
export const IpamComplianceStatus = {
|
|
8
16
|
compliant: "compliant",
|
|
9
17
|
ignored: "ignored",
|
|
@@ -49,6 +57,11 @@ export const IpamPublicAddressAwsService = {
|
|
|
49
57
|
REDSHIFT: "redshift",
|
|
50
58
|
S2S_VPN: "site-to-site-vpn",
|
|
51
59
|
};
|
|
60
|
+
export const IpamResourceCidrIpSource = {
|
|
61
|
+
amazon: "amazon",
|
|
62
|
+
byoip: "byoip",
|
|
63
|
+
none: "none",
|
|
64
|
+
};
|
|
52
65
|
export const IpamNetworkInterfaceAttachmentStatus = {
|
|
53
66
|
available: "available",
|
|
54
67
|
in_use: "in-use",
|
|
@@ -225,19 +238,3 @@ export const ModifyVpnConnectionOptionsResultFilterSensitiveLog = (obj) => ({
|
|
|
225
238
|
...obj,
|
|
226
239
|
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
227
240
|
});
|
|
228
|
-
export const ModifyVpnTunnelCertificateResultFilterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
231
|
-
});
|
|
232
|
-
export const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
|
|
233
|
-
...obj,
|
|
234
|
-
...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
|
|
235
|
-
});
|
|
236
|
-
export const ModifyVpnTunnelOptionsRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
...(obj.TunnelOptions && { TunnelOptions: SENSITIVE_STRING }),
|
|
239
|
-
});
|
|
240
|
-
export const ModifyVpnTunnelOptionsResultFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
243
|
-
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
import { SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
|
|
2
|
+
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
|
|
4
4
|
export const Status = {
|
|
5
5
|
inClassic: "InClassic",
|
|
6
6
|
inVpc: "InVpc",
|
|
@@ -35,6 +35,22 @@ export const MembershipType = {
|
|
|
35
35
|
igmp: "igmp",
|
|
36
36
|
static: "static",
|
|
37
37
|
};
|
|
38
|
+
export const ModifyVpnTunnelCertificateResultFilterSensitiveLog = (obj) => ({
|
|
39
|
+
...obj,
|
|
40
|
+
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
41
|
+
});
|
|
42
|
+
export const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
|
|
43
|
+
...obj,
|
|
44
|
+
...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
|
|
45
|
+
});
|
|
46
|
+
export const ModifyVpnTunnelOptionsRequestFilterSensitiveLog = (obj) => ({
|
|
47
|
+
...obj,
|
|
48
|
+
...(obj.TunnelOptions && { TunnelOptions: SENSITIVE_STRING }),
|
|
49
|
+
});
|
|
50
|
+
export const ModifyVpnTunnelOptionsResultFilterSensitiveLog = (obj) => ({
|
|
51
|
+
...obj,
|
|
52
|
+
...(obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) }),
|
|
53
|
+
});
|
|
38
54
|
export const RequestSpotFleetRequestFilterSensitiveLog = (obj) => ({
|
|
39
55
|
...obj,
|
|
40
56
|
...(obj.SpotFleetRequestConfig && {
|