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 |
Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group.
If you suspend either the Launch
or Terminate
process types, it can
prevent other process types from functioning properly. For more
information, see
Suspending and resuming scaling processes
in the Amazon EC2 Auto Scaling User Guide.
To resume processes that have been suspended, call the ResumeProcesses API.
Synopsis
- data SuspendProcesses = SuspendProcesses' {}
- newSuspendProcesses :: Text -> SuspendProcesses
- suspendProcesses_scalingProcesses :: Lens' SuspendProcesses (Maybe [Text])
- suspendProcesses_autoScalingGroupName :: Lens' SuspendProcesses Text
- data SuspendProcessesResponse = SuspendProcessesResponse' {
- newSuspendProcessesResponse :: SuspendProcessesResponse
Creating a Request
data SuspendProcesses Source #
See: newSuspendProcesses
smart constructor.
SuspendProcesses' | |
|
Instances
Create a value of SuspendProcesses
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:scalingProcesses:SuspendProcesses'
, suspendProcesses_scalingProcesses
- One or more of the following processes:
Launch
Terminate
AddToLoadBalancer
AlarmNotification
AZRebalance
HealthCheck
InstanceRefresh
ReplaceUnhealthy
ScheduledActions
If you omit this parameter, all processes are specified.
$sel:autoScalingGroupName:SuspendProcesses'
, suspendProcesses_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
suspendProcesses_scalingProcesses :: Lens' SuspendProcesses (Maybe [Text]) Source #
One or more of the following processes:
Launch
Terminate
AddToLoadBalancer
AlarmNotification
AZRebalance
HealthCheck
InstanceRefresh
ReplaceUnhealthy
ScheduledActions
If you omit this parameter, all processes are specified.
suspendProcesses_autoScalingGroupName :: Lens' SuspendProcesses Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data SuspendProcessesResponse Source #
See: newSuspendProcessesResponse
smart constructor.
Instances
Eq SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses | |
Read SuspendProcessesResponse Source # | |
Show SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses showsPrec :: Int -> SuspendProcessesResponse -> ShowS # show :: SuspendProcessesResponse -> String # showList :: [SuspendProcessesResponse] -> ShowS # | |
Generic SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses type Rep SuspendProcessesResponse :: Type -> Type # | |
NFData SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses rnf :: SuspendProcessesResponse -> () # | |
type Rep SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses |
newSuspendProcessesResponse :: SuspendProcessesResponse Source #
Create a value of SuspendProcessesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.