@aws-sdk/client-direct-connect 3.290.0 → 3.292.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://directconnect.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://directconnect.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,14 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBGPPeerResponseFilterSensitiveLog = exports.CreateBGPPeerRequestFilterSensitiveLog = exports.NewBGPPeerFilterSensitiveLog = exports.ConnectionsFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmCustomerAgreementResponseFilterSensitiveLog = exports.ConfirmCustomerAgreementRequestFilterSensitiveLog = exports.ConfirmConnectionResponseFilterSensitiveLog = exports.ConfirmConnectionRequestFilterSensitiveLog = exports.AssociateVirtualInterfaceRequestFilterSensitiveLog = exports.AssociateMacSecKeyResponseFilterSensitiveLog = exports.AssociateMacSecKeyRequestFilterSensitiveLog = exports.AssociateHostedConnectionRequestFilterSensitiveLog = exports.AssociateConnectionWithLagRequestFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceResultFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceAllocationFilterSensitiveLog = exports.VirtualInterfaceFilterSensitiveLog = exports.BGPPeerFilterSensitiveLog = exports.AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocateHostedConnectionRequestFilterSensitiveLog = exports.ConnectionFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.MacSecKeyFilterSensitiveLog = exports.AllocateConnectionOnInterconnectRequestFilterSensitiveLog = exports.CustomerAgreementFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationFilterSensitiveLog = exports.AssociatedGatewayFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.RouteFilterPrefixFilterSensitiveLog = exports.NniPartnerType = exports.LoaContentType = exports.BGPStatus = exports.BGPPeerState = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.HasLogicalRedundancy = exports.AddressFamily = exports.DirectConnectServerException = exports.DirectConnectClientException = exports.GatewayType = void 0;
4
- exports.DescribeHostedConnectionsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewaysResultFilterSensitiveLog = exports.DescribeDirectConnectGatewaysRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsResultFilterSensitiveLog = exports.DirectConnectGatewayAttachmentFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsRequestFilterSensitiveLog = exports.DescribeCustomerMetadataResponseFilterSensitiveLog = exports.DescribeConnectionsOnInterconnectRequestFilterSensitiveLog = exports.DescribeConnectionsRequestFilterSensitiveLog = exports.DescribeConnectionLoaResponseFilterSensitiveLog = exports.LoaFilterSensitiveLog = exports.DescribeConnectionLoaRequestFilterSensitiveLog = exports.DeleteVirtualInterfaceResponseFilterSensitiveLog = exports.DeleteVirtualInterfaceRequestFilterSensitiveLog = exports.DeleteLagRequestFilterSensitiveLog = exports.DeleteInterconnectResponseFilterSensitiveLog = exports.DeleteInterconnectRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayRequestFilterSensitiveLog = exports.DeleteConnectionRequestFilterSensitiveLog = exports.DeleteBGPPeerResponseFilterSensitiveLog = exports.DeleteBGPPeerRequestFilterSensitiveLog = exports.CreateTransitVirtualInterfaceResultFilterSensitiveLog = exports.CreateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceFilterSensitiveLog = exports.CreatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceFilterSensitiveLog = exports.CreatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceFilterSensitiveLog = exports.LagFilterSensitiveLog = exports.CreateLagRequestFilterSensitiveLog = exports.InterconnectFilterSensitiveLog = exports.CreateInterconnectRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationProposalFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayResultFilterSensitiveLog = exports.DirectConnectGatewayFilterSensitiveLog = exports.CreateDirectConnectGatewayRequestFilterSensitiveLog = exports.CreateConnectionRequestFilterSensitiveLog = void 0;
5
- exports.UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog = exports.UpdateLagRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayResponseFilterSensitiveLog = exports.UpdateDirectConnectGatewayRequestFilterSensitiveLog = exports.UpdateConnectionRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopBgpFailoverTestResponseFilterSensitiveLog = exports.StopBgpFailoverTestRequestFilterSensitiveLog = exports.StartBgpFailoverTestResponseFilterSensitiveLog = exports.StartBgpFailoverTestRequestFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog = exports.VirtualInterfaceTestHistoryFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog = exports.DisassociateMacSecKeyResponseFilterSensitiveLog = exports.DisassociateMacSecKeyRequestFilterSensitiveLog = exports.DisassociateConnectionFromLagRequestFilterSensitiveLog = exports.VirtualInterfacesFilterSensitiveLog = exports.DescribeVirtualInterfacesRequestFilterSensitiveLog = exports.VirtualGatewaysFilterSensitiveLog = exports.VirtualGatewayFilterSensitiveLog = exports.DescribeTagsResponseFilterSensitiveLog = exports.ResourceTagFilterSensitiveLog = exports.DescribeTagsRequestFilterSensitiveLog = exports.DescribeRouterConfigurationResponseFilterSensitiveLog = exports.RouterTypeFilterSensitiveLog = exports.DescribeRouterConfigurationRequestFilterSensitiveLog = exports.LocationsFilterSensitiveLog = exports.LocationFilterSensitiveLog = exports.DescribeLoaRequestFilterSensitiveLog = exports.LagsFilterSensitiveLog = exports.DescribeLagsRequestFilterSensitiveLog = exports.InterconnectsFilterSensitiveLog = exports.DescribeInterconnectsRequestFilterSensitiveLog = exports.DescribeInterconnectLoaResponseFilterSensitiveLog = exports.DescribeInterconnectLoaRequestFilterSensitiveLog = void 0;
3
+ exports.ConfirmPrivateVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmCustomerAgreementResponseFilterSensitiveLog = exports.ConfirmCustomerAgreementRequestFilterSensitiveLog = exports.ConfirmConnectionResponseFilterSensitiveLog = exports.ConfirmConnectionRequestFilterSensitiveLog = exports.AssociateVirtualInterfaceRequestFilterSensitiveLog = exports.AssociateMacSecKeyResponseFilterSensitiveLog = exports.AssociateMacSecKeyRequestFilterSensitiveLog = exports.AssociateHostedConnectionRequestFilterSensitiveLog = exports.AssociateConnectionWithLagRequestFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceResultFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceAllocationFilterSensitiveLog = exports.VirtualInterfaceFilterSensitiveLog = exports.BGPPeerFilterSensitiveLog = exports.AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocateHostedConnectionRequestFilterSensitiveLog = exports.ConnectionFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.MacSecKeyFilterSensitiveLog = exports.AllocateConnectionOnInterconnectRequestFilterSensitiveLog = exports.CustomerAgreementFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationFilterSensitiveLog = exports.AssociatedGatewayFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.RouteFilterPrefixFilterSensitiveLog = exports.DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentState = exports.NniPartnerType = exports.LoaContentType = exports.LagState = exports.InterconnectState = exports.DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayState = exports.VirtualInterfaceState = exports.BGPStatus = exports.BGPPeerState = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.HasLogicalRedundancy = exports.ConnectionState = exports.AddressFamily = exports.DirectConnectServerException = exports.DirectConnectClientException = exports.DirectConnectGatewayAssociationState = exports.GatewayType = void 0;
4
+ exports.DescribeDirectConnectGatewayAssociationProposalsRequestFilterSensitiveLog = exports.DescribeCustomerMetadataResponseFilterSensitiveLog = exports.DescribeConnectionsOnInterconnectRequestFilterSensitiveLog = exports.DescribeConnectionsRequestFilterSensitiveLog = exports.DescribeConnectionLoaResponseFilterSensitiveLog = exports.LoaFilterSensitiveLog = exports.DescribeConnectionLoaRequestFilterSensitiveLog = exports.DeleteVirtualInterfaceResponseFilterSensitiveLog = exports.DeleteVirtualInterfaceRequestFilterSensitiveLog = exports.DeleteLagRequestFilterSensitiveLog = exports.DeleteInterconnectResponseFilterSensitiveLog = exports.DeleteInterconnectRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayRequestFilterSensitiveLog = exports.DeleteConnectionRequestFilterSensitiveLog = exports.DeleteBGPPeerResponseFilterSensitiveLog = exports.DeleteBGPPeerRequestFilterSensitiveLog = exports.CreateTransitVirtualInterfaceResultFilterSensitiveLog = exports.CreateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceFilterSensitiveLog = exports.CreatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceFilterSensitiveLog = exports.CreatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceFilterSensitiveLog = exports.LagFilterSensitiveLog = exports.CreateLagRequestFilterSensitiveLog = exports.InterconnectFilterSensitiveLog = exports.CreateInterconnectRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationProposalFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayResultFilterSensitiveLog = exports.DirectConnectGatewayFilterSensitiveLog = exports.CreateDirectConnectGatewayRequestFilterSensitiveLog = exports.CreateConnectionRequestFilterSensitiveLog = exports.CreateBGPPeerResponseFilterSensitiveLog = exports.CreateBGPPeerRequestFilterSensitiveLog = exports.NewBGPPeerFilterSensitiveLog = exports.ConnectionsFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceResponseFilterSensitiveLog = void 0;
5
+ exports.UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog = exports.UpdateLagRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayResponseFilterSensitiveLog = exports.UpdateDirectConnectGatewayRequestFilterSensitiveLog = exports.UpdateConnectionRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopBgpFailoverTestResponseFilterSensitiveLog = exports.StopBgpFailoverTestRequestFilterSensitiveLog = exports.StartBgpFailoverTestResponseFilterSensitiveLog = exports.StartBgpFailoverTestRequestFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog = exports.VirtualInterfaceTestHistoryFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog = exports.DisassociateMacSecKeyResponseFilterSensitiveLog = exports.DisassociateMacSecKeyRequestFilterSensitiveLog = exports.DisassociateConnectionFromLagRequestFilterSensitiveLog = exports.VirtualInterfacesFilterSensitiveLog = exports.DescribeVirtualInterfacesRequestFilterSensitiveLog = exports.VirtualGatewaysFilterSensitiveLog = exports.VirtualGatewayFilterSensitiveLog = exports.DescribeTagsResponseFilterSensitiveLog = exports.ResourceTagFilterSensitiveLog = exports.DescribeTagsRequestFilterSensitiveLog = exports.DescribeRouterConfigurationResponseFilterSensitiveLog = exports.RouterTypeFilterSensitiveLog = exports.DescribeRouterConfigurationRequestFilterSensitiveLog = exports.LocationsFilterSensitiveLog = exports.LocationFilterSensitiveLog = exports.DescribeLoaRequestFilterSensitiveLog = exports.LagsFilterSensitiveLog = exports.DescribeLagsRequestFilterSensitiveLog = exports.InterconnectsFilterSensitiveLog = exports.DescribeInterconnectsRequestFilterSensitiveLog = exports.DescribeInterconnectLoaResponseFilterSensitiveLog = exports.DescribeInterconnectLoaRequestFilterSensitiveLog = exports.DescribeHostedConnectionsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewaysResultFilterSensitiveLog = exports.DescribeDirectConnectGatewaysRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsResultFilterSensitiveLog = exports.DirectConnectGatewayAttachmentFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsResultFilterSensitiveLog = void 0;
6
6
  const DirectConnectServiceException_1 = require("./DirectConnectServiceException");
