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 |
Retrieves a list of configuration items that are tagged with a specific tag. Or retrieves a list of all tags assigned to a specific configuration item.
Synopsis
- describeTags :: DescribeTags
- data DescribeTags
- dtFilters :: Lens' DescribeTags [TagFilter]
- dtNextToken :: Lens' DescribeTags (Maybe Text)
- dtMaxResults :: Lens' DescribeTags (Maybe Int)
- describeTagsResponse :: Int -> DescribeTagsResponse
- data DescribeTagsResponse
- dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text)
- dtrsTags :: Lens' DescribeTagsResponse [ConfigurationTag]
- 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:
dtFilters
- You can filter the list using a key -value format. You can separate these items by using logical operators. Allowed filters includetagKey
,tagValue
, andconfigurationId
.dtNextToken
- A token to start the list. Use this token to get the next set of results.dtMaxResults
- The total number of items to return in a single page of output. The maximum value is 100.
data DescribeTags Source #
See: describeTags
smart constructor.
Instances
Request Lenses
dtFilters :: Lens' DescribeTags [TagFilter] Source #
You can filter the list using a key -value format. You can separate these items by using logical operators. Allowed filters include tagKey
, tagValue
, and configurationId
.
dtNextToken :: Lens' DescribeTags (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
dtMaxResults :: Lens' DescribeTags (Maybe Int) Source #
The total number of items to return in a single page of output. The maximum value is 100.
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:
dtrsNextToken
- The call returns a token. Use this token to get the next set of results.dtrsTags
- Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.dtrsResponseStatus
- -- | The response status code.
data DescribeTagsResponse Source #
See: describeTagsResponse
smart constructor.
Instances
Response Lenses
dtrsNextToken :: Lens' DescribeTagsResponse (Maybe Text) Source #
The call returns a token. Use this token to get the next set of results.
dtrsTags :: Lens' DescribeTagsResponse [ConfigurationTag] Source #
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #
- - | The response status code.