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 |
Returns a list of tags that are applied to the specified stack or layer.
Synopsis
- data ListTags = ListTags' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- resourceArn :: Text
- newListTags :: Text -> ListTags
- listTags_nextToken :: Lens' ListTags (Maybe Text)
- listTags_maxResults :: Lens' ListTags (Maybe Int)
- listTags_resourceArn :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {}
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text)
- listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text))
- listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
Creating a Request
See: newListTags
smart constructor.
ListTags' | |
|
Instances
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:nextToken:ListTags'
, listTags_nextToken
- Do not use. A validation exception occurs if you add a NextToken
parameter to a ListTagsRequest
call.
$sel:maxResults:ListTags'
, listTags_maxResults
- Do not use. A validation exception occurs if you add a MaxResults
parameter to a ListTagsRequest
call.
$sel:resourceArn:ListTags'
, listTags_resourceArn
- The stack or layer's Amazon Resource Number (ARN).
Request Lenses
listTags_nextToken :: Lens' ListTags (Maybe Text) Source #
Do not use. A validation exception occurs if you add a NextToken
parameter to a ListTagsRequest
call.
listTags_maxResults :: Lens' ListTags (Maybe Int) Source #
Do not use. A validation exception occurs if you add a MaxResults
parameter to a ListTagsRequest
call.
listTags_resourceArn :: Lens' ListTags Text Source #
The stack or layer's Amazon Resource Number (ARN).
Destructuring the Response
data ListTagsResponse Source #
Contains the response to a ListTags
request.
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:nextToken:ListTags'
, listTagsResponse_nextToken
- 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
.
$sel:tags:ListTagsResponse'
, listTagsResponse_tags
- A set of key-value pairs that contain tag keys and tag values that are
attached to a stack or layer.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsResponse_nextToken :: 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
.
listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (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.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.