/
models_0.ts
3743 lines (3275 loc) · 99 KB
/
models_0.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// smithy-typescript generated code
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
import { DirectConnectServiceException as __BaseException } from "./DirectConnectServiceException";
/**
* @public
* <p>Information about a route filter prefix that a customer can advertise through Border Gateway Protocol (BGP)
* over a public virtual interface.</p>
*/
export interface RouteFilterPrefix {
/**
* <p>The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.</p>
*/
cidr?: string;
}
/**
* @public
*/
export interface AcceptDirectConnectGatewayAssociationProposalRequest {
/**
* <p>The ID of the Direct Connect gateway.</p>
*/
directConnectGatewayId: string | undefined;
/**
* <p>The ID of the request proposal.</p>
*/
proposalId: string | undefined;
/**
* <p>The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.</p>
*/
associatedGatewayOwnerAccount: string | undefined;
/**
* <p>Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.</p>
* <p>For information about how to set the prefixes, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/multi-account-associate-vgw.html#allowed-prefixes">Allowed Prefixes</a> in the <i>Direct Connect User Guide</i>.</p>
*/
overrideAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
}
/**
* @public
*/
export enum GatewayType {
TransitGateway = "transitGateway",
VirtualPrivateGateway = "virtualPrivateGateway",
}
/**
* @public
* <p>Information about the associated gateway.</p>
*/
export interface AssociatedGateway {
/**
* <p>The ID of the associated gateway.</p>
*/
id?: string;
/**
* <p>The type of associated gateway.</p>
*/
type?: GatewayType | string;
/**
* <p>The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.</p>
*/
ownerAccount?: string;
/**
* <p>The Region where the associated gateway is located.</p>
*/
region?: string;
}
/**
* @public
*/
export enum DirectConnectGatewayAssociationState {
associated = "associated",
associating = "associating",
disassociated = "disassociated",
disassociating = "disassociating",
updating = "updating",
}
/**
* @public
* <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
*/
export interface DirectConnectGatewayAssociation {
/**
* <p>The ID of the Direct Connect gateway.</p>
*/
directConnectGatewayId?: string;
/**
* <p>The ID of the Amazon Web Services account that owns the associated gateway.</p>
*/
directConnectGatewayOwnerAccount?: string;
/**
* <p>The state of the association. The following are the possible values:</p>
* <ul>
* <li>
* <p>
* <code>associating</code>: The initial state after calling <a>CreateDirectConnectGatewayAssociation</a>.</p>
* </li>
* <li>
* <p>
* <code>associated</code>: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic.</p>
* </li>
* <li>
* <p>
* <code>disassociating</code>: The initial state after calling <a>DeleteDirectConnectGatewayAssociation</a>.</p>
* </li>
* <li>
* <p>
* <code>disassociated</code>: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.</p>
* </li>
* <li>
* <p>
* <code>updating</code>: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could
* be new CIDR blocks added or current CIDR blocks removed.</p>
* </li>
* </ul>
*/
associationState?: DirectConnectGatewayAssociationState | string;
/**
* <p>The error message if the state of an object failed to advance.</p>
*/
stateChangeError?: string;
/**
* <p>Information about the associated gateway.</p>
*/
associatedGateway?: AssociatedGateway;
/**
* <p>The ID of the Direct Connect gateway association.</p>
*/
associationId?: string;
/**
* <p>The Amazon VPC prefixes to advertise to the Direct Connect gateway.</p>
*/
allowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
/**
* <p>The ID of the virtual private gateway. Applies only to private virtual interfaces.</p>
*/
virtualGatewayId?: string;
/**
* @deprecated
*
* <p>The Amazon Web Services Region where the virtual private gateway is located.</p>
*/
virtualGatewayRegion?: string;
/**
* <p>The ID of the Amazon Web Services account that owns the virtual private gateway.</p>
*/
virtualGatewayOwnerAccount?: string;
}
/**
* @public
*/
export interface AcceptDirectConnectGatewayAssociationProposalResult {
/**
* <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
*/
directConnectGatewayAssociation?: DirectConnectGatewayAssociation;
}
/**
* @public
* <p>One or more parameters are not valid.</p>
*/
export class DirectConnectClientException extends __BaseException {
readonly name: "DirectConnectClientException" = "DirectConnectClientException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<DirectConnectClientException, __BaseException>) {
super({
name: "DirectConnectClientException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, DirectConnectClientException.prototype);
}
}
/**
* @public
* <p>A server-side error occurred.</p>
*/
export class DirectConnectServerException extends __BaseException {
readonly name: "DirectConnectServerException" = "DirectConnectServerException";
readonly $fault: "server" = "server";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<DirectConnectServerException, __BaseException>) {
super({
name: "DirectConnectServerException",
$fault: "server",
...opts,
});
Object.setPrototypeOf(this, DirectConnectServerException.prototype);
}
}
/**
* @public
*/
export enum AddressFamily {
IPv4 = "ipv4",
IPv6 = "ipv6",
}
/**
* @public
* <p>The name and status of a customer agreement. </p>
*/
export interface CustomerAgreement {
/**
* <p>The name of the agreement.</p>
*/
agreementName?: string;
/**
* <p>The status of the customer agreement. This will be either <code>signed</code> or <code>unsigned</code>
* </p>
*/
status?: string;
}
/**
* @public
*/
export interface AllocateConnectionOnInterconnectRequest {
/**
* <p>The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps,
* 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners
* who have met specific requirements
* are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.</p>
*/
bandwidth: string | undefined;
/**
* <p>The name of the provisioned connection.</p>
*/
connectionName: string | undefined;
/**
* <p>The ID of the Amazon Web Services account of the customer for whom the connection will be provisioned.</p>
*/
ownerAccount: string | undefined;
/**
* <p>The ID of the interconnect on which the connection will be provisioned.</p>
*/
interconnectId: string | undefined;
/**
* <p>The dedicated VLAN provisioned to the connection.</p>
*/
vlan: number | undefined;
}
/**
* @public
*/
export enum ConnectionState {
available = "available",
deleted = "deleted",
deleting = "deleting",
down = "down",
ordering = "ordering",
pending = "pending",
rejected = "rejected",
requested = "requested",
unknown = "unknown",
}
/**
* @public
*/
export enum HasLogicalRedundancy {
No = "no",
Unknown = "unknown",
Yes = "yes",
}
/**
* @public
* <p>Information about the MAC Security (MACsec) secret key.</p>
*/
export interface MacSecKey {
/**
* <p>The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.</p>
*/
secretARN?: string;
/**
* <p>The Connection Key Name (CKN) for the MAC Security secret key.</p>
*/
ckn?: string;
/**
* <p>The state of the MAC Security (MACsec) secret key.</p>
* <p>The possible values are:</p>
* <ul>
* <li>
* <p>
* <code>associating</code>: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG.</p>
* </li>
* <li>
* <p>
* <code>associated</code>: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG.</p>
* </li>
* <li>
* <p>
* <code>disassociating</code>: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG</p>
* </li>
* <li>
* <p>
* <code>disassociated</code>: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.</p>
* </li>
* </ul>
*/
state?: string;
/**
* <p>The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.</p>
*/
startOn?: string;
}
/**
* @public
* <p>Information about a tag.</p>
*/
export interface Tag {
/**
* <p>The key.</p>
*/
key: string | undefined;
/**
* <p>The value.</p>
*/
value?: string;
}
/**
* @public
* <p>Information about an Direct Connect connection.</p>
*/
export interface Connection {
/**
* <p>The ID of the Amazon Web Services account that owns the connection.</p>
*/
ownerAccount?: string;
/**
* <p>The ID of the connection.</p>
*/
connectionId?: string;
/**
* <p>The name of the connection.</p>
*/
connectionName?: string;
/**
* <p>The state of the connection. The following are the possible values:</p>
* <ul>
* <li>
* <p>
* <code>ordering</code>: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.</p>
* </li>
* <li>
* <p>
* <code>requested</code>: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.</p>
* </li>
* <li>
* <p>
* <code>pending</code>: The connection has been approved and is being initialized.</p>
* </li>
* <li>
* <p>
* <code>available</code>: The network link is up and the connection is ready for use.</p>
* </li>
* <li>
* <p>
* <code>down</code>: The network link is down.</p>
* </li>
* <li>
* <p>
* <code>deleting</code>: The connection is being deleted.</p>
* </li>
* <li>
* <p>
* <code>deleted</code>: The connection has been deleted.</p>
* </li>
* <li>
* <p>
* <code>rejected</code>: A hosted connection in the <code>ordering</code> state enters the <code>rejected</code> state if it is deleted by the customer.</p>
* </li>
* <li>
* <p>
* <code>unknown</code>: The state of the connection is not available.</p>
* </li>
* </ul>
*/
connectionState?: ConnectionState | string;
/**
* <p>The Amazon Web Services Region where the connection is located.</p>
*/
region?: string;
/**
* <p>The location of the connection.</p>
*/
location?: string;
/**
* <p>The bandwidth of the connection.</p>
*/
bandwidth?: string;
/**
* <p>The ID of the VLAN.</p>
*/
vlan?: number;
/**
* <p>The name of the Direct Connect service provider associated with the connection.</p>
*/
partnerName?: string;
/**
* <p>The time of the most recent call to <a>DescribeLoa</a> for this connection.</p>
*/
loaIssueTime?: Date;
/**
* <p>The ID of the LAG.</p>
*/
lagId?: string;
/**
* @deprecated
*
* <p>The Direct Connect endpoint on which the physical connection terminates.</p>
*/
awsDevice?: string;
/**
* <p>Indicates whether jumbo frames (9001 MTU) are supported.</p>
*/
jumboFrameCapable?: boolean;
/**
* <p>The Direct Connect endpoint that terminates the physical connection.</p>
*/
awsDeviceV2?: string;
/**
* <p>The Direct Connect endpoint that terminates the logical connection. This device might be
* different than the device that terminates the physical connection.</p>
*/
awsLogicalDeviceId?: string;
/**
* <p>Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).</p>
*/
hasLogicalRedundancy?: HasLogicalRedundancy | string;
/**
* <p>The tags associated with the connection.</p>
*/
tags?: Tag[];
/**
* <p>The name of the service provider associated with the connection.</p>
*/
providerName?: string;
/**
* <p>Indicates whether the connection supports MAC Security (MACsec).</p>
*/
macSecCapable?: boolean;
/**
* <p>The MAC Security (MACsec) port link status of the connection.</p>
* <p>The valid values are <code>Encryption Up</code>, which means that there is an active Connection Key Name, or <code>Encryption Down</code>.</p>
*/
portEncryptionStatus?: string;
/**
* <p>The MAC Security (MACsec) connection encryption mode.</p>
* <p>The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.</p>
*/
encryptionMode?: string;
/**
* <p>The MAC Security (MACsec) security keys associated with the connection.</p>
*/
macSecKeys?: MacSecKey[];
}
/**
* @public
*/
export interface AllocateHostedConnectionRequest {
/**
* <p>The ID of the interconnect or LAG.</p>
*/
connectionId: string | undefined;
/**
* <p>The ID of the Amazon Web Services account ID of the customer for the connection.</p>
*/
ownerAccount: string | undefined;
/**
* <p>The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection. </p>
*/
bandwidth: string | undefined;
/**
* <p>The name of the hosted connection.</p>
*/
connectionName: string | undefined;
/**
* <p>The dedicated VLAN provisioned to the hosted connection.</p>
*/
vlan: number | undefined;
/**
* <p>The tags associated with the connection.</p>
*/
tags?: Tag[];
}
/**
* @public
* <p>A tag key was specified more than once.</p>
*/
export class DuplicateTagKeysException extends __BaseException {
readonly name: "DuplicateTagKeysException" = "DuplicateTagKeysException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<DuplicateTagKeysException, __BaseException>) {
super({
name: "DuplicateTagKeysException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, DuplicateTagKeysException.prototype);
}
}
/**
* @public
* <p>You have reached the limit on the number of tags that can be assigned.</p>
*/
export class TooManyTagsException extends __BaseException {
readonly name: "TooManyTagsException" = "TooManyTagsException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>) {
super({
name: "TooManyTagsException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, TooManyTagsException.prototype);
}
}
/**
* @public
* <p>Information about a private virtual interface to be provisioned on a connection.</p>
*/
export interface NewPrivateVirtualInterfaceAllocation {
/**
* <p>The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).</p>
*/
virtualInterfaceName: string | undefined;
/**
* <p>The ID of the VLAN.</p>
*/
vlan: number | undefined;
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
* <p>The valid values are 1-2147483647.</p>
*/
asn: number | undefined;
/**
* <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.</p>
*/
mtu?: number;
/**
* <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>
*/
authKey?: string;
/**
* <p>The IP address assigned to the Amazon interface.</p>
*/
amazonAddress?: string;
/**
* <p>The address family for the BGP peer.</p>
*/
addressFamily?: AddressFamily | string;
/**
* <p>The IP address assigned to the customer interface.</p>
*/
customerAddress?: string;
/**
* <p>The tags associated with the private virtual interface.</p>
*/
tags?: Tag[];
}
/**
* @public
*/
export interface AllocatePrivateVirtualInterfaceRequest {
/**
* <p>The ID of the connection on which the private virtual interface is provisioned.</p>
*/
connectionId: string | undefined;
/**
* <p>The ID of the Amazon Web Services account that owns the virtual private interface.</p>
*/
ownerAccount: string | undefined;
/**
* <p>Information about the private virtual interface.</p>
*/
newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocation | undefined;
}
/**
* @public
*/
export enum BGPPeerState {
Available = "available",
Deleted = "deleted",
Deleting = "deleting",
Pending = "pending",
Verifying = "verifying",
}
/**
* @public
*/
export enum BGPStatus {
Down = "down",
Unknown = "unknown",
Up = "up",
}
/**
* @public
* <p>Information about a BGP peer.</p>
*/
export interface BGPPeer {
/**
* <p>The ID of the BGP peer.</p>
*/
bgpPeerId?: string;
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
*/
asn?: number;
/**
* <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>
*/
authKey?: string;
/**
* <p>The address family for the BGP peer.</p>
*/
addressFamily?: AddressFamily | string;
/**
* <p>The IP address assigned to the Amazon interface.</p>
*/
amazonAddress?: string;
/**
* <p>The IP address assigned to the customer interface.</p>
*/
customerAddress?: string;
/**
* <p>The state of the BGP peer. The following are the possible values:</p>
* <ul>
* <li>
* <p>
* <code>verifying</code>: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces.</p>
* </li>
* <li>
* <p>
* <code>pending</code>: The BGP peer is created, and remains in this state until it is ready to be established.</p>
* </li>
* <li>
* <p>
* <code>available</code>: The BGP peer is ready to be established.</p>
* </li>
* <li>
* <p>
* <code>deleting</code>: The BGP peer is being deleted.</p>
* </li>
* <li>
* <p>
* <code>deleted</code>: The BGP peer is deleted and cannot be established.</p>
* </li>
* </ul>
*/
bgpPeerState?: BGPPeerState | string;
/**
* <p>The status of the BGP peer. The following are the possible values:</p>
* <ul>
* <li>
* <p>
* <code>up</code>: The BGP peer is established. This state does not indicate the
* state of the routing function. Ensure that you are receiving routes over the BGP session.</p>
* </li>
* <li>
* <p>
* <code>down</code>: The BGP peer is down.</p>
* </li>
* <li>
* <p>
* <code>unknown</code>: The BGP peer status is not available.</p>
* </li>
* </ul>
*/
bgpStatus?: BGPStatus | string;
/**
* <p>The Direct Connect endpoint that terminates the BGP peer.</p>
*/
awsDeviceV2?: string;
/**
* <p>The Direct Connect endpoint that terminates the logical connection. This device might be
* different than the device that terminates the physical connection.</p>
*/
awsLogicalDeviceId?: string;
}
/**
* @public
*/
export enum VirtualInterfaceState {
available = "available",
confirming = "confirming",
deleted = "deleted",
deleting = "deleting",
down = "down",
pending = "pending",
rejected = "rejected",
unknown = "unknown",
verifying = "verifying",
}
/**
* @public
* <p>Information about a virtual interface.</p>
*/
export interface VirtualInterface {
/**
* <p>The ID of the Amazon Web Services account that owns the virtual interface.</p>
*/
ownerAccount?: string;
/**
* <p>The ID of the virtual interface.</p>
*/
virtualInterfaceId?: string;
/**
* <p>The location of the connection.</p>
*/
location?: string;
/**
* <p>The ID of the connection.</p>
*/
connectionId?: string;
/**
* <p>The type of virtual interface. The possible values are <code>private</code> and <code>public</code>.</p>
*/
virtualInterfaceType?: string;
/**
* <p>The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).</p>
*/
virtualInterfaceName?: string;
/**
* <p>The ID of the VLAN.</p>
*/
vlan?: number;
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
* <p>The valid values are 1-2147483647.</p>
*/
asn?: number;
/**
* <p>The autonomous system number (ASN) for the Amazon side of the connection.</p>
*/
amazonSideAsn?: number;
/**
* <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>
*/
authKey?: string;
/**
* <p>The IP address assigned to the Amazon interface.</p>
*/
amazonAddress?: string;
/**
* <p>The IP address assigned to the customer interface.</p>
*/
customerAddress?: string;
/**
* <p>The address family for the BGP peer.</p>
*/
addressFamily?: AddressFamily | string;
/**
* <p>The state of the virtual interface. The following are the possible values:</p>
* <ul>
* <li>
* <p>
* <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
* </li>
* <li>
* <p>
* <code>verifying</code>: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.</p>
* </li>
* <li>
* <p>
* <code>pending</code>: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.</p>
* </li>
* <li>
* <p>
* <code>available</code>: A virtual interface that is able to forward traffic.</p>
* </li>
* <li>
* <p>
* <code>down</code>: A virtual interface that is BGP down.</p>
* </li>
* <li>
* <p>
* <code>deleting</code>: A virtual interface is in this state immediately after calling <a>DeleteVirtualInterface</a> until it can no longer forward traffic.</p>
* </li>
* <li>
* <p>
* <code>deleted</code>: A virtual interface that cannot forward traffic.</p>
* </li>
* <li>
* <p>
* <code>rejected</code>: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the <code>Confirming</code> state is deleted by the virtual interface owner, the virtual interface enters the <code>Rejected</code> state.</p>
* </li>
* <li>
* <p>
* <code>unknown</code>: The state of the virtual interface is not available.</p>
* </li>
* </ul>
*/
virtualInterfaceState?: VirtualInterfaceState | string;
/**
* <p>The customer router configuration.</p>
*/
customerRouterConfig?: string;
/**
* <p>The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.</p>
*/
mtu?: number;
/**
* <p>Indicates whether jumbo frames (9001 MTU) are supported.</p>
*/
jumboFrameCapable?: boolean;
/**
* <p>The ID of the virtual private gateway. Applies only to private virtual interfaces.</p>
*/
virtualGatewayId?: string;
/**
* <p>The ID of the Direct Connect gateway.</p>
*/
directConnectGatewayId?: string;
/**
* <p>The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.</p>
*/
routeFilterPrefixes?: RouteFilterPrefix[];
/**
* <p>The BGP peers configured on this virtual interface.</p>
*/
bgpPeers?: BGPPeer[];
/**
* <p>The Amazon Web Services Region where the virtual interface is located.</p>
*/
region?: string;
/**
* <p>The Direct Connect endpoint that terminates the physical connection.</p>
*/
awsDeviceV2?: string;
/**
* <p>The Direct Connect endpoint that terminates the logical connection. This device might be
* different than the device that terminates the physical connection.</p>
*/
awsLogicalDeviceId?: string;
/**
* <p>The tags associated with the virtual interface.</p>
*/
tags?: Tag[];
/**
* <p>Indicates whether SiteLink is enabled.</p>
*/
siteLinkEnabled?: boolean;
}
/**
* @public
* <p>Information about a public virtual interface to be provisioned on a connection.</p>
*/
export interface NewPublicVirtualInterfaceAllocation {
/**
* <p>The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).</p>
*/
virtualInterfaceName: string | undefined;
/**
* <p>The ID of the VLAN.</p>
*/
vlan: number | undefined;
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.</p>
* <p>The valid values are 1-2147483647.</p>
*/
asn: number | undefined;
/**
* <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>
*/
authKey?: string;
/**