Class AllocateTransitVirtualInterfaceCommandProtected
Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of interface to 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 Amazon Web Services account.
After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.
Example
Use a bare-bones client and the command you need to make an API call.
Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of interface to 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 Amazon Web Services account.
After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the
requested
state and is not available to handle traffic.Example
Use a bare-bones client and the command you need to make an API call.
Param
AllocateTransitVirtualInterfaceCommandInput
Returns
AllocateTransitVirtualInterfaceCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.
Throws
DuplicateTagKeysException (client fault)
A tag key was specified more than once.
Throws
TooManyTagsException (client fault)
You have reached the limit on the number of tags that can be assigned.
Throws
DirectConnectServiceException
Base exception class for all service exceptions from DirectConnect service.