Smaws_Client_DirectConnect.AllocateTransitVirtualInterfaceProvisions 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.allocate_transit_virtual_interface_request ->
(Types.allocate_transit_virtual_interface_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.allocate_transit_virtual_interface_request ->
(Types.allocate_transit_virtual_interface_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result