Module Values.CloseTunnelRequestSource

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted. Requires permission to access the CloseTunnel action.

Sourcetype nonrec t = {
  1. tunnelId : TunnelId.t;
    (*

    The ID of the tunnel to close.

    *)
  2. delete : DeleteFlag.t option;
    (*

    When set to true, IoT Secure Tunneling deletes the tunnel data immediately.

    *)
}
Sourceval context_ : string
Sourceval make : ?delete:??? -> tunnelId:TunnelId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DeleteFlag.t | `String of TunnelId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t