Smaws_Client_DirectConnect.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 own virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and directConnectGatewayId to delete an association.
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_association_request ->
(Types.delete_direct_connect_gateway_association_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_association_request ->
(Types.delete_direct_connect_gateway_association_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