| 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.Lambda.ListTags
Description
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 .
- 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.
Request Lenses
ltResource :: Lens' ListTags Text #
The ARN (Amazon Resource Name) of the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
Destructuring the Response
Arguments
| :: Int | |
| -> ListTagsResponse |
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 #
See: listTagsResponse smart constructor.
Response Lenses
ltrsTags :: Lens' ListTagsResponse (HashMap Text Text) #
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 #
- - | The response status code.