@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.
Files changed (127) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +551 -161
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +520 -138
  63. package/dist-types/EC2.d.ts +43 -0
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  67. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  69. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  72. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  73. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  74. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  75. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  76. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  79. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  80. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  81. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  82. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  83. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +4 -0
  86. package/dist-types/models/models_0.d.ts +125 -226
  87. package/dist-types/models/models_1.d.ts +228 -163
  88. package/dist-types/models/models_2.d.ts +150 -70
  89. package/dist-types/models/models_3.d.ts +67 -205
  90. package/dist-types/models/models_4.d.ts +205 -78
  91. package/dist-types/models/models_5.d.ts +117 -170
  92. package/dist-types/models/models_6.d.ts +170 -127
  93. package/dist-types/models/models_7.d.ts +167 -2
  94. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  95. package/dist-types/ts3.4/EC2.d.ts +68 -0
  96. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  97. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  104. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  106. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +53 -59
  119. package/dist-types/ts3.4/models/models_1.d.ts +68 -53
  120. package/dist-types/ts3.4/models/models_2.d.ts +46 -35
  121. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  122. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  123. package/dist-types/ts3.4/models/models_5.d.ts +61 -57
  124. package/dist-types/ts3.4/models/models_6.d.ts +58 -54
  125. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  126. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  127. package/package.json +2 -2
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { ModifyCapacityReservationRequest, ModifyCapacityReservationResult } from "../models/models_5";
5
+ import { ModifyCapacityReservationRequest, ModifyCapacityReservationResult } from "../models/models_6";
6
6
  export interface ModifyCapacityReservationCommandInput extends ModifyCapacityReservationRequest {
7
7
  }
8
8
  export interface ModifyCapacityReservationCommandOutput extends ModifyCapacityReservationResult, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { ModifyCapacityReservationFleetRequest, ModifyCapacityReservationFleetResult } from "../models/models_5";
5
+ import { ModifyCapacityReservationFleetRequest, ModifyCapacityReservationFleetResult } from "../models/models_6";
6
6
  export interface ModifyCapacityReservationFleetCommandInput extends ModifyCapacityReservationFleetRequest {
7
7
  }
8
8
  export interface ModifyCapacityReservationFleetCommandOutput extends ModifyCapacityReservationFleetResult, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { Reservation } from "../models/models_3";
5
+ import { Reservation } from "../models/models_4";
6
6
  import { RunInstancesRequest } from "../models/models_6";
7
7
  export interface RunInstancesCommandInput extends RunInstancesRequest {
8
8
  }
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { UnassignIpv6AddressesRequest, UnassignIpv6AddressesResult } from "../models/models_6";
5
+ import { UnassignIpv6AddressesRequest } from "../models/models_6";
6
+ import { UnassignIpv6AddressesResult } from "../models/models_7";
6
7
  export interface UnassignIpv6AddressesCommandInput extends UnassignIpv6AddressesRequest {
7
8
  }
8
9
  export interface UnassignIpv6AddressesCommandOutput extends UnassignIpv6AddressesResult, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { UnassignPrivateIpAddressesRequest } from "../models/models_6";
5
+ import { UnassignPrivateIpAddressesRequest } from "../models/models_7";
6
6
  export interface UnassignPrivateIpAddressesCommandInput extends UnassignPrivateIpAddressesRequest {
7
7
  }
