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.PlayerLatency

Description

 
Synopsis

Documentation

data PlayerLatency Source #

Regional latency information for a player, used when requesting a new game session with StartGameSessionPlacement. This value indicates the amount of time lag that exists when the player is connected to a fleet in the specified Region. The relative difference between a player's latency values for multiple Regions are used to determine which fleets are best suited to place a new game session for the player.

See: newPlayerLatency smart constructor.

Constructors

PlayerLatency' 

Fields

Instances

Instances details
Eq PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

Read PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

Show PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

Generic PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

Associated Types

type Rep PlayerLatency :: Type -> Type #

NFData PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

Methods

rnf :: PlayerLatency -> () #

Hashable PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

ToJSON PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

FromJSON PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

type Rep PlayerLatency Source # 
Instance details

Defined in Amazonka.GameLift.Types.PlayerLatency

type Rep PlayerLatency = D1 ('MetaData "PlayerLatency" "Amazonka.GameLift.Types.PlayerLatency" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "PlayerLatency'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latencyInMilliseconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "regionIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "playerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPlayerLatency :: PlayerLatency Source #

Create a value of PlayerLatency 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:latencyInMilliseconds:PlayerLatency', playerLatency_latencyInMilliseconds - Amount of time that represents the time lag experienced by the player when connected to the specified Region.

$sel:regionIdentifier:PlayerLatency', playerLatency_regionIdentifier - Name of the Region that is associated with the latency value.

$sel:playerId:PlayerLatency', playerLatency_playerId - A unique identifier for a player associated with the latency data.

playerLatency_latencyInMilliseconds :: Lens' PlayerLatency (Maybe Double) Source #

Amount of time that represents the time lag experienced by the player when connected to the specified Region.

playerLatency_regionIdentifier :: Lens' PlayerLatency (Maybe Text) Source #

Name of the Region that is associated with the latency value.

playerLatency_playerId :: Lens' PlayerLatency (Maybe Text) Source #

A unique identifier for a player associated with the latency data.