amazonka-ec2-0.2.1: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeTags

Contents

Description

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

Synopsis

Request

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:

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.