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

Contents

Description

Moves the specified instances into Standby mode.

For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide.

See: AWS API Reference for EnterStandby.

Synopsis

Creating a Request

enterStandby Source

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

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

Request Lenses

esInstanceIds :: Lens' EnterStandby [Text] Source

One or more instances to move into Standby mode. You must specify at least one instance ID.

esAutoScalingGroupName :: Lens' EnterStandby Text Source

The name of the Auto Scaling group.

esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool Source

Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.

Destructuring the Response

enterStandbyResponse Source

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

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

Response Lenses

esrsActivities :: Lens' EnterStandbyResponse [Activity] Source

The activities related to moving instances into Standby mode.

esrsStatus :: Lens' EnterStandbyResponse Int Source

The response status code.