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 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
- 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. Specifies the
tags to attach to the 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
of the domain you want to add tags to.
$sel:tagList:AddTags'
, addTags_tagList
- List of Tag
to add to the domain.
Request Lenses
Destructuring the Response
data AddTagsResponse Source #
See: newAddTagsResponse
smart constructor.
Instances
Eq AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags (==) :: AddTagsResponse -> AddTagsResponse -> Bool # (/=) :: AddTagsResponse -> AddTagsResponse -> Bool # | |
Read AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags | |
Show AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags showsPrec :: Int -> AddTagsResponse -> ShowS # show :: AddTagsResponse -> String # showList :: [AddTagsResponse] -> ShowS # | |
Generic AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags type Rep AddTagsResponse :: Type -> Type # from :: AddTagsResponse -> Rep AddTagsResponse x # to :: Rep AddTagsResponse x -> AddTagsResponse # | |
NFData AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.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.