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

Description

 
Synopsis

Documentation

data MatchedPlayerSession Source #

Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request.

When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.

See: newMatchedPlayerSession smart constructor.

Constructors

MatchedPlayerSession' 

Fields

Instances

Instances details
Eq MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

Read MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

Show MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

Generic MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

Associated Types

type Rep MatchedPlayerSession :: Type -> Type #

NFData MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

Methods

rnf :: MatchedPlayerSession -> () #

Hashable MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

FromJSON MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

type Rep MatchedPlayerSession Source # 
Instance details

Defined in Amazonka.GameLift.Types.MatchedPlayerSession

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

newMatchedPlayerSession :: MatchedPlayerSession Source #

Create a value of MatchedPlayerSession 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:playerSessionId:MatchedPlayerSession', matchedPlayerSession_playerSessionId - A unique identifier for a player session

$sel:playerId:MatchedPlayerSession', matchedPlayerSession_playerId - A unique identifier for a player