| 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.GameProperty
Description
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.
Constructors
| GameProperty' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GameProperty |
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.