@aws-sdk/client-ec2 3.582.0 → 3.585.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/index.js CHANGED
@@ -17727,6 +17727,9 @@ var se_CreateCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) =>
17727
17727
  if (input[_DRr] != null) {
17728
17728
  entries[_DRr] = input[_DRr];
17729
17729
  }
17730
+ if (input[_BAE] != null) {
17731
+ entries[_BAE] = input[_BAE];
17732
+ }
17730
17733
  return entries;
17731
17734
  }, "se_CreateCustomerGatewayRequest");
17732
17735
  var se_CreateDefaultSubnetRequest = /* @__PURE__ */ __name((input, context) => {
@@ -39877,6 +39880,9 @@ var de_CustomerGateway = /* @__PURE__ */ __name((output, context) => {
39877
39880
  } else if (output[_tS] != null && output[_tS][_i] != null) {
39878
39881
  contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);
39879
39882
  }
39883
+ if (output[_bAE] != null) {
39884
+ contents[_BAE] = (0, import_smithy_client.expectString)(output[_bAE]);
39885
+ }
39880
39886
  return contents;
39881
39887
  }, "de_CustomerGateway");
39882
39888
  var de_CustomerGatewayList = /* @__PURE__ */ __name((output, context) => {
@@ -56904,6 +56910,7 @@ var _Att = "Attachment";
56904
56910
  var _Atta = "Attachments";
56905
56911
  var _B = "Bucket";
56906
56912
  var _BA = "BgpAsn";
56913
+ var _BAE = "BgpAsnExtended";
56907
56914
  var _BBIG = "BaselineBandwidthInGbps";
56908
56915
  var _BBIM = "BaselineBandwidthInMbps";
56909
56916
  var _BC = "ByoipCidr";
@@ -59371,6 +59378,7 @@ var _at = "attachment";
59371
59378
  var _att = "attachments";
59372
59379
  var _b = "byoasn";
59373
59380
  var _bA = "bgpAsn";
59381
+ var _bAE = "bgpAsnExtended";
59374
59382
  var _bBIG = "baselineBandwidthInGbps";
59375
59383
  var _bBIM = "baselineBandwidthInMbps";
59376
59384
  var _bC = "byoipCidr";
@@ -16279,6 +16279,9 @@ const se_CreateCustomerGatewayRequest = (input, context) => {
16279
16279
  if (input[_DRr] != null) {
16280
16280
  entries[_DRr] = input[_DRr];
16281
16281
  }
16282
+ if (input[_BAE] != null) {
16283
+ entries[_BAE] = input[_BAE];
16284
+ }
16282
16285
  return entries;
16283
16286
  };
16284
16287
  const se_CreateDefaultSubnetRequest = (input, context) => {
@@ -38602,6 +38605,9 @@ const de_CustomerGateway = (output, context) => {
38602
38605
  else if (output[_tS] != null && output[_tS][_i] != null) {
38603
38606
  contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
38604
38607
  }
38608
+ if (output[_bAE] != null) {
38609
+ contents[_BAE] = __expectString(output[_bAE]);
38610
+ }
38605
38611
  return contents;
38606
38612
  };
38607
38613
  const de_CustomerGatewayList = (output, context) => {
@@ -56828,6 +56834,7 @@ const _Att = "Attachment";
56828
56834
  const _Atta = "Attachments";
56829
56835
  const _B = "Bucket";
56830
56836
  const _BA = "BgpAsn";
56837
+ const _BAE = "BgpAsnExtended";
56831
56838
  const _BBIG = "BaselineBandwidthInGbps";
56832
56839
  const _BBIM = "BaselineBandwidthInMbps";
56833
56840
  const _BC = "ByoipCidr";
@@ -59295,6 +59302,7 @@ const _at = "attachment";
59295
59302
  const _att = "attachments";
59296
59303
  const _b = "byoasn";
59297
59304
  const _bA = "bgpAsn";
59305
+ const _bAE = "bgpAsnExtended";
59298
59306
  const _bBIG = "baselineBandwidthInGbps";
59299
59307
  const _bBIM = "baselineBandwidthInMbps";
59300
59308
  const _bC = "byoipCidr";
@@ -65,6 +65,7 @@ declare const CreateCustomerGatewayCommand_base: {
65
65
  * DeviceName: "STRING_VALUE",
66
66
  * IpAddress: "STRING_VALUE",
67
67
  * DryRun: true || false,
68
+ * BgpAsnExtended: Number("long"),
68
69
  * };
69
70
  * const command = new CreateCustomerGatewayCommand(input);
70
71
  * const response = await client.send(command);
@@ -83,6 +84,7 @@ declare const CreateCustomerGatewayCommand_base: {
83
84
  * // Value: "STRING_VALUE",
84
85
  * // },
85
86
  * // ],
87
+ * // BgpAsnExtended: "STRING_VALUE",
86
88
  * // },
87
89
  * // };
88
90
  *
@@ -67,6 +67,7 @@ declare const DescribeCustomerGatewaysCommand_base: {
67
67
  * // Value: "STRING_VALUE",
68
68
  * // },
69
69
  * // ],
70
+ * // BgpAsnExtended: "STRING_VALUE",
70
71
  * // },
71
72
  * // ],
72
73
  * // };
@@ -691,8 +691,10 @@ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
691
691
  */
692
692
  export interface CreateCustomerGatewayRequest {
693
693
  /**
694
- * <p>For devices that support BGP, the customer gateway's BGP ASN.</p>
694
+ * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
695
695
  * <p>Default: 65000</p>
696
+ * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
697
+ * </p>
696
698
  * @public
697
699
  */
698
700
  BgpAsn?: number;
@@ -726,9 +728,11 @@ export interface CreateCustomerGatewayRequest {
726
728
  */
727
729
  DeviceName?: string;
728
730
  /**
729
- * <p>
730
- * IPv4 address for the customer gateway device's outside interface. The address must be static.
731
- * </p>
731
+ * <p>IPv4 address for the customer gateway device's outside interface. The address must be
732
+ * static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to
733
+ * <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
734
+ * <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a
735
+ * public IPv4 address. </p>
732
736
  * @public
733
737
  */
734
738
  IpAddress?: string;
@@ -740,6 +744,13 @@ export interface CreateCustomerGatewayRequest {
740
744
  * @public
741
745
  */
742
746
  DryRun?: boolean;
747
+ /**
748
+ * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
749
+ * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
750
+ * </p>
751
+ * @public
752
+ */
753
+ BgpAsnExtended?: number;
743
754
  }
744
755
  /**
745
756
  * <p>Describes a customer gateway.</p>
@@ -747,8 +758,10 @@ export interface CreateCustomerGatewayRequest {
747
758
  */
748
759
  export interface CustomerGateway {
749
760
  /**
750
- * <p>The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number
761
+ * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
751
762
  * (ASN).</p>
763
+ * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
764
+ * </p>
752
765
  * @public
753
766
  */
754
767
  BgpAsn?: string;
@@ -758,7 +771,9 @@ export interface CustomerGateway {
758
771
  */
759
772
  CustomerGatewayId?: string;
760
773
  /**
761
- * <p>The IP address of the customer gateway device's outside interface.</p>
774
+ * <p>
775
+ * IPv4 address for the customer gateway device's outside interface. The address must be static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a public IPv4 address.
776
+ * </p>
762
777
  * @public
763
778
  */
764
779
  IpAddress?: string;
@@ -789,6 +804,14 @@ export interface CustomerGateway {
789
804
  * @public
790
805
  */
791
806
  Tags?: Tag[];
807
+ /**
808
+ * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
809
+ * (ASN).</p>
810
+ * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
811
+ * </p>
812
+ * @public
813
+ */
814
+ BgpAsnExtended?: string;
792
815
  }
793
816
  /**
794
817
  * <p>Contains the output of CreateCustomerGateway.</p>
@@ -199,6 +199,7 @@ export interface CreateCustomerGatewayRequest {
199
199
  DeviceName?: string;
200
200
  IpAddress?: string;
201
201
  DryRun?: boolean;
202
+ BgpAsnExtended?: number;
202
203
  }
203
204
  export interface CustomerGateway {
204
205
  BgpAsn?: string;
@@ -209,6 +210,7 @@ export interface CustomerGateway {
209
210
  Type?: string;
210
211
  DeviceName?: string;
211
212
  Tags?: Tag[];
213
+ BgpAsnExtended?: string;
212
214
  }
213
215
  export interface CreateCustomerGatewayResult {
214
216
  CustomerGateway?: CustomerGateway;
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.582.0",
4
+ "version": "3.585.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.583.0",
24
+ "@aws-sdk/client-sts": "3.583.0",
25
25
  "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.583.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
30
  "@aws-sdk/middleware-sdk-ec2": "3.582.0",
31
- "@aws-sdk/middleware-user-agent": "3.577.0",
31
+ "@aws-sdk/middleware-user-agent": "3.583.0",
32
32
  "@aws-sdk/region-config-resolver": "3.577.0",
33
33
  "@aws-sdk/types": "3.577.0",
34
- "@aws-sdk/util-endpoints": "3.577.0",
34
+ "@aws-sdk/util-endpoints": "3.583.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.577.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.577.0",
37
37
  "@smithy/config-resolver": "^3.0.0",