Smaws_Client_DirectConnect.DeleteDirectConnectGatewayDeletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect gateway.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_direct_connect_gateway_request ->
(Types.delete_direct_connect_gateway_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_direct_connect_gateway_request ->
(Types.delete_direct_connect_gateway_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DirectConnectClientException of Types.direct_connect_client_exception
| `DirectConnectServerException of Types.direct_connect_server_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result