Copyright | (c) 2013-2017 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 assigned to a function when supplied the function ARN (Amazon Resource Name).
- listTags :: Text -> ListTags
- data ListTags
- ltResource :: Lens' ListTags Text
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsTags :: Lens' ListTagsResponse (HashMap Text Text)
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
Creates a value of ListTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltResource
- The ARN (Amazon Resource Name) of the function.
See: listTags
smart constructor.
Request Lenses
Destructuring the Response
Creates a value of ListTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsTags
- The list of tags assigned to the function.ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
See: listTagsResponse
smart constructor.
Response Lenses
ltrsTags :: Lens' ListTagsResponse (HashMap Text Text) Source #
The list of tags assigned to the function.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.