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

Description

Creates a new stage for stage-by-stage game development and deployment.

Synopsis

Creating a Request

data CreateStage Source #

See: newCreateStage smart constructor.

Constructors

CreateStage' 

Fields

Instances

Instances details
ToJSON CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

ToHeaders CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Methods

toHeaders :: CreateStage -> [Header] #

ToPath CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

ToQuery CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

AWSRequest CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Associated Types

type AWSResponse CreateStage #

Generic CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Associated Types

type Rep CreateStage :: Type -> Type #

Read CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Show CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

NFData CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Methods

rnf :: CreateStage -> () #

Eq CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Hashable CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

type AWSResponse CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

type Rep CreateStage Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

newCreateStage Source #

Create a value of CreateStage 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:clientToken:CreateStage', createStage_clientToken - A client-defined token. With an active client token in the request, this action is idempotent.

CreateStage, createStage_description - The description of the stage.

CreateStage, createStage_tags - The list of tags to apply to the stage.

$sel:gameName:CreateStage', createStage_gameName - The name of the game.

CreateStage, createStage_role - The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.

$sel:stageName:CreateStage', createStage_stageName - The name of the stage.

Request Lenses

createStage_clientToken :: Lens' CreateStage (Maybe Text) Source #

A client-defined token. With an active client token in the request, this action is idempotent.

createStage_description :: Lens' CreateStage (Maybe Text) Source #

The description of the stage.

createStage_tags :: Lens' CreateStage (Maybe (HashMap Text Text)) Source #

The list of tags to apply to the stage.

createStage_role :: Lens' CreateStage Text Source #

The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.

Destructuring the Response

data CreateStageResponse Source #

See: newCreateStageResponse smart constructor.

Constructors

CreateStageResponse' 

Fields

Instances

Instances details
Generic CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Associated Types

type Rep CreateStageResponse :: Type -> Type #

Read CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Show CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

NFData CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

Methods

rnf :: CreateStageResponse -> () #

Eq CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

type Rep CreateStageResponse Source # 
Instance details

Defined in Amazonka.GamesParks.CreateStage

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

newCreateStageResponse Source #

Create a value of CreateStageResponse 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:CreateStageResponse', createStageResponse_stage - Properties that describe the stage.

$sel:httpStatus:CreateStageResponse', createStageResponse_httpStatus - The response's http status code.

Response Lenses