Safe Haskell | None |
---|---|
Language | Haskell2010 |
The ListTagsForResource action lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. Cost allocation tags can be used to categorize and track your AWS costs.
You can have a maximum of 10 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in AmazonElastiCache.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ListTagsForResource.html
- data ListTagsForResource
- listTagsForResource :: Text -> ListTagsForResource
- ltfrResourceName :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse
- listTagsForResourceResponse :: ListTagsForResourceResponse
- ltfrrTagList :: Lens' ListTagsForResourceResponse [Tag]
Request
data ListTagsForResource Source
Eq ListTagsForResource | |
Ord ListTagsForResource | |
Read ListTagsForResource | |
Show ListTagsForResource | |
IsString ListTagsForResource | |
Monoid ListTagsForResource | |
AWSRequest ListTagsForResource | |
ToQuery ListTagsForResource | |
ToPath ListTagsForResource | |
ToHeaders ListTagsForResource | |
type Sv ListTagsForResource = ElastiCache | |
type Rs ListTagsForResource = ListTagsForResourceResponse |
Request constructor
:: Text | |
-> ListTagsForResource |
ListTagsForResource
constructor.
The fields accessible through corresponding lenses are:
ltfrResourceName
::
Text
Request lenses
ltfrResourceName :: Lens' ListTagsForResource Text Source
The name of the resource for which you want the list of tags, for example 'arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster'.
Response
Response constructor
listTagsForResourceResponse :: ListTagsForResourceResponse Source
ListTagsForResourceResponse
constructor.
The fields accessible through corresponding lenses are:
ltfrrTagList
::
[Tag
]
Response lenses
ltfrrTagList :: Lens' ListTagsForResourceResponse [Tag] Source
A list of cost allocation tags as key-value pairs.