Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
This operation returns paginated results.
- describeTags :: DescribeTags
- data DescribeTags
- dtFilters :: Lens' DescribeTags [Filter]
- dtNextToken :: Lens' DescribeTags (Maybe Text)
- dtMaxRecords :: Lens' DescribeTags (Maybe Int)
- describeTagsResponse :: Int -> DescribeTagsResponse
- data DescribeTagsResponse
- dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text)
- dtrsTags :: Lens' DescribeTagsResponse [TagDescription]
- dtrsResponseStatus :: Lens' DescribeTagsResponse Int
Creating a Request
describeTags :: DescribeTags Source #
Creates a value of DescribeTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTags Source #
Contains the parameters for DescribeTags.
See: describeTags
smart constructor.
Request Lenses
dtNextToken :: Lens' DescribeTags (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dtMaxRecords :: Lens' DescribeTags (Maybe Int) Source #
The maximum number of items to return with this call.
Destructuring the Response
Creates a value of DescribeTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTagsResponse Source #
Contains the output of DescribeTags.
See: describeTagsResponse
smart constructor.
Response Lenses
dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
dtrsTags :: Lens' DescribeTagsResponse [TagDescription] Source #
One or more tags.
dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #
The response status code.