@aws-sdk/client-direct-connect 3.1069.0 → 3.1071.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.
Files changed (37) hide show
  1. package/dist-cjs/models/errors.js +12 -0
  2. package/dist-cjs/schemas/schemas_0.js +42 -21
  3. package/dist-es/models/errors.js +12 -0
  4. package/dist-es/schemas/schemas_0.js +40 -21
  5. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +6 -0
  6. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +6 -0
  7. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +5 -0
  8. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +5 -0
  9. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +5 -0
  10. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +9 -0
  11. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +6 -0
  12. package/dist-types/commands/AssociateVirtualInterfaceCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateBGPPeerCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateConnectionCommand.d.ts +6 -0
  15. package/dist-types/commands/CreateLagCommand.d.ts +12 -0
  16. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +5 -0
  17. package/dist-types/commands/CreatePublicVirtualInterfaceCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateTransitVirtualInterfaceCommand.d.ts +5 -0
  19. package/dist-types/commands/DeleteBGPPeerCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteLagCommand.d.ts +12 -0
  22. package/dist-types/commands/DescribeConnectionsCommand.d.ts +6 -0
  23. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +6 -0
  24. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +6 -0
  25. package/dist-types/commands/DescribeLagsCommand.d.ts +12 -0
  26. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +2 -1
  27. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +6 -0
  28. package/dist-types/commands/UpdateConnectionCommand.d.ts +6 -0
  29. package/dist-types/commands/UpdateLagCommand.d.ts +12 -0
  30. package/dist-types/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +2 -0
  31. package/dist-types/models/errors.d.ts +12 -0
  32. package/dist-types/models/models_0.d.ts +427 -225
  33. package/dist-types/schemas/schemas_0.d.ts +2 -0
  34. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +16 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  37. package/package.json +3 -3
@@ -275,6 +275,32 @@ export interface MacSecKey {
275
275
  */
276
276
  startOn?: string | undefined;
277
277
  }
278
+ /**
279
+ * <p>Contains information about the rate limiter status for a connection, including the maximum number of rate limiters allowed, the number currently in use, and the remaining capacity.</p>
280
+ * @public
281
+ */
282
+ export interface RateLimiterStatus {
283
+ /**
284
+ * <p>The maximum number of rate limiters allowed on the connection.</p>
285
+ * @public
286
+ */
287
+ maxAllowed?: number | undefined;
288
+ /**
289
+ * <p>The number of rate limiters currently in use on the connection.</p>
290
+ * @public
291
+ */
292
+ inUse?: number | undefined;
293
+ /**
294
+ * <p>The number of rate limiters remaining (available) on the connection.</p>
295
+ * @public
296
+ */
297
+ remaining?: number | undefined;
298
+ /**
299
+ * <p>The total bandwidth allocated across all rate limiters on the connection.</p>
300
+ * @public
301
+ */
302
+ totalBandwidth?: string | undefined;
303
+ }
278
304
  /**
279
305
  * <p>Information about a tag.</p>
280
306
  * @public
@@ -449,6 +475,11 @@ export interface Connection {
449
475
  * @public
450
476
  */
451
477
  macSecKeys?: MacSecKey[] | undefined;
478
+ /**
479
+ * <p>The rate limiter status for the connection, including how many rate limiters are in use and the maximum allowed.</p>
480
+ * @public
481
+ */
482
+ rateLimiterStatus?: RateLimiterStatus | undefined;
452
483
  /**
453
484
  * <p>Indicates whether the interconnect hosting this connection supports MAC Security (MACsec).</p>
454
485
  * @public
@@ -510,40 +541,54 @@ export interface NewPrivateVirtualInterfaceAllocation {
510
541
  vlan: number | undefined;
511
542
  /**
512
543
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
513
- * <note>
514
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
515
- * <ul>
516
- * <li>
517
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
518
- * ranges.</p>
519
- * </li>
520
- * <li>
521
- * <p>If you provide a value in the same API call for both <code>asn</code>
544
+ * <ul>
545
+ * <li>
546
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
547
+ * </li>
548
+ * <li>
549
+ * <p>If you provide a value in the same API call for both <code>asn</code>
522
550
  * and <code>asnLong</code>, the API will only accept the value for
523
- * <code>asnLong</code>.</p>
524
- * </li>
525
- * </ul>
526
- * </note>
551
+ * <code>asnLong</code>.
552
+ * </p>
553
+ * </li>
554
+ * <li>
555
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
556
+ * </p>
557
+ * </li>
558
+ * <li>
559
+ * <p>If you are using a 2-byte ASN, the API response will include the
560
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
561
+ * </li>
562
+ * </ul>
527
563
  * <p>The valid values are 1-2147483646.</p>
528
564
  * @public
529
565
  */
