@aws-sdk/client-direct-connect 3.1100.0 → 3.1102.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/README.md CHANGED
@@ -27,16 +27,16 @@ To install this package, use the CLI of your favorite package manager:
27
27
 
28
28
  The AWS SDK is modulized by clients and commands.
29
29
  To send a request, you only need to import the `DirectConnectClient` and
30
- the commands you need, for example `ListVirtualInterfaceTestHistoryCommand`:
30
+ the commands you need, for example `ListVirtualInterfaceRoutesCommand`:
31
31
 
32
32
  ```js
33
33
  // ES5 example
34
- const { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } = require("@aws-sdk/client-direct-connect");
34
+ const { DirectConnectClient, ListVirtualInterfaceRoutesCommand } = require("@aws-sdk/client-direct-connect");
35
35
  ```
36
36
 
37
37
  ```ts
38
38
  // ES6+ example
39
- import { DirectConnectClient, ListVirtualInterfaceTestHistoryCommand } from "@aws-sdk/client-direct-connect";
39
+ import { DirectConnectClient, ListVirtualInterfaceRoutesCommand } from "@aws-sdk/client-direct-connect";
40
40
  ```
41
41
 
42
42
  ### Usage
@@ -53,7 +53,7 @@ To send a request:
53
53
  const client = new DirectConnectClient({ region: "REGION" });
54
54
 
55
55
  const params = { /** input parameters */ };
56
- const command = new ListVirtualInterfaceTestHistoryCommand(params);
56
+ const command = new ListVirtualInterfaceRoutesCommand(params);
57
57
  ```
58
58
 
59
59
  #### Async/await
@@ -109,7 +109,7 @@ const client = new DirectConnect({ region: "REGION" });
109
109
 
110
110
  // async/await.
111
111
  try {
112
- const data = await client.listVirtualInterfaceTestHistory(params);
112
+ const data = await client.listVirtualInterfaceRoutes(params);
113
113
  // process data.
114
114
  } catch (error) {
115
115
  // error handling.
@@ -117,7 +117,7 @@ try {
117
117
 
118
118
  // Promises.
119
119
  client
120
- .listVirtualInterfaceTestHistory(params)
120
+ .listVirtualInterfaceRoutes(params)
121
121
  .then((data) => {
122
122
  // process data.
123
123
  })
@@ -126,7 +126,7 @@ client
126
126
  });
127
127
 
128
128
  // callbacks (not recommended).
129
- client.listVirtualInterfaceTestHistory(params, (err, data) => {
129
+ client.listVirtualInterfaceRoutes(params, (err, data) => {
130
130
  // process err and data.
131
131
  });
132
132
  ```
@@ -557,6 +557,13 @@ DisassociateMacSecKey
557
557
  </details>
558
558
  <details>
559
559
  <summary>
560
+ ListVirtualInterfaceRoutes
561
+ </summary>
562
+
563
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/direct-connect/command/ListVirtualInterfaceRoutesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-direct-connect/Interface/ListVirtualInterfaceRoutesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-direct-connect/Interface/ListVirtualInterfaceRoutesCommandOutput/)
564
+ </details>
565
+ <details>
566
+ <summary>
560
567
  ListVirtualInterfaceTestHistory
561
568
  </summary>
562
569
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1099.0";
72
+ var version = "3.1101.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -216,6 +216,8 @@ const _AL = "AgreementList";
216
216
  const _AMSK = "AssociateMacSecKey";
217
217
  const _AMSKR = "AssociateMacSecKeyRequest";
218
218
  const _AMSKRs = "AssociateMacSecKeyResponse";
219
+ const _APS = "AsPathSegment";
220
+ const _APSL = "AsPathSegmentList";
219
221
  const _APVI = "AllocatePrivateVirtualInterface";
220
222
  const _APVIR = "AllocatePrivateVirtualInterfaceRequest";
221
223
  const _APVIRl = "AllocatePublicVirtualInterfaceRequest";
@@ -358,6 +360,9 @@ const _L = "Lag";
358
360
  const _LEE = "LimitExceededException";
359
361
  const _LL = "LagList";
360
362
  const _LLo = "LocationList";
363
+ const _LVIR = "ListVirtualInterfaceRoutes";
364
+ const _LVIRR = "ListVirtualInterfaceRoutesRequest";
365
+ const _LVIRRi = "ListVirtualInterfaceRoutesResponse";
361
366
  const _LVITH = "ListVirtualInterfaceTestHistory";
362
367
  const _LVITHR = "ListVirtualInterfaceTestHistoryRequest";
363
368
  const _LVITHRi = "ListVirtualInterfaceTestHistoryResponse";
@@ -374,8 +379,11 @@ const _NPVIAe = "NewPublicVirtualInterfaceAllocation";
374
379
  const _NPVIe = "NewPublicVirtualInterface";
375
380
  const _NTVI = "NewTransitVirtualInterface";
376
381
  const _NTVIA = "NewTransitVirtualInterfaceAllocation";
382
+ const _R = "Route";
383
+ const _RF = "RouteFilters";
377
384
  const _RFP = "RouteFilterPrefix";
378
385
  const _RFPL = "RouteFilterPrefixList";
386
+ const _RL = "RouteList";
379
387
  const _RLS = "RateLimiterStatus";
380
388
  const _RT = "ResourceTag";
381
389
  const _RTL = "ResourceTagList";
@@ -436,6 +444,7 @@ const _aN = "agreementName";
436
444
  const _aP = "availableProviders";
437
445
  const _aPS = "availablePortSpeeds";
438
446
  const _aPTDCG = "allowedPrefixesToDirectConnectGateway";
447
+ const _aPs = "asPath";
439
448
  const _aS = "associationState";
440
449
  const _aSA = "amazonSideAsn";
441
450
  const _aSt = "attachmentState";
@@ -456,8 +465,10 @@ const _cRC = "customerRouterConfig";
456
465
  const _cS = "connectionState";
457
466
  const _ca = "cak";
458
467
  const _ci = "cidr";
468
+ const _cid = "cidrs";
459
469
  const _ck = "ckn";
460
470
  const _co = "connections";
471
+ const _com = "communities";
461
472
  const _dCG = "directConnectGateway";
462
473
  const _dCGA = "directConnectGatewayAssociation";
463
474
  const _dCGAP = "directConnectGatewayAssociationProposal";
@@ -474,6 +485,7 @@ const _eAPTDCG = "existingAllowedPrefixesToDirectConnectGateway";
474
485
  const _eM = "encryptionMode";
475
486
  const _eSL = "enableSiteLink";
476
487
  const _eT = "endTime";
488
+ const _f = "filters";
477
489
  const _gI = "gatewayId";
478
490
  const _hE = "httpError";
479
491
  const _hLR = "hasLogicalRedundancy";
@@ -517,7 +529,7 @@ const _nTVI = "newTransitVirtualInterface";
517
529
  const _nTVIA = "newTransitVirtualInterfaceAllocation";
518
530
  const _oA = "ownerAccount";
519
531
  const _oAPTDCG = "overrideAllowedPrefixesToDirectConnectGateway";
520
- const _p = "platform";
532
+ const _p = "path";
521
533
  const _pCI = "parentConnectionId";
522
534
  const _pES = "portEncryptionStatus";
523
535
  const _pI = "proposalId";
@@ -525,12 +537,16 @@ const _pIMSC = "partnerInterconnectMacSecCapable";
525
537
  const _pN = "partnerName";
526
538
  const _pNr = "providerName";
527
539
  const _pS = "proposalState";
540
+ const _pT = "pathType";
541
+ const _pl = "platform";
528
542
  const _r = "region";
529
543
  const _rA = "resourceArns";
530
544
  const _rAPTDCG = "removeAllowedPrefixesToDirectConnectGateway";
531
545
  const _rAPTDCGe = "requestedAllowedPrefixesToDirectConnectGateway";
532
546
  const _rAe = "resourceArn";
547
+ const _rD = "routeDirection";
533
548
  const _rFP = "routeFilterPrefixes";
549
+ const _rIA = "routeInstalledAt";
534
550
  const _rL = "rateLimit";
535
551
  const _rLS = "rateLimiterStatus";
536
552
  const _rMACS = "requestMACSec";
@@ -538,6 +554,7 @@ const _rT = "resourceTags";
538
554
  const _rTI = "routerTypeIdentifier";
539
555
  const _re = "remaining";
540
556
  const _ro = "router";
557
+ const _rou = "routes";
541
558
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.directconnect";
542
559
  const _sARN = "secretARN";
543
560
  const _sCE = "stateChangeError";
@@ -653,6 +670,11 @@ var AllocateTransitVirtualInterfaceResult$ = [3, n0, _ATVIRl,
653
670
  [_vI],
654
671
  [() => VirtualInterface$]
655
672
  ];
