libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.AddTags

Description

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

Synopsis

Creating a Request

data AddTags Source #

Container for the parameters to the AddTags operation. Specifies the tags to attach to the domain.

See: newAddTags smart constructor.

Constructors

AddTags' 

Fields

  • arn :: Text

    Specify the ARN of the domain you want to add tags to.

  • tagList :: [Tag]

    List of Tag to add to the domain.

Instances

Instances details
Eq AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Methods

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

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

Read AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Show AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Generic AddTags Source # 
Instance details

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

Methods

rnf :: AddTags -> () #

Hashable AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Methods

hashWithSalt :: Int -> AddTags -> Int #

hash :: AddTags -> Int #

ToJSON AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

AWSRequest AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Associated Types

type AWSResponse AddTags #

ToHeaders AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Methods

toHeaders :: AddTags -> [Header] #

ToPath AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Methods

toPath :: AddTags -> ByteString #

ToQuery AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

type Rep AddTags Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

type Rep AddTags = D1 ('MetaData "AddTags" "Amazonka.OpenSearch.AddTags" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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.OpenSearch.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 of the domain you want to add tags to.

$sel:tagList:AddTags', addTags_tagList - List of Tag to add to the domain.

Request Lenses

addTags_arn :: Lens' AddTags Text Source #

Specify the ARN of the domain you want to add tags to.

addTags_tagList :: Lens' AddTags [Tag] Source #

List of Tag to add to the domain.

Destructuring the Response

data AddTagsResponse Source #

See: newAddTagsResponse smart constructor.

Constructors

AddTagsResponse' 

Instances

Instances details
Eq AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Read AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Show AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Generic AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Associated Types

type Rep AddTagsResponse :: Type -> Type #

NFData AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

Methods

rnf :: AddTagsResponse -> () #

type Rep AddTagsResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AddTags

type Rep AddTagsResponse = D1 ('MetaData "AddTagsResponse" "Amazonka.OpenSearch.AddTags" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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.