530
566
  asn?: number | undefined;
531
567
  /**
532
568
  * <p>The ASN when allocating a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
533
- * <note>
534
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
535
- * <ul>
536
- * <li>
537
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
538
- * ranges.</p>
539
- * </li>
540
- * <li>
541
- * <p>If you provide a value in the same API call for both <code>asn</code>
569
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
570
+ * <ul>
571
+ * <li>
572
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
573
+ * </li>
574
+ * <li>
575
+ * <p>
576
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
577
+ * </p>
578
+ * </li>
579
+ * <li>
580
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
581
+ * </li>
582
+ * <li>
583
+ * <p>If you are using a 2-byte ASN, the API response will include the
584
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
585
+ * </li>
586
+ * <li>
587
+ * <p>If you provide a value in the same API call for both <code>asn</code>
542
588
  * and <code>asnLong</code>, the API will only accept the value for
543
589
  * <code>asnLong</code>.</p>
544
- * </li>
545
- * </ul>
546
- * </note>
590
+ * </li>
591
+ * </ul>
547
592
  * @public
548
593
  */
549
594
  asnLong?: number | undefined;
@@ -577,6 +622,11 @@ export interface NewPrivateVirtualInterfaceAllocation {
577
622
  * @public
578
623
  */
579
624
  tags?: Tag[] | undefined;
625
+ /**
626
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
627
+ * @public
628
+ */
629
+ rateLimit?: string | undefined;
580
630
  }
581
631
  /**
582
632
  * @public
@@ -610,39 +660,53 @@ export interface BGPPeer {
610
660
  bgpPeerId?: string | undefined;
611
661
  /**
612
662
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
613
- * <note>
614
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
615
- * <ul>
616
- * <li>
617
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
618
- * ranges.</p>
619
- * </li>
620
- * <li>
621
- * <p>If you provide a value in the same API call for both <code>asn</code>
663
+ * <ul>
664
+ * <li>
665
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
666
+ * </li>
667
+ * <li>
668
+ * <p>If you provide a value in the same API call for both <code>asn</code>
622
669
  * and <code>asnLong</code>, the API will only accept the value for
623
- * <code>asnLong</code>.</p>
624
- * </li>
625
- * </ul>
626
- * </note>
670
+ * <code>asnLong</code>.
671
+ * </p>
672
+ * </li>
673
+ * <li>
674
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
675
+ * </p>
676
+ * </li>
677
+ * <li>
678
+ * <p>If you are using a 2-byte ASN, the API response will include the
679
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
680
+ * </li>
681
+ * </ul>
627
682
  * @public
628
683
  */
629
684
  asn?: number | undefined;
630
685
  /**
631
686
  * <p>The long ASN for the BGP peer. The valid range is from 1 to 4294967294 for BGP configuration. </p>
632
- * <note>
633
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
634
- * <ul>
635
- * <li>
636
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
637
- * ranges.</p>
638
- * </li>
639
- * <li>
640
- * <p>If you provide a value in the same API call for both <code>asn</code>
687
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
688
+ * <ul>
689
+ * <li>
690
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
691
+ * </li>
692
+ * <li>
693
+ * <p>
694
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
695
+ * </p>
696
+ * </li>
697
+ * <li>
698
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
699
+ * </li>
700
+ * <li>
701
+ * <p>If you are using a 2-byte ASN, the API response will include the
702
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
703
+ * </li>
704
+ * <li>
705
+ * <p>If you provide a value in the same API call for both <code>asn</code>
641
706
  * and <code>asnLong</code>, the API will only accept the value for
642
707
  * <code>asnLong</code>.</p>
643
- * </li>
644
- * </ul>
645
- * </note>
708
+ * </li>
709
+ * </ul>
646
710
  * @public
647
711
  */
648
712
  asnLong?: number | undefined;
