amazonka-discovery-1.5.0: Amazon Application Discovery Service 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.Discovery.CreateTags

Contents

Description

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

Synopsis

Creating a Request

createTags :: CreateTags Source #

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

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

  • ctConfigurationIds - A list of configuration items that you want to tag.
  • ctTags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key -value format. For example: {"key": "serverType", "value": "webServer"}

data CreateTags Source #

See: createTags smart constructor.

Instances

Eq CreateTags Source # 
Data CreateTags Source # 

Methods

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

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

toConstr :: CreateTags -> Constr #

dataTypeOf :: CreateTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTags Source # 
Show CreateTags Source # 
Generic CreateTags Source # 

Associated Types

type Rep CreateTags :: * -> * #

Hashable CreateTags Source # 
ToJSON CreateTags Source # 
NFData CreateTags Source # 

Methods

rnf :: CreateTags -> () #

AWSRequest CreateTags Source # 
ToQuery CreateTags Source # 
ToPath CreateTags Source # 
ToHeaders CreateTags Source # 

Methods

toHeaders :: CreateTags -> [Header] #

type Rep CreateTags Source # 
type Rep CreateTags = D1 (MetaData "CreateTags" "Network.AWS.Discovery.CreateTags" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" False) (C1 (MetaCons "CreateTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctConfigurationIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_ctTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Tag]))))
type Rs CreateTags Source # 

Request Lenses

ctConfigurationIds :: Lens' CreateTags [Text] Source #

A list of configuration items that you want to tag.

ctTags :: Lens' CreateTags [Tag] Source #

Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key -value format. For example: {"key": "serverType", "value": "webServer"}

Destructuring the Response

createTagsResponse Source #

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

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

data CreateTagsResponse Source #

See: createTagsResponse smart constructor.

Instances

Eq CreateTagsResponse Source # 
Data CreateTagsResponse Source # 

Methods

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

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

toConstr :: CreateTagsResponse -> Constr #

dataTypeOf :: CreateTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTagsResponse Source # 
Show CreateTagsResponse Source # 
Generic CreateTagsResponse Source # 
NFData CreateTagsResponse Source # 

Methods

rnf :: CreateTagsResponse -> () #

type Rep CreateTagsResponse Source # 
type Rep CreateTagsResponse = D1 (MetaData "CreateTagsResponse" "Network.AWS.Discovery.CreateTags" "amazonka-discovery-1.5.0-9zAudG659YgC8BiK47CJ9D" True) (C1 (MetaCons "CreateTagsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ctrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

ctrsResponseStatus :: Lens' CreateTagsResponse Int Source #

  • - | The response status code.