8
8
  export interface UnassignPrivateIpAddressesCommandOutput extends __MetadataBearer {
@@ -0,0 +1,45 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
+ import { UnassignPrivateNatGatewayAddressRequest, UnassignPrivateNatGatewayAddressResult } from "../models/models_7";
6
+ export interface UnassignPrivateNatGatewayAddressCommandInput extends UnassignPrivateNatGatewayAddressRequest {
7
+ }
8
+ export interface UnassignPrivateNatGatewayAddressCommandOutput extends UnassignPrivateNatGatewayAddressResult, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Unassigns secondary private NAT gateway IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
12
+ * <p>While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
13
+ * <p>A private IP address will only be released at the end of MaxDrainDurationSeconds. The
14
+ * private IP addresses stay associated and support the existing connections but do not
15
+ * support any new connections (new connections are distributed across the remaining
16
+ * assigned private IP address). After the existing connections drain out, the private IP
17
+ * addresses get released. </p>
18
+ * <p></p>
19
+ * <p></p>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { EC2Client, UnassignPrivateNatGatewayAddressCommand } from "@aws-sdk/client-ec2"; // ES Modules import
24
+ * // const { EC2Client, UnassignPrivateNatGatewayAddressCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
25
+ * const client = new EC2Client(config);
26
+ * const command = new UnassignPrivateNatGatewayAddressCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link UnassignPrivateNatGatewayAddressCommandInput} for command's `input` shape.
31
+ * @see {@link UnassignPrivateNatGatewayAddressCommandOutput} for command's `response` shape.
32
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
33
+ *
34
+ */
35
+ export declare class UnassignPrivateNatGatewayAddressCommand extends $Command<UnassignPrivateNatGatewayAddressCommandInput, UnassignPrivateNatGatewayAddressCommandOutput, EC2ClientResolvedConfig> {
36
+ readonly input: UnassignPrivateNatGatewayAddressCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ constructor(input: UnassignPrivateNatGatewayAddressCommandInput);
39
+ /**
40
+ * @internal
41
+ */
42
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnassignPrivateNatGatewayAddressCommandInput, UnassignPrivateNatGatewayAddressCommandOutput>;
43
+ private serialize;
44
+ private deserialize;
45
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { UnmonitorInstancesRequest, UnmonitorInstancesResult } from "../models/models_6";
5
+ import { UnmonitorInstancesRequest, UnmonitorInstancesResult } from "../models/models_7";
6
6
  export interface UnmonitorInstancesCommandInput extends UnmonitorInstancesRequest {
7
7
  }
8
8
  export interface UnmonitorInstancesCommandOutput extends UnmonitorInstancesResult, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { UpdateSecurityGroupRuleDescriptionsEgressRequest, UpdateSecurityGroupRuleDescriptionsEgressResult } from "../models/models_6";
5
+ import { UpdateSecurityGroupRuleDescriptionsEgressRequest, UpdateSecurityGroupRuleDescriptionsEgressResult } from "../models/models_7";
6
6
  export interface UpdateSecurityGroupRuleDescriptionsEgressCommandInput extends UpdateSecurityGroupRuleDescriptionsEgressRequest {
7
7
  }
8
8
  export interface UpdateSecurityGroupRuleDescriptionsEgressCommandOutput extends UpdateSecurityGroupRuleDescriptionsEgressResult, __MetadataBearer {
@@ -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";
@@ -2288,6 +2288,81 @@ export interface AssignPrivateIpAddressesResult {
2288
2288
  */
2289
2289
  AssignedIpv4Prefixes?: Ipv4PrefixSpecification[];
2290
2290
  }
2291
+ export interface AssignPrivateNatGatewayAddressRequest {
2292
+ /**
2293
+ * <p>The NAT gateway ID.</p>
2294
+ */
2295
+ NatGatewayId: string | undefined;
2296
+ /**
2297
+ * <p>The private IPv4 addresses you want to assign to the private NAT gateway.</p>
2298
+ */
2299
+ PrivateIpAddresses?: string[];
2300
+ /**
2301
+ * <p>The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.</p>
2302
+ */
2303
+ PrivateIpAddressCount?: number;
2304
+ /**
2305
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2306
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2307
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2308
+ */
2309
+ DryRun?: boolean;
2310
+ }
2311
+ export declare enum NatGatewayAddressStatus {
2312
+ ASSIGNING = "assigning",
2313
+ ASSOCIATING = "associating",
2314
+ DISASSOCIATING = "disassociating",
2315
+ FAILED = "failed",
2316
+ SUCCEEDED = "succeeded",
2317
+ UNASSIGNING = "unassigning"
2318
+ }
2319
+ /**
2320
+ * <p>Describes the IP addresses and network interface associated with a NAT gateway.</p>
2321
+ */
2322
+ export interface NatGatewayAddress {
2323
+ /**
2324
+ * <p>[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.</p>
2325
+ */
2326
+ AllocationId?: string;
2327
+ /**
2328
+ * <p>The ID of the network interface associated with the NAT gateway.</p>
2329
+ */
2330
+ NetworkInterfaceId?: string;
2331
+ /**
2332
+ * <p>The private IP address associated with the NAT gateway.</p>
2333
+ */
2334
+ PrivateIp?: string;
2335
+ /**
2336
+ * <p>[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.</p>
2337
+ */
2338
+ PublicIp?: string;
2339
+ /**
2340
+ * <p>[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.</p>
2341
+ */
2342
+ AssociationId?: string;
2343
+ /**
2344
+ * <p>Defines if the IP address is the primary address.</p>
2345
+ */
2346
+ IsPrimary?: boolean;
2347
+ /**
2348
+ * <p>The address failure message.</p>
2349
+ */
2350
+ FailureMessage?: string;
2351
+ /**
2352
+ * <p>The address status.</p>
2353
+ */
2354
+ Status?: NatGatewayAddressStatus | string;
2355
+ }
2356
+ export interface AssignPrivateNatGatewayAddressResult {
2357
+ /**
2358
+ * <p>The NAT gateway ID.</p>
2359
+ */
2360
+ NatGatewayId?: string;
2361
+ /**
2362
+ * <p>NAT gateway IP addresses.</p>
2363
+ */
2364
+ NatGatewayAddresses?: NatGatewayAddress[];
2365
+ }
2291
2366
  export interface AssociateAddressRequest {
2292
2367
  /**
2293
2368
  * <p>[EC2-VPC] The allocation ID. This is required for EC2-VPC.</p>
@@ -2774,6 +2849,36 @@ export interface AssociateIpamResourceDiscoveryResult {
2774
2849
  */
2775
2850
  IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation;
2776
2851
  }
2852
+ export interface AssociateNatGatewayAddressRequest {
2853
+ /**
2854
+ * <p>The NAT gateway ID.</p>
2855
+ */
2856
+ NatGatewayId: string | undefined;
2857
+ /**
2858
+ * <p>The allocation IDs of EIPs that you want to associate with your NAT gateway.</p>
2859
+ */
2860
+ AllocationIds: string[] | undefined;
2861
+ /**
2862
+ * <p>The private IPv4 addresses that you want to assign to the NAT gateway.</p>
2863
+ */
2864
+ PrivateIpAddresses?: string[];
2865
+ /**
2866
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2867
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2868
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2869
+ */
2870
+ DryRun?: boolean;
2871
+ }
2872
+ export interface AssociateNatGatewayAddressResult {
2873
+ /**
2874
+ * <p>The NAT gateway ID.</p>
2875
+ */
2876
+ NatGatewayId?: string;
2877
+ /**
2878
+ * <p>The IP addresses.</p>
2879
+ */
2880
+ NatGatewayAddresses?: NatGatewayAddress[];
2881
+ }
2777
2882
  export interface AssociateRouteTableRequest {
2778
2883
  /**
2779
2884
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -6263,216 +6368,6 @@ export declare enum SelfServicePortal {
6263
6368
  disabled = "disabled",
6264
6369
  enabled = "enabled"
6265
6370
  }
6266
- export declare enum TransportProtocol {
6267
- tcp = "tcp",
6268
- udp = "udp"
6269
- }
6270
- export interface CreateClientVpnEndpointRequest {
6271
- /**
6272
- * <p>The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.</p>
6273
- */
6274
- ClientCidrBlock: string | undefined;
6275
- /**
6276
- * <p>The ARN of the server certificate. For more information, see
6277
- * the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
6278
- */
6279
- ServerCertificateArn: string | undefined;
6280
- /**
6281
- * <p>Information about the authentication method to be used to authenticate clients.</p>
6282
- */
6283
- AuthenticationOptions: ClientVpnAuthenticationRequest[] | undefined;
6284
- /**
6285
- * <p>Information about the client connection logging options.</p>
6286
- * <p>If you enable client connection logging, data about client connections is sent to a
6287
- * Cloudwatch Logs log stream. The following information is logged:</p>
6288
- * <ul>
6289
- * <li>
6290
- * <p>Client connection requests</p>
6291
- * </li>
6292
- * <li>
6293
- * <p>Client connection results (successful and unsuccessful)</p>
6294
- * </li>
6295
- * <li>
6296
- * <p>Reasons for unsuccessful client connection requests</p>
6297
- * </li>
6298
- * <li>
6299
- * <p>Client connection termination time</p>
6300
- * </li>
6301
- * </ul>
6302
- */
6303
- ConnectionLogOptions: ConnectionLogOptions | undefined;
6304
- /**
6305
- * <p>Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can
6306
- * have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.</p>
6307
- */
6308
- DnsServers?: string[];
6309
- /**
6310
- * <p>The transport protocol to be used by the VPN session.</p>
6311
- * <p>Default value: <code>udp</code>
6312
- * </p>
6313
- */
6314
- TransportProtocol?: TransportProtocol | string;
6315
- /**
6316
- * <p>The port number to assign to the Client VPN endpoint for TCP and UDP traffic.</p>
6317
- * <p>Valid Values: <code>443</code> | <code>1194</code>
6318
- * </p>
6319
- * <p>Default Value: <code>443</code>
6320
- * </p>
6321
- */
6322
- VpnPort?: number;
6323
- /**
6324
- * <p>A brief description of the Client VPN endpoint.</p>
6325
- */
6326
- Description?: string;
6327
- /**
6328
- * <p>Indicates whether split-tunnel is enabled on the Client VPN endpoint.</p>
6329
- * <p>By default, split-tunnel on a VPN endpoint is disabled.</p>
6330
- * <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-tunnel Client VPN endpoint</a> in the
6331
- * <i>Client VPN Administrator Guide</i>.</p>
6332
- */
6333
- SplitTunnel?: boolean;
6334
- /**
6335
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6336
- */
6337
- DryRun?: boolean;
6338
- /**
6339
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
6340
- */
6341
- ClientToken?: string;
6342
- /**
6343
- * <p>The tags to apply to the Client VPN endpoint during creation.</p>
6344
- */
6345
- TagSpecifications?: TagSpecification[];
6346
- /**
6347
- * <p>The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.</p>
6348
- */
6349
- SecurityGroupIds?: string[];
6350
- /**
6351
- * <p>The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.</p>
6352
- */
6353
- VpcId?: string;
6354
- /**
6355
- * <p>Specify whether to enable the self-service portal for the Client VPN endpoint.</p>
6356
- * <p>Default Value: <code>enabled</code>
6357
- * </p>
6358
- */
6359
- SelfServicePortal?: SelfServicePortal | string;
6360
- /**
6361
- * <p>The options for managing connection authorization for new client connections.</p>
6362
- */
6363
- ClientConnectOptions?: ClientConnectOptions;
6364
- /**
6365
- * <p>The maximum VPN session duration time in hours.</p>
6366
- * <p>Valid values: <code>8 | 10 | 12 | 24</code>
6367
- * </p>
6368
- * <p>Default value: <code>24</code>
6369
- * </p>
6370
- */
6371
- SessionTimeoutHours?: number;
6372
- /**
6373
- * <p>Options for enabling a customizable text banner that will be displayed on
6374
- * Amazon Web Services provided clients when a VPN session is established.</p>
6375
- */
6376
- ClientLoginBannerOptions?: ClientLoginBannerOptions;
6377
- }
6378
- export declare enum ClientVpnEndpointStatusCode {
6379
- available = "available",
6380
- deleted = "deleted",
6381
- deleting = "deleting",
6382
- pending_associate = "pending-associate"
6383
- }
6384
- /**
6385
- * <p>Describes the state of a Client VPN endpoint.</p>
6386
- */
6387
- export interface ClientVpnEndpointStatus {
6388
- /**
6389
- * <p>The state of the Client VPN endpoint. Possible states include:</p>
6390
- * <ul>
6391
- * <li>
6392
- * <p>
6393
- * <code>pending-associate</code> - The Client VPN endpoint has been created but no target networks
6394
- * have been associated. The Client VPN endpoint cannot accept connections.</p>
6395
- * </li>
6396
- * <li>
6397
- * <p>
6398
- * <code>available</code> - The Client VPN endpoint has been created and a target network has been
6399
- * associated. The Client VPN endpoint can accept connections.</p>
6400
- * </li>
6401
- * <li>
6402
- * <p>
6403
- * <code>deleting</code> - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept
6404
- * connections.</p>
6405
- * </li>
6406
- * <li>
6407
- * <p>
6408
- * <code>deleted</code> - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept
6409
- * connections.</p>
6410
- * </li>
6411
- * </ul>
6412
- */
6413
- Code?: ClientVpnEndpointStatusCode | string;
6414
- /**
6415
- * <p>A message about the status of the Client VPN endpoint.</p>
6416
- */
6417
- Message?: string;
6418
- }
6419
- export interface CreateClientVpnEndpointResult {
6420
- /**
6421
- * <p>The ID of the Client VPN endpoint.</p>
6422
- */
6423
- ClientVpnEndpointId?: string;
6424
- /**
6425
- * <p>The current state of the Client VPN endpoint.</p>
6426
- */
6427
- Status?: ClientVpnEndpointStatus;
6428
- /**
6429
- * <p>The DNS name to be used by clients when establishing their VPN session.</p>
6430
- */
6431
- DnsName?: string;
6432
- }
6433
- export interface CreateClientVpnRouteRequest {
6434
- /**
6435
- * <p>The ID of the Client VPN endpoint to which to add the route.</p>
6436
- */
6437
- ClientVpnEndpointId: string | undefined;
6438
- /**
6439
- * <p>The IPv4 address range, in CIDR notation, of the route destination. For example:</p>
6440
- * <ul>
6441
- * <li>
6442
- * <p>To add a route for Internet access, enter <code>0.0.0.0/0</code>
6443
- * </p>
6444
- * </li>
6445
- * <li>
6446
- * <p>To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range</p>
6447
- * </li>
6448
- * <li>
6449
- * <p>To add a route for an on-premises network, enter the Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range</p>
6450
- * </li>
6451
- * <li>
6452
- * <p>To add a route for the local network, enter the client CIDR range</p>
6453
- * </li>
6454
- * </ul>
6455
- */
6456
- DestinationCidrBlock: string | undefined;
6457
- /**
6458
- * <p>The ID of the subnet through which you want to route traffic. The specified subnet must be
6459
- * an existing target network of the Client VPN endpoint.</p>
6460
- * <p>Alternatively, if you're adding a route for the local network, specify <code>local</code>.</p>
6461
- */
6462
- TargetVpcSubnetId: string | undefined;
6463
- /**
6464
- * <p>A brief description of the route.</p>
6465
- */
6466
- Description?: string;
6467
- /**
6468
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
6469
- */
6470
- ClientToken?: string;
6471
- /**
6472
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6473
- */
6474
- DryRun?: boolean;
6475
- }
6476
6371
  /**
6477
6372
  * @internal
6478
6373
  */
@@ -6833,6 +6728,18 @@ export declare const AssignedPrivateIpAddressFilterSensitiveLog: (obj: AssignedP
6833
6728
  * @internal
6834
6729
  */
6835
6730
  export declare const AssignPrivateIpAddressesResultFilterSensitiveLog: (obj: AssignPrivateIpAddressesResult) => any;
6731
+ /**
6732
+ * @internal
6733
+ */
6734
+ export declare const AssignPrivateNatGatewayAddressRequestFilterSensitiveLog: (obj: AssignPrivateNatGatewayAddressRequest) => any;
6735
+ /**
6736
+ * @internal
6737
+ */
6738
+ export declare const NatGatewayAddressFilterSensitiveLog: (obj: NatGatewayAddress) => any;
6739
+ /**
6740
+ * @internal
6741
+ */
6742
+ export declare const AssignPrivateNatGatewayAddressResultFilterSensitiveLog: (obj: AssignPrivateNatGatewayAddressResult) => any;
6836
6743
  /**
6837
6744
  * @internal
6838
6745
  */
@@ -6921,6 +6828,14 @@ export declare const IpamResourceDiscoveryAssociationFilterSensitiveLog: (obj: I
6921
6828
  * @internal
6922
6829
  */
6923
6830
  export declare const AssociateIpamResourceDiscoveryResultFilterSensitiveLog: (obj: AssociateIpamResourceDiscoveryResult) => any;
6831
+ /**
6832
+ * @internal
6833
+ */
6834
+ export declare const AssociateNatGatewayAddressRequestFilterSensitiveLog: (obj: AssociateNatGatewayAddressRequest) => any;
6835
+ /**
6836
+ * @internal
6837
+ */
6838
+ export declare const AssociateNatGatewayAddressResultFilterSensitiveLog: (obj: AssociateNatGatewayAddressResult) => any;
6924
6839
  /**
6925
6840
  * @internal
6926
6841
  */
@@ -7385,19 +7300,3 @@ export declare const ClientLoginBannerOptionsFilterSensitiveLog: (obj: ClientLog
7385
7300
  * @internal
7386
7301
  */
7387
7302
  export declare const ConnectionLogOptionsFilterSensitiveLog: (obj: ConnectionLogOptions) => any;
7388
- /**
7389
- * @internal
7390
- */
7391
- export declare const CreateClientVpnEndpointRequestFilterSensitiveLog: (obj: CreateClientVpnEndpointRequest) => any;
7392
- /**
7393
- * @internal
7394
- */
7395
- export declare const ClientVpnEndpointStatusFilterSensitiveLog: (obj: ClientVpnEndpointStatus) => any;
7396
- /**
7397
- * @internal
7398
- */
7399
- export declare const CreateClientVpnEndpointResultFilterSensitiveLog: (obj: CreateClientVpnEndpointResult) => any;
7400
- /**
7401
- * @internal
7402
- */
7403
- export declare const CreateClientVpnRouteRequestFilterSensitiveLog: (obj: CreateClientVpnRouteRequest) => any;