Skip to content

/AWS1/CL_GMS=>STARTSTAGEDEPLOYMENT()

About StartStageDeployment

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.

Method Signature

IMPORTING

Required arguments:

IV_GAMENAME TYPE /AWS1/GMSGAMENAME /AWS1/GMSGAMENAME

The name of the game.

IV_STAGENAME TYPE /AWS1/GMSSTAGENAME /AWS1/GMSSTAGENAME

The name of the stage to deploy the snapshot onto.

IV_SNAPSHOTID TYPE /AWS1/GMSSNAPSHOTID /AWS1/GMSSNAPSHOTID

The identifier of the snapshot to deploy.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/GMSCLIENTTOKEN /AWS1/GMSCLIENTTOKEN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GMSSTRTSTAGEDEPLOYM01 /AWS1/CL_GMSSTRTSTAGEDEPLOYM01