@aws-sdk/client-direct-connect 3.864.0 → 3.872.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
@@ -1750,7 +1750,8 @@ var de_ConnectionList = /* @__PURE__ */ __name((output, context) => {
1750
1750
  }, "de_ConnectionList");
1751
1751
  var de_Connections = /* @__PURE__ */ __name((output, context) => {
1752
1752
  return (0, import_smithy_client.take)(output, {
1753
- connections: /* @__PURE__ */ __name((_) => de_ConnectionList(_, context), "connections")
1753
+ connections: /* @__PURE__ */ __name((_) => de_ConnectionList(_, context), "connections"),
1754
+ nextToken: import_smithy_client.expectString
1754
1755
  });
1755
1756
  }, "de_Connections");
1756
1757
  var de_DescribeConnectionLoaResponse = /* @__PURE__ */ __name((output, context) => {
@@ -1794,7 +1795,8 @@ var de_InterconnectList = /* @__PURE__ */ __name((output, context) => {
1794
1795
  }, "de_InterconnectList");
1795
1796
  var de_Interconnects = /* @__PURE__ */ __name((output, context) => {
1796
1797
  return (0, import_smithy_client.take)(output, {
1797
- interconnects: /* @__PURE__ */ __name((_) => de_InterconnectList(_, context), "interconnects")
1798
+ interconnects: /* @__PURE__ */ __name((_) => de_InterconnectList(_, context), "interconnects"),
1799
+ nextToken: import_smithy_client.expectString
1798
1800
  });
1799
1801
  }, "de_Interconnects");
1800
1802
  var de_Lag = /* @__PURE__ */ __name((output, context) => {
@@ -1830,7 +1832,8 @@ var de_LagList = /* @__PURE__ */ __name((output, context) => {
1830
1832
  }, "de_LagList");
1831
1833
  var de_Lags = /* @__PURE__ */ __name((output, context) => {
1832
1834
  return (0, import_smithy_client.take)(output, {
1833
- lags: /* @__PURE__ */ __name((_) => de_LagList(_, context), "lags")
1835
+ lags: /* @__PURE__ */ __name((_) => de_LagList(_, context), "lags"),
1836
+ nextToken: import_smithy_client.expectString
1834
1837
  });
1835
1838
  }, "de_Lags");
1836
1839
  var de_ListVirtualInterfaceTestHistoryResponse = /* @__PURE__ */ __name((output, context) => {
@@ -1299,6 +1299,7 @@ const de_ConnectionList = (output, context) => {
1299
1299
  const de_Connections = (output, context) => {
1300
1300
  return take(output, {
1301
1301
  connections: (_) => de_ConnectionList(_, context),
1302
+ nextToken: __expectString,
1302
1303
  });
1303
1304
  };
1304
1305
  const de_DescribeConnectionLoaResponse = (output, context) => {
@@ -1345,6 +1346,7 @@ const de_InterconnectList = (output, context) => {
1345
1346
  const de_Interconnects = (output, context) => {
1346
1347
  return take(output, {
1347
1348
  interconnects: (_) => de_InterconnectList(_, context),
1349
+ nextToken: __expectString,
1348
1350
  });
1349
1351
  };
1350
1352
  const de_Lag = (output, context) => {
@@ -1383,6 +1385,7 @@ const de_LagList = (output, context) => {
1383
1385
  const de_Lags = (output, context) => {
1384
1386
  return take(output, {
1385
1387
  lags: (_) => de_LagList(_, context),
1388
+ nextToken: __expectString,
1386
1389
  });
1387
1390
  };
1388
1391
  const de_ListVirtualInterfaceTestHistoryResponse = (output, context) => {
@@ -42,7 +42,8 @@ declare const AllocatePrivateVirtualInterfaceCommand_base: {
42
42
  * newPrivateVirtualInterfaceAllocation: { // NewPrivateVirtualInterfaceAllocation
43
43
  * virtualInterfaceName: "STRING_VALUE", // required
44
44
  * vlan: Number("int"), // required
45
- * asn: Number("int"), // required
45
+ * asn: Number("int"),
46
+ * asnLong: Number("long"),
46
47
  * mtu: Number("int"),
47
48
  * authKey: "STRING_VALUE",
48
49
  * amazonAddress: "STRING_VALUE",
@@ -67,6 +68,7 @@ declare const AllocatePrivateVirtualInterfaceCommand_base: {
67
68
  * // virtualInterfaceName: "STRING_VALUE",
68
69
  * // vlan: Number("int"),
69
70
  * // asn: Number("int"),
71
+ * // asnLong: Number("long"),
70
72
  * // amazonSideAsn: Number("long"),
71
73
  * // authKey: "STRING_VALUE",
72
74
  * // amazonAddress: "STRING_VALUE",
@@ -87,6 +89,7 @@ declare const AllocatePrivateVirtualInterfaceCommand_base: {
87
89
  * // { // BGPPeer
88
90
  * // bgpPeerId: "STRING_VALUE",
89
91
  * // asn: Number("int"),
92
+ * // asnLong: Number("long"),
90
93
  * // authKey: "STRING_VALUE",
91
94
  * // addressFamily: "ipv4" || "ipv6",
92
95
  * // amazonAddress: "STRING_VALUE",
@@ -45,7 +45,8 @@ declare const AllocatePublicVirtualInterfaceCommand_base: {
45
45
  * newPublicVirtualInterfaceAllocation: { // NewPublicVirtualInterfaceAllocation
46
46
  * virtualInterfaceName: "STRING_VALUE", // required
47
47
  * vlan: Number("int"), // required
48
- * asn: Number("int"), // required
48
+ * asn: Number("int"),
49
+ * asnLong: Number("long"),
49
50
  * authKey: "STRING_VALUE",
50
51
  * amazonAddress: "STRING_VALUE",
51
52
  * customerAddress: "STRING_VALUE",
@@ -74,6 +75,7 @@ declare const AllocatePublicVirtualInterfaceCommand_base: {
74
75
  * // virtualInterfaceName: "STRING_VALUE",
75
76
  * // vlan: Number("int"),
76
77
  * // asn: Number("int"),
78
+ * // asnLong: Number("long"),
77
79
  * // amazonSideAsn: Number("long"),
78
80
  * // authKey: "STRING_VALUE",
79
81
  * // amazonAddress: "STRING_VALUE",
@@ -94,6 +96,7 @@ declare const AllocatePublicVirtualInterfaceCommand_base: {
94
96
  * // { // BGPPeer
95
97
  * // bgpPeerId: "STRING_VALUE",
96
98
  * // asn: Number("int"),
99
+ * // asnLong: Number("long"),
97
100
  * // authKey: "STRING_VALUE",
98
101
  * // addressFamily: "ipv4" || "ipv6",
99
102
  * // amazonAddress: "STRING_VALUE",
@@ -43,6 +43,7 @@ declare const AllocateTransitVirtualInterfaceCommand_base: {
43
43
  * virtualInterfaceName: "STRING_VALUE",
44
44
  * vlan: Number("int"),
45
45
  * asn: Number("int"),
46
+ * asnLong: Number("long"),
46
47
  * mtu: Number("int"),
47
48
  * authKey: "STRING_VALUE",
48
49
  * amazonAddress: "STRING_VALUE",
@@ -68,6 +69,7 @@ declare const AllocateTransitVirtualInterfaceCommand_base: {
68
69
  * // virtualInterfaceName: "STRING_VALUE",
69
70
  * // vlan: Number("int"),
70
71
  * // asn: Number("int"),
72
+ * // asnLong: Number("long"),
71
73
  * // amazonSideAsn: Number("long"),
72
74
  * // authKey: "STRING_VALUE",
73
75
  * // amazonAddress: "STRING_VALUE",
@@ -88,6 +90,7 @@ declare const AllocateTransitVirtualInterfaceCommand_base: {
88
90
  * // { // BGPPeer
89
91
  * // bgpPeerId: "STRING_VALUE",
90
92
  * // asn: Number("int"),
93
+ * // asnLong: Number("long"),
91
94
  * // authKey: "STRING_VALUE",
92
95
  * // addressFamily: "ipv4" || "ipv6",
93
96
  * // amazonAddress: "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const AssociateVirtualInterfaceCommand_base: {
58
58
  * // virtualInterfaceName: "STRING_VALUE",
59
59
  * // vlan: Number("int"),
60
60
  * // asn: Number("int"),
61
+ * // asnLong: Number("long"),
61
62
  * // amazonSideAsn: Number("long"),
62
63
  * // authKey: "STRING_VALUE",
63
64
  * // amazonAddress: "STRING_VALUE",
@@ -78,6 +79,7 @@ declare const AssociateVirtualInterfaceCommand_base: {
78
79
  * // { // BGPPeer
79
80
  * // bgpPeerId: "STRING_VALUE",
80
81
  * // asn: Number("int"),
82
+ * // asnLong: Number("long"),
81
83
  * // authKey: "STRING_VALUE",
82
84
  * // addressFamily: "ipv4" || "ipv6",
83
85
  * // amazonAddress: "STRING_VALUE",
@@ -53,6 +53,7 @@ declare const CreateBGPPeerCommand_base: {
53
53
  * virtualInterfaceId: "STRING_VALUE",
54
54
  * newBGPPeer: { // NewBGPPeer
55
55
  * asn: Number("int"),
56
+ * asnLong: Number("long"),
56
57
  * authKey: "STRING_VALUE",
57
58
  * addressFamily: "ipv4" || "ipv6",
58
59
  * amazonAddress: "STRING_VALUE",
@@ -71,6 +72,7 @@ declare const CreateBGPPeerCommand_base: {
71
72
  * // virtualInterfaceName: "STRING_VALUE",
72
73
  * // vlan: Number("int"),
73
74
  * // asn: Number("int"),
75
+ * // asnLong: Number("long"),
74
76
  * // amazonSideAsn: Number("long"),
75
77
  * // authKey: "STRING_VALUE",
76
78
  * // amazonAddress: "STRING_VALUE",
@@ -91,6 +93,7 @@ declare const CreateBGPPeerCommand_base: {
91
93
  * // { // BGPPeer
92
94
  * // bgpPeerId: "STRING_VALUE",
93
95
  * // asn: Number("int"),
96
+ * // asnLong: Number("long"),
94
97
  * // authKey: "STRING_VALUE",
95
98
  * // addressFamily: "ipv4" || "ipv6",
96
99
  * // amazonAddress: "STRING_VALUE",
@@ -49,7 +49,8 @@ declare const CreatePrivateVirtualInterfaceCommand_base: {
49
49
  * newPrivateVirtualInterface: { // NewPrivateVirtualInterface
50
50
  * virtualInterfaceName: "STRING_VALUE", // required
51
51
  * vlan: Number("int"), // required
52
- * asn: Number("int"), // required
52
+ * asn: Number("int"),
53
+ * asnLong: Number("long"),
53
54
  * mtu: Number("int"),
54
55
  * authKey: "STRING_VALUE",
55
56
  * amazonAddress: "STRING_VALUE",
@@ -77,6 +78,7 @@ declare const CreatePrivateVirtualInterfaceCommand_base: {
77
78
  * // virtualInterfaceName: "STRING_VALUE",
78
79
  * // vlan: Number("int"),
79
80
  * // asn: Number("int"),
81
+ * // asnLong: Number("long"),
80
82
  * // amazonSideAsn: Number("long"),
81
83
  * // authKey: "STRING_VALUE",
82
84
  * // amazonAddress: "STRING_VALUE",
@@ -97,6 +99,7 @@ declare const CreatePrivateVirtualInterfaceCommand_base: {
97
99
  * // { // BGPPeer
98
100
  * // bgpPeerId: "STRING_VALUE",
99
101
  * // asn: Number("int"),
102
+ * // asnLong: Number("long"),
100
103
  * // authKey: "STRING_VALUE",
101
104
  * // addressFamily: "ipv4" || "ipv6",
102
105
  * // amazonAddress: "STRING_VALUE",
@@ -42,7 +42,8 @@ declare const CreatePublicVirtualInterfaceCommand_base: {
42
42
  * newPublicVirtualInterface: { // NewPublicVirtualInterface
43
43
  * virtualInterfaceName: "STRING_VALUE", // required
44
44
  * vlan: Number("int"), // required
45
- * asn: Number("int"), // required
45
+ * asn: Number("int"),
46
+ * asnLong: Number("long"),
46
47
  * authKey: "STRING_VALUE",
47
48
  * amazonAddress: "STRING_VALUE",
48
49
  * customerAddress: "STRING_VALUE",
@@ -71,6 +72,7 @@ declare const CreatePublicVirtualInterfaceCommand_base: {
71
72
  * // virtualInterfaceName: "STRING_VALUE",
72
73
  * // vlan: Number("int"),
73
74
  * // asn: Number("int"),
75
+ * // asnLong: Number("long"),
74
76
  * // amazonSideAsn: Number("long"),
75
77
  * // authKey: "STRING_VALUE",
76
78
  * // amazonAddress: "STRING_VALUE",
@@ -91,6 +93,7 @@ declare const CreatePublicVirtualInterfaceCommand_base: {
91
93
  * // { // BGPPeer
92
94
  * // bgpPeerId: "STRING_VALUE",
93
95
  * // asn: Number("int"),
96
+ * // asnLong: Number("long"),
94
97
  * // authKey: "STRING_VALUE",
95
98
  * // addressFamily: "ipv4" || "ipv6",
96
99
  * // amazonAddress: "STRING_VALUE",
@@ -49,6 +49,7 @@ declare const CreateTransitVirtualInterfaceCommand_base: {
49
49
  * virtualInterfaceName: "STRING_VALUE",
50
50
  * vlan: Number("int"),
51
51
  * asn: Number("int"),
52
+ * asnLong: Number("long"),
52
53
  * mtu: Number("int"),
53
54
  * authKey: "STRING_VALUE",
54
55
  * amazonAddress: "STRING_VALUE",
@@ -76,6 +77,7 @@ declare const CreateTransitVirtualInterfaceCommand_base: {
76
77
  * // virtualInterfaceName: "STRING_VALUE",
77
78
  * // vlan: Number("int"),
78
79
  * // asn: Number("int"),
80
+ * // asnLong: Number("long"),
79
81
  * // amazonSideAsn: Number("long"),
80
82
  * // authKey: "STRING_VALUE",
81
83
  * // amazonAddress: "STRING_VALUE",
@@ -96,6 +98,7 @@ declare const CreateTransitVirtualInterfaceCommand_base: {
96
98
  * // { // BGPPeer
97
99
  * // bgpPeerId: "STRING_VALUE",
98
100
  * // asn: Number("int"),
101
+ * // asnLong: Number("long"),
99
102
  * // authKey: "STRING_VALUE",
100
103
  * // addressFamily: "ipv4" || "ipv6",
101
104
  * // amazonAddress: "STRING_VALUE",
@@ -38,6 +38,7 @@ declare const DeleteBGPPeerCommand_base: {
38
38
  * const input = { // DeleteBGPPeerRequest
39
39
  * virtualInterfaceId: "STRING_VALUE",
40
40
  * asn: Number("int"),
41
+ * asnLong: Number("long"),
41
42
  * customerAddress: "STRING_VALUE",
42
43
  * bgpPeerId: "STRING_VALUE",
43
44
  * };
@@ -53,6 +54,7 @@ declare const DeleteBGPPeerCommand_base: {
53
54
  * // virtualInterfaceName: "STRING_VALUE",
54
55
  * // vlan: Number("int"),
55
56
  * // asn: Number("int"),
57
+ * // asnLong: Number("long"),
56
58
  * // amazonSideAsn: Number("long"),
57
59
  * // authKey: "STRING_VALUE",
58
60
  * // amazonAddress: "STRING_VALUE",
@@ -73,6 +75,7 @@ declare const DeleteBGPPeerCommand_base: {
73
75
  * // { // BGPPeer
74
76
  * // bgpPeerId: "STRING_VALUE",
75
77
  * // asn: Number("int"),
78
+ * // asnLong: Number("long"),
76
79
  * // authKey: "STRING_VALUE",
77
80
  * // addressFamily: "ipv4" || "ipv6",
78
81
  * // amazonAddress: "STRING_VALUE",
@@ -36,6 +36,8 @@ declare const DescribeConnectionsCommand_base: {
36
36
  * const client = new DirectConnectClient(config);
37
37
  * const input = { // DescribeConnectionsRequest
38
38
  * connectionId: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
39
41
  * };
40
42
  * const command = new DescribeConnectionsCommand(input);
41
43
  * const response = await client.send(command);
@@ -79,6 +81,7 @@ declare const DescribeConnectionsCommand_base: {
79
81
  * // partnerInterconnectMacSecCapable: true || false,
80
82
  * // },
81
83
  * // ],
84
+ * // nextToken: "STRING_VALUE",
82
85
  * // };
83
86
  *
84
87
  * ```
@@ -87,6 +87,7 @@ declare const DescribeConnectionsOnInterconnectCommand_base: {
87
87
  * // partnerInterconnectMacSecCapable: true || false,
88
88
  * // },
89
89
  * // ],
90
+ * // nextToken: "STRING_VALUE",
90
91
  * // };
91
92
  *
92
93
  * ```
@@ -40,6 +40,8 @@ declare const DescribeHostedConnectionsCommand_base: {
40
40
  * const client = new DirectConnectClient(config);
41
41
  * const input = { // DescribeHostedConnectionsRequest
42
42
  * connectionId: "STRING_VALUE", // required
43
+ * maxResults: Number("int"),
44
+ * nextToken: "STRING_VALUE",
43
45
  * };
44
46
  * const command = new DescribeHostedConnectionsCommand(input);
45
47
  * const response = await client.send(command);
@@ -83,6 +85,7 @@ declare const DescribeHostedConnectionsCommand_base: {
83
85
  * // partnerInterconnectMacSecCapable: true || false,
84
86
  * // },
85
87
  * // ],
88
+ * // nextToken: "STRING_VALUE",
86
89
  * // };
87
90
  *
88
91
  * ```
@@ -36,6 +36,8 @@ declare const DescribeInterconnectsCommand_base: {
36
36
  * const client = new DirectConnectClient(config);
37
37
  * const input = { // DescribeInterconnectsRequest
38
38
  * interconnectId: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
39
41
  * };
40
42
  * const command = new DescribeInterconnectsCommand(input);
41
43
  * const response = await client.send(command);
@@ -75,6 +77,7 @@ declare const DescribeInterconnectsCommand_base: {
75
77
  * // ],
76
78
  * // },
77
79
  * // ],
80
+ * // nextToken: "STRING_VALUE",
78
81
  * // };
79
82
  *
80
83
  * ```
@@ -36,6 +36,8 @@ declare const DescribeLagsCommand_base: {
36
36
  * const client = new DirectConnectClient(config);
37
37
  * const input = { // DescribeLagsRequest
38
38
  * lagId: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
39
41
  * };
40
42
  * const command = new DescribeLagsCommand(input);
41
43
  * const response = await client.send(command);
@@ -115,6 +117,7 @@ declare const DescribeLagsCommand_base: {
115
117
  * // ],
116
118
  * // },
117
119
  * // ],
120
+ * // nextToken: "STRING_VALUE",
118
121
  * // };
119
122
  *
120
123
  * ```
@@ -32,6 +32,14 @@ declare const DescribeVirtualInterfacesCommand_base: {
32
32
  * connection ID, only the virtual interfaces associated with the connection are returned.
33
33
  * If you specify a virtual interface ID, then only a single virtual interface is returned.</p>
34
34
  * <p>A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>If you're using an <code>asn</code>, the response includes ASN value in both the <code>asn</code> and <code>asnLong</code> fields.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>If you're using <code>asnLong</code>, the response returns a value of <code>0</code> (zero) for the <code>asn</code> attribute because it exceeds the highest ASN value of 2,147,483,647 that it can support</p>
41
+ * </li>
42
+ * </ul>
35
43
  * @example
36
44
  * Use a bare-bones client and the command you need to make an API call.
37
45
  * ```javascript
@@ -41,6 +49,8 @@ declare const DescribeVirtualInterfacesCommand_base: {
41
49
  * const input = { // DescribeVirtualInterfacesRequest
42
50
  * connectionId: "STRING_VALUE",
43
51
  * virtualInterfaceId: "STRING_VALUE",
52
+ * maxResults: Number("int"),
53
+ * nextToken: "STRING_VALUE",
44
54
  * };
45
55
  * const command = new DescribeVirtualInterfacesCommand(input);
46
56
  * const response = await client.send(command);
@@ -55,6 +65,7 @@ declare const DescribeVirtualInterfacesCommand_base: {
55
65
  * // virtualInterfaceName: "STRING_VALUE",
56
66
  * // vlan: Number("int"),
57
67
  * // asn: Number("int"),
68
+ * // asnLong: Number("long"),
58
69
  * // amazonSideAsn: Number("long"),
59
70
  * // authKey: "STRING_VALUE",
60
71
  * // amazonAddress: "STRING_VALUE",
@@ -75,6 +86,7 @@ declare const DescribeVirtualInterfacesCommand_base: {
75
86
  * // { // BGPPeer
76
87
  * // bgpPeerId: "STRING_VALUE",
77
88
  * // asn: Number("int"),
89
+ * // asnLong: Number("long"),
78
90
  * // authKey: "STRING_VALUE",
79
91
  * // addressFamily: "ipv4" || "ipv6",
80
92
  * // amazonAddress: "STRING_VALUE",
@@ -97,6 +109,7 @@ declare const DescribeVirtualInterfacesCommand_base: {
97
109
  * // siteLinkEnabled: true || false,
98
110
  * // },
99
111
  * // ],
112
+ * // nextToken: "STRING_VALUE",
100
113
  * // };
101
114
  *
102
115
  * ```
@@ -57,6 +57,7 @@ declare const UpdateVirtualInterfaceAttributesCommand_base: {
57
57
  * // virtualInterfaceName: "STRING_VALUE",
58
58
  * // vlan: Number("int"),
59
59
  * // asn: Number("int"),
60
+ * // asnLong: Number("long"),
60
61
  * // amazonSideAsn: Number("long"),
61
62
  * // authKey: "STRING_VALUE",
62
63
  * // amazonAddress: "STRING_VALUE",
@@ -77,6 +78,7 @@ declare const UpdateVirtualInterfaceAttributesCommand_base: {
77
78
  * // { // BGPPeer
78
79
  * // bgpPeerId: "STRING_VALUE",
79
80
  * // asn: Number("int"),
81
+ * // asnLong: Number("long"),
80
82
  * // authKey: "STRING_VALUE",
81
83
  * // addressFamily: "ipv4" || "ipv6",
82
84
  * // amazonAddress: "STRING_VALUE",
@@ -629,11 +629,44 @@ export interface NewPrivateVirtualInterfaceAllocation {
629
629
  */
630
630
  vlan: number | undefined;
631
631
  /**
632
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
633
- * <p>The valid values are 1-2147483647.</p>
632
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
633
+ * <note>
634
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
635
+ * <ul>
636
+ * <li>
637
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
638
+ * ranges.</p>
639
+ * </li>
640
+ * <li>
641
+ * <p>If you provide a value in the same API call for both <code>asn</code>
642
+ * and <code>asnLong</code>, the API will only accept the value for
643
+ * <code>asnLong</code>.</p>
644
+ * </li>
645
+ * </ul>
646
+ * </note>
647
+ * <p>The valid values are 1-2147483646.</p>
648
+ * @public
649
+ */
650
+ asn?: number | undefined;
651
+ /**
652
+ * <p>The ASN when allocating a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
653
+ * <note>
654
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
655
+ * <ul>
656
+ * <li>
657
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
658
+ * ranges.</p>
659
+ * </li>
660
+ * <li>
661
+ * <p>If you provide a value in the same API call for both <code>asn</code>
662
+ * and <code>asnLong</code>, the API will only accept the value for
663
+ * <code>asnLong</code>.</p>
664
+ * </li>
665
+ * </ul>
666
+ * </note>
634
667
  * @public
635
668
  */
636
- asn: number | undefined;
669
+ asnLong?: number | undefined;
637
670
  /**
638
671
  * <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.</p>
639
672
  * @public
@@ -724,10 +757,43 @@ export interface BGPPeer {
724
757
  */
725
758
  bgpPeerId?: string | undefined;
726
759
  /**
727
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
760
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
761
+ * <note>
762
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
763
+ * <ul>
764
+ * <li>
765
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
766
+ * ranges.</p>
767
+ * </li>
768
+ * <li>
769
+ * <p>If you provide a value in the same API call for both <code>asn</code>
770
+ * and <code>asnLong</code>, the API will only accept the value for
771
+ * <code>asnLong</code>.</p>
772
+ * </li>
773
+ * </ul>
774
+ * </note>
728
775
  * @public
729
776
  */
730
777
  asn?: number | undefined;
778
+ /**
779
+ * <p>The long ASN for the BGP peer. The valid range is from 1 to 4294967294 for BGP configuration. </p>
780
+ * <note>
781
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
782
+ * <ul>
783
+ * <li>
784
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
785
+ * ranges.</p>
786
+ * </li>
787
+ * <li>
788
+ * <p>If you provide a value in the same API call for both <code>asn</code>
789
+ * and <code>asnLong</code>, the API will only accept the value for
790
+ * <code>asnLong</code>.</p>
791
+ * </li>
792
+ * </ul>
793
+ * </note>
794
+ * @public
795
+ */
796
+ asnLong?: number | undefined;
731
797
  /**
732
798
  * <p>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.</p>
733
799
  * @public
@@ -868,13 +934,45 @@ export interface VirtualInterface {
868
934
  */
869
935
  vlan?: number | undefined;
870
936
  /**
871
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
872
- * <p>The valid values are 1-2147483647.</p>
937
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
938
+ * <note>
939
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
940
+ * <ul>
941
+ * <li>
942
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
943
+ * ranges.</p>
944
+ * </li>
945
+ * <li>
946
+ * <p>If you provide a value in the same API call for both <code>asn</code>
947
+ * and <code>asnLong</code>, the API will only accept the value for
948
+ * <code>asnLong</code>.</p>
949
+ * </li>
950
+ * </ul>
951
+ * </note>
873
952
  * @public
874
953
  */
875
954
  asn?: number | undefined;
876
955
  /**
877
- * <p>The autonomous system number (ASN) for the Amazon side of the connection.</p>
956
+ * <p>The long ASN for the virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
957
+ * <note>
958
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
959
+ * <ul>
960
+ * <li>
961
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
962
+ * ranges.</p>
963
+ * </li>
964
+ * <li>
965
+ * <p>If you provide a value in the same API call for both <code>asn</code>
966
+ * and <code>asnLong</code>, the API will only accept the value for
967
+ * <code>asnLong</code>.</p>
968
+ * </li>
969
+ * </ul>
970
+ * </note>
971
+ * @public
972
+ */
973
+ asnLong?: number | undefined;
974
+ /**
975
+ * <p>The autonomous system number (AS) for the Amazon side of the connection.</p>
878
976
  * @public
879
977
  */
880
978
  amazonSideAsn?: number | undefined;
@@ -1023,11 +1121,44 @@ export interface NewPublicVirtualInterfaceAllocation {
1023
1121
  */
1024
1122
  vlan: number | undefined;
1025
1123
  /**
1026
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
1027
- * <p>The valid values are 1-2147483647.</p>
1124
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
1125
+ * <note>
1126
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1127
+ * <ul>
1128
+ * <li>
1129
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1130
+ * ranges.</p>
1131
+ * </li>
1132
+ * <li>
1133
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1134
+ * and <code>asnLong</code>, the API will only accept the value for
1135
+ * <code>asnLong</code>.</p>
1136
+ * </li>
1137
+ * </ul>
1138
+ * </note>
1139
+ * <p>The valid values are 1-2147483646.</p>
1140
+ * @public
1141
+ */
1142
+ asn?: number | undefined;
1143
+ /**
1144
+ * <p>The ASN when allocating a new public virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
1145
+ * <note>
1146
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1147
+ * <ul>
1148
+ * <li>
1149
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1150
+ * ranges.</p>
1151
+ * </li>
1152
+ * <li>
1153
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1154
+ * and <code>asnLong</code>, the API will only accept the value for
1155
+ * <code>asnLong</code>.</p>
1156
+ * </li>
1157
+ * </ul>
1158
+ * </note>
1028
1159
  * @public
1029
1160
  */
1030
- asn: number | undefined;
1161
+ asnLong?: number | undefined;
1031
1162
  /**
1032
1163
  * <p>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.</p>
1033
1164
  * @public
@@ -1095,11 +1226,44 @@ export interface NewTransitVirtualInterfaceAllocation {
1095
1226
  */
1096
1227
  vlan?: number | undefined;
1097
1228
  /**
1098
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
1099
- * <p>The valid values are 1-2147483647.</p>
1229
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
1230
+ * <note>
1231
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1232
+ * <ul>
1233
+ * <li>
1234
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1235
+ * ranges.</p>
1236
+ * </li>
1237
+ * <li>
1238
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1239
+ * and <code>asnLong</code>, the API will only accept the value for
1240
+ * <code>asnLong</code>.</p>
1241
+ * </li>
1242
+ * </ul>
1243
+ * </note>
1244
+ * <p>The valid values are 1-2147483646.</p>
1100
1245
  * @public
1101
1246
  */
1102
1247
  asn?: number | undefined;
1248
+ /**
1249
+ * <p>The ASN when allocating a new transit virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
1250
+ * <note>
1251
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1252
+ * <ul>
1253
+ * <li>
1254
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1255
+ * ranges.</p>
1256
+ * </li>
1257
+ * <li>
1258
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1259
+ * and <code>asnLong</code>, the API will only accept the value for
1260
+ * <code>asnLong</code>.</p>
1261
+ * </li>
1262
+ * </ul>
1263
+ * </note>
1264
+ * @public
1265
+ */
1266
+ asnLong?: number | undefined;
1103
1267
  /**
1104
1268
  * <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500 </p>
1105
1269
  * @public
@@ -1549,6 +1713,11 @@ export interface Connections {
1549
1713
  * @public
1550
1714
  */
1551
1715
  connections?: Connection[] | undefined;
1716
+ /**
1717
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
1718
+ * @public
1719
+ */
1720
+ nextToken?: string | undefined;
1552
1721
  }
1553
1722
  /**
1554
1723
  * <p>Information about a new BGP peer.</p>
@@ -1556,10 +1725,15 @@ export interface Connections {
1556
1725
  */
1557
1726
  export interface NewBGPPeer {
1558
1727
  /**
1559
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
1728
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
1560
1729
  * @public
1561
1730
  */
1562
1731
  asn?: number | undefined;
1732
+ /**
1733
+ * <p>The long ASN for a new BGP peer. The valid range is from 1 to 4294967294.</p>
1734
+ * @public
1735
+ */
1736
+ asnLong?: number | undefined;
1563
1737
  /**
1564
1738
  * <p>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.</p>
1565
1739
  * @public
@@ -1699,7 +1873,7 @@ export interface DirectConnectGateway {
1699
1873
  */
1700
1874
  directConnectGatewayName?: string | undefined;
1701
1875
  /**
1702
- * <p>The autonomous system number (ASN) for the Amazon side of the connection.</p>
1876
+ * <p>The autonomous system number (AS) for the Amazon side of the connection.</p>
1703
1877
  * @public
1704
1878
  */
1705
1879
  amazonSideAsn?: number | undefined;
@@ -2329,11 +2503,44 @@ export interface NewPrivateVirtualInterface {
2329
2503
  */
2330
2504
  vlan: number | undefined;
2331
2505
  /**
2332
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
2333
- * <p>The valid values are 1-2147483647.</p>
2506
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2507
+ * <note>
2508
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2509
+ * <ul>
2510
+ * <li>
2511
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2512
+ * ranges.</p>
2513
+ * </li>
2514
+ * <li>
2515
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2516
+ * and <code>asnLong</code>, the API will only accept the value for
2517
+ * <code>asnLong</code>.</p>
2518
+ * </li>
2519
+ * </ul>
2520
+ * </note>
2521
+ * <p>The valid values are 1-2147483646.</p>
2522
+ * @public
2523
+ */
2524
+ asn?: number | undefined;
2525
+ /**
2526
+ * <p>The long ASN for a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
2527
+ * <note>
2528
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2529
+ * <ul>
2530
+ * <li>
2531
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2532
+ * ranges.</p>
2533
+ * </li>
2534
+ * <li>
2535
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2536
+ * and <code>asnLong</code>, the API will only accept the value for
2537
+ * <code>asnLong</code>.</p>
2538
+ * </li>
2539
+ * </ul>
2540
+ * </note>
2334
2541
  * @public
2335
2542
  */
2336
- asn: number | undefined;
2543
+ asnLong?: number | undefined;
2337
2544
  /**
2338
2545
  * <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.</p>
2339
2546
  * @public
@@ -2411,11 +2618,43 @@ export interface NewPublicVirtualInterface {
2411
2618
  */
2412
2619
  vlan: number | undefined;
2413
2620
  /**
2414
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
2415
- * <p>The valid values are 1-2147483647.</p>
2621
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2622
+ * <note>
2623
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2624
+ * <ul>
2625
+ * <li>
2626
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2627
+ * ranges.</p>
2628
+ * </li>
2629
+ * <li>
2630
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2631
+ * and <code>asnLong</code>, the API will only accept the value for
2632
+ * <code>asnLong</code>.</p>
2633
+ * </li>
2634
+ * </ul>
2635
+ * </note>
2416
2636
  * @public
2417
2637
  */
2418
- asn: number | undefined;
2638
+ asn?: number | undefined;
2639
+ /**
2640
+ * <p>The long ASN for a new public virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
2641
+ * <note>
2642
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2643
+ * <ul>
2644
+ * <li>
2645
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2646
+ * ranges.</p>
2647
+ * </li>
2648
+ * <li>
2649
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2650
+ * and <code>asnLong</code>, the API will only accept the value for
2651
+ * <code>asnLong</code>.</p>
2652
+ * </li>
2653
+ * </ul>
2654
+ * </note>
2655
+ * @public
2656
+ */
2657
+ asnLong?: number | undefined;
2419
2658
  /**
2420
2659
  * <p>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.</p>
2421
2660
  * @public
@@ -2478,11 +2717,43 @@ export interface NewTransitVirtualInterface {
2478
2717
  */
2479
2718
  vlan?: number | undefined;
2480
2719
  /**
2481
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
2482
- * <p>The valid values are 1-2147483647.</p>
2720
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2721
+ * <note>
2722
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2723
+ * <ul>
2724
+ * <li>
2725
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2726
+ * ranges.</p>
2727
+ * </li>
2728
+ * <li>
2729
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2730
+ * and <code>asnLong</code>, the API will only accept the value for
2731
+ * <code>asnLong</code>.</p>
2732
+ * </li>
2733
+ * </ul>
2734
+ * </note>
2483
2735
  * @public
2484
2736
  */
2485
2737
  asn?: number | undefined;
2738
+ /**
2739
+ * <p>The long ASN for a new transit virtual interface.The valid range is from 1 to 4294967294 for BGP configuration.</p>
2740
+ * <note>
2741
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2742
+ * <ul>
2743
+ * <li>
2744
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2745
+ * ranges.</p>
2746
+ * </li>
2747
+ * <li>
2748
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2749
+ * and <code>asnLong</code>, the API will only accept the value for
2750
+ * <code>asnLong</code>.</p>
2751
+ * </li>
2752
+ * </ul>
2753
+ * </note>
2754
+ * @public
2755
+ */
2756
+ asnLong?: number | undefined;
2486
2757
  /**
2487
2758
  * <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.</p>
2488
2759
  * @public
@@ -2559,10 +2830,43 @@ export interface DeleteBGPPeerRequest {
2559
2830
  */
2560
2831
  virtualInterfaceId?: string | undefined;
2561
2832
  /**
2562
- * <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
2833
+ * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2834
+ * <note>
2835
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2836
+ * <ul>
2837
+ * <li>
2838
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2839
+ * ranges.</p>
2840
+ * </li>
2841
+ * <li>
2842
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2843
+ * and <code>asnLong</code>, the API will only accept the value for
2844
+ * <code>asnLong</code>.</p>
2845
+ * </li>
2846
+ * </ul>
2847
+ * </note>
2563
2848
  * @public
2564
2849
  */
2565
2850
  asn?: number | undefined;
2851
+ /**
2852
+ * <p>The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration. </p>
2853
+ * <note>
2854
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2855
+ * <ul>
2856
+ * <li>
2857
+ * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2858
+ * ranges.</p>
2859
+ * </li>
2860
+ * <li>
2861
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2862
+ * and <code>asnLong</code>, the API will only accept the value for
2863
+ * <code>asnLong</code>.</p>
2864
+ * </li>
2865
+ * </ul>
2866
+ * </note>
2867
+ * @public
2868
+ */
2869
+ asnLong?: number | undefined;
2566
2870
  /**
2567
2871
  * <p>The IP address assigned to the customer interface.</p>
2568
2872
  * @public
@@ -2854,6 +3158,19 @@ export interface DescribeConnectionsRequest {
2854
3158
  * @public
2855
3159
  */
2856
3160
  connectionId?: string | undefined;
3161
+ /**
3162
+ * <p>The maximum number of results to return with a single call.
3163
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3164
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3165
+ * returned.</p>
3166
+ * @public
3167
+ */
3168
+ maxResults?: number | undefined;
3169
+ /**
3170
+ * <p>The token for the next page of results.</p>
3171
+ * @public
3172
+ */
3173
+ nextToken?: string | undefined;
2857
3174
  }
2858
3175
  /**
2859
3176
  * @public
@@ -3180,6 +3497,19 @@ export interface DescribeHostedConnectionsRequest {
3180
3497
  * @public
3181
3498
  */
3182
3499
  connectionId: string | undefined;
3500
+ /**
3501
+ * <p>The maximum number of results to return with a single call.
3502
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3503
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3504
+ * returned.</p>
3505
+ * @public
3506
+ */
3507
+ maxResults?: number | undefined;
3508
+ /**
3509
+ * <p>The token for the next page of results.</p>
3510
+ * @public
3511
+ */
3512
+ nextToken?: string | undefined;
3183
3513
  }
3184
3514
  /**
3185
3515
  * @public
@@ -3220,6 +3550,19 @@ export interface DescribeInterconnectsRequest {
3220
3550
  * @public
3221
3551
  */
3222
3552
  interconnectId?: string | undefined;
3553
+ /**
3554
+ * <p>The maximum number of results to return with a single call.
3555
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3556
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3557
+ * returned.</p>
3558
+ * @public
3559
+ */
3560
+ maxResults?: number | undefined;
3561
+ /**
3562
+ * <p>The token for the next page of results.</p>
3563
+ * @public
3564
+ */
3565
+ nextToken?: string | undefined;
3223
3566
  }
3224
3567
  /**
3225
3568
  * @public
@@ -3230,6 +3573,11 @@ export interface Interconnects {
3230
3573
  * @public
3231
3574
  */
3232
3575
  interconnects?: Interconnect[] | undefined;
3576
+ /**
3577
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
3578
+ * @public
3579
+ */
3580
+ nextToken?: string | undefined;
3233
3581
  }
3234
3582
  /**
3235
3583
  * @public
@@ -3240,6 +3588,19 @@ export interface DescribeLagsRequest {
3240
3588
  * @public
3241
3589
  */
3242
3590
  lagId?: string | undefined;
3591
+ /**
3592
+ * <p>The maximum number of results to return with a single call.
3593
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3594
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3595
+ * returned.</p>
3596
+ * @public
3597
+ */
3598
+ maxResults?: number | undefined;
3599
+ /**
3600
+ * <p>The token for the next page of results.</p>
3601
+ * @public
3602
+ */
3603
+ nextToken?: string | undefined;
3243
3604
  }
3244
3605
  /**
3245
3606
  * @public
@@ -3250,6 +3611,11 @@ export interface Lags {
3250
3611
  * @public
3251
3612
  */
3252
3613
  lags?: Lag[] | undefined;
3614
+ /**
3615
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
3616
+ * @public
3617
+ */
3618
+ nextToken?: string | undefined;
3253
3619
  }
3254
3620
  /**
3255
3621
  * @public
@@ -3489,6 +3855,19 @@ export interface DescribeVirtualInterfacesRequest {
3489
3855
  * @public
3490
3856
  */
3491
3857
  virtualInterfaceId?: string | undefined;
3858
+ /**
3859
+ * <p>The maximum number of results to return with a single call.
3860
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3861
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3862
+ * returned.</p>
3863
+ * @public
3864
+ */
3865
+ maxResults?: number | undefined;
3866
+ /**
3867
+ * <p>The token for the next page of results.</p>
3868
+ * @public
3869
+ */
3870
+ nextToken?: string | undefined;
3492
3871
  }
3493
3872
  /**
3494
3873
  * @public
@@ -3499,6 +3878,11 @@ export interface VirtualInterfaces {
3499
3878
  * @public
3500
3879
  */
3501
3880
  virtualInterfaces?: VirtualInterface[] | undefined;
3881
+ /**
3882
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
3883
+ * @public
3884
+ */
3885
+ nextToken?: string | undefined;
3502
3886
  }
3503
3887
  /**
3504
3888
  * @public
@@ -162,7 +162,8 @@ export declare class TooManyTagsException extends __BaseException {
162
162
  export interface NewPrivateVirtualInterfaceAllocation {
163
163
  virtualInterfaceName: string | undefined;
164
164
  vlan: number | undefined;
165
- asn: number | undefined;
165
+ asn?: number | undefined;
166
+ asnLong?: number | undefined;
166
167
  mtu?: number | undefined;
167
168
  authKey?: string | undefined;
168
169
  amazonAddress?: string | undefined;
@@ -194,6 +195,7 @@ export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
194
195
  export interface BGPPeer {
195
196
  bgpPeerId?: string | undefined;
196
197
  asn?: number | undefined;
198
+ asnLong?: number | undefined;
197
199
  authKey?: string | undefined;
198
200
  addressFamily?: AddressFamily | undefined;
199
201
  amazonAddress?: string | undefined;
@@ -226,6 +228,7 @@ export interface VirtualInterface {
226
228
  virtualInterfaceName?: string | undefined;
227
229
  vlan?: number | undefined;
228
230
  asn?: number | undefined;
231
+ asnLong?: number | undefined;
229
232
  amazonSideAsn?: number | undefined;
230
233
  authKey?: string | undefined;
231
234
  amazonAddress?: string | undefined;
@@ -248,7 +251,8 @@ export interface VirtualInterface {
248
251
  export interface NewPublicVirtualInterfaceAllocation {
249
252
  virtualInterfaceName: string | undefined;
250
253
  vlan: number | undefined;
251
- asn: number | undefined;
254
+ asn?: number | undefined;
255
+ asnLong?: number | undefined;
252
256
  authKey?: string | undefined;
253
257
  amazonAddress?: string | undefined;
254
258
  customerAddress?: string | undefined;
@@ -267,6 +271,7 @@ export interface NewTransitVirtualInterfaceAllocation {
267
271
  virtualInterfaceName?: string | undefined;
268
272
  vlan?: number | undefined;
269
273
  asn?: number | undefined;
274
+ asnLong?: number | undefined;
270
275
  mtu?: number | undefined;
271
276
  authKey?: string | undefined;
272
277
  amazonAddress?: string | undefined;
@@ -341,9 +346,11 @@ export interface ConfirmTransitVirtualInterfaceResponse {
341
346
  }
342
347
  export interface Connections {
343
348
  connections?: Connection[] | undefined;
349
+ nextToken?: string | undefined;
344
350
  }
345
351
  export interface NewBGPPeer {
346
352
  asn?: number | undefined;
353
+ asnLong?: number | undefined;
347
354
  authKey?: string | undefined;
348
355
  addressFamily?: AddressFamily | undefined;
349
356
  amazonAddress?: string | undefined;
@@ -519,7 +526,8 @@ export interface Lag {
519
526
  export interface NewPrivateVirtualInterface {
520
527
  virtualInterfaceName: string | undefined;
521
528
  vlan: number | undefined;
522
- asn: number | undefined;
529
+ asn?: number | undefined;
530
+ asnLong?: number | undefined;
523
531
  mtu?: number | undefined;
524
532
  authKey?: string | undefined;
525
533
  amazonAddress?: string | undefined;
@@ -537,7 +545,8 @@ export interface CreatePrivateVirtualInterfaceRequest {
537
545
  export interface NewPublicVirtualInterface {
538
546
  virtualInterfaceName: string | undefined;
539
547
  vlan: number | undefined;
540
- asn: number | undefined;
548
+ asn?: number | undefined;
549
+ asnLong?: number | undefined;
541
550
  authKey?: string | undefined;
542
551
  amazonAddress?: string | undefined;
543
552
  customerAddress?: string | undefined;
@@ -553,6 +562,7 @@ export interface NewTransitVirtualInterface {
553
562
  virtualInterfaceName?: string | undefined;
554
563
  vlan?: number | undefined;
555
564
  asn?: number | undefined;
565
+ asnLong?: number | undefined;
556
566
  mtu?: number | undefined;
557
567
  authKey?: string | undefined;
558
568
  amazonAddress?: string | undefined;
@@ -572,6 +582,7 @@ export interface CreateTransitVirtualInterfaceResult {
572
582
  export interface DeleteBGPPeerRequest {
573
583
  virtualInterfaceId?: string | undefined;
574
584
  asn?: number | undefined;
585
+ asnLong?: number | undefined;
575
586
  customerAddress?: string | undefined;
576
587
  bgpPeerId?: string | undefined;
577
588
  }
@@ -637,6 +648,8 @@ export interface DescribeConnectionLoaResponse {
637
648
  }
638
649
  export interface DescribeConnectionsRequest {
639
650
  connectionId?: string | undefined;
651
+ maxResults?: number | undefined;
652
+ nextToken?: string | undefined;
640
653
  }
641
654
  export interface DescribeConnectionsOnInterconnectRequest {
642
655
  interconnectId: string | undefined;
@@ -725,6 +738,8 @@ export interface DescribeDirectConnectGatewaysResult {
725
738
  }
726
739
  export interface DescribeHostedConnectionsRequest {
727
740
  connectionId: string | undefined;
741
+ maxResults?: number | undefined;
742
+ nextToken?: string | undefined;
728
743
  }
729
744
  export interface DescribeInterconnectLoaRequest {
730
745
  interconnectId: string | undefined;
@@ -736,15 +751,21 @@ export interface DescribeInterconnectLoaResponse {
736
751
  }
737
752
  export interface DescribeInterconnectsRequest {
738
753
  interconnectId?: string | undefined;
754
+ maxResults?: number | undefined;
755
+ nextToken?: string | undefined;
739
756
  }
740
757
  export interface Interconnects {
741
758
  interconnects?: Interconnect[] | undefined;
759
+ nextToken?: string | undefined;
742
760
  }
743
761
  export interface DescribeLagsRequest {
744
762
  lagId?: string | undefined;
763
+ maxResults?: number | undefined;
764
+ nextToken?: string | undefined;
745
765
  }
746
766
  export interface Lags {
747
767
  lags?: Lag[] | undefined;
768
+ nextToken?: string | undefined;
748
769
  }
749
770
  export interface DescribeLoaRequest {
750
771
  connectionId: string | undefined;
@@ -800,9 +821,12 @@ export interface VirtualGateways {
800
821
  export interface DescribeVirtualInterfacesRequest {
801
822
  connectionId?: string | undefined;
802
823
  virtualInterfaceId?: string | undefined;
824
+ maxResults?: number | undefined;
825
+ nextToken?: string | undefined;
803
826
  }
804
827
  export interface VirtualInterfaces {
805
828
  virtualInterfaces?: VirtualInterface[] | undefined;
829
+ nextToken?: string | undefined;
806
830
  }
807
831
  export interface DisassociateConnectionFromLagRequest {
808
832
  connectionId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-direct-connect",
3
3
  "description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
4
- "version": "3.864.0",
4
+ "version": "3.872.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-direct-connect",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.864.0",
24
- "@aws-sdk/credential-provider-node": "3.864.0",
24
+ "@aws-sdk/credential-provider-node": "3.872.0",
25
25
  "@aws-sdk/middleware-host-header": "3.862.0",
26
26
  "@aws-sdk/middleware-logger": "3.862.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.862.0",