| 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 |
Network.AWS.ElasticBeanstalk.ListTagsForResource
Description
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
Arguments
| :: Text | |
| -> ListTagsForResource |
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 #
See: listTagsForResource smart constructor.
Instances
Request Lenses
ltfrResourceARN :: Lens' ListTagsForResource Text #
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
Arguments
| :: Int | |
| -> ListTagsForResourceResponse |
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 #
See: listTagsForResourceResponse smart constructor.
Response Lenses
ltfrrsResourceTags :: Lens' ListTagsForResourceResponse [Tag] #
A list of tag key-value pairs.
ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text) #
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int #
- - | The response status code.