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 #

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 #

See: enterStandby smart constructor.

Instances

Eq EnterStandby # 
Data EnterStandby # 

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 # 
Show EnterStandby # 
Generic EnterStandby # 

Associated Types

type Rep EnterStandby :: * -> * #

Hashable EnterStandby # 
NFData EnterStandby # 

Methods

rnf :: EnterStandby -> () #

AWSRequest EnterStandby # 
ToHeaders EnterStandby # 
ToPath EnterStandby # 
ToQuery EnterStandby # 
type Rep EnterStandby # 
type Rep EnterStandby = D1 * (MetaData "EnterStandby" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.0-DMznPeeRJvH7GRIPsqcJh1" 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 # 

Request Lenses

esInstanceIds :: Lens' EnterStandby [Text] #

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

esAutoScalingGroupName :: Lens' EnterStandby Text #

The name of the Auto Scaling group.

esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool #

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 #

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 #

See: enterStandbyResponse smart constructor.

Instances

Eq EnterStandbyResponse # 
Data EnterStandbyResponse # 

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 # 
Show EnterStandbyResponse # 
Generic EnterStandbyResponse # 
NFData EnterStandbyResponse # 

Methods

rnf :: EnterStandbyResponse -> () #

type Rep EnterStandbyResponse # 
type Rep EnterStandbyResponse = D1 * (MetaData "EnterStandbyResponse" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.0-DMznPeeRJvH7GRIPsqcJh1" 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] #

The activities related to moving instances into Standby mode.

ersResponseStatus :: Lens' EnterStandbyResponse Int #

  • - | The response status code.