@@ -767,39 +831,53 @@ export interface VirtualInterface {
767
831
  vlan?: number | undefined;
768
832
  /**
769
833
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
770
- * <note>
771
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
772
- * <ul>
773
- * <li>
774
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
775
- * ranges.</p>
776
- * </li>
777
- * <li>
778
- * <p>If you provide a value in the same API call for both <code>asn</code>
834
+ * <ul>
835
+ * <li>
836
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
837
+ * </li>
838
+ * <li>
839
+ * <p>If you provide a value in the same API call for both <code>asn</code>
779
840
  * and <code>asnLong</code>, the API will only accept the value for
780
- * <code>asnLong</code>.</p>
781
- * </li>
782
- * </ul>
783
- * </note>
841
+ * <code>asnLong</code>.
842
+ * </p>
843
+ * </li>
844
+ * <li>
845
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
846
+ * </p>
847
+ * </li>
848
+ * <li>
849
+ * <p>If you are using a 2-byte ASN, the API response will include the
850
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
851
+ * </li>
852
+ * </ul>
784
853
  * @public
785
854
  */
786
855
  asn?: number | undefined;
787
856
  /**
788
857
  * <p>The long ASN for the virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
789
- * <note>
790
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
791
- * <ul>
792
- * <li>
793
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
794
- * ranges.</p>
795
- * </li>
796
- * <li>
797
- * <p>If you provide a value in the same API call for both <code>asn</code>
858
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
859
+ * <ul>
860
+ * <li>
861
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
862
+ * </li>
863
+ * <li>
864
+ * <p>
865
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
866
+ * </p>
867
+ * </li>
868
+ * <li>
869
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
870
+ * </li>
871
+ * <li>
872
+ * <p>If you are using a 2-byte ASN, the API response will include the
873
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
874
+ * </li>
875
+ * <li>
876
+ * <p>If you provide a value in the same API call for both <code>asn</code>
798
877
  * and <code>asnLong</code>, the API will only accept the value for
799
878
  * <code>asnLong</code>.</p>
800
- * </li>
801
- * </ul>
802
- * </note>
879
+ * </li>
880
+ * </ul>
803
881
  * @public
804
882
  */
805
883
  asnLong?: number | undefined;
@@ -936,6 +1014,11 @@ export interface VirtualInterface {
936
1014
  * @public
937
1015
  */
938
1016
  siteLinkEnabled?: boolean | undefined;
1017
+ /**
1018
+ * <p>The rate limit (bandwidth allocation) applied to the virtual interface. The possible values are <code>50 Mbps</code>, <code>100 Mbps</code>, <code>200 Mbps</code>, <code>300 Mbps</code>, <code>400 Mbps</code>, <code>500 Mbps</code>, <code>1 Gbps</code>, <code>2 Gbps</code>, <code>5 Gbps</code>, or <code>10 Gbps</code>.</p>
1019
+ * @public
1020
+ */
1021
+ rateLimit?: string | undefined;
939
1022
  }
940
1023
  /**
941
1024
  * <p>Information about a public virtual interface to be provisioned on a connection.</p>
@@ -954,40 +1037,54 @@ export interface NewPublicVirtualInterfaceAllocation {
954
1037
  vlan: number | undefined;
955
1038
  /**
956
1039
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
957
- * <note>
958
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
959
- * <ul>
960
- * <li>
961
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
962
- * ranges.</p>
963
- * </li>
964
- * <li>
965
- * <p>If you provide a value in the same API call for both <code>asn</code>
1040
+ * <ul>
1041
+ * <li>
1042
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1043
+ * </li>
1044
+ * <li>
1045
+ * <p>If you provide a value in the same API call for both <code>asn</code>
966
1046
  * and <code>asnLong</code>, the API will only accept the value for
967
- * <code>asnLong</code>.</p>
968
- * </li>
969
- * </ul>
970
- * </note>
1047
+ * <code>asnLong</code>.
1048
+ * </p>
1049
+ * </li>
1050
+ * <li>
1051
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
1052
+ * </p>
1053
+ * </li>
1054
+ * <li>
1055
+ * <p>If you are using a 2-byte ASN, the API response will include the
1056
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
1057
+ * </li>
1058
+ * </ul>
971
1059
  * <p>The valid values are 1-2147483646.</p>
972
1060
  * @public
973
1061
  */
974
1062
  asn?: number | undefined;
975
1063
  /**
976
1064
  * <p>The ASN when allocating a new public virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
977
- * <note>
978
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
979
- * <ul>
980
- * <li>
981
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
982
- * ranges.</p>
983
- * </li>
984
- * <li>
985
- * <p>If you provide a value in the same API call for both <code>asn</code>
1065
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
1066
+ * <ul>
1067
+ * <li>
1068
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1069
+ * </li>
1070
+ * <li>
1071
+ * <p>
1072
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
1073
+ * </p>
1074
+ * </li>
1075
+ * <li>
1076
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
1077
+ * </li>
1078
+ * <li>
1079
+ * <p>If you are using a 2-byte ASN, the API response will include the
1080
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
1081
+ * </li>
1082
+ * <li>
1083
+ * <p>If you provide a value in the same API call for both <code>asn</code>
986
1084
  * and <code>asnLong</code>, the API will only accept the value for
987
1085
  * <code>asnLong</code>.</p>
988
- * </li>
989
- * </ul>
990
- * </note>
1086
+ * </li>
1087
+ * </ul>
991
1088
  * @public
992
1089
  */
993
1090
  asnLong?: number | undefined;
@@ -1021,6 +1118,11 @@ export interface NewPublicVirtualInterfaceAllocation {
1021
1118
  * @public
1022
1119
  */
1023
1120
  tags?: Tag[] | undefined;
1121
+ /**
1122
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
1123
+ * @public
1124
+ */
1125
+ rateLimit?: string | undefined;
1024
1126
  }
1025
1127
  /**
1026
1128
  * @public
@@ -1059,40 +1161,54 @@ export interface NewTransitVirtualInterfaceAllocation {
1059
1161
  vlan?: number | undefined;
1060
1162
  /**
1061
1163
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
1062
- * <note>
1063
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1064
- * <ul>
1065
- * <li>
1066
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1067
- * ranges.</p>
1068
- * </li>
1069
- * <li>
1070
- * <p>If you provide a value in the same API call for both <code>asn</code>
1164
+ * <ul>
1165
+ * <li>
1166
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1167
+ * </li>
1168
+ * <li>
1169
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1071
1170
  * and <code>asnLong</code>, the API will only accept the value for
1072
- * <code>asnLong</code>.</p>
1073
- * </li>
1074
- * </ul>
1075
- * </note>
1171
+ * <code>asnLong</code>.
1172
+ * </p>
1173
+ * </li>
1174
+ * <li>
1175
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
1176
+ * </p>
1177
+ * </li>
1178
+ * <li>
1179
+ * <p>If you are using a 2-byte ASN, the API response will include the
1180
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
1181
+ * </li>
1182
+ * </ul>
1076
1183
  * <p>The valid values are 1-2147483646.</p>
1077
1184
  * @public
1078
1185
  */
1079
1186
  asn?: number | undefined;
1080
1187
  /**
1081
1188
  * <p>The ASN when allocating a new transit virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
1082
- * <note>
1083
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1084
- * <ul>
1085
- * <li>
1086
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
1087
- * ranges.</p>
1088
- * </li>
1089
- * <li>
1090
- * <p>If you provide a value in the same API call for both <code>asn</code>
1189
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
1190
+ * <ul>
1191
+ * <li>
1192
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
1193
+ * </li>
1194
+ * <li>
1195
+ * <p>
1196
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
1197
+ * </p>
1198
+ * </li>
1199
+ * <li>
1200
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
1201
+ * </li>
1202
+ * <li>
1203
+ * <p>If you are using a 2-byte ASN, the API response will include the
1204
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
1205
+ * </li>
1206
+ * <li>
1207
+ * <p>If you provide a value in the same API call for both <code>asn</code>
1091
1208
  * and <code>asnLong</code>, the API will only accept the value for
1092
1209
  * <code>asnLong</code>.</p>
1093
- * </li>
1094
- * </ul>
1095
- * </note>
1210
+ * </li>
1211
+ * </ul>
1096
1212
  * @public
1097
1213
  */
1098
1214
  asnLong?: number | undefined;
@@ -1126,6 +1242,11 @@ export interface NewTransitVirtualInterfaceAllocation {
1126
1242
  * @public
1127
1243
  */
1128
1244
  tags?: Tag[] | undefined;
1245
+ /**
1246
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
1247
+ * @public
1248
+ */
1249
+ rateLimit?: string | undefined;
1129
1250
  }
1130
1251
  /**
1131
1252
  * @public
@@ -2257,6 +2378,11 @@ export interface Lag {
2257
2378
  * @public
2258
2379
  */
2259
2380
  macSecKeys?: MacSecKey[] | undefined;
2381
+ /**
2382
+ * <p>The rate limiter status for the LAG, including how many rate limiters are in use and the maximum allowed.</p>
2383
+ * @public
2384
+ */
2385
+ rateLimiterStatus?: RateLimiterStatus | undefined;
2260
2386
  }
