Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of tags that are applied to the specified stack or layer.
- listTags :: Text -> ListTags
- data ListTags
- ltNextToken :: Lens' ListTags (Maybe Text)
- ltMaxResults :: Lens' ListTags (Maybe Int)
- ltResourceARN :: Lens' ListTags Text
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- ltrsTags :: Lens' ListTagsResponse (HashMap Text Text)
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
Creates a value of ListTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltNextToken
- Do not use. A validation exception occurs if you add aNextToken
parameter to aListTagsRequest
call.ltMaxResults
- Do not use. A validation exception occurs if you add aMaxResults
parameter to aListTagsRequest
call.ltResourceARN
- The stack or layer's Amazon Resource Number (ARN).
See: listTags
smart constructor.
Request Lenses
ltNextToken :: Lens' ListTags (Maybe Text) Source #
Do not use. A validation exception occurs if you add a NextToken
parameter to a ListTagsRequest
call.
ltMaxResults :: Lens' ListTags (Maybe Int) Source #
Do not use. A validation exception occurs if you add a MaxResults
parameter to a ListTagsRequest
call.
Destructuring the Response
Creates a value of ListTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsNextToken
- If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextToken
parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull
.ltrsTags
- A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
Contains the response to a ListTags
request.
See: listTagsResponse
smart constructor.
Response Lenses
ltrsNextToken :: Lens' ListTagsResponse (Maybe Text) Source #
If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken
parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null
.
ltrsTags :: Lens' ListTagsResponse (HashMap Text Text) Source #
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.