Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.
NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
 Declaration Syntax
 Declaration Syntax| C# | 
public DeleteAutoScalingGroupResponse DeleteAutoScalingGroup( DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest )
 Parameters
 Parameters- deleteAutoScalingGroupRequest (DeleteAutoScalingGroupRequest)
- Container for the necessary parameters to execute the DeleteAutoScalingGroup service method on AmazonAutoScaling.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ResourceInUseException | |
| ScalingActivityInProgressException |