2261
2387
  /**
2262
2388
  * <p>Information about a private virtual interface.</p>
@@ -2275,40 +2401,54 @@ export interface NewPrivateVirtualInterface {
2275
2401
  vlan: number | undefined;
2276
2402
  /**
2277
2403
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2278
- * <note>
2279
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2280
- * <ul>
2281
- * <li>
2282
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2283
- * ranges.</p>
2284
- * </li>
2285
- * <li>
2286
- * <p>If you provide a value in the same API call for both <code>asn</code>
2404
+ * <ul>
2405
+ * <li>
2406
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2407
+ * </li>
2408
+ * <li>
2409
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2287
2410
  * and <code>asnLong</code>, the API will only accept the value for
2288
- * <code>asnLong</code>.</p>
2289
- * </li>
2290
- * </ul>
2291
- * </note>
2411
+ * <code>asnLong</code>.
2412
+ * </p>
2413
+ * </li>
2414
+ * <li>
2415
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
2416
+ * </p>
2417
+ * </li>
2418
+ * <li>
2419
+ * <p>If you are using a 2-byte ASN, the API response will include the
2420
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2421
+ * </li>
2422
+ * </ul>
2292
2423
  * <p>The valid values are 1-2147483646.</p>
2293
2424
  * @public
2294
2425
  */