7
7
  var GatewayType;
8
8
  (function (GatewayType) {
9
9
  GatewayType["TransitGateway"] = "transitGateway";
10
10
  GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
11
11
  })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
12
+ var DirectConnectGatewayAssociationState;
13
+ (function (DirectConnectGatewayAssociationState) {
14
+ DirectConnectGatewayAssociationState["associated"] = "associated";
15
+ DirectConnectGatewayAssociationState["associating"] = "associating";
16
+ DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
17
+ DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
18
+ DirectConnectGatewayAssociationState["updating"] = "updating";
19
+ })(DirectConnectGatewayAssociationState = exports.DirectConnectGatewayAssociationState || (exports.DirectConnectGatewayAssociationState = {}));
12
20
  class DirectConnectClientException extends DirectConnectServiceException_1.DirectConnectServiceException {
13
21
  constructor(opts) {
14
22
  super({
@@ -40,6 +48,18 @@ var AddressFamily;
40
48
  AddressFamily["IPv4"] = "ipv4";
41
49
  AddressFamily["IPv6"] = "ipv6";
42
50
  })(AddressFamily = exports.AddressFamily || (exports.AddressFamily = {}));
51
+ var ConnectionState;
52
+ (function (ConnectionState) {
53
+ ConnectionState["available"] = "available";
54
+ ConnectionState["deleted"] = "deleted";
55
+ ConnectionState["deleting"] = "deleting";
56
+ ConnectionState["down"] = "down";
57
+ ConnectionState["ordering"] = "ordering";
58
+ ConnectionState["pending"] = "pending";
59
+ ConnectionState["rejected"] = "rejected";
60
+ ConnectionState["requested"] = "requested";
61
+ ConnectionState["unknown"] = "unknown";
62
+ })(ConnectionState = exports.ConnectionState || (exports.ConnectionState = {}));
43
63
  var HasLogicalRedundancy;
44
64
  (function (HasLogicalRedundancy) {
45
65
  HasLogicalRedundancy["No"] = "no";
@@ -86,6 +106,51 @@ var BGPStatus;
86
106
  BGPStatus["Unknown"] = "unknown";
87
107
  BGPStatus["Up"] = "up";
88
108
  })(BGPStatus = exports.BGPStatus || (exports.BGPStatus = {}));
109
+ var VirtualInterfaceState;
110
+ (function (VirtualInterfaceState) {
111
+ VirtualInterfaceState["available"] = "available";
112
+ VirtualInterfaceState["confirming"] = "confirming";
113
+ VirtualInterfaceState["deleted"] = "deleted";
114
+ VirtualInterfaceState["deleting"] = "deleting";
115
+ VirtualInterfaceState["down"] = "down";
116
+ VirtualInterfaceState["pending"] = "pending";
117
+ VirtualInterfaceState["rejected"] = "rejected";
118
+ VirtualInterfaceState["unknown"] = "unknown";
119
+ VirtualInterfaceState["verifying"] = "verifying";
120
+ })(VirtualInterfaceState = exports.VirtualInterfaceState || (exports.VirtualInterfaceState = {}));
121
+ var DirectConnectGatewayState;
122
+ (function (DirectConnectGatewayState) {
123
+ DirectConnectGatewayState["available"] = "available";
124
+ DirectConnectGatewayState["deleted"] = "deleted";
125
+ DirectConnectGatewayState["deleting"] = "deleting";
126
+ DirectConnectGatewayState["pending"] = "pending";
127
+ })(DirectConnectGatewayState = exports.DirectConnectGatewayState || (exports.DirectConnectGatewayState = {}));
128
+ var DirectConnectGatewayAssociationProposalState;
129
+ (function (DirectConnectGatewayAssociationProposalState) {
130
+ DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
131
+ DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
132
+ DirectConnectGatewayAssociationProposalState["requested"] = "requested";
133
+ })(DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayAssociationProposalState || (exports.DirectConnectGatewayAssociationProposalState = {}));
134
+ var InterconnectState;
135
+ (function (InterconnectState) {
136
+ InterconnectState["available"] = "available";
137
+ InterconnectState["deleted"] = "deleted";
138
+ InterconnectState["deleting"] = "deleting";
139
+ InterconnectState["down"] = "down";
140
+ InterconnectState["pending"] = "pending";
141
+ InterconnectState["requested"] = "requested";
142
+ InterconnectState["unknown"] = "unknown";
143
+ })(InterconnectState = exports.InterconnectState || (exports.InterconnectState = {}));
144
+ var LagState;
145
+ (function (LagState) {
146
+ LagState["available"] = "available";
147
+ LagState["deleted"] = "deleted";
148
+ LagState["deleting"] = "deleting";
149
+ LagState["down"] = "down";
150
+ LagState["pending"] = "pending";
151
+ LagState["requested"] = "requested";
152
+ LagState["unknown"] = "unknown";
153
+ })(LagState = exports.LagState || (exports.LagState = {}));
89
154
  var LoaContentType;
90
155
  (function (LoaContentType) {
91
156
  LoaContentType["PDF"] = "application/pdf";
@@ -96,6 +161,18 @@ var NniPartnerType;
96
161
  NniPartnerType["V1"] = "v1";
97
162
  NniPartnerType["V2"] = "v2";
98
163
  })(NniPartnerType = exports.NniPartnerType || (exports.NniPartnerType = {}));
164
+ var DirectConnectGatewayAttachmentState;
165
+ (function (DirectConnectGatewayAttachmentState) {
166
+ DirectConnectGatewayAttachmentState["attached"] = "attached";
167
+ DirectConnectGatewayAttachmentState["attaching"] = "attaching";
168
+ DirectConnectGatewayAttachmentState["detached"] = "detached";
169
+ DirectConnectGatewayAttachmentState["detaching"] = "detaching";
170
+ })(DirectConnectGatewayAttachmentState = exports.DirectConnectGatewayAttachmentState || (exports.DirectConnectGatewayAttachmentState = {}));
171
+ var DirectConnectGatewayAttachmentType;
172
+ (function (DirectConnectGatewayAttachmentType) {
173
+ DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
174
+ DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
175
+ })(DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentType || (exports.DirectConnectGatewayAttachmentType = {}));
99
176
  const RouteFilterPrefixFilterSensitiveLog = (obj) => ({
100
177
  ...obj,
101
178
  });
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://directconnect.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://directconnect.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -4,6 +4,14 @@ export var GatewayType;
4
4
  GatewayType["TransitGateway"] = "transitGateway";
5
5
  GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
6
6
  })(GatewayType || (GatewayType = {}));
