:doc:`AutoScalingPlans <../../autoscaling-plans>` / Client / delete_scaling_plan

*******************
delete_scaling_plan
*******************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DeleteScalingPlan>`_  


  **Request Syntax**
  ::

    response = client.delete_scaling_plan(
        ScalingPlanName='string',
        ScalingPlanVersion=123
    )
    
  :type ScalingPlanName: string
  :param ScalingPlanName: **[REQUIRED]** 

    The name of the scaling plan.

    

  
  :type ScalingPlanVersion: integer
  :param ScalingPlanVersion: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AutoScalingPlans.Client.exceptions.ValidationException`

  
  *   :py:class:`AutoScalingPlans.Client.exceptions.ObjectNotFoundException`

  
  *   :py:class:`AutoScalingPlans.Client.exceptions.ConcurrentUpdateException`

  
  *   :py:class:`AutoScalingPlans.Client.exceptions.InternalServiceException`

  