Module Values.CreateGameSessionOutputSource

This API works with the following fleet types: EC2, Anywhere, Container Creates a multiplayer game session for players in a specific fleet location. This operation prompts an available server process to start a game session and retrieves connection information for the new game session. As an alternative, consider using the Amazon GameLift Servers game session placement feature with StartGameSessionPlacement, which uses the FleetIQ algorithm and queues to optimize the placement process. When creating a game session, you specify exactly where you want to place it and provide a set of game session configuration settings. The target fleet must be in ACTIVE status. You can use this operation in the following ways: To create a game session on an instance in a fleet's home Region, provide a fleet or alias ID along with your game session configuration. To create a game session on an instance in a fleet's remote location, provide a fleet or alias ID and a location name, along with your game session configuration. To create a game session on an instance in an Anywhere fleet, specify the fleet's custom location. If successful, Amazon GameLift Servers initiates a workflow to start a new game session and returns a GameSession object containing the game session configuration and status. When the game session status is ACTIVE, it is updated with connection information and you can create player sessions for the game session. By default, newly created game sessions are open to new players. You can restrict new player access by using UpdateGameSession to change the game session's player session creation policy. Amazon GameLift Servers retains logs for active for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files. Available in Amazon GameLift Servers Local. Learn more Start a game session All APIs by task

Sourcetype nonrec t = {
  1. gameSession : GameSession.t option;
    (*

    Object that describes the newly created game session record.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `FleetCapacityExceededException of FleetCapacityExceededException.t
  3. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  4. | `InternalServiceException of InternalServiceException.t
  5. | `InvalidFleetStatusException of InvalidFleetStatusException.t
  6. | `InvalidRequestException of InvalidRequestException.t
  7. | `LimitExceededException of LimitExceededException.t
  8. | `NotFoundException of NotFoundException.t
  9. | `TerminalRoutingStrategyException of TerminalRoutingStrategyException.t
  10. | `UnauthorizedException of UnauthorizedException.t
  11. | `UnsupportedRegionException of UnsupportedRegionException.t
  12. | `Unknown_operation_error of string * string option
]
Sourceval make : ?gameSession:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `FleetCapacityExceededException of FleetCapacityExceededException.t | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InternalServiceException of InternalServiceException.t | `InvalidFleetStatusException of InvalidFleetStatusException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `TerminalRoutingStrategyException of TerminalRoutingStrategyException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `UnsupportedRegionException of UnsupportedRegionException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `FleetCapacityExceededException of FleetCapacityExceededException.t | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InternalServiceException of InternalServiceException.t | `InvalidFleetStatusException of InvalidFleetStatusException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `TerminalRoutingStrategyException of TerminalRoutingStrategyException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `UnsupportedRegionException of UnsupportedRegionException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of WholeNumber.t | `List of [> `Structure of (string * [> `String of GamePropertyKey.t ]) list ] list | `String of NonZeroAndMaxString.t | `Timestamp of Timestamp.t ]) list ]) 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