Smaws_Client_IoTSecureTunneling.OpenTunnelCreates a new tunnel, and returns two client access tokens for clients to use to connect to the IoT Secure Tunneling proxy server.
Requires permission to access the OpenTunnel action.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.open_tunnel_request ->
(Types.open_tunnel_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.open_tunnel_request ->
(Types.open_tunnel_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result