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 |
Returns the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value pairs.
Currently, Elastic Beanstalk only supports tagging of Elastic Beanstalk environments. For details about environment tagging, see Tagging Resources in Your Elastic Beanstalk Environment .
- listTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceARN :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsResourceTags :: Lens' ListTagsForResourceResponse [Tag]
- ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text)
- ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
Creating a Request
Creates a value of ListTagsForResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrResourceARN
- The Amazon Resource Name (ARN) of the resouce for which a tag list is requested. Must be the ARN of an Elastic Beanstalk environment.
data ListTagsForResource Source #
See: listTagsForResource
smart constructor.
Request Lenses
ltfrResourceARN :: Lens' ListTagsForResource Text Source #
The Amazon Resource Name (ARN) of the resouce for which a tag list is requested. Must be the ARN of an Elastic Beanstalk environment.
Destructuring the Response
listTagsForResourceResponse Source #
Creates a value of ListTagsForResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrrsResourceTags
- A list of tag key-value pairs.ltfrrsResourceARN
- The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.ltfrrsResponseStatus
- -- | The response status code.
data ListTagsForResourceResponse Source #
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsResourceTags :: Lens' ListTagsForResourceResponse [Tag] Source #
A list of tag key-value pairs.
ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int Source #
- - | The response status code.