Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data DetachInstances
- detachInstances :: Text -> Bool -> DetachInstances
- diAutoScalingGroupName :: Lens' DetachInstances Text
- diInstanceIds :: Lens' DetachInstances [Text]
- diShouldDecrementDesiredCapacity :: Lens' DetachInstances Bool
- data DetachInstancesResponse
- detachInstancesResponse :: DetachInstancesResponse
- dirActivities :: Lens' DetachInstancesResponse [Activity]
Request
data DetachInstances Source
Request constructor
DetachInstances
constructor.
The fields accessible through corresponding lenses are:
Request lenses
diAutoScalingGroupName :: Lens' DetachInstances Text Source
The name of the group.
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:
dirActivities
::
[Activity
]
Response lenses
dirActivities :: Lens' DetachInstancesResponse [Activity] Source
The activities related to detaching the instances from the Auto Scaling group.