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 |
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the ScalingProcesses
parameter. To suspend all processes, omit the ScalingProcesses
parameter.
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 Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide.
See: AWS API Reference for SuspendProcesses.
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:
data SuspendProcesses Source
See: suspendProcesses
smart constructor.
Request Lenses
spScalingProcesses :: Lens' SuspendProcesses [Text] Source
One or more of the following processes:
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
spAutoScalingGroupName :: Lens' SuspendProcesses Text Source
The name or Amazon Resource Name (ARN) 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.