amazonka-autoscaling-1.4.5: 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 User Guide .

Synopsis

Creating a Request

suspendProcesses #

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 or Amazon Resource Name (ARN) of the Auto Scaling group.

data SuspendProcesses #

Contains the parameters for SuspendProcesses and ResumeProcesses.

See: suspendProcesses smart constructor.

Instances

Eq SuspendProcesses # 
Data SuspendProcesses # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SuspendProcesses -> c SuspendProcesses #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SuspendProcesses #

toConstr :: SuspendProcesses -> Constr #

dataTypeOf :: SuspendProcesses -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SuspendProcesses) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SuspendProcesses) #

gmapT :: (forall b. Data b => b -> b) -> SuspendProcesses -> SuspendProcesses #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SuspendProcesses -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SuspendProcesses -> r #

gmapQ :: (forall d. Data d => d -> u) -> SuspendProcesses -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SuspendProcesses -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SuspendProcesses -> m SuspendProcesses #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SuspendProcesses -> m SuspendProcesses #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SuspendProcesses -> m SuspendProcesses #

Read SuspendProcesses # 
Show SuspendProcesses # 
Generic SuspendProcesses # 
Hashable SuspendProcesses # 
NFData SuspendProcesses # 

Methods

rnf :: SuspendProcesses -> () #

AWSRequest SuspendProcesses # 
ToQuery SuspendProcesses # 
ToPath SuspendProcesses # 
ToHeaders SuspendProcesses # 
type Rep SuspendProcesses # 
type Rep SuspendProcesses = D1 (MetaData "SuspendProcesses" "Network.AWS.AutoScaling.SuspendProcesses" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "SuspendProcesses'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spScalingProcesses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_spAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SuspendProcesses # 

Request Lenses

spScalingProcesses :: Lens' SuspendProcesses [Text] #

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 #

The name or Amazon Resource Name (ARN) of the Auto Scaling group.

Destructuring the Response

suspendProcessesResponse :: SuspendProcessesResponse #

Creates a value of SuspendProcessesResponse with the minimum fields required to make a request.

data SuspendProcessesResponse #

See: suspendProcessesResponse smart constructor.

Instances

Eq SuspendProcessesResponse # 
Data SuspendProcessesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SuspendProcessesResponse -> c SuspendProcessesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SuspendProcessesResponse #

toConstr :: SuspendProcessesResponse -> Constr #

dataTypeOf :: SuspendProcessesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SuspendProcessesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SuspendProcessesResponse) #

gmapT :: (forall b. Data b => b -> b) -> SuspendProcessesResponse -> SuspendProcessesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SuspendProcessesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SuspendProcessesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SuspendProcessesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SuspendProcessesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SuspendProcessesResponse -> m SuspendProcessesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SuspendProcessesResponse -> m SuspendProcessesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SuspendProcessesResponse -> m SuspendProcessesResponse #

Read SuspendProcessesResponse # 
Show SuspendProcessesResponse # 
Generic SuspendProcessesResponse # 
NFData SuspendProcessesResponse # 
type Rep SuspendProcessesResponse # 
type Rep SuspendProcessesResponse = D1 (MetaData "SuspendProcessesResponse" "Network.AWS.AutoScaling.SuspendProcesses" "amazonka-autoscaling-1.4.5-7eWJWM4Di3O2fihmLpacNP" False) (C1 (MetaCons "SuspendProcessesResponse'" PrefixI False) U1)