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 |
Lists all tags on a directory.
This operation returns paginated results.
Synopsis
- data ListTagsForResource = ListTagsForResource' {}
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
- listTagsForResource_limit :: Lens' ListTagsForResource (Maybe Natural)
- listTagsForResource_resourceId :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {}
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
Creating a Request
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:nextToken:ListTagsForResource'
, listTagsForResource_nextToken
- Reserved for future use.
$sel:limit:ListTagsForResource'
, listTagsForResource_limit
- Reserved for future use.
$sel:resourceId:ListTagsForResource'
, listTagsForResource_resourceId
- Identifier (ID) of the directory for which you want to retrieve tags.
Request Lenses
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #
Reserved for future use.
listTagsForResource_limit :: Lens' ListTagsForResource (Maybe Natural) Source #
Reserved for future use.
listTagsForResource_resourceId :: Lens' ListTagsForResource Text Source #
Identifier (ID) of the directory for which you want to retrieve tags.
Destructuring the Response
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:nextToken:ListTagsForResource'
, listTagsForResourceResponse_nextToken
- Reserved for future use.
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- List of tags returned by the ListTagsForResource operation.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #
Reserved for future use.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #
List of tags returned by the ListTagsForResource operation.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.