amazonka-opsworks-1.4.5: Amazon OpsWorks 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.OpsWorks.SetTimeBasedAutoScaling

Contents

Description

Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances .

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Synopsis

Creating a Request

setTimeBasedAutoScaling Source #

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

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

data SetTimeBasedAutoScaling Source #

See: setTimeBasedAutoScaling smart constructor.

Instances

Eq SetTimeBasedAutoScaling Source # 
Data SetTimeBasedAutoScaling Source # 

Methods

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

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

toConstr :: SetTimeBasedAutoScaling -> Constr #

dataTypeOf :: SetTimeBasedAutoScaling -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTimeBasedAutoScaling Source # 
Show SetTimeBasedAutoScaling Source # 
Generic SetTimeBasedAutoScaling Source # 
Hashable SetTimeBasedAutoScaling Source # 
ToJSON SetTimeBasedAutoScaling Source # 
NFData SetTimeBasedAutoScaling Source # 

Methods

rnf :: SetTimeBasedAutoScaling -> () #

AWSRequest SetTimeBasedAutoScaling Source # 
ToPath SetTimeBasedAutoScaling Source # 
ToHeaders SetTimeBasedAutoScaling Source # 
ToQuery SetTimeBasedAutoScaling Source # 
type Rep SetTimeBasedAutoScaling Source # 
type Rep SetTimeBasedAutoScaling = D1 (MetaData "SetTimeBasedAutoScaling" "Network.AWS.OpsWorks.SetTimeBasedAutoScaling" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "SetTimeBasedAutoScaling'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stbasAutoScalingSchedule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe WeeklyAutoScalingSchedule))) (S1 (MetaSel (Just Symbol "_stbasInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SetTimeBasedAutoScaling Source # 

Request Lenses

stbasAutoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule) Source #

An AutoScalingSchedule with the instance schedule.

Destructuring the Response

setTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse Source #

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

data SetTimeBasedAutoScalingResponse Source #

See: setTimeBasedAutoScalingResponse smart constructor.

Instances

Eq SetTimeBasedAutoScalingResponse Source # 
Data SetTimeBasedAutoScalingResponse Source # 

Methods

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

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

toConstr :: SetTimeBasedAutoScalingResponse -> Constr #

dataTypeOf :: SetTimeBasedAutoScalingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTimeBasedAutoScalingResponse Source # 
Show SetTimeBasedAutoScalingResponse Source # 
Generic SetTimeBasedAutoScalingResponse Source # 
NFData SetTimeBasedAutoScalingResponse Source # 
type Rep SetTimeBasedAutoScalingResponse Source # 
type Rep SetTimeBasedAutoScalingResponse = D1 (MetaData "SetTimeBasedAutoScalingResponse" "Network.AWS.OpsWorks.SetTimeBasedAutoScaling" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "SetTimeBasedAutoScalingResponse'" PrefixI False) U1)