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 |
List all tags on a Timestream query resource.
This operation returns paginated results.
Synopsis
- data ListTagsForResource = ListTagsForResource' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- resourceARN :: Text
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
- listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
- listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {}
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag]
Creating a Request
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
ListTagsForResource' | |
|
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:maxResults:ListTagsForResource'
, listTagsForResource_maxResults
- The maximum number of tags to return.
ListTagsForResource
, listTagsForResource_nextToken
- A pagination token to resume pagination.
$sel:resourceARN:ListTagsForResource'
, listTagsForResource_resourceARN
- The Timestream resource with tags to be listed. This value is an Amazon
Resource Name (ARN).
Request Lenses
listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural) Source #
The maximum number of tags to return.
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #
A pagination token to resume pagination.
listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #
The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).
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:
ListTagsForResource
, listTagsForResourceResponse_nextToken
- A pagination token to resume pagination with a subsequent call to
ListTagsForResourceResponse
.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- The tags currently associated with the Timestream resource.
Response Lenses
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #
A pagination token to resume pagination with a subsequent call to
ListTagsForResourceResponse
.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse [Tag] Source #
The tags currently associated with the Timestream resource.