Module Values.UpdateGameSessionInputSource

This API works with the following fleet types: EC2, Anywhere, Container Updates the mutable properties of a game session. To update a game session, specify the game session ID and the values you want to change. If successful, the updated GameSession object is returned. All APIs by task

Sourcetype nonrec t = {
  1. gameSessionId : ArnStringModel.t;
    (*

    An identifier for the game session that is unique across all regions to update. The value is always a full ARN in the following format: arn:aws:gamelift:<location>::gamesession/<fleet ID>/<ID string>.

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

    The maximum number of players that can be connected simultaneously to the game session.

    *)
  3. name : NonZeroAndMaxString.t option;
    (*

    A descriptive label that is associated with a game session. Session names do not need to be unique.

    *)
  4. playerSessionCreationPolicy : PlayerSessionCreationPolicy.t option;
    (*

    A policy that determines whether the game session is accepting new players.

    *)
  5. protectionPolicy : ProtectionPolicy.t option;
    (*

    Game session protection policy to apply to this game session only. NoProtection -- The game session can be terminated during a scale-down event. FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

    *)
  6. gameProperties : GamePropertyList.t option;
    (*

    A set of key-value pairs that can store custom data in a game session. For example: {"Key": "difficulty", "Value": "novice"}. You can use this parameter to modify game properties in an active game session. This action adds new properties and modifies existing properties. There is no way to delete properties. For an example, see Update the value of a game property. Avoid using periods (".") in property keys if you plan to search for game sessions by properties. Property keys containing periods cannot be searched and will be filtered out from search results due to search index limitations. If you use SearchGameSessions API, there is a limit of 500 game property keys across all game sessions and all fleets per region. If the limit is exceeded, there will potentially be game session entries missing from SearchGameSessions API results.

    *)
}
Sourceval context_ : string
Sourceval make : ?maximumPlayerSessionCount:??? -> ?name:??? -> ?playerSessionCreationPolicy:??? -> ?protectionPolicy:??? -> ?gameProperties:??? -> gameSessionId:ArnStringModel.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of WholeNumber.t | `List of [> `Structure of (string * [> `String of GamePropertyKey.t ]) list ] list | `String of ArnStringModel.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