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 a list of tags that are associated with a resource, specified by an ARN.
Synopsis
- getTags :: Text -> GetTags
- data GetTags
- gtARN :: Lens' GetTags Text
- getTagsResponse :: Int -> GetTagsResponse
- data GetTagsResponse
- gtrsARN :: Lens' GetTagsResponse (Maybe Text)
- gtrsTags :: Lens' GetTagsResponse (HashMap Text Text)
- gtrsResponseStatus :: Lens' GetTagsResponse Int
Creating a Request
See: getTags
smart constructor.
Instances
Request Lenses
gtARN :: Lens' GetTags Text Source #
The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.
Destructuring the Response
Creates a value of GetTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtrsARN
- The ARN of the tagged resource.gtrsTags
- The tags associated with the specified resource.gtrsResponseStatus
- -- | The response status code.
data GetTagsResponse Source #
See: getTagsResponse
smart constructor.
Instances
Response Lenses
gtrsTags :: Lens' GetTagsResponse (HashMap Text Text) Source #
The tags associated with the specified resource.
gtrsResponseStatus :: Lens' GetTagsResponse Int Source #
- - | The response status code.