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.ListTags
Description
Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
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.
See: newListTags
smart constructor.
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
- Amazon Resource Name (ARN) for the domain to view tags for.
Request Lenses
listTags_arn :: Lens' ListTags Text Source #
Amazon Resource Name (ARN) for the domain to view tags for.
Destructuring the Response
data ListTagsResponse Source #
The results of a ListTags
operation.
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 resource tags associated with the specified domain.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag]) Source #
List of resource tags associated with the specified domain.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.