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.TerminateInstanceInAutoScalingGroup

Contents

Description

Terminates the specified instance and optionally adjusts the desired group size.

This call simply makes a termination request. The instances is not terminated immediately.

See: AWS API Reference for TerminateInstanceInAutoScalingGroup.

Synopsis

Creating a Request

terminateInstanceInAutoScalingGroup Source

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

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

Request Lenses

tiiasgShouldDecrementDesiredCapacity :: Lens' TerminateInstanceInAutoScalingGroup Bool Source

If true, terminating this instance also decrements the size of the Auto Scaling group.

Destructuring the Response

terminateInstanceInAutoScalingGroupResponse Source

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

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

Response Lenses