2295
2426
  asn?: number | undefined;
2296
2427
  /**
2297
2428
  * <p>The long ASN for a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
2298
- * <note>
2299
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2300
- * <ul>
2301
- * <li>
2302
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2303
- * ranges.</p>
2304
- * </li>
2305
- * <li>
2306
- * <p>If you provide a value in the same API call for both <code>asn</code>
2429
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
2430
+ * <ul>
2431
+ * <li>
2432
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2433
+ * </li>
2434
+ * <li>
2435
+ * <p>
2436
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
2437
+ * </p>
2438
+ * </li>
2439
+ * <li>
2440
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
2441
+ * </li>
2442
+ * <li>
2443
+ * <p>If you are using a 2-byte ASN, the API response will include the
2444
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2445
+ * </li>
2446
+ * <li>
2447
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2307
2448
  * and <code>asnLong</code>, the API will only accept the value for
2308
2449
  * <code>asnLong</code>.</p>
2309
- * </li>
2310
- * </ul>
2311
- * </note>
2450
+ * </li>
2451
+ * </ul>
2312
2452
  * @public
2313
2453
  */
2314
2454
  asnLong?: number | undefined;
@@ -2357,6 +2497,11 @@ export interface NewPrivateVirtualInterface {
2357
2497
  * @public
2358
2498
  */
2359
2499
  enableSiteLink?: boolean | undefined;
2500
+ /**
2501
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
2502
+ * @public
2503
+ */
2504
+ rateLimit?: string | undefined;
2360
2505
  }
2361
2506
  /**
2362
2507
  * @public
@@ -2390,39 +2535,53 @@ export interface NewPublicVirtualInterface {
2390
2535
  vlan: number | undefined;
2391
2536
  /**
2392
2537
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2393
- * <note>
2394
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2395
- * <ul>
2396
- * <li>
2397
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2398
- * ranges.</p>
2399
- * </li>
2400
- * <li>
2401
- * <p>If you provide a value in the same API call for both <code>asn</code>
2538
+ * <ul>
2539
+ * <li>
2540
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2541
+ * </li>
2542
+ * <li>
2543
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2402
2544
  * and <code>asnLong</code>, the API will only accept the value for
2403
- * <code>asnLong</code>.</p>
2404
- * </li>
2405
- * </ul>
2406
- * </note>
2545
+ * <code>asnLong</code>.
2546
+ * </p>
2547
+ * </li>
2548
+ * <li>
2549
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
2550
+ * </p>
2551
+ * </li>
2552
+ * <li>
2553
+ * <p>If you are using a 2-byte ASN, the API response will include the
2554
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2555
+ * </li>
2556
+ * </ul>
2407
2557
  * @public
2408
2558
  */
