| 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.SSM.ListTagsForResource
Description
Returns a list of the tags assigned to the specified resource.
Synopsis
- listTagsForResource :: ResourceTypeForTagging -> Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceType :: Lens' ListTagsForResource ResourceTypeForTagging
- ltfrResourceId :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag]
- 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:
ltfrResourceType- Returns a list of tags for a specific resource type.ltfrResourceId- The resource ID for which you want to see a list of tags.
data ListTagsForResource #
See: listTagsForResource smart constructor.
Instances
Request Lenses
ltfrResourceType :: Lens' ListTagsForResource ResourceTypeForTagging #
Returns a list of tags for a specific resource type.
ltfrResourceId :: Lens' ListTagsForResource Text #
The resource ID for which you want to see a list of tags.
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:
ltfrrsTagList- A list of tags.ltfrrsResponseStatus- -- | The response status code.
data ListTagsForResourceResponse #
See: listTagsForResourceResponse smart constructor.
Instances
Response Lenses
ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag] #
A list of tags.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int #
- - | The response status code.