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

Description

 
Synopsis

Documentation

data GameSessionDetail Source #

A game session's properties plus the protection policy currently in force.

See: newGameSessionDetail smart constructor.

Constructors

GameSessionDetail' 

Fields

  • gameSession :: Maybe GameSession

    Object that describes a game session.

  • protectionPolicy :: Maybe ProtectionPolicy

    Current status of protection for the game session.

    • NoProtection -- The game session can be terminated during a scale-down event.
    • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

Instances

Instances details
Eq GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

Read GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

Show GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

Generic GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

Associated Types

type Rep GameSessionDetail :: Type -> Type #

NFData GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

Methods

rnf :: GameSessionDetail -> () #

Hashable GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

FromJSON GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

type Rep GameSessionDetail Source # 
Instance details

Defined in Amazonka.GameLift.Types.GameSessionDetail

type Rep GameSessionDetail = D1 ('MetaData "GameSessionDetail" "Amazonka.GameLift.Types.GameSessionDetail" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "GameSessionDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameSession") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GameSession)) :*: S1 ('MetaSel ('Just "protectionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProtectionPolicy))))

newGameSessionDetail :: GameSessionDetail Source #

Create a value of GameSessionDetail 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:gameSession:GameSessionDetail', gameSessionDetail_gameSession - Object that describes a game session.

$sel:protectionPolicy:GameSessionDetail', gameSessionDetail_protectionPolicy - Current status of protection for the game session.

  • NoProtection -- The game session can be terminated during a scale-down event.
  • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

gameSessionDetail_protectionPolicy :: Lens' GameSessionDetail (Maybe ProtectionPolicy) Source #

Current status of protection for the game session.

  • NoProtection -- The game session can be terminated during a scale-down event.
  • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.