Module Values.DescribeTunnelResponseSource

Gets information about a tunnel identified by the unique tunnel id. Requires permission to access the DescribeTunnel action.

Sourcetype nonrec t = {
  1. tunnel : Tunnel.t option;
    (*

    The tunnel being described.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?tunnel:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of TunnelId.t | `Structure of (string * [> `Enum of string | `Integer of TimeoutInMin.t | `List of [> `String of Service.t ] list | `String of ThingName.t | `Timestamp of DateType.t ]) list | `Timestamp of DateType.t ]) list ]) 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