Smaws_Client_DirectConnect.CreateDirectConnectGatewayAssociationCreates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another 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.create_direct_connect_gateway_association_request ->
(Types.create_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.create_direct_connect_gateway_association_request ->
(Types.create_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