| 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.AppStream.ListTagsForResource
Description
Lists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Developer Guide .
Synopsis
- listTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceARN :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsTags :: Lens' ListTagsForResourceResponse (HashMap Text 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 resource.
data ListTagsForResource #
See: listTagsForResource smart constructor.
Instances
Request Lenses
ltfrResourceARN :: Lens' ListTagsForResource Text #
The Amazon Resource Name (ARN) of the resource.
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:
ltfrrsTags- The information about the tags.ltfrrsResponseStatus- -- | The response status code.
data ListTagsForResourceResponse #
See: listTagsForResourceResponse smart constructor.
Instances
Response Lenses
ltfrrsTags :: Lens' ListTagsForResourceResponse (HashMap Text Text) #
The information about the tags.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int #
- - | The response status code.