amazonka-autoscaling-1.6.1: 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 # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Data EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.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 Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Show EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Generic EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Associated Types

type Rep EnterStandby :: Type -> Type #

Hashable EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

AWSRequest EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Associated Types

type Rs EnterStandby :: Type #

ToHeaders EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

ToPath EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

ToQuery EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

NFData EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Methods

rnf :: EnterStandby -> () #

type Rep EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

type Rep EnterStandby = D1 (MetaData "EnterStandby" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "EnterStandby'" PrefixI True) (S1 (MetaSel (Just "_esInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_esAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_esShouldDecrementDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Rs EnterStandby Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

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 # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Data EnterStandbyResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

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 # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Show EnterStandbyResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Generic EnterStandbyResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Associated Types

type Rep EnterStandbyResponse :: Type -> Type #

NFData EnterStandbyResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

Methods

rnf :: EnterStandbyResponse -> () #

type Rep EnterStandbyResponse Source # 
Instance details

Defined in Network.AWS.AutoScaling.EnterStandby

type Rep EnterStandbyResponse = D1 (MetaData "EnterStandbyResponse" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.6.1-AbdWdH026wCXAk2CK79vG" False) (C1 (MetaCons "EnterStandbyResponse'" PrefixI True) (S1 (MetaSel (Just "_ersActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Activity])) :*: S1 (MetaSel (Just "_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.