Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Moves the specified instances into the standby state.
For more information, see Temporarily Removing Instances from Your Auto Scaling Group 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
- The IDs of the instances. You can specify up to 20 instances.esAutoScalingGroupName
- The name of the Auto Scaling group.esShouldDecrementDesiredCapacity
- Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved toStandby
mode.
data EnterStandby Source #
See: enterStandby
smart constructor.
Request Lenses
esInstanceIds :: Lens' EnterStandby [Text] Source #
The IDs of the instances. You can specify up to 20 instances.
esAutoScalingGroupName :: Lens' EnterStandby Text Source #
The name of the Auto Scaling group.
esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool Source #
Indicates whether to decrement the desired capacity of the Auto Scaling group 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 #
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.