@aws-sdk/client-ec2 3.261.0 → 3.262.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/EC2.js +60 -0
- package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
- package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
- package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
- package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
- package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
- package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
- package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
- package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
- package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
- package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
- package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
- package/dist-cjs/commands/RunInstancesCommand.js +2 -2
- package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
- package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
- package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
- package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +37 -34
- package/dist-cjs/models/models_1.js +34 -33
- package/dist-cjs/models/models_2.js +29 -26
- package/dist-cjs/models/models_3.js +26 -30
- package/dist-cjs/models/models_4.js +30 -30
- package/dist-cjs/models/models_5.js +38 -34
- package/dist-cjs/models/models_6.js +34 -34
- package/dist-cjs/models/models_7.js +37 -1
- package/dist-cjs/protocols/Aws_ec2.js +551 -161
- package/dist-es/EC2.js +60 -0
- package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
- package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
- package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
- package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
- package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
- package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
- package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
- package/dist-es/commands/DescribeInstancesCommand.js +2 -1
- package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
- package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
- package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
- package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
- package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
- package/dist-es/commands/RunInstancesCommand.js +1 -1
- package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
- package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
- package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
- package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
- package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +26 -24
- package/dist-es/models/models_1.js +24 -23
- package/dist-es/models/models_2.js +20 -15
- package/dist-es/models/models_3.js +15 -20
- package/dist-es/models/models_4.js +20 -21
- package/dist-es/models/models_5.js +27 -21
- package/dist-es/models/models_6.js +21 -21
- package/dist-es/models/models_7.js +27 -0
- package/dist-es/protocols/Aws_ec2.js +520 -138
- package/dist-types/EC2.d.ts +43 -0
- package/dist-types/EC2Client.d.ts +6 -2
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
- package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +125 -226
- package/dist-types/models/models_1.d.ts +228 -163
- package/dist-types/models/models_2.d.ts +150 -70
- package/dist-types/models/models_3.d.ts +67 -205
- package/dist-types/models/models_4.d.ts +205 -78
- package/dist-types/models/models_5.d.ts +117 -170
- package/dist-types/models/models_6.d.ts +170 -127
- package/dist-types/models/models_7.d.ts +167 -2
- package/dist-types/protocols/Aws_ec2.d.ts +12 -0
- package/dist-types/ts3.4/EC2.d.ts +68 -0
- package/dist-types/ts3.4/EC2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -59
- package/dist-types/ts3.4/models/models_1.d.ts +68 -53
- package/dist-types/ts3.4/models/models_2.d.ts +46 -35
- package/dist-types/ts3.4/models/models_3.d.ts +36 -46
- package/dist-types/ts3.4/models/models_4.d.ts +46 -38
- package/dist-types/ts3.4/models/models_5.d.ts +61 -57
- package/dist-types/ts3.4/models/models_6.d.ts +58 -54
- package/dist-types/ts3.4/models/models_7.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
- package/package.json +2 -2
package/dist-es/EC2.js
CHANGED
|
@@ -12,6 +12,7 @@ import { AllocateIpamPoolCidrCommand, } from "./commands/AllocateIpamPoolCidrCom
|
|
|
12
12
|
import { ApplySecurityGroupsToClientVpnTargetNetworkCommand, } from "./commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand";
|
|
13
13
|
import { AssignIpv6AddressesCommand, } from "./commands/AssignIpv6AddressesCommand";
|
|
14
14
|
import { AssignPrivateIpAddressesCommand, } from "./commands/AssignPrivateIpAddressesCommand";
|
|
15
|
+
import { AssignPrivateNatGatewayAddressCommand, } from "./commands/AssignPrivateNatGatewayAddressCommand";
|
|
15
16
|
import { AssociateAddressCommand, } from "./commands/AssociateAddressCommand";
|
|
16
17
|
import { AssociateClientVpnTargetNetworkCommand, } from "./commands/AssociateClientVpnTargetNetworkCommand";
|
|
17
18
|
import { AssociateDhcpOptionsCommand, } from "./commands/AssociateDhcpOptionsCommand";
|
|
@@ -19,6 +20,7 @@ import { AssociateEnclaveCertificateIamRoleCommand, } from "./commands/Associate
|
|
|
19
20
|
import { AssociateIamInstanceProfileCommand, } from "./commands/AssociateIamInstanceProfileCommand";
|
|
20
21
|
import { AssociateInstanceEventWindowCommand, } from "./commands/AssociateInstanceEventWindowCommand";
|
|
21
22
|
import { AssociateIpamResourceDiscoveryCommand, } from "./commands/AssociateIpamResourceDiscoveryCommand";
|
|
23
|
+
import { AssociateNatGatewayAddressCommand, } from "./commands/AssociateNatGatewayAddressCommand";
|
|
22
24
|
import { AssociateRouteTableCommand, } from "./commands/AssociateRouteTableCommand";
|
|
23
25
|
import { AssociateSubnetCidrBlockCommand, } from "./commands/AssociateSubnetCidrBlockCommand";
|
|
24
26
|
import { AssociateTransitGatewayMulticastDomainCommand, } from "./commands/AssociateTransitGatewayMulticastDomainCommand";
|
|
@@ -379,6 +381,7 @@ import { DisassociateEnclaveCertificateIamRoleCommand, } from "./commands/Disass
|
|
|
379
381
|
import { DisassociateIamInstanceProfileCommand, } from "./commands/DisassociateIamInstanceProfileCommand";
|
|
380
382
|
import { DisassociateInstanceEventWindowCommand, } from "./commands/DisassociateInstanceEventWindowCommand";
|
|
381
383
|
import { DisassociateIpamResourceDiscoveryCommand, } from "./commands/DisassociateIpamResourceDiscoveryCommand";
|
|
384
|
+
import { DisassociateNatGatewayAddressCommand, } from "./commands/DisassociateNatGatewayAddressCommand";
|
|
382
385
|
import { DisassociateRouteTableCommand, } from "./commands/DisassociateRouteTableCommand";
|
|
383
386
|
import { DisassociateSubnetCidrBlockCommand, } from "./commands/DisassociateSubnetCidrBlockCommand";
|
|
384
387
|
import { DisassociateTransitGatewayMulticastDomainCommand, } from "./commands/DisassociateTransitGatewayMulticastDomainCommand";
|
|
@@ -579,6 +582,7 @@ import { TerminateClientVpnConnectionsCommand, } from "./commands/TerminateClien
|
|
|
579
582
|
import { TerminateInstancesCommand, } from "./commands/TerminateInstancesCommand";
|
|
580
583
|
import { UnassignIpv6AddressesCommand, } from "./commands/UnassignIpv6AddressesCommand";
|
|
581
584
|
import { UnassignPrivateIpAddressesCommand, } from "./commands/UnassignPrivateIpAddressesCommand";
|
|
585
|
+
import { UnassignPrivateNatGatewayAddressCommand, } from "./commands/UnassignPrivateNatGatewayAddressCommand";
|
|
582
586
|
import { UnmonitorInstancesCommand, } from "./commands/UnmonitorInstancesCommand";
|
|
583
587
|
import { UpdateSecurityGroupRuleDescriptionsEgressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
584
588
|
import { UpdateSecurityGroupRuleDescriptionsIngressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
@@ -781,6 +785,20 @@ export class EC2 extends EC2Client {
|
|
|
781
785
|
return this.send(command, optionsOrCb);
|
|
782
786
|
}
|
|
783
787
|
}
|
|
788
|
+
assignPrivateNatGatewayAddress(args, optionsOrCb, cb) {
|
|
789
|
+
const command = new AssignPrivateNatGatewayAddressCommand(args);
|
|
790
|
+
if (typeof optionsOrCb === "function") {
|
|
791
|
+
this.send(command, optionsOrCb);
|
|
792
|
+
}
|
|
793
|
+
else if (typeof cb === "function") {
|
|
794
|
+
if (typeof optionsOrCb !== "object")
|
|
795
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
796
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
797
|
+
}
|
|
798
|
+
else {
|
|
799
|
+
return this.send(command, optionsOrCb);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
784
802
|
associateAddress(args, optionsOrCb, cb) {
|
|
785
803
|
const command = new AssociateAddressCommand(args);
|
|
786
804
|
if (typeof optionsOrCb === "function") {
|
|
@@ -879,6 +897,20 @@ export class EC2 extends EC2Client {
|
|
|
879
897
|
return this.send(command, optionsOrCb);
|
|
880
898
|
}
|
|
881
899
|
}
|
|
900
|
+
associateNatGatewayAddress(args, optionsOrCb, cb) {
|
|
901
|
+
const command = new AssociateNatGatewayAddressCommand(args);
|
|
902
|
+
if (typeof optionsOrCb === "function") {
|
|
903
|
+
this.send(command, optionsOrCb);
|
|
904
|
+
}
|
|
905
|
+
else if (typeof cb === "function") {
|
|
906
|
+
if (typeof optionsOrCb !== "object")
|
|
907
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
908
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
909
|
+
}
|
|
910
|
+
else {
|
|
911
|
+
return this.send(command, optionsOrCb);
|
|
912
|
+
}
|
|
913
|
+
}
|
|
882
914
|
associateRouteTable(args, optionsOrCb, cb) {
|
|
883
915
|
const command = new AssociateRouteTableCommand(args);
|
|
884
916
|
if (typeof optionsOrCb === "function") {
|
|
@@ -5919,6 +5951,20 @@ export class EC2 extends EC2Client {
|
|
|
5919
5951
|
return this.send(command, optionsOrCb);
|
|
5920
5952
|
}
|
|
5921
5953
|
}
|
|
5954
|
+
disassociateNatGatewayAddress(args, optionsOrCb, cb) {
|
|
5955
|
+
const command = new DisassociateNatGatewayAddressCommand(args);
|
|
5956
|
+
if (typeof optionsOrCb === "function") {
|
|
5957
|
+
this.send(command, optionsOrCb);
|
|
5958
|
+
}
|
|
5959
|
+
else if (typeof cb === "function") {
|
|
5960
|
+
if (typeof optionsOrCb !== "object")
|
|
5961
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
5962
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
5963
|
+
}
|
|
5964
|
+
else {
|
|
5965
|
+
return this.send(command, optionsOrCb);
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5922
5968
|
disassociateRouteTable(args, optionsOrCb, cb) {
|
|
5923
5969
|
const command = new DisassociateRouteTableCommand(args);
|
|
5924
5970
|
if (typeof optionsOrCb === "function") {
|
|
@@ -8719,6 +8765,20 @@ export class EC2 extends EC2Client {
|
|
|
8719
8765
|
return this.send(command, optionsOrCb);
|
|
8720
8766
|
}
|
|
8721
8767
|
}
|
|
8768
|
+
unassignPrivateNatGatewayAddress(args, optionsOrCb, cb) {
|
|
8769
|
+
const command = new UnassignPrivateNatGatewayAddressCommand(args);
|
|
8770
|
+
if (typeof optionsOrCb === "function") {
|
|
8771
|
+
this.send(command, optionsOrCb);
|
|
8772
|
+
}
|
|
8773
|
+
else if (typeof cb === "function") {
|
|
8774
|
+
if (typeof optionsOrCb !== "object")
|
|
8775
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
8776
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
8777
|
+
}
|
|
8778
|
+
else {
|
|
8779
|
+
return this.send(command, optionsOrCb);
|
|
8780
|
+
}
|
|
8781
|
+
}
|
|
8722
8782
|
unmonitorInstances(args, optionsOrCb, cb) {
|
|
8723
8783
|
const command = new UnmonitorInstancesCommand(args);
|
|
8724
8784
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssignPrivateNatGatewayAddressRequestFilterSensitiveLog, AssignPrivateNatGatewayAddressResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_ec2AssignPrivateNatGatewayAddressCommand, serializeAws_ec2AssignPrivateNatGatewayAddressCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class AssignPrivateNatGatewayAddressCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssignPrivateNatGatewayAddressCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "AssignPrivateNatGatewayAddressCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: AssignPrivateNatGatewayAddressRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: AssignPrivateNatGatewayAddressResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2AssignPrivateNatGatewayAddressCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2AssignPrivateNatGatewayAddressCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssociateNatGatewayAddressRequestFilterSensitiveLog, AssociateNatGatewayAddressResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_ec2AssociateNatGatewayAddressCommand, serializeAws_ec2AssociateNatGatewayAddressCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class AssociateNatGatewayAddressCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateNatGatewayAddressCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "AssociateNatGatewayAddressCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: AssociateNatGatewayAddressRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: AssociateNatGatewayAddressResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2AssociateNatGatewayAddressCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2AssociateNatGatewayAddressCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateClientVpnEndpointRequestFilterSensitiveLog, CreateClientVpnEndpointResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { CreateClientVpnEndpointRequestFilterSensitiveLog, CreateClientVpnEndpointResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_ec2CreateClientVpnEndpointCommand, serializeAws_ec2CreateClientVpnEndpointCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class CreateClientVpnEndpointCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateClientVpnRouteRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { CreateClientVpnRouteResultFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { CreateClientVpnRouteRequestFilterSensitiveLog, CreateClientVpnRouteResultFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_ec2CreateClientVpnRouteCommand, serializeAws_ec2CreateClientVpnRouteCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class CreateClientVpnRouteCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteTrafficMirrorTargetRequestFilterSensitiveLog, DeleteTrafficMirrorTargetResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTrafficMirrorTargetRequestFilterSensitiveLog, DeleteTrafficMirrorTargetResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTrafficMirrorTargetCommand, serializeAws_ec2DeleteTrafficMirrorTargetCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTrafficMirrorTargetCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteTransitGatewayRequestFilterSensitiveLog, DeleteTransitGatewayResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DeleteTransitGatewayRequestFilterSensitiveLog, DeleteTransitGatewayResultFilterSensitiveLog, } from "../models/models_3";
|
|
5
5
|
import { deserializeAws_ec2DeleteTransitGatewayCommand, serializeAws_ec2DeleteTransitGatewayCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class DeleteTransitGatewayCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteTransitGatewayConnectRequestFilterSensitiveLog, } from "../models/
|
|
5
|
-
import { DeleteTransitGatewayConnectResultFilterSensitiveLog, } from "../models/models_3";
|
|
4
|
+
import { DeleteTransitGatewayConnectRequestFilterSensitiveLog, DeleteTransitGatewayConnectResultFilterSensitiveLog, } from "../models/models_3";
|
|
6
5
|
import { deserializeAws_ec2DeleteTransitGatewayConnectCommand, serializeAws_ec2DeleteTransitGatewayConnectCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class DeleteTransitGatewayConnectCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeInstanceStatusRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { DescribeInstanceStatusResultFilterSensitiveLog } from "../models/models_4";
|
|
4
|
+
import { DescribeInstanceStatusRequestFilterSensitiveLog, DescribeInstanceStatusResultFilterSensitiveLog, } from "../models/models_4";
|
|
6
5
|
import { deserializeAws_ec2DescribeInstanceStatusCommand, serializeAws_ec2DescribeInstanceStatusCommand, } from "../protocols/Aws_ec2";
|
|
7
6
|
export class DescribeInstanceStatusCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeInstancesRequestFilterSensitiveLog
|
|
4
|
+
import { DescribeInstancesRequestFilterSensitiveLog } from "../models/models_3";
|
|
5
|
+
import { DescribeInstancesResultFilterSensitiveLog } from "../models/models_4";
|
|
5
6
|
import { deserializeAws_ec2DescribeInstancesCommand, serializeAws_ec2DescribeInstancesCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DescribeInstancesCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeVolumeStatusRequestFilterSensitiveLog
|
|
4
|
+
import { DescribeVolumeStatusRequestFilterSensitiveLog } from "../models/models_4";
|
|
5
|
+
import { DescribeVolumeStatusResultFilterSensitiveLog } from "../models/models_5";
|
|
5
6
|
import { deserializeAws_ec2DescribeVolumeStatusCommand, serializeAws_ec2DescribeVolumeStatusCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class DescribeVolumeStatusCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisassociateNatGatewayAddressRequestFilterSensitiveLog, DisassociateNatGatewayAddressResultFilterSensitiveLog, } from "../models/models_5";
|
|
5
|
+
import { deserializeAws_ec2DisassociateNatGatewayAddressCommand, serializeAws_ec2DisassociateNatGatewayAddressCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class DisassociateNatGatewayAddressCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateNatGatewayAddressCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "DisassociateNatGatewayAddressCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DisassociateNatGatewayAddressRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DisassociateNatGatewayAddressResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2DisassociateNatGatewayAddressCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2DisassociateNatGatewayAddressCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ModifyAvailabilityZoneGroupRequestFilterSensitiveLog, ModifyAvailabilityZoneGroupResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyAvailabilityZoneGroupRequestFilterSensitiveLog, ModifyAvailabilityZoneGroupResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyAvailabilityZoneGroupCommand, serializeAws_ec2ModifyAvailabilityZoneGroupCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyAvailabilityZoneGroupCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ModifyCapacityReservationRequestFilterSensitiveLog, ModifyCapacityReservationResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyCapacityReservationRequestFilterSensitiveLog, ModifyCapacityReservationResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyCapacityReservationCommand, serializeAws_ec2ModifyCapacityReservationCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyCapacityReservationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ModifyCapacityReservationFleetRequestFilterSensitiveLog, ModifyCapacityReservationFleetResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ModifyCapacityReservationFleetRequestFilterSensitiveLog, ModifyCapacityReservationFleetResultFilterSensitiveLog, } from "../models/models_6";
|
|
5
5
|
import { deserializeAws_ec2ModifyCapacityReservationFleetCommand, serializeAws_ec2ModifyCapacityReservationFleetCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class ModifyCapacityReservationFleetCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ReservationFilterSensitiveLog } from "../models/
|
|
4
|
+
import { ReservationFilterSensitiveLog } from "../models/models_4";
|
|
5
5
|
import { RunInstancesRequestFilterSensitiveLog } from "../models/models_6";
|
|
6
6
|
import { deserializeAws_ec2RunInstancesCommand, serializeAws_ec2RunInstancesCommand } from "../protocols/Aws_ec2";
|
|
7
7
|
export class RunInstancesCommand extends $Command {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UnassignIpv6AddressesRequestFilterSensitiveLog
|
|
4
|
+
import { UnassignIpv6AddressesRequestFilterSensitiveLog } from "../models/models_6";
|
|
5
|
+
import { UnassignIpv6AddressesResultFilterSensitiveLog } from "../models/models_7";
|
|
5
6
|
import { deserializeAws_ec2UnassignIpv6AddressesCommand, serializeAws_ec2UnassignIpv6AddressesCommand, } from "../protocols/Aws_ec2";
|
|
6
7
|
export class UnassignIpv6AddressesCommand extends $Command {
|
|
7
8
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UnassignPrivateIpAddressesRequestFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UnassignPrivateIpAddressesRequestFilterSensitiveLog, } from "../models/models_7";
|
|
5
5
|
import { deserializeAws_ec2UnassignPrivateIpAddressesCommand, serializeAws_ec2UnassignPrivateIpAddressesCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class UnassignPrivateIpAddressesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UnassignPrivateNatGatewayAddressRequestFilterSensitiveLog, UnassignPrivateNatGatewayAddressResultFilterSensitiveLog, } from "../models/models_7";
|
|
5
|
+
import { deserializeAws_ec2UnassignPrivateNatGatewayAddressCommand, serializeAws_ec2UnassignPrivateNatGatewayAddressCommand, } from "../protocols/Aws_ec2";
|
|
6
|
+
export class UnassignPrivateNatGatewayAddressCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UnassignPrivateNatGatewayAddressCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "EC2Client";
|
|
25
|
+
const commandName = "UnassignPrivateNatGatewayAddressCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UnassignPrivateNatGatewayAddressRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UnassignPrivateNatGatewayAddressResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_ec2UnassignPrivateNatGatewayAddressCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_ec2UnassignPrivateNatGatewayAddressCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UnmonitorInstancesRequestFilterSensitiveLog, UnmonitorInstancesResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UnmonitorInstancesRequestFilterSensitiveLog, UnmonitorInstancesResultFilterSensitiveLog, } from "../models/models_7";
|
|
5
5
|
import { deserializeAws_ec2UnmonitorInstancesCommand, serializeAws_ec2UnmonitorInstancesCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class UnmonitorInstancesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog, UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog, UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog, } from "../models/models_7";
|
|
5
5
|
import { deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand, serializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand, } from "../protocols/Aws_ec2";
|
|
6
6
|
export class UpdateSecurityGroupRuleDescriptionsEgressCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -12,6 +12,7 @@ export * from "./AllocateIpamPoolCidrCommand";
|
|
|
12
12
|
export * from "./ApplySecurityGroupsToClientVpnTargetNetworkCommand";
|
|
13
13
|
export * from "./AssignIpv6AddressesCommand";
|
|
14
14
|
export * from "./AssignPrivateIpAddressesCommand";
|
|
15
|
+
export * from "./AssignPrivateNatGatewayAddressCommand";
|
|
15
16
|
export * from "./AssociateAddressCommand";
|
|
16
17
|
export * from "./AssociateClientVpnTargetNetworkCommand";
|
|
17
18
|
export * from "./AssociateDhcpOptionsCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./AssociateEnclaveCertificateIamRoleCommand";
|
|
|
19
20
|
export * from "./AssociateIamInstanceProfileCommand";
|
|
20
21
|
export * from "./AssociateInstanceEventWindowCommand";
|
|
21
22
|
export * from "./AssociateIpamResourceDiscoveryCommand";
|
|
23
|
+
export * from "./AssociateNatGatewayAddressCommand";
|
|
22
24
|
export * from "./AssociateRouteTableCommand";
|
|
23
25
|
export * from "./AssociateSubnetCidrBlockCommand";
|
|
24
26
|
export * from "./AssociateTransitGatewayMulticastDomainCommand";
|
|
@@ -379,6 +381,7 @@ export * from "./DisassociateEnclaveCertificateIamRoleCommand";
|
|
|
379
381
|
export * from "./DisassociateIamInstanceProfileCommand";
|
|
380
382
|
export * from "./DisassociateInstanceEventWindowCommand";
|
|
381
383
|
export * from "./DisassociateIpamResourceDiscoveryCommand";
|
|
384
|
+
export * from "./DisassociateNatGatewayAddressCommand";
|
|
382
385
|
export * from "./DisassociateRouteTableCommand";
|
|
383
386
|
export * from "./DisassociateSubnetCidrBlockCommand";
|
|
384
387
|
export * from "./DisassociateTransitGatewayMulticastDomainCommand";
|
|
@@ -579,6 +582,7 @@ export * from "./TerminateClientVpnConnectionsCommand";
|
|
|
579
582
|
export * from "./TerminateInstancesCommand";
|
|
580
583
|
export * from "./UnassignIpv6AddressesCommand";
|
|
581
584
|
export * from "./UnassignPrivateIpAddressesCommand";
|
|
585
|
+
export * from "./UnassignPrivateNatGatewayAddressCommand";
|
|
582
586
|
export * from "./UnmonitorInstancesCommand";
|
|
583
587
|
export * from "./UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
584
588
|
export * from "./UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
1
2
|
export var AcceleratorManufacturer;
|
|
2
3
|
(function (AcceleratorManufacturer) {
|
|
3
4
|
AcceleratorManufacturer["AMAZON_WEB_SERVICES"] = "amazon-web-services";
|
|
@@ -288,6 +289,15 @@ export var AllowsMultipleInstanceTypes;
|
|
|
288
289
|
AllowsMultipleInstanceTypes["off"] = "off";
|
|
289
290
|
AllowsMultipleInstanceTypes["on"] = "on";
|
|
290
291
|
})(AllowsMultipleInstanceTypes || (AllowsMultipleInstanceTypes = {}));
|
|
292
|
+
export var NatGatewayAddressStatus;
|
|
293
|
+
(function (NatGatewayAddressStatus) {
|
|
294
|
+
NatGatewayAddressStatus["ASSIGNING"] = "assigning";
|
|
295
|
+
NatGatewayAddressStatus["ASSOCIATING"] = "associating";
|
|
296
|
+
NatGatewayAddressStatus["DISASSOCIATING"] = "disassociating";
|
|
297
|
+
NatGatewayAddressStatus["FAILED"] = "failed";
|
|
298
|
+
NatGatewayAddressStatus["SUCCEEDED"] = "succeeded";
|
|
299
|
+
NatGatewayAddressStatus["UNASSIGNING"] = "unassigning";
|
|
300
|
+
})(NatGatewayAddressStatus || (NatGatewayAddressStatus = {}));
|
|
291
301
|
export var AssociationStatusCode;
|
|
292
302
|
(function (AssociationStatusCode) {
|
|
293
303
|
AssociationStatusCode["associated"] = "associated";
|
|
@@ -1168,18 +1178,6 @@ export var SelfServicePortal;
|
|
|
1168
1178
|
SelfServicePortal["disabled"] = "disabled";
|
|
1169
1179
|
SelfServicePortal["enabled"] = "enabled";
|
|
1170
1180
|
})(SelfServicePortal || (SelfServicePortal = {}));
|
|
1171
|
-
export var TransportProtocol;
|
|
1172
|
-
(function (TransportProtocol) {
|
|
1173
|
-
TransportProtocol["tcp"] = "tcp";
|
|
1174
|
-
TransportProtocol["udp"] = "udp";
|
|
1175
|
-
})(TransportProtocol || (TransportProtocol = {}));
|
|
1176
|
-
export var ClientVpnEndpointStatusCode;
|
|
1177
|
-
(function (ClientVpnEndpointStatusCode) {
|
|
1178
|
-
ClientVpnEndpointStatusCode["available"] = "available";
|
|
1179
|
-
ClientVpnEndpointStatusCode["deleted"] = "deleted";
|
|
1180
|
-
ClientVpnEndpointStatusCode["deleting"] = "deleting";
|
|
1181
|
-
ClientVpnEndpointStatusCode["pending_associate"] = "pending-associate";
|
|
1182
|
-
})(ClientVpnEndpointStatusCode || (ClientVpnEndpointStatusCode = {}));
|
|
1183
1181
|
export const AcceleratorCountFilterSensitiveLog = (obj) => ({
|
|
1184
1182
|
...obj,
|
|
1185
1183
|
});
|
|
@@ -1450,6 +1448,15 @@ export const AssignedPrivateIpAddressFilterSensitiveLog = (obj) => ({
|
|
|
1450
1448
|
export const AssignPrivateIpAddressesResultFilterSensitiveLog = (obj) => ({
|
|
1451
1449
|
...obj,
|
|
1452
1450
|
});
|
|
1451
|
+
export const AssignPrivateNatGatewayAddressRequestFilterSensitiveLog = (obj) => ({
|
|
1452
|
+
...obj,
|
|
1453
|
+
});
|
|
1454
|
+
export const NatGatewayAddressFilterSensitiveLog = (obj) => ({
|
|
1455
|
+
...obj,
|
|
1456
|
+
});
|
|
1457
|
+
export const AssignPrivateNatGatewayAddressResultFilterSensitiveLog = (obj) => ({
|
|
1458
|
+
...obj,
|
|
1459
|
+
});
|
|
1453
1460
|
export const AssociateAddressRequestFilterSensitiveLog = (obj) => ({
|
|
1454
1461
|
...obj,
|
|
1455
1462
|
});
|
|
@@ -1516,6 +1523,12 @@ export const IpamResourceDiscoveryAssociationFilterSensitiveLog = (obj) => ({
|
|
|
1516
1523
|
export const AssociateIpamResourceDiscoveryResultFilterSensitiveLog = (obj) => ({
|
|
1517
1524
|
...obj,
|
|
1518
1525
|
});
|
|
1526
|
+
export const AssociateNatGatewayAddressRequestFilterSensitiveLog = (obj) => ({
|
|
1527
|
+
...obj,
|
|
1528
|
+
});
|
|
1529
|
+
export const AssociateNatGatewayAddressResultFilterSensitiveLog = (obj) => ({
|
|
1530
|
+
...obj,
|
|
1531
|
+
});
|
|
1519
1532
|
export const AssociateRouteTableRequestFilterSensitiveLog = (obj) => ({
|
|
1520
1533
|
...obj,
|
|
1521
1534
|
});
|
|
@@ -1806,6 +1819,7 @@ export const CopyImageResultFilterSensitiveLog = (obj) => ({
|
|
|
1806
1819
|
});
|
|
1807
1820
|
export const CopySnapshotRequestFilterSensitiveLog = (obj) => ({
|
|
1808
1821
|
...obj,
|
|
1822
|
+
...(obj.PresignedUrl && { PresignedUrl: SENSITIVE_STRING }),
|
|
1809
1823
|
});
|
|
1810
1824
|
export const CopySnapshotResultFilterSensitiveLog = (obj) => ({
|
|
1811
1825
|
...obj,
|
|
@@ -1864,15 +1878,3 @@ export const ClientLoginBannerOptionsFilterSensitiveLog = (obj) => ({
|
|
|
1864
1878
|
export const ConnectionLogOptionsFilterSensitiveLog = (obj) => ({
|
|
1865
1879
|
...obj,
|
|
1866
1880
|
});
|
|
1867
|
-
export const CreateClientVpnEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
1868
|
-
...obj,
|
|
1869
|
-
});
|
|
1870
|
-
export const ClientVpnEndpointStatusFilterSensitiveLog = (obj) => ({
|
|
1871
|
-
...obj,
|
|
1872
|
-
});
|
|
1873
|
-
export const CreateClientVpnEndpointResultFilterSensitiveLog = (obj) => ({
|
|
1874
|
-
...obj,
|
|
1875
|
-
});
|
|
1876
|
-
export const CreateClientVpnRouteRequestFilterSensitiveLog = (obj) => ({
|
|
1877
|
-
...obj,
|
|
1878
|
-
});
|