Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- deleteAutoScalingGroup :: Text -> DeleteAutoScalingGroup
- data DeleteAutoScalingGroup
- dasgForceDelete :: Lens' DeleteAutoScalingGroup (Maybe Bool)
- dasgAutoScalingGroupName :: Lens' DeleteAutoScalingGroup Text
- deleteAutoScalingGroupResponse :: DeleteAutoScalingGroupResponse
- data DeleteAutoScalingGroupResponse
Creating a Request
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:
data DeleteAutoScalingGroup Source
See: deleteAutoScalingGroup
smart constructor.
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.
dasgAutoScalingGroupName :: Lens' DeleteAutoScalingGroup Text Source
The name of the group to delete.
Destructuring the Response
deleteAutoScalingGroupResponse :: DeleteAutoScalingGroupResponse Source
Creates a value of DeleteAutoScalingGroupResponse
with the minimum fields required to make a request.
data DeleteAutoScalingGroupResponse Source
See: deleteAutoScalingGroupResponse
smart constructor.