Safe Haskell | None |
---|---|
Language | Haskell2010 |
Terminates the specified instance and optionally adjusts the desired group size.
This call simply makes a termination request. The instances is not terminated immediately.
- data TerminateInstanceInAutoScalingGroup
- terminateInstanceInAutoScalingGroup :: Text -> Bool -> TerminateInstanceInAutoScalingGroup
- tiiasgInstanceId :: Lens' TerminateInstanceInAutoScalingGroup Text
- tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool
- data TerminateInstanceInAutoScalingGroupResponse
- terminateInstanceInAutoScalingGroupResponse :: TerminateInstanceInAutoScalingGroupResponse
- tiiasgrActivity :: Lens' TerminateInstanceInAutoScalingGroupResponse (Maybe Activity)
Request
data TerminateInstanceInAutoScalingGroup Source
Request constructor
terminateInstanceInAutoScalingGroup Source
TerminateInstanceInAutoScalingGroup
constructor.
The fields accessible through corresponding lenses are:
Request lenses
tiiasgInstanceId :: Lens' TerminateInstanceInAutoScalingGroup Text Source
The ID of the EC2 instance.
tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool Source
If true
, terminating this instance also decrements the size of the Auto
Scaling group.
Response
Response constructor
terminateInstanceInAutoScalingGroupResponse :: TerminateInstanceInAutoScalingGroupResponse Source
TerminateInstanceInAutoScalingGroupResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
tiiasgrActivity :: Lens' TerminateInstanceInAutoScalingGroupResponse (Maybe Activity) Source
A scaling activity.