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.
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
dtDryRun :: Lens' DescribeTags (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have the
required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
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 results to return for the request in a single page. The
remaining results of the initial request can be seen by sending another
request with the returned NextToken
value. This value can be between 5 and
1000; if MaxResults
is given a value larger than 1000, only 1000 results are
returned.
dtNextToken :: Lens' DescribeTags (Maybe Text) Source
The token to retrieve the next page of results.
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 to retrieve the next page of results. This value is null
when there are no more results to return..
dtrTags :: Lens' DescribeTagsResponse [TagDescription] Source
A list of tags.