@aws-sdk/client-direct-connect 3.848.0 → 3.855.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 (40) hide show
  1. package/dist-cjs/index.js +6 -0
  2. package/dist-es/models/models_0.js +1 -0
  3. package/dist-es/protocols/Aws_json1_1.js +5 -0
  4. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +1 -0
  5. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +1 -0
  6. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +1 -1
  7. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +1 -1
  8. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +1 -1
  9. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +1 -0
  10. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +1 -0
  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/ConfirmPrivateVirtualInterfaceCommand.d.ts +1 -1
  14. package/dist-types/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +1 -1
  15. package/dist-types/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateBGPPeerCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateConnectionCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateInterconnectCommand.d.ts +12 -0
  19. package/dist-types/commands/CreateLagCommand.d.ts +1 -0
  20. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +1 -1
  21. package/dist-types/commands/CreatePublicVirtualInterfaceCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateTransitVirtualInterfaceCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteBGPPeerCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteLagCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteVirtualInterfaceCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeConnectionsCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +1 -0
  29. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeInterconnectsCommand.d.ts +11 -0
  31. package/dist-types/commands/DescribeLagsCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +1 -1
  33. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +1 -0
  34. package/dist-types/commands/DisassociateMacSecKeyCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateConnectionCommand.d.ts +2 -1
  36. package/dist-types/commands/UpdateLagCommand.d.ts +1 -0
  37. package/dist-types/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +1 -1
  38. package/dist-types/models/models_0.d.ts +46 -13
  39. package/dist-types/ts3.4/models/models_0.d.ts +7 -0
  40. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -404,6 +404,7 @@ var VirtualInterfaceState = {
404
404
  down: "down",
405
405
  pending: "pending",
406
406
  rejected: "rejected",
407
+ testing: "testing",
407
408
  unknown: "unknown",
408
409
  verifying: "verifying"
409
410
  };
