@aws-sdk/client-ec2 3.112.0 → 3.118.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-ec2
9
+
10
+
11
+
12
+
13
+
14
+ # [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-ec2
17
+
18
+
19
+
20
+
21
+
22
+ # [3.115.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.114.0...v3.115.0) (2022-06-21)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-ec2:** This release adds support for Private IP VPNs, a new feature allowing S2S VPN connections to use private ip addresses as the tunnel outside ip address over Direct Connect as transport. ([8f2eb0c](https://github.com/aws/aws-sdk-js-v3/commit/8f2eb0cff2321db7ee3623599d7173dfba9e3785))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-ec2
@@ -25757,7 +25757,7 @@ const serializeAws_ec2CreateCustomerGatewayRequest = (input, context) => {
25757
25757
  entries["BgpAsn"] = input.BgpAsn;
25758
25758
  }
25759
25759
  if (input.PublicIp !== undefined && input.PublicIp !== null) {
25760
- entries["IpAddress"] = input.PublicIp;
25760
+ entries["PublicIp"] = input.PublicIp;
25761
25761
  }
25762
25762
  if (input.CertificateArn !== undefined && input.CertificateArn !== null) {
25763
25763
  entries["CertificateArn"] = input.CertificateArn;
@@ -25775,6 +25775,9 @@ const serializeAws_ec2CreateCustomerGatewayRequest = (input, context) => {
25775
25775
  if (input.DeviceName !== undefined && input.DeviceName !== null) {
25776
25776
  entries["DeviceName"] = input.DeviceName;
25777
25777
  }
25778
+ if (input.IpAddress !== undefined && input.IpAddress !== null) {
25779
+ entries["IpAddress"] = input.IpAddress;
25780
+ }
25778
25781
  if (input.DryRun !== undefined && input.DryRun !== null) {
25779
25782
  entries["DryRun"] = input.DryRun;
25780
25783
  }
@@ -42080,6 +42083,12 @@ const serializeAws_ec2VpnConnectionOptionsSpecification = (input, context) => {
42080
42083
  if (input.RemoteIpv6NetworkCidr !== undefined && input.RemoteIpv6NetworkCidr !== null) {
42081
42084
  entries["RemoteIpv6NetworkCidr"] = input.RemoteIpv6NetworkCidr;
42082
42085
  }
42086
+ if (input.OutsideIpAddressType !== undefined && input.OutsideIpAddressType !== null) {
42087
+ entries["OutsideIpAddressType"] = input.OutsideIpAddressType;
42088
+ }
42089
+ if (input.TransportTransitGatewayAttachmentId !== undefined && input.TransportTransitGatewayAttachmentId !== null) {
42090
+ entries["TransportTransitGatewayAttachmentId"] = input.TransportTransitGatewayAttachmentId;
42091
+ }
42083
42092
  return entries;
42084
42093
  };
42085
42094
  const serializeAws_ec2VpnGatewayIdStringList = (input, context) => {
@@ -65512,6 +65521,8 @@ const deserializeAws_ec2VpnConnectionOptions = (output, context) => {
65512
65521
  RemoteIpv4NetworkCidr: undefined,
65513
65522
  LocalIpv6NetworkCidr: undefined,
65514
65523
  RemoteIpv6NetworkCidr: undefined,
65524
+ OutsideIpAddressType: undefined,
65525
+ TransportTransitGatewayAttachmentId: undefined,
65515
65526
  TunnelInsideIpVersion: undefined,
65516
65527
  TunnelOptions: undefined,
65517
65528
  };
@@ -65533,6 +65544,12 @@ const deserializeAws_ec2VpnConnectionOptions = (output, context) => {
65533
65544
  if (output["remoteIpv6NetworkCidr"] !== undefined) {
65534
65545
  contents.RemoteIpv6NetworkCidr = (0, smithy_client_1.expectString)(output["remoteIpv6NetworkCidr"]);
65535
65546
  }
65547
+ if (output["outsideIpAddressType"] !== undefined) {
65548
+ contents.OutsideIpAddressType = (0, smithy_client_1.expectString)(output["outsideIpAddressType"]);
65549
+ }
65550
+ if (output["transportTransitGatewayAttachmentId"] !== undefined) {
65551
+ contents.TransportTransitGatewayAttachmentId = (0, smithy_client_1.expectString)(output["transportTransitGatewayAttachmentId"]);
65552
+ }
65536
65553
  if (output["tunnelInsideIpVersion"] !== undefined) {
65537
65554
  contents.TunnelInsideIpVersion = (0, smithy_client_1.expectString)(output["tunnelInsideIpVersion"]);
65538
65555
  }
@@ -30982,7 +30982,7 @@ var serializeAws_ec2CreateCustomerGatewayRequest = function (input, context) {
30982
30982
  entries["BgpAsn"] = input.BgpAsn;
30983
30983
  }
30984
30984
  if (input.PublicIp !== undefined && input.PublicIp !== null) {
30985
- entries["IpAddress"] = input.PublicIp;
30985
+ entries["PublicIp"] = input.PublicIp;
30986
30986
  }
30987
30987
  if (input.CertificateArn !== undefined && input.CertificateArn !== null) {
30988
30988
  entries["CertificateArn"] = input.CertificateArn;
@@ -31001,6 +31001,9 @@ var serializeAws_ec2CreateCustomerGatewayRequest = function (input, context) {
31001
31001
  if (input.DeviceName !== undefined && input.DeviceName !== null) {
31002
31002
  entries["DeviceName"] = input.DeviceName;
31003
31003
  }
31004
+ if (input.IpAddress !== undefined && input.IpAddress !== null) {
31005
+ entries["IpAddress"] = input.IpAddress;
31006
+ }
31004
31007
  if (input.DryRun !== undefined && input.DryRun !== null) {
31005
31008
  entries["DryRun"] = input.DryRun;
31006
31009
  }
@@ -50152,6 +50155,12 @@ var serializeAws_ec2VpnConnectionOptionsSpecification = function (input, context
50152
50155
  if (input.RemoteIpv6NetworkCidr !== undefined && input.RemoteIpv6NetworkCidr !== null) {
50153
50156
  entries["RemoteIpv6NetworkCidr"] = input.RemoteIpv6NetworkCidr;
50154
50157
  }
50158
+ if (input.OutsideIpAddressType !== undefined && input.OutsideIpAddressType !== null) {
50159
+ entries["OutsideIpAddressType"] = input.OutsideIpAddressType;
50160
+ }
50161
+ if (input.TransportTransitGatewayAttachmentId !== undefined && input.TransportTransitGatewayAttachmentId !== null) {
50162
+ entries["TransportTransitGatewayAttachmentId"] = input.TransportTransitGatewayAttachmentId;
50163
+ }
50155
50164
  return entries;
50156
50165
  };
50157
50166
  var serializeAws_ec2VpnGatewayIdStringList = function (input, context) {
@@ -73636,6 +73645,8 @@ var deserializeAws_ec2VpnConnectionOptions = function (output, context) {
73636
73645
  RemoteIpv4NetworkCidr: undefined,
73637
73646
  LocalIpv6NetworkCidr: undefined,
73638
73647
  RemoteIpv6NetworkCidr: undefined,
73648
+ OutsideIpAddressType: undefined,
73649
+ TransportTransitGatewayAttachmentId: undefined,
73639
73650
  TunnelInsideIpVersion: undefined,
73640
73651
  TunnelOptions: undefined,
73641
73652
  };
@@ -73657,6 +73668,12 @@ var deserializeAws_ec2VpnConnectionOptions = function (output, context) {
73657
73668
  if (output["remoteIpv6NetworkCidr"] !== undefined) {
73658
73669
  contents.RemoteIpv6NetworkCidr = __expectString(output["remoteIpv6NetworkCidr"]);
73659
73670
  }
73671
+ if (output["outsideIpAddressType"] !== undefined) {
73672
+ contents.OutsideIpAddressType = __expectString(output["outsideIpAddressType"]);
73673
+ }
73674
+ if (output["transportTransitGatewayAttachmentId"] !== undefined) {
73675
+ contents.TransportTransitGatewayAttachmentId = __expectString(output["transportTransitGatewayAttachmentId"]);
73676
+ }
73660
73677
  if (output["tunnelInsideIpVersion"] !== undefined) {
73661
73678
  contents.TunnelInsideIpVersion = __expectString(output["tunnelInsideIpVersion"]);
73662
73679
  }
@@ -1157,10 +1157,9 @@ export declare class EC2 extends EC2Client {
1157
1157
  createClientVpnRoute(args: CreateClientVpnRouteCommandInput, cb: (err: any, data?: CreateClientVpnRouteCommandOutput) => void): void;
1158
1158
  createClientVpnRoute(args: CreateClientVpnRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClientVpnRouteCommandOutput) => void): void;
1159
1159
  /**
1160
- * <p>Provides information to Amazon Web Services about your VPN customer gateway device. The
1161
- * customer gateway is the appliance at your end of the VPN connection. (The device on the
1162
- * Amazon Web Services side of the VPN connection is the virtual private gateway.) You
1163
- * must provide the internet-routable IP address of the customer gateway's external
1160
+ * <p>Provides information to Amazon Web Services about your customer gateway device. The
1161
+ * customer gateway device is the appliance at your end of the VPN connection. You
1162
+ * must provide the IP address of the customer gateway device’s external
1164
1163
  * interface. The IP address must be static and can be behind a device performing network
1165
1164
  * address translation (NAT).</p>
1166
1165
  * <p>For devices that use Border Gateway Protocol (BGP), you can also provide the device's
@@ -7,10 +7,9 @@ export interface CreateCustomerGatewayCommandInput extends CreateCustomerGateway
7
7
  export interface CreateCustomerGatewayCommandOutput extends CreateCustomerGatewayResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Provides information to Amazon Web Services about your VPN customer gateway device. The
11
- * customer gateway is the appliance at your end of the VPN connection. (The device on the
12
- * Amazon Web Services side of the VPN connection is the virtual private gateway.) You
13
- * must provide the internet-routable IP address of the customer gateway's external
10
+ * <p>Provides information to Amazon Web Services about your customer gateway device. The
11
+ * customer gateway device is the appliance at your end of the VPN connection. You
12
+ * must provide the IP address of the customer gateway device’s external
14
13
  * interface. The IP address must be static and can be behind a device performing network
15
14
  * address translation (NAT).</p>
16
15
  * <p>For devices that use Border Gateway Protocol (BGP), you can also provide the device's
@@ -5980,7 +5980,8 @@ export interface CreateCustomerGatewayRequest {
5980
5980
  */
5981
5981
  BgpAsn: number | undefined;
5982
5982
  /**
5983
- * <p>The Internet-routable IP address for the customer gateway's outside interface. The
5983
+ * <p>
5984
+ * <i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's outside interface. The
5984
5985
  * address must be static.</p>
5985
5986
  */
5986
5987
  PublicIp?: string;
@@ -6002,6 +6003,12 @@ export interface CreateCustomerGatewayRequest {
6002
6003
  * <p>Length Constraints: Up to 255 characters.</p>
6003
6004
  */
6004
6005
  DeviceName?: string;
6006
+ /**
6007
+ * <p>
6008
+ * IPv4 address for the customer gateway device's outside interface. The address must be static.
6009
+ * </p>
6010
+ */
6011
+ IpAddress?: string;
6005
6012
  /**
6006
6013
  * <p>Checks whether you have the required permissions for the action, without actually
6007
6014
  * making the request, and provides an error response. If you have the required
@@ -6030,7 +6037,7 @@ export interface CustomerGateway {
6030
6037
  */
6031
6038
  CustomerGatewayId?: string;
6032
6039
  /**
6033
- * <p>The Internet-routable IP address of the customer gateway's outside interface.</p>
6040
+ * <p>The IP address of the customer gateway device's outside interface.</p>
6034
6041
  */
6035
6042
  IpAddress?: string;
6036
6043
  /**
@@ -2135,6 +2135,19 @@ export interface VpnConnectionOptionsSpecification {
2135
2135
  * </p>
2136
2136
  */
2137
2137
  RemoteIpv6NetworkCidr?: string;
2138
+ /**
2139
+ * <p>The type of IPv4 address assigned to the outside interface of the customer gateway device.</p>
2140
+ * <p>Valid values: <code>PrivateIpv4</code> | <code>PublicIpv4</code>
2141
+ * </p>
2142
+ * <p>Default: <code>PublicIpv4</code>
2143
+ * </p>
2144
+ */
2145
+ OutsideIpAddressType?: string;
2146
+ /**
2147
+ * <p>The transit gateway attachment ID to use for the VPN tunnel.</p>
2148
+ * <p>Required if <code>OutsideIpAddressType</code> is set to <code>PrivateIpv4</code>.</p>
2149
+ */
2150
+ TransportTransitGatewayAttachmentId?: string;
2138
2151
  }
2139
2152
  export declare namespace VpnConnectionOptionsSpecification {
2140
2153
  /**
@@ -2422,6 +2435,18 @@ export interface VpnConnectionOptions {
2422
2435
  * <p>The IPv6 CIDR on the Amazon Web Services side of the VPN connection.</p>
2423
2436
  */
2424
2437
  RemoteIpv6NetworkCidr?: string;
2438
+ /**
2439
+ * <p>The type of IPv4 address assigned to the outside interface of the customer gateway.</p>
2440
+ * <p>Valid values: <code>PrivateIpv4</code> | <code>PublicIpv4</code>
2441
+ * </p>
2442
+ * <p>Default: <code>PublicIpv4</code>
2443
+ * </p>
2444
+ */
2445
+ OutsideIpAddressType?: string;
2446
+ /**
2447
+ * <p>The transit gateway attachment ID in use for the VPN tunnel.</p>
2448
+ */
2449
+ TransportTransitGatewayAttachmentId?: string;
2425
2450
  /**
2426
2451
  * <p>Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.</p>
2427
2452
  */
@@ -484,8 +484,8 @@ export interface DescribeCustomerGatewaysRequest {
484
484
  * </li>
485
485
  * <li>
486
486
  * <p>
487
- * <code>ip-address</code> - The IP address of the customer gateway's
488
- * Internet-routable external interface.</p>
487
+ * <code>ip-address</code> - The IP address of the customer gateway
488
+ * device's external interface.</p>
489
489
  * </li>
490
490
  * <li>
491
491
  * <p>
@@ -3103,6 +3103,8 @@ export interface CreateCustomerGatewayRequest {
3103
3103
 
3104
3104
  DeviceName?: string;
3105
3105
 
3106
+ IpAddress?: string;
3107
+
3106
3108
  DryRun?: boolean;
3107
3109
  }
3108
3110
  export declare namespace CreateCustomerGatewayRequest {
@@ -1039,6 +1039,10 @@ export interface VpnConnectionOptionsSpecification {
1039
1039
  LocalIpv6NetworkCidr?: string;
1040
1040
 
1041
1041
  RemoteIpv6NetworkCidr?: string;
1042
+
1043
+ OutsideIpAddressType?: string;
1044
+
1045
+ TransportTransitGatewayAttachmentId?: string;
1042
1046
  }
1043
1047
  export declare namespace VpnConnectionOptionsSpecification {
1044
1048
 
@@ -1194,6 +1198,10 @@ export interface VpnConnectionOptions {
1194
1198
 
1195
1199
  RemoteIpv6NetworkCidr?: string;
1196
1200
 
1201
+ OutsideIpAddressType?: string;
1202
+
1203
+ TransportTransitGatewayAttachmentId?: string;
1204
+
1197
1205
  TunnelInsideIpVersion?: TunnelInsideIpVersion | string;
1198
1206
 
1199
1207
  TunnelOptions?: TunnelOption[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.112.0",
4
+ "version": "3.118.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.112.0",
21
+ "@aws-sdk/client-sts": "3.118.1",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.112.0",
23
+ "@aws-sdk/credential-provider-node": "3.118.1",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,14 +28,14 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-sdk-ec2": "3.110.0",
33
33
  "@aws-sdk/middleware-serde": "3.110.0",
34
34
  "@aws-sdk/middleware-signing": "3.110.0",
35
35
  "@aws-sdk/middleware-stack": "3.110.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.110.0",
37
37
  "@aws-sdk/node-config-provider": "3.110.0",
38
- "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/node-http-handler": "3.118.1",
39
39
  "@aws-sdk/protocol-http": "3.110.0",
40
40
  "@aws-sdk/smithy-client": "3.110.0",
41
41
  "@aws-sdk/types": "3.110.0",
@@ -47,10 +47,10 @@
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.110.0",
48
48
  "@aws-sdk/util-defaults-mode-node": "3.110.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.110.0",
50
- "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-user-agent-node": "3.118.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.109.0",
52
52
  "@aws-sdk/util-utf8-node": "3.109.0",
53
- "@aws-sdk/util-waiter": "3.110.0",
53
+ "@aws-sdk/util-waiter": "3.118.1",
54
54
  "entities": "2.2.0",
55
55
  "fast-xml-parser": "3.19.0",
56
56
  "tslib": "^2.3.1",