Module Values.SessionSource

Describes a streaming session.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The identifier of the streaming session.

    *)
  2. userId : UserId.t option;
    (*

    The identifier of the user for whom the session was created.

    *)
  3. stackName : String_.t option;
    (*

    The name of the stack for the streaming session.

    *)
  4. fleetName : String_.t option;
    (*

    The name of the fleet for the streaming session.

    *)
  5. state : SessionState.t option;
    (*

    The current state of the streaming session.

    *)
  6. connectionState : SessionConnectionState.t option;
    (*

    Specifies whether a user is connected to the streaming session.

    *)
  7. startTime : Timestamp.t option;
    (*

    The time when a streaming instance is dedicated for the user.

    *)
  8. maxExpirationTime : Timestamp.t option;
    (*

    The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.

    *)
  9. authenticationType : AuthenticationType.t option;
    (*

    The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0 federation (SAML).

    *)
  10. networkAccessConfiguration : NetworkAccessConfiguration.t option;
    (*

    The network details for the streaming session.

    *)
  11. instanceId : String_.t option;
    (*

    The identifier for the instance hosting the session.

    *)
  12. instanceDrainStatus : InstanceDrainStatus.t option;
    (*

    The drain status of the instance hosting the streaming session. This only applies to multi-session fleets.

    *)
}
Sourceval make : ?id:??? -> ?userId:??? -> ?stackName:??? -> ?fleetName:??? -> ?state:??? -> ?connectionState:??? -> ?startTime:??? -> ?maxExpirationTime:??? -> ?authenticationType:??? -> ?networkAccessConfiguration:??? -> ?instanceId:??? -> ?instanceDrainStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list | `Timestamp of Timestamp.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