@@ -1732,6 +1733,7 @@ var de_Connection = /* @__PURE__ */ __name((output, context) => {
1732
1733
  macSecCapable: import_smithy_client.expectBoolean,
1733
1734
  macSecKeys: import_smithy_client._json,
1734
1735
  ownerAccount: import_smithy_client.expectString,
1736
+ partnerInterconnectMacSecCapable: import_smithy_client.expectBoolean,
1735
1737
  partnerName: import_smithy_client.expectString,
1736
1738
  portEncryptionStatus: import_smithy_client.expectString,
1737
1739
  providerName: import_smithy_client.expectString,
@@ -1767,6 +1769,7 @@ var de_Interconnect = /* @__PURE__ */ __name((output, context) => {
1767
1769
  awsDeviceV2: import_smithy_client.expectString,
1768
1770
  awsLogicalDeviceId: import_smithy_client.expectString,
1769
1771
  bandwidth: import_smithy_client.expectString,
1772
+ encryptionMode: import_smithy_client.expectString,
1770
1773
  hasLogicalRedundancy: import_smithy_client.expectString,
1771
1774
  interconnectId: import_smithy_client.expectString,
1772
1775
  interconnectName: import_smithy_client.expectString,
@@ -1775,6 +1778,9 @@ var de_Interconnect = /* @__PURE__ */ __name((output, context) => {
1775
1778
  lagId: import_smithy_client.expectString,
1776
1779
  loaIssueTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "loaIssueTime"),
1777
1780
  location: import_smithy_client.expectString,
1781
+ macSecCapable: import_smithy_client.expectBoolean,
1782
+ macSecKeys: import_smithy_client._json,
1783
+ portEncryptionStatus: import_smithy_client.expectString,
1778
1784
  providerName: import_smithy_client.expectString,
1779
1785
  region: import_smithy_client.expectString,
1780
1786
  tags: import_smithy_client._json
@@ -98,6 +98,7 @@ export const VirtualInterfaceState = {
98
98
  down: "down",
99
99
  pending: "pending",
100
100
  rejected: "rejected",
101
+ testing: "testing",
101
102
  unknown: "unknown",
102
103
  verifying: "verifying",
103
104
  };
@@ -1279,6 +1279,7 @@ const de_Connection = (output, context) => {
1279
1279
  macSecCapable: __expectBoolean,
1280
1280
  macSecKeys: _json,
1281
1281
  ownerAccount: __expectString,
1282
+ partnerInterconnectMacSecCapable: __expectBoolean,
1282
1283
  partnerName: __expectString,
1283
1284
  portEncryptionStatus: __expectString,
1284
1285
  providerName: __expectString,
@@ -1316,6 +1317,7 @@ const de_Interconnect = (output, context) => {
1316
1317
  awsDeviceV2: __expectString,
1317
1318
  awsLogicalDeviceId: __expectString,
1318
1319
  bandwidth: __expectString,
1320
+ encryptionMode: __expectString,
1319
1321
  hasLogicalRedundancy: __expectString,
1320
1322
  interconnectId: __expectString,
1321
1323
  interconnectName: __expectString,
@@ -1324,6 +1326,9 @@ const de_Interconnect = (output, context) => {
1324
1326
  lagId: __expectString,
1325
1327
  loaIssueTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1326
1328
  location: __expectString,
1329
+ macSecCapable: __expectBoolean,
1330
+ macSecKeys: _json,
1331
+ portEncryptionStatus: __expectString,
1327
1332
  providerName: __expectString,
1328
1333
  region: __expectString,
1329
1334
  tags: _json,
@@ -87,6 +87,7 @@ declare const AllocateConnectionOnInterconnectCommand_base: {
87
87
  * // startOn: "STRING_VALUE",
88
88
  * // },
89
89
  * // ],
90
+ * // partnerInterconnectMacSecCapable: true || false,
90
91
  * // };
91
92
  *
92
93
  * ```
@@ -89,6 +89,7 @@ declare const AllocateHostedConnectionCommand_base: {
89
89
  * // startOn: "STRING_VALUE",
90
90
  * // },
91
91
  * // ],
92
+ * // partnerInterconnectMacSecCapable: true || false,
92
93
  * // };
93
94
  *
94
95
  * ```
@@ -72,7 +72,7 @@ declare const AllocatePrivateVirtualInterfaceCommand_base: {
72
72
  * // amazonAddress: "STRING_VALUE",
73
73
  * // customerAddress: "STRING_VALUE",
74
74
  * // addressFamily: "ipv4" || "ipv6",
75
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
75
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
76
76
  * // customerRouterConfig: "STRING_VALUE",
77
77
  * // mtu: Number("int"),
78
78
  * // jumboFrameCapable: true || false,
@@ -79,7 +79,7 @@ declare const AllocatePublicVirtualInterfaceCommand_base: {
79
79
  * // amazonAddress: "STRING_VALUE",
80
80
  * // customerAddress: "STRING_VALUE",
81
81
  * // addressFamily: "ipv4" || "ipv6",
82
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
82
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
83
83
  * // customerRouterConfig: "STRING_VALUE",
84
84
  * // mtu: Number("int"),
85
85
  * // jumboFrameCapable: true || false,
@@ -73,7 +73,7 @@ declare const AllocateTransitVirtualInterfaceCommand_base: {
73
73
  * // amazonAddress: "STRING_VALUE",
74
74
  * // customerAddress: "STRING_VALUE",
75
75
  * // addressFamily: "ipv4" || "ipv6",
76
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
76
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
77
77
  * // customerRouterConfig: "STRING_VALUE",
78
78
  * // mtu: Number("int"),
79
79
  * // jumboFrameCapable: true || false,
@@ -88,6 +88,7 @@ declare const AssociateConnectionWithLagCommand_base: {
88
88
  * // startOn: "STRING_VALUE",
89
89
  * // },
90
90
  * // ],
91
+ * // partnerInterconnectMacSecCapable: true || false,
91
92
  * // };
92
93
  *
93
94
  * ```
@@ -82,6 +82,7 @@ declare const AssociateHostedConnectionCommand_base: {
82
82
  * // startOn: "STRING_VALUE",
83
83
  * // },
84
84
  * // ],
85
+ * // partnerInterconnectMacSecCapable: true || false,
85
86
  * // };
86
87
  *
87
88
  * ```
@@ -27,7 +27,7 @@ declare const AssociateMacSecKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an Direct Connect dedicated connection.</p>
30
+ * <p>Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with a Direct Connect connection.</p>
31
31
  * <p>You must supply either the <code>secretARN,</code> or the CKN/CAK (<code>ckn</code> and <code>cak</code>) pair in the request.</p>
32
32
  * <p>For information about MAC Security (MACsec) key considerations, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-key-consideration">MACsec pre-shared CKN/CAK key considerations </a> in the <i>Direct Connect User Guide</i>.</p>
33
33
  * @example
@@ -63,7 +63,7 @@ declare const AssociateVirtualInterfaceCommand_base: {
63
63
  * // amazonAddress: "STRING_VALUE",
64
64
  * // customerAddress: "STRING_VALUE",
65
65
  * // addressFamily: "ipv4" || "ipv6",
66
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
66
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
67
67
  * // customerRouterConfig: "STRING_VALUE",
68
68
  * // mtu: Number("int"),
69
69
  * // jumboFrameCapable: true || false,
@@ -45,7 +45,7 @@ declare const ConfirmPrivateVirtualInterfaceCommand_base: {
45
45
  * const command = new ConfirmPrivateVirtualInterfaceCommand(input);
46
46
  * const response = await client.send(command);
47
47
  * // { // ConfirmPrivateVirtualInterfaceResponse
48
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
48
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
49
49
  * // };
50
50
  *
51
51
  * ```
@@ -42,7 +42,7 @@ declare const ConfirmPublicVirtualInterfaceCommand_base: {
42
42
  * const command = new ConfirmPublicVirtualInterfaceCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // ConfirmPublicVirtualInterfaceResponse
45
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
45
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -42,7 +42,7 @@ declare const ConfirmTransitVirtualInterfaceCommand_base: {
42
42
  * const command = new ConfirmTransitVirtualInterfaceCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // ConfirmTransitVirtualInterfaceResponse
45
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
45
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -76,7 +76,7 @@ declare const CreateBGPPeerCommand_base: {
76
76
  * // amazonAddress: "STRING_VALUE",
77
77
  * // customerAddress: "STRING_VALUE",
78
78
  * // addressFamily: "ipv4" || "ipv6",
79
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
79
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
80
80
  * // customerRouterConfig: "STRING_VALUE",
81
81
  * // mtu: Number("int"),
82
82
  * // jumboFrameCapable: true || false,
@@ -92,6 +92,7 @@ declare const CreateConnectionCommand_base: {
92
92
  * // startOn: "STRING_VALUE",
93
93
  * // },
94
94
  * // ],
95
+ * // partnerInterconnectMacSecCapable: true || false,
95
96
  * // };
96
97
  *
97
98
  * ```
@@ -61,6 +61,7 @@ declare const CreateInterconnectCommand_base: {
61
61
  * },
62
62
  * ],
63
63
  * providerName: "STRING_VALUE",
64
+ * requestMACSec: true || false,
64
65
  * };
65
66
  * const command = new CreateInterconnectCommand(input);
66
67
  * const response = await client.send(command);
@@ -85,6 +86,17 @@ declare const CreateInterconnectCommand_base: {
85
86
  * // },
86
87
  * // ],
87
88
  * // providerName: "STRING_VALUE",
89
+ * // macSecCapable: true || false,
90
+ * // portEncryptionStatus: "STRING_VALUE",
91
+ * // encryptionMode: "STRING_VALUE",
92
+ * // macSecKeys: [ // MacSecKeyList
93
+ * // { // MacSecKey
94
+ * // secretARN: "STRING_VALUE",
95
+ * // ckn: "STRING_VALUE",
96
+ * // state: "STRING_VALUE",
97
+ * // startOn: "STRING_VALUE",
98
+ * // },
99
+ * // ],
88
100
  * // };
89
101
  *
90
102
  * ```
@@ -124,6 +124,7 @@ declare const CreateLagCommand_base: {
124
124
  * // startOn: "STRING_VALUE",
125
125
  * // },
126
126
  * // ],
127
+ * // partnerInterconnectMacSecCapable: true || false,
127
128
  * // },
128
129
  * // ],
129
130
  * // allowsHostedConnections: true || false,
@@ -82,7 +82,7 @@ declare const CreatePrivateVirtualInterfaceCommand_base: {
82
82
  * // amazonAddress: "STRING_VALUE",
83
83
  * // customerAddress: "STRING_VALUE",
84
84
  * // addressFamily: "ipv4" || "ipv6",
85
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
85
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
86
86
  * // customerRouterConfig: "STRING_VALUE",
87
87
  * // mtu: Number("int"),
88
88
  * // jumboFrameCapable: true || false,
@@ -76,7 +76,7 @@ declare const CreatePublicVirtualInterfaceCommand_base: {
76
76
  * // amazonAddress: "STRING_VALUE",
77
77
  * // customerAddress: "STRING_VALUE",
78
78
  * // addressFamily: "ipv4" || "ipv6",
79
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
79
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
80
80
  * // customerRouterConfig: "STRING_VALUE",
81
81
  * // mtu: Number("int"),
82
82
  * // jumboFrameCapable: true || false,
@@ -81,7 +81,7 @@ declare const CreateTransitVirtualInterfaceCommand_base: {
81
81
  * // amazonAddress: "STRING_VALUE",
82
82
  * // customerAddress: "STRING_VALUE",
83
83
  * // addressFamily: "ipv4" || "ipv6",
84
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
84
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
85
85
  * // customerRouterConfig: "STRING_VALUE",
86
86
  * // mtu: Number("int"),
87
87
  * // jumboFrameCapable: true || false,
@@ -58,7 +58,7 @@ declare const DeleteBGPPeerCommand_base: {
58
58
  * // amazonAddress: "STRING_VALUE",
59
59
  * // customerAddress: "STRING_VALUE",
60
60
  * // addressFamily: "ipv4" || "ipv6",
61
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
61
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
62
62
  * // customerRouterConfig: "STRING_VALUE",
63
63
  * // mtu: Number("int"),
64
64
  * // jumboFrameCapable: true || false,
@@ -77,6 +77,7 @@ declare const DeleteConnectionCommand_base: {
77
77
  * // startOn: "STRING_VALUE",
78
78
  * // },
79
79
  * // ],
80
+ * // partnerInterconnectMacSecCapable: true || false,
80
81
  * // };
81
82
  *
82
83
  * ```
@@ -89,6 +89,7 @@ declare const DeleteLagCommand_base: {
89
89
  * // startOn: "STRING_VALUE",
90
90
  * // },
91
91
  * // ],
92
+ * // partnerInterconnectMacSecCapable: true || false,
92
93
  * // },
93
94
  * // ],
94
95
  * // allowsHostedConnections: true || false,
@@ -40,7 +40,7 @@ declare const DeleteVirtualInterfaceCommand_base: {
40
40
  * const command = new DeleteVirtualInterfaceCommand(input);
41
41
  * const response = await client.send(command);
42
42
  * // { // DeleteVirtualInterfaceResponse
43
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
43
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
44
44
  * // };
45
45
  *
46
46
  * ```
@@ -76,6 +76,7 @@ declare const DescribeConnectionsCommand_base: {
76
76
  * // startOn: "STRING_VALUE",
77
77
  * // },
78
78
  * // ],
79
+ * // partnerInterconnectMacSecCapable: true || false,
79
80
  * // },
80
81
  * // ],
81
82
  * // };
@@ -84,6 +84,7 @@ declare const DescribeConnectionsOnInterconnectCommand_base: {
84
84
  * // startOn: "STRING_VALUE",
85
85
  * // },
86
86
  * // ],
87
+ * // partnerInterconnectMacSecCapable: true || false,
87
88
  * // },
88
89
  * // ],
89
90
  * // };
@@ -80,6 +80,7 @@ declare const DescribeHostedConnectionsCommand_base: {
80
80
  * // startOn: "STRING_VALUE",
81
81
  * // },
82
82
  * // ],
83
+ * // partnerInterconnectMacSecCapable: true || false,
83
84
  * // },
84
85
  * // ],
85
86
  * // };
@@ -62,6 +62,17 @@ declare const DescribeInterconnectsCommand_base: {
62
62
  * // },
63
63
  * // ],
64
64
  * // providerName: "STRING_VALUE",
65
+ * // macSecCapable: true || false,
66
+ * // portEncryptionStatus: "STRING_VALUE",
67
+ * // encryptionMode: "STRING_VALUE",
68
+ * // macSecKeys: [ // MacSecKeyList
69
+ * // { // MacSecKey
70
+ * // secretARN: "STRING_VALUE",
71
+ * // ckn: "STRING_VALUE",
72
+ * // state: "STRING_VALUE",
73
+ * // startOn: "STRING_VALUE",
74
+ * // },
75
+ * // ],
65
76
  * // },
66
77
  * // ],
67
78
  * // };
@@ -90,6 +90,7 @@ declare const DescribeLagsCommand_base: {
90
90
  * // startOn: "STRING_VALUE",
91
91
  * // },
92
92
  * // ],
93
+ * // partnerInterconnectMacSecCapable: true || false,
93
94
  * // },
94
95
  * // ],
95
96
  * // allowsHostedConnections: true || false,
@@ -60,7 +60,7 @@ declare const DescribeVirtualInterfacesCommand_base: {
60
60
  * // amazonAddress: "STRING_VALUE",
61
61
  * // customerAddress: "STRING_VALUE",
62
62
  * // addressFamily: "ipv4" || "ipv6",
63
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
63
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
64
64
  * // customerRouterConfig: "STRING_VALUE",
65
65
  * // mtu: Number("int"),
66
66
  * // jumboFrameCapable: true || false,
@@ -84,6 +84,7 @@ declare const DisassociateConnectionFromLagCommand_base: {
84
84
  * // startOn: "STRING_VALUE",
85
85
  * // },
86
86
  * // ],
87
+ * // partnerInterconnectMacSecCapable: true || false,
87
88
  * // };
88
89
  *
89
90
  * ```
@@ -27,7 +27,7 @@ declare const DisassociateMacSecKeyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.</p>
30
+ * <p>Removes the association between a MAC Security (MACsec) security key and a Direct Connect connection.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const UpdateConnectionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the Direct Connect dedicated connection configuration.</p>
30
+ * <p>Updates the Direct Connect connection configuration.</p>
31
31
  * <p>You can update the following parameters for a connection:</p>
32
32
  * <ul>
33
33
  * <li>
@@ -85,6 +85,7 @@ declare const UpdateConnectionCommand_base: {
85
85
  * // startOn: "STRING_VALUE",
86
86
  * // },
87
87
  * // ],
88
+ * // partnerInterconnectMacSecCapable: true || false,
88
89
  * // };
89
90
  *
90
91
  * ```
@@ -113,6 +113,7 @@ declare const UpdateLagCommand_base: {
113
113
  * // startOn: "STRING_VALUE",
114
114
  * // },
115
115
  * // ],
116
+ * // partnerInterconnectMacSecCapable: true || false,
116
117
  * // },
117
118
  * // ],
118
119
  * // allowsHostedConnections: true || false,
@@ -62,7 +62,7 @@ declare const UpdateVirtualInterfaceAttributesCommand_base: {
62
62
  * // amazonAddress: "STRING_VALUE",
63
63
  * // customerAddress: "STRING_VALUE",
64
64
  * // addressFamily: "ipv4" || "ipv6",
65
- * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
65
+ * // virtualInterfaceState: "confirming" || "verifying" || "pending" || "available" || "down" || "testing" || "deleting" || "deleted" || "rejected" || "unknown",
66
66
  * // customerRouterConfig: "STRING_VALUE",
67
67
  * // mtu: Number("int"),
68
68
  * // jumboFrameCapable: true || false,
@@ -545,6 +545,11 @@ export interface Connection {
545
545
  * @public
546
546
  */
547
547
  macSecKeys?: MacSecKey[] | undefined;
548
+ /**
549
+ * <p>Indicates whether the interconnect hosting this connection supports MAC Security (MACsec).</p>
550
+ * @public
551
+ */
552
+ partnerInterconnectMacSecCapable?: boolean | undefined;
548
553
  }
549
554
  /**
550
555
  * @public
@@ -814,6 +819,7 @@ export declare const VirtualInterfaceState: {
814
819
  readonly down: "down";
815
820
  readonly pending: "pending";
816
821
  readonly rejected: "rejected";
822
+ readonly testing: "testing";
817
823
  readonly unknown: "unknown";
818
824
  readonly verifying: "verifying";
819
825
  };
@@ -1190,20 +1196,20 @@ export interface AssociateHostedConnectionRequest {
1190
1196
  */
1191
1197
  export interface AssociateMacSecKeyRequest {
1192
1198
  /**
1193
- * <p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p>
1194
- * <p>You can use <a>DescribeConnections</a> or <a>DescribeLags</a> to retrieve connection ID.</p>
1199
+ * <p>The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).</p>
1200
+ * <p>You can use <a>DescribeConnections</a>, <a>DescribeInterconnects</a>, or <a>DescribeLags</a> to retrieve connection ID.</p>
1195
1201
  * @public
1196
1202
  */
1197
1203
  connectionId: string | undefined;
1198
1204
  /**
1199
- * <p>The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.</p>
1205
+ * <p>The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.</p>
1200
1206
  * <p>You can use <a>DescribeConnections</a> or <a>DescribeLags</a> to retrieve the MAC Security (MACsec) secret key.</p>
1201
1207
  * <p>If you use this request parameter, you do not use the <code>ckn</code> and <code>cak</code> request parameters.</p>
1202
1208
  * @public
1203
1209
  */
1204
1210
  secretARN?: string | undefined;
1205
1211
  /**
1206
- * <p>The MAC Security (MACsec) CKN to associate with the dedicated connection.</p>
1212
+ * <p>The MAC Security (MACsec) CKN to associate with the connection.</p>
1207
1213
  * <p>You can create the CKN/CAK pair using an industry standard tool.</p>
1208
1214
  * <p> The valid values are 64 hexadecimal characters (0-9, A-E).</p>
1209
1215
  * <p>If you use this request parameter, you must use the <code>cak</code> request parameter and not use the <code>secretARN</code> request parameter.</p>
@@ -1211,7 +1217,7 @@ export interface AssociateMacSecKeyRequest {
1211
1217
  */
1212
1218
  ckn?: string | undefined;
1213
1219
  /**
1214
- * <p>The MAC Security (MACsec) CAK to associate with the dedicated connection.</p>
1220
+ * <p>The MAC Security (MACsec) CAK to associate with the connection.</p>
1215
1221
  * <p>You can create the CKN/CAK pair using an industry standard tool.</p>
1216
1222
  * <p> The valid values are 64 hexadecimal characters (0-9, A-E).</p>
1217
1223
  * <p>If you use this request parameter, you must use the <code>ckn</code> request parameter and not use the <code>secretARN</code> request parameter.</p>
@@ -1224,12 +1230,12 @@ export interface AssociateMacSecKeyRequest {
1224
1230
  */
1225
1231
  export interface AssociateMacSecKeyResponse {
1226
1232
  /**
1227
- * <p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p>
1233
+ * <p>The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).</p>
1228
1234
  * @public
1229
1235
  */
1230
1236
  connectionId?: string | undefined;
1231
1237
  /**
1232
- * <p>The MAC Security (MACsec) security keys associated with the dedicated connection.</p>
1238
+ * <p>The MAC Security (MACsec) security keys associated with the connection.</p>
1233
1239
  * @public
1234
1240
  */
1235
1241
  macSecKeys?: MacSecKey[] | undefined;
@@ -1636,7 +1642,7 @@ export interface CreateConnectionRequest {
1636
1642
  providerName?: string | undefined;
1637
1643
  /**
1638
1644
  * <p>Indicates whether you want the connection to support MAC Security (MACsec).</p>
1639
- * <p>MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites">MACsec prerequisties</a> in the <i>Direct Connect User Guide</i>.</p>
1645
+ * <p>MAC Security (MACsec) is unavailable on hosted connections. For information about MAC Security (MACsec) prerequisites, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/MACSec.html">MAC Security in Direct Connect</a> in the <i>Direct Connect User Guide</i>.</p>
1640
1646
  * @public
1641
1647
  */
1642
1648
  requestMACSec?: boolean | undefined;
@@ -1925,6 +1931,11 @@ export interface CreateInterconnectRequest {
1925
1931
  * @public
1926
1932
  */
1927
1933
  providerName?: string | undefined;
1934
+ /**
1935
+ * <p>Indicates whether you want the interconnect to support MAC Security (MACsec).</p>
1936
+ * @public
1937
+ */
1938
+ requestMACSec?: boolean | undefined;
1928
1939
  }
1929
1940
  /**
1930
1941
  * @public
@@ -2057,6 +2068,28 @@ export interface Interconnect {
2057
2068
  * @public
2058
2069
  */
2059
2070
  providerName?: string | undefined;
2071
+ /**
2072
+ * <p>Indicates whether the interconnect supports MAC Security (MACsec).</p>
2073
+ * @public
2074
+ */
2075
+ macSecCapable?: boolean | undefined;
2076
+ /**
2077
+ * <p>The MAC Security (MACsec) port link status.</p>
2078
+ * <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>
2079
+ * @public
2080
+ */
2081
+ portEncryptionStatus?: string | undefined;
2082
+ /**
2083
+ * <p>The MAC Security (MACsec) encryption mode.</p>
2084
+ * <p>The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.</p>
2085
+ * @public
2086
+ */
2087
+ encryptionMode?: string | undefined;
2088
+ /**
2089
+ * <p>The MAC Security (MACsec) security keys.</p>
2090
+ * @public
2091
+ */
2092
+ macSecKeys?: MacSecKey[] | undefined;
2060
2093
  }
2061
2094
  /**
2062
2095
  * @public
@@ -3487,8 +3520,8 @@ export interface DisassociateConnectionFromLagRequest {
3487
3520
  */
3488
3521
  export interface DisassociateMacSecKeyRequest {
3489
3522
  /**
3490
- * <p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p>
3491
- * <p>You can use <a>DescribeConnections</a> or <a>DescribeLags</a> to retrieve connection ID.</p>
3523
+ * <p>The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).</p>
3524
+ * <p>You can use <a>DescribeConnections</a>, <a>DescribeInterconnects</a>, or <a>DescribeLags</a> to retrieve connection ID.</p>
3492
3525
  * @public
3493
3526
  */
3494
3527
  connectionId: string | undefined;
@@ -3504,12 +3537,12 @@ export interface DisassociateMacSecKeyRequest {
3504
3537
  */
3505
3538
  export interface DisassociateMacSecKeyResponse {
3506
3539
  /**
3507
- * <p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p>
3540
+ * <p>The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).</p>
3508
3541
  * @public
3509
3542
  */
3510
3543
  connectionId?: string | undefined;
3511
3544
  /**
3512
- * <p>The MAC Security (MACsec) security keys no longer associated with the dedicated connection.</p>
3545
+ * <p>The MAC Security (MACsec) security keys no longer associated with the connection.</p>
3513
3546
  * @public
3514
3547
  */
3515
3548
  macSecKeys?: MacSecKey[] | undefined;
@@ -3710,7 +3743,7 @@ export interface UntagResourceResponse {
3710
3743
  */
3711
3744
  export interface UpdateConnectionRequest {
3712
3745
  /**
3713
- * <p>The ID of the dedicated connection.</p>
3746
+ * <p>The ID of the connection.</p>
3714
3747
  * <p>You can use <a>DescribeConnections</a> to retrieve the connection ID.</p>
3715
3748
  * @public
3716
3749
  */
@@ -135,6 +135,7 @@ export interface Connection {
135
135
  portEncryptionStatus?: string | undefined;
136
136
  encryptionMode?: string | undefined;
137
137
  macSecKeys?: MacSecKey[] | undefined;
138
+ partnerInterconnectMacSecCapable?: boolean | undefined;
138
139
  }
139
140
  export interface AllocateHostedConnectionRequest {
140
141
  connectionId: string | undefined;
@@ -210,6 +211,7 @@ export declare const VirtualInterfaceState: {
210
211
  readonly down: "down";
211
212
  readonly pending: "pending";
212
213
  readonly rejected: "rejected";
214
+ readonly testing: "testing";
213
215
  readonly unknown: "unknown";
214
216
  readonly verifying: "verifying";
215
217
  };
@@ -436,6 +438,7 @@ export interface CreateInterconnectRequest {
436
438
  lagId?: string | undefined;
437
439
  tags?: Tag[] | undefined;
438
440
  providerName?: string | undefined;
441
+ requestMACSec?: boolean | undefined;
439
442
  }
440
443
  export declare const InterconnectState: {
441
444
  readonly available: "available";
@@ -464,6 +467,10 @@ export interface Interconnect {
464
467
  hasLogicalRedundancy?: HasLogicalRedundancy | undefined;
465
468
  tags?: Tag[] | undefined;
466
469
  providerName?: string | undefined;
470
+ macSecCapable?: boolean | undefined;
471
+ portEncryptionStatus?: string | undefined;
472
+ encryptionMode?: string | undefined;
473
+ macSecKeys?: MacSecKey[] | undefined;
467
474
  }
468
475
  export interface CreateLagRequest {
469
476
  numberOfConnections: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-direct-connect",
3
3
  "description": "AWS SDK for JavaScript Direct Connect Client for Node.js, Browser and React Native",
4
- "version": "3.848.0",
4
+ "version": "3.855.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-direct-connect",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.846.0",
24
- "@aws-sdk/credential-provider-node": "3.848.0",
23
+ "@aws-sdk/core": "3.855.0",
24
+ "@aws-sdk/credential-provider-node": "3.855.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.848.0",
28
+ "@aws-sdk/middleware-user-agent": "3.855.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
31
  "@aws-sdk/util-endpoints": "3.848.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.848.0",
33
+ "@aws-sdk/util-user-agent-node": "3.855.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",