amazonka-autoscaling-1.4.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.SuspendProcesses

Contents

Description

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 Developer Guide.

Synopsis

Creating a Request

suspendProcesses Source

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:

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.