Module Values.ResourceCreationLimitPolicySource

A policy that puts limits on the number of game sessions that a player can create within a specified span of time. With this policy, you can control players' ability to consume available resources. The policy is evaluated when a player tries to create a new game session. On receiving a CreateGameSession request, Amazon GameLift Servers checks that the player (identified by CreatorId) has created fewer than game session limit in the specified time period.

Sourcetype nonrec t = {
  1. newGameSessionsPerCreator : WholeNumber.t option;
    (*

    A policy that puts limits on the number of game sessions that a player can create within a specified span of time. With this policy, you can control players' ability to consume available resources. The policy is evaluated when a player tries to create a new game session. On receiving a CreateGameSession request, Amazon GameLift Servers checks that the player (identified by CreatorId) has created fewer than game session limit in the specified time period.

    *)
  2. policyPeriodInMinutes : WholeNumber.t option;
    (*

    The time span used in evaluating the resource creation limit policy.

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