@aws-sdk/client-direct-connect 3.300.0 → 3.303.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 (65) hide show
  1. package/dist-cjs/models/models_0.js +101 -117
  2. package/dist-es/models/models_0.js +101 -117
  3. package/dist-types/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +3 -3
  4. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +1 -1
  5. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +3 -3
  6. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +4 -4
  7. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +6 -6
  8. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +4 -4
  9. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +1 -1
  10. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +1 -1
  11. package/dist-types/commands/AssociateMacSecKeyCommand.d.ts +1 -1
  12. package/dist-types/commands/AssociateVirtualInterfaceCommand.d.ts +1 -1
  13. package/dist-types/commands/ConfirmConnectionCommand.d.ts +1 -1
  14. package/dist-types/commands/ConfirmCustomerAgreementCommand.d.ts +1 -1
  15. package/dist-types/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +1 -1
  16. package/dist-types/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +1 -1
  17. package/dist-types/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateBGPPeerCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateConnectionCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateDirectConnectGatewayCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateInterconnectCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateLagCommand.d.ts +3 -3
  25. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +4 -4
  26. package/dist-types/commands/CreatePublicVirtualInterfaceCommand.d.ts +6 -6
  27. package/dist-types/commands/CreateTransitVirtualInterfaceCommand.d.ts +4 -4
  28. package/dist-types/commands/DeleteBGPPeerCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteDirectConnectGatewayCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteInterconnectCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteLagCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteVirtualInterfaceCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeConnectionLoaCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeConnectionsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeDirectConnectGatewaysCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeInterconnectLoaCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeInterconnectsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeLagsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeLoaCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeRouterConfigurationCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeTagsCommand.d.ts +2 -2
  50. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateMacSecKeyCommand.d.ts +1 -1
  53. package/dist-types/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +2 -2
  54. package/dist-types/commands/StartBgpFailoverTestCommand.d.ts +2 -2
  55. package/dist-types/commands/StopBgpFailoverTestCommand.d.ts +1 -1
  56. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  57. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  58. package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +3 -3
  60. package/dist-types/commands/UpdateDirectConnectGatewayCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateLagCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +1 -1
  63. package/dist-types/models/models_0.d.ts +181 -101
  64. package/dist-types/ts3.4/models/models_0.d.ts +128 -101
  65. package/package.json +34 -34
