amazonka-autoscaling-1.6.0: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling.EnterStandby

Contents

Description

Moves the specified instances into the standby state.

For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide .

Synopsis

Creating a Request

enterStandby Source #

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

Use one of the following lenses to modify other fields as desired:

data EnterStandby Source #

See: enterStandby smart constructor.

Instances

Eq EnterStandby Source # 
Data EnterStandby Source # 

Methods

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

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

toConstr :: EnterStandby -> Constr #

dataTypeOf :: EnterStandby -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnterStandby Source # 
Show EnterStandby Source # 
Generic EnterStandby Source # 

Associated Types

type Rep EnterStandby :: * -> * #

Hashable EnterStandby Source # 
NFData EnterStandby Source # 

Methods

rnf :: EnterStandby -> () #

AWSRequest EnterStandby Source # 
ToHeaders EnterStandby Source # 
ToPath EnterStandby Source # 
ToQuery EnterStandby Source # 
type Rep EnterStandby Source # 
type Rep EnterStandby = D1 * (MetaData "EnterStandby" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.0-Cbg5YTxJJyv60SSUTcTsy3" False) (C1 * (MetaCons "EnterStandby'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_esInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_esAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_esShouldDecrementDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Bool)))))
type Rs EnterStandby Source # 

Request Lenses

esInstanceIds :: Lens' EnterStandby [Text] Source #

The IDs of the instances. You can specify up to 20 instances.

esAutoScalingGroupName :: Lens' EnterStandby Text Source #

The name of the Auto Scaling group.

esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool Source #

Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.

Destructuring the Response

enterStandbyResponse Source #

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

Use one of the following lenses to modify other fields as desired:

data EnterStandbyResponse Source #

See: enterStandbyResponse smart constructor.

Instances

Eq EnterStandbyResponse Source # 
Data EnterStandbyResponse Source # 

Methods

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

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

toConstr :: EnterStandbyResponse -> Constr #

dataTypeOf :: EnterStandbyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnterStandbyResponse Source # 
Show EnterStandbyResponse Source # 
Generic EnterStandbyResponse Source # 
NFData EnterStandbyResponse Source # 

Methods

rnf :: EnterStandbyResponse -> () #

type Rep EnterStandbyResponse Source # 
type Rep EnterStandbyResponse = D1 * (MetaData "EnterStandbyResponse" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.0-Cbg5YTxJJyv60SSUTcTsy3" False) (C1 * (MetaCons "EnterStandbyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ersActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Activity]))) (S1 * (MetaSel (Just Symbol "_ersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ersActivities :: Lens' EnterStandbyResponse [Activity] Source #

The activities related to moving instances into Standby mode.

ersResponseStatus :: Lens' EnterStandbyResponse Int Source #

  • - | The response status code.