Copyright | (c) 2013-2021 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 |
Moves the specified instances out of the standby state.
After you put the instances back in service, the desired capacity is incremented.
For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
Synopsis
- data ExitStandby = ExitStandby' {
- instanceIds :: Maybe [Text]
- autoScalingGroupName :: Text
- newExitStandby :: Text -> ExitStandby
- exitStandby_instanceIds :: Lens' ExitStandby (Maybe [Text])
- exitStandby_autoScalingGroupName :: Lens' ExitStandby Text
- data ExitStandbyResponse = ExitStandbyResponse' {
- activities :: Maybe [Activity]
- httpStatus :: Int
- newExitStandbyResponse :: Int -> ExitStandbyResponse
- exitStandbyResponse_activities :: Lens' ExitStandbyResponse (Maybe [Activity])
- exitStandbyResponse_httpStatus :: Lens' ExitStandbyResponse Int
Creating a Request
data ExitStandby Source #
See: newExitStandby
smart constructor.
ExitStandby' | |
|
Instances
Create a value of ExitStandby
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceIds:ExitStandby'
, exitStandby_instanceIds
- The IDs of the instances. You can specify up to 20 instances.
$sel:autoScalingGroupName:ExitStandby'
, exitStandby_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
exitStandby_instanceIds :: Lens' ExitStandby (Maybe [Text]) Source #
The IDs of the instances. You can specify up to 20 instances.
exitStandby_autoScalingGroupName :: Lens' ExitStandby Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data ExitStandbyResponse Source #
See: newExitStandbyResponse
smart constructor.
ExitStandbyResponse' | |
|
Instances
newExitStandbyResponse Source #
Create a value of ExitStandbyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activities:ExitStandbyResponse'
, exitStandbyResponse_activities
- The activities related to moving instances out of Standby
mode.
$sel:httpStatus:ExitStandbyResponse'
, exitStandbyResponse_httpStatus
- The response's http status code.
Response Lenses
exitStandbyResponse_activities :: Lens' ExitStandbyResponse (Maybe [Activity]) Source #
The activities related to moving instances out of Standby
mode.
exitStandbyResponse_httpStatus :: Lens' ExitStandbyResponse Int Source #
The response's http status code.