| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearch.AddTags
Description
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. An domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
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.
Constructors
| AddTags' | |
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:
AddTags, addTags_arn - Amazon Resource Name (ARN) for the OpenSearch Service domain to which
you want to attach resource tags.
$sel:tagList:AddTags', addTags_tagList - List of resource tags.
Request Lenses
addTags_arn :: Lens' AddTags Text Source #
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
Destructuring the Response
data AddTagsResponse Source #
See: newAddTagsResponse smart constructor.
Constructors
| AddTagsResponse' | |
Instances
| Generic AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags Associated Types type Rep AddTagsResponse :: Type -> Type # Methods from :: AddTagsResponse -> Rep AddTagsResponse x # to :: Rep AddTagsResponse x -> AddTagsResponse # | |
| Read AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags Methods readsPrec :: Int -> ReadS AddTagsResponse # readList :: ReadS [AddTagsResponse] # | |
| Show AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags Methods showsPrec :: Int -> AddTagsResponse -> ShowS # show :: AddTagsResponse -> String # showList :: [AddTagsResponse] -> ShowS # | |
| NFData AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags Methods rnf :: AddTagsResponse -> () # | |
| Eq AddTagsResponse Source # | |
Defined in Amazonka.OpenSearch.AddTags Methods (==) :: AddTagsResponse -> AddTagsResponse -> Bool # (/=) :: AddTagsResponse -> AddTagsResponse -> Bool # | |
| 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.