673
+ var AsPathSegment$ = [3, n0, _APS,
674
+ 0,
675
+ [_pT, _p],
676
+ [0, 64 | 1]
677
+ ];
656
678
  var AssociateConnectionWithLagRequest$ = [3, n0, _ACWLR,
657
679
  0,
658
680
  [_cI, _lI],
@@ -1078,6 +1100,16 @@ var Lags$ = [3, n0, _La,
1078
1100
  [_la, _nT],
1079
1101
  [() => LagList, 0]
1080
1102
  ];
1103
+ var ListVirtualInterfaceRoutesRequest$ = [3, n0, _LVIRR,
1104
+ 0,
1105
+ [_vII, _f, _mR, _nT],
1106
+ [0, () => RouteFilters$, 1, 0]
1107
+ ];
1108
+ var ListVirtualInterfaceRoutesResponse$ = [3, n0, _LVIRRi,
1109
+ 0,
1110
+ [_vII, _rou, _nT],
1111
+ [0, () => RouteList, 0]
1112
+ ];
1081
1113
  var ListVirtualInterfaceTestHistoryRequest$ = [3, n0, _LVITHR,
1082
1114
  0,
1083
1115
  [_tI, _vII, _bP, _st, _mR, _nT],
@@ -1153,14 +1185,24 @@ var ResourceTag$ = [3, n0, _RT,
1153
1185
  [_rAe, _t],
1154
1186
  [0, () => TagList]
1155
1187
  ];
1188
+ var Route$ = [3, n0, _R,
1189
+ 0,
1190
+ [_ci, _rD, _aF, _aPs, _com, _aLDI, _rIA],
1191
+ [0, 0, 0, () => AsPathSegmentList, 64 | 0, 0, 4]
1192
+ ];
1156
1193
  var RouteFilterPrefix$ = [3, n0, _RFP,
1157
1194
  0,
1158
1195
  [_ci],
1159
1196
  [0]
1160
1197
  ];
1198
+ var RouteFilters$ = [3, n0, _RF,
1199
+ 0,
1200
+ [_rD, _aF, _cid, _aPs, _com],
1201
+ [0, 0, 64 | 0, 64 | 1, 64 | 0]
1202
+ ];
1161
1203
  var RouterType$ = [3, n0, _RTo,
1162
1204
  0,
1163
- [_ve, _p, _so, _xTN, _xTNFMS, _rTI],
1205
+ [_ve, _pl, _so, _xTN, _xTNFMS, _rTI],
1164
1206
  [0, 0, 0, 0, 0, 0]
1165
1207
  ];
1166
1208
  var StartBgpFailoverTestRequest$ = [3, n0, _SBFTR,
@@ -1272,6 +1314,9 @@ var __Unit = "unit";
1272
1314
  var AgreementList = [1, n0, _AL,
1273
1315
  0, () => CustomerAgreement$
1274
1316
  ];
1317
+ var AsPathSegmentList = [1, n0, _APSL,
1318
+ 0, () => AsPathSegment$
1319
+ ];
1275
1320
  var BGPPeerList = [1, n0, _BGPPL,
1276
1321
  0, () => BGPPeer$
1277
1322
  ];
@@ -1308,6 +1353,9 @@ var ResourceTagList = [1, n0, _RTL,
1308
1353
  var RouteFilterPrefixList = [1, n0, _RFPL,
1309
1354
  0, () => RouteFilterPrefix$
1310
1355
  ];
1356
+ var RouteList = [1, n0, _RL,
1357
+ 0, () => Route$
1358
+ ];
1311
1359
  var TagList = [1, n0, _TL,
1312
1360
  0, () => Tag$
1313
1361
  ];
@@ -1479,6 +1527,9 @@ var DisassociateConnectionFromLag$ = [9, n0, _DCFL,
1479
1527
  var DisassociateMacSecKey$ = [9, n0, _DMSK,
1480
1528
  0, () => DisassociateMacSecKeyRequest$, () => DisassociateMacSecKeyResponse$
1481
1529
  ];
1530
+ var ListVirtualInterfaceRoutes$ = [9, n0, _LVIR,
1531
+ 0, () => ListVirtualInterfaceRoutesRequest$, () => ListVirtualInterfaceRoutesResponse$
1532
+ ];
1482
1533
  var ListVirtualInterfaceTestHistory$ = [9, n0, _LVITH,
1483
1534
  0, () => ListVirtualInterfaceTestHistoryRequest$, () => ListVirtualInterfaceTestHistoryResponse$
1484
1535
  ];
@@ -1820,6 +1871,9 @@ class DisassociateConnectionFromLagCommand extends command(_ep0, _mw0, "Disassoc
1820
1871
  class DisassociateMacSecKeyCommand extends command(_ep0, _mw0, "DisassociateMacSecKey", DisassociateMacSecKey$) {
1821
1872
  }
1822
1873
 
1874
+ class ListVirtualInterfaceRoutesCommand extends command(_ep0, _mw0, "ListVirtualInterfaceRoutes", ListVirtualInterfaceRoutes$) {
1875
+ }
1876
+
1823
1877
  class ListVirtualInterfaceTestHistoryCommand extends command(_ep0, _mw0, "ListVirtualInterfaceTestHistory", ListVirtualInterfaceTestHistory$) {
1824
1878
  }
1825
1879
 
@@ -1904,6 +1958,7 @@ const commands = {
1904
1958
  DescribeVirtualInterfacesCommand,
1905
1959
  DisassociateConnectionFromLagCommand,
1906
1960
  DisassociateMacSecKeyCommand,
1961
+ ListVirtualInterfaceRoutesCommand,
1907
1962
  ListVirtualInterfaceTestHistoryCommand,
1908
1963
  StartBgpFailoverTestCommand,
1909
1964
  StopBgpFailoverTestCommand,
@@ -1974,6 +2029,10 @@ const VirtualInterfaceState = {
1974
2029
  unknown: "unknown",
1975
2030
  verifying: "verifying",
1976
2031
  };
2032
+ const AsPathType = {
2033
+ Seq: "seq",
2034
+ Set: "set",
2035
+ };
1977
2036
  const DirectConnectGatewayState = {
1978
2037
  available: "available",
1979
2038
  deleted: "deleted",
@@ -2021,6 +2080,10 @@ const DirectConnectGatewayAttachmentType = {
2021
2080
  PrivateVirtualInterface: "PrivateVirtualInterface",
2022
2081
  TransitVirtualInterface: "TransitVirtualInterface",
2023
2082
  };
2083
+ const RouteDirection = {
2084
+ Accepted: "accepted",
2085
+ Advertised: "advertised",
2086
+ };
2024
2087
 
2025
2088
  exports.AcceptDirectConnectGatewayAssociationProposal$ = AcceptDirectConnectGatewayAssociationProposal$;
2026
2089
  exports.AcceptDirectConnectGatewayAssociationProposalCommand = AcceptDirectConnectGatewayAssociationProposalCommand;
@@ -2043,6 +2106,8 @@ exports.AllocateTransitVirtualInterface$ = AllocateTransitVirtualInterface$;
2043
2106
  exports.AllocateTransitVirtualInterfaceCommand = AllocateTransitVirtualInterfaceCommand;
2044
2107
  exports.AllocateTransitVirtualInterfaceRequest$ = AllocateTransitVirtualInterfaceRequest$;
2045
2108
  exports.AllocateTransitVirtualInterfaceResult$ = AllocateTransitVirtualInterfaceResult$;
2109
+ exports.AsPathSegment$ = AsPathSegment$;
2110
+ exports.AsPathType = AsPathType;
2046
2111
  exports.AssociateConnectionWithLag$ = AssociateConnectionWithLag$;
2047
2112
  exports.AssociateConnectionWithLagCommand = AssociateConnectionWithLagCommand;
2048
2113
  exports.AssociateConnectionWithLagRequest$ = AssociateConnectionWithLagRequest$;
@@ -2246,6 +2311,10 @@ exports.LagState = LagState;
2246
2311
  exports.Lags$ = Lags$;
2247
2312
  exports.LimitExceededException = LimitExceededException;
2248
2313
  exports.LimitExceededException$ = LimitExceededException$;
2314
+ exports.ListVirtualInterfaceRoutes$ = ListVirtualInterfaceRoutes$;
2315
+ exports.ListVirtualInterfaceRoutesCommand = ListVirtualInterfaceRoutesCommand;
2316
+ exports.ListVirtualInterfaceRoutesRequest$ = ListVirtualInterfaceRoutesRequest$;
2317
+ exports.ListVirtualInterfaceRoutesResponse$ = ListVirtualInterfaceRoutesResponse$;
2249
2318
  exports.ListVirtualInterfaceTestHistory$ = ListVirtualInterfaceTestHistory$;
2250
2319
  exports.ListVirtualInterfaceTestHistoryCommand = ListVirtualInterfaceTestHistoryCommand;
2251
2320
  exports.ListVirtualInterfaceTestHistoryRequest$ = ListVirtualInterfaceTestHistoryRequest$;
@@ -2265,7 +2334,10 @@ exports.NewTransitVirtualInterfaceAllocation$ = NewTransitVirtualInterfaceAlloca
2265
2334
  exports.NniPartnerType = NniPartnerType;
2266
2335
  exports.RateLimiterStatus$ = RateLimiterStatus$;
2267
2336
  exports.ResourceTag$ = ResourceTag$;
2337
+ exports.Route$ = Route$;
2338
+ exports.RouteDirection = RouteDirection;
2268
2339
  exports.RouteFilterPrefix$ = RouteFilterPrefix$;
2340
+ exports.RouteFilters$ = RouteFilters$;
2269
2341
  exports.RouterType$ = RouterType$;
2270
2342
  exports.StartBgpFailoverTest$ = StartBgpFailoverTest$;
2271
2343
  exports.StartBgpFailoverTestCommand = StartBgpFailoverTestCommand;
@@ -52,6 +52,7 @@ import { DescribeVirtualGatewaysCommand, } from "./commands/DescribeVirtualGatew
52
52
  import { DescribeVirtualInterfacesCommand, } from "./commands/DescribeVirtualInterfacesCommand";
53
53
  import { DisassociateConnectionFromLagCommand, } from "./commands/DisassociateConnectionFromLagCommand";
54
54
  import { DisassociateMacSecKeyCommand, } from "./commands/DisassociateMacSecKeyCommand";
55
+ import { ListVirtualInterfaceRoutesCommand, } from "./commands/ListVirtualInterfaceRoutesCommand";
55
56
  import { ListVirtualInterfaceTestHistoryCommand, } from "./commands/ListVirtualInterfaceTestHistoryCommand";
56
57
  import { StartBgpFailoverTestCommand, } from "./commands/StartBgpFailoverTestCommand";
57
58
  import { StopBgpFailoverTestCommand, } from "./commands/StopBgpFailoverTestCommand";
@@ -117,6 +118,7 @@ const commands = {
117
118
  DescribeVirtualInterfacesCommand,
118
119
  DisassociateConnectionFromLagCommand,
119
120
  DisassociateMacSecKeyCommand,
121
+ ListVirtualInterfaceRoutesCommand,
120
122
  ListVirtualInterfaceTestHistoryCommand,
121
123
  StartBgpFailoverTestCommand,
122
124
  StopBgpFailoverTestCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListVirtualInterfaceRoutes$ } from "../schemas/schemas_0";
3
+ export class ListVirtualInterfaceRoutesCommand extends command(_ep0, _mw0, "ListVirtualInterfaceRoutes", ListVirtualInterfaceRoutes$) {
4
+ }
@@ -51,6 +51,7 @@ export * from "./DescribeVirtualGatewaysCommand";
51
51
  export * from "./DescribeVirtualInterfacesCommand";
52
52
  export * from "./DisassociateConnectionFromLagCommand";
53
53
  export * from "./DisassociateMacSecKeyCommand";
54
+ export * from "./ListVirtualInterfaceRoutesCommand";
54
55
  export * from "./ListVirtualInterfaceTestHistoryCommand";
55
56
  export * from "./StartBgpFailoverTestCommand";
56
57
  export * from "./StopBgpFailoverTestCommand";
@@ -53,6 +53,10 @@ export const VirtualInterfaceState = {
53
53
  unknown: "unknown",
54
54
  verifying: "verifying",
55
55
  };
56
+ export const AsPathType = {
57
+ Seq: "seq",
58
+ Set: "set",
59
+ };
56
60
  export const DirectConnectGatewayState = {
57
61
  available: "available",
58
62
  deleted: "deleted",
@@ -100,3 +104,7 @@ export const DirectConnectGatewayAttachmentType = {
100
104
  PrivateVirtualInterface: "PrivateVirtualInterface",
101
105
  TransitVirtualInterface: "TransitVirtualInterface",
102
106
  };
107
+ export const RouteDirection = {
108
+ Accepted: "accepted",
109
+ Advertised: "advertised",
110
+ };
@@ -15,6 +15,8 @@ const _AL = "AgreementList";
15
15
  const _AMSK = "AssociateMacSecKey";
16
16
  const _AMSKR = "AssociateMacSecKeyRequest";
17
17
  const _AMSKRs = "AssociateMacSecKeyResponse";
18
+ const _APS = "AsPathSegment";
19
+ const _APSL = "AsPathSegmentList";
18
20
  const _APVI = "AllocatePrivateVirtualInterface";
19
21
  const _APVIR = "AllocatePrivateVirtualInterfaceRequest";
20
22
  const _APVIRl = "AllocatePublicVirtualInterfaceRequest";
@@ -157,6 +159,9 @@ const _L = "Lag";
157
159
  const _LEE = "LimitExceededException";
158
160
  const _LL = "LagList";
159
161
  const _LLo = "LocationList";
162
+ const _LVIR = "ListVirtualInterfaceRoutes";
163
+ const _LVIRR = "ListVirtualInterfaceRoutesRequest";
164
+ const _LVIRRi = "ListVirtualInterfaceRoutesResponse";
160
165
  const _LVITH = "ListVirtualInterfaceTestHistory";
161
166
  const _LVITHR = "ListVirtualInterfaceTestHistoryRequest";
162
167
  const _LVITHRi = "ListVirtualInterfaceTestHistoryResponse";
@@ -173,8 +178,11 @@ const _NPVIAe = "NewPublicVirtualInterfaceAllocation";
173
178
  const _NPVIe = "NewPublicVirtualInterface";
174
179
  const _NTVI = "NewTransitVirtualInterface";
175
180
  const _NTVIA = "NewTransitVirtualInterfaceAllocation";
181
+ const _R = "Route";
182
+ const _RF = "RouteFilters";
176
183
  const _RFP = "RouteFilterPrefix";
177
184
  const _RFPL = "RouteFilterPrefixList";
185
+ const _RL = "RouteList";
178
186
  const _RLS = "RateLimiterStatus";
179
187
  const _RT = "ResourceTag";
180
188
  const _RTL = "ResourceTagList";
@@ -235,6 +243,7 @@ const _aN = "agreementName";
235
243
  const _aP = "availableProviders";
236
244
  const _aPS = "availablePortSpeeds";
237
245
  const _aPTDCG = "allowedPrefixesToDirectConnectGateway";
246
+ const _aPs = "asPath";
238
247
  const _aS = "associationState";
239
248
  const _aSA = "amazonSideAsn";
240
249
  const _aSt = "attachmentState";
@@ -255,8 +264,10 @@ const _cRC = "customerRouterConfig";
255
264
  const _cS = "connectionState";
256
265
  const _ca = "cak";
257
266
  const _ci = "cidr";
267
+ const _cid = "cidrs";
258
268
  const _ck = "ckn";
259
269
  const _co = "connections";
270
+ const _com = "communities";
260
271
  const _dCG = "directConnectGateway";
261
272
  const _dCGA = "directConnectGatewayAssociation";
262
273
  const _dCGAP = "directConnectGatewayAssociationProposal";
@@ -273,6 +284,7 @@ const _eAPTDCG = "existingAllowedPrefixesToDirectConnectGateway";
273
284
  const _eM = "encryptionMode";
274
285
  const _eSL = "enableSiteLink";
275
286
  const _eT = "endTime";
287
+ const _f = "filters";
276
288
  const _gI = "gatewayId";
277
289
  const _hE = "httpError";
278
290
  const _hLR = "hasLogicalRedundancy";
@@ -316,7 +328,7 @@ const _nTVI = "newTransitVirtualInterface";
316
328
  const _nTVIA = "newTransitVirtualInterfaceAllocation";
317
329
  const _oA = "ownerAccount";
318
330
  const _oAPTDCG = "overrideAllowedPrefixesToDirectConnectGateway";
319
- const _p = "platform";
331
+ const _p = "path";
320
332
  const _pCI = "parentConnectionId";
321
333
  const _pES = "portEncryptionStatus";
322
334
  const _pI = "proposalId";
@@ -324,12 +336,16 @@ const _pIMSC = "partnerInterconnectMacSecCapable";
324
336
  const _pN = "partnerName";
325
337
  const _pNr = "providerName";
326
338
  const _pS = "proposalState";
339
+ const _pT = "pathType";
340
+ const _pl = "platform";
327
341
  const _r = "region";
328
342
  const _rA = "resourceArns";
329
343
  const _rAPTDCG = "removeAllowedPrefixesToDirectConnectGateway";
330
344
  const _rAPTDCGe = "requestedAllowedPrefixesToDirectConnectGateway";
331
345
  const _rAe = "resourceArn";
346
+ const _rD = "routeDirection";
332
347
  const _rFP = "routeFilterPrefixes";
348
+ const _rIA = "routeInstalledAt";
333
349
  const _rL = "rateLimit";
334
350
  const _rLS = "rateLimiterStatus";
335
351
  const _rMACS = "requestMACSec";
@@ -337,6 +353,7 @@ const _rT = "resourceTags";
337
353
  const _rTI = "routerTypeIdentifier";
338
354
  const _re = "remaining";
339
355
  const _ro = "router";
356
+ const _rou = "routes";
340
357
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.directconnect";
341
358
  const _sARN = "secretARN";
342
359
  const _sCE = "stateChangeError";
@@ -455,6 +472,11 @@ export var AllocateTransitVirtualInterfaceResult$ = [3, n0, _ATVIRl,
455
472
  [_vI],
456
473
  [() => VirtualInterface$]
457
474
  ];
475
+ export var AsPathSegment$ = [3, n0, _APS,
476
+ 0,
477
+ [_pT, _p],
478
+ [0, 64 | 1]
479
+ ];
458
480
  export var AssociateConnectionWithLagRequest$ = [3, n0, _ACWLR,
459
481
  0,
460
482
  [_cI, _lI],
@@ -880,6 +902,16 @@ export var Lags$ = [3, n0, _La,
880
902
  [_la, _nT],
881
903
  [() => LagList, 0]
882
904
  ];
905
+ export var ListVirtualInterfaceRoutesRequest$ = [3, n0, _LVIRR,
906
+ 0,
907
+ [_vII, _f, _mR, _nT],
908
+ [0, () => RouteFilters$, 1, 0]
909
+ ];
910
+ export var ListVirtualInterfaceRoutesResponse$ = [3, n0, _LVIRRi,
911
+ 0,
912
+ [_vII, _rou, _nT],
913
+ [0, () => RouteList, 0]
914
+ ];
883
915
  export var ListVirtualInterfaceTestHistoryRequest$ = [3, n0, _LVITHR,
884
916
  0,
885
917
  [_tI, _vII, _bP, _st, _mR, _nT],
@@ -955,14 +987,24 @@ export var ResourceTag$ = [3, n0, _RT,
955
987
  [_rAe, _t],
956
988
  [0, () => TagList]
957
989
  ];
990
+ export var Route$ = [3, n0, _R,
991
+ 0,
992
+ [_ci, _rD, _aF, _aPs, _com, _aLDI, _rIA],
993
+ [0, 0, 0, () => AsPathSegmentList, 64 | 0, 0, 4]
994
+ ];
958
995
  export var RouteFilterPrefix$ = [3, n0, _RFP,
959
996
  0,
960
997
  [_ci],
961
998
  [0]
962
999
  ];
1000
+ export var RouteFilters$ = [3, n0, _RF,
1001
+ 0,
1002
+ [_rD, _aF, _cid, _aPs, _com],
1003
+ [0, 0, 64 | 0, 64 | 1, 64 | 0]
1004
+ ];
963
1005
  export var RouterType$ = [3, n0, _RTo,
964
1006
  0,
965
- [_ve, _p, _so, _xTN, _xTNFMS, _rTI],
1007
+ [_ve, _pl, _so, _xTN, _xTNFMS, _rTI],
966
1008
  [0, 0, 0, 0, 0, 0]
967
1009
  ];
968
1010
  export var StartBgpFailoverTestRequest$ = [3, n0, _SBFTR,
@@ -1074,12 +1116,17 @@ var __Unit = "unit";
1074
1116
  var AgreementList = [1, n0, _AL,
1075
1117
  0, () => CustomerAgreement$
1076
1118
  ];
1119
+ var AsPathList = 64 | 1;
1120
+ var AsPathSegmentList = [1, n0, _APSL,
1121
+ 0, () => AsPathSegment$
1122
+ ];
1077
1123
  var AvailableMacSecPortSpeeds = 64 | 0;
1078
1124
  var AvailablePortSpeeds = 64 | 0;
1079
1125
  var BGPPeerIdList = 64 | 0;
1080
1126
  var BGPPeerList = [1, n0, _BGPPL,
1081
1127
  0, () => BGPPeer$
1082
1128
  ];
1129
+ var CommunityList = 64 | 0;
1083
1130
  var ConnectionList = [1, n0, _CL,
1084
1131
  0, () => Connection$
1085
1132
  ];
@@ -1112,9 +1159,13 @@ var ResourceArnList = 64 | 0;
1112
1159
  var ResourceTagList = [1, n0, _RTL,
1113
1160
  0, () => ResourceTag$
1114
1161
  ];
1162
+ var RouteFilterCidrStringList = 64 | 0;
1115
1163
  var RouteFilterPrefixList = [1, n0, _RFPL,
1116
1164
  0, () => RouteFilterPrefix$
1117
1165
  ];
1166
+ var RouteList = [1, n0, _RL,
1167
+ 0, () => Route$
1168
+ ];
1118
1169
  var TagKeyList = 64 | 0;
1119
1170
  var TagList = [1, n0, _TL,
1120
1171
  0, () => Tag$
@@ -1287,6 +1338,9 @@ export var DisassociateConnectionFromLag$ = [9, n0, _DCFL,
1287
1338
  export var DisassociateMacSecKey$ = [9, n0, _DMSK,
1288
1339
  0, () => DisassociateMacSecKeyRequest$, () => DisassociateMacSecKeyResponse$
1289
1340
  ];
1341
+ export var ListVirtualInterfaceRoutes$ = [9, n0, _LVIR,
1342
+ 0, () => ListVirtualInterfaceRoutesRequest$, () => ListVirtualInterfaceRoutesResponse$
1343
+ ];
1290
1344
  export var ListVirtualInterfaceTestHistory$ = [9, n0, _LVITH,
1291
1345
  0, () => ListVirtualInterfaceTestHistoryRequest$, () => ListVirtualInterfaceTestHistoryResponse$
1292
1346
  ];
@@ -52,6 +52,7 @@ import { type DescribeVirtualGatewaysCommandInput, type DescribeVirtualGatewaysC
52
52
  import { type DescribeVirtualInterfacesCommandInput, type DescribeVirtualInterfacesCommandOutput } from "./commands/DescribeVirtualInterfacesCommand";
53
53
  import { type DisassociateConnectionFromLagCommandInput, type DisassociateConnectionFromLagCommandOutput } from "./commands/DisassociateConnectionFromLagCommand";
54
54
  import { type DisassociateMacSecKeyCommandInput, type DisassociateMacSecKeyCommandOutput } from "./commands/DisassociateMacSecKeyCommand";
55
+ import { type ListVirtualInterfaceRoutesCommandInput, type ListVirtualInterfaceRoutesCommandOutput } from "./commands/ListVirtualInterfaceRoutesCommand";
55
56
  import { type ListVirtualInterfaceTestHistoryCommandInput, type ListVirtualInterfaceTestHistoryCommandOutput } from "./commands/ListVirtualInterfaceTestHistoryCommand";
56
57
  import { type StartBgpFailoverTestCommandInput, type StartBgpFailoverTestCommandOutput } from "./commands/StartBgpFailoverTestCommand";
57
58
  import { type StopBgpFailoverTestCommandInput, type StopBgpFailoverTestCommandOutput } from "./commands/StopBgpFailoverTestCommand";
@@ -397,6 +398,13 @@ export interface DirectConnect {
397
398
  disassociateMacSecKey(args: DisassociateMacSecKeyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMacSecKeyCommandOutput>;
398
399
  disassociateMacSecKey(args: DisassociateMacSecKeyCommandInput, cb: (err: any, data?: DisassociateMacSecKeyCommandOutput) => void): void;
399
400
  disassociateMacSecKey(args: DisassociateMacSecKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMacSecKeyCommandOutput) => void): void;
401
+ /**
402
+ * @see {@link ListVirtualInterfaceRoutesCommand}
403
+ */
404
+ listVirtualInterfaceRoutes(): Promise<ListVirtualInterfaceRoutesCommandOutput>;
405
+ listVirtualInterfaceRoutes(args: ListVirtualInterfaceRoutesCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualInterfaceRoutesCommandOutput>;
406
+ listVirtualInterfaceRoutes(args: ListVirtualInterfaceRoutesCommandInput, cb: (err: any, data?: ListVirtualInterfaceRoutesCommandOutput) => void): void;
407
+ listVirtualInterfaceRoutes(args: ListVirtualInterfaceRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualInterfaceRoutesCommandOutput) => void): void;
400
408
  /**
401
409
  * @see {@link ListVirtualInterfaceTestHistoryCommand}
402
410
  */
@@ -59,6 +59,7 @@ import type { DescribeVirtualGatewaysCommandInput, DescribeVirtualGatewaysComman
59
59
  import type { DescribeVirtualInterfacesCommandInput, DescribeVirtualInterfacesCommandOutput } from "./commands/DescribeVirtualInterfacesCommand";
60
60
  import type { DisassociateConnectionFromLagCommandInput, DisassociateConnectionFromLagCommandOutput } from "./commands/DisassociateConnectionFromLagCommand";
61
61
  import type { DisassociateMacSecKeyCommandInput, DisassociateMacSecKeyCommandOutput } from "./commands/DisassociateMacSecKeyCommand";
62
+ import type { ListVirtualInterfaceRoutesCommandInput, ListVirtualInterfaceRoutesCommandOutput } from "./commands/ListVirtualInterfaceRoutesCommand";
62
63
  import type { ListVirtualInterfaceTestHistoryCommandInput, ListVirtualInterfaceTestHistoryCommandOutput } from "./commands/ListVirtualInterfaceTestHistoryCommand";
63
64
  import type { StartBgpFailoverTestCommandInput, StartBgpFailoverTestCommandOutput } from "./commands/StartBgpFailoverTestCommand";
64
65
  import type { StopBgpFailoverTestCommandInput, StopBgpFailoverTestCommandOutput } from "./commands/StopBgpFailoverTestCommand";
@@ -75,11 +76,11 @@ export { __Client };
75
76
  /**
76
77
  * @public
77
78
  */
78
- export type ServiceInputTypes = AcceptDirectConnectGatewayAssociationProposalCommandInput | AllocateConnectionOnInterconnectCommandInput | AllocateHostedConnectionCommandInput | AllocatePrivateVirtualInterfaceCommandInput | AllocatePublicVirtualInterfaceCommandInput | AllocateTransitVirtualInterfaceCommandInput | AssociateConnectionWithLagCommandInput | AssociateHostedConnectionCommandInput | AssociateMacSecKeyCommandInput | AssociateVirtualInterfaceCommandInput | ConfirmConnectionCommandInput | ConfirmCustomerAgreementCommandInput | ConfirmPrivateVirtualInterfaceCommandInput | ConfirmPublicVirtualInterfaceCommandInput | ConfirmTransitVirtualInterfaceCommandInput | CreateBGPPeerCommandInput | CreateConnectionCommandInput | CreateDirectConnectGatewayAssociationCommandInput | CreateDirectConnectGatewayAssociationProposalCommandInput | CreateDirectConnectGatewayCommandInput | CreateInterconnectCommandInput | CreateLagCommandInput | CreatePrivateVirtualInterfaceCommandInput | CreatePublicVirtualInterfaceCommandInput | CreateTransitVirtualInterfaceCommandInput | DeleteBGPPeerCommandInput | DeleteConnectionCommandInput | DeleteDirectConnectGatewayAssociationCommandInput | DeleteDirectConnectGatewayAssociationProposalCommandInput | DeleteDirectConnectGatewayCommandInput | DeleteInterconnectCommandInput | DeleteLagCommandInput | DeleteVirtualInterfaceCommandInput | DescribeConnectionLoaCommandInput | DescribeConnectionsCommandInput | DescribeConnectionsOnInterconnectCommandInput | DescribeCustomerMetadataCommandInput | DescribeDirectConnectGatewayAssociationProposalsCommandInput | DescribeDirectConnectGatewayAssociationsCommandInput | DescribeDirectConnectGatewayAttachmentsCommandInput | DescribeDirectConnectGatewaysCommandInput | DescribeHostedConnectionsCommandInput | DescribeInterconnectLoaCommandInput | DescribeInterconnectsCommandInput | DescribeLagsCommandInput | DescribeLoaCommandInput | DescribeLocationsCommandInput | DescribeRouterConfigurationCommandInput | DescribeTagsCommandInput | DescribeVirtualGatewaysCommandInput | DescribeVirtualInterfacesCommandInput | DisassociateConnectionFromLagCommandInput | DisassociateMacSecKeyCommandInput | ListVirtualInterfaceTestHistoryCommandInput | StartBgpFailoverTestCommandInput | StopBgpFailoverTestCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateDirectConnectGatewayAssociationCommandInput | UpdateDirectConnectGatewayCommandInput | UpdateLagCommandInput | UpdateVirtualInterfaceAttributesCommandInput;
79
+ export type ServiceInputTypes = AcceptDirectConnectGatewayAssociationProposalCommandInput | AllocateConnectionOnInterconnectCommandInput | AllocateHostedConnectionCommandInput | AllocatePrivateVirtualInterfaceCommandInput | AllocatePublicVirtualInterfaceCommandInput | AllocateTransitVirtualInterfaceCommandInput | AssociateConnectionWithLagCommandInput | AssociateHostedConnectionCommandInput | AssociateMacSecKeyCommandInput | AssociateVirtualInterfaceCommandInput | ConfirmConnectionCommandInput | ConfirmCustomerAgreementCommandInput | ConfirmPrivateVirtualInterfaceCommandInput | ConfirmPublicVirtualInterfaceCommandInput | ConfirmTransitVirtualInterfaceCommandInput | CreateBGPPeerCommandInput | CreateConnectionCommandInput | CreateDirectConnectGatewayAssociationCommandInput | CreateDirectConnectGatewayAssociationProposalCommandInput | CreateDirectConnectGatewayCommandInput | CreateInterconnectCommandInput | CreateLagCommandInput | CreatePrivateVirtualInterfaceCommandInput | CreatePublicVirtualInterfaceCommandInput | CreateTransitVirtualInterfaceCommandInput | DeleteBGPPeerCommandInput | DeleteConnectionCommandInput | DeleteDirectConnectGatewayAssociationCommandInput | DeleteDirectConnectGatewayAssociationProposalCommandInput | DeleteDirectConnectGatewayCommandInput | DeleteInterconnectCommandInput | DeleteLagCommandInput | DeleteVirtualInterfaceCommandInput | DescribeConnectionLoaCommandInput | DescribeConnectionsCommandInput | DescribeConnectionsOnInterconnectCommandInput | DescribeCustomerMetadataCommandInput | DescribeDirectConnectGatewayAssociationProposalsCommandInput | DescribeDirectConnectGatewayAssociationsCommandInput | DescribeDirectConnectGatewayAttachmentsCommandInput | DescribeDirectConnectGatewaysCommandInput | DescribeHostedConnectionsCommandInput | DescribeInterconnectLoaCommandInput | DescribeInterconnectsCommandInput | DescribeLagsCommandInput | DescribeLoaCommandInput | DescribeLocationsCommandInput | DescribeRouterConfigurationCommandInput | DescribeTagsCommandInput | DescribeVirtualGatewaysCommandInput | DescribeVirtualInterfacesCommandInput | DisassociateConnectionFromLagCommandInput | DisassociateMacSecKeyCommandInput | ListVirtualInterfaceRoutesCommandInput | ListVirtualInterfaceTestHistoryCommandInput | StartBgpFailoverTestCommandInput | StopBgpFailoverTestCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateDirectConnectGatewayAssociationCommandInput | UpdateDirectConnectGatewayCommandInput | UpdateLagCommandInput | UpdateVirtualInterfaceAttributesCommandInput;
79
80
  /**
80
81
  * @public
81
82
  */
82
- export type ServiceOutputTypes = AcceptDirectConnectGatewayAssociationProposalCommandOutput | AllocateConnectionOnInterconnectCommandOutput | AllocateHostedConnectionCommandOutput | AllocatePrivateVirtualInterfaceCommandOutput | AllocatePublicVirtualInterfaceCommandOutput | AllocateTransitVirtualInterfaceCommandOutput | AssociateConnectionWithLagCommandOutput | AssociateHostedConnectionCommandOutput | AssociateMacSecKeyCommandOutput | AssociateVirtualInterfaceCommandOutput | ConfirmConnectionCommandOutput | ConfirmCustomerAgreementCommandOutput | ConfirmPrivateVirtualInterfaceCommandOutput | ConfirmPublicVirtualInterfaceCommandOutput | ConfirmTransitVirtualInterfaceCommandOutput | CreateBGPPeerCommandOutput | CreateConnectionCommandOutput | CreateDirectConnectGatewayAssociationCommandOutput | CreateDirectConnectGatewayAssociationProposalCommandOutput | CreateDirectConnectGatewayCommandOutput | CreateInterconnectCommandOutput | CreateLagCommandOutput | CreatePrivateVirtualInterfaceCommandOutput | CreatePublicVirtualInterfaceCommandOutput | CreateTransitVirtualInterfaceCommandOutput | DeleteBGPPeerCommandOutput | DeleteConnectionCommandOutput | DeleteDirectConnectGatewayAssociationCommandOutput | DeleteDirectConnectGatewayAssociationProposalCommandOutput | DeleteDirectConnectGatewayCommandOutput | DeleteInterconnectCommandOutput | DeleteLagCommandOutput | DeleteVirtualInterfaceCommandOutput | DescribeConnectionLoaCommandOutput | DescribeConnectionsCommandOutput | DescribeConnectionsOnInterconnectCommandOutput | DescribeCustomerMetadataCommandOutput | DescribeDirectConnectGatewayAssociationProposalsCommandOutput | DescribeDirectConnectGatewayAssociationsCommandOutput | DescribeDirectConnectGatewayAttachmentsCommandOutput | DescribeDirectConnectGatewaysCommandOutput | DescribeHostedConnectionsCommandOutput | DescribeInterconnectLoaCommandOutput | DescribeInterconnectsCommandOutput | DescribeLagsCommandOutput | DescribeLoaCommandOutput | DescribeLocationsCommandOutput | DescribeRouterConfigurationCommandOutput | DescribeTagsCommandOutput | DescribeVirtualGatewaysCommandOutput | DescribeVirtualInterfacesCommandOutput | DisassociateConnectionFromLagCommandOutput | DisassociateMacSecKeyCommandOutput | ListVirtualInterfaceTestHistoryCommandOutput | StartBgpFailoverTestCommandOutput | StopBgpFailoverTestCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateDirectConnectGatewayAssociationCommandOutput | UpdateDirectConnectGatewayCommandOutput | UpdateLagCommandOutput | UpdateVirtualInterfaceAttributesCommandOutput;
83
+ export type ServiceOutputTypes = AcceptDirectConnectGatewayAssociationProposalCommandOutput | AllocateConnectionOnInterconnectCommandOutput | AllocateHostedConnectionCommandOutput | AllocatePrivateVirtualInterfaceCommandOutput | AllocatePublicVirtualInterfaceCommandOutput | AllocateTransitVirtualInterfaceCommandOutput | AssociateConnectionWithLagCommandOutput | AssociateHostedConnectionCommandOutput | AssociateMacSecKeyCommandOutput | AssociateVirtualInterfaceCommandOutput | ConfirmConnectionCommandOutput | ConfirmCustomerAgreementCommandOutput | ConfirmPrivateVirtualInterfaceCommandOutput | ConfirmPublicVirtualInterfaceCommandOutput | ConfirmTransitVirtualInterfaceCommandOutput | CreateBGPPeerCommandOutput | CreateConnectionCommandOutput | CreateDirectConnectGatewayAssociationCommandOutput | CreateDirectConnectGatewayAssociationProposalCommandOutput | CreateDirectConnectGatewayCommandOutput | CreateInterconnectCommandOutput | CreateLagCommandOutput | CreatePrivateVirtualInterfaceCommandOutput | CreatePublicVirtualInterfaceCommandOutput | CreateTransitVirtualInterfaceCommandOutput | DeleteBGPPeerCommandOutput | DeleteConnectionCommandOutput | DeleteDirectConnectGatewayAssociationCommandOutput | DeleteDirectConnectGatewayAssociationProposalCommandOutput | DeleteDirectConnectGatewayCommandOutput | DeleteInterconnectCommandOutput | DeleteLagCommandOutput | DeleteVirtualInterfaceCommandOutput | DescribeConnectionLoaCommandOutput | DescribeConnectionsCommandOutput | DescribeConnectionsOnInterconnectCommandOutput | DescribeCustomerMetadataCommandOutput | DescribeDirectConnectGatewayAssociationProposalsCommandOutput | DescribeDirectConnectGatewayAssociationsCommandOutput | DescribeDirectConnectGatewayAttachmentsCommandOutput | DescribeDirectConnectGatewaysCommandOutput | DescribeHostedConnectionsCommandOutput | DescribeInterconnectLoaCommandOutput | DescribeInterconnectsCommandOutput | DescribeLagsCommandOutput | DescribeLoaCommandOutput | DescribeLocationsCommandOutput | DescribeRouterConfigurationCommandOutput | DescribeTagsCommandOutput | DescribeVirtualGatewaysCommandOutput | DescribeVirtualInterfacesCommandOutput | DisassociateConnectionFromLagCommandOutput | DisassociateMacSecKeyCommandOutput | ListVirtualInterfaceRoutesCommandOutput | ListVirtualInterfaceTestHistoryCommandOutput | StartBgpFailoverTestCommandOutput | StopBgpFailoverTestCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateDirectConnectGatewayAssociationCommandOutput | UpdateDirectConnectGatewayCommandOutput | UpdateLagCommandOutput | UpdateVirtualInterfaceAttributesCommandOutput;
83
84
  /**
84
85
  * @public
85
86
  */
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListVirtualInterfaceRoutesRequest, ListVirtualInterfaceRoutesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListVirtualInterfaceRoutesCommand}.
11
+ */
12
+ export interface ListVirtualInterfaceRoutesCommandInput extends ListVirtualInterfaceRoutesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListVirtualInterfaceRoutesCommand}.
18
+ */
19
+ export interface ListVirtualInterfaceRoutesCommandOutput extends ListVirtualInterfaceRoutesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListVirtualInterfaceRoutesCommand_base: {
22
+ new (input: ListVirtualInterfaceRoutesCommandInput): import("@smithy/core/client").CommandImpl<ListVirtualInterfaceRoutesCommandInput, ListVirtualInterfaceRoutesCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListVirtualInterfaceRoutesCommandInput]): import("@smithy/core/client").CommandImpl<ListVirtualInterfaceRoutesCommandInput, ListVirtualInterfaceRoutesCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the routes for the specified virtual interface.</p>
28
+ * <p>Use the <code>routeDirection</code> filter to control which routes are returned:</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <code>accepted</code>: routes received from the customer network over the virtual interface.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>advertised</code>: routes advertised to the customer network over the virtual interface.</p>
37
+ * </li>
38
+ * </ul>
39
+ * @example
40
+ * Use a bare-bones client and the command you need to make an API call.
41
+ * ```javascript
42
+ * import { DirectConnectClient, ListVirtualInterfaceRoutesCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
43
+ * // const { DirectConnectClient, ListVirtualInterfaceRoutesCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
44
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
45
+ * const config = {}; // type is DirectConnectClientConfig
46
+ * const client = new DirectConnectClient(config);
47
+ * const input = { // ListVirtualInterfaceRoutesRequest
48
+ * virtualInterfaceId: "STRING_VALUE",
49
+ * filters: { // RouteFilters
50
+ * routeDirection: "accepted" || "advertised",
51
+ * addressFamily: "ipv4" || "ipv6",
52
+ * cidrs: [ // RouteFilterCidrStringList
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * asPath: [ // AsPathList
56
+ * Number("long"),
57
+ * ],
58
+ * communities: [ // CommunityList
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * },
62
+ * maxResults: Number("int"),
63
+ * nextToken: "STRING_VALUE",
64
+ * };
65
+ * const command = new ListVirtualInterfaceRoutesCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // ListVirtualInterfaceRoutesResponse
68
+ * // virtualInterfaceId: "STRING_VALUE",
69
+ * // routes: [ // RouteList
70
+ * // { // Route
71
+ * // cidr: "STRING_VALUE",
72
+ * // routeDirection: "accepted" || "advertised",
73
+ * // addressFamily: "ipv4" || "ipv6",
74
+ * // asPath: [ // AsPathSegmentList
75
+ * // { // AsPathSegment
76
+ * // pathType: "seq" || "set",
77
+ * // path: [ // AsPathList
78
+ * // Number("long"),
79
+ * // ],
80
+ * // },
81
+ * // ],
82
+ * // communities: [ // CommunityList
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // awsLogicalDeviceId: "STRING_VALUE",
86
+ * // routeInstalledAt: new Date("TIMESTAMP"),
87
+ * // },
88
+ * // ],
89
+ * // nextToken: "STRING_VALUE",
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param ListVirtualInterfaceRoutesCommandInput - {@link ListVirtualInterfaceRoutesCommandInput}
95
+ * @returns {@link ListVirtualInterfaceRoutesCommandOutput}
96
+ * @see {@link ListVirtualInterfaceRoutesCommandInput} for command's `input` shape.
97
+ * @see {@link ListVirtualInterfaceRoutesCommandOutput} for command's `response` shape.
98
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
99
+ *
100
+ * @throws {@link DirectConnectClientException} (client fault)
101
+ * <p>One or more parameters are not valid.</p>
102
+ *
103
+ * @throws {@link DirectConnectServerException} (server fault)
104
+ * <p>A server-side error occurred.</p>
105
+ *
106
+ * @throws {@link DirectConnectServiceException}
107
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class ListVirtualInterfaceRoutesCommand extends ListVirtualInterfaceRoutesCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: ListVirtualInterfaceRoutesRequest;
117
+ output: ListVirtualInterfaceRoutesResponse;
118
+ };
119
+ sdk: {
120
+ input: ListVirtualInterfaceRoutesCommandInput;
121
+ output: ListVirtualInterfaceRoutesCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -51,6 +51,7 @@ export * from "./DescribeVirtualGatewaysCommand";
51
51
  export * from "./DescribeVirtualInterfacesCommand";
52
52
  export * from "./DisassociateConnectionFromLagCommand";
53
53
  export * from "./DisassociateMacSecKeyCommand";
54
+ export * from "./ListVirtualInterfaceRoutesCommand";
54
55
  export * from "./ListVirtualInterfaceTestHistoryCommand";
55
56
  export * from "./StartBgpFailoverTestCommand";
56
57
  export * from "./StopBgpFailoverTestCommand";
@@ -117,6 +117,18 @@ export declare const VirtualInterfaceState: {
117
117
  * @public
118
118
  */
119
119
  export type VirtualInterfaceState = (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
120
+ /**
121
+ * @public
122
+ * @enum
123
+ */
124
+ export declare const AsPathType: {
125
+ readonly Seq: "seq";
126
+ readonly Set: "set";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type AsPathType = (typeof AsPathType)[keyof typeof AsPathType];
120
132
  /**
121
133
  * @public
122
134
  * @enum
@@ -228,3 +240,15 @@ export declare const DirectConnectGatewayAttachmentType: {
228
240
  * @public
229
241
  */
230
242
  export type DirectConnectGatewayAttachmentType = (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
243
+ /**
244
+ * @public
245
+ * @enum
246
+ */
247
+ export declare const RouteDirection: {
248
+ readonly Accepted: "accepted";
249
+ readonly Advertised: "advertised";
250
+ };
251
+ /**
252
+ * @public
253
+ */
254
+ export type RouteDirection = (typeof RouteDirection)[keyof typeof RouteDirection];
@@ -1,4 +1,4 @@
1
- import type { AddressFamily, BGPPeerState, BGPStatus, ConnectionState, DirectConnectGatewayAssociationProposalState, DirectConnectGatewayAssociationState, DirectConnectGatewayAttachmentState, DirectConnectGatewayAttachmentType, DirectConnectGatewayState, GatewayType, HasLogicalRedundancy, InterconnectState, LagState, LoaContentType, NniPartnerType, VirtualInterfaceState } from "./enums";
1
+ import type { AddressFamily, AsPathType, BGPPeerState, BGPStatus, ConnectionState, DirectConnectGatewayAssociationProposalState, DirectConnectGatewayAssociationState, DirectConnectGatewayAttachmentState, DirectConnectGatewayAttachmentType, DirectConnectGatewayState, GatewayType, HasLogicalRedundancy, InterconnectState, LagState, LoaContentType, NniPartnerType, RouteDirection, VirtualInterfaceState } from "./enums";
2
2
  /**
3
3
  * <p>Information about a route filter prefix that a customer can advertise through Border Gateway Protocol (BGP)
4
4
  * over a public virtual interface.</p>
@@ -1278,6 +1278,23 @@ export interface AllocateTransitVirtualInterfaceResult {
1278
1278
  */
1279
1279
  virtualInterface?: VirtualInterface | undefined;
1280
1280
  }
1281
+ /**
1282
+ * <p>A segment of an autonomous system (AS) path.</p>
1283
+ * @public
1284
+ */
1285
+ export interface AsPathSegment {
1286
+ /**
1287
+ * <p>The type of the AS path segment.</p>
1288
+ * <p>The valid values are <code>seq</code> (an ordered <code>AS_SEQUENCE</code>) and <code>set</code> (an unordered <code>AS_SET</code>).</p>
1289
+ * @public
1290
+ */
1291
+ pathType?: AsPathType | undefined;
1292
+ /**
1293
+ * <p>The autonomous system (AS) numbers in the segment.</p>
1294
+ * @public
1295
+ */
1296
+ path?: number[] | undefined;
1297
+ }
1281
1298
  /**
1282
1299
  * @public
1283
1300
  */
@@ -3849,6 +3866,131 @@ export interface DisassociateMacSecKeyResponse {
3849
3866
  */
3850
3867
  macSecKeys?: MacSecKey[] | undefined;
3851
3868
  }
3869
+ /**
3870
+ * <p>The filters used to limit the routes returned by <a>ListVirtualInterfaceRoutes</a>.</p>
3871
+ * @public
3872
+ */
3873
+ export interface RouteFilters {
3874
+ /**
3875
+ * <p>The direction of the routes to return.</p>
3876
+ * <p>The valid values are <code>accepted</code> (routes received from the customer network) and <code>advertised</code> (routes advertised to the customer network).</p>
3877
+ * @public
3878
+ */
3879
+ routeDirection?: RouteDirection | undefined;
3880
+ /**
3881
+ * <p>The address family of the routes to return.</p>
3882
+ * <p>The valid values are <code>ipv4</code> and <code>ipv6</code>.</p>
3883
+ * @public
3884
+ */
3885
+ addressFamily?: AddressFamily | undefined;
3886
+ /**
3887
+ * <p>The CIDRs (prefixes) used to filter the routes. You can specify up to 10 CIDRs.</p>
3888
+ * @public
3889
+ */
3890
+ cidrs?: string[] | undefined;
3891
+ /**
3892
+ * <p>The autonomous system (AS) numbers used to filter the routes by their AS path.</p>
3893
+ * @public
3894
+ */
3895
+ asPath?: number[] | undefined;
3896
+ /**
3897
+ * <p>The BGP communities used to filter the routes.</p>
3898
+ * @public
3899
+ */
3900
+ communities?: string[] | undefined;
3901
+ }
3902
+ /**
3903
+ * @public
3904
+ */
3905
+ export interface ListVirtualInterfaceRoutesRequest {
3906
+ /**
3907
+ * <p>The ID of the virtual interface.</p>
3908
+ * @public
3909
+ */
3910
+ virtualInterfaceId?: string | undefined;
3911
+ /**
3912
+ * <p>The filters to apply to the routes returned.</p>
3913
+ * @public
3914
+ */
3915
+ filters?: RouteFilters | undefined;
3916
+ /**
3917
+ * <p>The maximum number of results to return with a single call.
3918
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3919
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
3920
+ * returned.</p>
3921
+ * @public
3922
+ */
3923
+ maxResults?: number | undefined;
3924
+ /**
3925
+ * <p>The token for the next page of results.</p>
3926
+ * @public
3927
+ */
3928
+ nextToken?: string | undefined;
3929
+ }
3930
+ /**
3931
+ * <p>Information about a route for a virtual interface.</p>
3932
+ * @public
3933
+ */
3934
+ export interface Route {
3935
+ /**
3936
+ * <p>The CIDR (prefix) of the route.</p>
3937
+ * @public
3938
+ */
3939
+ cidr?: string | undefined;
3940
+ /**
3941
+ * <p>The direction of the route.</p>
3942
+ * <p>The valid values are <code>accepted</code> (received from the customer network) and <code>advertised</code> (advertised to the customer network).</p>
3943
+ * @public
3944
+ */
3945
+ routeDirection?: RouteDirection | undefined;
3946
+ /**
3947
+ * <p>The address family of the route.</p>
3948
+ * <p>The valid values are <code>ipv4</code> and <code>ipv6</code>.</p>
3949
+ * @public
3950
+ */
3951
+ addressFamily?: AddressFamily | undefined;
3952
+ /**
3953
+ * <p>The autonomous system (AS) path of the route.</p>
3954
+ * @public
3955
+ */
3956
+ asPath?: AsPathSegment[] | undefined;
3957
+ /**
3958
+ * <p>The BGP communities associated with the route.</p>
3959
+ * @public
3960
+ */
3961
+ communities?: string[] | undefined;
3962
+ /**
3963
+ * <p>The Direct Connect endpoint that terminates the logical connection. This device might be
3964
+ * different than the device that terminates the physical connection.</p>
3965
+ * @public
3966
+ */
3967
+ awsLogicalDeviceId?: string | undefined;
3968
+ /**
3969
+ * <p>The time when the route was installed. The value is displayed in UTC format.</p>
3970
+ * @public
3971
+ */
3972
+ routeInstalledAt?: Date | undefined;
3973
+ }
3974
+ /**
3975
+ * @public
3976
+ */
3977
+ export interface ListVirtualInterfaceRoutesResponse {
3978
+ /**
3979
+ * <p>The ID of the virtual interface.</p>
3980
+ * @public
3981
+ */
3982
+ virtualInterfaceId?: string | undefined;
3983
+ /**
3984
+ * <p>The routes for the virtual interface.</p>
3985
+ * @public
3986
+ */
3987
+ routes?: Route[] | undefined;
3988
+ /**
3989
+ * <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>
3990
+ * @public
3991
+ */
3992
+ nextToken?: string | undefined;
3993
+ }
3852
3994
  /**
3853
3995
  * @public
3854
3996
  */
@@ -20,6 +20,7 @@ export declare var AllocatePrivateVirtualInterfaceRequest$: StaticStructureSchem
20
20
  export declare var AllocatePublicVirtualInterfaceRequest$: StaticStructureSchema;
21
21
  export declare var AllocateTransitVirtualInterfaceRequest$: StaticStructureSchema;
22
22
  export declare var AllocateTransitVirtualInterfaceResult$: StaticStructureSchema;
23
+ export declare var AsPathSegment$: StaticStructureSchema;
23
24
  export declare var AssociateConnectionWithLagRequest$: StaticStructureSchema;
24
25
  export declare var AssociatedCoreNetwork$: StaticStructureSchema;
25
26
  export declare var AssociatedGateway$: StaticStructureSchema;
@@ -105,6 +106,8 @@ export declare var Interconnect$: StaticStructureSchema;
105
106
  export declare var Interconnects$: StaticStructureSchema;
106
107
  export declare var Lag$: StaticStructureSchema;
107
108
  export declare var Lags$: StaticStructureSchema;
109
+ export declare var ListVirtualInterfaceRoutesRequest$: StaticStructureSchema;
110
+ export declare var ListVirtualInterfaceRoutesResponse$: StaticStructureSchema;
108
111
  export declare var ListVirtualInterfaceTestHistoryRequest$: StaticStructureSchema;
109
112
  export declare var ListVirtualInterfaceTestHistoryResponse$: StaticStructureSchema;
110
113
  export declare var Loa$: StaticStructureSchema;
@@ -120,7 +123,9 @@ export declare var NewTransitVirtualInterface$: StaticStructureSchema;
120
123
  export declare var NewTransitVirtualInterfaceAllocation$: StaticStructureSchema;
121
124
  export declare var RateLimiterStatus$: StaticStructureSchema;
122
125
  export declare var ResourceTag$: StaticStructureSchema;
126
+ export declare var Route$: StaticStructureSchema;
123
127
  export declare var RouteFilterPrefix$: StaticStructureSchema;
128
+ export declare var RouteFilters$: StaticStructureSchema;
124
129
  export declare var RouterType$: StaticStructureSchema;
125
130
  export declare var StartBgpFailoverTestRequest$: StaticStructureSchema;
126
131
  export declare var StartBgpFailoverTestResponse$: StaticStructureSchema;
@@ -196,6 +201,7 @@ export declare var DescribeVirtualGateways$: StaticOperationSchema;
196
201
  export declare var DescribeVirtualInterfaces$: StaticOperationSchema;
197
202
  export declare var DisassociateConnectionFromLag$: StaticOperationSchema;
198
203
  export declare var DisassociateMacSecKey$: StaticOperationSchema;
204
+ export declare var ListVirtualInterfaceRoutes$: StaticOperationSchema;
199
205
  export declare var ListVirtualInterfaceTestHistory$: StaticOperationSchema;
200
206
  export declare var StartBgpFailoverTest$: StaticOperationSchema;
201
207
  export declare var StopBgpFailoverTest$: StaticOperationSchema;
@@ -202,6 +202,10 @@ import {
202
202
  DisassociateMacSecKeyCommandInput,
203
203
  DisassociateMacSecKeyCommandOutput,
204
204
  } from "./commands/DisassociateMacSecKeyCommand";
205
+ import {
206
+ ListVirtualInterfaceRoutesCommandInput,
207
+ ListVirtualInterfaceRoutesCommandOutput,
208
+ } from "./commands/ListVirtualInterfaceRoutesCommand";
205
209
  import {
206
210
  ListVirtualInterfaceTestHistoryCommandInput,
207
211
  ListVirtualInterfaceTestHistoryCommandOutput,
@@ -942,6 +946,20 @@ export interface DirectConnect {
942
946
  options: __HttpHandlerOptions,
943
947
  cb: (err: any, data?: DisassociateMacSecKeyCommandOutput) => void,
944
948
  ): void;
949
+ listVirtualInterfaceRoutes(): Promise<ListVirtualInterfaceRoutesCommandOutput>;
950
+ listVirtualInterfaceRoutes(
951
+ args: ListVirtualInterfaceRoutesCommandInput,
952
+ options?: __HttpHandlerOptions,
953
+ ): Promise<ListVirtualInterfaceRoutesCommandOutput>;
954
+ listVirtualInterfaceRoutes(
955
+ args: ListVirtualInterfaceRoutesCommandInput,
956
+ cb: (err: any, data?: ListVirtualInterfaceRoutesCommandOutput) => void,
957
+ ): void;
958
+ listVirtualInterfaceRoutes(
959
+ args: ListVirtualInterfaceRoutesCommandInput,
960
+ options: __HttpHandlerOptions,
961
+ cb: (err: any, data?: ListVirtualInterfaceRoutesCommandOutput) => void,
962
+ ): void;
945
963
  listVirtualInterfaceTestHistory(): Promise<ListVirtualInterfaceTestHistoryCommandOutput>;
946
964
  listVirtualInterfaceTestHistory(
947
965
  args: ListVirtualInterfaceTestHistoryCommandInput,
@@ -236,6 +236,10 @@ import {
236
236
  DisassociateMacSecKeyCommandInput,
237
237
  DisassociateMacSecKeyCommandOutput,
238
238
  } from "./commands/DisassociateMacSecKeyCommand";
239
+ import {
240
+ ListVirtualInterfaceRoutesCommandInput,
241
+ ListVirtualInterfaceRoutesCommandOutput,
242
+ } from "./commands/ListVirtualInterfaceRoutesCommand";
239
243
  import {
240
244
  ListVirtualInterfaceTestHistoryCommandInput,
241
245
  ListVirtualInterfaceTestHistoryCommandOutput,
@@ -331,6 +335,7 @@ export type ServiceInputTypes =
331
335
  | DescribeVirtualInterfacesCommandInput
332
336
  | DisassociateConnectionFromLagCommandInput
333
337
  | DisassociateMacSecKeyCommandInput
338
+ | ListVirtualInterfaceRoutesCommandInput
334
339
  | ListVirtualInterfaceTestHistoryCommandInput
335
340
  | StartBgpFailoverTestCommandInput
336
341
  | StopBgpFailoverTestCommandInput
@@ -395,6 +400,7 @@ export type ServiceOutputTypes =
395
400
  | DescribeVirtualInterfacesCommandOutput
396
401
  | DisassociateConnectionFromLagCommandOutput
397
402
  | DisassociateMacSecKeyCommandOutput
403
+ | ListVirtualInterfaceRoutesCommandOutput
398
404
  | ListVirtualInterfaceTestHistoryCommandOutput
399
405
  | StartBgpFailoverTestCommandOutput
400
406
  | StopBgpFailoverTestCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListVirtualInterfaceRoutesRequest,
4
+ ListVirtualInterfaceRoutesResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListVirtualInterfaceRoutesCommandInput extends ListVirtualInterfaceRoutesRequest {}
8
+ export interface ListVirtualInterfaceRoutesCommandOutput
9
+ extends ListVirtualInterfaceRoutesResponse, __MetadataBearer {}
10
+ declare const ListVirtualInterfaceRoutesCommand_base: {
11
+ new (
12
+ input: ListVirtualInterfaceRoutesCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListVirtualInterfaceRoutesCommandInput,
15
+ ListVirtualInterfaceRoutesCommandOutput,
16
+ import("..").DirectConnectClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [ListVirtualInterfaceRoutesCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListVirtualInterfaceRoutesCommandInput,
24
+ ListVirtualInterfaceRoutesCommandOutput,
25
+ import("..").DirectConnectClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListVirtualInterfaceRoutesCommand extends ListVirtualInterfaceRoutesCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListVirtualInterfaceRoutesRequest;
35
+ output: ListVirtualInterfaceRoutesResponse;
36
+ };
37
+ sdk: {
38
+ input: ListVirtualInterfaceRoutesCommandInput;
39
+ output: ListVirtualInterfaceRoutesCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -51,6 +51,7 @@ export * from "./DescribeVirtualGatewaysCommand";
51
51
  export * from "./DescribeVirtualInterfacesCommand";
52
52
  export * from "./DisassociateConnectionFromLagCommand";
53
53
  export * from "./DisassociateMacSecKeyCommand";
54
+ export * from "./ListVirtualInterfaceRoutesCommand";
54
55
  export * from "./ListVirtualInterfaceTestHistoryCommand";
55
56
  export * from "./StartBgpFailoverTestCommand";
56
57
  export * from "./StopBgpFailoverTestCommand";
@@ -63,6 +63,11 @@ export declare const VirtualInterfaceState: {
63
63
  };
64
64
  export type VirtualInterfaceState =
65
65
  (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
66
+ export declare const AsPathType: {
67
+ readonly Seq: "seq";
68
+ readonly Set: "set";
69
+ };
70
+ export type AsPathType = (typeof AsPathType)[keyof typeof AsPathType];
66
71
  export declare const DirectConnectGatewayState: {
67
72
  readonly available: "available";
68
73
  readonly deleted: "deleted";
@@ -122,3 +127,8 @@ export declare const DirectConnectGatewayAttachmentType: {
122
127
  };
123
128
  export type DirectConnectGatewayAttachmentType =
124
129
  (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
130
+ export declare const RouteDirection: {
131
+ readonly Accepted: "accepted";
132
+ readonly Advertised: "advertised";
133
+ };
134
+ export type RouteDirection = (typeof RouteDirection)[keyof typeof RouteDirection];
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  AddressFamily,
3
+ AsPathType,
3
4
  BGPPeerState,
4
5
  BGPStatus,
5
6
  ConnectionState,
@@ -14,6 +15,7 @@ import {
14
15
  LagState,
15
16
  LoaContentType,
16
17
  NniPartnerType,
18
+ RouteDirection,
17
19
  VirtualInterfaceState,
18
20
  } from "./enums";
19
21
  export interface RouteFilterPrefix {
@@ -213,6 +215,10 @@ export interface AllocateTransitVirtualInterfaceRequest {
213
215
  export interface AllocateTransitVirtualInterfaceResult {
214
216
  virtualInterface?: VirtualInterface | undefined;
215
217
  }
218
+ export interface AsPathSegment {
219
+ pathType?: AsPathType | undefined;
220
+ path?: number[] | undefined;
221
+ }
216
222
  export interface AssociateConnectionWithLagRequest {
217
223
  connectionId: string | undefined;
218
224
  lagId: string | undefined;
@@ -692,6 +698,33 @@ export interface DisassociateMacSecKeyResponse {
692
698
  connectionId?: string | undefined;
693
699
  macSecKeys?: MacSecKey[] | undefined;
694
700
  }
701
+ export interface RouteFilters {
702
+ routeDirection?: RouteDirection | undefined;
703
+ addressFamily?: AddressFamily | undefined;
704
+ cidrs?: string[] | undefined;
705
+ asPath?: number[] | undefined;
706
+ communities?: string[] | undefined;
707
+ }
708
+ export interface ListVirtualInterfaceRoutesRequest {
709
+ virtualInterfaceId?: string | undefined;
710
+ filters?: RouteFilters | undefined;
711
+ maxResults?: number | undefined;
712
+ nextToken?: string | undefined;
713
+ }
714
+ export interface Route {
715
+ cidr?: string | undefined;
716
+ routeDirection?: RouteDirection | undefined;
717
+ addressFamily?: AddressFamily | undefined;
718
+ asPath?: AsPathSegment[] | undefined;
719
+ communities?: string[] | undefined;
720
+ awsLogicalDeviceId?: string | undefined;
721
+ routeInstalledAt?: Date | undefined;
722
+ }
723
+ export interface ListVirtualInterfaceRoutesResponse {
724
+ virtualInterfaceId?: string | undefined;
725
+ routes?: Route[] | undefined;
726
+ nextToken?: string | undefined;
727
+ }
695
728
  export interface ListVirtualInterfaceTestHistoryRequest {
696
729
  testId?: string | undefined;
697
730
  virtualInterfaceId?: string | undefined;
@@ -15,6 +15,7 @@ export declare var AllocatePrivateVirtualInterfaceRequest$: StaticStructureSchem
15
15
  export declare var AllocatePublicVirtualInterfaceRequest$: StaticStructureSchema;
16
16
  export declare var AllocateTransitVirtualInterfaceRequest$: StaticStructureSchema;
17
17
  export declare var AllocateTransitVirtualInterfaceResult$: StaticStructureSchema;
18
+ export declare var AsPathSegment$: StaticStructureSchema;
18
19
  export declare var AssociateConnectionWithLagRequest$: StaticStructureSchema;
19
20
  export declare var AssociatedCoreNetwork$: StaticStructureSchema;
20
21
  export declare var AssociatedGateway$: StaticStructureSchema;
@@ -100,6 +101,8 @@ export declare var Interconnect$: StaticStructureSchema;
100
101
  export declare var Interconnects$: StaticStructureSchema;
101
102
  export declare var Lag$: StaticStructureSchema;
102
103
  export declare var Lags$: StaticStructureSchema;
104
+ export declare var ListVirtualInterfaceRoutesRequest$: StaticStructureSchema;
105
+ export declare var ListVirtualInterfaceRoutesResponse$: StaticStructureSchema;
103
106
  export declare var ListVirtualInterfaceTestHistoryRequest$: StaticStructureSchema;
104
107
  export declare var ListVirtualInterfaceTestHistoryResponse$: StaticStructureSchema;
105
108
  export declare var Loa$: StaticStructureSchema;
@@ -115,7 +118,9 @@ export declare var NewTransitVirtualInterface$: StaticStructureSchema;
115
118
  export declare var NewTransitVirtualInterfaceAllocation$: StaticStructureSchema;
116
119
  export declare var RateLimiterStatus$: StaticStructureSchema;
117
120
  export declare var ResourceTag$: StaticStructureSchema;
121
+ export declare var Route$: StaticStructureSchema;
118
122
  export declare var RouteFilterPrefix$: StaticStructureSchema;
123
+ export declare var RouteFilters$: StaticStructureSchema;
119
124
  export declare var RouterType$: StaticStructureSchema;
120
125
  export declare var StartBgpFailoverTestRequest$: StaticStructureSchema;
121
126
  export declare var StartBgpFailoverTestResponse$: StaticStructureSchema;
@@ -191,6 +196,7 @@ export declare var DescribeVirtualGateways$: StaticOperationSchema;
191
196
  export declare var DescribeVirtualInterfaces$: StaticOperationSchema;
192
197
  export declare var DisassociateConnectionFromLag$: StaticOperationSchema;
193
198
  export declare var DisassociateMacSecKey$: StaticOperationSchema;
199
+ export declare var ListVirtualInterfaceRoutes$: StaticOperationSchema;
194
200
  export declare var ListVirtualInterfaceTestHistory$: StaticOperationSchema;
195
201
  export declare var StartBgpFailoverTest$: StaticOperationSchema;
196
202
  export declare var StopBgpFailoverTest$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-direct-connect",
3
- "version": "3.1100.0",
3
+ "version": "3.1102.0",
4
4
  "description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-direct-connect",
6
6
  "license": "Apache-2.0",
@@ -48,8 +48,8 @@
48
48
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.977.4",
52
- "@aws-sdk/credential-provider-node": "^3.972.76",
51
+ "@aws-sdk/core": "^3.977.5",
52
+ "@aws-sdk/credential-provider-node": "^3.972.77",
53
53
  "@aws-sdk/types": "^3.974.2",
54
54
  "@smithy/core": "^3.31.1",
55
55
  "@smithy/fetch-http-handler": "^5.6.13",