| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GameLift.Types.DesiredPlayerSession
Description
Documentation
data DesiredPlayerSession Source #
Player information for use when creating player sessions using a game session placement request.
See: newDesiredPlayerSession smart constructor.
Constructors
| DesiredPlayerSession' | |
Instances
newDesiredPlayerSession :: DesiredPlayerSession Source #
Create a value of DesiredPlayerSession with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:playerData:DesiredPlayerSession', desiredPlayerSession_playerData - Developer-defined information related to a player. GameLift does not use
this data, so it can be formatted as needed for use in the game.
$sel:playerId:DesiredPlayerSession', desiredPlayerSession_playerId - A unique identifier for a player to associate with the player session.
desiredPlayerSession_playerData :: Lens' DesiredPlayerSession (Maybe Text) Source #
Developer-defined information related to a player. GameLift does not use this data, so it can be formatted as needed for use in the game.
desiredPlayerSession_playerId :: Lens' DesiredPlayerSession (Maybe Text) Source #
A unique identifier for a player to associate with the player session.