directconnect.d.ts (38480B)
1 import {Request} from '../lib/request'; 2 import {Response} from '../lib/response'; 3 import {AWSError} from '../lib/error'; 4 import {Service} from '../lib/service'; 5 import {ServiceConfigurationOptions} from '../lib/service'; 6 import {ConfigBase as Config} from '../lib/config'; 7 interface Blob {} 8 declare 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 * 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 given interconnect. This is intended for use by AWS Direct Connect partners only. 16 */ 17 allocateConnectionOnInterconnect(params: DirectConnect.Types.AllocateConnectionOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 18 /** 19 * 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 given interconnect. This is intended for use by AWS Direct Connect partners only. 20 */ 21 allocateConnectionOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 22 /** 23 * Provisions a private virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a private virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPrivateVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. 24 */ 25 allocatePrivateVirtualInterface(params: DirectConnect.Types.AllocatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 26 /** 27 * Provisions a private virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a private virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPrivateVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. 28 */ 29 allocatePrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 30 /** 31 * Provisions a public virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a public virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. 32 */ 33 allocatePublicVirtualInterface(params: DirectConnect.Types.AllocatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 34 /** 35 * Provisions a public virtual interface to be owned by a different customer. The owner of a connection calls this function to provision a public virtual interface which will be owned by another AWS customer. Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic. 36 */ 37 allocatePublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 38 /** 39 * Confirm the creation of a hosted connection on an interconnect. Upon creation, the hosted connection is initially in the 'Ordering' state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection. 40 */ 41 confirmConnection(params: DirectConnect.Types.ConfirmConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request<DirectConnect.Types.ConfirmConnectionResponse, AWSError>; 42 /** 43 * Confirm the creation of a hosted connection on an interconnect. Upon creation, the hosted connection is initially in the 'Ordering' state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection. 44 */ 45 confirmConnection(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmConnectionResponse) => void): Request<DirectConnect.Types.ConfirmConnectionResponse, AWSError>; 46 /** 47 * Accept ownership of a private virtual interface created by another customer. After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway, and will be available for handling traffic. 48 */ 49 confirmPrivateVirtualInterface(params: DirectConnect.Types.ConfirmPrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse, AWSError>; 50 /** 51 * Accept ownership of a private virtual interface created by another customer. After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway, and will be available for handling traffic. 52 */ 53 confirmPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPrivateVirtualInterfaceResponse, AWSError>; 54 /** 55 * Accept ownership of a public virtual interface created by another customer. After the virtual interface owner calls this function, the specified virtual interface will be created and made available for handling traffic. 56 */ 57 confirmPublicVirtualInterface(params: DirectConnect.Types.ConfirmPublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse, AWSError>; 58 /** 59 * Accept ownership of a public virtual interface created by another customer. After the virtual interface owner calls this function, the specified virtual interface will be created and made available for handling traffic. 60 */ 61 confirmPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse) => void): Request<DirectConnect.Types.ConfirmPublicVirtualInterfaceResponse, AWSError>; 62 /** 63 * Creates a new connection between the customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions. 64 */ 65 createConnection(params: DirectConnect.Types.CreateConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 66 /** 67 * Creates a new connection between the customer network and a specific AWS Direct Connect location. A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions. 68 */ 69 createConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 70 /** 71 * Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. An interconnect is a connection which is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the AWS Direct Connect partner's network to an AWS Direct Connect location over a standard 1 Gbps or 10 Gbps Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. 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. This is intended for use by AWS Direct Connect partners only. 72 */ 73 createInterconnect(params: DirectConnect.Types.CreateInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request<DirectConnect.Types.Interconnect, AWSError>; 74 /** 75 * Creates a new interconnect between a AWS Direct Connect partner's network and a specific AWS Direct Connect location. An interconnect is a connection which is capable of hosting other connections. The AWS Direct Connect partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the AWS Direct Connect partner's network to an AWS Direct Connect location over a standard 1 Gbps or 10 Gbps Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router. For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. 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. This is intended for use by AWS Direct Connect partners only. 76 */ 77 createInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Interconnect) => void): Request<DirectConnect.Types.Interconnect, AWSError>; 78 /** 79 * Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single virtual private cloud (VPC). 80 */ 81 createPrivateVirtualInterface(params: DirectConnect.Types.CreatePrivateVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 82 /** 83 * Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single virtual private cloud (VPC). 84 */ 85 createPrivateVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 86 /** 87 * Creates a new 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 Simple Storage Service (Amazon S3). 88 */ 89 createPublicVirtualInterface(params: DirectConnect.Types.CreatePublicVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 90 /** 91 * Creates a new 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 Simple Storage Service (Amazon S3). 92 */ 93 createPublicVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterface) => void): Request<DirectConnect.Types.VirtualInterface, AWSError>; 94 /** 95 * Deletes the connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location. 96 */ 97 deleteConnection(params: DirectConnect.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 98 /** 99 * Deletes the connection. Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location. 100 */ 101 deleteConnection(callback?: (err: AWSError, data: DirectConnect.Types.Connection) => void): Request<DirectConnect.Types.Connection, AWSError>; 102 /** 103 * Deletes the specified interconnect. This is intended for use by AWS Direct Connect partners only. 104 */ 105 deleteInterconnect(params: DirectConnect.Types.DeleteInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request<DirectConnect.Types.DeleteInterconnectResponse, AWSError>; 106 /** 107 * Deletes the specified interconnect. This is intended for use by AWS Direct Connect partners only. 108 */ 109 deleteInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.DeleteInterconnectResponse) => void): Request<DirectConnect.Types.DeleteInterconnectResponse, AWSError>; 110 /** 111 * Deletes a virtual interface. 112 */ 113 deleteVirtualInterface(params: DirectConnect.Types.DeleteVirtualInterfaceRequest, callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request<DirectConnect.Types.DeleteVirtualInterfaceResponse, AWSError>; 114 /** 115 * Deletes a virtual interface. 116 */ 117 deleteVirtualInterface(callback?: (err: AWSError, data: DirectConnect.Types.DeleteVirtualInterfaceResponse) => void): Request<DirectConnect.Types.DeleteVirtualInterfaceResponse, AWSError>; 118 /** 119 * Returns 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. 120 */ 121 describeConnectionLoa(params: DirectConnect.Types.DescribeConnectionLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request<DirectConnect.Types.DescribeConnectionLoaResponse, AWSError>; 122 /** 123 * Returns 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. 124 */ 125 describeConnectionLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeConnectionLoaResponse) => void): Request<DirectConnect.Types.DescribeConnectionLoaResponse, AWSError>; 126 /** 127 * Displays all connections in this region. If a connection ID is provided, the call returns only that particular connection. 128 */ 129 describeConnections(params: DirectConnect.Types.DescribeConnectionsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>; 130 /** 131 * Displays all connections in this region. If a connection ID is provided, the call returns only that particular connection. 132 */ 133 describeConnections(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>; 134 /** 135 * Return a list of connections that have been provisioned on the given interconnect. This is intended for use by AWS Direct Connect partners only. 136 */ 137 describeConnectionsOnInterconnect(params: DirectConnect.Types.DescribeConnectionsOnInterconnectRequest, callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>; 138 /** 139 * Return a list of connections that have been provisioned on the given interconnect. This is intended for use by AWS Direct Connect partners only. 140 */ 141 describeConnectionsOnInterconnect(callback?: (err: AWSError, data: DirectConnect.Types.Connections) => void): Request<DirectConnect.Types.Connections, AWSError>; 142 /** 143 * Returns the LOA-CFA for an 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. 144 */ 145 describeInterconnectLoa(params: DirectConnect.Types.DescribeInterconnectLoaRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request<DirectConnect.Types.DescribeInterconnectLoaResponse, AWSError>; 146 /** 147 * Returns the LOA-CFA for an 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. 148 */ 149 describeInterconnectLoa(callback?: (err: AWSError, data: DirectConnect.Types.DescribeInterconnectLoaResponse) => void): Request<DirectConnect.Types.DescribeInterconnectLoaResponse, AWSError>; 150 /** 151 * Returns a list of interconnects owned by the AWS account. If an interconnect ID is provided, it will only return this particular interconnect. 152 */ 153 describeInterconnects(params: DirectConnect.Types.DescribeInterconnectsRequest, callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request<DirectConnect.Types.Interconnects, AWSError>; 154 /** 155 * Returns a list of interconnects owned by the AWS account. If an interconnect ID is provided, it will only return this particular interconnect. 156 */ 157 describeInterconnects(callback?: (err: AWSError, data: DirectConnect.Types.Interconnects) => void): Request<DirectConnect.Types.Interconnects, AWSError>; 158 /** 159 * Returns the list of AWS Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect. 160 */ 161 describeLocations(callback?: (err: AWSError, data: DirectConnect.Types.Locations) => void): Request<DirectConnect.Types.Locations, AWSError>; 162 /** 163 * Describes the tags associated with the specified Direct Connect resources. 164 */ 165 describeTags(params: DirectConnect.Types.DescribeTagsRequest, callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request<DirectConnect.Types.DescribeTagsResponse, AWSError>; 166 /** 167 * Describes the tags associated with the specified Direct Connect resources. 168 */ 169 describeTags(callback?: (err: AWSError, data: DirectConnect.Types.DescribeTagsResponse) => void): Request<DirectConnect.Types.DescribeTagsResponse, AWSError>; 170 /** 171 * Returns a list of virtual private gateways owned by the AWS account. You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. 172 */ 173 describeVirtualGateways(callback?: (err: AWSError, data: DirectConnect.Types.VirtualGateways) => void): Request<DirectConnect.Types.VirtualGateways, AWSError>; 174 /** 175 * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a connection ID is included then only virtual interfaces associated with this connection will be returned. If a virtual interface ID is included then only a single virtual interface will be returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer. If a connection ID is provided, only virtual interfaces provisioned on the specified connection will be returned. If a virtual interface ID is provided, only this particular virtual interface will be returned. 176 */ 177 describeVirtualInterfaces(params: DirectConnect.Types.DescribeVirtualInterfacesRequest, callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request<DirectConnect.Types.VirtualInterfaces, AWSError>; 178 /** 179 * Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a connection ID is included then only virtual interfaces associated with this connection will be returned. If a virtual interface ID is included then only a single virtual interface will be returned. A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer. If a connection ID is provided, only virtual interfaces provisioned on the specified connection will be returned. If a virtual interface ID is provided, only this particular virtual interface will be returned. 180 */ 181 describeVirtualInterfaces(callback?: (err: AWSError, data: DirectConnect.Types.VirtualInterfaces) => void): Request<DirectConnect.Types.VirtualInterfaces, AWSError>; 182 /** 183 * Adds the specified tags to the specified Direct Connect resource. Each Direct Connect 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 Direct Connect resource, this action updates its value. 184 */ 185 tagResource(params: DirectConnect.Types.TagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request<DirectConnect.Types.TagResourceResponse, AWSError>; 186 /** 187 * Adds the specified tags to the specified Direct Connect resource. Each Direct Connect 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 Direct Connect resource, this action updates its value. 188 */ 189 tagResource(callback?: (err: AWSError, data: DirectConnect.Types.TagResourceResponse) => void): Request<DirectConnect.Types.TagResourceResponse, AWSError>; 190 /** 191 * Removes one or more tags from the specified Direct Connect resource. 192 */ 193 untagResource(params: DirectConnect.Types.UntagResourceRequest, callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request<DirectConnect.Types.UntagResourceResponse, AWSError>; 194 /** 195 * Removes one or more tags from the specified Direct Connect resource. 196 */ 197 untagResource(callback?: (err: AWSError, data: DirectConnect.Types.UntagResourceResponse) => void): Request<DirectConnect.Types.UntagResourceResponse, AWSError>; 198 } 199 declare namespace DirectConnect.Types { 200 export type ASN = number; 201 export interface AllocateConnectionOnInterconnectRequest { 202 /** 203 * Bandwidth of the connection. Example: "500Mbps" Default: None Values: 50M, 100M, 200M, 300M, 400M, or 500M 204 */ 205 bandwidth: Bandwidth; 206 /** 207 * Name of the provisioned connection. Example: "500M Connection to AWS" Default: None 208 */ 209 connectionName: ConnectionName; 210 /** 211 * Numeric account Id of the customer for whom the connection will be provisioned. Example: 123443215678 Default: None 212 */ 213 ownerAccount: OwnerAccount; 214 /** 215 * ID of the interconnect on which the connection will be provisioned. Example: dxcon-456abc78 Default: None 216 */ 217 interconnectId: InterconnectId; 218 /** 219 * The dedicated VLAN provisioned to the connection. Example: 101 Default: None 220 */ 221 vlan: VLAN; 222 } 223 export interface AllocatePrivateVirtualInterfaceRequest { 224 /** 225 * The connection ID on which the private virtual interface is provisioned. Default: None 226 */ 227 connectionId: ConnectionId; 228 /** 229 * The AWS account that will own the new private virtual interface. Default: None 230 */ 231 ownerAccount: OwnerAccount; 232 /** 233 * Detailed information for the private virtual interface to be provisioned. Default: None 234 */ 235 newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocation; 236 } 237 export interface AllocatePublicVirtualInterfaceRequest { 238 /** 239 * The connection ID on which the public virtual interface is provisioned. Default: None 240 */ 241 connectionId: ConnectionId; 242 /** 243 * The AWS account that will own the new public virtual interface. Default: None 244 */ 245 ownerAccount: OwnerAccount; 246 /** 247 * Detailed information for the public virtual interface to be provisioned. Default: None 248 */ 249 newPublicVirtualInterfaceAllocation: NewPublicVirtualInterfaceAllocation; 250 } 251 export type AmazonAddress = string; 252 export type BGPAuthKey = string; 253 export type Bandwidth = string; 254 export type CIDR = string; 255 export interface ConfirmConnectionRequest { 256 connectionId: ConnectionId; 257 } 258 export interface ConfirmConnectionResponse { 259 connectionState?: ConnectionState; 260 } 261 export interface ConfirmPrivateVirtualInterfaceRequest { 262 virtualInterfaceId: VirtualInterfaceId; 263 /** 264 * ID of the virtual private gateway that will be attached to the virtual interface. A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action. Default: None 265 */ 266 virtualGatewayId: VirtualGatewayId; 267 } 268 export interface ConfirmPrivateVirtualInterfaceResponse { 269 virtualInterfaceState?: VirtualInterfaceState; 270 } 271 export interface ConfirmPublicVirtualInterfaceRequest { 272 virtualInterfaceId: VirtualInterfaceId; 273 } 274 export interface ConfirmPublicVirtualInterfaceResponse { 275 virtualInterfaceState?: VirtualInterfaceState; 276 } 277 export interface Connection { 278 /** 279 * The AWS account that will own the new connection. 280 */ 281 ownerAccount?: OwnerAccount; 282 connectionId?: ConnectionId; 283 connectionName?: ConnectionName; 284 connectionState?: ConnectionState; 285 region?: Region; 286 location?: LocationCode; 287 /** 288 * Bandwidth of the connection. Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections) Default: None 289 */ 290 bandwidth?: Bandwidth; 291 vlan?: VLAN; 292 /** 293 * The name of the AWS Direct Connect service provider associated with the connection. 294 */ 295 partnerName?: PartnerName; 296 /** 297 * The time of the most recent call to DescribeConnectionLoa for this Connection. 298 */ 299 loaIssueTime?: LoaIssueTime; 300 } 301 export type ConnectionId = string; 302 export type ConnectionList = Connection[]; 303 export type ConnectionName = string; 304 export type ConnectionState = "ordering"|"requested"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|string; 305 export interface Connections { 306 /** 307 * A list of connections. 308 */ 309 connections?: ConnectionList; 310 } 311 export interface CreateConnectionRequest { 312 location: LocationCode; 313 bandwidth: Bandwidth; 314 connectionName: ConnectionName; 315 } 316 export interface CreateInterconnectRequest { 317 /** 318 * The name of the interconnect. Example: "1G Interconnect to AWS" Default: None 319 */ 320 interconnectName: InterconnectName; 321 /** 322 * The port bandwidth Example: 1Gbps Default: None Available values: 1Gbps,10Gbps 323 */ 324 bandwidth: Bandwidth; 325 /** 326 * Where the interconnect is located Example: EqSV5 Default: None 327 */ 328 location: LocationCode; 329 } 330 export interface CreatePrivateVirtualInterfaceRequest { 331 connectionId: ConnectionId; 332 /** 333 * Detailed information for the private virtual interface to be created. Default: None 334 */ 335 newPrivateVirtualInterface: NewPrivateVirtualInterface; 336 } 337 export interface CreatePublicVirtualInterfaceRequest { 338 connectionId: ConnectionId; 339 /** 340 * Detailed information for the public virtual interface to be created. Default: None 341 */ 342 newPublicVirtualInterface: NewPublicVirtualInterface; 343 } 344 export type CustomerAddress = string; 345 export interface DeleteConnectionRequest { 346 connectionId: ConnectionId; 347 } 348 export interface DeleteInterconnectRequest { 349 interconnectId: InterconnectId; 350 } 351 export interface DeleteInterconnectResponse { 352 interconnectState?: InterconnectState; 353 } 354 export interface DeleteVirtualInterfaceRequest { 355 virtualInterfaceId: VirtualInterfaceId; 356 } 357 export interface DeleteVirtualInterfaceResponse { 358 virtualInterfaceState?: VirtualInterfaceState; 359 } 360 export interface DescribeConnectionLoaRequest { 361 connectionId: ConnectionId; 362 /** 363 * The name of the APN partner or 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. Default: None 364 */ 365 providerName?: ProviderName; 366 loaContentType?: LoaContentType; 367 } 368 export interface DescribeConnectionLoaResponse { 369 loa?: Loa; 370 } 371 export interface DescribeConnectionsOnInterconnectRequest { 372 /** 373 * ID of the interconnect on which a list of connection is provisioned. Example: dxcon-abc123 Default: None 374 */ 375 interconnectId: InterconnectId; 376 } 377 export interface DescribeConnectionsRequest { 378 connectionId?: ConnectionId; 379 } 380 export interface DescribeInterconnectLoaRequest { 381 interconnectId: InterconnectId; 382 /** 383 * 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. Default: None 384 */ 385 providerName?: ProviderName; 386 loaContentType?: LoaContentType; 387 } 388 export interface DescribeInterconnectLoaResponse { 389 loa?: Loa; 390 } 391 export interface DescribeInterconnectsRequest { 392 interconnectId?: InterconnectId; 393 } 394 export interface DescribeTagsRequest { 395 /** 396 * The Amazon Resource Names (ARNs) of the Direct Connect resources. 397 */ 398 resourceArns: ResourceArnList; 399 } 400 export interface DescribeTagsResponse { 401 /** 402 * Information about the tags. 403 */ 404 resourceTags?: ResourceTagList; 405 } 406 export interface DescribeVirtualInterfacesRequest { 407 connectionId?: ConnectionId; 408 virtualInterfaceId?: VirtualInterfaceId; 409 } 410 export type ErrorMessage = string; 411 export interface Interconnect { 412 interconnectId?: InterconnectId; 413 interconnectName?: InterconnectName; 414 interconnectState?: InterconnectState; 415 region?: Region; 416 location?: LocationCode; 417 bandwidth?: Bandwidth; 418 /** 419 * The time of the most recent call to DescribeInterconnectLoa for this Interconnect. 420 */ 421 loaIssueTime?: LoaIssueTime; 422 } 423 export type InterconnectId = string; 424 export type InterconnectList = Interconnect[]; 425 export type InterconnectName = string; 426 export type InterconnectState = "requested"|"pending"|"available"|"down"|"deleting"|"deleted"|string; 427 export interface Interconnects { 428 /** 429 * A list of interconnects. 430 */ 431 interconnects?: InterconnectList; 432 } 433 export interface Loa { 434 loaContent?: LoaContent; 435 loaContentType?: LoaContentType; 436 } 437 export type LoaContent = Buffer|Uint8Array|Blob|string; 438 export type LoaContentType = "application/pdf"|string; 439 export type LoaIssueTime = Date; 440 export interface Location { 441 /** 442 * The code used to indicate the AWS Direct Connect location. 443 */ 444 locationCode?: LocationCode; 445 /** 446 * The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building. 447 */ 448 locationName?: LocationName; 449 } 450 export type LocationCode = string; 451 export type LocationList = Location[]; 452 export type LocationName = string; 453 export interface Locations { 454 /** 455 * A list of colocation hubs where network providers have equipment. Most regions have multiple locations available. 456 */ 457 locations?: LocationList; 458 } 459 export interface NewPrivateVirtualInterface { 460 virtualInterfaceName: VirtualInterfaceName; 461 vlan: VLAN; 462 asn: ASN; 463 authKey?: BGPAuthKey; 464 amazonAddress?: AmazonAddress; 465 customerAddress?: CustomerAddress; 466 virtualGatewayId: VirtualGatewayId; 467 } 468 export interface NewPrivateVirtualInterfaceAllocation { 469 virtualInterfaceName: VirtualInterfaceName; 470 vlan: VLAN; 471 asn: ASN; 472 authKey?: BGPAuthKey; 473 amazonAddress?: AmazonAddress; 474 customerAddress?: CustomerAddress; 475 } 476 export interface NewPublicVirtualInterface { 477 virtualInterfaceName: VirtualInterfaceName; 478 vlan: VLAN; 479 asn: ASN; 480 authKey?: BGPAuthKey; 481 amazonAddress: AmazonAddress; 482 customerAddress: CustomerAddress; 483 routeFilterPrefixes: RouteFilterPrefixList; 484 } 485 export interface NewPublicVirtualInterfaceAllocation { 486 virtualInterfaceName: VirtualInterfaceName; 487 vlan: VLAN; 488 asn: ASN; 489 authKey?: BGPAuthKey; 490 amazonAddress: AmazonAddress; 491 customerAddress: CustomerAddress; 492 routeFilterPrefixes: RouteFilterPrefixList; 493 } 494 export type OwnerAccount = string; 495 export type PartnerName = string; 496 export type ProviderName = string; 497 export type Region = string; 498 export type ResourceArn = string; 499 export type ResourceArnList = ResourceArn[]; 500 export interface ResourceTag { 501 /** 502 * The Amazon Resource Name (ARN) of the Direct Connect resource. 503 */ 504 resourceArn?: ResourceArn; 505 /** 506 * The tags. 507 */ 508 tags?: TagList; 509 } 510 export type ResourceTagList = ResourceTag[]; 511 export interface RouteFilterPrefix { 512 /** 513 * CIDR notation for the advertised route. Multiple routes are separated by commas. Example: 10.10.10.0/24,10.10.11.0/24 514 */ 515 cidr?: CIDR; 516 } 517 export type RouteFilterPrefixList = RouteFilterPrefix[]; 518 export type RouterConfig = string; 519 export interface Tag { 520 /** 521 * The key of the tag. 522 */ 523 key: TagKey; 524 /** 525 * The value of the tag. 526 */ 527 value?: TagValue; 528 } 529 export type TagKey = string; 530 export type TagKeyList = TagKey[]; 531 export type TagList = Tag[]; 532 export interface TagResourceRequest { 533 /** 534 * The Amazon Resource Name (ARN) of the Direct Connect resource. Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh 535 */ 536 resourceArn: ResourceArn; 537 /** 538 * The list of tags to add. 539 */ 540 tags: TagList; 541 } 542 export interface TagResourceResponse { 543 } 544 export type TagValue = string; 545 export interface UntagResourceRequest { 546 /** 547 * The Amazon Resource Name (ARN) of the Direct Connect resource. 548 */ 549 resourceArn: ResourceArn; 550 /** 551 * The list of tag keys to remove. 552 */ 553 tagKeys: TagKeyList; 554 } 555 export interface UntagResourceResponse { 556 } 557 export type VLAN = number; 558 export interface VirtualGateway { 559 virtualGatewayId?: VirtualGatewayId; 560 virtualGatewayState?: VirtualGatewayState; 561 } 562 export type VirtualGatewayId = string; 563 export type VirtualGatewayList = VirtualGateway[]; 564 export type VirtualGatewayState = string; 565 export interface VirtualGateways { 566 /** 567 * A list of virtual private gateways. 568 */ 569 virtualGateways?: VirtualGatewayList; 570 } 571 export interface VirtualInterface { 572 /** 573 * The AWS account that will own the new virtual interface. 574 */ 575 ownerAccount?: OwnerAccount; 576 virtualInterfaceId?: VirtualInterfaceId; 577 location?: LocationCode; 578 connectionId?: ConnectionId; 579 virtualInterfaceType?: VirtualInterfaceType; 580 virtualInterfaceName?: VirtualInterfaceName; 581 vlan?: VLAN; 582 asn?: ASN; 583 authKey?: BGPAuthKey; 584 amazonAddress?: AmazonAddress; 585 customerAddress?: CustomerAddress; 586 virtualInterfaceState?: VirtualInterfaceState; 587 /** 588 * Information for generating the customer router configuration. 589 */ 590 customerRouterConfig?: RouterConfig; 591 virtualGatewayId?: VirtualGatewayId; 592 routeFilterPrefixes?: RouteFilterPrefixList; 593 } 594 export type VirtualInterfaceId = string; 595 export type VirtualInterfaceList = VirtualInterface[]; 596 export type VirtualInterfaceName = string; 597 export type VirtualInterfaceState = "confirming"|"verifying"|"pending"|"available"|"down"|"deleting"|"deleted"|"rejected"|string; 598 export type VirtualInterfaceType = string; 599 export interface VirtualInterfaces { 600 /** 601 * A list of virtual interfaces. 602 */ 603 virtualInterfaces?: VirtualInterfaceList; 604 } 605 /** 606 * 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. 607 */ 608 export type apiVersion = "2012-10-25"|"latest"|string; 609 export interface ClientApiVersions { 610 /** 611 * 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. 612 */ 613 apiVersion?: apiVersion; 614 } 615 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; 616 } 617 export = DirectConnect;