| 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 |
Amazonka.OpenSearch.ListTags
Description
Returns all tags for the given 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 of the domain that the tags you want to view are attached to.
See: newListTags smart constructor.
Constructors
| ListTags' | |
Instances
| Eq ListTags Source # | |
| Read ListTags Source # | |
| Show ListTags Source # | |
| Generic ListTags Source # | |
| NFData ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
| Hashable ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
| AWSRequest ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags Associated Types type AWSResponse ListTags # Methods request :: ListTags -> Request ListTags # response :: MonadResource m => Logger -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
| ToHeaders ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
| ToPath ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags Methods toPath :: ListTags -> ByteString # | |
| ToQuery ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags Methods toQuery :: ListTags -> QueryString # | |
| type Rep ListTags Source # | |
Defined in Amazonka.OpenSearch.ListTags | |
| type AWSResponse 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:
$sel:arn:ListTags', listTags_arn - Specify the ARN of the domain that the tags you want to view are
attached to.
Request Lenses
listTags_arn :: Lens' ListTags Text Source #
Specify the ARN of the domain that the tags you want to view are
attached to.
Destructuring the Response
data ListTagsResponse Source #
The result of a ListTags operation. Contains tags for all requested
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 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 domain.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.