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

Description

Gets details about a game.

Synopsis

Creating a Request

data GetGame Source #

See: newGetGame smart constructor.

Constructors

GetGame' 

Fields

Instances

Instances details
ToHeaders GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

toHeaders :: GetGame -> [Header] #

ToPath GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

toPath :: GetGame -> ByteString #

ToQuery GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

AWSRequest GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Associated Types

type AWSResponse GetGame #

Generic GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Associated Types

type Rep GetGame :: Type -> Type #

Methods

from :: GetGame -> Rep GetGame x #

to :: Rep GetGame x -> GetGame #

Read GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Show GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

NFData GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

rnf :: GetGame -> () #

Eq GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

(==) :: GetGame -> GetGame -> Bool #

(/=) :: GetGame -> GetGame -> Bool #

Hashable GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

hashWithSalt :: Int -> GetGame -> Int #

hash :: GetGame -> Int #

type AWSResponse GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

type Rep GetGame Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

type Rep GetGame = D1 ('MetaData "GetGame" "Amazonka.GamesParks.GetGame" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "GetGame'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetGame Source #

Create a value of GetGame 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:gameName:GetGame', getGame_gameName - The name of the game.

Request Lenses

getGame_gameName :: Lens' GetGame Text Source #

The name of the game.

Destructuring the Response

data GetGameResponse Source #

See: newGetGameResponse smart constructor.

Constructors

GetGameResponse' 

Fields

Instances

Instances details
Generic GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Associated Types

type Rep GetGameResponse :: Type -> Type #

Read GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Show GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

NFData GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

Methods

rnf :: GetGameResponse -> () #

Eq GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

type Rep GetGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.GetGame

type Rep GetGameResponse = D1 ('MetaData "GetGameResponse" "Amazonka.GamesParks.GetGame" "amazonka-gamesparks-2.0-Lk18zLarGCU67rMOwLlDG5" 'False) (C1 ('MetaCons "GetGameResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "game") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GameDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGameResponse Source #

Create a value of GetGameResponse 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:game:GetGameResponse', getGameResponse_game - The details of the game.

$sel:httpStatus:GetGameResponse', getGameResponse_httpStatus - The response's http status code.

Response Lenses

getGameResponse_httpStatus :: Lens' GetGameResponse Int Source #

The response's http status code.