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

Description

Updates the metadata of a stage.

Synopsis

Creating a Request

data UpdateStage Source #

See: newUpdateStage smart constructor.

Constructors

UpdateStage' 

Fields

Instances

Instances details
ToJSON UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

ToHeaders UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Methods

toHeaders :: UpdateStage -> [Header] #

ToPath UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

ToQuery UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

AWSRequest UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Associated Types

type AWSResponse UpdateStage #

Generic UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Associated Types

type Rep UpdateStage :: Type -> Type #

Read UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Show UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

NFData UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Methods

rnf :: UpdateStage -> () #

Eq UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Hashable UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

type AWSResponse UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

type Rep UpdateStage Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

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

newUpdateStage Source #

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

UpdateStage, updateStage_description - The description of the stage.

UpdateStage, updateStage_role - The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage.

$sel:gameName:UpdateStage', updateStage_gameName - The name of the game.

$sel:stageName:UpdateStage', updateStage_stageName - The name of the stage.

Request Lenses

updateStage_description :: Lens' UpdateStage (Maybe Text) Source #

The description of the stage.

updateStage_role :: Lens' UpdateStage (Maybe Text) Source #

The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage.

Destructuring the Response

data UpdateStageResponse Source #

See: newUpdateStageResponse smart constructor.

Constructors

UpdateStageResponse' 

Fields

Instances

Instances details
Generic UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Associated Types

type Rep UpdateStageResponse :: Type -> Type #

Read UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Show UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

NFData UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

Methods

rnf :: UpdateStageResponse -> () #

Eq UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

type Rep UpdateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.UpdateStage

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

newUpdateStageResponse Source #

Create a value of UpdateStageResponse 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:stage:UpdateStageResponse', updateStageResponse_stage - Properties that provide details of the updated stage.

$sel:httpStatus:UpdateStageResponse', updateStageResponse_httpStatus - The response's http status code.

Response Lenses

updateStageResponse_stage :: Lens' UpdateStageResponse (Maybe StageDetails) Source #

Properties that provide details of the updated stage.