2409
2559
  asn?: number | undefined;
2410
2560
  /**
2411
2561
  * <p>The long ASN for a new public virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.</p>
2412
- * <note>
2413
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2414
- * <ul>
2415
- * <li>
2416
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2417
- * ranges.</p>
2418
- * </li>
2419
- * <li>
2420
- * <p>If you provide a value in the same API call for both <code>asn</code>
2562
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
2563
+ * <ul>
2564
+ * <li>
2565
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2566
+ * </li>
2567
+ * <li>
2568
+ * <p>
2569
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
2570
+ * </p>
2571
+ * </li>
2572
+ * <li>
2573
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
2574
+ * </li>
2575
+ * <li>
2576
+ * <p>If you are using a 2-byte ASN, the API response will include the
2577
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2578
+ * </li>
2579
+ * <li>
2580
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2421
2581
  * and <code>asnLong</code>, the API will only accept the value for
2422
2582
  * <code>asnLong</code>.</p>
2423
- * </li>
2424
- * </ul>
2425
- * </note>
2583
+ * </li>
2584
+ * </ul>
2426
2585
  * @public
2427
2586
  */
2428
2587
  asnLong?: number | undefined;
@@ -2456,6 +2615,11 @@ export interface NewPublicVirtualInterface {
2456
2615
  * @public
2457
2616
  */
2458
2617
  tags?: Tag[] | undefined;
2618
+ /**
2619
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
2620
+ * @public
2621
+ */
2622
+ rateLimit?: string | undefined;
2459
2623
  }
2460
2624
  /**
2461
2625
  * @public
@@ -2489,39 +2653,53 @@ export interface NewTransitVirtualInterface {
2489
2653
  vlan?: number | undefined;
2490
2654
  /**
2491
2655
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2492
- * <note>
2493
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2494
- * <ul>
2495
- * <li>
2496
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2497
- * ranges.</p>
2498
- * </li>
2499
- * <li>
2500
- * <p>If you provide a value in the same API call for both <code>asn</code>
2656
+ * <ul>
2657
+ * <li>
2658
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2659
+ * </li>
2660
+ * <li>
2661
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2501
2662
  * and <code>asnLong</code>, the API will only accept the value for
2502
- * <code>asnLong</code>.</p>
2503
- * </li>
2504
- * </ul>
2505
- * </note>
2663
+ * <code>asnLong</code>.
2664
+ * </p>
2665
+ * </li>
2666
+ * <li>
2667
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
2668
+ * </p>
2669
+ * </li>
2670
+ * <li>
2671
+ * <p>If you are using a 2-byte ASN, the API response will include the
2672
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2673
+ * </li>
2674
+ * </ul>
2506
2675
  * @public
2507
2676
  */
2508
2677
  asn?: number | undefined;
2509
2678
  /**
2510
2679
  * <p>The long ASN for a new transit virtual interface.The valid range is from 1 to 4294967294 for BGP configuration.</p>
2511
- * <note>
2512
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2513
- * <ul>
2514
- * <li>
2515
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2516
- * ranges.</p>
2517
- * </li>
2518
- * <li>
2519
- * <p>If you provide a value in the same API call for both <code>asn</code>
2680
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
2681
+ * <ul>
2682
+ * <li>
2683
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2684
+ * </li>
2685
+ * <li>
2686
+ * <p>
2687
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
2688
+ * </p>
2689
+ * </li>
2690
+ * <li>
2691
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
2692
+ * </li>
2693
+ * <li>
2694
+ * <p>If you are using a 2-byte ASN, the API response will include the
2695
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2696
+ * </li>
2697
+ * <li>
2698
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2520
2699
  * and <code>asnLong</code>, the API will only accept the value for
2521
2700
  * <code>asnLong</code>.</p>
2522
- * </li>
2523
- * </ul>
2524
- * </note>
2701
+ * </li>
2702
+ * </ul>
2525
2703
  * @public
2526
2704
  */
