Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_scaling_policy

delete_scaling_policy(**kwargs)

Deletes a fleet scaling policy. Once deleted, the policy is no longer in force and 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.

See also: AWS API Documentation

Request Syntax

response = client.delete_scaling_policy(
    Name='string',
    FleetId='string'
)
Parameters
  • Name (string) --

    [REQUIRED]

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

  • FleetId (string) --

    [REQUIRED]

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

Returns

None

Exceptions

  • GameLift.Client.exceptions.InternalServiceException
  • GameLift.Client.exceptions.InvalidRequestException
  • GameLift.Client.exceptions.UnauthorizedException
  • GameLift.Client.exceptions.NotFoundException