7
+ export var DirectConnectGatewayAssociationState;
8
+ (function (DirectConnectGatewayAssociationState) {
9
+ DirectConnectGatewayAssociationState["associated"] = "associated";
10
+ DirectConnectGatewayAssociationState["associating"] = "associating";
11
+ DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
12
+ DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
13
+ DirectConnectGatewayAssociationState["updating"] = "updating";
14
+ })(DirectConnectGatewayAssociationState || (DirectConnectGatewayAssociationState = {}));
7
15
  export class DirectConnectClientException extends __BaseException {
8
16
  constructor(opts) {
9
17
  super({
@@ -33,6 +41,18 @@ export var AddressFamily;
33
41
  AddressFamily["IPv4"] = "ipv4";
34
42
  AddressFamily["IPv6"] = "ipv6";
35
43
  })(AddressFamily || (AddressFamily = {}));
44
+ export var ConnectionState;
45
+ (function (ConnectionState) {
46
+ ConnectionState["available"] = "available";
47
+ ConnectionState["deleted"] = "deleted";
48
+ ConnectionState["deleting"] = "deleting";
49
+ ConnectionState["down"] = "down";
50
+ ConnectionState["ordering"] = "ordering";
51
+ ConnectionState["pending"] = "pending";
52
+ ConnectionState["rejected"] = "rejected";
53
+ ConnectionState["requested"] = "requested";
54
+ ConnectionState["unknown"] = "unknown";
55
+ })(ConnectionState || (ConnectionState = {}));
36
56
  export var HasLogicalRedundancy;
37
57
  (function (HasLogicalRedundancy) {
38
58
  HasLogicalRedundancy["No"] = "no";
@@ -77,6 +97,51 @@ export var BGPStatus;
77
97
  BGPStatus["Unknown"] = "unknown";
78
98
  BGPStatus["Up"] = "up";
79
99
  })(BGPStatus || (BGPStatus = {}));
100
+ export var VirtualInterfaceState;
101
+ (function (VirtualInterfaceState) {
102
+ VirtualInterfaceState["available"] = "available";
103
+ VirtualInterfaceState["confirming"] = "confirming";
104
+ VirtualInterfaceState["deleted"] = "deleted";
105
+ VirtualInterfaceState["deleting"] = "deleting";
106
+ VirtualInterfaceState["down"] = "down";
107
+ VirtualInterfaceState["pending"] = "pending";
108
+ VirtualInterfaceState["rejected"] = "rejected";
109
+ VirtualInterfaceState["unknown"] = "unknown";
110
+ VirtualInterfaceState["verifying"] = "verifying";
111
+ })(VirtualInterfaceState || (VirtualInterfaceState = {}));
112
+ export var DirectConnectGatewayState;
113
+ (function (DirectConnectGatewayState) {
114
+ DirectConnectGatewayState["available"] = "available";
115
+ DirectConnectGatewayState["deleted"] = "deleted";
116
+ DirectConnectGatewayState["deleting"] = "deleting";
117
+ DirectConnectGatewayState["pending"] = "pending";
118
+ })(DirectConnectGatewayState || (DirectConnectGatewayState = {}));
119
+ export var DirectConnectGatewayAssociationProposalState;
120
+ (function (DirectConnectGatewayAssociationProposalState) {
121
+ DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
122
+ DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
123
+ DirectConnectGatewayAssociationProposalState["requested"] = "requested";
124
+ })(DirectConnectGatewayAssociationProposalState || (DirectConnectGatewayAssociationProposalState = {}));
125
+ export var InterconnectState;
126
+ (function (InterconnectState) {
127
+ InterconnectState["available"] = "available";
128
+ InterconnectState["deleted"] = "deleted";
129
+ InterconnectState["deleting"] = "deleting";
130
+ InterconnectState["down"] = "down";
131
+ InterconnectState["pending"] = "pending";
132
+ InterconnectState["requested"] = "requested";
133
+ InterconnectState["unknown"] = "unknown";
134
+ })(InterconnectState || (InterconnectState = {}));
135
+ export var LagState;
136
+ (function (LagState) {
137
+ LagState["available"] = "available";
138
+ LagState["deleted"] = "deleted";
139
+ LagState["deleting"] = "deleting";
140
+ LagState["down"] = "down";
141
+ LagState["pending"] = "pending";
142
+ LagState["requested"] = "requested";
143
+ LagState["unknown"] = "unknown";
144
+ })(LagState || (LagState = {}));
80
145
  export var LoaContentType;
81
146
  (function (LoaContentType) {
82
147
  LoaContentType["PDF"] = "application/pdf";
@@ -87,6 +152,18 @@ export var NniPartnerType;
87
152
  NniPartnerType["V1"] = "v1";
88
153
  NniPartnerType["V2"] = "v2";
89
154
  })(NniPartnerType || (NniPartnerType = {}));
155
+ export var DirectConnectGatewayAttachmentState;
156
+ (function (DirectConnectGatewayAttachmentState) {
157
+ DirectConnectGatewayAttachmentState["attached"] = "attached";
158
+ DirectConnectGatewayAttachmentState["attaching"] = "attaching";
159
+ DirectConnectGatewayAttachmentState["detached"] = "detached";
160
+ DirectConnectGatewayAttachmentState["detaching"] = "detaching";
161
+ })(DirectConnectGatewayAttachmentState || (DirectConnectGatewayAttachmentState = {}));
162
+ export var DirectConnectGatewayAttachmentType;
163
+ (function (DirectConnectGatewayAttachmentType) {
164
+ DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
165
+ DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
166
+ })(DirectConnectGatewayAttachmentType || (DirectConnectGatewayAttachmentType = {}));
90
167
  export const RouteFilterPrefixFilterSensitiveLog = (obj) => ({
91
168
  ...obj,
92
169
  });
@@ -219,7 +219,6 @@ export declare class DirectConnect extends DirectConnectClient {
219
219
  confirmPublicVirtualInterface(args: ConfirmPublicVirtualInterfaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmPublicVirtualInterfaceCommandOutput) => void): void;
220
220
  /**
221
221
  * <p>Accepts ownership of a transit virtual interface created by another Amazon Web Services account.</p>
222
- *
223
222
  * <p> After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.</p>
224
223
  */
225
224
  confirmTransitVirtualInterface(args: ConfirmTransitVirtualInterfaceCommandInput, options?: __HttpHandlerOptions): Promise<ConfirmTransitVirtualInterfaceCommandOutput>;
@@ -227,11 +226,20 @@ export declare class DirectConnect extends DirectConnectClient {
227
226
  confirmTransitVirtualInterface(args: ConfirmTransitVirtualInterfaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmTransitVirtualInterfaceCommandOutput) => void): void;
228
227
  /**
229
228
  * <p>Creates a BGP peer on the specified virtual interface.</p>
230
- * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.</p>
229
+ * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to
230
+ * access Amazon Web Services resources that also use that address family.</p>
231
231
  * <p>If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot
232
232
  * be in the same address family as an existing BGP peer on the virtual interface.</p>
233
233
  * <p>When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from
234
234
  * the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.</p>
235
+ * <important>
236
+ * <p>If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR will be allocated
237
+ * from 169.254.0.0/16. Amazon Web Services does not recommend this option if you intend to use
238
+ * the customer router peer IP address as the source and destination for traffic. Instead you
239
+ * should use RFC 1918 or other addressing, and specify the address yourself. For more
240
+ * information about RFC 1918 see <a href="https://datatracker.ietf.org/doc/html/rfc1918">
241
+ * Address Allocation for Private Internets</a>.</p>
242
+ * </important>
235
243
  * <p>For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.</p>
236
244
  */
237
245
  createBGPPeer(args: CreateBGPPeerCommandInput, options?: __HttpHandlerOptions): Promise<CreateBGPPeerCommandOutput>;
@@ -239,7 +247,6 @@ export declare class DirectConnect extends DirectConnectClient {
239
247
  createBGPPeer(args: CreateBGPPeerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBGPPeerCommandOutput) => void): void;
240
248
  /**
241
249
  * <p>Creates a connection between a customer network and a specific Direct Connect location.</p>
242
- *
243
250
  * <p>A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic
244
251
  * cable. One end of the cable is connected to your router, the other to an Direct Connect router.</p>
245
252
  * <p>To find the locations for your Region, use <a>DescribeLocations</a>.</p>
@@ -303,7 +310,7 @@ export declare class DirectConnect extends DirectConnectClient {
303
310
  * A LAG is a logical interface that uses the Link Aggregation Control Protocol
304
311
  * (LACP) to aggregate multiple interfaces, enabling you to treat them as a single
305
312
  * interface.</p>
306
- * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
313
+ * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
307
314
  * <p>You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you
308
315
  * request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is
309
316
  * created.</p>
@@ -350,12 +357,12 @@ export declare class DirectConnect extends DirectConnectClient {
350
357
  * <important>
351
358
  * <p>If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails.</p>
352
359
  * </important>
353
- * <p>Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to
354
- * the underlying physical connection if it wasn't updated to support jumbo frames. Updating
355
- * the connection disrupts network connectivity for all virtual interfaces associated with
356
- * the connection for up to 30 seconds. To check whether your connection supports jumbo
357
- * frames, call <a>DescribeConnections</a>. To check whether your virtual
358
- * interface supports jumbo frames, call <a>DescribeVirtualInterfaces</a>.</p>
360
+ * <p>A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. Setting
361
+ * the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying
362
+ * physical connection if it wasn't updated to support jumbo frames. Updating the connection
363
+ * disrupts network connectivity for all virtual interfaces associated with the connection for up
364
+ * to 30 seconds. To check whether your connection supports jumbo frames, call <a>DescribeConnections</a>. To check whether your virtual interface supports jumbo
365
+ * frames, call <a>DescribeVirtualInterfaces</a>.</p>
359
366
  */
360
367
  createTransitVirtualInterface(args: CreateTransitVirtualInterfaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateTransitVirtualInterfaceCommandOutput>;
361
368
  createTransitVirtualInterface(args: CreateTransitVirtualInterfaceCommandInput, cb: (err: any, data?: CreateTransitVirtualInterfaceCommandOutput) => void): void;
@@ -15,7 +15,6 @@ export interface ConfirmTransitVirtualInterfaceCommandOutput extends ConfirmTran
15
15
  }
16
16
  /**
17
17
  * <p>Accepts ownership of a transit virtual interface created by another Amazon Web Services account.</p>
18
- *
19
18
  * <p> After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.</p>
20
19
  * @example
21
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -15,11 +15,20 @@ export interface CreateBGPPeerCommandOutput extends CreateBGPPeerResponse, __Met
15
15
  }
16
16
  /**
17
17
  * <p>Creates a BGP peer on the specified virtual interface.</p>
18
- * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.</p>
18
+ * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to
19
+ * access Amazon Web Services resources that also use that address family.</p>
19
20
  * <p>If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot
20
21
  * be in the same address family as an existing BGP peer on the virtual interface.</p>
21
22
  * <p>When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from
22
23
  * the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.</p>
24
+ * <important>
25
+ * <p>If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR will be allocated
26
+ * from 169.254.0.0/16. Amazon Web Services does not recommend this option if you intend to use
27
+ * the customer router peer IP address as the source and destination for traffic. Instead you
28
+ * should use RFC 1918 or other addressing, and specify the address yourself. For more
29
+ * information about RFC 1918 see <a href="https://datatracker.ietf.org/doc/html/rfc1918">
30
+ * Address Allocation for Private Internets</a>.</p>
31
+ * </important>
23
32
  * <p>For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.</p>
24
33
  * @example
25
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -15,7 +15,6 @@ export interface CreateConnectionCommandOutput extends Connection, __MetadataBea
15
15
  }
16
16
  /**
17
17
  * <p>Creates a connection between a customer network and a specific Direct Connect location.</p>
18
- *
19
18
  * <p>A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic
20
19
  * cable. One end of the cable is connected to your router, the other to an Direct Connect router.</p>
21
20
  * <p>To find the locations for your Region, use <a>DescribeLocations</a>.</p>
@@ -19,7 +19,7 @@ export interface CreateLagCommandOutput extends Lag, __MetadataBearer {
19
19
  * A LAG is a logical interface that uses the Link Aggregation Control Protocol
20
20
  * (LACP) to aggregate multiple interfaces, enabling you to treat them as a single
21
21
  * interface.</p>
22
- * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
22
+ * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
23
23
  * <p>You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you
24
24
  * request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is
25
25
  * created.</p>
@@ -18,12 +18,12 @@ export interface CreateTransitVirtualInterfaceCommandOutput extends CreateTransi
18
18
  * <important>
19
19
  * <p>If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails.</p>
20
20
  * </important>
21
- * <p>Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to
22
- * the underlying physical connection if it wasn't updated to support jumbo frames. Updating
23
- * the connection disrupts network connectivity for all virtual interfaces associated with
24
- * the connection for up to 30 seconds. To check whether your connection supports jumbo
25
- * frames, call <a>DescribeConnections</a>. To check whether your virtual
26
- * interface supports jumbo frames, call <a>DescribeVirtualInterfaces</a>.</p>
21
+ * <p>A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. Setting
22
+ * the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying
23
+ * physical connection if it wasn't updated to support jumbo frames. Updating the connection
24
+ * disrupts network connectivity for all virtual interfaces associated with the connection for up
25
+ * to 30 seconds. To check whether your connection supports jumbo frames, call <a>DescribeConnections</a>. To check whether your virtual interface supports jumbo
26
+ * frames, call <a>DescribeVirtualInterfaces</a>.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -54,7 +54,13 @@ export interface AssociatedGateway {
54
54
  */
55
55
  region?: string;
56
56
  }
57
- export declare type DirectConnectGatewayAssociationState = "associated" | "associating" | "disassociated" | "disassociating" | "updating";
57
+ export declare enum DirectConnectGatewayAssociationState {
58
+ associated = "associated",
59
+ associating = "associating",
60
+ disassociated = "disassociated",
61
+ disassociating = "disassociating",
62
+ updating = "updating"
63
+ }
58
64
  /**
59
65
  * <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
60
66
  */
@@ -86,6 +92,11 @@ export interface DirectConnectGatewayAssociation {
86
92
  * <p>
87
93
  * <code>disassociated</code>: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.</p>
88
94
  * </li>
95
+ * <li>
96
+ * <p>
97
+ * <code>updating</code>: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could
98
+ * be new CIDR blocks added or current CIDR blocks removed.</p>
99
+ * </li>
89
100
  * </ul>
90
101
  */
91
102
  associationState?: DirectConnectGatewayAssociationState | string;
@@ -191,7 +202,17 @@ export interface AllocateConnectionOnInterconnectRequest {
191
202
  */
192
203
  vlan: number | undefined;
193
204
  }
194
- export declare type ConnectionState = "available" | "deleted" | "deleting" | "down" | "ordering" | "pending" | "rejected" | "requested" | "unknown";
205
+ export declare enum ConnectionState {
206
+ available = "available",
207
+ deleted = "deleted",
208
+ deleting = "deleting",
209
+ down = "down",
210
+ ordering = "ordering",
211
+ pending = "pending",
212
+ rejected = "rejected",
213
+ requested = "requested",
214
+ unknown = "unknown"
215
+ }
195
216
  export declare enum HasLogicalRedundancy {
196
217
  No = "no",
197
218
  Unknown = "unknown",
@@ -585,7 +606,17 @@ export interface BGPPeer {
585
606
  */
586
607
  awsLogicalDeviceId?: string;
587
608
  }
588
- export declare type VirtualInterfaceState = "available" | "confirming" | "deleted" | "deleting" | "down" | "pending" | "rejected" | "unknown" | "verifying";
609
+ export declare enum VirtualInterfaceState {
610
+ available = "available",
611
+ confirming = "confirming",
612
+ deleted = "deleted",
613
+ deleting = "deleting",
614
+ down = "down",
615
+ pending = "pending",
616
+ rejected = "rejected",
617
+ unknown = "unknown",
618
+ verifying = "verifying"
619
+ }
589
620
  /**
590
621
  * <p>Information about a virtual interface.</p>
591
622
  */
@@ -645,7 +676,7 @@ export interface VirtualInterface {
645
676
  addressFamily?: AddressFamily | string;
646
677
  /**
647
678
  * <p>The state of the virtual interface. The following are the possible values:</p>
648
- * <ul>
679
+ * <ul>
649
680
  * <li>
650
681
  * <p>
651
682
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1005,7 +1036,7 @@ export interface ConfirmPrivateVirtualInterfaceRequest {
1005
1036
  export interface ConfirmPrivateVirtualInterfaceResponse {
1006
1037
  /**
1007
1038
  * <p>The state of the virtual interface. The following are the possible values:</p>
1008
- * <ul>
1039
+ * <ul>
1009
1040
  * <li>
1010
1041
  * <p>
1011
1042
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1055,7 +1086,7 @@ export interface ConfirmPublicVirtualInterfaceRequest {
1055
1086
  export interface ConfirmPublicVirtualInterfaceResponse {
1056
1087
  /**
1057
1088
  * <p>The state of the virtual interface. The following are the possible values:</p>
1058
- * <ul>
1089
+ * <ul>
1059
1090
  * <li>
1060
1091
  * <p>
1061
1092
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1109,7 +1140,7 @@ export interface ConfirmTransitVirtualInterfaceRequest {
1109
1140
  export interface ConfirmTransitVirtualInterfaceResponse {
1110
1141
  /**
1111
1142
  * <p>The state of the virtual interface. The following are the possible values:</p>
1112
- * <ul>
1143
+ * <ul>
1113
1144
  * <li>
1114
1145
  * <p>
1115
1146
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1240,7 +1271,12 @@ export interface CreateDirectConnectGatewayRequest {
1240
1271
  */
1241
1272
  amazonSideAsn?: number;
1242
1273
  }
1243
- export declare type DirectConnectGatewayState = "available" | "deleted" | "deleting" | "pending";
1274
+ export declare enum DirectConnectGatewayState {
1275
+ available = "available",
1276
+ deleted = "deleted",
1277
+ deleting = "deleting",
1278
+ pending = "pending"
1279
+ }
1244
1280
  /**
1245
1281
  * <p>Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.</p>
1246
1282
  */
@@ -1263,7 +1299,7 @@ export interface DirectConnectGateway {
1263
1299
  ownerAccount?: string;
1264
1300
  /**
1265
1301
  * <p>The state of the Direct Connect gateway. The following are the possible values:</p>
1266
- * <ul>
1302
+ * <ul>
1267
1303
  * <li>
1268
1304
  * <p>
1269
1305
  * <code>pending</code>: The initial state after calling <a>CreateDirectConnectGateway</a>.</p>
@@ -1342,7 +1378,11 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
1342
1378
  */
1343
1379
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
1344
1380
  }
1345
- export declare type DirectConnectGatewayAssociationProposalState = "accepted" | "deleted" | "requested";
1381
+ export declare enum DirectConnectGatewayAssociationProposalState {
1382
+ accepted = "accepted",
1383
+ deleted = "deleted",
1384
+ requested = "requested"
1385
+ }
1346
1386
  /**
1347
1387
  * <p>Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway. </p>
1348
1388
  */
@@ -1422,7 +1462,15 @@ export interface CreateInterconnectRequest {
1422
1462
  */
1423
1463
  providerName?: string;
1424
1464
  }
1425
- export declare type InterconnectState = "available" | "deleted" | "deleting" | "down" | "pending" | "requested" | "unknown";
1465
+ export declare enum InterconnectState {
1466
+ available = "available",
1467
+ deleted = "deleted",
1468
+ deleting = "deleting",
1469
+ down = "down",
1470
+ pending = "pending",
1471
+ requested = "requested",
1472
+ unknown = "unknown"
1473
+ }
1426
1474
  /**
1427
1475
  * <p>Information about an interconnect.</p>
1428
1476
  */
@@ -1565,7 +1613,15 @@ export interface CreateLagRequest {
1565
1613
  */
1566
1614
  requestMACSec?: boolean;
1567
1615
  }
1568
- export declare type LagState = "available" | "deleted" | "deleting" | "down" | "pending" | "requested" | "unknown";
1616
+ export declare enum LagState {
1617
+ available = "available",
1618
+ deleted = "deleted",
1619
+ deleting = "deleting",
1620
+ down = "down",
1621
+ pending = "pending",
1622
+ requested = "requested",
1623
+ unknown = "unknown"
1624
+ }
1569
1625
  /**
1570
1626
  * <p>Information about a link aggregation group (LAG).</p>
1571
1627
  */
@@ -1593,7 +1649,7 @@ export interface Lag {
1593
1649
  lagName?: string;
1594
1650
  /**
1595
1651
  * <p>The state of the LAG. The following are the possible values:</p>
1596
- * <ul>
1652
+ * <ul>
1597
1653
  * <li>
1598
1654
  * <p>
1599
1655
  * <code>requested</code>: The initial state of a LAG. The LAG stays in the
@@ -2005,7 +2061,7 @@ export interface DeleteVirtualInterfaceRequest {
2005
2061
  export interface DeleteVirtualInterfaceResponse {
2006
2062
  /**
2007
2063
  * <p>The state of the virtual interface. The following are the possible values:</p>
2008
- * <ul>
2064
+ * <ul>
2009
2065
  * <li>
2010
2066
  * <p>
2011
2067
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -2137,7 +2193,7 @@ export interface DescribeDirectConnectGatewayAssociationProposalsRequest {
2137
2193
  /**
2138
2194
  * <p>The maximum number of results to return with a single call.
2139
2195
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2140
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2196
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2141
2197
  * returned.</p>
2142
2198
  */
2143
2199
  maxResults?: number;
@@ -2172,7 +2228,7 @@ export interface DescribeDirectConnectGatewayAssociationsRequest {
2172
2228
  /**
2173
2229
  * <p>The maximum number of results to return with a single call.
2174
2230
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2175
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2231
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2176
2232
  * returned.</p>
2177
2233
  */
2178
2234
  maxResults?: number;
@@ -2207,7 +2263,7 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2207
2263
  /**
2208
2264
  * <p>The maximum number of results to return with a single call.
2209
2265
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2210
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2266
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2211
2267
  * returned.</p>
2212
2268
  */
2213
2269
  maxResults?: number;
@@ -2216,8 +2272,16 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2216
2272
  */
2217
2273
  nextToken?: string;
2218
2274
  }
2219
- export declare type DirectConnectGatewayAttachmentState = "attached" | "attaching" | "detached" | "detaching";
2220
- export declare type DirectConnectGatewayAttachmentType = "PrivateVirtualInterface" | "TransitVirtualInterface";
2275
+ export declare enum DirectConnectGatewayAttachmentState {
2276
+ attached = "attached",
2277
+ attaching = "attaching",
2278
+ detached = "detached",
2279
+ detaching = "detaching"
2280
+ }
2281
+ export declare enum DirectConnectGatewayAttachmentType {
2282
+ PrivateVirtualInterface = "PrivateVirtualInterface",
2283
+ TransitVirtualInterface = "TransitVirtualInterface"
2284
+ }
2221
2285
  /**
2222
2286
  * <p>Information about an attachment between a Direct Connect gateway and a virtual interface.</p>
2223
2287
  */
@@ -2287,7 +2351,7 @@ export interface DescribeDirectConnectGatewaysRequest {
2287
2351
  /**
2288
2352
  * <p>The maximum number of results to return with a single call.
2289
2353
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2290
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2354
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2291
2355
  * returned.</p>
2292
2356
  */
2293
2357
  maxResults?: number;
@@ -2596,7 +2660,7 @@ export interface ListVirtualInterfaceTestHistoryRequest {
2596
2660
  /**
2597
2661
  * <p>The maximum number of results to return with a single call.
2598
2662
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2599
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2663
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2600
2664
  * returned.</p>
2601
2665
  */
2602
2666
  maxResults?: number;
@@ -2663,7 +2727,7 @@ export interface StartBgpFailoverTestRequest {
2663
2727
  bgpPeers?: string[];
2664
2728
  /**
2665
2729
  * <p>The time in minutes that the virtual interface failover test will last.</p>
2666
- * <p>Maximum value: 180 minutes (3 hours).</p>
2730
+ * <p>Maximum value: 4,320 minutes (72 hours).</p>
2667
2731
  * <p>Default: 180 minutes (3 hours).</p>
2668
2732
  */
2669
2733
  testDurationInMinutes?: number;
@@ -19,12 +19,13 @@ export interface AssociatedGateway {
19
19
  ownerAccount?: string;
20
20
  region?: string;
21
21
  }
22
- export declare type DirectConnectGatewayAssociationState =
23
- | "associated"
24
- | "associating"
25
- | "disassociated"
26
- | "disassociating"
27
- | "updating";
22
+ export declare enum DirectConnectGatewayAssociationState {
23
+ associated = "associated",
24
+ associating = "associating",
25
+ disassociated = "disassociated",
26
+ disassociating = "disassociating",
27
+ updating = "updating",
28
+ }
28
29
  export interface DirectConnectGatewayAssociation {
29
30
  directConnectGatewayId?: string;
30
31
  directConnectGatewayOwnerAccount?: string;
@@ -69,16 +70,17 @@ export interface AllocateConnectionOnInterconnectRequest {
69
70
  interconnectId: string | undefined;
70
71
  vlan: number | undefined;
71
72
  }
72
- export declare type ConnectionState =
73
- | "available"
74
- | "deleted"
75
- | "deleting"
76
- | "down"
77
- | "ordering"
78
- | "pending"
79
- | "rejected"
80
- | "requested"
81
- | "unknown";
73
+ export declare enum ConnectionState {
74
+ available = "available",
75
+ deleted = "deleted",
76
+ deleting = "deleting",
77
+ down = "down",
78
+ ordering = "ordering",
79
+ pending = "pending",
80
+ rejected = "rejected",
81
+ requested = "requested",
82
+ unknown = "unknown",
83
+ }
82
84
  export declare enum HasLogicalRedundancy {
83
85
  No = "no",
84
86
  Unknown = "unknown",
@@ -182,16 +184,17 @@ export interface BGPPeer {
182
184
  awsDeviceV2?: string;
183
185
  awsLogicalDeviceId?: string;
184
186
  }
185
- export declare type VirtualInterfaceState =
186
- | "available"
187
- | "confirming"
188
- | "deleted"
189
- | "deleting"
190
- | "down"
191
- | "pending"
192
- | "rejected"
193
- | "unknown"
194
- | "verifying";
187
+ export declare enum VirtualInterfaceState {
188
+ available = "available",
189
+ confirming = "confirming",
190
+ deleted = "deleted",
191
+ deleting = "deleting",
192
+ down = "down",
193
+ pending = "pending",
194
+ rejected = "rejected",
195
+ unknown = "unknown",
196
+ verifying = "verifying",
197
+ }
195
198
  export interface VirtualInterface {
196
199
  ownerAccount?: string;
197
200
  virtualInterfaceId?: string;
@@ -344,11 +347,12 @@ export interface CreateDirectConnectGatewayRequest {
344
347
  directConnectGatewayName: string | undefined;
345
348
  amazonSideAsn?: number;
346
349
  }
347
- export declare type DirectConnectGatewayState =
348
- | "available"
349
- | "deleted"
350
- | "deleting"
351
- | "pending";
350
+ export declare enum DirectConnectGatewayState {
351
+ available = "available",
352
+ deleted = "deleted",
353
+ deleting = "deleting",
354
+ pending = "pending",
355
+ }
352
356
  export interface DirectConnectGateway {
353
357
  directConnectGatewayId?: string;
354
358
  directConnectGatewayName?: string;
@@ -376,10 +380,11 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
376
380
  addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
377
381
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
378
382
  }
379
- export declare type DirectConnectGatewayAssociationProposalState =
380
- | "accepted"
381
- | "deleted"
382
- | "requested";
383
+ export declare enum DirectConnectGatewayAssociationProposalState {
384
+ accepted = "accepted",
385
+ deleted = "deleted",
386
+ requested = "requested",
387
+ }
383
388
  export interface DirectConnectGatewayAssociationProposal {
384
389
  proposalId?: string;
385
390
  directConnectGatewayId?: string;
@@ -400,14 +405,15 @@ export interface CreateInterconnectRequest {
400
405
  tags?: Tag[];
401
406
  providerName?: string;
402
407
  }
403
- export declare type InterconnectState =
404
- | "available"
405
- | "deleted"
406
- | "deleting"
407
- | "down"
408
- | "pending"
409
- | "requested"
410
- | "unknown";
408
+ export declare enum InterconnectState {
409
+ available = "available",
410
+ deleted = "deleted",
411
+ deleting = "deleting",
412
+ down = "down",
413
+ pending = "pending",
414
+ requested = "requested",
415
+ unknown = "unknown",
416
+ }
411
417
  export interface Interconnect {
412
418
  interconnectId?: string;
413
419
  interconnectName?: string;
@@ -436,14 +442,15 @@ export interface CreateLagRequest {
436
442
  providerName?: string;
437
443
  requestMACSec?: boolean;
438
444
  }
439
- export declare type LagState =
440
- | "available"
441
- | "deleted"
442
- | "deleting"
443
- | "down"
444
- | "pending"
445
- | "requested"
446
- | "unknown";
445
+ export declare enum LagState {
446
+ available = "available",
447
+ deleted = "deleted",
448
+ deleting = "deleting",
449
+ down = "down",
450
+ pending = "pending",
451
+ requested = "requested",
452
+ unknown = "unknown",
453
+ }
447
454
  export interface Lag {
448
455
  connectionsBandwidth?: string;
449
456
  numberOfConnections?: number;
@@ -626,14 +633,16 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
626
633
  maxResults?: number;
627
634
  nextToken?: string;
628
635
  }
629
- export declare type DirectConnectGatewayAttachmentState =
630
- | "attached"
631
- | "attaching"
632
- | "detached"
633
- | "detaching";
634
- export declare type DirectConnectGatewayAttachmentType =
635
- | "PrivateVirtualInterface"
636
- | "TransitVirtualInterface";
636
+ export declare enum DirectConnectGatewayAttachmentState {
637
+ attached = "attached",
638
+ attaching = "attaching",
639
+ detached = "detached",
640
+ detaching = "detaching",
641
+ }
642
+ export declare enum DirectConnectGatewayAttachmentType {
643
+ PrivateVirtualInterface = "PrivateVirtualInterface",
644
+ TransitVirtualInterface = "TransitVirtualInterface",
645
+ }
637
646
  export interface DirectConnectGatewayAttachment {
638
647
  directConnectGatewayId?: string;
639
648
  virtualInterfaceId?: string;
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.290.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,55 +20,50 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.290.0",
24
- "@aws-sdk/config-resolver": "3.290.0",
25
- "@aws-sdk/credential-provider-node": "3.290.0",
26
- "@aws-sdk/fetch-http-handler": "3.290.0",
27
- "@aws-sdk/hash-node": "3.290.0",
28
- "@aws-sdk/invalid-dependency": "3.290.0",
29
- "@aws-sdk/middleware-content-length": "3.290.0",
30
- "@aws-sdk/middleware-endpoint": "3.290.0",
31
- "@aws-sdk/middleware-host-header": "3.290.0",
32
- "@aws-sdk/middleware-logger": "3.290.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
- "@aws-sdk/middleware-retry": "3.290.0",
35
- "@aws-sdk/middleware-serde": "3.290.0",
36
- "@aws-sdk/middleware-signing": "3.290.0",
37
- "@aws-sdk/middleware-stack": "3.290.0",
38
- "@aws-sdk/middleware-user-agent": "3.290.0",
39
- "@aws-sdk/node-config-provider": "3.290.0",
40
- "@aws-sdk/node-http-handler": "3.290.0",
41
- "@aws-sdk/protocol-http": "3.290.0",
42
- "@aws-sdk/smithy-client": "3.290.0",
43
- "@aws-sdk/types": "3.290.0",
44
- "@aws-sdk/url-parser": "3.290.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
- "@aws-sdk/util-endpoints": "3.290.0",
51
- "@aws-sdk/util-retry": "3.290.0",
52
- "@aws-sdk/util-user-agent-browser": "3.290.0",
53
- "@aws-sdk/util-user-agent-node": "3.290.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/client-sts": "3.292.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.292.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.292.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.292.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.292.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
- "typedoc": "0.19.2",
64
+ "typedoc": "0.23.23",
65
65
  "typescript": "~4.6.2"
66
66
  },
67
- "overrides": {
68
- "typedoc": {
69
- "typescript": "~4.6.2"
70
- }
71
- },
72
67
  "engines": {
73
68
  "node": ">=14.0.0"
74
69
  },