amazonka-autoscaling-1.4.1: 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.PutScheduledUpdateGroupAction

Contents

Description

Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.

For more information, see Scheduled Scaling in the Auto Scaling Developer Guide.

Synopsis

Creating a Request

data PutScheduledUpdateGroupAction Source #

See: putScheduledUpdateGroupAction smart constructor.

Instances

Eq PutScheduledUpdateGroupAction Source # 
Data PutScheduledUpdateGroupAction Source # 

Methods

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

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

toConstr :: PutScheduledUpdateGroupAction -> Constr #

dataTypeOf :: PutScheduledUpdateGroupAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutScheduledUpdateGroupAction Source # 
Show PutScheduledUpdateGroupAction Source # 
Generic PutScheduledUpdateGroupAction Source # 
Hashable PutScheduledUpdateGroupAction Source # 
NFData PutScheduledUpdateGroupAction Source # 
AWSRequest PutScheduledUpdateGroupAction Source # 
ToQuery PutScheduledUpdateGroupAction Source # 
ToPath PutScheduledUpdateGroupAction Source # 
ToHeaders PutScheduledUpdateGroupAction Source # 
type Rep PutScheduledUpdateGroupAction Source # 
type Rep PutScheduledUpdateGroupAction = D1 (MetaData "PutScheduledUpdateGroupAction" "Network.AWS.AutoScaling.PutScheduledUpdateGroupAction" "amazonka-autoscaling-1.4.1-6n1gZhuATc42fDCbIaB7wz" False) (C1 (MetaCons "PutScheduledUpdateGroupAction'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psugaStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_psugaTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_psugaMaxSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_psugaRecurrence") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psugaDesiredCapacity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_psugaMinSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_psugaEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_psugaAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psugaScheduledActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs PutScheduledUpdateGroupAction Source # 

Request Lenses

psugaStartTime :: Lens' PutScheduledUpdateGroupAction (Maybe UTCTime) Source #

The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, '2014-06-01T00:00:00Z').

If you try to schedule your action in the past, Auto Scaling returns an error message.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

psugaMaxSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source #

The maximum size for the Auto Scaling group.

psugaRecurrence :: Lens' PutScheduledUpdateGroupAction (Maybe Text) Source #

The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

psugaDesiredCapacity :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source #

The number of EC2 instances that should be running in the group.

psugaMinSize :: Lens' PutScheduledUpdateGroupAction (Maybe Int) Source #

The minimum size for the Auto Scaling group.

psugaAutoScalingGroupName :: Lens' PutScheduledUpdateGroupAction Text Source #

The name or Amazon Resource Name (ARN) of the Auto Scaling group.

Destructuring the Response

data PutScheduledUpdateGroupActionResponse Source #

Instances

Eq PutScheduledUpdateGroupActionResponse Source # 
Data PutScheduledUpdateGroupActionResponse Source # 

Methods

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

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

toConstr :: PutScheduledUpdateGroupActionResponse -> Constr #

dataTypeOf :: PutScheduledUpdateGroupActionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutScheduledUpdateGroupActionResponse Source # 
Show PutScheduledUpdateGroupActionResponse Source # 
Generic PutScheduledUpdateGroupActionResponse Source # 
NFData PutScheduledUpdateGroupActionResponse Source # 
type Rep PutScheduledUpdateGroupActionResponse Source # 
type Rep PutScheduledUpdateGroupActionResponse = D1 (MetaData "PutScheduledUpdateGroupActionResponse" "Network.AWS.AutoScaling.PutScheduledUpdateGroupAction" "amazonka-autoscaling-1.4.1-6n1gZhuATc42fDCbIaB7wz" False) (C1 (MetaCons "PutScheduledUpdateGroupActionResponse'" PrefixI False) U1)