Module Values.RotateTunnelAccessTokenResponseSource

Revokes the current client access token (CAT) and returns new CAT for clients to use when reconnecting to secure tunneling to access the same tunnel. Requires permission to access the RotateTunnelAccessToken action. Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel duration is 12 hours and the tunnel has already been open for 4 hours. When you rotate the access tokens, the new tokens that are generated can only be used for the remaining 8 hours.

Sourcetype nonrec t = {
  1. tunnelArn : TunnelArn.t option;
    (*

    The Amazon Resource Name for the tunnel.

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

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

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

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

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?tunnelArn:??? -> ?sourceAccessToken:??? -> ?destinationAccessToken:??? -> 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 * [> `String of TunnelArn.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