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 #

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 #

Contains the parameters for EnteStandby.

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

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

esAutoScalingGroupName :: Lens' EnterStandby Text #

The name of the Auto Scaling group.

esShouldDecrementDesiredCapacity :: Lens' EnterStandby Bool #

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 #

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 #

Contains the output of EnterStandby.

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.4.5-7eWJWM4Di3O2fihmLpacNP" 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] #

The activities related to moving instances into Standby mode.

ersResponseStatus :: Lens' EnterStandbyResponse Int #

  • - | The response status code.