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 |
Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.
Note that if you suspend either the Launch
or Terminate
process types, it can prevent other process types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses
.
For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide .
Creating a Request
Creates a value of SuspendProcesses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spScalingProcesses
- One or more of the following processes. If you omit this parameter, all processes are specified. *Launch
*Terminate
*HealthCheck
*ReplaceUnhealthy
*AZRebalance
*AlarmNotification
*ScheduledActions
*AddToLoadBalancer
spAutoScalingGroupName
- The name of the Auto Scaling group.
data SuspendProcesses Source #
See: suspendProcesses
smart constructor.
Request Lenses
spScalingProcesses :: Lens' SuspendProcesses [Text] Source #
One or more of the following processes. If you omit this parameter, all processes are specified. * Launch
* Terminate
* HealthCheck
* ReplaceUnhealthy
* AZRebalance
* AlarmNotification
* ScheduledActions
* AddToLoadBalancer
spAutoScalingGroupName :: Lens' SuspendProcesses Text Source #
The name of the Auto Scaling group.
Destructuring the Response
suspendProcessesResponse :: SuspendProcessesResponse Source #
Creates a value of SuspendProcessesResponse
with the minimum fields required to make a request.
data SuspendProcessesResponse Source #
See: suspendProcessesResponse
smart constructor.