amazonka-gamesparks-2.0: Amazon GameSparks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GamesParks.Types.Connection

Description

 
Synopsis

Documentation

data Connection Source #

Details about a WebSocket connection.

See: newConnection smart constructor.

Constructors

Connection' 

Fields

  • created :: Maybe ISO8601

    The date and time when the connection was created.

  • id :: Maybe Text

    The identifier used to indicate a specific WebSocket connection.

Instances

Instances details
FromJSON Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

Generic Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

Associated Types

type Rep Connection :: Type -> Type #

Read Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

Show Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

NFData Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

Methods

rnf :: Connection -> () #

Eq Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

Hashable Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

type Rep Connection Source # 
Instance details

Defined in Amazonka.GamesParks.Types.Connection

type Rep Connection = D1 ('MetaData "Connection" "Amazonka.GamesParks.Types.Connection" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "Connection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "created") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newConnection :: Connection Source #

Create a value of Connection 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:created:Connection', connection_created - The date and time when the connection was created.

$sel:id:Connection', connection_id - The identifier used to indicate a specific WebSocket connection.

connection_created :: Lens' Connection (Maybe UTCTime) Source #

The date and time when the connection was created.

connection_id :: Lens' Connection (Maybe Text) Source #

The identifier used to indicate a specific WebSocket connection.