Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GameProperty = GameProperty' {}
- newGameProperty :: Text -> Text -> GameProperty
- gameProperty_key :: Lens' GameProperty Text
- gameProperty_value :: Lens' GameProperty Text
Documentation
data GameProperty Source #
Set of key-value pairs that contain information about a game session. When included in a game session request, these properties communicate details to be used when setting up the new game session. For example, a game property might specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session. For more information, see the GameLift Developer Guide.
See: newGameProperty
smart constructor.
Instances
Create a value of GameProperty
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:key:GameProperty'
, gameProperty_key
- The game property identifier.
$sel:value:GameProperty'
, gameProperty_value
- The game property value.
gameProperty_key :: Lens' GameProperty Text Source #
The game property identifier.
gameProperty_value :: Lens' GameProperty Text Source #
The game property value.