Skip to content

/AWS1/CL_GML=>DELETESCALINGPOLICY()

About DeleteScalingPolicy

Deletes a fleet scaling policy. Once deleted, the policy is no longer in force and Amazon GameLift removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.

To temporarily suspend scaling policies, use StopFleetActions. This operation suspends all policies for the fleet.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/GMLNONZEROANDMAXSTRING /AWS1/GMLNONZEROANDMAXSTRING

A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

IV_FLEETID TYPE /AWS1/GMLFLEETIDORARN /AWS1/GMLFLEETIDORARN

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