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.EnterStandby

Contents

Description

Moves the specified instances into Standby mode.

For more information, see Auto Scaling Lifecycle 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:

  • esInstanceIds - One or more instances to move into Standby mode. You must specify at least one instance ID.
  • esAutoScalingGroupName - The name of the Auto Scaling group.
  • esShouldDecrementDesiredCapacity - Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.

data EnterStandby Source #

Contains the parameters for EnteStandby.

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 # 
ToPath EnterStandby Source # 
ToHeaders EnterStandby Source # 
ToQuery EnterStandby Source # 
type Rep EnterStandby Source # 
type Rep EnterStandby = D1 (MetaData "EnterStandby" "Network.AWS.AutoScaling.EnterStandby" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" 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 #

One or more instances to move into Standby mode. You must specify at least one instance ID.

esAutoScalingGroupName :: Lens' EnterStandby Text Source #

The name of the Auto Scaling group.

esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool Source #

Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements 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 #

Contains the output of EnterStandby.

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.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "EnterStandbyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ersActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Activity]))) (S1 (MetaSel (Just Symbol "_ersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (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.