AutoScalingPlans / Client / delete_scaling_plan

delete_scaling_plan#

AutoScalingPlans.Client.delete_scaling_plan(**kwargs)#

Deletes the specified scaling plan.

Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.

If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.

See also: AWS API Documentation

Request Syntax

response = client.delete_scaling_plan(
    ScalingPlanName='string',
    ScalingPlanVersion=123
)
Parameters:
  • ScalingPlanName (string) –

    [REQUIRED]

    The name of the scaling plan.

  • ScalingPlanVersion (integer) –

    [REQUIRED]

    The version number of the scaling plan. Currently, the only valid value is 1.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions