amazonka-autoscaling-plans-1.6.1: 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 # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Data UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

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 # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Show UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Generic UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Associated Types

type Rep UpdateScalingPlan :: Type -> Type #

Hashable UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

ToJSON UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

AWSRequest UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Associated Types

type Rs UpdateScalingPlan :: Type #

ToHeaders UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

ToPath UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

ToQuery UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

NFData UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Methods

rnf :: UpdateScalingPlan -> () #

type Rep UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlan = D1 (MetaData "UpdateScalingPlan" "Network.AWS.AutoScalingPlans.UpdateScalingPlan" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" False) (C1 (MetaCons "UpdateScalingPlan'" PrefixI True) ((S1 (MetaSel (Just "_uspScalingInstructions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScalingInstruction])) :*: S1 (MetaSel (Just "_uspApplicationSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationSource))) :*: (S1 (MetaSel (Just "_uspScalingPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uspScalingPlanVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer))))
type Rs UpdateScalingPlan Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

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 # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Data UpdateScalingPlanResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

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 # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Show UpdateScalingPlanResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Generic UpdateScalingPlanResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

Associated Types

type Rep UpdateScalingPlanResponse :: Type -> Type #

NFData UpdateScalingPlanResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlanResponse Source # 
Instance details

Defined in Network.AWS.AutoScalingPlans.UpdateScalingPlan

type Rep UpdateScalingPlanResponse = D1 (MetaData "UpdateScalingPlanResponse" "Network.AWS.AutoScalingPlans.UpdateScalingPlan" "amazonka-autoscaling-plans-1.6.1-3rcFdmqTtPU4fbtBlqlD3N" True) (C1 (MetaCons "UpdateScalingPlanResponse'" PrefixI True) (S1 (MetaSel (Just "_usprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses