aws direct connect · aws direct connect links your internal network to an aws direct connect...
TRANSCRIPT
AWS Direct Connect API Reference
AWS Direct Connect: API ReferenceCopyright © 2020 Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is notAmazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages ordiscredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who mayor may not be affiliated with, connected to, or sponsored by Amazon.
AWS Direct Connect API Reference
Table of ContentsWelcome .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Actions .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
AcceptDirectConnectGatewayAssociationProposal ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
AllocateConnectionOnInterconnect ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
AllocateHostedConnection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
AllocatePrivateVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
AllocatePublicVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
AllocateTransitVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
AssociateConnectionWithLag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
AssociateHostedConnection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
API Version 2012-10-25iii
AWS Direct Connect API Reference
Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
AssociateVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
ConfirmConnection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
ConfirmPrivateVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
ConfirmPublicVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
ConfirmTransitVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
CreateBGPPeer .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
CreateConnection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
CreateDirectConnectGateway .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
API Version 2012-10-25iv
AWS Direct Connect API Reference
Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
CreateDirectConnectGatewayAssociation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
CreateDirectConnectGatewayAssociationProposal ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
CreateInterconnect ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
CreateLag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
CreatePrivateVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
CreatePublicVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
CreateTransitVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
DeleteBGPPeer .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
API Version 2012-10-25v
AWS Direct Connect API Reference
Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
DeleteConnection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
DeleteDirectConnectGateway .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
DeleteDirectConnectGatewayAssociation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
DeleteDirectConnectGatewayAssociationProposal ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
DeleteInterconnect ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
DeleteLag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
DeleteVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
DescribeConnectionLoa .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
API Version 2012-10-25vi
AWS Direct Connect API Reference
See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119DescribeConnections .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
DescribeConnectionsOnInterconnect ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
DescribeDirectConnectGatewayAssociationProposals ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
DescribeDirectConnectGatewayAssociations .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
DescribeDirectConnectGatewayAttachments .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
DescribeDirectConnectGateways .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
DescribeHostedConnections .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
DescribeInterconnectLoa .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
API Version 2012-10-25vii
AWS Direct Connect API Reference
DescribeInterconnects ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
DescribeLags .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
DescribeLoa .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
DescribeLocations .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
DescribeTags .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
DescribeVirtualGateways .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
DescribeVirtualInterfaces .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
DisassociateConnectionFromLag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
ListVirtualInterfaceTestHistory .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
API Version 2012-10-25viii
AWS Direct Connect API Reference
Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
StartBgpFailoverTest ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
StopBgpFailoverTest ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
TagResource .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
UntagResource .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
UpdateDirectConnectGatewayAssociation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
UpdateLag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
UpdateVirtualInterfaceAttributes .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Request Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Request Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Response Syntax .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Response Elements .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Data Types .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183AssociatedGateway .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
BGPPeer .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Connection .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
API Version 2012-10-25ix
AWS Direct Connect API Reference
Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
DirectConnectGateway .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
DirectConnectGatewayAssociation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
DirectConnectGatewayAssociationProposal ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
DirectConnectGatewayAttachment .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Interconnect ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Lag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Loa .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Location .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
NewBGPPeer .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
NewPrivateVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
NewPrivateVirtualInterfaceAllocation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
NewPublicVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
NewPublicVirtualInterfaceAllocation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
NewTransitVirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
NewTransitVirtualInterfaceAllocation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
ResourceTag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
RouteFilterPrefix .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Tag .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
VirtualGateway .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
API Version 2012-10-25x
AWS Direct Connect API Reference
Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
VirtualInterface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
VirtualInterfaceTestHistory .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227Contents .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227See Also .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Common Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229Common Errors ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
API Version 2012-10-25xi
AWS Direct Connect API Reference
WelcomeAWS Direct Connect links your internal network to an AWS Direct Connect location over a standardEthernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS DirectConnect router. With this connection in place, you can create virtual interfaces directly to the AWS cloud(for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providersin your network path. A connection provides access to all AWS Regions except the China (Beijing) and(China) Ningxia Regions. AWS resources in the China Regions can only be accessed through locationsassociated with those Regions.
This document was last published on August 13, 2020.
API Version 2012-10-251
AWS Direct Connect API Reference
ActionsThe following actions are supported:
• AcceptDirectConnectGatewayAssociationProposal (p. 4)• AllocateConnectionOnInterconnect (p. 7)• AllocateHostedConnection (p. 12)• AllocatePrivateVirtualInterface (p. 17)• AllocatePublicVirtualInterface (p. 23)• AllocateTransitVirtualInterface (p. 29)• AssociateConnectionWithLag (p. 32)• AssociateHostedConnection (p. 36)• AssociateVirtualInterface (p. 40)• ConfirmConnection (p. 45)• ConfirmPrivateVirtualInterface (p. 47)• ConfirmPublicVirtualInterface (p. 50)• ConfirmTransitVirtualInterface (p. 52)• CreateBGPPeer (p. 54)• CreateConnection (p. 57)• CreateDirectConnectGateway (p. 62)• CreateDirectConnectGatewayAssociation (p. 64)• CreateDirectConnectGatewayAssociationProposal (p. 67)• CreateInterconnect (p. 70)• CreateLag (p. 75)• CreatePrivateVirtualInterface (p. 81)• CreatePublicVirtualInterface (p. 87)• CreateTransitVirtualInterface (p. 93)• DeleteBGPPeer (p. 96)• DeleteConnection (p. 99)• DeleteDirectConnectGateway (p. 103)• DeleteDirectConnectGatewayAssociation (p. 105)• DeleteDirectConnectGatewayAssociationProposal (p. 108)• DeleteInterconnect (p. 110)• DeleteLag (p. 112)• DeleteVirtualInterface (p. 116)• DescribeConnectionLoa (p. 118)• DescribeConnections (p. 120)• DescribeConnectionsOnInterconnect (p. 122)• DescribeDirectConnectGatewayAssociationProposals (p. 124)• DescribeDirectConnectGatewayAssociations (p. 127)• DescribeDirectConnectGatewayAttachments (p. 130)• DescribeDirectConnectGateways (p. 133)• DescribeHostedConnections (p. 135)• DescribeInterconnectLoa (p. 137)
API Version 2012-10-252
AWS Direct Connect API Reference
• DescribeInterconnects (p. 139)• DescribeLags (p. 141)• DescribeLoa (p. 144)• DescribeLocations (p. 146)• DescribeTags (p. 148)• DescribeVirtualGateways (p. 150)• DescribeVirtualInterfaces (p. 152)• DisassociateConnectionFromLag (p. 155)• ListVirtualInterfaceTestHistory (p. 159)• StartBgpFailoverTest (p. 162)• StopBgpFailoverTest (p. 164)• TagResource (p. 166)• UntagResource (p. 168)• UpdateDirectConnectGatewayAssociation (p. 170)• UpdateLag (p. 173)• UpdateVirtualInterfaceAttributes (p. 178)
API Version 2012-10-253
AWS Direct Connect API ReferenceAcceptDirectConnectGatewayAssociationProposal
AcceptDirectConnectGatewayAssociationProposalAccepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connectgateway.
Request Syntax{ "associatedGatewayOwnerAccount": "string", "directConnectGatewayId": "string", "overrideAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "proposalId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
associatedGatewayOwnerAccount (p. 4)
The ID of the AWS account that owns the virtual private gateway or transit gateway.
Type: String
Required: YesdirectConnectGatewayId (p. 4)
The ID of the Direct Connect gateway.
Type: String
Required: YesoverrideAllowedPrefixesToDirectConnectGateway (p. 4)
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect UserGuide.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NoproposalId (p. 4)
The ID of the request proposal.
Type: String
Required: Yes
API Version 2012-10-254
AWS Direct Connect API ReferenceResponse Syntax
Response Syntax{ "directConnectGatewayAssociation": { "allowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "associationId": "string", "associationState": "string", "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "stateChangeError": "string", "virtualGatewayId": "string", "virtualGatewayOwnerAccount": "string", "virtualGatewayRegion": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociation (p. 5)
Information about an association between a Direct Connect gateway and a virtual private gatewayor transit gateway.
Type: DirectConnectGatewayAssociation (p. 192) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-255
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-256
AWS Direct Connect API ReferenceAllocateConnectionOnInterconnect
AllocateConnectionOnInterconnectDeprecated. Use AllocateHostedConnection (p. 12) 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 thespecified interconnect.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "bandwidth": "string", "connectionName": "string", "interconnectId": "string", "ownerAccount": "string", "vlan": number}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bandwidth (p. 7)
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 ConnectPartners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or10Gbps hosted connection.
Type: String
Required: YesconnectionName (p. 7)
The name of the provisioned connection.
Type: String
Required: YesinterconnectId (p. 7)
The ID of the interconnect on which the connection will be provisioned.
Type: String
Required: YesownerAccount (p. 7)
The ID of the AWS account of the customer for whom the connection will be provisioned.
API Version 2012-10-257
AWS Direct Connect API ReferenceResponse Syntax
Type: String
Required: Yesvlan (p. 7)
The dedicated VLAN provisioned to the connection.
Type: Integer
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
awsDevice (p. 8)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 8)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 8)
The bandwidth of the connection.
API Version 2012-10-258
AWS Direct Connect API ReferenceResponse Elements
Type: StringconnectionId (p. 8)
The ID of the connection.
Type: StringconnectionName (p. 8)
The name of the connection.
Type: StringconnectionState (p. 8)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 8)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 8)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 8)
The ID of the LAG.
Type: StringloaIssueTime (p. 8)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamp
API Version 2012-10-259
AWS Direct Connect API ReferenceErrors
location (p. 8)
The location of the connection.
Type: StringownerAccount (p. 8)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 8)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 8)
The name of the service provider associated with the connection.
Type: Stringregion (p. 8)
The AWS Region where the connection is located.
Type: Stringtags (p. 8)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 8)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-2510
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2511
AWS Direct Connect API ReferenceAllocateHostedConnection
AllocateHostedConnectionCreates a hosted connection on the specified interconnect or a link aggregation group (LAG) ofinterconnects.
Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connectionon the specified interconnect or LAG of interconnects. AWS polices the hosted connection for thespecified capacity and the AWS Direct Connect Partner must also police the hosted connection for thespecified capacity.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "bandwidth": "string", "connectionId": "string", "connectionName": "string", "ownerAccount": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bandwidth (p. 12)
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 ConnectPartners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or10Gbps hosted connection.
Type: String
Required: Yes
connectionId (p. 12)
The ID of the interconnect or LAG.
Type: String
Required: Yes
connectionName (p. 12)
The name of the hosted connection.
API Version 2012-10-2512
AWS Direct Connect API ReferenceResponse Syntax
Type: String
Required: YesownerAccount (p. 12)
The ID of the AWS account ID of the customer for the connection.
Type: String
Required: Yestags (p. 12)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: Novlan (p. 12)
The dedicated VLAN provisioned to the hosted connection.
Type: Integer
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
API Version 2012-10-2513
AWS Direct Connect API ReferenceResponse Elements
awsDevice (p. 13)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 13)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 13)
The bandwidth of the connection.
Type: StringconnectionId (p. 13)
The ID of the connection.
Type: StringconnectionName (p. 13)
The name of the connection.
Type: StringconnectionState (p. 13)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 13)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | no
API Version 2012-10-2514
AWS Direct Connect API ReferenceErrors
jumboFrameCapable (p. 13)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 13)
The ID of the LAG.
Type: StringloaIssueTime (p. 13)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 13)
The location of the connection.
Type: StringownerAccount (p. 13)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 13)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 13)
The name of the service provider associated with the connection.
Type: Stringregion (p. 13)
The AWS Region where the connection is located.
Type: Stringtags (p. 13)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 13)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-2515
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2516
AWS Direct Connect API ReferenceAllocatePrivateVirtualInterface
AllocatePrivateVirtualInterfaceProvisions a private virtual interface to be owned by the specified AWS account.
Virtual interfaces created using this action must be confirmed by the owner usingConfirmPrivateVirtualInterface (p. 47). Until then, the virtual interface is in the Confirming state andis not available to handle traffic.
Request Syntax{ "connectionId": "string", "newPrivateVirtualInterfaceAllocation": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "mtu": number, "tags": [ { "key": "string", "value": "string" } ], "virtualInterfaceName": "string", "vlan": number }, "ownerAccount": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 17)
The ID of the connection on which the private virtual interface is provisioned.
Type: String
Required: YesnewPrivateVirtualInterfaceAllocation (p. 17)
Information about the private virtual interface.
Type: NewPrivateVirtualInterfaceAllocation (p. 209) object
Required: YesownerAccount (p. 17)
The ID of the AWS account that owns the virtual private interface.
Type: String
API Version 2012-10-2517
AWS Direct Connect API ReferenceResponse Syntax
Required: Yes
Response Syntax{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 18)
The address family for the BGP peer.
API Version 2012-10-2518
AWS Direct Connect API ReferenceResponse Elements
Type: String
Valid Values: ipv4 | ipv6amazonAddress (p. 18)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 18)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Longasn (p. 18)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 18)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 18)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 18)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 18)
The ID of the connection.
Type: StringcustomerAddress (p. 18)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 18)
The customer router configuration.
Type: StringdirectConnectGatewayId (p. 18)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 18)
Indicates whether jumbo frames (9001 MTU) are supported.
API Version 2012-10-2519
AWS Direct Connect API ReferenceResponse Elements
Type: Booleanlocation (p. 18)
The location of the connection.
Type: Stringmtu (p. 18)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: IntegerownerAccount (p. 18)
The ID of the AWS account that owns the virtual interface.
Type: Stringregion (p. 18)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 18)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 18)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 18)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 18)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 18)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: StringvirtualInterfaceState (p. 18)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
API Version 2012-10-2520
AWS Direct Connect API ReferenceErrors
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 18)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 18)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-2521
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2522
AWS Direct Connect API ReferenceAllocatePublicVirtualInterface
AllocatePublicVirtualInterfaceProvisions 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 thespecified AWS account.
Virtual interfaces created using this function must be confirmed by the owner usingConfirmPublicVirtualInterface (p. 50). Until this step has been completed, the virtual interface is inthe confirming state and is not available to handle traffic.
When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specifycustom IPv6 addresses.
Request Syntax{ "connectionId": "string", "newPublicVirtualInterfaceAllocation": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualInterfaceName": "string", "vlan": number }, "ownerAccount": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 23)
The ID of the connection on which the public virtual interface is provisioned.
Type: String
Required: YesnewPublicVirtualInterfaceAllocation (p. 23)
Information about the public virtual interface.
API Version 2012-10-2523
AWS Direct Connect API ReferenceResponse Syntax
Type: NewPublicVirtualInterfaceAllocation (p. 213) object
Required: Yes
ownerAccount (p. 23)
The ID of the AWS account that owns the public virtual interface.
Type: String
Required: Yes
Response Syntax
{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
API Version 2012-10-2524
AWS Direct Connect API ReferenceResponse Elements
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 24)
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6amazonAddress (p. 24)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 24)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Longasn (p. 24)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 24)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 24)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 24)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 24)
The ID of the connection.
Type: StringcustomerAddress (p. 24)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 24)
The customer router configuration.
API Version 2012-10-2525
AWS Direct Connect API ReferenceResponse Elements
Type: StringdirectConnectGatewayId (p. 24)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 24)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Booleanlocation (p. 24)
The location of the connection.
Type: Stringmtu (p. 24)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: IntegerownerAccount (p. 24)
The ID of the AWS account that owns the virtual interface.
Type: Stringregion (p. 24)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 24)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 24)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 24)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 24)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 24)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
API Version 2012-10-2526
AWS Direct Connect API ReferenceErrors
Type: StringvirtualInterfaceState (p. 24)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 24)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 24)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
API Version 2012-10-2527
AWS Direct Connect API ReferenceSee Also
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2528
AWS Direct Connect API ReferenceAllocateTransitVirtualInterface
AllocateTransitVirtualInterfaceProvisions a transit virtual interface to be owned by the specified AWS account. Use this type of interfaceto connect a transit gateway to your Direct Connect gateway.
The owner of a connection provisions a transit virtual interface to be owned by the specified AWSaccount.
After you create a transit virtual interface, it must be confirmed by the owner usingConfirmTransitVirtualInterface (p. 52). Until this step has been completed, the transit virtual interfaceis in the requested state and is not available to handle traffic.
Request Syntax{ "connectionId": "string", "newTransitVirtualInterfaceAllocation": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "mtu": number, "tags": [ { "key": "string", "value": "string" } ], "virtualInterfaceName": "string", "vlan": number }, "ownerAccount": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 29)
The ID of the connection on which the transit virtual interface is provisioned.
Type: String
Required: YesnewTransitVirtualInterfaceAllocation (p. 29)
Information about the transit virtual interface.
Type: NewTransitVirtualInterfaceAllocation (p. 217) object
Required: YesownerAccount (p. 29)
The ID of the AWS account that owns the transit virtual interface.
API Version 2012-10-2529
AWS Direct Connect API ReferenceResponse Syntax
Type: String
Required: Yes
Response Syntax{ "virtualInterface": { "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
API Version 2012-10-2530
AWS Direct Connect API ReferenceErrors
virtualInterface (p. 30)
Information about a virtual interface.
Type: VirtualInterface (p. 223) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2531
AWS Direct Connect API ReferenceAssociateConnectionWithLag
AssociateConnectionWithLagAssociates an existing connection with a link aggregation group (LAG). The connection is interruptedand re-established as a member of the LAG (connectivity to AWS is interrupted). The connection mustbe hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match thebandwidth for the LAG. You can re-associate a connection that's currently associated with a differentLAG; however, if removing the connection would cause the original LAG to fall below its setting forminimum number of operational connections, the request fails.
Any virtual interfaces that are directly associated with the connection are automatically re-associatedwith the LAG. If the connection was originally associated with a different LAG, the virtual interfacesremain associated with the original LAG.
For interconnects, any hosted connections are automatically re-associated with the LAG. If theinterconnect was originally associated with a different LAG, the hosted connections remain associatedwith the original LAG.
Request Syntax{ "connectionId": "string", "lagId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 32)
The ID of the connection.
Type: String
Required: YeslagId (p. 32)
The ID of the LAG with which to associate the connection.
Type: String
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string",
API Version 2012-10-2532
AWS Direct Connect API ReferenceResponse Elements
"hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
awsDevice (p. 32)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 32)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 32)
The bandwidth of the connection.
Type: StringconnectionId (p. 32)
The ID of the connection.
Type: StringconnectionName (p. 32)
The name of the connection.
Type: StringconnectionState (p. 32)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil the Letter of Authorization (LOA) is sent to the customer.
API Version 2012-10-2533
AWS Direct Connect API ReferenceResponse Elements
• 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 32)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 32)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 32)
The ID of the LAG.
Type: StringloaIssueTime (p. 32)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 32)
The location of the connection.
Type: StringownerAccount (p. 32)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 32)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 32)
The name of the service provider associated with the connection.
Type: String
API Version 2012-10-2534
AWS Direct Connect API ReferenceErrors
region (p. 32)
The AWS Region where the connection is located.
Type: Stringtags (p. 32)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 32)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2535
AWS Direct Connect API ReferenceAssociateHostedConnection
AssociateHostedConnectionAssociates a hosted connection and its virtual interfaces with a link aggregation group (LAG) orinterconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLANnumber or IP address, the operation fails. This action temporarily interrupts the hosted connection'sconnectivity to AWS as it is being migrated.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "connectionId": "string", "parentConnectionId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 36)
The ID of the hosted connection.
Type: String
Required: YesparentConnectionId (p. 36)
The ID of the interconnect or the LAG.
Type: String
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string",
API Version 2012-10-2536
AWS Direct Connect API ReferenceResponse Elements
"region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
awsDevice (p. 36)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 36)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 36)
The bandwidth of the connection.
Type: StringconnectionId (p. 36)
The ID of the connection.
Type: StringconnectionName (p. 36)
The name of the connection.
Type: StringconnectionState (p. 36)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
API Version 2012-10-2537
AWS Direct Connect API ReferenceResponse Elements
• rejected: A hosted connection in the ordering state enters the rejected state if it is deletedby the customer.
• unknown: The state of the connection is not available.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 36)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 36)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 36)
The ID of the LAG.
Type: StringloaIssueTime (p. 36)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 36)
The location of the connection.
Type: StringownerAccount (p. 36)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 36)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 36)
The name of the service provider associated with the connection.
Type: Stringregion (p. 36)
The AWS Region where the connection is located.
Type: Stringtags (p. 36)
The tags associated with the connection.
API Version 2012-10-2538
AWS Direct Connect API ReferenceErrors
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 36)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2539
AWS Direct Connect API ReferenceAssociateVirtualInterface
AssociateVirtualInterfaceAssociates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivityto AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection orLAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, theoperation fails.
Virtual interfaces associated with a hosted connection cannot be associated with aLAG; hosted connections must be migrated along with their virtual interfaces usingAssociateHostedConnection (p. 36).
To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtualinterface itself or the connection to which the virtual interface is currently associated. Additionally, therequester must own the connection or LAG for the association.
Request Syntax{ "connectionId": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 40)
The ID of the LAG or connection.
Type: String
Required: YesvirtualInterfaceId (p. 40)
The ID of the virtual interface.
Type: String
Required: Yes
Response Syntax{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ {
API Version 2012-10-2540
AWS Direct Connect API ReferenceResponse Elements
"addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 40)
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6amazonAddress (p. 40)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 40)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Long
API Version 2012-10-2541
AWS Direct Connect API ReferenceResponse Elements
asn (p. 40)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 40)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 40)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 40)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 40)
The ID of the connection.
Type: StringcustomerAddress (p. 40)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 40)
The customer router configuration.
Type: StringdirectConnectGatewayId (p. 40)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 40)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Booleanlocation (p. 40)
The location of the connection.
Type: Stringmtu (p. 40)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: Integer
API Version 2012-10-2542
AWS Direct Connect API ReferenceResponse Elements
ownerAccount (p. 40)
The ID of the AWS account that owns the virtual interface.
Type: Stringregion (p. 40)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 40)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 40)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 40)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 40)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 40)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: StringvirtualInterfaceState (p. 40)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
API Version 2012-10-2543
AWS Direct Connect API ReferenceErrors
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 40)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 40)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2544
AWS Direct Connect API ReferenceConfirmConnection
ConfirmConnectionConfirms 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 untilthe owner confirms creation of the hosted connection.
Request Syntax{ "connectionId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 45)
The ID of the hosted connection.
Type: String
Required: Yes
Response Syntax{ "connectionState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
connectionState (p. 45)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
API Version 2012-10-2545
AWS Direct Connect API ReferenceErrors
• 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2546
AWS Direct Connect API ReferenceConfirmPrivateVirtualInterface
ConfirmPrivateVirtualInterfaceAccepts 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 thespecified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.
Request Syntax{ "directConnectGatewayId": "string", "virtualGatewayId": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
directConnectGatewayId (p. 47)
The ID of the Direct Connect gateway.
Type: String
Required: NovirtualGatewayId (p. 47)
The ID of the virtual private gateway.
Type: String
Required: NovirtualInterfaceId (p. 47)
The ID of the virtual interface.
Type: String
Required: Yes
Response Syntax{ "virtualInterfaceState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
API Version 2012-10-2547
AWS Direct Connect API ReferenceErrors
The following data is returned in JSON format by the service.
virtualInterfaceState (p. 47)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java
API Version 2012-10-2548
AWS Direct Connect API ReferenceSee Also
• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2549
AWS Direct Connect API ReferenceConfirmPublicVirtualInterface
ConfirmPublicVirtualInterfaceAccepts 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 madeavailable to handle traffic.
Request Syntax{ "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
virtualInterfaceId (p. 50)
The ID of the virtual interface.
Type: String
Required: Yes
Response Syntax{ "virtualInterfaceState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaceState (p. 50)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface is ready to forward traffic.
• available: A virtual interface that is able to forward traffic.
API Version 2012-10-2550
AWS Direct Connect API ReferenceErrors
• down: A virtual interface that is BGP down.• deleting: A virtual interface is in this state immediately after calling
DeleteVirtualInterface (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2551
AWS Direct Connect API ReferenceConfirmTransitVirtualInterface
ConfirmTransitVirtualInterfaceAccepts ownership of a transit virtual interface created by another AWS account.
After the owner of the transit virtual interface makes this call, the specified transit virtual interface iscreated and made available to handle traffic.
Request Syntax{ "directConnectGatewayId": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
directConnectGatewayId (p. 52)
The ID of the Direct Connect gateway.
Type: String
Required: YesvirtualInterfaceId (p. 52)
The ID of the virtual interface.
Type: String
Required: Yes
Response Syntax{ "virtualInterfaceState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaceState (p. 52)
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
API Version 2012-10-2552
AWS Direct Connect API ReferenceErrors
on which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2553
AWS Direct Connect API ReferenceCreateBGPPeer
CreateBGPPeerCreates 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 AWSresources that also use that address family.
If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot bein 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 areautomatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6addresses.
For a public virtual interface, the Autonomous System Number (ASN) must be private or alreadywhitelisted for the virtual interface.
Request Syntax{ "newBGPPeer": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string" }, "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
newBGPPeer (p. 54)
Information about the BGP peer.
Type: NewBGPPeer (p. 206) object
Required: NovirtualInterfaceId (p. 54)
The ID of the virtual interface.
Type: String
Required: No
Response Syntax{ "virtualInterface": { "addressFamily": "string",
API Version 2012-10-2554
AWS Direct Connect API ReferenceResponse Elements
"amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterface (p. 54)
The virtual interface.
Type: VirtualInterface (p. 223) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-2555
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2556
AWS Direct Connect API ReferenceCreateConnection
CreateConnectionCreates 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 Ethernetfiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connectrouter.
To find the locations for your Region, use DescribeLocations (p. 146).
You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAGID in the request. This ensures that the new connection is allocated on the same AWS Direct Connectendpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request failsand no connection is created.
Request Syntax{ "bandwidth": "string", "connectionName": "string", "lagId": "string", "location": "string", "providerName": "string", "tags": [ { "key": "string", "value": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bandwidth (p. 57)
The bandwidth of the connection.
Type: String
Required: YesconnectionName (p. 57)
The name of the connection.
Type: String
Required: YeslagId (p. 57)
The ID of the LAG.
Type: String
API Version 2012-10-2557
AWS Direct Connect API ReferenceResponse Syntax
Required: No
location (p. 57)
The location of the connection.
Type: String
Required: Yes
providerName (p. 57)
The name of the service provider associated with the requested connection.
Type: String
Required: No
tags (p. 57)
The tags to associate with the lag.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
API Version 2012-10-2558
AWS Direct Connect API ReferenceResponse Elements
awsDevice (p. 58)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 58)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 58)
The bandwidth of the connection.
Type: StringconnectionId (p. 58)
The ID of the connection.
Type: StringconnectionName (p. 58)
The name of the connection.
Type: StringconnectionState (p. 58)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 58)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | no
API Version 2012-10-2559
AWS Direct Connect API ReferenceErrors
jumboFrameCapable (p. 58)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 58)
The ID of the LAG.
Type: StringloaIssueTime (p. 58)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 58)
The location of the connection.
Type: StringownerAccount (p. 58)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 58)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 58)
The name of the service provider associated with the connection.
Type: Stringregion (p. 58)
The AWS Region where the connection is located.
Type: Stringtags (p. 58)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 58)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-2560
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2561
AWS Direct Connect API ReferenceCreateDirectConnectGateway
CreateDirectConnectGatewayCreates a Direct Connect gateway, which is an intermediate object that enables you to connect a set ofvirtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWSRegion after it is created. The virtual interfaces and virtual private gateways that are connected througha Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in anyRegion, regardless of the Region in which the virtual interfaces are located, and pass traffic betweenthem.
Request Syntax{ "amazonSideAsn": number, "directConnectGatewayName": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
amazonSideAsn (p. 62)
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured onthe Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or4,200,000,000 to 4,294,967,294. The default is 64512.
Type: Long
Required: NodirectConnectGatewayName (p. 62)
The name of the Direct Connect gateway.
Type: String
Required: Yes
Response Syntax{ "directConnectGateway": { "amazonSideAsn": number, "directConnectGatewayId": "string", "directConnectGatewayName": "string", "directConnectGatewayState": "string", "ownerAccount": "string", "stateChangeError": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
API Version 2012-10-2562
AWS Direct Connect API ReferenceErrors
The following data is returned in JSON format by the service.
directConnectGateway (p. 62)
The Direct Connect gateway.
Type: DirectConnectGateway (p. 190) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2563
AWS Direct Connect API ReferenceCreateDirectConnectGatewayAssociation
CreateDirectConnectGatewayAssociationCreates an association between a Direct Connect gateway and a virtual private gateway. The virtualprivate gateway must be attached to a VPC and must not be associated with another Direct Connectgateway.
Request Syntax{ "addAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "directConnectGatewayId": "string", "gatewayId": "string", "virtualGatewayId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
addAllowedPrefixesToDirectConnectGateway (p. 64)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect UserGuide.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NodirectConnectGatewayId (p. 64)
The ID of the Direct Connect gateway.
Type: String
Required: YesgatewayId (p. 64)
The ID of the virtual private gateway or transit gateway.
Type: String
Required: NovirtualGatewayId (p. 64)
The ID of the virtual private gateway.
Type: String
Required: No
API Version 2012-10-2564
AWS Direct Connect API ReferenceResponse Syntax
Response Syntax{ "directConnectGatewayAssociation": { "allowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "associationId": "string", "associationState": "string", "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "stateChangeError": "string", "virtualGatewayId": "string", "virtualGatewayOwnerAccount": "string", "virtualGatewayRegion": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociation (p. 65)
The association to be created.
Type: DirectConnectGatewayAssociation (p. 192) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-2565
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2566
AWS Direct Connect API ReferenceCreateDirectConnectGatewayAssociationProposal
CreateDirectConnectGatewayAssociationProposalCreates a proposal to associate the specified virtual private gateway or transit gateway with the specifiedDirect Connect gateway.
You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is ownedby any AWS account.
Request Syntax{ "addAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "gatewayId": "string", "removeAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
addAllowedPrefixesToDirectConnectGateway (p. 67)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NodirectConnectGatewayId (p. 67)
The ID of the Direct Connect gateway.
Type: String
Required: YesdirectConnectGatewayOwnerAccount (p. 67)
The ID of the AWS account that owns the Direct Connect gateway.
Type: String
Required: YesgatewayId (p. 67)
The ID of the virtual private gateway or transit gateway.
API Version 2012-10-2567
AWS Direct Connect API ReferenceResponse Syntax
Type: String
Required: YesremoveAllowedPrefixesToDirectConnectGateway (p. 67)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: No
Response Syntax{ "directConnectGatewayAssociationProposal": { "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "existingAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "proposalId": "string", "proposalState": "string", "requestedAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ] }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociationProposal (p. 68)
Information about the Direct Connect gateway proposal.
Type: DirectConnectGatewayAssociationProposal (p. 194) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
API Version 2012-10-2568
AWS Direct Connect API ReferenceSee Also
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2569
AWS Direct Connect API ReferenceCreateInterconnect
CreateInterconnectCreates an interconnect between an AWS Direct Connect Partner's network and a specific AWS DirectConnect location.
An interconnect is a connection that is capable of hosting other connections. The AWS Direct Connectpartner can use an interconnect to provide AWS Direct Connect hosted connections to customersthrough their own network services. Like a standard connection, an interconnect links the partner'snetwork to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end isconnected 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 LAGID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connectendpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request failsand no interconnect is created.
For each end customer, the AWS Direct Connect Partner provisions a connection on their interconnectby calling AllocateHostedConnection (p. 12). The end customer can then connect to AWS resources bycreating a virtual interface on their connection, using the VLAN assigned to them by the AWS DirectConnect Partner.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "bandwidth": "string", "interconnectName": "string", "lagId": "string", "location": "string", "providerName": "string", "tags": [ { "key": "string", "value": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bandwidth (p. 70)
The port bandwidth, in Gbps. The possible values are 1 and 10.
Type: String
Required: YesinterconnectName (p. 70)
The name of the interconnect.
Type: String
API Version 2012-10-2570
AWS Direct Connect API ReferenceResponse Syntax
Required: YeslagId (p. 70)
The ID of the LAG.
Type: String
Required: Nolocation (p. 70)
The location of the interconnect.
Type: String
Required: YesproviderName (p. 70)
The name of the service provider associated with the interconnect.
Type: String
Required: Notags (p. 70)
The tags to associate with the interconnect.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "hasLogicalRedundancy": "string", "interconnectId": "string", "interconnectName": "string", "interconnectState": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
API Version 2012-10-2571
AWS Direct Connect API ReferenceResponse Elements
The following data is returned in JSON format by the service.
awsDevice (p. 71)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 71)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 71)
The bandwidth of the connection.
Type: StringhasLogicalRedundancy (p. 71)
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nointerconnectId (p. 71)
The ID of the interconnect.
Type: StringinterconnectName (p. 71)
The name of the interconnect.
Type: StringinterconnectState (p. 71)
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.
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
jumboFrameCapable (p. 71)
Indicates whether jumbo frames (9001 MTU) are supported.
API Version 2012-10-2572
AWS Direct Connect API ReferenceErrors
Type: BooleanlagId (p. 71)
The ID of the LAG.
Type: StringloaIssueTime (p. 71)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 71)
The location of the connection.
Type: StringproviderName (p. 71)
The name of the service provider associated with the interconnect.
Type: Stringregion (p. 71)
The AWS Region where the connection is located.
Type: Stringtags (p. 71)
The tags associated with the interconnect.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
API Version 2012-10-2573
AWS Direct Connect API ReferenceSee Also
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2574
AWS Direct Connect API ReferenceCreateLag
CreateLagCreates a link aggregation group (LAG) with the specified number of bundled physical connectionsbetween the customer network and a specific AWS Direct Connect location. A LAG is a logical interfacethat uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you totreat them as a single interface.
All connections in a LAG must use the same bandwidth and must terminate at the same AWS DirectConnect endpoint.
You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections forthe 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 countstowards the total number of connections). Doing so interrupts the current physical connection or hostedconnections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWSDirect Connect endpoint to which the connection terminates. Any virtual interfaces associated with theconnection are automatically disassociated and re-associated with the LAG. The connection ID does notchange.
If the AWS account used to create a LAG is a registered AWS Direct Connect Partner, the LAG isautomatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtualinterfaces cannot be directly configured.
Request Syntax{ "childConnectionTags": [ { "key": "string", "value": "string" } ], "connectionId": "string", "connectionsBandwidth": "string", "lagName": "string", "location": "string", "numberOfConnections": number, "providerName": "string", "tags": [ { "key": "string", "value": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
childConnectionTags (p. 75)
The tags to associate with the automtically created LAGs.
Type: Array of Tag (p. 221) objects
API Version 2012-10-2575
AWS Direct Connect API ReferenceResponse Syntax
Array Members: Minimum number of 1 item.
Required: NoconnectionId (p. 75)
The ID of an existing connection to migrate to the LAG.
Type: String
Required: NoconnectionsBandwidth (p. 75)
The bandwidth of the individual physical connections bundled by the LAG. The possible values are50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps.
Type: String
Required: YeslagName (p. 75)
The name of the LAG.
Type: String
Required: Yeslocation (p. 75)
The location for the LAG.
Type: String
Required: YesnumberOfConnections (p. 75)
The number of physical connections initially provisioned and bundled by the LAG.
Type: Integer
Required: YesproviderName (p. 75)
The name of the service provider associated with the LAG.
Type: String
Required: Notags (p. 75)
The tags to associate with the LAG.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
Response Syntax{
API Version 2012-10-2576
AWS Direct Connect API ReferenceResponse Elements
"allowsHostedConnections": boolean, "awsDevice": "string", "awsDeviceV2": "string", "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number } ], "connectionsBandwidth": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "lagName": "string", "lagState": "string", "location": "string", "minimumLinks": number, "numberOfConnections": number, "ownerAccount": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
allowsHostedConnections (p. 76)
Indicates whether the LAG can host other connections.
Type: BooleanawsDevice (p. 76)
This parameter has been deprecated.
API Version 2012-10-2577
AWS Direct Connect API ReferenceResponse Elements
The AWS Direct Connect endpoint that hosts the LAG.
Type: StringawsDeviceV2 (p. 76)
The AWS Direct Connect endpoint that hosts the LAG.
Type: Stringconnections (p. 76)
The connections bundled by the LAG.
Type: Array of Connection (p. 187) objectsconnectionsBandwidth (p. 76)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are1Gbps and 10Gbps.
Type: StringhasLogicalRedundancy (p. 76)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 76)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 76)
The ID of the LAG.
Type: StringlagName (p. 76)
The name of the LAG.
Type: StringlagState (p. 76)
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.
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
API Version 2012-10-2578
AWS Direct Connect API ReferenceErrors
location (p. 76)
The location of the LAG.
Type: StringminimumLinks (p. 76)
The minimum number of physical connections that must be operational for the LAG itself to beoperational.
Type: IntegernumberOfConnections (p. 76)
The number of physical connections bundled by the LAG, up to a maximum of 10.
Type: IntegerownerAccount (p. 76)
The ID of the AWS account that owns the LAG.
Type: StringproviderName (p. 76)
The name of the service provider associated with the LAG.
Type: Stringregion (p. 76)
The AWS Region where the connection is located.
Type: Stringtags (p. 76)
The tags associated with the LAG.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400
API Version 2012-10-2579
AWS Direct Connect API ReferenceSee Also
TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2580
AWS Direct Connect API ReferenceCreatePrivateVirtualInterface
CreatePrivateVirtualInterfaceCreates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connecttraffic. A private virtual interface can be connected to either a Direct Connect gateway or a VirtualPrivate Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enablesthe possibility for connecting to multiple VPCs, including VPCs in different AWS Regions. Connecting theprivate virtual interface to a VGW only provides access to a single VPC within the same Region.
Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlyingphysical connection if it wasn't updated to support jumbo frames. Updating the connection disruptsnetwork connectivity for all virtual interfaces associated with the connection for up to 30 seconds. Tocheck whether your connection supports jumbo frames, call DescribeConnections (p. 120). To checkwhether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces (p. 152).
Request Syntax{ "connectionId": "string", "newPrivateVirtualInterface": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "directConnectGatewayId": "string", "mtu": number, "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceName": "string", "vlan": number }}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 81)
The ID of the connection.
Type: String
Required: Yes
newPrivateVirtualInterface (p. 81)
Information about the private virtual interface.
Type: NewPrivateVirtualInterface (p. 207) object
API Version 2012-10-2581
AWS Direct Connect API ReferenceResponse Syntax
Required: Yes
Response Syntax{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 82)
The address family for the BGP peer.
API Version 2012-10-2582
AWS Direct Connect API ReferenceResponse Elements
Type: String
Valid Values: ipv4 | ipv6amazonAddress (p. 82)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 82)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Longasn (p. 82)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 82)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 82)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 82)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 82)
The ID of the connection.
Type: StringcustomerAddress (p. 82)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 82)
The customer router configuration.
Type: StringdirectConnectGatewayId (p. 82)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 82)
Indicates whether jumbo frames (9001 MTU) are supported.
API Version 2012-10-2583
AWS Direct Connect API ReferenceResponse Elements
Type: Booleanlocation (p. 82)
The location of the connection.
Type: Stringmtu (p. 82)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: IntegerownerAccount (p. 82)
The ID of the AWS account that owns the virtual interface.
Type: Stringregion (p. 82)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 82)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 82)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 82)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 82)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 82)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: StringvirtualInterfaceState (p. 82)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
API Version 2012-10-2584
AWS Direct Connect API ReferenceErrors
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 82)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 82)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-2585
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2586
AWS Direct Connect API ReferenceCreatePublicVirtualInterface
CreatePublicVirtualInterfaceCreates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connecttraffic. 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 andamazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.
Request Syntax
{ "connectionId": "string", "newPublicVirtualInterface": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualInterfaceName": "string", "vlan": number }}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 87)
The ID of the connection.
Type: String
Required: Yes
newPublicVirtualInterface (p. 87)
Information about the public virtual interface.
Type: NewPublicVirtualInterface (p. 211) object
Required: Yes
API Version 2012-10-2587
AWS Direct Connect API ReferenceResponse Syntax
Response Syntax
{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 88)
The address family for the BGP peer.
Type: String
API Version 2012-10-2588
AWS Direct Connect API ReferenceResponse Elements
Valid Values: ipv4 | ipv6amazonAddress (p. 88)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 88)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Longasn (p. 88)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 88)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 88)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 88)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 88)
The ID of the connection.
Type: StringcustomerAddress (p. 88)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 88)
The customer router configuration.
Type: StringdirectConnectGatewayId (p. 88)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 88)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Boolean
API Version 2012-10-2589
AWS Direct Connect API ReferenceResponse Elements
location (p. 88)
The location of the connection.
Type: Stringmtu (p. 88)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: IntegerownerAccount (p. 88)
The ID of the AWS account that owns the virtual interface.
Type: Stringregion (p. 88)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 88)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 88)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 88)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 88)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 88)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: StringvirtualInterfaceState (p. 88)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
API Version 2012-10-2590
AWS Direct Connect API ReferenceErrors
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 88)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 88)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
API Version 2012-10-2591
AWS Direct Connect API ReferenceSee Also
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2592
AWS Direct Connect API ReferenceCreateTransitVirtualInterface
CreateTransitVirtualInterfaceCreates a transit virtual interface. A transit virtual interface should be used to access one or more transitgateways associated with Direct Connect gateways. A transit virtual interface enables the connection ofmultiple VPCs attached to a transit gateway to a Direct Connect gateway.
ImportantIf you associate your transit gateway with one or more Direct Connect gateways, theAutonomous System Number (ASN) used by the transit gateway and the Direct Connect gatewaymust be different. For example, if you use the default ASN 64512 for both your the transitgateway and Direct Connect gateway, the association request fails.
Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlyingphysical connection if it wasn't updated to support jumbo frames. Updating the connection disruptsnetwork connectivity for all virtual interfaces associated with the connection for up to 30 seconds. Tocheck whether your connection supports jumbo frames, call DescribeConnections (p. 120). To checkwhether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces (p. 152).
Request Syntax{ "connectionId": "string", "newTransitVirtualInterface": { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "customerAddress": "string", "directConnectGatewayId": "string", "mtu": number, "tags": [ { "key": "string", "value": "string" } ], "virtualInterfaceName": "string", "vlan": number }}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 93)
The ID of the connection.
Type: String
Required: YesnewTransitVirtualInterface (p. 93)
Information about the transit virtual interface.
API Version 2012-10-2593
AWS Direct Connect API ReferenceResponse Syntax
Type: NewTransitVirtualInterface (p. 215) object
Required: Yes
Response Syntax{ "virtualInterface": { "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
API Version 2012-10-2594
AWS Direct Connect API ReferenceErrors
virtualInterface (p. 94)
Information about a virtual interface.
Type: VirtualInterface (p. 223) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2595
AWS Direct Connect API ReferenceDeleteBGPPeer
DeleteBGPPeerDeletes the specified BGP peer on the specified virtual interface with the specified customer address andASN.
You cannot delete the last BGP peer from a virtual interface.
Request Syntax{ "asn": number, "bgpPeerId": "string", "customerAddress": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
asn (p. 96)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
Type: Integer
Required: NobgpPeerId (p. 96)
The ID of the BGP peer.
Type: String
Required: NocustomerAddress (p. 96)
The IP address assigned to the customer interface.
Type: String
Required: NovirtualInterfaceId (p. 96)
The ID of the virtual interface.
Type: String
Required: No
Response Syntax{ "virtualInterface": { "addressFamily": "string",
API Version 2012-10-2596
AWS Direct Connect API ReferenceResponse Elements
"amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterface (p. 96)
The virtual interface.
Type: VirtualInterface (p. 223) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-2597
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-2598
AWS Direct Connect API ReferenceDeleteConnection
DeleteConnectionDeletes the specified connection.
Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. If you arepartnering with any third parties to connect with the AWS Direct Connect location, you must cancel yourservice with them separately.
Request Syntax{ "connectionId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 99)
The ID of the connection.
Type: String
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
API Version 2012-10-2599
AWS Direct Connect API ReferenceResponse Elements
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
awsDevice (p. 99)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: String
awsDeviceV2 (p. 99)
The Direct Connect endpoint on which the physical connection terminates.
Type: String
bandwidth (p. 99)
The bandwidth of the connection.
Type: String
connectionId (p. 99)
The ID of the connection.
Type: String
connectionName (p. 99)
The name of the connection.
Type: String
connectionState (p. 99)
The state of the connection. The following are the possible values:
• ordering: The initial state of a hosted connection provisioned on an interconnect. Theconnection stays in the ordering state until the owner of the hosted connection confirms ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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 deletedby the customer.
• unknown: The state of the connection is not available.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
API Version 2012-10-25100
AWS Direct Connect API ReferenceResponse Elements
hasLogicalRedundancy (p. 99)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 99)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 99)
The ID of the LAG.
Type: StringloaIssueTime (p. 99)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 99)
The location of the connection.
Type: StringownerAccount (p. 99)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 99)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 99)
The name of the service provider associated with the connection.
Type: Stringregion (p. 99)
The AWS Region where the connection is located.
Type: Stringtags (p. 99)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 99)
The ID of the VLAN.
API Version 2012-10-25101
AWS Direct Connect API ReferenceErrors
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25102
AWS Direct Connect API ReferenceDeleteDirectConnectGateway
DeleteDirectConnectGatewayDeletes the specified Direct Connect gateway. You must first delete all virtual interfaces that areattached to the Direct Connect gateway and disassociate all virtual private gateways associated with theDirect Connect gateway.
Request Syntax{ "directConnectGatewayId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
directConnectGatewayId (p. 103)
The ID of the Direct Connect gateway.
Type: String
Required: Yes
Response Syntax{ "directConnectGateway": { "amazonSideAsn": number, "directConnectGatewayId": "string", "directConnectGatewayName": "string", "directConnectGatewayState": "string", "ownerAccount": "string", "stateChangeError": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGateway (p. 103)
The Direct Connect gateway.
Type: DirectConnectGateway (p. 190) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-25103
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25104
AWS Direct Connect API ReferenceDeleteDirectConnectGatewayAssociation
DeleteDirectConnectGatewayAssociationDeletes the association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the associationID to delete the association. Alternatively, if you ownvirtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId anddirectConnectGatewayId to delete an association.
Request Syntax{ "associationId": "string", "directConnectGatewayId": "string", "virtualGatewayId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
associationId (p. 105)
The ID of the Direct Connect gateway association.
Type: String
Required: NodirectConnectGatewayId (p. 105)
The ID of the Direct Connect gateway.
Type: String
Required: NovirtualGatewayId (p. 105)
The ID of the virtual private gateway.
Type: String
Required: No
Response Syntax{ "directConnectGatewayAssociation": { "allowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associatedGateway": {
API Version 2012-10-25105
AWS Direct Connect API ReferenceResponse Elements
"id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "associationId": "string", "associationState": "string", "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "stateChangeError": "string", "virtualGatewayId": "string", "virtualGatewayOwnerAccount": "string", "virtualGatewayRegion": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociation (p. 105)
Information about the deleted association.
Type: DirectConnectGatewayAssociation (p. 192) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python
API Version 2012-10-25106
AWS Direct Connect API ReferenceSee Also
• AWS SDK for Ruby V3
API Version 2012-10-25107
AWS Direct Connect API ReferenceDeleteDirectConnectGatewayAssociationProposal
DeleteDirectConnectGatewayAssociationProposalDeletes the association proposal request between the specified Direct Connect gateway and virtualprivate gateway or transit gateway.
Request Syntax{ "proposalId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
proposalId (p. 108)
The ID of the proposal.
Type: String
Required: Yes
Response Syntax{ "directConnectGatewayAssociationProposal": { "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "existingAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "proposalId": "string", "proposalState": "string", "requestedAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ] }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
API Version 2012-10-25108
AWS Direct Connect API ReferenceErrors
The following data is returned in JSON format by the service.
directConnectGatewayAssociationProposal (p. 108)
The ID of the associated gateway.
Type: DirectConnectGatewayAssociationProposal (p. 194) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25109
AWS Direct Connect API ReferenceDeleteInterconnect
DeleteInterconnectDeletes the specified interconnect.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "interconnectId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
interconnectId (p. 110)
The ID of the interconnect.
Type: String
Required: Yes
Response Syntax{ "interconnectState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
interconnectState (p. 110)
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.
API Version 2012-10-25110
AWS Direct Connect API ReferenceErrors
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25111
AWS Direct Connect API ReferenceDeleteLag
DeleteLagDeletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtualinterfaces or hosted connections.
Request Syntax{ "lagId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
lagId (p. 112)
The ID of the LAG.
Type: String
Required: Yes
Response Syntax{ "allowsHostedConnections": boolean, "awsDevice": "string", "awsDeviceV2": "string", "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number }
API Version 2012-10-25112
AWS Direct Connect API ReferenceResponse Elements
], "connectionsBandwidth": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "lagName": "string", "lagState": "string", "location": "string", "minimumLinks": number, "numberOfConnections": number, "ownerAccount": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
allowsHostedConnections (p. 112)
Indicates whether the LAG can host other connections.
Type: BooleanawsDevice (p. 112)
This parameter has been deprecated.
The AWS Direct Connect endpoint that hosts the LAG.
Type: StringawsDeviceV2 (p. 112)
The AWS Direct Connect endpoint that hosts the LAG.
Type: Stringconnections (p. 112)
The connections bundled by the LAG.
Type: Array of Connection (p. 187) objectsconnectionsBandwidth (p. 112)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are1Gbps and 10Gbps.
Type: StringhasLogicalRedundancy (p. 112)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
API Version 2012-10-25113
AWS Direct Connect API ReferenceResponse Elements
Valid Values: unknown | yes | nojumboFrameCapable (p. 112)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 112)
The ID of the LAG.
Type: StringlagName (p. 112)
The name of the LAG.
Type: StringlagState (p. 112)
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.
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
location (p. 112)
The location of the LAG.
Type: StringminimumLinks (p. 112)
The minimum number of physical connections that must be operational for the LAG itself to beoperational.
Type: IntegernumberOfConnections (p. 112)
The number of physical connections bundled by the LAG, up to a maximum of 10.
Type: IntegerownerAccount (p. 112)
The ID of the AWS account that owns the LAG.
Type: StringproviderName (p. 112)
The name of the service provider associated with the LAG.
API Version 2012-10-25114
AWS Direct Connect API ReferenceErrors
Type: Stringregion (p. 112)
The AWS Region where the connection is located.
Type: Stringtags (p. 112)
The tags associated with the LAG.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25115
AWS Direct Connect API ReferenceDeleteVirtualInterface
DeleteVirtualInterfaceDeletes a virtual interface.
Request Syntax{ "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
virtualInterfaceId (p. 116)
The ID of the virtual interface.
Type: String
Required: Yes
Response Syntax{ "virtualInterfaceState": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaceState (p. 116)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) until it can no longer forward traffic.
API Version 2012-10-25116
AWS Direct Connect API ReferenceErrors
• 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25117
AWS Direct Connect API ReferenceDescribeConnectionLoa
DescribeConnectionLoaDeprecated. Use DescribeLoa (p. 144) instead.
Gets the LOA-CFA for a connection.
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APNpartner 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 DirectConnect User Guide.
Request Syntax{ "connectionId": "string", "loaContentType": "string", "providerName": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 118)
The ID of the connection.
Type: String
Required: YesloaContentType (p. 118)
The standard media type for the LOA-CFA document. The only supported value is application/pdf.
Type: String
Valid Values: application/pdf
Required: NoproviderName (p. 118)
The name of the APN partner or service provider who establishes connectivity on your behalf. If youspecify this parameter, the LOA-CFA lists the provider name alongside your company name as therequester of the cross connect.
Type: String
Required: No
Response Syntax{
API Version 2012-10-25118
AWS Direct Connect API ReferenceResponse Elements
"loa": { "loaContent": blob, "loaContentType": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
loa (p. 118)
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA).
Type: Loa (p. 204) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25119
AWS Direct Connect API ReferenceDescribeConnections
DescribeConnectionsDisplays the specified connection or all connections in this Region.
Request Syntax
{ "connectionId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 120)
The ID of the connection.
Type: String
Required: No
Response Syntax
{ "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number } ]}
API Version 2012-10-25120
AWS Direct Connect API ReferenceResponse Elements
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
connections (p. 120)
The connections.
Type: Array of Connection (p. 187) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25121
AWS Direct Connect API ReferenceDescribeConnectionsOnInterconnect
DescribeConnectionsOnInterconnectDeprecated. Use DescribeHostedConnections (p. 135) instead.
Lists the connections that have been provisioned on the specified interconnect.
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "interconnectId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
interconnectId (p. 122)
The ID of the interconnect.
Type: String
Required: Yes
Response Syntax{ "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number
API Version 2012-10-25122
AWS Direct Connect API ReferenceResponse Elements
} ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
connections (p. 122)
The connections.
Type: Array of Connection (p. 187) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25123
AWS Direct Connect API ReferenceDescribeDirectConnectGatewayAssociationProposals
DescribeDirectConnectGatewayAssociationProposalsDescribes one or more association proposals for connection between a virtual private gateway or transitgateway and a Direct Connect gateway.
Request Syntax{ "associatedGatewayId": "string", "directConnectGatewayId": "string", "maxResults": number, "nextToken": "string", "proposalId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
associatedGatewayId (p. 124)
The ID of the associated gateway.
Type: String
Required: NodirectConnectGatewayId (p. 124)
The ID of the Direct Connect gateway.
Type: String
Required: NomaxResults (p. 124)
The maximum number of results to return with a single call. To retrieve the remaining results, makeanother call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
Type: Integer
Required: NonextToken (p. 124)
The token for the next page of results.
Type: String
Required: NoproposalId (p. 124)
The ID of the proposal.
Type: String
API Version 2012-10-25124
AWS Direct Connect API ReferenceResponse Syntax
Required: No
Response Syntax{ "directConnectGatewayAssociationProposals": [ { "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "existingAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "proposalId": "string", "proposalState": "string", "requestedAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ] } ], "nextToken": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociationProposals (p. 125)
Describes the Direct Connect gateway association proposals.
Type: Array of DirectConnectGatewayAssociationProposal (p. 194) objectsnextToken (p. 125)
The token to use to retrieve the next page of results. This value is null when there are no moreresults to return.
Type: String
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
API Version 2012-10-25125
AWS Direct Connect API ReferenceSee Also
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25126
AWS Direct Connect API ReferenceDescribeDirectConnectGatewayAssociations
DescribeDirectConnectGatewayAssociationsLists the associations between your Direct Connect gateways and virtual private gateways. You mustspecify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connectgateway, 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 associatedwith the virtual private gateway. If you specify both, the response contains the association between theDirect Connect gateway and the virtual private gateway.
Request Syntax{ "associatedGatewayId": "string", "associationId": "string", "directConnectGatewayId": "string", "maxResults": number, "nextToken": "string", "virtualGatewayId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
associatedGatewayId (p. 127)
The ID of the associated gateway.
Type: String
Required: NoassociationId (p. 127)
The ID of the Direct Connect gateway association.
Type: String
Required: NodirectConnectGatewayId (p. 127)
The ID of the Direct Connect gateway.
Type: String
Required: NomaxResults (p. 127)
The maximum number of results to return with a single call. To retrieve the remaining results, makeanother call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
Type: Integer
API Version 2012-10-25127
AWS Direct Connect API ReferenceResponse Syntax
Required: NonextToken (p. 127)
The token provided in the previous call to retrieve the next page.
Type: String
Required: NovirtualGatewayId (p. 127)
The ID of the virtual private gateway.
Type: String
Required: No
Response Syntax{ "directConnectGatewayAssociations": [ { "allowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "associationId": "string", "associationState": "string", "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "stateChangeError": "string", "virtualGatewayId": "string", "virtualGatewayOwnerAccount": "string", "virtualGatewayRegion": "string" } ], "nextToken": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociations (p. 128)
Information about the associations.
Type: Array of DirectConnectGatewayAssociation (p. 192) objectsnextToken (p. 128)
The token to retrieve the next page.
API Version 2012-10-25128
AWS Direct Connect API ReferenceErrors
Type: String
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25129
AWS Direct Connect API ReferenceDescribeDirectConnectGatewayAttachments
DescribeDirectConnectGatewayAttachmentsLists the attachments between your Direct Connect gateways and virtual interfaces. You must specifya Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, theresponse contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtualinterface, the response contains all Direct Connect gateways attached to the virtual interface. If youspecify both, the response contains the attachment between the Direct Connect gateway and the virtualinterface.
Request Syntax{ "directConnectGatewayId": "string", "maxResults": number, "nextToken": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
directConnectGatewayId (p. 130)
The ID of the Direct Connect gateway.
Type: String
Required: NomaxResults (p. 130)
The maximum number of results to return with a single call. To retrieve the remaining results, makeanother call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
Type: Integer
Required: NonextToken (p. 130)
The token provided in the previous call to retrieve the next page.
Type: String
Required: NovirtualInterfaceId (p. 130)
The ID of the virtual interface.
Type: String
Required: No
API Version 2012-10-25130
AWS Direct Connect API ReferenceResponse Syntax
Response Syntax{ "directConnectGatewayAttachments": [ { "attachmentState": "string", "attachmentType": "string", "directConnectGatewayId": "string", "stateChangeError": "string", "virtualInterfaceId": "string", "virtualInterfaceOwnerAccount": "string", "virtualInterfaceRegion": "string" } ], "nextToken": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAttachments (p. 131)
The attachments.
Type: Array of DirectConnectGatewayAttachment (p. 196) objectsnextToken (p. 131)
The token to retrieve the next page.
Type: String
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET
API Version 2012-10-25131
AWS Direct Connect API ReferenceSee Also
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25132
AWS Direct Connect API ReferenceDescribeDirectConnectGateways
DescribeDirectConnectGatewaysLists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted DirectConnect gateways are not returned.
Request Syntax{ "directConnectGatewayId": "string", "maxResults": number, "nextToken": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
directConnectGatewayId (p. 133)
The ID of the Direct Connect gateway.
Type: String
Required: NomaxResults (p. 133)
The maximum number of results to return with a single call. To retrieve the remaining results, makeanother call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
Type: Integer
Required: NonextToken (p. 133)
The token provided in the previous call to retrieve the next page.
Type: String
Required: No
Response Syntax{ "directConnectGateways": [ { "amazonSideAsn": number, "directConnectGatewayId": "string", "directConnectGatewayName": "string", "directConnectGatewayState": "string", "ownerAccount": "string",
API Version 2012-10-25133
AWS Direct Connect API ReferenceResponse Elements
"stateChangeError": "string" } ], "nextToken": "string"}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGateways (p. 133)
The Direct Connect gateways.
Type: Array of DirectConnectGateway (p. 190) objectsnextToken (p. 133)
The token to retrieve the next page.
Type: String
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25134
AWS Direct Connect API ReferenceDescribeHostedConnections
DescribeHostedConnectionsLists the hosted connections that have been provisioned on the specified interconnect or linkaggregation group (LAG).
NoteIntended for use by AWS Direct Connect Partners only.
Request Syntax{ "connectionId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 135)
The ID of the interconnect or LAG.
Type: String
Required: Yes
Response Syntax{ "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number }
API Version 2012-10-25135
AWS Direct Connect API ReferenceResponse Elements
]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
connections (p. 135)
The connections.
Type: Array of Connection (p. 187) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25136
AWS Direct Connect API ReferenceDescribeInterconnectLoa
DescribeInterconnectLoaDeprecated. Use DescribeLoa (p. 144) instead.
Gets the LOA-CFA for the specified interconnect.
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used whenestablishing your cross connect to AWS at the colocation facility. For more information, see RequestingCross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
Request Syntax{ "interconnectId": "string", "loaContentType": "string", "providerName": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
interconnectId (p. 137)
The ID of the interconnect.
Type: String
Required: YesloaContentType (p. 137)
The standard media type for the LOA-CFA document. The only supported value is application/pdf.
Type: String
Valid Values: application/pdf
Required: NoproviderName (p. 137)
The name of the service provider who establishes connectivity on your behalf. If you supply thisparameter, the LOA-CFA lists the provider name alongside your company name as the requester ofthe cross connect.
Type: String
Required: No
Response Syntax{ "loa": {
API Version 2012-10-25137
AWS Direct Connect API ReferenceResponse Elements
"loaContent": blob, "loaContentType": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
loa (p. 137)
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA).
Type: Loa (p. 204) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25138
AWS Direct Connect API ReferenceDescribeInterconnects
DescribeInterconnectsLists the interconnects owned by the AWS account or only the specified interconnect.
Request Syntax{ "interconnectId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
interconnectId (p. 139)
The ID of the interconnect.
Type: String
Required: No
Response Syntax{ "interconnects": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "hasLogicalRedundancy": "string", "interconnectId": "string", "interconnectName": "string", "interconnectState": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ] } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
API Version 2012-10-25139
AWS Direct Connect API ReferenceErrors
The following data is returned in JSON format by the service.
interconnects (p. 139)
The interconnects.
Type: Array of Interconnect (p. 198) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25140
AWS Direct Connect API ReferenceDescribeLags
DescribeLagsDescribes all your link aggregation groups (LAG) or the specified LAG.
Request Syntax{ "lagId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
lagId (p. 141)
The ID of the LAG.
Type: String
Required: No
Response Syntax{ "lags": [ { "allowsHostedConnections": boolean, "awsDevice": "string", "awsDeviceV2": "string", "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number
API Version 2012-10-25141
AWS Direct Connect API ReferenceResponse Elements
} ], "connectionsBandwidth": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "lagName": "string", "lagState": "string", "location": "string", "minimumLinks": number, "numberOfConnections": number, "ownerAccount": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ] } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
lags (p. 141)
The LAGs.
Type: Array of Lag (p. 201) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET
API Version 2012-10-25142
AWS Direct Connect API ReferenceSee Also
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25143
AWS Direct Connect API ReferenceDescribeLoa
DescribeLoaGets 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 whenestablishing your cross connect to AWS at the colocation facility. For more information, see RequestingCross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.
Request Syntax{ "connectionId": "string", "loaContentType": "string", "providerName": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 144)
The ID of a connection, LAG, or interconnect.
Type: String
Required: YesloaContentType (p. 144)
The standard media type for the LOA-CFA document. The only supported value is application/pdf.
Type: String
Valid Values: application/pdf
Required: NoproviderName (p. 144)
The name of the service provider who establishes connectivity on your behalf. If you specify thisparameter, the LOA-CFA lists the provider name alongside your company name as the requester ofthe cross connect.
Type: String
Required: No
Response Syntax{ "loaContent": blob, "loaContentType": "string"
API Version 2012-10-25144
AWS Direct Connect API ReferenceResponse Elements
}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
loaContent (p. 144)
The binary contents of the LOA-CFA document.
Type: Base64-encoded binary data objectloaContentType (p. 144)
The standard media type for the LOA-CFA document. The only supported value is application/pdf.
Type: String
Valid Values: application/pdf
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25145
AWS Direct Connect API ReferenceDescribeLocations
DescribeLocationsLists the AWS Direct Connect locations in the current AWS Region. These are the locations that can beselected when calling CreateConnection (p. 57) or CreateInterconnect (p. 70).
Response Syntax{ "locations": [ { "availablePortSpeeds": [ "string" ], "availableProviders": [ "string" ], "locationCode": "string", "locationName": "string", "region": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
locations (p. 146)
The locations.
Type: Array of Location (p. 205) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++
API Version 2012-10-25146
AWS Direct Connect API ReferenceSee Also
• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25147
AWS Direct Connect API ReferenceDescribeTags
DescribeTagsDescribes the tags associated with the specified AWS Direct Connect resources.
Request Syntax
{ "resourceArns": [ "string" ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
resourceArns (p. 148)
The Amazon Resource Names (ARNs) of the resources.
Type: Array of strings
Required: Yes
Response Syntax
{ "resourceTags": [ { "resourceArn": "string", "tags": [ { "key": "string", "value": "string" } ] } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
resourceTags (p. 148)
Information about the tags.
Type: Array of ResourceTag (p. 219) objects
API Version 2012-10-25148
AWS Direct Connect API ReferenceErrors
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25149
AWS Direct Connect API ReferenceDescribeVirtualGateways
DescribeVirtualGatewaysLists 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 privategateway.
Response Syntax{ "virtualGateways": [ { "virtualGatewayId": "string", "virtualGatewayState": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualGateways (p. 150)
The virtual private gateways.
Type: Array of VirtualGateway (p. 222) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go
API Version 2012-10-25150
AWS Direct Connect API ReferenceSee Also
• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25151
AWS Direct Connect API ReferenceDescribeVirtualInterfaces
DescribeVirtualInterfacesDisplays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutesbefore you make the request are also returned. If you specify a connection ID, only the virtual interfacesassociated with the connection are returned. If you specify a virtual interface ID, then only a singlevirtual interface is returned.
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and thecustomer network.
Request Syntax{ "connectionId": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 152)
The ID of the connection.
Type: String
Required: NovirtualInterfaceId (p. 152)
The ID of the virtual interface.
Type: String
Required: No
Response Syntax{ "virtualInterfaces": [ { "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string",
API Version 2012-10-25152
AWS Direct Connect API ReferenceResponse Elements
"awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaces (p. 152)
The virtual interfaces
Type: Array of VirtualInterface (p. 223) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
API Version 2012-10-25153
AWS Direct Connect API ReferenceSee Also
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25154
AWS Direct Connect API ReferenceDisassociateConnectionFromLag
DisassociateConnectionFromLagDisassociates 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 theDeleteConnection (p. 99) 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 ConnectPartner is automatically converted to an interconnect.
If disassociating the connection would cause the LAG to fall below its setting for minimum number ofoperational connections, the request fails, except when it's the last member of the LAG. If all connectionsare disassociated, the LAG continues to exist as an empty LAG with no physical connections.
Request Syntax{ "connectionId": "string", "lagId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
connectionId (p. 155)
The ID of the connection.
Type: String
Required: YeslagId (p. 155)
The ID of the LAG.
Type: String
Required: Yes
Response Syntax{ "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string",
API Version 2012-10-25155
AWS Direct Connect API ReferenceResponse Elements
"ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
awsDevice (p. 155)
This parameter has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: StringawsDeviceV2 (p. 155)
The Direct Connect endpoint on which the physical connection terminates.
Type: Stringbandwidth (p. 155)
The bandwidth of the connection.
Type: StringconnectionId (p. 155)
The ID of the connection.
Type: StringconnectionName (p. 155)
The name of the connection.
Type: StringconnectionState (p. 155)
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
API Version 2012-10-25156
AWS Direct Connect API ReferenceResponse Elements
• 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
hasLogicalRedundancy (p. 155)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 155)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 155)
The ID of the LAG.
Type: StringloaIssueTime (p. 155)
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamplocation (p. 155)
The location of the connection.
Type: StringownerAccount (p. 155)
The ID of the AWS account that owns the connection.
Type: StringpartnerName (p. 155)
The name of the AWS Direct Connect service provider associated with the connection.
Type: StringproviderName (p. 155)
The name of the service provider associated with the connection.
Type: Stringregion (p. 155)
The AWS Region where the connection is located.
Type: String
API Version 2012-10-25157
AWS Direct Connect API ReferenceErrors
tags (p. 155)
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.vlan (p. 155)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25158
AWS Direct Connect API ReferenceListVirtualInterfaceTestHistory
ListVirtualInterfaceTestHistoryLists the virtual interface failover test history.
Request Syntax{ "bgpPeers": [ "string" ], "maxResults": number, "nextToken": "string", "status": "string", "testId": "string", "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bgpPeers (p. 159)
The BGP peers that were placed in the DOWN state during the virtual interface failover test.
Type: Array of strings
Required: NomaxResults (p. 159)
The maximum number of results to return with a single call. To retrieve the remaining results, makeanother call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
Type: Integer
Required: NonextToken (p. 159)
The token for the next page of results.
Type: String
Required: Nostatus (p. 159)
The status of the virtual interface failover test.
Type: String
Required: NotestId (p. 159)
The ID of the virtual interface failover test.
API Version 2012-10-25159
AWS Direct Connect API ReferenceResponse Syntax
Type: String
Required: NovirtualInterfaceId (p. 159)
The ID of the virtual interface that was tested.
Type: String
Required: No
Response Syntax{ "nextToken": "string", "virtualInterfaceTestHistory": [ { "bgpPeers": [ "string" ], "endTime": number, "ownerAccount": "string", "startTime": number, "status": "string", "testDurationInMinutes": number, "testId": "string", "virtualInterfaceId": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
nextToken (p. 160)
The token to use to retrieve the next page of results. This value is null when there are no moreresults to return.
Type: StringvirtualInterfaceTestHistory (p. 160)
The ID of the tested virtual interface.
Type: Array of VirtualInterfaceTestHistory (p. 227) objects
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400
API Version 2012-10-25160
AWS Direct Connect API ReferenceSee Also
DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25161
AWS Direct Connect API ReferenceStartBgpFailoverTest
StartBgpFailoverTestStarts the virtual interface failover test that verifies your configuration meets your resiliencyrequirements by placing the BGP peering session in the DOWN state. You can then send traffic to verifythat there are no outages.
You can run the test on public, private, transit, and hosted virtual interfaces.
You can use ListVirtualInterfaceTestHistory to view the virtual interface test history.
If you need to stop the test before the test interval completes, use StopBgpFailoverTest.
Request Syntax{ "bgpPeers": [ "string" ], "testDurationInMinutes": number, "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
bgpPeers (p. 162)
The BGP peers to place in the DOWN state.
Type: Array of strings
Required: NotestDurationInMinutes (p. 162)
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
Type: Integer
Required: NovirtualInterfaceId (p. 162)
The ID of the virtual interface you want to test.
Type: String
Required: Yes
Response Syntax{
API Version 2012-10-25162
AWS Direct Connect API ReferenceResponse Elements
"virtualInterfaceTest": { "bgpPeers": [ "string" ], "endTime": number, "ownerAccount": "string", "startTime": number, "status": "string", "testDurationInMinutes": number, "testId": "string", "virtualInterfaceId": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaceTest (p. 162)
Information about the virtual interface failover test.
Type: VirtualInterfaceTestHistory (p. 227) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25163
AWS Direct Connect API ReferenceStopBgpFailoverTest
StopBgpFailoverTestStops the virtual interface failover test.
Request Syntax{ "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
virtualInterfaceId (p. 164)
The ID of the virtual interface you no longer want to test.
Type: String
Required: Yes
Response Syntax{ "virtualInterfaceTest": { "bgpPeers": [ "string" ], "endTime": number, "ownerAccount": "string", "startTime": number, "status": "string", "testDurationInMinutes": number, "testId": "string", "virtualInterfaceId": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
virtualInterfaceTest (p. 164)
Information about the virtual interface failover test.
Type: VirtualInterfaceTestHistory (p. 227) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
API Version 2012-10-25164
AWS Direct Connect API ReferenceSee Also
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25165
AWS Direct Connect API ReferenceTagResource
TagResourceAdds the specified tags to the specified AWS Direct Connect resource. Each resource can have amaximum of 50 tags.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with theresource, this action updates its value.
Request Syntax{ "resourceArn": "string", "tags": [ { "key": "string", "value": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
resourceArn (p. 166)
The Amazon Resource Name (ARN) of the resource.
Type: String
Required: Yestags (p. 166)
The tags to add.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: Yes
Response ElementsIf the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
API Version 2012-10-25166
AWS Direct Connect API ReferenceSee Also
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400DuplicateTagKeysException
A tag key was specified more than once.
HTTP Status Code: 400TooManyTagsException
You have reached the limit on the number of tags that can be assigned.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25167
AWS Direct Connect API ReferenceUntagResource
UntagResourceRemoves one or more tags from the specified AWS Direct Connect resource.
Request Syntax{ "resourceArn": "string", "tagKeys": [ "string" ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
resourceArn (p. 168)
The Amazon Resource Name (ARN) of the resource.
Type: String
Required: YestagKeys (p. 168)
The tag keys of the tags to remove.
Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
Required: Yes
Response ElementsIf the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
API Version 2012-10-25168
AWS Direct Connect API ReferenceSee Also
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25169
AWS Direct Connect API ReferenceUpdateDirectConnectGatewayAssociation
UpdateDirectConnectGatewayAssociationUpdates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
Request Syntax{ "addAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associationId": "string", "removeAllowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ]}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
addAllowedPrefixesToDirectConnectGateway (p. 170)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NoassociationId (p. 170)
The ID of the Direct Connect gateway association.
Type: String
Required: NoremoveAllowedPrefixesToDirectConnectGateway (p. 170)
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: No
Response Syntax{ "directConnectGatewayAssociation": {
API Version 2012-10-25170
AWS Direct Connect API ReferenceResponse Elements
"allowedPrefixesToDirectConnectGateway": [ { "cidr": "string" } ], "associatedGateway": { "id": "string", "ownerAccount": "string", "region": "string", "type": "string" }, "associationId": "string", "associationState": "string", "directConnectGatewayId": "string", "directConnectGatewayOwnerAccount": "string", "stateChangeError": "string", "virtualGatewayId": "string", "virtualGatewayOwnerAccount": "string", "virtualGatewayRegion": "string" }}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
directConnectGatewayAssociation (p. 170)
Information about an association between a Direct Connect gateway and a virtual private gatewayor transit gateway.
Type: DirectConnectGatewayAssociation (p. 192) object
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++
API Version 2012-10-25171
AWS Direct Connect API ReferenceSee Also
• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25172
AWS Direct Connect API ReferenceUpdateLag
UpdateLagUpdates 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 beoperational.
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 thisvalue with care, as it could force the LAG down if it is set higher than the current number of operationalconnections.
Request Syntax
{ "lagId": "string", "lagName": "string", "minimumLinks": number}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
lagId (p. 173)
The ID of the LAG.
Type: String
Required: Yes
lagName (p. 173)
The name of the LAG.
Type: String
Required: No
minimumLinks (p. 173)
The minimum number of physical connections that must be operational for the LAG itself to beoperational.
Type: Integer
Required: No
API Version 2012-10-25173
AWS Direct Connect API ReferenceResponse Syntax
Response Syntax
{ "allowsHostedConnections": boolean, "awsDevice": "string", "awsDeviceV2": "string", "connections": [ { "awsDevice": "string", "awsDeviceV2": "string", "bandwidth": "string", "connectionId": "string", "connectionName": "string", "connectionState": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "loaIssueTime": number, "location": "string", "ownerAccount": "string", "partnerName": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ], "vlan": number } ], "connectionsBandwidth": "string", "hasLogicalRedundancy": "string", "jumboFrameCapable": boolean, "lagId": "string", "lagName": "string", "lagState": "string", "location": "string", "minimumLinks": number, "numberOfConnections": number, "ownerAccount": "string", "providerName": "string", "region": "string", "tags": [ { "key": "string", "value": "string" } ]}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
allowsHostedConnections (p. 174)
Indicates whether the LAG can host other connections.
API Version 2012-10-25174
AWS Direct Connect API ReferenceResponse Elements
Type: BooleanawsDevice (p. 174)
This parameter has been deprecated.
The AWS Direct Connect endpoint that hosts the LAG.
Type: StringawsDeviceV2 (p. 174)
The AWS Direct Connect endpoint that hosts the LAG.
Type: Stringconnections (p. 174)
The connections bundled by the LAG.
Type: Array of Connection (p. 187) objectsconnectionsBandwidth (p. 174)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are1Gbps and 10Gbps.
Type: StringhasLogicalRedundancy (p. 174)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | nojumboFrameCapable (p. 174)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: BooleanlagId (p. 174)
The ID of the LAG.
Type: StringlagName (p. 174)
The name of the LAG.
Type: StringlagState (p. 174)
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.
API Version 2012-10-25175
AWS Direct Connect API ReferenceErrors
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
location (p. 174)
The location of the LAG.
Type: StringminimumLinks (p. 174)
The minimum number of physical connections that must be operational for the LAG itself to beoperational.
Type: IntegernumberOfConnections (p. 174)
The number of physical connections bundled by the LAG, up to a maximum of 10.
Type: IntegerownerAccount (p. 174)
The ID of the AWS account that owns the LAG.
Type: StringproviderName (p. 174)
The name of the service provider associated with the LAG.
Type: Stringregion (p. 174)
The AWS Region where the connection is located.
Type: Stringtags (p. 174)
The tags associated with the LAG.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
API Version 2012-10-25176
AWS Direct Connect API ReferenceSee Also
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25177
AWS Direct Connect API ReferenceUpdateVirtualInterfaceAttributes
UpdateVirtualInterfaceAttributesUpdates 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 underlyingphysical connection if it wasn't updated to support jumbo frames. Updating the connection disruptsnetwork connectivity for all virtual interfaces associated with the connection for up to 30 seconds. Tocheck whether your connection supports jumbo frames, call DescribeConnections (p. 120). To checkwhether your virtual q interface supports jumbo frames, call DescribeVirtualInterfaces (p. 152).
Request Syntax{ "mtu": number, "virtualInterfaceId": "string"}
Request ParametersFor information about the parameters that are common to all actions, see CommonParameters (p. 229).
The request accepts the following data in JSON format.
mtu (p. 178)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: Integer
Required: NovirtualInterfaceId (p. 178)
The ID of the virtual private interface.
Type: String
Required: Yes
Response Syntax{ "addressFamily": "string", "amazonAddress": "string", "amazonSideAsn": number, "asn": number, "authKey": "string", "awsDeviceV2": "string", "bgpPeers": [ { "addressFamily": "string", "amazonAddress": "string", "asn": number, "authKey": "string",
API Version 2012-10-25178
AWS Direct Connect API ReferenceResponse Elements
"awsDeviceV2": "string", "bgpPeerId": "string", "bgpPeerState": "string", "bgpStatus": "string", "customerAddress": "string" } ], "connectionId": "string", "customerAddress": "string", "customerRouterConfig": "string", "directConnectGatewayId": "string", "jumboFrameCapable": boolean, "location": "string", "mtu": number, "ownerAccount": "string", "region": "string", "routeFilterPrefixes": [ { "cidr": "string" } ], "tags": [ { "key": "string", "value": "string" } ], "virtualGatewayId": "string", "virtualInterfaceId": "string", "virtualInterfaceName": "string", "virtualInterfaceState": "string", "virtualInterfaceType": "string", "vlan": number}
Response ElementsIf the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
addressFamily (p. 178)
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6amazonAddress (p. 178)
The IP address assigned to the Amazon interface.
Type: StringamazonSideAsn (p. 178)
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Longasn (p. 178)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
API Version 2012-10-25179
AWS Direct Connect API ReferenceResponse Elements
The valid values are 1-2147483647.
Type: IntegerauthKey (p. 178)
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: StringawsDeviceV2 (p. 178)
The Direct Connect endpoint on which the virtual interface terminates.
Type: StringbgpPeers (p. 178)
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objectsconnectionId (p. 178)
The ID of the connection.
Type: StringcustomerAddress (p. 178)
The IP address assigned to the customer interface.
Type: StringcustomerRouterConfig (p. 178)
The customer router configuration.
Type: StringdirectConnectGatewayId (p. 178)
The ID of the Direct Connect gateway.
Type: StringjumboFrameCapable (p. 178)
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Booleanlocation (p. 178)
The location of the connection.
Type: Stringmtu (p. 178)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: IntegerownerAccount (p. 178)
The ID of the AWS account that owns the virtual interface.
API Version 2012-10-25180
AWS Direct Connect API ReferenceResponse Elements
Type: Stringregion (p. 178)
The AWS Region where the virtual interface is located.
Type: StringrouteFilterPrefixes (p. 178)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objectstags (p. 178)
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.virtualGatewayId (p. 178)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: StringvirtualInterfaceId (p. 178)
The ID of the virtual interface.
Type: StringvirtualInterfaceName (p. 178)
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: StringvirtualInterfaceState (p. 178)
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface 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 (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
API Version 2012-10-25181
AWS Direct Connect API ReferenceErrors
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
virtualInterfaceType (p. 178)
The type of virtual interface. The possible values are private and public.
Type: Stringvlan (p. 178)
The ID of the VLAN.
Type: Integer
ErrorsFor information about the errors that are common to all actions, see Common Errors (p. 231).
DirectConnectClientException
One or more parameters are not valid.
HTTP Status Code: 400DirectConnectServerException
A server-side error occurred.
HTTP Status Code: 400
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface• AWS SDK for .NET• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for JavaScript• AWS SDK for PHP V3• AWS SDK for Python• AWS SDK for Ruby V3
API Version 2012-10-25182
AWS Direct Connect API Reference
Data TypesThe AWS Direct Connect API contains several data types that various actions use. This section describeseach data type in detail.
NoteThe order of each element in a data type structure is not guaranteed. Applications should notassume a particular order.
The following data types are supported:
• AssociatedGateway (p. 184)• BGPPeer (p. 185)• Connection (p. 187)• DirectConnectGateway (p. 190)• DirectConnectGatewayAssociation (p. 192)• DirectConnectGatewayAssociationProposal (p. 194)• DirectConnectGatewayAttachment (p. 196)• Interconnect (p. 198)• Lag (p. 201)• Loa (p. 204)• Location (p. 205)• NewBGPPeer (p. 206)• NewPrivateVirtualInterface (p. 207)• NewPrivateVirtualInterfaceAllocation (p. 209)• NewPublicVirtualInterface (p. 211)• NewPublicVirtualInterfaceAllocation (p. 213)• NewTransitVirtualInterface (p. 215)• NewTransitVirtualInterfaceAllocation (p. 217)• ResourceTag (p. 219)• RouteFilterPrefix (p. 220)• Tag (p. 221)• VirtualGateway (p. 222)• VirtualInterface (p. 223)• VirtualInterfaceTestHistory (p. 227)
API Version 2012-10-25183
AWS Direct Connect API ReferenceAssociatedGateway
AssociatedGatewayInformation about the associated gateway.
Contentsid
The ID of the associated gateway.
Type: String
Required: NoownerAccount
The ID of the AWS account that owns the associated virtual private gateway or transit gateway.
Type: String
Required: Noregion
The Region where the associated gateway is located.
Type: String
Required: Notype
The type of associated gateway.
Type: String
Valid Values: virtualPrivateGateway | transitGateway
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25184
AWS Direct Connect API ReferenceBGPPeer
BGPPeerInformation about a BGP peer.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
Type: Integer
Required: NoauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NoawsDeviceV2
The Direct Connect endpoint on which the BGP peer terminates.
Type: String
Required: NobgpPeerId
The ID of the BGP peer.
Type: String
Required: NobgpPeerState
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.
API Version 2012-10-25185
AWS Direct Connect API ReferenceSee Also
• 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.
Type: String
Valid Values: verifying | pending | available | deleting | deleted
Required: NobgpStatus
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.
Type: String
Valid Values: up | down | unknown
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25186
AWS Direct Connect API ReferenceConnection
ConnectionInformation about an AWS Direct Connect connection.
ContentsawsDevice
This member has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: String
Required: NoawsDeviceV2
The Direct Connect endpoint on which the physical connection terminates.
Type: String
Required: Nobandwidth
The bandwidth of the connection.
Type: String
Required: NoconnectionId
The ID of the connection.
Type: String
Required: NoconnectionName
The name of the connection.
Type: String
Required: NoconnectionState
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 ordeclines the connection order.
• requested: The initial state of a standard connection. The connection stays in the requested stateuntil 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.
API Version 2012-10-25187
AWS Direct Connect API ReferenceContents
• 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.
Type: String
Valid Values: ordering | requested | pending | available | down | deleting |deleted | rejected | unknown
Required: NohasLogicalRedundancy
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | no
Required: NojumboFrameCapable
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Boolean
Required: NolagId
The ID of the LAG.
Type: String
Required: NoloaIssueTime
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamp
Required: Nolocation
The location of the connection.
Type: String
Required: NoownerAccount
The ID of the AWS account that owns the connection.
Type: String
Required: NopartnerName
The name of the AWS Direct Connect service provider associated with the connection.
API Version 2012-10-25188
AWS Direct Connect API ReferenceSee Also
Type: String
Required: NoproviderName
The name of the service provider associated with the connection.
Type: String
Required: Noregion
The AWS Region where the connection is located.
Type: String
Required: Notags
The tags associated with the connection.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: Novlan
The ID of the VLAN.
Type: Integer
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25189
AWS Direct Connect API ReferenceDirectConnectGateway
DirectConnectGatewayInformation about a Direct Connect gateway, which enables you to connect virtual interfaces and virtualprivate gateway or transit gateways.
ContentsamazonSideAsn
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Long
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: NodirectConnectGatewayName
The name of the Direct Connect gateway.
Type: String
Required: NodirectConnectGatewayState
The state of the Direct Connect gateway. The following are the possible values:• pending: The initial state after calling CreateDirectConnectGateway (p. 62).• available: The Direct Connect gateway is ready for use.• deleting: The initial state after calling DeleteDirectConnectGateway (p. 103).• deleted: The Direct Connect gateway is deleted and cannot pass traffic.
Type: String
Valid Values: pending | available | deleting | deleted
Required: NoownerAccount
The ID of the AWS account that owns the Direct Connect gateway.
Type: String
Required: NostateChangeError
The error message if the state of an object failed to advance.
Type: String
Required: No
API Version 2012-10-25190
AWS Direct Connect API ReferenceSee Also
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25191
AWS Direct Connect API ReferenceDirectConnectGatewayAssociation
DirectConnectGatewayAssociationInformation about an association between a Direct Connect gateway and a virtual private gateway ortransit gateway.
ContentsallowedPrefixesToDirectConnectGateway
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NoassociatedGateway
Information about the associated gateway.
Type: AssociatedGateway (p. 184) object
Required: NoassociationId
The ID of the Direct Connect gateway association.
Type: String
Required: NoassociationState
The state of the association. The following are the possible values:• associating: The initial state after calling CreateDirectConnectGatewayAssociation (p. 64).• associated: The Direct Connect gateway and virtual private gateway or transit gateway are
successfully associated and ready to pass traffic.• disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation (p. 105).• disassociated: The virtual private gateway or transit gateway is disassociated from the Direct
Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway ortransit gateway is stopped.
Type: String
Valid Values: associating | associated | disassociating | disassociated |updating
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: NodirectConnectGatewayOwnerAccount
The ID of the AWS account that owns the associated gateway.
Type: String
API Version 2012-10-25192
AWS Direct Connect API ReferenceSee Also
Required: NostateChangeError
The error message if the state of an object failed to advance.
Type: String
Required: NovirtualGatewayId
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: String
Required: NovirtualGatewayOwnerAccount
The ID of the AWS account that owns the virtual private gateway.
Type: String
Required: NovirtualGatewayRegion
This member has been deprecated.
The AWS Region where the virtual private gateway is located.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25193
AWS Direct Connect API ReferenceDirectConnectGatewayAssociationProposal
DirectConnectGatewayAssociationProposalInformation about the proposal request to attach a virtual private gateway to a Direct Connect gateway.
ContentsassociatedGateway
Information about the associated gateway.
Type: AssociatedGateway (p. 184) object
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: NodirectConnectGatewayOwnerAccount
The ID of the AWS account that owns the Direct Connect gateway.
Type: String
Required: NoexistingAllowedPrefixesToDirectConnectGateway
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: NoproposalId
The ID of the association proposal.
Type: String
Required: NoproposalState
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.
Type: String
Valid Values: requested | accepted | deleted
Required: No
API Version 2012-10-25194
AWS Direct Connect API ReferenceSee Also
requestedAllowedPrefixesToDirectConnectGateway
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25195
AWS Direct Connect API ReferenceDirectConnectGatewayAttachment
DirectConnectGatewayAttachmentInformation about an attachment between a Direct Connect gateway and a virtual interface.
ContentsattachmentState
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 (p. 116).• detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
Type: String
Valid Values: attaching | attached | detaching | detached
Required: NoattachmentType
The type of attachment.
Type: String
Valid Values: TransitVirtualInterface | PrivateVirtualInterface
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: NostateChangeError
The error message if the state of an object failed to advance.
Type: String
Required: NovirtualInterfaceId
The ID of the virtual interface.
Type: String
Required: NovirtualInterfaceOwnerAccount
The ID of the AWS account that owns the virtual interface.
Type: String
API Version 2012-10-25196
AWS Direct Connect API ReferenceSee Also
Required: NovirtualInterfaceRegion
The AWS Region where the virtual interface is located.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25197
AWS Direct Connect API ReferenceInterconnect
InterconnectInformation about an interconnect.
ContentsawsDevice
This member has been deprecated.
The Direct Connect endpoint on which the physical connection terminates.
Type: String
Required: NoawsDeviceV2
The Direct Connect endpoint on which the physical connection terminates.
Type: String
Required: Nobandwidth
The bandwidth of the connection.
Type: String
Required: NohasLogicalRedundancy
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | no
Required: NointerconnectId
The ID of the interconnect.
Type: String
Required: NointerconnectName
The name of the interconnect.
Type: String
Required: NointerconnectState
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.
API Version 2012-10-25198
AWS Direct Connect API ReferenceContents
• 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.
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
Required: NojumboFrameCapable
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Boolean
Required: NolagId
The ID of the LAG.
Type: String
Required: NoloaIssueTime
The time of the most recent call to DescribeLoa (p. 144) for this connection.
Type: Timestamp
Required: Nolocation
The location of the connection.
Type: String
Required: NoproviderName
The name of the service provider associated with the interconnect.
Type: String
Required: Noregion
The AWS Region where the connection is located.
Type: String
Required: Notags
The tags associated with the interconnect.
API Version 2012-10-25199
AWS Direct Connect API ReferenceSee Also
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25200
AWS Direct Connect API ReferenceLag
LagInformation about a link aggregation group (LAG).
ContentsallowsHostedConnections
Indicates whether the LAG can host other connections.
Type: Boolean
Required: NoawsDevice
This member has been deprecated.
The AWS Direct Connect endpoint that hosts the LAG.
Type: String
Required: NoawsDeviceV2
The AWS Direct Connect endpoint that hosts the LAG.
Type: String
Required: Noconnections
The connections bundled by the LAG.
Type: Array of Connection (p. 187) objects
Required: NoconnectionsBandwidth
The individual bandwidth of the physical connections bundled by the LAG. The possible values are1Gbps and 10Gbps.
Type: String
Required: NohasLogicalRedundancy
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
Type: String
Valid Values: unknown | yes | no
Required: NojumboFrameCapable
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Boolean
API Version 2012-10-25201
AWS Direct Connect API ReferenceContents
Required: NolagId
The ID of the LAG.
Type: String
Required: NolagName
The name of the LAG.
Type: String
Required: NolagState
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.
Type: String
Valid Values: requested | pending | available | down | deleting | deleted |unknown
Required: Nolocation
The location of the LAG.
Type: String
Required: NominimumLinks
The minimum number of physical connections that must be operational for the LAG itself to beoperational.
Type: Integer
Required: NonumberOfConnections
The number of physical connections bundled by the LAG, up to a maximum of 10.
Type: Integer
Required: NoownerAccount
The ID of the AWS account that owns the LAG.
API Version 2012-10-25202
AWS Direct Connect API ReferenceSee Also
Type: String
Required: NoproviderName
The name of the service provider associated with the LAG.
Type: String
Required: Noregion
The AWS Region where the connection is located.
Type: String
Required: Notags
The tags associated with the LAG.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25203
AWS Direct Connect API ReferenceLoa
LoaInformation about a Letter of Authorization - Connecting Facility Assignment (LOA-CFA) for aconnection.
ContentsloaContent
The binary contents of the LOA-CFA document.
Type: Base64-encoded binary data object
Required: NoloaContentType
The standard media type for the LOA-CFA document. The only supported value is application/pdf.
Type: String
Valid Values: application/pdf
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25204
AWS Direct Connect API ReferenceLocation
LocationInformation about an AWS Direct Connect location.
ContentsavailablePortSpeeds
The available port speeds for the location.
Type: Array of strings
Required: NoavailableProviders
The name of the service provider for the location.
Type: Array of strings
Required: NolocationCode
The code for the location.
Type: String
Required: NolocationName
The name of the location. This includes the name of the colocation partner and the physical site ofthe building.
Type: String
Required: Noregion
The AWS Region for the location.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25205
AWS Direct Connect API ReferenceNewBGPPeer
NewBGPPeerInformation about a new BGP peer.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
Type: Integer
Required: NoauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25206
AWS Direct Connect API ReferenceNewPrivateVirtualInterface
NewPrivateVirtualInterfaceInformation about a private virtual interface.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: YesauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: Nomtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
API Version 2012-10-25207
AWS Direct Connect API ReferenceSee Also
Type: Integer
Required: Notags
The tags associated with the private virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: NovirtualGatewayId
The ID of the virtual private gateway.
Type: String
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Yesvlan
The ID of the VLAN.
Type: Integer
Required: Yes
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25208
AWS Direct Connect API ReferenceNewPrivateVirtualInterfaceAllocation
NewPrivateVirtualInterfaceAllocationInformation about a private virtual interface to be provisioned on a connection.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: YesauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: Nomtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: Integer
Required: Notags
The tags associated with the private virtual interface.
API Version 2012-10-25209
AWS Direct Connect API ReferenceSee Also
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Yesvlan
The ID of the VLAN.
Type: Integer
Required: Yes
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25210
AWS Direct Connect API ReferenceNewPublicVirtualInterface
NewPublicVirtualInterfaceInformation about a public virtual interface.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: YesauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: NorouteFilterPrefixes
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: Notags
The tags associated with the public virtual interface.
Type: Array of Tag (p. 221) objects
API Version 2012-10-25211
AWS Direct Connect API ReferenceSee Also
Array Members: Minimum number of 1 item.
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Yesvlan
The ID of the VLAN.
Type: Integer
Required: Yes
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25212
AWS Direct Connect API ReferenceNewPublicVirtualInterfaceAllocation
NewPublicVirtualInterfaceAllocationInformation about a public virtual interface to be provisioned on a connection.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: YesauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: NorouteFilterPrefixes
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: Notags
The tags associated with the public virtual interface.
Type: Array of Tag (p. 221) objects
API Version 2012-10-25213
AWS Direct Connect API ReferenceSee Also
Array Members: Minimum number of 1 item.
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Yesvlan
The ID of the VLAN.
Type: Integer
Required: Yes
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25214
AWS Direct Connect API ReferenceNewTransitVirtualInterface
NewTransitVirtualInterfaceInformation about a transit virtual interface.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: NoauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: Nomtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
API Version 2012-10-25215
AWS Direct Connect API ReferenceSee Also
Type: Integer
Required: Notags
The tags associated with the transitive virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Novlan
The ID of the VLAN.
Type: Integer
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25216
AWS Direct Connect API ReferenceNewTransitVirtualInterfaceAllocation
NewTransitVirtualInterfaceAllocationInformation about a transit virtual interface to be provisioned on a connection.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: NoauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: Nomtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: Integer
Required: Notags
The tags associated with the transitive virtual interface.
API Version 2012-10-25217
AWS Direct Connect API ReferenceSee Also
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: Novlan
The ID of the VLAN.
Type: Integer
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25218
AWS Direct Connect API ReferenceResourceTag
ResourceTagInformation about a tag associated with an AWS Direct Connect resource.
ContentsresourceArn
The Amazon Resource Name (ARN) of the resource.
Type: String
Required: Notags
The tags.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25219
AWS Direct Connect API ReferenceRouteFilterPrefix
RouteFilterPrefixInformation about a route filter prefix that a customer can advertise through Border Gateway Protocol(BGP) over a public virtual interface.
Contentscidr
The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR mustuse /64 or shorter.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25220
AWS Direct Connect API ReferenceTag
TagInformation about a tag.
Contentskey
The key.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
Required: Yesvalue
The value.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25221
AWS Direct Connect API ReferenceVirtualGateway
VirtualGatewayInformation about a virtual private gateway for a private virtual interface.
ContentsvirtualGatewayId
The ID of the virtual private gateway.
Type: String
Required: NovirtualGatewayState
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.
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25222
AWS Direct Connect API ReferenceVirtualInterface
VirtualInterfaceInformation about a virtual interface.
ContentsaddressFamily
The address family for the BGP peer.
Type: String
Valid Values: ipv4 | ipv6
Required: NoamazonAddress
The IP address assigned to the Amazon interface.
Type: String
Required: NoamazonSideAsn
The autonomous system number (ASN) for the Amazon side of the connection.
Type: Long
Required: Noasn
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
Type: Integer
Required: NoauthKey
The authentication key for BGP configuration. This string has a minimum length of 6 characters andand a maximun lenth of 80 characters.
Type: String
Required: NoawsDeviceV2
The Direct Connect endpoint on which the virtual interface terminates.
Type: String
Required: NobgpPeers
The BGP peers configured on this virtual interface.
Type: Array of BGPPeer (p. 185) objects
API Version 2012-10-25223
AWS Direct Connect API ReferenceContents
Required: NoconnectionId
The ID of the connection.
Type: String
Required: NocustomerAddress
The IP address assigned to the customer interface.
Type: String
Required: NocustomerRouterConfig
The customer router configuration.
Type: String
Required: NodirectConnectGatewayId
The ID of the Direct Connect gateway.
Type: String
Required: NojumboFrameCapable
Indicates whether jumbo frames (9001 MTU) are supported.
Type: Boolean
Required: Nolocation
The location of the connection.
Type: String
Required: Nomtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. Thedefault value is 1500.
Type: Integer
Required: NoownerAccount
The ID of the AWS account that owns the virtual interface.
Type: String
Required: No
API Version 2012-10-25224
AWS Direct Connect API ReferenceContents
region
The AWS Region where the virtual interface is located.
Type: String
Required: NorouteFilterPrefixes
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Type: Array of RouteFilterPrefix (p. 220) objects
Required: Notags
The tags associated with the virtual interface.
Type: Array of Tag (p. 221) objects
Array Members: Minimum number of 1 item.
Required: NovirtualGatewayId
The ID of the virtual private gateway. Applies only to private virtual interfaces.
Type: String
Required: NovirtualInterfaceId
The ID of the virtual interface.
Type: String
Required: NovirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Type: String
Required: NovirtualInterfaceState
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 connectionon which it is provisioned, then the virtual interface will remain in this state until it is confirmed bythe virtual interface owner.
• verifying: This state only applies to public virtual interfaces. Each public virtual interface needsvalidation before the virtual interface can be created.
• pending: A virtual interface is in this state from the time that it is created until the virtualinterface is ready to forward traffic.
• available: A virtual interface that is able to forward traffic.• down: A virtual interface that is BGP down.
API Version 2012-10-25225
AWS Direct Connect API ReferenceSee Also
• deleting: A virtual interface is in this state immediately after callingDeleteVirtualInterface (p. 116) 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 interfaceenters the Rejected state.
• unknown: The state of the virtual interface is not available.
Type: String
Valid Values: confirming | verifying | pending | available | down | deleting |deleted | rejected | unknown
Required: NovirtualInterfaceType
The type of virtual interface. The possible values are private and public.
Type: String
Required: Novlan
The ID of the VLAN.
Type: Integer
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25226
AWS Direct Connect API ReferenceVirtualInterfaceTestHistory
VirtualInterfaceTestHistoryInformation about the virtual interface failover test.
ContentsbgpPeers
The BGP peers that were put in the DOWN state as part of the virtual interface failover test.
Type: Array of strings
Required: NoendTime
The time that the virtual interface moves out of the DOWN state.
Type: Timestamp
Required: NoownerAccount
The owner ID of the tested virtual interface.
Type: String
Required: NostartTime
The time that the virtual interface moves to the DOWN state.
Type: Timestamp
Required: Nostatus
The status of the virtual interface failover test.
Type: String
Required: NotestDurationInMinutes
The time that the virtual interface failover test ran in minutes.
Type: Integer
Required: NotestId
The ID of the virtual interface failover test.
Type: String
Required: NovirtualInterfaceId
The ID of the tested virtual interface.
API Version 2012-10-25227
AWS Direct Connect API ReferenceSee Also
Type: String
Required: No
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS SDK for C++• AWS SDK for Go• AWS SDK for Java• AWS SDK for Ruby V3
API Version 2012-10-25228
AWS Direct Connect API Reference
Common ParametersThe following list contains the parameters that all actions use for signing Signature Version 4 requestswith a query string. Any action-specific parameters are listed in the topic for that action. For moreinformation about Signature Version 4, see Signature Version 4 Signing Process in the Amazon WebServices General Reference.
Action
The action to be performed.
Type: string
Required: YesVersion
The API version that the request is written for, expressed in the format YYYY-MM-DD.
Type: string
Required: YesX-Amz-Algorithm
The hash algorithm that you used to create the request signature.
Condition: Specify this parameter when you include authentication information in a query stringinstead of in the HTTP authorization header.
Type: string
Valid Values: AWS4-HMAC-SHA256
Required: ConditionalX-Amz-Credential
The credential scope value, which is a string that includes your access key, the date, the region youare targeting, the service you are requesting, and a termination string ("aws4_request"). The value isexpressed in the following format: access_key/YYYYMMDD/region/service/aws4_request.
For more information, see Task 2: Create a String to Sign for Signature Version 4 in the Amazon WebServices General Reference.
Condition: Specify this parameter when you include authentication information in a query stringinstead of in the HTTP authorization header.
Type: string
Required: ConditionalX-Amz-Date
The date that is used to create the signature. The format must be ISO 8601 basic format(YYYYMMDD'T'HHMMSS'Z'). For example, the following date time is a valid X-Amz-Date value:20120325T120000Z.
Condition: X-Amz-Date is optional for all requests; it can be used to override the date used forsigning requests. If the Date header is specified in the ISO 8601 basic format, X-Amz-Date is
API Version 2012-10-25229
AWS Direct Connect API Reference
not required. When X-Amz-Date is used, it always overrides the value of the Date header. Formore information, see Handling Dates in Signature Version 4 in the Amazon Web Services GeneralReference.
Type: string
Required: ConditionalX-Amz-Security-Token
The temporary security token that was obtained through a call to AWS Security Token Service (AWSSTS). For a list of services that support temporary security credentials from AWS Security TokenService, go to AWS Services That Work with IAM in the IAM User Guide.
Condition: If you're using temporary security credentials from the AWS Security Token Service, youmust include the security token.
Type: string
Required: ConditionalX-Amz-Signature
Specifies the hex-encoded signature that was calculated from the string to sign and the derivedsigning key.
Condition: Specify this parameter when you include authentication information in a query stringinstead of in the HTTP authorization header.
Type: string
Required: ConditionalX-Amz-SignedHeaders
Specifies all the HTTP headers that were included as part of the canonical request. For moreinformation about specifying signed headers, see Task 1: Create a Canonical Request For SignatureVersion 4 in the Amazon Web Services General Reference.
Condition: Specify this parameter when you include authentication information in a query stringinstead of in the HTTP authorization header.
Type: string
Required: Conditional
API Version 2012-10-25230
AWS Direct Connect API Reference
Common ErrorsThis section lists the errors common to the API actions of all AWS services. For errors specific to an APIaction for this service, see the topic for that API action.
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 400IncompleteSignature
The request signature does not conform to AWS standards.
HTTP Status Code: 400InternalFailure
The request processing has failed because of an unknown error, exception or failure.
HTTP Status Code: 500InvalidAction
The action or operation requested is invalid. Verify that the action is typed correctly.
HTTP Status Code: 400InvalidClientTokenId
The X.509 certificate or AWS access key ID provided does not exist in our records.
HTTP Status Code: 403InvalidParameterCombination
Parameters that must not be used together were used together.
HTTP Status Code: 400InvalidParameterValue
An invalid or out-of-range value was supplied for the input parameter.
HTTP Status Code: 400InvalidQueryParameter
The AWS query string is malformed or does not adhere to AWS standards.
HTTP Status Code: 400MalformedQueryString
The query string contains a syntax error.
HTTP Status Code: 404MissingAction
The request is missing an action or a required parameter.
HTTP Status Code: 400
API Version 2012-10-25231
AWS Direct Connect API Reference
MissingAuthenticationToken
The request must contain either a valid (registered) AWS access key ID or X.509 certificate.
HTTP Status Code: 403MissingParameter
A required parameter for the specified action is not supplied.
HTTP Status Code: 400OptInRequired
The AWS access key ID needs a subscription for the service.
HTTP Status Code: 403RequestExpired
The request reached the service more than 15 minutes after the date stamp on the request or morethan 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stampon the request is more than 15 minutes in the future.
HTTP Status Code: 400ServiceUnavailable
The request has failed due to a temporary failure of the server.
HTTP Status Code: 503ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 400ValidationError
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
API Version 2012-10-25232