libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.Types.GameProperty

Description

 
Synopsis

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' 

Fields

Instances

Instances details
Eq GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

Read GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

Show GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

Generic GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

Associated Types

type Rep GameProperty :: Type -> Type #

NFData GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

Methods

rnf :: GameProperty -> () #

Hashable GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

ToJSON GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

FromJSON GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

type Rep GameProperty Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameProperty

type Rep GameProperty = D1 ('MetaData "GameProperty" "Amazonka.GameLift.Types.GameProperty" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "GameProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGameProperty Source #

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.