| 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.ElasticSearch.ListTags
Description
Returns all tags for the given Elasticsearch domain.
Synopsis
- data ListTags = ListTags' {}
- newListTags :: Text -> ListTags
- listTags_arn :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {
- tagList :: Maybe [Tag]
- httpStatus :: Int
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag])
- listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
Creating a Request
Container for the parameters to the ListTags operation. Specify the
ARN for the Elasticsearch domain to which the tags are attached that
you want to view are attached.
See: newListTags smart constructor.
Constructors
| ListTags' | |
Instances
Create a value of ListTags 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:
ListTags, listTags_arn - Specify the ARN for the Elasticsearch domain to which the tags are
attached that you want to view.
Request Lenses
listTags_arn :: Lens' ListTags Text Source #
Specify the ARN for the Elasticsearch domain to which the tags are
attached that you want to view.
Destructuring the Response
data ListTagsResponse Source #
The result of a ListTags operation. Contains tags for all requested
Elasticsearch domains.
See: newListTagsResponse smart constructor.
Constructors
| ListTagsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListTagsResponse |
Create a value of ListTagsResponse 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:tagList:ListTagsResponse', listTagsResponse_tagList - List of Tag for the requested Elasticsearch domain.
$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.
Response Lenses
listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag]) Source #
List of Tag for the requested Elasticsearch domain.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.