| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.ListTags
Description
Returns a function's tags. You can also view tags with GetFunction.
Synopsis
- data ListTags = ListTags' {}
- newListTags :: Text -> ListTags
- listTags_resource :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {}
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text))
- listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
Creating a Request
See: newListTags smart constructor.
Constructors
| ListTags' | |
Instances
| ToHeaders ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
| ToPath ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Methods toPath :: ListTags -> ByteString # | |
| ToQuery ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Methods toQuery :: ListTags -> QueryString # | |
| AWSRequest ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Associated Types type AWSResponse ListTags # Methods request :: (Service -> Service) -> ListTags -> Request ListTags # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
| Generic ListTags Source # | |
| Read ListTags Source # | |
| Show ListTags Source # | |
| NFData ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
| Eq ListTags Source # | |
| Hashable ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
| type AWSResponse ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
| type Rep ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
Create a value of ListTags with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:ListTags', listTags_resource - The function's Amazon Resource Name (ARN). Note: Lambda does not
support adding tags to aliases or versions.
Request Lenses
listTags_resource :: Lens' ListTags Text Source #
The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.
Destructuring the Response
data ListTagsResponse Source #
See: newListTagsResponse smart constructor.
Constructors
| ListTagsResponse' | |
Instances
Arguments
| :: Int | |
| -> ListTagsResponse |
Create a value of ListTagsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsResponse', listTagsResponse_tags - The function's tags.
$sel:httpStatus:ListTagsResponse', listTagsResponse_httpStatus - The response's http status code.
Response Lenses
listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) Source #
The function's tags.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.