2527
2705
  asnLong?: number | undefined;
@@ -2565,6 +2743,11 @@ export interface NewTransitVirtualInterface {
2565
2743
  * @public
2566
2744
  */
2567
2745
  enableSiteLink?: boolean | undefined;
2746
+ /**
2747
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.</p>
2748
+ * @public
2749
+ */
2750
+ rateLimit?: string | undefined;
2568
2751
  }
2569
2752
  /**
2570
2753
  * @public
@@ -2602,39 +2785,53 @@ export interface DeleteBGPPeerRequest {
2602
2785
  virtualInterfaceId?: string | undefined;
2603
2786
  /**
2604
2787
  * <p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>
2605
- * <note>
2606
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2607
- * <ul>
2608
- * <li>
2609
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2610
- * ranges.</p>
2611
- * </li>
2612
- * <li>
2613
- * <p>If you provide a value in the same API call for both <code>asn</code>
2788
+ * <ul>
2789
+ * <li>
2790
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2791
+ * </li>
2792
+ * <li>
2793
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2614
2794
  * and <code>asnLong</code>, the API will only accept the value for
2615
- * <code>asnLong</code>.</p>
2616
- * </li>
2617
- * </ul>
2618
- * </note>
2795
+ * <code>asnLong</code>.
2796
+ * </p>
2797
+ * </li>
2798
+ * <li>
2799
+ * <p>If you enter a 4-byte ASN for the <code>asn</code> parameter, the API returns an error.
2800
+ * </p>
2801
+ * </li>
2802
+ * <li>
2803
+ * <p>If you are using a 2-byte ASN, the API response will include the
2804
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2805
+ * </li>
2806
+ * </ul>
2619
2807
  * @public
2620
2808
  */
2621
2809
  asn?: number | undefined;
2622
2810
  /**
2623
2811
  * <p>The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration. </p>
2624
- * <note>
2625
- * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2626
- * <ul>
2627
- * <li>
2628
- * <p>The <code>asnLong</code> attribute accepts both ASN and long ASN
2629
- * ranges.</p>
2630
- * </li>
2631
- * <li>
2632
- * <p>If you provide a value in the same API call for both <code>asn</code>
2812
+ * <p>Note the following limitations when using <code>asnLong</code>:</p>
2813
+ * <ul>
2814
+ * <li>
2815
+ * <p>You can use <code>asnLong</code> or <code>asn</code>, but not both. We recommend using <code>asnLong</code> as it supports a greater pool of numbers. </p>
2816
+ * </li>
2817
+ * <li>
2818
+ * <p>
2819
+ * <code>asnLong</code> accepts any valid ASN value, regardless if it's 2-byte or 4-byte.
2820
+ * </p>
2821
+ * </li>
2822
+ * <li>
2823
+ * <p>When using a 4-byte <code>asnLong</code>, the API response returns <code>0</code> for the legacy <code>asn</code> attribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647.</p>
2824
+ * </li>
2825
+ * <li>
2826
+ * <p>If you are using a 2-byte ASN, the API response will include the
2827
+ * 2-byte value for both the <code>asn</code> and <code>asnLong</code> fields.</p>
2828
+ * </li>
2829
+ * <li>
2830
+ * <p>If you provide a value in the same API call for both <code>asn</code>
2633
2831
  * and <code>asnLong</code>, the API will only accept the value for
2634
2832
  * <code>asnLong</code>.</p>
2635
- * </li>
2636
- * </ul>
2637
- * </note>
2833
+ * </li>
2834
+ * </ul>
2638
2835
  * @public
2639
2836
  */
2640
2837
  asnLong?: number | undefined;
@@ -3970,4 +4167,9 @@ export interface UpdateVirtualInterfaceAttributesRequest {
3970
4167
  * @public
3971
4168
  */
3972
4169
  virtualInterfaceName?: string | undefined;
4170
+ /**
4171
+ * <p>The rate limit (bandwidth allocation) to apply to the virtual interface. Use this to update the bandwidth allocation on an existing virtual interface.</p>
4172
+ * @public
4173
+ */
4174
+ rateLimit?: string | undefined;
3973
4175
  }