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
)
[REQUIRED]
The name of the scaling plan.
[REQUIRED]
The version number of the scaling plan. Currently, the only valid value is 1
.
dict
Response Syntax
{}
Response Structure
Exceptions
AutoScalingPlans.Client.exceptions.ValidationException
AutoScalingPlans.Client.exceptions.ObjectNotFoundException
AutoScalingPlans.Client.exceptions.ConcurrentUpdateException
AutoScalingPlans.Client.exceptions.InternalServiceException