amazonka-autoscaling-plans-1.6.0: Amazon Auto Scaling Plans 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.AutoScalingPlans.UpdateScalingPlan

Contents

Description

Updates the scaling plan for the specified scaling plan.

You cannot update a scaling plan if it is in the process of being created, updated, or deleted.

Synopsis

Creating a Request

updateScalingPlan Source #

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

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

data UpdateScalingPlan Source #

See: updateScalingPlan smart constructor.

Instances

Eq UpdateScalingPlan Source # 
Data UpdateScalingPlan Source # 

Methods

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

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

toConstr :: UpdateScalingPlan -> Constr #

dataTypeOf :: UpdateScalingPlan -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateScalingPlan -> () #

AWSRequest UpdateScalingPlan Source # 
ToHeaders UpdateScalingPlan Source # 
ToPath UpdateScalingPlan Source # 
ToQuery UpdateScalingPlan Source # 
type Rep UpdateScalingPlan Source # 
type Rep UpdateScalingPlan = D1 * (MetaData "UpdateScalingPlan" "Network.AWS.AutoScalingPlans.UpdateScalingPlan" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" False) (C1 * (MetaCons "UpdateScalingPlan'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uspScalingInstructions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ScalingInstruction]))) (S1 * (MetaSel (Just Symbol "_uspApplicationSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ApplicationSource)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uspScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_uspScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Integer)))))
type Rs UpdateScalingPlan Source # 

Request Lenses

uspApplicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource) Source #

A CloudFormation stack or set of tags.

uspScalingPlanName :: Lens' UpdateScalingPlan Text Source #

The name of the scaling plan.

Destructuring the Response

updateScalingPlanResponse Source #

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

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

data UpdateScalingPlanResponse Source #

See: updateScalingPlanResponse smart constructor.

Instances

Eq UpdateScalingPlanResponse Source # 
Data UpdateScalingPlanResponse Source # 

Methods

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

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

toConstr :: UpdateScalingPlanResponse -> Constr #

dataTypeOf :: UpdateScalingPlanResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateScalingPlanResponse Source # 
Show UpdateScalingPlanResponse Source # 
Generic UpdateScalingPlanResponse Source # 
NFData UpdateScalingPlanResponse Source # 
type Rep UpdateScalingPlanResponse Source # 
type Rep UpdateScalingPlanResponse = D1 * (MetaData "UpdateScalingPlanResponse" "Network.AWS.AutoScalingPlans.UpdateScalingPlan" "amazonka-autoscaling-plans-1.6.0-Hfib0l7BxANKcO5yWXZyyN" True) (C1 * (MetaCons "UpdateScalingPlanResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_usprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses