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 |
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
ToHeaders ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
ToPath ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags toPath :: ListTags -> ByteString # | |
ToQuery ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags toQuery :: ListTags -> QueryString # | |
AWSRequest ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags type AWSResponse ListTags # request :: (Service -> Service) -> ListTags -> Request ListTags # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
Generic ListTags Source # | |
Read ListTags Source # | |
Show ListTags Source # | |
NFData ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
Eq ListTags Source # | |
Hashable ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
type AWSResponse ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
type Rep ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags |
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.
ListTagsResponse' | |
|
Instances
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.