amazonka-elasticsearch-1.5.0: Amazon Elasticsearch 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.ElasticSearch.AddTags

Contents

Description

Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.

Synopsis

Creating a Request

addTags Source #

Arguments

:: Text

atARN

-> AddTags 

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

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

  • atARN - Specify the ARN for which you want to add the tags.
  • atTagList - List of Tag that need to be added for the Elasticsearch domain.

data AddTags Source #

Container for the parameters to the AddTags operation. Specify the tags that you want to attach to the Elasticsearch domain.

See: addTags smart constructor.

Instances

Eq AddTags Source # 

Methods

(==) :: AddTags -> AddTags -> Bool #

(/=) :: AddTags -> AddTags -> Bool #

Data AddTags Source # 

Methods

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

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

toConstr :: AddTags -> Constr #

dataTypeOf :: AddTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTags Source # 
Show AddTags Source # 
Generic AddTags Source # 

Associated Types

type Rep AddTags :: * -> * #

Methods

from :: AddTags -> Rep AddTags x #

to :: Rep AddTags x -> AddTags #

Hashable AddTags Source # 

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

ToJSON AddTags Source # 
NFData AddTags Source # 

Methods

rnf :: AddTags -> () #

AWSRequest AddTags Source # 

Associated Types

type Rs AddTags :: * #

ToQuery AddTags Source # 
ToPath AddTags Source # 

Methods

toPath :: AddTags -> ByteString #

ToHeaders AddTags Source # 

Methods

toHeaders :: AddTags -> [Header] #

type Rep AddTags Source # 
type Rep AddTags = D1 (MetaData "AddTags" "Network.AWS.ElasticSearch.AddTags" "amazonka-elasticsearch-1.5.0-KveUfsGPOsRFet3coWBBEe" False) (C1 (MetaCons "AddTags'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_atTagList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Tag]))))
type Rs AddTags Source # 

Request Lenses

atARN :: Lens' AddTags Text Source #

Specify the ARN for which you want to add the tags.

atTagList :: Lens' AddTags [Tag] Source #

List of Tag that need to be added for the Elasticsearch domain.

Destructuring the Response

addTagsResponse :: AddTagsResponse Source #

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

data AddTagsResponse Source #

See: addTagsResponse smart constructor.

Instances

Eq AddTagsResponse Source # 
Data AddTagsResponse Source # 

Methods

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

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

toConstr :: AddTagsResponse -> Constr #

dataTypeOf :: AddTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTagsResponse Source # 
Show AddTagsResponse Source # 
Generic AddTagsResponse Source # 
NFData AddTagsResponse Source # 

Methods

rnf :: AddTagsResponse -> () #

type Rep AddTagsResponse Source # 
type Rep AddTagsResponse = D1 (MetaData "AddTagsResponse" "Network.AWS.ElasticSearch.AddTags" "amazonka-elasticsearch-1.5.0-KveUfsGPOsRFet3coWBBEe" False) (C1 (MetaCons "AddTagsResponse'" PrefixI False) U1)