@@ -27,10 +27,10 @@ export interface UpdateDirectConnectGatewayAssociationCommandOutput extends Upda
27
27
  * import { DirectConnectClient, UpdateDirectConnectGatewayAssociationCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
28
28
  * // const { DirectConnectClient, UpdateDirectConnectGatewayAssociationCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
29
29
  * const client = new DirectConnectClient(config);
30
- * const input = {
30
+ * const input = { // UpdateDirectConnectGatewayAssociationRequest
31
31
  * associationId: "STRING_VALUE",
32
- * addAllowedPrefixesToDirectConnectGateway: [
33
- * {
32
+ * addAllowedPrefixesToDirectConnectGateway: [ // RouteFilterPrefixList
33
+ * { // RouteFilterPrefix
34
34
  * cidr: "STRING_VALUE",
35
35
  * },
36
36
  * ],
@@ -26,7 +26,7 @@ export interface UpdateDirectConnectGatewayCommandOutput extends UpdateDirectCon
26
26
  * import { DirectConnectClient, UpdateDirectConnectGatewayCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
27
27
  * // const { DirectConnectClient, UpdateDirectConnectGatewayCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
28
28
  * const client = new DirectConnectClient(config);
29
- * const input = {
29
+ * const input = { // UpdateDirectConnectGatewayRequest
30
30
  * directConnectGatewayId: "STRING_VALUE", // required
31
31
  * newDirectConnectGatewayName: "STRING_VALUE", // required
32
32
  * };
@@ -48,7 +48,7 @@ export interface UpdateLagCommandOutput extends Lag, __MetadataBearer {
48
48
  * import { DirectConnectClient, UpdateLagCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
49
49
  * // const { DirectConnectClient, UpdateLagCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
50
50
  * const client = new DirectConnectClient(config);
51
- * const input = {
51
+ * const input = { // UpdateLagRequest
52
52
  * lagId: "STRING_VALUE", // required
53
53
  * lagName: "STRING_VALUE",
54
54
  * minimumLinks: Number("int"),
@@ -32,7 +32,7 @@ export interface UpdateVirtualInterfaceAttributesCommandOutput extends VirtualIn
32
32
  * import { DirectConnectClient, UpdateVirtualInterfaceAttributesCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
33
33
  * // const { DirectConnectClient, UpdateVirtualInterfaceAttributesCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
34
34
  * const client = new DirectConnectClient(config);
35
- * const input = {
35
+ * const input = { // UpdateVirtualInterfaceAttributesRequest
36
36
  * virtualInterfaceId: "STRING_VALUE", // required
37
37
  * mtu: Number("int"),
38
38
  * enableSiteLink: true || false,
@@ -35,11 +35,16 @@ export interface AcceptDirectConnectGatewayAssociationProposalRequest {
35
35
  }
36
36
  /**
37
37
  * @public
38
+ * @enum
38
39
  */
39
- export declare enum GatewayType {
40
- TransitGateway = "transitGateway",
41
- VirtualPrivateGateway = "virtualPrivateGateway"
42
- }
40
+ export declare const GatewayType: {
41
+ readonly TransitGateway: "transitGateway";
42
+ readonly VirtualPrivateGateway: "virtualPrivateGateway";
43
+ };
44
+ /**
45
+ * @public
46
+ */
47
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
43
48
  /**
44
49
  * @public
45
50
  * <p>Information about the associated gateway.</p>
@@ -64,14 +69,19 @@ export interface AssociatedGateway {
64
69
  }
65
70
  /**
66
71
  * @public
72
+ * @enum
67
73
  */
68
- export declare enum DirectConnectGatewayAssociationState {
69
- associated = "associated",
70
- associating = "associating",
71
- disassociated = "disassociated",
72
- disassociating = "disassociating",
73
- updating = "updating"
74
- }
74
+ export declare const DirectConnectGatewayAssociationState: {
75
+ readonly associated: "associated";
76
+ readonly associating: "associating";
77
+ readonly disassociated: "disassociated";
78
+ readonly disassociating: "disassociating";
79
+ readonly updating: "updating";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type DirectConnectGatewayAssociationState = (typeof DirectConnectGatewayAssociationState)[keyof typeof DirectConnectGatewayAssociationState];
75
85
  /**
76
86
  * @public
77
87
  * <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
@@ -178,11 +188,16 @@ export declare class DirectConnectServerException extends __BaseException {
178
188
  }
179
189
  /**
180
190
  * @public
191
+ * @enum
181
192
  */
182
- export declare enum AddressFamily {
183
- IPv4 = "ipv4",
184
- IPv6 = "ipv6"
185
- }
193
+ export declare const AddressFamily: {
194
+ readonly IPv4: "ipv4";
195
+ readonly IPv6: "ipv6";
196
+ };
197
+ /**
198
+ * @public
199
+ */
200
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
186
201
  /**
187
202
  * @public
188
203
  * <p>The name and status of a customer agreement. </p>
@@ -228,26 +243,36 @@ export interface AllocateConnectionOnInterconnectRequest {
228
243
  }
229
244
  /**
230
245
  * @public
246
+ * @enum
231
247
  */
232
- export declare enum ConnectionState {
233
- available = "available",
234
- deleted = "deleted",
235
- deleting = "deleting",
236
- down = "down",
237
- ordering = "ordering",
238
- pending = "pending",
239
- rejected = "rejected",
240
- requested = "requested",
241
- unknown = "unknown"
242
- }
248
+ export declare const ConnectionState: {
249
+ readonly available: "available";
250
+ readonly deleted: "deleted";
251
+ readonly deleting: "deleting";
252
+ readonly down: "down";
253
+ readonly ordering: "ordering";
254
+ readonly pending: "pending";
255
+ readonly rejected: "rejected";
256
+ readonly requested: "requested";
257
+ readonly unknown: "unknown";
258
+ };
243
259
  /**
244
260
  * @public
245
261
  */
246
- export declare enum HasLogicalRedundancy {
247
- No = "no",
248
- Unknown = "unknown",
249
- Yes = "yes"
250
- }
262
+ export type ConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState];
263
+ /**
264
+ * @public
265
+ * @enum
266
+ */
267
+ export declare const HasLogicalRedundancy: {
268
+ readonly No: "no";
269
+ readonly Unknown: "unknown";
270
+ readonly Yes: "yes";
271
+ };
272
+ /**
273
+ * @public
274
+ */
275
+ export type HasLogicalRedundancy = (typeof HasLogicalRedundancy)[keyof typeof HasLogicalRedundancy];
251
276
  /**
252
277
  * @public
253
278
  * <p>Information about the MAC Security (MACsec) secret key.</p>
@@ -555,22 +580,32 @@ export interface AllocatePrivateVirtualInterfaceRequest {
555
580
  }
556
581
  /**
557
582
  * @public
583
+ * @enum
558
584
  */
559
- export declare enum BGPPeerState {
560
- Available = "available",
561
- Deleted = "deleted",
562
- Deleting = "deleting",
563
- Pending = "pending",
564
- Verifying = "verifying"
565
- }
585
+ export declare const BGPPeerState: {
586
+ readonly Available: "available";
587
+ readonly Deleted: "deleted";
588
+ readonly Deleting: "deleting";
589
+ readonly Pending: "pending";
590
+ readonly Verifying: "verifying";
591
+ };
566
592
  /**
567
593
  * @public
568
594
  */
569
- export declare enum BGPStatus {
570
- Down = "down",
571
- Unknown = "unknown",
572
- Up = "up"
573
- }
595
+ export type BGPPeerState = (typeof BGPPeerState)[keyof typeof BGPPeerState];
596
+ /**
597
+ * @public
598
+ * @enum
599
+ */
600
+ export declare const BGPStatus: {
601
+ readonly Down: "down";
602
+ readonly Unknown: "unknown";
603
+ readonly Up: "up";
604
+ };
605
+ /**
606
+ * @public
607
+ */
608
+ export type BGPStatus = (typeof BGPStatus)[keyof typeof BGPStatus];
574
609
  /**
575
610
  * @public
576
611
  * <p>Information about a BGP peer.</p>
@@ -657,18 +692,23 @@ export interface BGPPeer {
657
692
  }
658
693
  /**
659
694
  * @public
695
+ * @enum
660
696
  */
661
- export declare enum VirtualInterfaceState {
662
- available = "available",
663
- confirming = "confirming",
664
- deleted = "deleted",
665
- deleting = "deleting",
666
- down = "down",
667
- pending = "pending",
668
- rejected = "rejected",
669
- unknown = "unknown",
670
- verifying = "verifying"
671
- }
697
+ export declare const VirtualInterfaceState: {
698
+ readonly available: "available";
699
+ readonly confirming: "confirming";
700
+ readonly deleted: "deleted";
701
+ readonly deleting: "deleting";
702
+ readonly down: "down";
703
+ readonly pending: "pending";
704
+ readonly rejected: "rejected";
705
+ readonly unknown: "unknown";
706
+ readonly verifying: "verifying";
707
+ };
708
+ /**
709
+ * @public
710
+ */
711
+ export type VirtualInterfaceState = (typeof VirtualInterfaceState)[keyof typeof VirtualInterfaceState];
672
712
  /**
673
713
  * @public
674
714
  * <p>Information about a virtual interface.</p>
@@ -1398,13 +1438,18 @@ export interface CreateDirectConnectGatewayRequest {
1398
1438
  }
1399
1439
  /**
1400
1440
  * @public
1441
+ * @enum
1401
1442
  */
1402
- export declare enum DirectConnectGatewayState {
1403
- available = "available",
1404
- deleted = "deleted",
1405
- deleting = "deleting",
1406
- pending = "pending"
1407
- }
1443
+ export declare const DirectConnectGatewayState: {
1444
+ readonly available: "available";
1445
+ readonly deleted: "deleted";
1446
+ readonly deleting: "deleting";
1447
+ readonly pending: "pending";
1448
+ };
1449
+ /**
1450
+ * @public
1451
+ */
1452
+ export type DirectConnectGatewayState = (typeof DirectConnectGatewayState)[keyof typeof DirectConnectGatewayState];
1408
1453
  /**
1409
1454
  * @public
1410
1455
  * <p>Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.</p>
@@ -1521,12 +1566,17 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
1521
1566
  }
1522
1567
  /**
1523
1568
  * @public
1569
+ * @enum
1524
1570
  */
1525
- export declare enum DirectConnectGatewayAssociationProposalState {
1526
- accepted = "accepted",
1527
- deleted = "deleted",
1528
- requested = "requested"
1529
- }
1571
+ export declare const DirectConnectGatewayAssociationProposalState: {
1572
+ readonly accepted: "accepted";
1573
+ readonly deleted: "deleted";
1574
+ readonly requested: "requested";
1575
+ };
1576
+ /**
1577
+ * @public
1578
+ */
1579
+ export type DirectConnectGatewayAssociationProposalState = (typeof DirectConnectGatewayAssociationProposalState)[keyof typeof DirectConnectGatewayAssociationProposalState];
1530
1580
  /**
1531
1581
  * @public
1532
1582
  * <p>Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway. </p>
@@ -1615,16 +1665,21 @@ export interface CreateInterconnectRequest {
1615
1665
  }
1616
1666
  /**
1617
1667
  * @public
1668
+ * @enum
1618
1669
  */
1619
- export declare enum InterconnectState {
1620
- available = "available",
1621
- deleted = "deleted",
1622
- deleting = "deleting",
1623
- down = "down",
1624
- pending = "pending",
1625
- requested = "requested",
1626
- unknown = "unknown"
1627
- }
1670
+ export declare const InterconnectState: {
1671
+ readonly available: "available";
1672
+ readonly deleted: "deleted";
1673
+ readonly deleting: "deleting";
1674
+ readonly down: "down";
1675
+ readonly pending: "pending";
1676
+ readonly requested: "requested";
1677
+ readonly unknown: "unknown";
1678
+ };
1679
+ /**
1680
+ * @public
1681
+ */
1682
+ export type InterconnectState = (typeof InterconnectState)[keyof typeof InterconnectState];
1628
1683
  /**
1629
1684
  * @public
1630
1685
  * <p>Information about an interconnect.</p>
@@ -1773,16 +1828,21 @@ export interface CreateLagRequest {
1773
1828
  }
1774
1829
  /**
1775
1830
  * @public
1831
+ * @enum
1776
1832
  */
1777
- export declare enum LagState {
1778
- available = "available",
1779
- deleted = "deleted",
1780
- deleting = "deleting",
1781
- down = "down",
1782
- pending = "pending",
1783
- requested = "requested",
1784
- unknown = "unknown"
1785
- }
1833
+ export declare const LagState: {
1834
+ readonly available: "available";
1835
+ readonly deleted: "deleted";
1836
+ readonly deleting: "deleting";
1837
+ readonly down: "down";
1838
+ readonly pending: "pending";
1839
+ readonly requested: "requested";
1840
+ readonly unknown: "unknown";
1841
+ };
1842
+ /**
1843
+ * @public
1844
+ */
1845
+ export type LagState = (typeof LagState)[keyof typeof LagState];
1786
1846
  /**
1787
1847
  * @public
1788
1848
  * <p>Information about a link aggregation group (LAG).</p>
@@ -2323,10 +2383,15 @@ export interface DeleteVirtualInterfaceResponse {
2323
2383
  }
2324
2384
  /**
2325
2385
  * @public
2386
+ * @enum
2326
2387
  */
2327
- export declare enum LoaContentType {
2328
- PDF = "application/pdf"
2329
- }
2388
+ export declare const LoaContentType: {
2389
+ readonly PDF: "application/pdf";
2390
+ };
2391
+ /**
2392
+ * @public
2393
+ */
2394
+ export type LoaContentType = (typeof LoaContentType)[keyof typeof LoaContentType];
2330
2395
  /**
2331
2396
  * @public
2332
2397
  */
@@ -2388,12 +2453,17 @@ export interface DescribeConnectionsOnInterconnectRequest {
2388
2453
  }
2389
2454
  /**
2390
2455
  * @public
2456
+ * @enum
2391
2457
  */
2392
- export declare enum NniPartnerType {
2393
- NonPartner = "nonPartner",
2394
- V1 = "v1",
2395
- V2 = "v2"
2396
- }
2458
+ export declare const NniPartnerType: {
2459
+ readonly NonPartner: "nonPartner";
2460
+ readonly V1: "v1";
2461
+ readonly V2: "v2";
2462
+ };
2463
+ /**
2464
+ * @public
2465
+ */
2466
+ export type NniPartnerType = (typeof NniPartnerType)[keyof typeof NniPartnerType];
2397
2467
  /**
2398
2468
  * @public
2399
2469
  */
@@ -2530,20 +2600,30 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2530
2600
  }
2531
2601
  /**
2532
2602
  * @public
2603
+ * @enum
2533
2604
  */
2534
- export declare enum DirectConnectGatewayAttachmentState {
2535
- attached = "attached",
2536
- attaching = "attaching",
2537
- detached = "detached",
2538
- detaching = "detaching"
2539
- }
2605
+ export declare const DirectConnectGatewayAttachmentState: {
2606
+ readonly attached: "attached";
2607
+ readonly attaching: "attaching";
2608
+ readonly detached: "detached";
2609
+ readonly detaching: "detaching";
2610
+ };
2540
2611
  /**
2541
2612
  * @public
2542
2613
  */
2543
- export declare enum DirectConnectGatewayAttachmentType {
2544
- PrivateVirtualInterface = "PrivateVirtualInterface",
2545
- TransitVirtualInterface = "TransitVirtualInterface"
2546
- }
2614
+ export type DirectConnectGatewayAttachmentState = (typeof DirectConnectGatewayAttachmentState)[keyof typeof DirectConnectGatewayAttachmentState];
2615
+ /**
2616
+ * @public
2617
+ * @enum
2618
+ */
2619
+ export declare const DirectConnectGatewayAttachmentType: {
2620
+ readonly PrivateVirtualInterface: "PrivateVirtualInterface";
2621
+ readonly TransitVirtualInterface: "TransitVirtualInterface";
2622
+ };
2623
+ /**
2624
+ * @public
2625
+ */
2626
+ export type DirectConnectGatewayAttachmentType = (typeof DirectConnectGatewayAttachmentType)[keyof typeof DirectConnectGatewayAttachmentType];
2547
2627
  /**
2548
2628
  * @public
2549
2629
  * <p>Information about an attachment between a Direct Connect gateway and a virtual interface.</p>