amazonka-autoscaling-1.5.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2017 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.AutoScaling.CreateOrUpdateTags

Contents

Description

Creates or updates tags for the specified Auto Scaling group.

When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide .

Synopsis

Creating a Request

createOrUpdateTags :: CreateOrUpdateTags Source #

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

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

data CreateOrUpdateTags Source #

See: createOrUpdateTags smart constructor.

Instances

Eq CreateOrUpdateTags Source # 
Data CreateOrUpdateTags Source # 

Methods

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

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

toConstr :: CreateOrUpdateTags -> Constr #

dataTypeOf :: CreateOrUpdateTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateOrUpdateTags Source # 
Show CreateOrUpdateTags Source # 
Generic CreateOrUpdateTags Source # 
Hashable CreateOrUpdateTags Source # 
NFData CreateOrUpdateTags Source # 

Methods

rnf :: CreateOrUpdateTags -> () #

AWSRequest CreateOrUpdateTags Source # 
ToQuery CreateOrUpdateTags Source # 
ToPath CreateOrUpdateTags Source # 
ToHeaders CreateOrUpdateTags Source # 
type Rep CreateOrUpdateTags Source # 
type Rep CreateOrUpdateTags = D1 (MetaData "CreateOrUpdateTags" "Network.AWS.AutoScaling.CreateOrUpdateTags" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" True) (C1 (MetaCons "CreateOrUpdateTags'" PrefixI True) (S1 (MetaSel (Just Symbol "_coutTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Tag])))
type Rs CreateOrUpdateTags Source # 

Request Lenses

Destructuring the Response

createOrUpdateTagsResponse :: CreateOrUpdateTagsResponse Source #

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

data CreateOrUpdateTagsResponse Source #

See: createOrUpdateTagsResponse smart constructor.

Instances

Eq CreateOrUpdateTagsResponse Source # 
Data CreateOrUpdateTagsResponse Source # 

Methods

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

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

toConstr :: CreateOrUpdateTagsResponse -> Constr #

dataTypeOf :: CreateOrUpdateTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateOrUpdateTagsResponse Source # 
Show CreateOrUpdateTagsResponse Source # 
Generic CreateOrUpdateTagsResponse Source # 
NFData CreateOrUpdateTagsResponse Source # 
type Rep CreateOrUpdateTagsResponse Source # 
type Rep CreateOrUpdateTagsResponse = D1 (MetaData "CreateOrUpdateTagsResponse" "Network.AWS.AutoScaling.CreateOrUpdateTags" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" False) (C1 (MetaCons "CreateOrUpdateTagsResponse'" PrefixI False) U1)