amazonka-autoscaling-1.2.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.DeleteAutoScalingGroup

Contents

Description

Deletes the specified Auto Scaling group.

The group must have no instances and no scaling activities in progress.

To remove all instances before calling DeleteAutoScalingGroup, call UpdateAutoScalingGroup to set the minimum and maximum size of the Auto Scaling group to zero.

See: AWS API Reference for DeleteAutoScalingGroup.

Synopsis

Creating a Request

deleteAutoScalingGroup Source

Creates a value of DeleteAutoScalingGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dasgForceDelete :: Lens' DeleteAutoScalingGroup (Maybe Bool) Source

Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group.

Destructuring the Response

deleteAutoScalingGroupResponse :: DeleteAutoScalingGroupResponse Source

Creates a value of DeleteAutoScalingGroupResponse with the minimum fields required to make a request.