Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data AddTags = AddTags' {}
- newAddTags :: Text -> AddTags
- addTags_arn :: Lens' AddTags Text
- addTags_tagList :: Lens' AddTags [Tag]
- data AddTagsResponse = AddTagsResponse' {
- newAddTagsResponse :: AddTagsResponse
Creating a Request
Container for the parameters to the AddTags
operation. Specify the
tags that you want to attach to the Elasticsearch domain.
See: newAddTags
smart constructor.
Instances
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_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.
Instances
Eq AddTagsResponse Source # | |
Defined in Amazonka.ElasticSearch.AddTags (==) :: AddTagsResponse -> AddTagsResponse -> Bool # (/=) :: AddTagsResponse -> AddTagsResponse -> Bool # | |
Read AddTagsResponse Source # | |
Defined in Amazonka.ElasticSearch.AddTags | |
Show AddTagsResponse Source # | |
Defined in Amazonka.ElasticSearch.AddTags showsPrec :: Int -> AddTagsResponse -> ShowS # show :: AddTagsResponse -> String # showList :: [AddTagsResponse] -> ShowS # | |
Generic AddTagsResponse Source # | |
Defined in Amazonka.ElasticSearch.AddTags type Rep AddTagsResponse :: Type -> Type # from :: AddTagsResponse -> Rep AddTagsResponse x # to :: Rep AddTagsResponse x -> AddTagsResponse # | |
NFData AddTagsResponse Source # | |
Defined in Amazonka.ElasticSearch.AddTags rnf :: AddTagsResponse -> () # | |
type Rep AddTagsResponse Source # | |
newAddTagsResponse :: AddTagsResponse Source #
Create a value of AddTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.