Skip to content

/AWS1/CL_GML=>DELETEFLEETLOCATIONS()

About DeleteFleetLocations

Removes locations from a multi-location fleet. When deleting a location, all game server process and all instances that are still active in the location are shut down.

To delete fleet locations, identify the fleet ID and provide a list of the locations to be deleted.

If successful, GameLift sets the location status to DELETING, and begins to shut down existing server processes and terminate instances in each location being deleted. When completed, the location status changes to TERMINATED.

Learn more

Setting up Amazon GameLift fleets

Method Signature

IMPORTING

Required arguments:

IV_FLEETID TYPE /AWS1/GMLFLEETIDORARN /AWS1/GMLFLEETIDORARN

A unique identifier for the fleet to delete locations for. You can use either the fleet ID or ARN value.

IT_LOCATIONS TYPE /AWS1/CL_GMLLOCATIONLIST_W=>TT_LOCATIONLIST TT_LOCATIONLIST

The list of fleet locations to delete. Specify locations in the form of an Amazon Web Services Region code, such as us-west-2.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GMLDELETEFLEETLOCSOUT /AWS1/CL_GMLDELETEFLEETLOCSOUT