UNPKG

117 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class DirectConnect extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: DirectConnect.Types.ClientConfiguration)
13 config: Config & DirectConnect.Types.ClientConfiguration;
14 /**
15 * Accepts a proposal request to attach a virtual private gateway to a Direct Connect gateway.
16 */
17 acceptDirectConnectGatewayAssociationProposal(params: DirectConnect.Types.AcceptDirectConnectGatewayAssociationProposalRequest, callback?: (err: AWSError, data: DirectConnect.Types.AcceptDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.AcceptDirectConnectGatewayAssociationProposalResult, AWSError>;
18 /**
19 * Accepts a proposal request to attach a virtual private gateway to a Direct Connect gateway.
20 */
21 acceptDirectConnectGatewayAssociationProposal(callback?: (err: AWSError, data: DirectConnect.Types.AcceptDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.AcceptDirectConnectGatewayAssociationProposalResult, AWSError>;
22 /**
23 * Deprecated. Use AllocateHostedConnection instead. Creates a hosted connection on an interconnect. Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect. Intended for use by AWS Direct Connect Partners only.
24 */
25 allocateConnectionOnInterconnect(params: DirectConnect.Types.AllocateConnectionOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
26 /**
27 * Deprecated. Use AllocateHostedConnection instead. Creates a hosted connection on an interconnect. Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect. Intended for use by AWS Direct Connect Partners only.
28 */
29 allocateConnectionOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
30 /**
31 * Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. AWS polices the hosted connection for the specified capacity and the AWS Direct Connect Partner must also police the hosted connection for the specified capacity. Intended for use by AWS Direct Connect Partners only.
32 */
33 allocateHostedConnection(params: DirectConnect.Types.AllocateHostedConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
34 /**
35 * Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. AWS polices the hosted connection for the specified capacity and the AWS Direct Connect Partner must also police the hosted connection for the specified capacity. Intended for use by AWS Direct Connect Partners only.
36 */
37 allocateHostedConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
38 /**
39 * Provisions a private virtual interface to be owned by the specified AWS account. Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state and is not available to handle traffic.
40 */
41 allocatePrivateVirtualInterface(params: DirectConnect.Types.AllocatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
42 /**
43 * Provisions a private virtual interface to be owned by the specified AWS account. Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state and is not available to handle traffic.
44 */
45 allocatePrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
46 /**
47 * Provisions a public virtual interface to be owned by the specified AWS account. The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account. Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic. When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
48 */
49 allocatePublicVirtualInterface(params: DirectConnect.Types.AllocatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
50 /**
51 * Provisions a public virtual interface to be owned by the specified AWS account. The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account. Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic. When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
52 */
53 allocatePublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
54 /**
55 * Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS is interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails. Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG. For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.
56 */
57 associateConnectionWithLag(params: DirectConnect.Types.AssociateConnectionWithLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
58 /**
59 * Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS is interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails. Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG. For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.
60 */
61 associateConnectionWithLag(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
62 /**
63 * Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. Intended for use by AWS Direct Connect Partners only.
64 */
65 associateHostedConnection(params: DirectConnect.Types.AssociateHostedConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
66 /**
67 * Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated. Intended for use by AWS Direct Connect Partners only.
68 */
69 associateHostedConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
70 /**
71 * Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection. To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.
72 */
73 associateVirtualInterface(params: DirectConnect.Types.AssociateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
74 /**
75 * Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails. Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection. To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.
76 */
77 associateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
78 /**
79 * Confirms the creation of the specified hosted connection on an interconnect. Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.
80 */
81 confirmConnection(params: DirectConnect.Types.ConfirmConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request<DirectConnect.Types.ConfirmConnectionResponse, AWSError>;
82 /**
83 * Confirms the creation of the specified hosted connection on an interconnect. Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.
84 */
85 confirmConnection(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request<DirectConnect.Types.ConfirmConnectionResponse, AWSError>;
86 /**
87 * Accepts ownership of a private virtual interface created by another AWS account. After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.
88 */
89 confirmPrivateVirtualInterface(params: DirectConnect.Types.ConfirmPrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse, AWSError>;
90 /**
91 * Accepts ownership of a private virtual interface created by another AWS account. After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.
92 */
93 confirmPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse, AWSError>;
94 /**
95 * Accepts ownership of a public virtual interface created by another AWS account. After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.
96 */
97 confirmPublicVirtualInterface(params: DirectConnect.Types.ConfirmPublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse, AWSError>;
98 /**
99 * Accepts ownership of a public virtual interface created by another AWS account. After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.
100 */
101 confirmPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse, AWSError>;
102 /**
103 * Creates a BGP peer on the specified virtual interface. You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family. If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface. When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface.
104 */
105 createBGPPeer(params: DirectConnect.Types.CreateBGPPeerRequest, callback?: (err: AWSError, data: DirectConnect.Types.CreateBGPPeerResponse) => void): Request<DirectConnect.Types.CreateBGPPeerResponse, AWSError>;
106 /**
107 * Creates a BGP peer on the specified virtual interface. You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access AWS resources that also use that address family. If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface. When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface.
108 */
109 createBGPPeer(callback?: (err: AWSError, data: DirectConnect.Types.CreateBGPPeerResponse) => void): Request<DirectConnect.Types.CreateBGPPeerResponse, AWSError>;
110 /**
111 * Creates a connection between a customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. To find the locations for your Region, use DescribeLocations. You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created.
112 */
113 createConnection(params: DirectConnect.Types.CreateConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
114 /**
115 * Creates a connection between a customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. To find the locations for your Region, use DescribeLocations. You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created.
116 */
117 createConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
118 /**
119 * Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWS Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them.
120 */
121 createDirectConnectGateway(params: DirectConnect.Types.CreateDirectConnectGatewayRequest, callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayResult, AWSError>;
122 /**
123 * Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWS Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them.
124 */
125 createDirectConnectGateway(callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayResult, AWSError>;
126 /**
127 * Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.
128 */
129 createDirectConnectGatewayAssociation(params: DirectConnect.Types.CreateDirectConnectGatewayAssociationRequest, callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayAssociationResult, AWSError>;
130 /**
131 * Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.
132 */
133 createDirectConnectGatewayAssociation(callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayAssociationResult, AWSError>;
134 /**
135 * Creates a proposal to associate the specified virtual private gateway with the specified Direct Connect gateway. You can only associate a Direct Connect gateway and virtual private gateway when the account that owns the Direct Connect gateway and the account that owns the virtual private gateway have the same payer ID.
136 */
137 createDirectConnectGatewayAssociationProposal(params: DirectConnect.Types.CreateDirectConnectGatewayAssociationProposalRequest, callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayAssociationProposalResult, AWSError>;
138 /**
139 * Creates a proposal to associate the specified virtual private gateway with the specified Direct Connect gateway. You can only associate a Direct Connect gateway and virtual private gateway when the account that owns the Direct Connect gateway and the account that owns the virtual private gateway have the same payer ID.
140 */
141 createDirectConnectGatewayAssociationProposal(callback?: (err: AWSError, data: DirectConnect.Types.CreateDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.CreateDirectConnectGatewayAssociationProposalResult, AWSError>;
142 /**
143 * Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location. An interconnect is a connection that is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide AWS Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created. For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect Partner. Intended for use by AWS Direct Connect Partners only.
144 */
145 createInterconnect(params: DirectConnect.Types.CreateInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request<DirectConnect.Types.Interconnect, AWSError>;
146 /**
147 * Creates an interconnect between an AWS Direct Connect Partner's network and a specific AWS Direct Connect location. An interconnect is a connection that is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide AWS Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created. For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the AWS Direct Connect Partner. Intended for use by AWS Direct Connect Partners only.
148 */
149 createInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request<DirectConnect.Types.Interconnect, AWSError>;
150 /**
151 * Creates a link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface. All connections in a LAG must use the same bandwidth and must terminate at the same AWS Direct Connect endpoint. You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is created. You can specify an existing physical connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical connection or hosted connections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWS Direct Connect endpoint to which the connection terminates. Any virtual interfaces associated with the connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured.
152 */
153 createLag(params: DirectConnect.Types.CreateLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
154 /**
155 * Creates a link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface. All connections in a LAG must use the same bandwidth and must terminate at the same AWS Direct Connect endpoint. You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is created. You can specify an existing physical connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical connection or hosted connections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWS Direct Connect endpoint to which the connection terminates. Any virtual interfaces associated with the connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured.
156 */
157 createLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
158 /**
159 * Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.
160 */
161 createPrivateVirtualInterface(params: DirectConnect.Types.CreatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
162 /**
163 * Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.
164 */
165 createPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
166 /**
167 * Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon S3. When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.
168 */
169 createPublicVirtualInterface(params: DirectConnect.Types.CreatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
170 /**
171 * Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon S3. When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.
172 */
173 createPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
174 /**
175 * Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. You cannot delete the last BGP peer from a virtual interface.
176 */
177 deleteBGPPeer(params: DirectConnect.Types.DeleteBGPPeerRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteBGPPeerResponse) => void): Request<DirectConnect.Types.DeleteBGPPeerResponse, AWSError>;
178 /**
179 * Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. You cannot delete the last BGP peer from a virtual interface.
180 */
181 deleteBGPPeer(callback?: (err: AWSError, data: DirectConnect.Types.DeleteBGPPeerResponse) => void): Request<DirectConnect.Types.DeleteBGPPeerResponse, AWSError>;
182 /**
183 * Deletes the specified connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. If you are partnering with any third parties to connect with the AWS Direct Connect location, you must cancel your service with them separately.
184 */
185 deleteConnection(params: DirectConnect.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
186 /**
187 * Deletes the specified connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. If you are partnering with any third parties to connect with the AWS Direct Connect location, you must cancel your service with them separately.
188 */
189 deleteConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
190 /**
191 * Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways that are associated with the Direct Connect gateway.
192 */
193 deleteDirectConnectGateway(params: DirectConnect.Types.DeleteDirectConnectGatewayRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayResult, AWSError>;
194 /**
195 * Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways that are associated with the Direct Connect gateway.
196 */
197 deleteDirectConnectGateway(callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayResult, AWSError>;
198 /**
199 * Deletes the association between the specified Direct Connect gateway and virtual private gateway.
200 */
201 deleteDirectConnectGatewayAssociation(params: DirectConnect.Types.DeleteDirectConnectGatewayAssociationRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayAssociationResult, AWSError>;
202 /**
203 * Deletes the association between the specified Direct Connect gateway and virtual private gateway.
204 */
205 deleteDirectConnectGatewayAssociation(callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayAssociationResult, AWSError>;
206 /**
207 * Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway.
208 */
209 deleteDirectConnectGatewayAssociationProposal(params: DirectConnect.Types.DeleteDirectConnectGatewayAssociationProposalRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayAssociationProposalResult, AWSError>;
210 /**
211 * Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway.
212 */
213 deleteDirectConnectGatewayAssociationProposal(callback?: (err: AWSError, data: DirectConnect.Types.DeleteDirectConnectGatewayAssociationProposalResult) => void): Request<DirectConnect.Types.DeleteDirectConnectGatewayAssociationProposalResult, AWSError>;
214 /**
215 * Deletes the specified interconnect. Intended for use by AWS Direct Connect Partners only.
216 */
217 deleteInterconnect(params: DirectConnect.Types.DeleteInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request<DirectConnect.Types.DeleteInterconnectResponse, AWSError>;
218 /**
219 * Deletes the specified interconnect. Intended for use by AWS Direct Connect Partners only.
220 */
221 deleteInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request<DirectConnect.Types.DeleteInterconnectResponse, AWSError>;
222 /**
223 * Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections.
224 */
225 deleteLag(params: DirectConnect.Types.DeleteLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
226 /**
227 * Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections.
228 */
229 deleteLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
230 /**
231 * Deletes a virtual interface.
232 */
233 deleteVirtualInterface(params: DirectConnect.Types.DeleteVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request<DirectConnect.Types.DeleteVirtualInterfaceResponse, AWSError>;
234 /**
235 * Deletes a virtual interface.
236 */
237 deleteVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request<DirectConnect.Types.DeleteVirtualInterfaceResponse, AWSError>;
238 /**
239 * Deprecated. Use DescribeLoa instead. Gets the LOA-CFA for a connection. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
240 */
241 describeConnectionLoa(params: DirectConnect.Types.DescribeConnectionLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request<DirectConnect.Types.DescribeConnectionLoaResponse, AWSError>;
242 /**
243 * Deprecated. Use DescribeLoa instead. Gets the LOA-CFA for a connection. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
244 */
245 describeConnectionLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request<DirectConnect.Types.DescribeConnectionLoaResponse, AWSError>;
246 /**
247 * Displays the specified connection or all connections in this Region.
248 */
249 describeConnections(params: DirectConnect.Types.DescribeConnectionsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
250 /**
251 * Displays the specified connection or all connections in this Region.
252 */
253 describeConnections(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
254 /**
255 * Deprecated. Use DescribeHostedConnections instead. Lists the connections that have been provisioned on the specified interconnect. Intended for use by AWS Direct Connect Partners only.
256 */
257 describeConnectionsOnInterconnect(params: DirectConnect.Types.DescribeConnectionsOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
258 /**
259 * Deprecated. Use DescribeHostedConnections instead. Lists the connections that have been provisioned on the specified interconnect. Intended for use by AWS Direct Connect Partners only.
260 */
261 describeConnectionsOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
262 /**
263 * Describes one or more association proposals for connection between a virtual private gateway and a Direct Connect gateway.
264 */
265 describeDirectConnectGatewayAssociationProposals(params: DirectConnect.Types.DescribeDirectConnectGatewayAssociationProposalsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAssociationProposalsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAssociationProposalsResult, AWSError>;
266 /**
267 * Describes one or more association proposals for connection between a virtual private gateway and a Direct Connect gateway.
268 */
269 describeDirectConnectGatewayAssociationProposals(callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAssociationProposalsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAssociationProposalsResult, AWSError>;
270 /**
271 * Lists the associations between your Direct Connect gateways and virtual private gateways. You must specify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connect gateway, the response contains all virtual private gateways associated with the Direct Connect gateway. If you specify a virtual private gateway, the response contains all Direct Connect gateways associated with the virtual private gateway. If you specify both, the response contains the association between the Direct Connect gateway and the virtual private gateway.
272 */
273 describeDirectConnectGatewayAssociations(params: DirectConnect.Types.DescribeDirectConnectGatewayAssociationsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAssociationsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAssociationsResult, AWSError>;
274 /**
275 * Lists the associations between your Direct Connect gateways and virtual private gateways. You must specify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connect gateway, the response contains all virtual private gateways associated with the Direct Connect gateway. If you specify a virtual private gateway, the response contains all Direct Connect gateways associated with the virtual private gateway. If you specify both, the response contains the association between the Direct Connect gateway and the virtual private gateway.
276 */
277 describeDirectConnectGatewayAssociations(callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAssociationsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAssociationsResult, AWSError>;
278 /**
279 * Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.
280 */
281 describeDirectConnectGatewayAttachments(params: DirectConnect.Types.DescribeDirectConnectGatewayAttachmentsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAttachmentsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAttachmentsResult, AWSError>;
282 /**
283 * Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.
284 */
285 describeDirectConnectGatewayAttachments(callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewayAttachmentsResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewayAttachmentsResult, AWSError>;
286 /**
287 * Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.
288 */
289 describeDirectConnectGateways(params: DirectConnect.Types.DescribeDirectConnectGatewaysRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewaysResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewaysResult, AWSError>;
290 /**
291 * Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.
292 */
293 describeDirectConnectGateways(callback?: (err: AWSError, data: DirectConnect.Types.DescribeDirectConnectGatewaysResult) => void): Request<DirectConnect.Types.DescribeDirectConnectGatewaysResult, AWSError>;
294 /**
295 * Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG). Intended for use by AWS Direct Connect Partners only.
296 */
297 describeHostedConnections(params: DirectConnect.Types.DescribeHostedConnectionsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
298 /**
299 * Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG). Intended for use by AWS Direct Connect Partners only.
300 */
301 describeHostedConnections(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>;
302 /**
303 * Deprecated. Use DescribeLoa instead. Gets the LOA-CFA for the specified interconnect. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
304 */
305 describeInterconnectLoa(params: DirectConnect.Types.DescribeInterconnectLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request<DirectConnect.Types.DescribeInterconnectLoaResponse, AWSError>;
306 /**
307 * Deprecated. Use DescribeLoa instead. Gets the LOA-CFA for the specified interconnect. The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
308 */
309 describeInterconnectLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request<DirectConnect.Types.DescribeInterconnectLoaResponse, AWSError>;
310 /**
311 * Lists the interconnects owned by the AWS account or only the specified interconnect.
312 */
313 describeInterconnects(params: DirectConnect.Types.DescribeInterconnectsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request<DirectConnect.Types.Interconnects, AWSError>;
314 /**
315 * Lists the interconnects owned by the AWS account or only the specified interconnect.
316 */
317 describeInterconnects(callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request<DirectConnect.Types.Interconnects, AWSError>;
318 /**
319 * Describes all your link aggregation groups (LAG) or the specified LAG.
320 */
321 describeLags(params: DirectConnect.Types.DescribeLagsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lags) => void): Request<DirectConnect.Types.Lags, AWSError>;
322 /**
323 * Describes all your link aggregation groups (LAG) or the specified LAG.
324 */
325 describeLags(callback?: (err: AWSError, data: DirectConnect.Types.Lags) => void): Request<DirectConnect.Types.Lags, AWSError>;
326 /**
327 * Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
328 */
329 describeLoa(params: DirectConnect.Types.DescribeLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.Loa) => void): Request<DirectConnect.Types.Loa, AWSError>;
330 /**
331 * Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
332 */
333 describeLoa(callback?: (err: AWSError, data: DirectConnect.Types.Loa) => void): Request<DirectConnect.Types.Loa, AWSError>;
334 /**
335 * Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling CreateConnection or CreateInterconnect.
336 */
337 describeLocations(callback?: (err: AWSError, data: DirectConnect.Types.Locations) => void): Request<DirectConnect.Types.Locations, AWSError>;
338 /**
339 * Describes the tags associated with the specified AWS Direct Connect resources.
340 */
341 describeTags(params: DirectConnect.Types.DescribeTagsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request<DirectConnect.Types.DescribeTagsResponse, AWSError>;
342 /**
343 * Describes the tags associated with the specified AWS Direct Connect resources.
344 */
345 describeTags(callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request<DirectConnect.Types.DescribeTagsResponse, AWSError>;
346 /**
347 * Lists the virtual private gateways owned by the AWS account. You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.
348 */
349 describeVirtualGateways(callback?: (err: AWSError, data: DirectConnect.Types.VirtualGateways) => void): Request<DirectConnect.Types.VirtualGateways, AWSError>;
350 /**
351 * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.
352 */
353 describeVirtualInterfaces(params: DirectConnect.Types.DescribeVirtualInterfacesRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request<DirectConnect.Types.VirtualInterfaces, AWSError>;
354 /**
355 * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.
356 */
357 describeVirtualInterfaces(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request<DirectConnect.Types.VirtualInterfaces, AWSError>;
358 /**
359 * Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is automatically converted to an interconnect. If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.
360 */
361 disassociateConnectionFromLag(params: DirectConnect.Types.DisassociateConnectionFromLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
362 /**
363 * Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is automatically converted to an interconnect. If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.
364 */
365 disassociateConnectionFromLag(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>;
366 /**
367 * Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
368 */
369 tagResource(params: DirectConnect.Types.TagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request<DirectConnect.Types.TagResourceResponse, AWSError>;
370 /**
371 * Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
372 */
373 tagResource(callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request<DirectConnect.Types.TagResourceResponse, AWSError>;
374 /**
375 * Removes one or more tags from the specified AWS Direct Connect resource.
376 */
377 untagResource(params: DirectConnect.Types.UntagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request<DirectConnect.Types.UntagResourceResponse, AWSError>;
378 /**
379 * Removes one or more tags from the specified AWS Direct Connect resource.
380 */
381 untagResource(callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request<DirectConnect.Types.UntagResourceResponse, AWSError>;
382 /**
383 * Updates the specified attributes of the Direct Connect gateway association. Add or remove prefixes from the association.
384 */
385 updateDirectConnectGatewayAssociation(params: DirectConnect.Types.UpdateDirectConnectGatewayAssociationRequest, callback?: (err: AWSError, data: DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult, AWSError>;
386 /**
387 * Updates the specified attributes of the Direct Connect gateway association. Add or remove prefixes from the association.
388 */
389 updateDirectConnectGatewayAssociation(callback?: (err: AWSError, data: DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult) => void): Request<DirectConnect.Types.UpdateDirectConnectGatewayAssociationResult, AWSError>;
390 /**
391 * Updates the attributes of the specified link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.
392 */
393 updateLag(params: DirectConnect.Types.UpdateLagRequest, callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
394 /**
395 * Updates the attributes of the specified link aggregation group (LAG). You can update the following attributes: The name of the LAG. The value for the minimum number of connections that must be operational for the LAG itself to be operational. When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.
396 */
397 updateLag(callback?: (err: AWSError, data: DirectConnect.Types.Lag) => void): Request<DirectConnect.Types.Lag, AWSError>;
398 /**
399 * Updates the specified attributes of the specified virtual private interface. Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
400 */
401 updateVirtualInterfaceAttributes(params: DirectConnect.Types.UpdateVirtualInterfaceAttributesRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
402 /**
403 * Updates the specified attributes of the specified virtual private interface. Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
404 */
405 updateVirtualInterfaceAttributes(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>;
406}
407declare namespace DirectConnect {
408 export type ASN = number;
409 export interface AcceptDirectConnectGatewayAssociationProposalRequest {
410 /**
411 * The ID of the Direct Connect gateway.
412 */
413 directConnectGatewayId: DirectConnectGatewayId;
414 /**
415 * The ID of the request proposal.
416 */
417 proposalId: DirectConnectGatewayAssociationProposalId;
418 /**
419 * The ID of the AWS account that owns the virtual private gateway.
420 */
421 associatedGatewayOwnerAccount: OwnerAccount;
422 /**
423 * Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
424 */
425 overrideAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
426 }
427 export interface AcceptDirectConnectGatewayAssociationProposalResult {
428 directConnectGatewayAssociation?: DirectConnectGatewayAssociation;
429 }
430 export type AddressFamily = "ipv4"|"ipv6"|string;
431 export interface AllocateConnectionOnInterconnectRequest {
432 /**
433 * The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
434 */
435 bandwidth: Bandwidth;
436 /**
437 * The name of the provisioned connection.
438 */
439 connectionName: ConnectionName;
440 /**
441 * The ID of the AWS account of the customer for whom the connection will be provisioned.
442 */
443 ownerAccount: OwnerAccount;
444 /**
445 * The ID of the interconnect on which the connection will be provisioned.
446 */
447 interconnectId: InterconnectId;
448 /**
449 * The dedicated VLAN provisioned to the connection.
450 */
451 vlan: VLAN;
452 }
453 export interface AllocateHostedConnectionRequest {
454 /**
455 * The ID of the interconnect or LAG.
456 */
457 connectionId: ConnectionId;
458 /**
459 * The ID of the AWS account ID of the customer for the connection.
460 */
461 ownerAccount: OwnerAccount;
462 /**
463 * The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those AWS Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
464 */
465 bandwidth: Bandwidth;
466 /**
467 * The name of the hosted connection.
468 */
469 connectionName: ConnectionName;
470 /**
471 * The dedicated VLAN provisioned to the hosted connection.
472 */
473 vlan: VLAN;
474 }
475 export interface AllocatePrivateVirtualInterfaceRequest {
476 /**
477 * The ID of the connection on which the private virtual interface is provisioned.
478 */
479 connectionId: ConnectionId;
480 /**
481 * The ID of the AWS account that owns the virtual private interface.
482 */
483 ownerAccount: OwnerAccount;
484 /**
485 * Information about the private virtual interface.
486 */
487 newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocation;
488 }
489 export interface AllocatePublicVirtualInterfaceRequest {
490 /**
491 * The ID of the connection on which the public virtual interface is provisioned.
492 */
493 connectionId: ConnectionId;
494 /**
495 * The ID of the AWS account that owns the public virtual interface.
496 */
497 ownerAccount: OwnerAccount;
498 /**
499 * Information about the public virtual interface.
500 */
501 newPublicVirtualInterfaceAllocation: NewPublicVirtualInterfaceAllocation;
502 }
503 export type AmazonAddress = string;
504 export interface AssociateConnectionWithLagRequest {
505 /**
506 * The ID of the connection.
507 */
508 connectionId: ConnectionId;
509 /**
510 * The ID of the LAG with which to associate the connection.
511 */
512 lagId: LagId;
513 }
514 export interface AssociateHostedConnectionRequest {
515 /**
516 * The ID of the hosted connection.
517 */
518 connectionId: ConnectionId;
519 /**
520 * The ID of the interconnect or the LAG.
521 */
522 parentConnectionId: ConnectionId;
523 }
524 export interface AssociateVirtualInterfaceRequest {
525 /**
526 * The ID of the virtual interface.
527 */
528 virtualInterfaceId: VirtualInterfaceId;
529 /**
530 * The ID of the LAG or connection.
531 */
532 connectionId: ConnectionId;
533 }
534 export interface AssociatedGateway {
535 /**
536 * The ID of the associated gateway.
537 */
538 id?: GatewayIdentifier;
539 /**
540 * The type of associated gateway.
541 */
542 type?: GatewayType;
543 /**
544 * The ID of the AWS account that owns the associated virtual private gateway.
545 */
546 ownerAccount?: OwnerAccount;
547 /**
548 * The Region where the associated gateway is located.
549 */
550 region?: Region;
551 }
552 export type AssociatedGatewayId = string;
553 export type AvailablePortSpeeds = PortSpeed[];
554 export type AwsDevice = string;
555 export type AwsDeviceV2 = string;
556 export type BGPAuthKey = string;
557 export interface BGPPeer {
558 /**
559 * The ID of the BGP peer.
560 */
561 bgpPeerId?: BGPPeerId;
562 /**
563 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
564 */
565 asn?: ASN;
566 /**
567 * The authentication key for BGP configuration.
568 */
569 authKey?: BGPAuthKey;
570 /**
571 * The address family for the BGP peer.
572 */
573 addressFamily?: AddressFamily;
574 /**
575 * The IP address assigned to the Amazon interface.
576 */
577 amazonAddress?: AmazonAddress;
578 /**
579 * The IP address assigned to the customer interface.
580 */
581 customerAddress?: CustomerAddress;
582 /**
583 * The state of the BGP peer. The following are the possible values: verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. pending: The BGP peer is created, and remains in this state until it is ready to be established. available: The BGP peer is ready to be established. deleting: The BGP peer is being deleted. deleted: The BGP peer is deleted and cannot be established.
584 */
585 bgpPeerState?: BGPPeerState;
586 /**
587 * The status of the BGP peer. The following are the possible values: up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. down: The BGP peer is down. unknown: The BGP peer status is not available.
588 */
589 bgpStatus?: BGPStatus;
590 /**
591 * The Direct Connect endpoint on which the BGP peer terminates.
592 */
593 awsDeviceV2?: AwsDeviceV2;
594 }
595 export type BGPPeerId = string;
596 export type BGPPeerList = BGPPeer[];
597 export type BGPPeerState = "verifying"|"pending"|"available"|"deleting"|"deleted"|string;
598 export type BGPStatus = "up"|"down"|"unknown"|string;
599 export type Bandwidth = string;
600 export type BooleanFlag = boolean;
601 export type CIDR = string;
602 export interface ConfirmConnectionRequest {
603 /**
604 * The ID of the hosted connection.
605 */
606 connectionId: ConnectionId;
607 }
608 export interface ConfirmConnectionResponse {
609 /**
610 * The state of the connection. The following are the possible values: ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. pending: The connection has been approved and is being initialized. available: The network link is up and the connection is ready for use. down: The network link is down. deleting: The connection is being deleted. deleted: The connection has been deleted. rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer. unknown: The state of the connection is not available.
611 */
612 connectionState?: ConnectionState;
613 }
614 export interface ConfirmPrivateVirtualInterfaceRequest {
615 /**
616 * The ID of the virtual interface.
617 */
618 virtualInterfaceId: VirtualInterfaceId;
619 /**
620 * The ID of the virtual private gateway.
621 */
622 virtualGatewayId?: VirtualGatewayId;
623 /**
624 * The ID of the Direct Connect gateway.
625 */
626 directConnectGatewayId?: DirectConnectGatewayId;
627 }
628 export interface ConfirmPrivateVirtualInterfaceResponse {
629 /**
630 * The state of the virtual interface. The following are the possible values: confirming: 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. verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. available: A virtual interface that is able to forward traffic. down: A virtual interface that is BGP down. deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. deleted: A virtual interface that cannot forward traffic. rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state. unknown: The state of the virtual interface is not available.
631 */
632 virtualInterfaceState?: VirtualInterfaceState;
633 }
634 export interface ConfirmPublicVirtualInterfaceRequest {
635 /**
636 * The ID of the virtual interface.
637 */
638 virtualInterfaceId: VirtualInterfaceId;
639 }
640 export interface ConfirmPublicVirtualInterfaceResponse {
641 /**
642 * The state of the virtual interface. The following are the possible values: confirming: 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. verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. available: A virtual interface that is able to forward traffic. down: A virtual interface that is BGP down. deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. deleted: A virtual interface that cannot forward traffic. rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state. unknown: The state of the virtual interface is not available.
643 */
644 virtualInterfaceState?: VirtualInterfaceState;
645 }
646 export interface Connection {
647 /**
648 * The ID of the AWS account that owns the connection.
649 */
650 ownerAccount?: OwnerAccount;
651 /**
652 * The ID of the connection.
653 */
654 connectionId?: ConnectionId;
655 /**
656 * The name of the connection.
657 */
658 connectionName?: ConnectionName;
659 /**
660 * The state of the connection. The following are the possible values: ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. pending: The connection has been approved and is being initialized. available: The network link is up and the connection is ready for use. down: The network link is down. deleting: The connection is being deleted. deleted: The connection has been deleted. rejected: A hosted connection in the ordering state enters the rejected state if it is deleted by the customer. unknown: The state of the connection is not available.
661 */
662 connectionState?: ConnectionState;
663 /**
664 * The AWS Region where the connection is located.
665 */
666 region?: Region;
667 /**
668 * The location of the connection.
669 */
670 location?: LocationCode;
671 /**
672 * The bandwidth of the connection.
673 */
674 bandwidth?: Bandwidth;
675 /**
676 * The ID of the VLAN.
677 */
678 vlan?: VLAN;
679 /**
680 * The name of the AWS Direct Connect service provider associated with the connection.
681 */
682 partnerName?: PartnerName;
683 /**
684 * The time of the most recent call to DescribeLoa for this connection.
685 */
686 loaIssueTime?: LoaIssueTime;
687 /**
688 * The ID of the LAG.
689 */
690 lagId?: LagId;
691 /**
692 * The Direct Connect endpoint on which the physical connection terminates.
693 */
694 awsDevice?: AwsDevice;
695 /**
696 * Indicates whether jumbo frames (9001 MTU) are supported.
697 */
698 jumboFrameCapable?: JumboFrameCapable;
699 /**
700 * The Direct Connect endpoint on which the physical connection terminates.
701 */
702 awsDeviceV2?: AwsDeviceV2;
703 /**
704 * Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
705 */
706 hasLogicalRedundancy?: HasLogicalRedundancy;
707 }
708 export type ConnectionId = string;
709 export type ConnectionList = Connection[];
710 export type ConnectionName = string;
711 export type ConnectionState = "ordering"|"requested"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|"unknown"|string;
712 export interface Connections {
713 /**
714 * The connections.
715 */
716 connections?: ConnectionList;
717 }
718 export type Count = number;
719 export interface CreateBGPPeerRequest {
720 /**
721 * The ID of the virtual interface.
722 */
723 virtualInterfaceId?: VirtualInterfaceId;
724 /**
725 * Information about the BGP peer.
726 */
727 newBGPPeer?: NewBGPPeer;
728 }
729 export interface CreateBGPPeerResponse {
730 /**
731 * The virtual interface.
732 */
733 virtualInterface?: VirtualInterface;
734 }
735 export interface CreateConnectionRequest {
736 /**
737 * The location of the connection.
738 */
739 location: LocationCode;
740 /**
741 * The bandwidth of the connection.
742 */
743 bandwidth: Bandwidth;
744 /**
745 * The name of the connection.
746 */
747 connectionName: ConnectionName;
748 /**
749 * The ID of the LAG.
750 */
751 lagId?: LagId;
752 }
753 export interface CreateDirectConnectGatewayAssociationProposalRequest {
754 /**
755 * The ID of the Direct Connect gateway.
756 */
757 directConnectGatewayId: DirectConnectGatewayId;
758 /**
759 * The ID of the AWS account that owns the Direct Connect gateway.
760 */
761 directConnectGatewayOwnerAccount: OwnerAccount;
762 /**
763 * The ID of the virtual private gateway.
764 */
765 gatewayId: GatewayIdToAssociate;
766 /**
767 * The Amazon VPC prefixes to advertise to the Direct Connect gateway.
768 */
769 addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
770 /**
771 * The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
772 */
773 removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
774 }
775 export interface CreateDirectConnectGatewayAssociationProposalResult {
776 /**
777 * Information about the Direct Connect gateway proposal.
778 */
779 directConnectGatewayAssociationProposal?: DirectConnectGatewayAssociationProposal;
780 }
781 export interface CreateDirectConnectGatewayAssociationRequest {
782 /**
783 * The ID of the Direct Connect gateway.
784 */
785 directConnectGatewayId: DirectConnectGatewayId;
786 /**
787 * The ID of the virtual private gateway.
788 */
789 gatewayId?: GatewayIdToAssociate;
790 /**
791 * The Amazon VPC prefixes to advertise to the Direct Connect gateway
792 */
793 addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
794 /**
795 * The ID of the virtual private gateway.
796 */
797 virtualGatewayId?: VirtualGatewayId;
798 }
799 export interface CreateDirectConnectGatewayAssociationResult {
800 /**
801 * The association to be created.
802 */
803 directConnectGatewayAssociation?: DirectConnectGatewayAssociation;
804 }
805 export interface CreateDirectConnectGatewayRequest {
806 /**
807 * The name of the Direct Connect gateway.
808 */
809 directConnectGatewayName: DirectConnectGatewayName;
810 /**
811 * The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
812 */
813 amazonSideAsn?: LongAsn;
814 }
815 export interface CreateDirectConnectGatewayResult {
816 /**
817 * The Direct Connect gateway.
818 */
819 directConnectGateway?: DirectConnectGateway;
820 }
821 export interface CreateInterconnectRequest {
822 /**
823 * The name of the interconnect.
824 */
825 interconnectName: InterconnectName;
826 /**
827 * The port bandwidth, in Gbps. The possible values are 1 and 10.
828 */
829 bandwidth: Bandwidth;
830 /**
831 * The location of the interconnect.
832 */
833 location: LocationCode;
834 /**
835 * The ID of the LAG.
836 */
837 lagId?: LagId;
838 }
839 export interface CreateLagRequest {
840 /**
841 * The number of physical connections initially provisioned and bundled by the LAG.
842 */
843 numberOfConnections: Count;
844 /**
845 * The location for the LAG.
846 */
847 location: LocationCode;
848 /**
849 * The bandwidth of the individual physical connections bundled by the LAG. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps.
850 */
851 connectionsBandwidth: Bandwidth;
852 /**
853 * The name of the LAG.
854 */
855 lagName: LagName;
856 /**
857 * The ID of an existing connection to migrate to the LAG.
858 */
859 connectionId?: ConnectionId;
860 }
861 export interface CreatePrivateVirtualInterfaceRequest {
862 /**
863 * The ID of the connection.
864 */
865 connectionId: ConnectionId;
866 /**
867 * Information about the private virtual interface.
868 */
869 newPrivateVirtualInterface: NewPrivateVirtualInterface;
870 }
871 export interface CreatePublicVirtualInterfaceRequest {
872 /**
873 * The ID of the connection.
874 */
875 connectionId: ConnectionId;
876 /**
877 * Information about the public virtual interface.
878 */
879 newPublicVirtualInterface: NewPublicVirtualInterface;
880 }
881 export type CustomerAddress = string;
882 export interface DeleteBGPPeerRequest {
883 /**
884 * The ID of the virtual interface.
885 */
886 virtualInterfaceId?: VirtualInterfaceId;
887 /**
888 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
889 */
890 asn?: ASN;
891 /**
892 * The IP address assigned to the customer interface.
893 */
894 customerAddress?: CustomerAddress;
895 /**
896 * The ID of the BGP peer.
897 */
898 bgpPeerId?: BGPPeerId;
899 }
900 export interface DeleteBGPPeerResponse {
901 /**
902 * The virtual interface.
903 */
904 virtualInterface?: VirtualInterface;
905 }
906 export interface DeleteConnectionRequest {
907 /**
908 * The ID of the connection.
909 */
910 connectionId: ConnectionId;
911 }
912 export interface DeleteDirectConnectGatewayAssociationProposalRequest {
913 /**
914 * The ID of the proposal.
915 */
916 proposalId: DirectConnectGatewayAssociationProposalId;
917 }
918 export interface DeleteDirectConnectGatewayAssociationProposalResult {
919 /**
920 * The ID of the virtual private gateway.
921 */
922 directConnectGatewayAssociationProposal?: DirectConnectGatewayAssociationProposal;
923 }
924 export interface DeleteDirectConnectGatewayAssociationRequest {
925 /**
926 * The ID of the Direct Connect gateway association.
927 */
928 associationId?: DirectConnectGatewayAssociationId;
929 /**
930 * The ID of the Direct Connect gateway.
931 */
932 directConnectGatewayId?: DirectConnectGatewayId;
933 /**
934 * The ID of the virtual private gateway.
935 */
936 virtualGatewayId?: VirtualGatewayId;
937 }
938 export interface DeleteDirectConnectGatewayAssociationResult {
939 /**
940 * Information about the deleted association.
941 */
942 directConnectGatewayAssociation?: DirectConnectGatewayAssociation;
943 }
944 export interface DeleteDirectConnectGatewayRequest {
945 /**
946 * The ID of the Direct Connect gateway.
947 */
948 directConnectGatewayId: DirectConnectGatewayId;
949 }
950 export interface DeleteDirectConnectGatewayResult {
951 /**
952 * The Direct Connect gateway.
953 */
954 directConnectGateway?: DirectConnectGateway;
955 }
956 export interface DeleteInterconnectRequest {
957 /**
958 * The ID of the interconnect.
959 */
960 interconnectId: InterconnectId;
961 }
962 export interface DeleteInterconnectResponse {
963 /**
964 * The state of the interconnect. The following are the possible values: requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. pending: The interconnect is approved, and is being initialized. available: The network link is up, and the interconnect is ready for use. down: The network link is down. deleting: The interconnect is being deleted. deleted: The interconnect is deleted. unknown: The state of the interconnect is not available.
965 */
966 interconnectState?: InterconnectState;
967 }
968 export interface DeleteLagRequest {
969 /**
970 * The ID of the LAG.
971 */
972 lagId: LagId;
973 }
974 export interface DeleteVirtualInterfaceRequest {
975 /**
976 * The ID of the virtual interface.
977 */
978 virtualInterfaceId: VirtualInterfaceId;
979 }
980 export interface DeleteVirtualInterfaceResponse {
981 /**
982 * The state of the virtual interface. The following are the possible values: confirming: 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. verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. available: A virtual interface that is able to forward traffic. down: A virtual interface that is BGP down. deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. deleted: A virtual interface that cannot forward traffic. rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state. unknown: The state of the virtual interface is not available.
983 */
984 virtualInterfaceState?: VirtualInterfaceState;
985 }
986 export interface DescribeConnectionLoaRequest {
987 /**
988 * The ID of the connection.
989 */
990 connectionId: ConnectionId;
991 /**
992 * The name of the APN partner or service provider who establishes connectivity on your behalf. If you specify this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect.
993 */
994 providerName?: ProviderName;
995 /**
996 * The standard media type for the LOA-CFA document. The only supported value is application/pdf.
997 */
998 loaContentType?: LoaContentType;
999 }
1000 export interface DescribeConnectionLoaResponse {
1001 /**
1002 * The Letter of Authorization - Connecting Facility Assignment (LOA-CFA).
1003 */
1004 loa?: Loa;
1005 }
1006 export interface DescribeConnectionsOnInterconnectRequest {
1007 /**
1008 * The ID of the interconnect.
1009 */
1010 interconnectId: InterconnectId;
1011 }
1012 export interface DescribeConnectionsRequest {
1013 /**
1014 * The ID of the connection.
1015 */
1016 connectionId?: ConnectionId;
1017 }
1018 export interface DescribeDirectConnectGatewayAssociationProposalsRequest {
1019 /**
1020 * The ID of the Direct Connect gateway.
1021 */
1022 directConnectGatewayId?: DirectConnectGatewayId;
1023 /**
1024 * The ID of the proposal.
1025 */
1026 proposalId?: DirectConnectGatewayAssociationProposalId;
1027 /**
1028 * The ID of the associated virtual private gateway.
1029 */
1030 associatedGatewayId?: AssociatedGatewayId;
1031 /**
1032 * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If MaxResults is given a value larger than 100, only 100 results are returned.
1033 */
1034 maxResults?: MaxResultSetSize;
1035 /**
1036 * The token for the next page of results.
1037 */
1038 nextToken?: PaginationToken;
1039 }
1040 export interface DescribeDirectConnectGatewayAssociationProposalsResult {
1041 /**
1042 * Describes the Direct Connect gateway association proposals.
1043 */
1044 directConnectGatewayAssociationProposals?: DirectConnectGatewayAssociationProposalList;
1045 /**
1046 * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
1047 */
1048 nextToken?: PaginationToken;
1049 }
1050 export interface DescribeDirectConnectGatewayAssociationsRequest {
1051 /**
1052 * The ID of the Direct Connect gateway association.
1053 */
1054 associationId?: DirectConnectGatewayAssociationId;
1055 /**
1056 * The ID of the associated gateway.
1057 */
1058 associatedGatewayId?: AssociatedGatewayId;
1059 /**
1060 * The ID of the Direct Connect gateway.
1061 */
1062 directConnectGatewayId?: DirectConnectGatewayId;
1063 /**
1064 * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If MaxResults is given a value larger than 100, only 100 results are returned.
1065 */
1066 maxResults?: MaxResultSetSize;
1067 /**
1068 * The token provided in the previous call to retrieve the next page.
1069 */
1070 nextToken?: PaginationToken;
1071 /**
1072 * The ID of the virtual private gateway.
1073 */
1074 virtualGatewayId?: VirtualGatewayId;
1075 }
1076 export interface DescribeDirectConnectGatewayAssociationsResult {
1077 /**
1078 * Information about the associations.
1079 */
1080 directConnectGatewayAssociations?: DirectConnectGatewayAssociationList;
1081 /**
1082 * The token to retrieve the next page.
1083 */
1084 nextToken?: PaginationToken;
1085 }
1086 export interface DescribeDirectConnectGatewayAttachmentsRequest {
1087 /**
1088 * The ID of the Direct Connect gateway.
1089 */
1090 directConnectGatewayId?: DirectConnectGatewayId;
1091 /**
1092 * The ID of the virtual interface.
1093 */
1094 virtualInterfaceId?: VirtualInterfaceId;
1095 /**
1096 * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If MaxResults is given a value larger than 100, only 100 results are returned.
1097 */
1098 maxResults?: MaxResultSetSize;
1099 /**
1100 * The token provided in the previous call to retrieve the next page.
1101 */
1102 nextToken?: PaginationToken;
1103 }
1104 export interface DescribeDirectConnectGatewayAttachmentsResult {
1105 /**
1106 * The attachments.
1107 */
1108 directConnectGatewayAttachments?: DirectConnectGatewayAttachmentList;
1109 /**
1110 * The token to retrieve the next page.
1111 */
1112 nextToken?: PaginationToken;
1113 }
1114 export interface DescribeDirectConnectGatewaysRequest {
1115 /**
1116 * The ID of the Direct Connect gateway.
1117 */
1118 directConnectGatewayId?: DirectConnectGatewayId;
1119 /**
1120 * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If MaxResults is given a value larger than 100, only 100 results are returned.
1121 */
1122 maxResults?: MaxResultSetSize;
1123 /**
1124 * The token provided in the previous call to retrieve the next page.
1125 */
1126 nextToken?: PaginationToken;
1127 }
1128 export interface DescribeDirectConnectGatewaysResult {
1129 /**
1130 * The Direct Connect gateways.
1131 */
1132 directConnectGateways?: DirectConnectGatewayList;
1133 /**
1134 * The token to retrieve the next page.
1135 */
1136 nextToken?: PaginationToken;
1137 }
1138 export interface DescribeHostedConnectionsRequest {
1139 /**
1140 * The ID of the interconnect or LAG.
1141 */
1142 connectionId: ConnectionId;
1143 }
1144 export interface DescribeInterconnectLoaRequest {
1145 /**
1146 * The ID of the interconnect.
1147 */
1148 interconnectId: InterconnectId;
1149 /**
1150 * The name of the service provider who establishes connectivity on your behalf. If you supply this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect.
1151 */
1152 providerName?: ProviderName;
1153 /**
1154 * The standard media type for the LOA-CFA document. The only supported value is application/pdf.
1155 */
1156 loaContentType?: LoaContentType;
1157 }
1158 export interface DescribeInterconnectLoaResponse {
1159 /**
1160 * The Letter of Authorization - Connecting Facility Assignment (LOA-CFA).
1161 */
1162 loa?: Loa;
1163 }
1164 export interface DescribeInterconnectsRequest {
1165 /**
1166 * The ID of the interconnect.
1167 */
1168 interconnectId?: InterconnectId;
1169 }
1170 export interface DescribeLagsRequest {
1171 /**
1172 * The ID of the LAG.
1173 */
1174 lagId?: LagId;
1175 }
1176 export interface DescribeLoaRequest {
1177 /**
1178 * The ID of a connection, LAG, or interconnect.
1179 */
1180 connectionId: ConnectionId;
1181 /**
1182 * The name of the service provider who establishes connectivity on your behalf. If you specify this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect.
1183 */
1184 providerName?: ProviderName;
1185 /**
1186 * The standard media type for the LOA-CFA document. The only supported value is application/pdf.
1187 */
1188 loaContentType?: LoaContentType;
1189 }
1190 export interface DescribeTagsRequest {
1191 /**
1192 * The Amazon Resource Names (ARNs) of the resources.
1193 */
1194 resourceArns: ResourceArnList;
1195 }
1196 export interface DescribeTagsResponse {
1197 /**
1198 * Information about the tags.
1199 */
1200 resourceTags?: ResourceTagList;
1201 }
1202 export interface DescribeVirtualInterfacesRequest {
1203 /**
1204 * The ID of the connection.
1205 */
1206 connectionId?: ConnectionId;
1207 /**
1208 * The ID of the virtual interface.
1209 */
1210 virtualInterfaceId?: VirtualInterfaceId;
1211 }
1212 export interface DirectConnectGateway {
1213 /**
1214 * The ID of the Direct Connect gateway.
1215 */
1216 directConnectGatewayId?: DirectConnectGatewayId;
1217 /**
1218 * The name of the Direct Connect gateway.
1219 */
1220 directConnectGatewayName?: DirectConnectGatewayName;
1221 /**
1222 * The autonomous system number (ASN) for the Amazon side of the connection.
1223 */
1224 amazonSideAsn?: LongAsn;
1225 /**
1226 * The ID of the AWS account that owns the Direct Connect gateway.
1227 */
1228 ownerAccount?: OwnerAccount;
1229 /**
1230 * The state of the Direct Connect gateway. The following are the possible values: pending: The initial state after calling CreateDirectConnectGateway. available: The Direct Connect gateway is ready for use. deleting: The initial state after calling DeleteDirectConnectGateway. deleted: The Direct Connect gateway is deleted and cannot pass traffic.
1231 */
1232 directConnectGatewayState?: DirectConnectGatewayState;
1233 /**
1234 * The error message if the state of an object failed to advance.
1235 */
1236 stateChangeError?: StateChangeError;
1237 }
1238 export interface DirectConnectGatewayAssociation {
1239 /**
1240 * The ID of the Direct Connect gateway.
1241 */
1242 directConnectGatewayId?: DirectConnectGatewayId;
1243 /**
1244 * The ID of the AWS account that owns the associated gateway.
1245 */
1246 directConnectGatewayOwnerAccount?: OwnerAccount;
1247 /**
1248 * The state of the association. The following are the possible values: associating: The initial state after calling CreateDirectConnectGatewayAssociation. associated: The Direct Connect gateway and virtual private gateway are successfully associated and ready to pass traffic. disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation. disassociated: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
1249 */
1250 associationState?: DirectConnectGatewayAssociationState;
1251 /**
1252 * The error message if the state of an object failed to advance.
1253 */
1254 stateChangeError?: StateChangeError;
1255 /**
1256 * Information about the associated virtual private gateway.
1257 */
1258 associatedGateway?: AssociatedGateway;
1259 /**
1260 * The ID of the Direct Connect gateway association.
1261 */
1262 associationId?: DirectConnectGatewayAssociationId;
1263 /**
1264 * The Amazon VPC prefixes to advertise to the Direct Connect gateway.
1265 */
1266 allowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
1267 /**
1268 * The ID of the virtual private gateway. Applies only to private virtual interfaces.
1269 */
1270 virtualGatewayId?: VirtualGatewayId;
1271 /**
1272 * The AWS Region where the virtual private gateway is located.
1273 */
1274 virtualGatewayRegion?: VirtualGatewayRegion;
1275 /**
1276 * The ID of the AWS account that owns the virtual private gateway.
1277 */
1278 virtualGatewayOwnerAccount?: OwnerAccount;
1279 }
1280 export type DirectConnectGatewayAssociationId = string;
1281 export type DirectConnectGatewayAssociationList = DirectConnectGatewayAssociation[];
1282 export interface DirectConnectGatewayAssociationProposal {
1283 /**
1284 * The ID of the association proposal.
1285 */
1286 proposalId?: DirectConnectGatewayAssociationProposalId;
1287 /**
1288 * The ID of the Direct Connect gateway.
1289 */
1290 directConnectGatewayId?: DirectConnectGatewayId;
1291 /**
1292 * The ID of the AWS account that owns the Direct Connect gateway.
1293 */
1294 directConnectGatewayOwnerAccount?: OwnerAccount;
1295 /**
1296 * The state of the proposal. The following are possible values: accepted: The proposal has been accepted. The Direct Connect gateway association is available to use in this state. deleted: The proposal has been deleted by the owner that made the proposal. The Direct Connect gateway association cannot be used in this state. requested: The proposal has been requested. The Direct Connect gateway association cannot be used in this state.
1297 */
1298 proposalState?: DirectConnectGatewayAssociationProposalState;
1299 /**
1300 * Information about the associated virtual private gateway.
1301 */
1302 associatedGateway?: AssociatedGateway;
1303 /**
1304 * The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
1305 */
1306 existingAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
1307 /**
1308 * The Amazon VPC prefixes to advertise to the Direct Connect gateway.
1309 */
1310 requestedAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
1311 }
1312 export type DirectConnectGatewayAssociationProposalId = string;
1313 export type DirectConnectGatewayAssociationProposalList = DirectConnectGatewayAssociationProposal[];
1314 export type DirectConnectGatewayAssociationProposalState = "requested"|"accepted"|"deleted"|string;
1315 export type DirectConnectGatewayAssociationState = "associating"|"associated"|"disassociating"|"disassociated"|"updating"|string;
1316 export interface DirectConnectGatewayAttachment {
1317 /**
1318 * The ID of the Direct Connect gateway.
1319 */
1320 directConnectGatewayId?: DirectConnectGatewayId;
1321 /**
1322 * The ID of the virtual interface.
1323 */
1324 virtualInterfaceId?: VirtualInterfaceId;
1325 /**
1326 * The AWS Region where the virtual interface is located.
1327 */
1328 virtualInterfaceRegion?: VirtualInterfaceRegion;
1329 /**
1330 * The ID of the AWS account that owns the virtual interface.
1331 */
1332 virtualInterfaceOwnerAccount?: OwnerAccount;
1333 /**
1334 * The state of the attachment. The following are the possible values: attaching: The initial state after a virtual interface is created using the Direct Connect gateway. attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. detaching: The initial state after calling DeleteVirtualInterface. detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
1335 */
1336 attachmentState?: DirectConnectGatewayAttachmentState;
1337 /**
1338 * The error message if the state of an object failed to advance.
1339 */
1340 stateChangeError?: StateChangeError;
1341 }
1342 export type DirectConnectGatewayAttachmentList = DirectConnectGatewayAttachment[];
1343 export type DirectConnectGatewayAttachmentState = "attaching"|"attached"|"detaching"|"detached"|string;
1344 export type DirectConnectGatewayId = string;
1345 export type DirectConnectGatewayList = DirectConnectGateway[];
1346 export type DirectConnectGatewayName = string;
1347 export type DirectConnectGatewayState = "pending"|"available"|"deleting"|"deleted"|string;
1348 export interface DisassociateConnectionFromLagRequest {
1349 /**
1350 * The ID of the connection.
1351 */
1352 connectionId: ConnectionId;
1353 /**
1354 * The ID of the LAG.
1355 */
1356 lagId: LagId;
1357 }
1358 export type GatewayIdToAssociate = string;
1359 export type GatewayIdentifier = string;
1360 export type GatewayType = "virtualPrivateGateway"|string;
1361 export type HasLogicalRedundancy = "unknown"|"yes"|"no"|string;
1362 export interface Interconnect {
1363 /**
1364 * The ID of the interconnect.
1365 */
1366 interconnectId?: InterconnectId;
1367 /**
1368 * The name of the interconnect.
1369 */
1370 interconnectName?: InterconnectName;
1371 /**
1372 * The state of the interconnect. The following are the possible values: requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. pending: The interconnect is approved, and is being initialized. available: The network link is up, and the interconnect is ready for use. down: The network link is down. deleting: The interconnect is being deleted. deleted: The interconnect is deleted. unknown: The state of the interconnect is not available.
1373 */
1374 interconnectState?: InterconnectState;
1375 /**
1376 * The AWS Region where the connection is located.
1377 */
1378 region?: Region;
1379 /**
1380 * The location of the connection.
1381 */
1382 location?: LocationCode;
1383 /**
1384 * The bandwidth of the connection.
1385 */
1386 bandwidth?: Bandwidth;
1387 /**
1388 * The time of the most recent call to DescribeLoa for this connection.
1389 */
1390 loaIssueTime?: LoaIssueTime;
1391 /**
1392 * The ID of the LAG.
1393 */
1394 lagId?: LagId;
1395 /**
1396 * The Direct Connect endpoint on which the physical connection terminates.
1397 */
1398 awsDevice?: AwsDevice;
1399 /**
1400 * Indicates whether jumbo frames (9001 MTU) are supported.
1401 */
1402 jumboFrameCapable?: JumboFrameCapable;
1403 /**
1404 * The Direct Connect endpoint on which the physical connection terminates.
1405 */
1406 awsDeviceV2?: AwsDeviceV2;
1407 /**
1408 * Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
1409 */
1410 hasLogicalRedundancy?: HasLogicalRedundancy;
1411 }
1412 export type InterconnectId = string;
1413 export type InterconnectList = Interconnect[];
1414 export type InterconnectName = string;
1415 export type InterconnectState = "requested"|"pending"|"available"|"down"|"deleting"|"deleted"|"unknown"|string;
1416 export interface Interconnects {
1417 /**
1418 * The interconnects.
1419 */
1420 interconnects?: InterconnectList;
1421 }
1422 export type JumboFrameCapable = boolean;
1423 export interface Lag {
1424 /**
1425 * The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
1426 */
1427 connectionsBandwidth?: Bandwidth;
1428 /**
1429 * The number of physical connections bundled by the LAG, up to a maximum of 10.
1430 */
1431 numberOfConnections?: Count;
1432 /**
1433 * The ID of the LAG.
1434 */
1435 lagId?: LagId;
1436 /**
1437 * The ID of the AWS account that owns the LAG.
1438 */
1439 ownerAccount?: OwnerAccount;
1440 /**
1441 * The name of the LAG.
1442 */
1443 lagName?: LagName;
1444 /**
1445 * The state of the LAG. The following are the possible values: requested: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. pending: The LAG has been approved and is being initialized. available: The network link is established and the LAG is ready for use. down: The network link is down. deleting: The LAG is being deleted. deleted: The LAG is deleted. unknown: The state of the LAG is not available.
1446 */
1447 lagState?: LagState;
1448 /**
1449 * The location of the LAG.
1450 */
1451 location?: LocationCode;
1452 /**
1453 * The AWS Region where the connection is located.
1454 */
1455 region?: Region;
1456 /**
1457 * The minimum number of physical connections that must be operational for the LAG itself to be operational.
1458 */
1459 minimumLinks?: Count;
1460 /**
1461 * The AWS Direct Connect endpoint that hosts the LAG.
1462 */
1463 awsDevice?: AwsDevice;
1464 /**
1465 * The AWS Direct Connect endpoint that hosts the LAG.
1466 */
1467 awsDeviceV2?: AwsDeviceV2;
1468 /**
1469 * The connections bundled by the LAG.
1470 */
1471 connections?: ConnectionList;
1472 /**
1473 * Indicates whether the LAG can host other connections.
1474 */
1475 allowsHostedConnections?: BooleanFlag;
1476 /**
1477 * Indicates whether jumbo frames (9001 MTU) are supported.
1478 */
1479 jumboFrameCapable?: JumboFrameCapable;
1480 /**
1481 * Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
1482 */
1483 hasLogicalRedundancy?: HasLogicalRedundancy;
1484 }
1485 export type LagId = string;
1486 export type LagList = Lag[];
1487 export type LagName = string;
1488 export type LagState = "requested"|"pending"|"available"|"down"|"deleting"|"deleted"|"unknown"|string;
1489 export interface Lags {
1490 /**
1491 * The LAGs.
1492 */
1493 lags?: LagList;
1494 }
1495 export interface Loa {
1496 /**
1497 * The binary contents of the LOA-CFA document.
1498 */
1499 loaContent?: LoaContent;
1500 /**
1501 * The standard media type for the LOA-CFA document. The only supported value is application/pdf.
1502 */
1503 loaContentType?: LoaContentType;
1504 }
1505 export type LoaContent = Buffer|Uint8Array|Blob|string;
1506 export type LoaContentType = "application/pdf"|string;
1507 export type LoaIssueTime = Date;
1508 export interface Location {
1509 /**
1510 * The code for the location.
1511 */
1512 locationCode?: LocationCode;
1513 /**
1514 * The name of the location. This includes the name of the colocation partner and the physical site of the building.
1515 */
1516 locationName?: LocationName;
1517 /**
1518 * The AWS Region for the location.
1519 */
1520 region?: Region;
1521 /**
1522 * The available port speeds for the location.
1523 */
1524 availablePortSpeeds?: AvailablePortSpeeds;
1525 }
1526 export type LocationCode = string;
1527 export type LocationList = Location[];
1528 export type LocationName = string;
1529 export interface Locations {
1530 /**
1531 * The locations.
1532 */
1533 locations?: LocationList;
1534 }
1535 export type LongAsn = number;
1536 export type MTU = number;
1537 export type MaxResultSetSize = number;
1538 export interface NewBGPPeer {
1539 /**
1540 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1541 */
1542 asn?: ASN;
1543 /**
1544 * The authentication key for BGP configuration.
1545 */
1546 authKey?: BGPAuthKey;
1547 /**
1548 * The address family for the BGP peer.
1549 */
1550 addressFamily?: AddressFamily;
1551 /**
1552 * The IP address assigned to the Amazon interface.
1553 */
1554 amazonAddress?: AmazonAddress;
1555 /**
1556 * The IP address assigned to the customer interface.
1557 */
1558 customerAddress?: CustomerAddress;
1559 }
1560 export interface NewPrivateVirtualInterface {
1561 /**
1562 * The name of the virtual interface assigned by the customer network.
1563 */
1564 virtualInterfaceName: VirtualInterfaceName;
1565 /**
1566 * The ID of the VLAN.
1567 */
1568 vlan: VLAN;
1569 /**
1570 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1571 */
1572 asn: ASN;
1573 /**
1574 * The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
1575 */
1576 mtu?: MTU;
1577 /**
1578 * The authentication key for BGP configuration.
1579 */
1580 authKey?: BGPAuthKey;
1581 /**
1582 * The IP address assigned to the Amazon interface.
1583 */
1584 amazonAddress?: AmazonAddress;
1585 /**
1586 * The IP address assigned to the customer interface.
1587 */
1588 customerAddress?: CustomerAddress;
1589 /**
1590 * The address family for the BGP peer.
1591 */
1592 addressFamily?: AddressFamily;
1593 /**
1594 * The ID of the virtual private gateway.
1595 */
1596 virtualGatewayId?: VirtualGatewayId;
1597 /**
1598 * The ID of the Direct Connect gateway.
1599 */
1600 directConnectGatewayId?: DirectConnectGatewayId;
1601 }
1602 export interface NewPrivateVirtualInterfaceAllocation {
1603 /**
1604 * The name of the virtual interface assigned by the customer network.
1605 */
1606 virtualInterfaceName: VirtualInterfaceName;
1607 /**
1608 * The ID of the VLAN.
1609 */
1610 vlan: VLAN;
1611 /**
1612 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1613 */
1614 asn: ASN;
1615 /**
1616 * The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
1617 */
1618 mtu?: MTU;
1619 /**
1620 * The authentication key for BGP configuration.
1621 */
1622 authKey?: BGPAuthKey;
1623 /**
1624 * The IP address assigned to the Amazon interface.
1625 */
1626 amazonAddress?: AmazonAddress;
1627 /**
1628 * The address family for the BGP peer.
1629 */
1630 addressFamily?: AddressFamily;
1631 /**
1632 * The IP address assigned to the customer interface.
1633 */
1634 customerAddress?: CustomerAddress;
1635 }
1636 export interface NewPublicVirtualInterface {
1637 /**
1638 * The name of the virtual interface assigned by the customer network.
1639 */
1640 virtualInterfaceName: VirtualInterfaceName;
1641 /**
1642 * The ID of the VLAN.
1643 */
1644 vlan: VLAN;
1645 /**
1646 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1647 */
1648 asn: ASN;
1649 /**
1650 * The authentication key for BGP configuration.
1651 */
1652 authKey?: BGPAuthKey;
1653 /**
1654 * The IP address assigned to the Amazon interface.
1655 */
1656 amazonAddress?: AmazonAddress;
1657 /**
1658 * The IP address assigned to the customer interface.
1659 */
1660 customerAddress?: CustomerAddress;
1661 /**
1662 * The address family for the BGP peer.
1663 */
1664 addressFamily?: AddressFamily;
1665 /**
1666 * The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
1667 */
1668 routeFilterPrefixes?: RouteFilterPrefixList;
1669 }
1670 export interface NewPublicVirtualInterfaceAllocation {
1671 /**
1672 * The name of the virtual interface assigned by the customer network.
1673 */
1674 virtualInterfaceName: VirtualInterfaceName;
1675 /**
1676 * The ID of the VLAN.
1677 */
1678 vlan: VLAN;
1679 /**
1680 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1681 */
1682 asn: ASN;
1683 /**
1684 * The authentication key for BGP configuration.
1685 */
1686 authKey?: BGPAuthKey;
1687 /**
1688 * The IP address assigned to the Amazon interface.
1689 */
1690 amazonAddress?: AmazonAddress;
1691 /**
1692 * The IP address assigned to the customer interface.
1693 */
1694 customerAddress?: CustomerAddress;
1695 /**
1696 * The address family for the BGP peer.
1697 */
1698 addressFamily?: AddressFamily;
1699 /**
1700 * The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
1701 */
1702 routeFilterPrefixes?: RouteFilterPrefixList;
1703 }
1704 export type OwnerAccount = string;
1705 export type PaginationToken = string;
1706 export type PartnerName = string;
1707 export type PortSpeed = string;
1708 export type ProviderName = string;
1709 export type Region = string;
1710 export type ResourceArn = string;
1711 export type ResourceArnList = ResourceArn[];
1712 export interface ResourceTag {
1713 /**
1714 * The Amazon Resource Name (ARN) of the resource.
1715 */
1716 resourceArn?: ResourceArn;
1717 /**
1718 * The tags.
1719 */
1720 tags?: TagList;
1721 }
1722 export type ResourceTagList = ResourceTag[];
1723 export interface RouteFilterPrefix {
1724 /**
1725 * The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.
1726 */
1727 cidr?: CIDR;
1728 }
1729 export type RouteFilterPrefixList = RouteFilterPrefix[];
1730 export type RouterConfig = string;
1731 export type StateChangeError = string;
1732 export interface Tag {
1733 /**
1734 * The key.
1735 */
1736 key: TagKey;
1737 /**
1738 * The value.
1739 */
1740 value?: TagValue;
1741 }
1742 export type TagKey = string;
1743 export type TagKeyList = TagKey[];
1744 export type TagList = Tag[];
1745 export interface TagResourceRequest {
1746 /**
1747 * The Amazon Resource Name (ARN) of the resource.
1748 */
1749 resourceArn: ResourceArn;
1750 /**
1751 * The tags to add.
1752 */
1753 tags: TagList;
1754 }
1755 export interface TagResourceResponse {
1756 }
1757 export type TagValue = string;
1758 export interface UntagResourceRequest {
1759 /**
1760 * The Amazon Resource Name (ARN) of the resource.
1761 */
1762 resourceArn: ResourceArn;
1763 /**
1764 * The tag keys of the tags to remove.
1765 */
1766 tagKeys: TagKeyList;
1767 }
1768 export interface UntagResourceResponse {
1769 }
1770 export interface UpdateDirectConnectGatewayAssociationRequest {
1771 /**
1772 * The ID of the Direct Connect gateway association.
1773 */
1774 associationId?: DirectConnectGatewayAssociationId;
1775 /**
1776 * The Amazon VPC prefixes to advertise to the Direct Connect gateway.
1777 */
1778 addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
1779 /**
1780 * The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
1781 */
1782 removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefixList;
1783 }
1784 export interface UpdateDirectConnectGatewayAssociationResult {
1785 directConnectGatewayAssociation?: DirectConnectGatewayAssociation;
1786 }
1787 export interface UpdateLagRequest {
1788 /**
1789 * The ID of the LAG.
1790 */
1791 lagId: LagId;
1792 /**
1793 * The name of the LAG.
1794 */
1795 lagName?: LagName;
1796 /**
1797 * The minimum number of physical connections that must be operational for the LAG itself to be operational.
1798 */
1799 minimumLinks?: Count;
1800 }
1801 export interface UpdateVirtualInterfaceAttributesRequest {
1802 /**
1803 * The ID of the virtual private interface.
1804 */
1805 virtualInterfaceId: VirtualInterfaceId;
1806 /**
1807 * The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
1808 */
1809 mtu?: MTU;
1810 }
1811 export type VLAN = number;
1812 export interface VirtualGateway {
1813 /**
1814 * The ID of the virtual private gateway.
1815 */
1816 virtualGatewayId?: VirtualGatewayId;
1817 /**
1818 * The state of the virtual private gateway. The following are the possible values: pending: Initial state after creating the virtual private gateway. available: Ready for use by a private virtual interface. deleting: Initial state after deleting the virtual private gateway. deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
1819 */
1820 virtualGatewayState?: VirtualGatewayState;
1821 }
1822 export type VirtualGatewayId = string;
1823 export type VirtualGatewayList = VirtualGateway[];
1824 export type VirtualGatewayRegion = string;
1825 export type VirtualGatewayState = string;
1826 export interface VirtualGateways {
1827 /**
1828 * The virtual private gateways.
1829 */
1830 virtualGateways?: VirtualGatewayList;
1831 }
1832 export interface VirtualInterface {
1833 /**
1834 * The ID of the AWS account that owns the virtual interface.
1835 */
1836 ownerAccount?: OwnerAccount;
1837 /**
1838 * The ID of the virtual interface.
1839 */
1840 virtualInterfaceId?: VirtualInterfaceId;
1841 /**
1842 * The location of the connection.
1843 */
1844 location?: LocationCode;
1845 /**
1846 * The ID of the connection.
1847 */
1848 connectionId?: ConnectionId;
1849 /**
1850 * The type of virtual interface. The possible values are private and public.
1851 */
1852 virtualInterfaceType?: VirtualInterfaceType;
1853 /**
1854 * The name of the virtual interface assigned by the customer network.
1855 */
1856 virtualInterfaceName?: VirtualInterfaceName;
1857 /**
1858 * The ID of the VLAN.
1859 */
1860 vlan?: VLAN;
1861 /**
1862 * The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
1863 */
1864 asn?: ASN;
1865 /**
1866 * The autonomous system number (ASN) for the Amazon side of the connection.
1867 */
1868 amazonSideAsn?: LongAsn;
1869 /**
1870 * The authentication key for BGP configuration.
1871 */
1872 authKey?: BGPAuthKey;
1873 /**
1874 * The IP address assigned to the Amazon interface.
1875 */
1876 amazonAddress?: AmazonAddress;
1877 /**
1878 * The IP address assigned to the customer interface.
1879 */
1880 customerAddress?: CustomerAddress;
1881 /**
1882 * The address family for the BGP peer.
1883 */
1884 addressFamily?: AddressFamily;
1885 /**
1886 * The state of the virtual interface. The following are the possible values: confirming: 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. verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. available: A virtual interface that is able to forward traffic. down: A virtual interface that is BGP down. deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. deleted: A virtual interface that cannot forward traffic. rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state. unknown: The state of the virtual interface is not available.
1887 */
1888 virtualInterfaceState?: VirtualInterfaceState;
1889 /**
1890 * The customer router configuration.
1891 */
1892 customerRouterConfig?: RouterConfig;
1893 /**
1894 * The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
1895 */
1896 mtu?: MTU;
1897 /**
1898 * Indicates whether jumbo frames (9001 MTU) are supported.
1899 */
1900 jumboFrameCapable?: JumboFrameCapable;
1901 /**
1902 * The ID of the virtual private gateway. Applies only to private virtual interfaces.
1903 */
1904 virtualGatewayId?: VirtualGatewayId;
1905 /**
1906 * The ID of the Direct Connect gateway.
1907 */
1908 directConnectGatewayId?: DirectConnectGatewayId;
1909 /**
1910 * The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
1911 */
1912 routeFilterPrefixes?: RouteFilterPrefixList;
1913 /**
1914 * The BGP peers configured on this virtual interface.
1915 */
1916 bgpPeers?: BGPPeerList;
1917 /**
1918 * The AWS Region where the virtual interface is located.
1919 */
1920 region?: Region;
1921 /**
1922 * The Direct Connect endpoint on which the virtual interface terminates.
1923 */
1924 awsDeviceV2?: AwsDeviceV2;
1925 }
1926 export type VirtualInterfaceId = string;
1927 export type VirtualInterfaceList = VirtualInterface[];
1928 export type VirtualInterfaceName = string;
1929 export type VirtualInterfaceRegion = string;
1930 export type VirtualInterfaceState = "confirming"|"verifying"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|"unknown"|string;
1931 export type VirtualInterfaceType = string;
1932 export interface VirtualInterfaces {
1933 /**
1934 * The virtual interfaces
1935 */
1936 virtualInterfaces?: VirtualInterfaceList;
1937 }
1938 /**
1939 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1940 */
1941 export type apiVersion = "2012-10-25"|"latest"|string;
1942 export interface ClientApiVersions {
1943 /**
1944 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1945 */
1946 apiVersion?: apiVersion;
1947 }
1948 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1949 /**
1950 * Contains interfaces for use with the DirectConnect client.
1951 */
1952 export import Types = DirectConnect;
1953}
1954export = DirectConnect;