Module Values.OpenTunnelResponseSource

Creates 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.

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

    A unique alpha-numeric tunnel ID.

    *)
  2. tunnelArn : TunnelArn.t option;
    (*

    The Amazon Resource Name for the tunnel.

    *)
  3. sourceAccessToken : ClientAccessToken.t option;
    (*

    The access token the source local proxy uses to connect to IoT Secure Tunneling.

    *)
  4. destinationAccessToken : ClientAccessToken.t option;
    (*

    The access token the destination local proxy uses to connect to IoT Secure Tunneling.

    *)
}
Sourcetype nonrec error = [
  1. | `LimitExceededException of LimitExceededException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?tunnelId:??? -> ?tunnelArn:??? -> ?sourceAccessToken:??? -> ?destinationAccessToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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