| 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 .
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
| Eq ListTags # | |
| Data ListTags # | |
Defined in Network.AWS.Lambda.ListTags Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTags -> c ListTags # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTags # toConstr :: ListTags -> Constr # dataTypeOf :: ListTags -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTags) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTags) # gmapT :: (forall b. Data b => b -> b) -> ListTags -> ListTags # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTags -> r # gmapQ :: (forall d. Data d => d -> u) -> ListTags -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTags -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTags -> m ListTags # | |
| Read ListTags # | |
| Show ListTags # | |
| Generic ListTags # | |
| Hashable ListTags # | |
Defined in Network.AWS.Lambda.ListTags | |
| AWSRequest ListTags # | |
| ToHeaders ListTags # | |
Defined in Network.AWS.Lambda.ListTags | |
| ToPath ListTags # | |
Defined in Network.AWS.Lambda.ListTags Methods toPath :: ListTags -> ByteString # | |
| ToQuery ListTags # | |
Defined in Network.AWS.Lambda.ListTags Methods toQuery :: ListTags -> QueryString # | |
| NFData ListTags # | |
Defined in Network.AWS.Lambda.ListTags | |
| type Rep ListTags # | |
Defined in Network.AWS.Lambda.ListTags | |
| type Rs ListTags # | |
Defined in Network.AWS.Lambda.ListTags | |
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.
Instances
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.