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_plan

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

  • AutoScalingPlans.Client.exceptions.ValidationException
  • AutoScalingPlans.Client.exceptions.ObjectNotFoundException
  • AutoScalingPlans.Client.exceptions.ConcurrentUpdateException
  • AutoScalingPlans.Client.exceptions.InternalServiceException