Values.DescribePlayerSessionsOutputSourceThis API works with the following fleet types: EC2, Anywhere, Container Retrieves properties for one or more player sessions. This action can be used in the following ways: To retrieve a specific player session, provide the player session ID only. To retrieve all player sessions in a game session, provide the game session ID only. To retrieve all player sessions for a specific player, provide a player ID only. To request player sessions, specify either a player session ID, game session ID, or player ID. You can filter this request by player session status. If you provide a specific PlayerSessionId or PlayerId, Amazon GameLift Servers ignores the filter criteria. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a PlayerSession object is returned for each session that matches the request. Related actions All APIs by task
type nonrec t = {playerSessions : PlayerSessionList.t option;A collection of objects containing properties for each player session that matches the request.
*)nextToken : NonZeroAndMaxString.t option;A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
*)}type nonrec error = [ | `InternalServiceException of InternalServiceException.t| `InvalidRequestException of InvalidRequestException.t| `NotFoundException of NotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `NotFoundException of NotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServiceException of InternalServiceException.t
| `InvalidRequestException of InvalidRequestException.t
| `NotFoundException of NotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of PortNumber.t
| `String of PlayerSessionId.t
| `Timestamp of Timestamp.t ])
list ]
list
| `String of NonZeroAndMaxString.t ])
list ]