Module Values.ComputeCapacitySource

Describes the capacity for a fleet.

Sourcetype nonrec t = {
  1. desiredInstances : Integer.t option;
    (*

    The desired number of streaming instances.

    *)
  2. desiredSessions : Integer.t option;
    (*

    The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets. When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You canโ€™t define both attributes or leave both attributes blank.

    *)
}
Sourceval make : ?desiredInstances:??? -> ?desiredSessions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.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