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 assigned to a function when supplied the function ARN (Amazon Resource Name). For more information on Tagging, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
Synopsis
- 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. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
See: listTags
smart constructor.
Instances
Request Lenses
ltResource :: Lens' ListTags Text Source #
The ARN (Amazon Resource Name) of the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
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. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
See: listTagsResponse
smart constructor.
Instances
Response Lenses
ltrsTags :: Lens' ListTagsResponse (HashMap Text Text) Source #
The list of tags assigned to the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.