Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Moves the specified instances into Standby
mode.
For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide .
- enterStandby :: Text -> Bool -> EnterStandby
- data EnterStandby
- esInstanceIds :: Lens' EnterStandby [Text]
- esAutoScalingGroupName :: Lens' EnterStandby Text
- esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool
- enterStandbyResponse :: Int -> EnterStandbyResponse
- data EnterStandbyResponse
- ersActivities :: Lens' EnterStandbyResponse [Activity]
- ersResponseStatus :: Lens' EnterStandbyResponse Int
Creating a Request
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:
esInstanceIds
- One or more instances to move intoStandby
mode. You must specify at least one instance ID.esAutoScalingGroupName
- The name of the Auto Scaling group.esShouldDecrementDesiredCapacity
- Specifies whether the instances moved toStandby
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 toStandby
mode.
data EnterStandby Source #
Contains the parameters for EnteStandby.
See: enterStandby
smart constructor.
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
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:
ersActivities
- The activities related to moving instances intoStandby
mode.ersResponseStatus
- -- | The response status code.
data EnterStandbyResponse Source #
Contains the output of EnterStandby.
See: enterStandbyResponse
smart constructor.
Response Lenses
ersActivities :: Lens' EnterStandbyResponse [Activity] Source #
The activities related to moving instances into Standby
mode.
ersResponseStatus :: Lens' EnterStandbyResponse Int Source #
- - | The response status code.