@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
@@ -1,4 +1,214 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, ClientConnectOptions, ClientLoginBannerOptions, ClientVpnAuthenticationRequest, ConnectionLogOptions, CurrencyCodeValues, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SelfServicePortal, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ export declare enum TransportProtocol {
3
+ tcp = "tcp",
4
+ udp = "udp"
5
+ }
6
+ export interface CreateClientVpnEndpointRequest {
7
+ /**
8
+ * <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>
9
+ */
10
+ ClientCidrBlock: string | undefined;
11
+ /**
12
+ * <p>The ARN of the server certificate. For more information, see
13
+ * the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
14
+ */
15
+ ServerCertificateArn: string | undefined;
16
+ /**
17
+ * <p>Information about the authentication method to be used to authenticate clients.</p>
18
+ */
19
+ AuthenticationOptions: ClientVpnAuthenticationRequest[] | undefined;
20
+ /**
21
+ * <p>Information about the client connection logging options.</p>
22
+ * <p>If you enable client connection logging, data about client connections is sent to a
23
+ * Cloudwatch Logs log stream. The following information is logged:</p>
24
+ * <ul>
25
+ * <li>
26
+ * <p>Client connection requests</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>Client connection results (successful and unsuccessful)</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>Reasons for unsuccessful client connection requests</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>Client connection termination time</p>
36
+ * </li>
37
+ * </ul>
38
+ */
39
+ ConnectionLogOptions: ConnectionLogOptions | undefined;
40
+ /**
41
+ * <p>Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can
42
+ * 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>
43
+ */
44
+ DnsServers?: string[];
45
+ /**
46
+ * <p>The transport protocol to be used by the VPN session.</p>
47
+ * <p>Default value: <code>udp</code>
48
+ * </p>
49
+ */
50
+ TransportProtocol?: TransportProtocol | string;
51
+ /**
52
+ * <p>The port number to assign to the Client VPN endpoint for TCP and UDP traffic.</p>
53
+ * <p>Valid Values: <code>443</code> | <code>1194</code>
54
+ * </p>
55
+ * <p>Default Value: <code>443</code>
56
+ * </p>
57
+ */
58
+ VpnPort?: number;
59
+ /**
60
+ * <p>A brief description of the Client VPN endpoint.</p>
61
+ */
62
+ Description?: string;
63
+ /**
64
+ * <p>Indicates whether split-tunnel is enabled on the Client VPN endpoint.</p>
65
+ * <p>By default, split-tunnel on a VPN endpoint is disabled.</p>
66
+ * <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
67
+ * <i>Client VPN Administrator Guide</i>.</p>
68
+ */
69
+ SplitTunnel?: boolean;
70
+ /**
71
+ * <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>
72
+ */
73
+ DryRun?: boolean;
74
+ /**
75
+ * <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>
76
+ */
77
+ ClientToken?: string;
78
+ /**
79
+ * <p>The tags to apply to the Client VPN endpoint during creation.</p>
80
+ */
81
+ TagSpecifications?: TagSpecification[];
82
+ /**
83
+ * <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>
84
+ */
85
+ SecurityGroupIds?: string[];
86
+ /**
87
+ * <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>
88
+ */
89
+ VpcId?: string;
90
+ /**
91
+ * <p>Specify whether to enable the self-service portal for the Client VPN endpoint.</p>
92
+ * <p>Default Value: <code>enabled</code>
93
+ * </p>
94
+ */
95
+ SelfServicePortal?: SelfServicePortal | string;
96
+ /**
97
+ * <p>The options for managing connection authorization for new client connections.</p>
98
+ */
99
+ ClientConnectOptions?: ClientConnectOptions;
100
+ /**
101
+ * <p>The maximum VPN session duration time in hours.</p>
102
+ * <p>Valid values: <code>8 | 10 | 12 | 24</code>
103
+ * </p>
104
+ * <p>Default value: <code>24</code>
105
+ * </p>
106
+ */
107
+ SessionTimeoutHours?: number;
108
+ /**
109
+ * <p>Options for enabling a customizable text banner that will be displayed on
110
+ * Amazon Web Services provided clients when a VPN session is established.</p>
111
+ */
112
+ ClientLoginBannerOptions?: ClientLoginBannerOptions;
113
+ }
114
+ export declare enum ClientVpnEndpointStatusCode {
115
+ available = "available",
116
+ deleted = "deleted",
117
+ deleting = "deleting",
118
+ pending_associate = "pending-associate"
119
+ }
120
+ /**
121
+ * <p>Describes the state of a Client VPN endpoint.</p>
122
+ */
123
+ export interface ClientVpnEndpointStatus {
124
+ /**
125
+ * <p>The state of the Client VPN endpoint. Possible states include:</p>
126
+ * <ul>
127
+ * <li>
128
+ * <p>
129
+ * <code>pending-associate</code> - The Client VPN endpoint has been created but no target networks
130
+ * have been associated. The Client VPN endpoint cannot accept connections.</p>
131
+ * </li>
132
+ * <li>
133
+ * <p>
134
+ * <code>available</code> - The Client VPN endpoint has been created and a target network has been
135
+ * associated. The Client VPN endpoint can accept connections.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>
139
+ * <code>deleting</code> - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept
140
+ * connections.</p>
141
+ * </li>
142
+ * <li>
143
+ * <p>
144
+ * <code>deleted</code> - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept
145
+ * connections.</p>
146
+ * </li>
147
+ * </ul>
148
+ */
149
+ Code?: ClientVpnEndpointStatusCode | string;
150
+ /**
151
+ * <p>A message about the status of the Client VPN endpoint.</p>
152
+ */
153
+ Message?: string;
154
+ }
155
+ export interface CreateClientVpnEndpointResult {
156
+ /**
157
+ * <p>The ID of the Client VPN endpoint.</p>
158
+ */
159
+ ClientVpnEndpointId?: string;
160
+ /**
161
+ * <p>The current state of the Client VPN endpoint.</p>
162
+ */
163
+ Status?: ClientVpnEndpointStatus;
164
+ /**
165
+ * <p>The DNS name to be used by clients when establishing their VPN session.</p>
166
+ */
167
+ DnsName?: string;
168
+ }
169
+ export interface CreateClientVpnRouteRequest {
170
+ /**
171
+ * <p>The ID of the Client VPN endpoint to which to add the route.</p>
172
+ */
173
+ ClientVpnEndpointId: string | undefined;
174
+ /**
175
+ * <p>The IPv4 address range, in CIDR notation, of the route destination. For example:</p>
176
+ * <ul>
177
+ * <li>
178
+ * <p>To add a route for Internet access, enter <code>0.0.0.0/0</code>
179
+ * </p>
180
+ * </li>
181
+ * <li>
182
+ * <p>To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range</p>
183
+ * </li>
184
+ * <li>
185
+ * <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>
186
+ * </li>
187
+ * <li>
188
+ * <p>To add a route for the local network, enter the client CIDR range</p>
189
+ * </li>
190
+ * </ul>
191
+ */
192
+ DestinationCidrBlock: string | undefined;
193
+ /**
194
+ * <p>The ID of the subnet through which you want to route traffic. The specified subnet must be
195
+ * an existing target network of the Client VPN endpoint.</p>
196
+ * <p>Alternatively, if you're adding a route for the local network, specify <code>local</code>.</p>
197
+ */
198
+ TargetVpcSubnetId: string | undefined;
199
+ /**
200
+ * <p>A brief description of the route.</p>
201
+ */
202
+ Description?: string;
203
+ /**
204
+ * <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>
205
+ */
206
+ ClientToken?: string;
207
+ /**
208
+ * <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>
209
+ */
210
+ DryRun?: boolean;
211
+ }
2
212
  export declare enum ClientVpnRouteStatusCode {
3
213
  active = "active",
4
214
  creating = "creating",
@@ -5920,7 +6130,7 @@ export interface CreateNatGatewayRequest {
5920
6130
  */
5921
6131
  DryRun?: boolean;
5922
6132
  /**
5923
- * <p>The subnet in which to create the NAT gateway.</p>
6133
+ * <p>The ID of the subnet in which to create the NAT gateway.</p>
5924
6134
  */
5925
6135
  SubnetId: string | undefined;
5926
6136
  /**
@@ -5936,27 +6146,18 @@ export interface CreateNatGatewayRequest {
5936
6146
  * <p>The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.</p>
5937
6147
  */
5938
6148
  PrivateIpAddress?: string;
5939
- }
5940
- /**
5941
- * <p>Describes the IP addresses and network interface associated with a NAT gateway.</p>
5942
- */
5943
- export interface NatGatewayAddress {
5944
- /**
5945
- * <p>[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.</p>
5946
- */
5947
- AllocationId?: string;
5948
6149
  /**
5949
- * <p>The ID of the network interface associated with the NAT gateway.</p>
6150
+ * <p>Secondary EIP allocation IDs. For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
5950
6151
  */
5951
- NetworkInterfaceId?: string;
6152
+ SecondaryAllocationIds?: string[];
5952
6153
  /**
5953
- * <p>The private IP address associated with the NAT gateway.</p>
6154
+ * <p>Secondary private IPv4 addresses. For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
5954
6155
  */
5955
- PrivateIp?: string;
6156
+ SecondaryPrivateIpAddresses?: string[];
5956
6157
  /**
5957
- * <p>[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.</p>
6158
+ * <p>[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
5958
6159
  */
5959
- PublicIp?: string;
6160
+ SecondaryPrivateIpAddressCount?: number;
5960
6161
  }
5961
6162
  /**
5962
6163
  * <p>Reserved. If you need to sustain traffic greater than the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">documented limits</a>, contact us through the <a href="https://console.aws.amazon.com/support/home?">Support Center</a>.</p>
@@ -7425,141 +7626,21 @@ export interface RouteTableAssociation {
7425
7626
  AssociationState?: RouteTableAssociationState;
7426
7627
  }
7427
7628
  /**
7428
- * <p>Describes a virtual private gateway propagating route.</p>
7629
+ * @internal
7429
7630
  */
7430
- export interface PropagatingVgw {
7431
- /**
7432
- * <p>The ID of the virtual private gateway.</p>
7433
- */
7434
- GatewayId?: string;
7435
- }
7436
- export declare enum RouteOrigin {
7437
- CreateRoute = "CreateRoute",
7438
- CreateRouteTable = "CreateRouteTable",
7439
- EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
7440
- }
7441
- export declare enum RouteState {
7442
- active = "active",
7443
- blackhole = "blackhole"
7444
- }
7631
+ export declare const CreateClientVpnEndpointRequestFilterSensitiveLog: (obj: CreateClientVpnEndpointRequest) => any;
7445
7632
  /**
7446
- * <p>Describes a route in a route table.</p>
7633
+ * @internal
7447
7634
  */
7448
- export interface Route {
7449
- /**
7450
- * <p>The IPv4 CIDR block used for the destination match.</p>
7451
- */
7452
- DestinationCidrBlock?: string;
7453
- /**
7454
- * <p>The IPv6 CIDR block used for the destination match.</p>
7455
- */
7456
- DestinationIpv6CidrBlock?: string;
7457
- /**
7458
- * <p>The prefix of the Amazon Web Service.</p>
7459
- */
7460
- DestinationPrefixListId?: string;
7461
- /**
7462
- * <p>The ID of the egress-only internet gateway.</p>
7463
- */
7464
- EgressOnlyInternetGatewayId?: string;
7465
- /**
7466
- * <p>The ID of a gateway attached to your VPC.</p>
7467
- */
7468
- GatewayId?: string;
7469
- /**
7470
- * <p>The ID of a NAT instance in your VPC.</p>
7471
- */
7472
- InstanceId?: string;
7473
- /**
7474
- * <p>The ID of Amazon Web Services account that owns the instance.</p>
7475
- */
7476
- InstanceOwnerId?: string;
7477
- /**
7478
- * <p>The ID of a NAT gateway.</p>
7479
- */
7480
- NatGatewayId?: string;
7481
- /**
7482
- * <p>The ID of a transit gateway.</p>
7483
- */
7484
- TransitGatewayId?: string;
7485
- /**
7486
- * <p>The ID of the local gateway.</p>
7487
- */
7488
- LocalGatewayId?: string;
7489
- /**
7490
- * <p>The ID of the carrier gateway.</p>
7491
- */
7492
- CarrierGatewayId?: string;
7493
- /**
7494
- * <p>The ID of the network interface.</p>
7495
- */
7496
- NetworkInterfaceId?: string;
7497
- /**
7498
- * <p>Describes how the route was created.</p>
7499
- * <ul>
7500
- * <li>
7501
- * <p>
7502
- * <code>CreateRouteTable</code> - The route was automatically created when the route table was created.</p>
7503
- * </li>
7504
- * <li>
7505
- * <p>
7506
- * <code>CreateRoute</code> - The route was manually added to the route table.</p>
7507
- * </li>
7508
- * <li>
7509
- * <p>
7510
- * <code>EnableVgwRoutePropagation</code> - The route was propagated by route propagation.</p>
7511
- * </li>
7512
- * </ul>
7513
- */
7514
- Origin?: RouteOrigin | string;
7515
- /**
7516
- * <p>The state of the route. The <code>blackhole</code> state indicates that the
7517
- * route's target isn't available (for example, the specified gateway isn't attached to the
7518
- * VPC, or the specified NAT instance has been terminated).</p>
7519
- */
7520
- State?: RouteState | string;
7521
- /**
7522
- * <p>The ID of a VPC peering connection.</p>
7523
- */
7524
- VpcPeeringConnectionId?: string;
7525
- /**
7526
- * <p>The Amazon Resource Name (ARN) of the core network.</p>
7527
- */
7528
- CoreNetworkArn?: string;
7529
- }
7635
+ export declare const ClientVpnEndpointStatusFilterSensitiveLog: (obj: ClientVpnEndpointStatus) => any;
7530
7636
  /**
7531
- * <p>Describes a route table.</p>
7637
+ * @internal
7532
7638
  */
7533
- export interface RouteTable {
7534
- /**
7535
- * <p>The associations between the route table and one or more subnets or a gateway.</p>
7536
- */
7537
- Associations?: RouteTableAssociation[];
7538
- /**
7539
- * <p>Any virtual private gateway (VGW) propagating routes.</p>
7540
- */
7541
- PropagatingVgws?: PropagatingVgw[];
7542
- /**
7543
- * <p>The ID of the route table.</p>
7544
- */
7545
- RouteTableId?: string;
7546
- /**
7547
- * <p>The routes in the route table.</p>
7548
- */
7549
- Routes?: Route[];
7550
- /**
7551
- * <p>Any tags assigned to the route table.</p>
7552
- */
7553
- Tags?: Tag[];
7554
- /**
7555
- * <p>The ID of the VPC.</p>
7556
- */
7557
- VpcId?: string;
7558
- /**
7559
- * <p>The ID of the Amazon Web Services account that owns the route table.</p>
7560
- */
7561
- OwnerId?: string;
7562
- }
7639
+ export declare const CreateClientVpnEndpointResultFilterSensitiveLog: (obj: CreateClientVpnEndpointResult) => any;
7640
+ /**
7641
+ * @internal
7642
+ */
7643
+ export declare const CreateClientVpnRouteRequestFilterSensitiveLog: (obj: CreateClientVpnRouteRequest) => any;
7563
7644
  /**
7564
7645
  * @internal
7565
7646
  */
@@ -8268,10 +8349,6 @@ export declare const CreateManagedPrefixListResultFilterSensitiveLog: (obj: Crea
8268
8349
  * @internal
8269
8350
  */
8270
8351
  export declare const CreateNatGatewayRequestFilterSensitiveLog: (obj: CreateNatGatewayRequest) => any;
8271
- /**
8272
- * @internal
8273
- */
8274
- export declare const NatGatewayAddressFilterSensitiveLog: (obj: NatGatewayAddress) => any;
8275
8352
  /**
8276
8353
  * @internal
8277
8354
  */
@@ -8468,15 +8545,3 @@ export declare const CreateRouteTableRequestFilterSensitiveLog: (obj: CreateRout
8468
8545
  * @internal
8469
8546
  */
8470
8547
  export declare const RouteTableAssociationFilterSensitiveLog: (obj: RouteTableAssociation) => any;
8471
- /**
8472
- * @internal
8473
- */
8474
- export declare const PropagatingVgwFilterSensitiveLog: (obj: PropagatingVgw) => any;
8475
- /**
8476
- * @internal
8477
- */
8478
- export declare const RouteFilterSensitiveLog: (obj: Route) => any;
8479
- /**
8480
- * @internal
8481
- */
8482
- export declare const RouteTableFilterSensitiveLog: (obj: RouteTable) => any;
@@ -1,5 +1,141 @@
1
- import { ApplianceModeSupportValue, CarrierGateway, ClientVpnEndpointStatus, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTable, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { ApplianceModeSupportValue, CarrierGateway, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTableAssociation, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a virtual private gateway propagating route.</p>
5
+ */
6
+ export interface PropagatingVgw {
7
+ /**
8
+ * <p>The ID of the virtual private gateway.</p>
9
+ */
10
+ GatewayId?: string;
11
+ }
12
+ export declare enum RouteOrigin {
13
+ CreateRoute = "CreateRoute",
14
+ CreateRouteTable = "CreateRouteTable",
15
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
16
+ }
17
+ export declare enum RouteState {
18
+ active = "active",
19
+ blackhole = "blackhole"
20
+ }
21
+ /**
22
+ * <p>Describes a route in a route table.</p>
23
+ */
24
+ export interface Route {
25
+ /**
26
+ * <p>The IPv4 CIDR block used for the destination match.</p>
27
+ */
28
+ DestinationCidrBlock?: string;
29
+ /**
30
+ * <p>The IPv6 CIDR block used for the destination match.</p>
31
+ */
32
+ DestinationIpv6CidrBlock?: string;
33
+ /**
34
+ * <p>The prefix of the Amazon Web Service.</p>
35
+ */
36
+ DestinationPrefixListId?: string;
37
+ /**
38
+ * <p>The ID of the egress-only internet gateway.</p>
39
+ */
40
+ EgressOnlyInternetGatewayId?: string;
41
+ /**
42
+ * <p>The ID of a gateway attached to your VPC.</p>
43
+ */
44
+ GatewayId?: string;
45
+ /**
46
+ * <p>The ID of a NAT instance in your VPC.</p>
47
+ */
48
+ InstanceId?: string;
49
+ /**
50
+ * <p>The ID of Amazon Web Services account that owns the instance.</p>
51
+ */
52
+ InstanceOwnerId?: string;
53
+ /**
54
+ * <p>The ID of a NAT gateway.</p>
55
+ */
56
+ NatGatewayId?: string;
57
+ /**
58
+ * <p>The ID of a transit gateway.</p>
59
+ */
60
+ TransitGatewayId?: string;
61
+ /**
62
+ * <p>The ID of the local gateway.</p>
63
+ */
64
+ LocalGatewayId?: string;
65
+ /**
66
+ * <p>The ID of the carrier gateway.</p>
67
+ */
68
+ CarrierGatewayId?: string;
69
+ /**
70
+ * <p>The ID of the network interface.</p>
71
+ */
72
+ NetworkInterfaceId?: string;
73
+ /**
74
+ * <p>Describes how the route was created.</p>
75
+ * <ul>
76
+ * <li>
77
+ * <p>
78
+ * <code>CreateRouteTable</code> - The route was automatically created when the route table was created.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>CreateRoute</code> - The route was manually added to the route table.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>EnableVgwRoutePropagation</code> - The route was propagated by route propagation.</p>
87
+ * </li>
88
+ * </ul>
89
+ */
90
+ Origin?: RouteOrigin | string;
91
+ /**
92
+ * <p>The state of the route. The <code>blackhole</code> state indicates that the
93
+ * route's target isn't available (for example, the specified gateway isn't attached to the
94
+ * VPC, or the specified NAT instance has been terminated).</p>
95
+ */
96
+ State?: RouteState | string;
97
+ /**
98
+ * <p>The ID of a VPC peering connection.</p>
99
+ */
100
+ VpcPeeringConnectionId?: string;
101
+ /**
102
+ * <p>The Amazon Resource Name (ARN) of the core network.</p>
103
+ */
104
+ CoreNetworkArn?: string;
105
+ }
106
+ /**
107
+ * <p>Describes a route table.</p>
108
+ */
109
+ export interface RouteTable {
110
+ /**
111
+ * <p>The associations between the route table and one or more subnets or a gateway.</p>
112
+ */
113
+ Associations?: RouteTableAssociation[];
114
+ /**
115
+ * <p>Any virtual private gateway (VGW) propagating routes.</p>
116
+ */
117
+ PropagatingVgws?: PropagatingVgw[];
118
+ /**
119
+ * <p>The ID of the route table.</p>
120
+ */
121
+ RouteTableId?: string;
122
+ /**
123
+ * <p>The routes in the route table.</p>
124
+ */
125
+ Routes?: Route[];
126
+ /**
127
+ * <p>Any tags assigned to the route table.</p>
128
+ */
129
+ Tags?: Tag[];
130
+ /**
131
+ * <p>The ID of the VPC.</p>
132
+ */
133
+ VpcId?: string;
134
+ /**
135
+ * <p>The ID of the Amazon Web Services account that owns the route table.</p>
136
+ */
137
+ OwnerId?: string;
138
+ }
3
139
  export interface CreateRouteTableResult {
4
140
  /**
5
141
  * <p>Information about the route table.</p>
@@ -5290,54 +5426,18 @@ export interface DeleteTrafficMirrorSessionResult {
5290
5426
  */
5291
5427
  TrafficMirrorSessionId?: string;
5292
5428
  }
5293
- export interface DeleteTrafficMirrorTargetRequest {
5294
- /**
5295
- * <p>The ID of the Traffic Mirror target.</p>
5296
- */
5297
- TrafficMirrorTargetId: string | undefined;
5298
- /**
5299
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5300
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5301
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5302
- */
5303
- DryRun?: boolean;
5304
- }
5305
- export interface DeleteTrafficMirrorTargetResult {
5306
- /**
5307
- * <p>The ID of the deleted Traffic Mirror target.</p>
5308
- */
5309
- TrafficMirrorTargetId?: string;
5310
- }
5311
- export interface DeleteTransitGatewayRequest {
5312
- /**
5313
- * <p>The ID of the transit gateway.</p>
5314
- */
5315
- TransitGatewayId: string | undefined;
5316
- /**
5317
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5318
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5319
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5320
- */
5321
- DryRun?: boolean;
5322
- }
5323
- export interface DeleteTransitGatewayResult {
5324
- /**
5325
- * <p>Information about the deleted transit gateway.</p>
5326
- */
5327
- TransitGateway?: TransitGateway;
5328
- }
5329
- export interface DeleteTransitGatewayConnectRequest {
5330
- /**
5331
- * <p>The ID of the Connect attachment.</p>
5332
- */
5333
- TransitGatewayAttachmentId: string | undefined;
5334
- /**
5335
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5336
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5337
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5338
- */
5339
- DryRun?: boolean;
5340
- }
5429
+ /**
5430
+ * @internal
5431
+ */
5432
+ export declare const PropagatingVgwFilterSensitiveLog: (obj: PropagatingVgw) => any;
5433
+ /**
5434
+ * @internal
5435
+ */
5436
+ export declare const RouteFilterSensitiveLog: (obj: Route) => any;
5437
+ /**
5438
+ * @internal
5439
+ */
5440
+ export declare const RouteTableFilterSensitiveLog: (obj: RouteTable) => any;
5341
5441
  /**
5342
5442
  * @internal
5343
5443
  */
@@ -6302,23 +6402,3 @@ export declare const DeleteTrafficMirrorSessionRequestFilterSensitiveLog: (obj:
6302
6402
  * @internal
6303
6403
  */
6304
6404
  export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionResult) => any;
6305
- /**
6306
- * @internal
6307
- */
6308
- export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
6309
- /**
6310
- * @internal
6311
- */
6312
- export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
6313
- /**
6314
- * @internal
6315
- */
6316
- export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
6317
- /**
6318
- * @internal
6319
- */
6320
- export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
6321
- /**
6322
- * @internal
6323
- */
6324
- export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;