Copyright | (c) 2013-2015 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 InService State in the Auto Scaling Developer Guide.
See: AWS API Reference for EnterStandby.
- enterStandby :: Text -> Bool -> EnterStandby
- data EnterStandby
- esInstanceIds :: Lens' EnterStandby [Text]
- esAutoScalingGroupName :: Lens' EnterStandby Text
- esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool
- enterStandbyResponse :: Int -> EnterStandbyResponse
- data EnterStandbyResponse
- esrsActivities :: Lens' EnterStandbyResponse [Activity]
- esrsStatus :: 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:
data EnterStandby Source
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.
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:
data EnterStandbyResponse Source
See: enterStandbyResponse
smart constructor.
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.