amazonka-elasticsearch-2.0: Amazon Elasticsearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.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

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Associated Types

type AWSResponse 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 #

Read AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

NFData AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

rnf :: AddTags -> () #

Eq AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

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

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

Hashable AddTags Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

type AWSResponse 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" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "AddTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newAddTags Source #

Arguments

:: Text

AddTags

-> AddTags 

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:

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
Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

Methods

rnf :: AddTagsResponse -> () #

Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.ElasticSearch.AddTags" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" '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.