amazonka-autoscaling-0.3.3: Amazon Auto Scaling SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.DetachInstances

Contents

Description

Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide.

http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DetachInstances.html

Synopsis

Request

Request constructor

Request lenses

diInstanceIds :: Lens' DetachInstances [Text] Source

One or more instance IDs.

diShouldDecrementDesiredCapacity :: Lens' DetachInstances Bool Source

If True, the Auto Scaling group decrements the desired capacity value by the number of instances detached.

Response

Response constructor

detachInstancesResponse :: DetachInstancesResponse Source

DetachInstancesResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

dirActivities :: Lens' DetachInstancesResponse [Activity] Source

The activities related to detaching the instances from the Auto Scaling group.