Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes one or more of the tags for your EC2 resources.
For more information about tags, see Tagging Your Resources in the AmazonElastic Compute Cloud User Guide for Linux.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeTags.html
- data DescribeTags
- describeTags :: DescribeTags
- dtDryRun :: Lens' DescribeTags (Maybe Bool)
- dtFilters :: Lens' DescribeTags [Filter]
- dtMaxResults :: Lens' DescribeTags (Maybe Int)
- dtNextToken :: Lens' DescribeTags (Maybe Text)
- data DescribeTagsResponse
- describeTagsResponse :: DescribeTagsResponse
- dtrNextToken :: Lens' DescribeTagsResponse (Maybe Text)
- dtrTags :: Lens' DescribeTagsResponse [TagDescription]
Request
data DescribeTags Source
Request constructor
describeTags :: DescribeTags Source
DescribeTags
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dtFilters :: Lens' DescribeTags [Filter] Source
One or more filters.
key
- The tag key.
'resource-id' - The resource ID.
'resource-type' - The resource type ('customer-gateway' | 'dhcp-options' | image
| 'instance' | 'internet-gateway' | 'network-acl' | 'network-interface' | 'reserved-instances' | 'route-table' | 'security-group' | snapshot
| 'spot-instances-request' | subnet
| volume
| vpc
| 'vpn-connection' | 'vpn-gateway').
value
- The tag value.
dtMaxResults :: Lens' DescribeTags (Maybe Int) Source
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. If the value is greater than 1000, we return only 1000 items.
dtNextToken :: Lens' DescribeTags (Maybe Text) Source
The token for the next set of items to return. (You received this token from a prior call.)
Response
Response constructor
describeTagsResponse :: DescribeTagsResponse Source
DescribeTagsResponse
constructor.
The fields accessible through corresponding lenses are:
dtrNextToken
::
Maybe
Text
dtrTags
::
[TagDescription
]
Response lenses
dtrNextToken :: 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.
dtrTags :: Lens' DescribeTagsResponse [TagDescription] Source
A list of tags.