libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticSearch.AddTags

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

data AddTags Source #

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

See: newAddTags smart constructor.

Constructors

AddTags' 

Fields

  • arn :: Text

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

  • tagList :: [Tag]

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

Instances

Instances details
Eq AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

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

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

Read AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Generic AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Associated Types

type Rep AddTags :: Type -> Type #

Methods

from :: AddTags -> Rep AddTags x #

to :: Rep AddTags x -> AddTags #

NFData AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

rnf :: AddTags -> () #

Hashable AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

ToJSON AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Associated Types

type AWSResponse AddTags #

ToHeaders AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

toHeaders :: AddTags -> [Header] #

ToPath AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

toPath :: AddTags -> ByteString #

ToQuery AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

type Rep AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

type Rep AddTags = D1 ('MetaData "AddTags" "Amazonka.ElasticSearch.AddTags" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

newAddTags Source #

Create a value of AddTags with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:AddTags', addTags_arn - Specify the ARN for which you want to add the tags.

$sel:tagList:AddTags', addTags_tagList - List of Tag that need to be added for the Elasticsearch domain.

Request Lenses

addTags_arn :: Lens' AddTags Text Source #

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

addTags_tagList :: Lens' AddTags [Tag] Source #

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

Destructuring the Response

data AddTagsResponse Source #

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' 

Instances

Instances details
Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

rnf :: AddTagsResponse -> () #

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.ElasticSearch.AddTags" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "AddTagsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddTagsResponse :: AddTagsResponse Source #

Create a value of AddTagsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.