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

Description

Updates details of the game.

Synopsis

Creating a Request

data UpdateGame Source #

See: newUpdateGame smart constructor.

Constructors

UpdateGame' 

Fields

Instances

Instances details
ToJSON UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

ToHeaders UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Methods

toHeaders :: UpdateGame -> [Header] #

ToPath UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

ToQuery UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

AWSRequest UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Associated Types

type AWSResponse UpdateGame #

Generic UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Associated Types

type Rep UpdateGame :: Type -> Type #

Read UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Show UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

NFData UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Methods

rnf :: UpdateGame -> () #

Eq UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Hashable UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

type AWSResponse UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

type Rep UpdateGame Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

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

newUpdateGame Source #

Create a value of UpdateGame 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:

UpdateGame, updateGame_description - The description of the game.

$sel:gameName:UpdateGame', updateGame_gameName - The name of the game.

Request Lenses

updateGame_description :: Lens' UpdateGame (Maybe Text) Source #

The description of the game.

Destructuring the Response

data UpdateGameResponse Source #

See: newUpdateGameResponse smart constructor.

Constructors

UpdateGameResponse' 

Fields

Instances

Instances details
Generic UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Associated Types

type Rep UpdateGameResponse :: Type -> Type #

Read UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Show UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

NFData UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

Methods

rnf :: UpdateGameResponse -> () #

Eq UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

type Rep UpdateGameResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateGame

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

newUpdateGameResponse Source #

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

$sel:httpStatus:UpdateGameResponse', updateGameResponse_httpStatus - The response's http status code.

Response Lenses