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

Description

Deploys a snapshot to the stage and creates a new game runtime.

After you call this operation, you can check the deployment status by using GetStageDeployment.

If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. After there are no connections to the previous game runtime, it is deleted.

Synopsis

Creating a Request

data StartStageDeployment Source #

See: newStartStageDeployment smart constructor.

Constructors

StartStageDeployment' 

Fields

Instances

Instances details
ToJSON StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

ToHeaders StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

ToPath StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

ToQuery StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

AWSRequest StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Associated Types

type AWSResponse StartStageDeployment #

Generic StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Associated Types

type Rep StartStageDeployment :: Type -> Type #

Read StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Show StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

NFData StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Methods

rnf :: StartStageDeployment -> () #

Eq StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Hashable StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

type AWSResponse StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

type Rep StartStageDeployment Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

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

newStartStageDeployment Source #

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

$sel:gameName:StartStageDeployment', startStageDeployment_gameName - The name of the game.

StartStageDeployment, startStageDeployment_snapshotId - The identifier of the snapshot to deploy.

$sel:stageName:StartStageDeployment', startStageDeployment_stageName - The name of the stage to deploy the snapshot onto.

Request Lenses

startStageDeployment_clientToken :: Lens' StartStageDeployment (Maybe Text) Source #

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

startStageDeployment_snapshotId :: Lens' StartStageDeployment Text Source #

The identifier of the snapshot to deploy.

startStageDeployment_stageName :: Lens' StartStageDeployment Text Source #

The name of the stage to deploy the snapshot onto.

Destructuring the Response

data StartStageDeploymentResponse Source #

See: newStartStageDeploymentResponse smart constructor.

Constructors

StartStageDeploymentResponse' 

Fields

Instances

Instances details
Generic StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Associated Types

type Rep StartStageDeploymentResponse :: Type -> Type #

Read StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Show StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

NFData StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

Eq StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

type Rep StartStageDeploymentResponse Source # 
Instance details

Defined in Amazonka.GamesParks.StartStageDeployment

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

newStartStageDeploymentResponse Source #

Create a value of StartStageDeploymentResponse 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:stageDeployment:StartStageDeploymentResponse', startStageDeploymentResponse_stageDeployment - Properties that describe the stage deployment.

$sel:httpStatus:StartStageDeploymentResponse', startStageDeploymentResponse_httpStatus - The response's http status code.

Response Lenses