amazonka-autoscaling-1.6.0: Amazon Auto Scaling 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.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 #

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 #

See: createOrUpdateTags smart constructor.

Instances

Eq CreateOrUpdateTags # 
Data CreateOrUpdateTags # 

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 # 
Show CreateOrUpdateTags # 
Generic CreateOrUpdateTags # 
Hashable CreateOrUpdateTags # 
NFData CreateOrUpdateTags # 

Methods

rnf :: CreateOrUpdateTags -> () #

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

Request Lenses

coutTags :: Lens' CreateOrUpdateTags [Tag] #

One or more tags.

Destructuring the Response

createOrUpdateTagsResponse :: CreateOrUpdateTagsResponse #

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

data CreateOrUpdateTagsResponse #

See: createOrUpdateTagsResponse smart constructor.

Instances

Eq CreateOrUpdateTagsResponse # 
Data CreateOrUpdateTagsResponse # 

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 # 
Show CreateOrUpdateTagsResponse # 
Generic CreateOrUpdateTagsResponse # 
NFData CreateOrUpdateTagsResponse # 
type Rep CreateOrUpdateTagsResponse # 
type Rep CreateOrUpdateTagsResponse = D1 * (MetaData "CreateOrUpdateTagsResponse" "Network.AWS.AutoScaling.CreateOrUpdateTags" "amazonka-autoscaling-1.6.0-DMznPeeRJvH7GRIPsqcJh1" False) (C1 * (MetaCons "CreateOrUpdateTagsResponse'" PrefixI False) (U1 *))